/* =========================================================
   en-reg.ro - Unified premium design system
   Subdomain: SSM / Evaluator de risc
   Accent palette: teal + warm sand
   ========================================================= */

:root {
  --bg: #f3eee5;
  --bg-strong: #e8e0d1;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: #fffaf2;
  --surface-muted: rgba(255, 250, 242, 0.5);
  --text: #1d2c30;
  --text-soft: #51626a;
  --text-mute: #7c8a90;

  --primary: #2f6f6d;
  --primary-strong: #214e4f;
  --primary-glow: rgba(47, 111, 109, 0.32);
  --accent: #c89b5f;
  --accent-strong: #a87b3f;
  --accent-soft: rgba(200, 155, 95, 0.18);

  --border: rgba(33, 78, 79, 0.14);
  --border-strong: rgba(33, 78, 79, 0.22);
  --hairline: rgba(255, 255, 255, 0.55);

  --shadow-xs: 0 2px 6px rgba(33, 78, 79, 0.06);
  --shadow-soft: 0 10px 28px rgba(33, 78, 79, 0.09);
  --shadow: 0 22px 60px rgba(33, 78, 79, 0.12);
  --shadow-lg: 0 32px 80px rgba(33, 78, 79, 0.18);

  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius: 22px;
  --radius-lg: 28px;
  --content-width: 1200px;

  --font-body: "Inter", "Aptos", "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Georgia", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dock-h: 76px;
  --dock-h-mobile: 70px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(200, 155, 95, 0.22), transparent 70%),
    radial-gradient(55% 50% at 92% 8%, rgba(47, 111, 109, 0.18), transparent 72%),
    radial-gradient(40% 35% at 50% 100%, rgba(200, 155, 95, 0.12), transparent 70%),
    linear-gradient(180deg, #faf6ee 0%, var(--bg) 50%, #ece3d2 100%);
  background-attachment: fixed;
  min-height: 100vh;
  padding-bottom: calc(var(--dock-h) + 28px);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, ul, ol { margin-top: 0; }

/* ---------- Layout shell ---------- */
.page-shell {
  min-height: 100vh;
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}
.page-shell::before {
  top: -180px; right: -160px;
  background: radial-gradient(circle, rgba(200, 155, 95, 0.42), transparent 70%);
}
.page-shell::after {
  bottom: -180px; left: -160px;
  background: radial-gradient(circle, rgba(47, 111, 109, 0.32), transparent 70%);
}

.container {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 60;
  margin: 14px auto 0;
  width: min(calc(100% - 2rem), var(--content-width));
  border-radius: 999px;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.82), rgba(255, 252, 247, 0.62));
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}

.site-header .container,
.site-header > .container { width: 100%; padding: 0 1.1rem; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark,
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  background: var(--surface-strong);
}

.brand-copy { display: grid; gap: 0.1rem; }
.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.005em;
  color: var(--primary-strong);
}
.brand-subtitle {
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 250, 242, 0.85);
  color: var(--text);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary-strong);
  background: rgba(47, 111, 109, 0.08);
}

.site-nav a.is-active {
  color: var(--primary-strong);
  background: rgba(47, 111, 109, 0.12);
}

.site-nav a.header-cta {
  background: linear-gradient(140deg, var(--primary), var(--primary-strong));
  color: #fdfaf2;
  box-shadow: 0 8px 22px var(--primary-glow);
  margin-left: 0.4rem;
}
.site-nav a.header-cta:hover,
.site-nav a.header-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px var(--primary-glow);
  color: #fdfaf2;
}

/* ---------- Main ---------- */
.main-content { padding: 1.6rem 0 3rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 155, 95, 0.18);
}

.hero h1,
.page-hero h1 {
  margin: 1rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #182428;
}

.hero p,
.page-hero p {
  color: var(--text-soft);
  font-size: 1.06rem;
  max-width: 60ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.button-primary {
  background: linear-gradient(140deg, var(--primary), var(--primary-strong));
  color: #fdfaf2;
  box-shadow: 0 10px 26px var(--primary-glow);
}
.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px var(--primary-glow);
}

.button-secondary {
  background: rgba(255, 250, 242, 0.85);
  color: var(--primary-strong);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  background: #fffaf2;
  box-shadow: var(--shadow-soft);
}

/* ---------- Cards / Surfaces ---------- */
.hero-panel,
.card,
.list-card,
.info-card,
.form-card,
.policy-block,
.cta-band {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hero-panel {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -50px -80px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--accent-soft), transparent 72%);
  pointer-events: none;
}
.hero-panel img { width: min(100%, 440px); margin-inline: auto; }

.panel-note { margin-top: 1rem; display: grid; gap: 0.95rem; }
.panel-note strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--primary-strong);
  font-size: 0.98rem;
}
.panel-note p { margin: 0; color: var(--text-soft); font-size: 0.94rem; }

.trust-portrait { display: grid; gap: 1rem; }
.trust-portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.95), rgba(224, 236, 231, 0.95));
  border: 1px solid var(--border);
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
}
.trust-portrait-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(33, 78, 79, 0.18) 100%);
  pointer-events: none;
}
.trust-portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.trust-portrait-placeholder { padding: 2rem; text-align: center; color: var(--text-soft); }
.trust-portrait-placeholder strong { display: block; color: var(--primary-strong); font-size: 1.08rem; margin-bottom: 0.45rem; }

/* ---------- Stats / Grids ---------- */
.stats-grid,
.card-grid,
.info-grid,
.service-grid,
.contact-grid,
.policy-grid,
.footer-grid {
  display: grid;
  gap: 1.1rem;
}

.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.4rem; }

.card,
.info-card,
.list-card,
.form-card,
.policy-block { padding: 1.55rem; }

.stat-label,
.mini-label {
  display: block;
  color: var(--text-mute);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.stat-value {
  margin-top: 0.55rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-family: var(--font-display);
  color: var(--primary-strong);
  letter-spacing: -0.02em;
}

/* ---------- Sections ---------- */
.section { padding: 2.6rem 0; }
.section-header { max-width: 760px; margin-bottom: 1.6rem; }
.section-header h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #182428;
}
.section-header p { color: var(--text-soft); margin-bottom: 0; font-size: 1.04rem; }

.card-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three-up,
.info-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card h3,
.list-card h3,
.info-card h3,
.policy-block h2,
.policy-block h3 {
  margin: 0 0 0.85rem;
  font-size: 1.22rem;
  color: var(--primary-strong);
  font-weight: 700;
}
.lead { font-size: 1.04rem; color: var(--text-soft); }

/* ---------- Lists ---------- */
.check-list,
.plain-list,
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li,
.feature-list li,
.plain-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-soft);
}
.check-list li::before,
.feature-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 3px rgba(47, 111, 109, 0.1);
}

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 1rem; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.72rem;
  top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(47, 111, 109, 0.42), rgba(200, 155, 95, 0.18));
}
.timeline-item { position: relative; padding-left: 2.4rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.4rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(47, 111, 109, 0.1);
}
.timeline-item strong { display: block; color: var(--primary-strong); margin-bottom: 0.2rem; }

/* ---------- Badges ---------- */
.badge-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(47, 111, 109, 0.1);
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid rgba(47, 111, 109, 0.16);
}

/* ---------- Page hero ---------- */
.page-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.8rem;
  align-items: center;
  padding: 2.6rem 0 1rem;
}
.page-hero-visual { width: min(100%, 340px); }

/* ---------- Service grid ---------- */
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(47, 111, 109, 0.16), rgba(200, 155, 95, 0.24));
  color: var(--primary-strong);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.05rem;
  border: 1px solid rgba(47, 111, 109, 0.18);
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.process-step {
  padding: 1.4rem;
  background: rgba(255, 250, 242, 0.7);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease);
}
.process-step:hover { transform: translateY(-3px); }
.process-step span {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), var(--primary-strong));
  color: #fffaf3;
  font-weight: 700;
  box-shadow: 0 6px 14px var(--primary-glow);
}

/* ---------- Info grid ---------- */
.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Contact ---------- */
.contact-grid { grid-template-columns: 0.88fr 1.12fr; }
.contact-details { display: grid; gap: 1rem; }
.contact-card-link { color: var(--primary-strong); font-weight: 700; }

.contact-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.92rem; color: var(--text-soft); font-weight: 600; }
.field input,
.field textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(47, 111, 109, 0.14);
}
.field textarea { min-height: 170px; resize: vertical; }
.field-full { grid-column: 1 / -1; }
.form-help,
.muted { color: var(--text-soft); font-size: 0.93rem; }

.success-message {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(47, 111, 109, 0.12);
  color: var(--primary-strong);
  font-weight: 600;
  border: 1px solid rgba(47, 111, 109, 0.2);
}
.success-message.is-visible { display: block; }

/* ---------- Policy ---------- */
.policy-grid { grid-template-columns: 0.72fr 1.28fr; align-items: start; }
.policy-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 0.6rem;
}
.policy-sidebar a {
  display: block;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid var(--border);
  color: var(--primary-strong);
  font-weight: 600;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.policy-sidebar a:hover { background: #fffaf2; transform: translateX(2px); }
.policy-content { display: grid; gap: 1rem; }
.policy-block p:last-child,
.policy-block ul:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: 1.5rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.94), rgba(228, 240, 237, 0.94));
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer { padding: 2rem 0 3rem; }
.footer-grid { grid-template-columns: 1.1fr 0.9fr 1fr 0.95fr; padding: 1.8rem; }
.footer-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.6rem; color: var(--primary-strong); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-list a:hover { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 3px; }
.footer-note {
  grid-column: 1 / -1;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.92rem;
  text-align: center;
}
.legal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; color: var(--text-soft); }
.legal-list strong { color: var(--primary-strong); }

.anpc-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding-top: 0.5rem;
}
.anpc-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 242, 0.85);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.anpc-links a:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.anpc-links img { width: 180px; height: auto; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fffaf2;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

/* =========================================================
   Subdomain dock (Windows 11 style taskbar)
   ========================================================= */
.subdomain-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 200;
  pointer-events: none;
  animation: dockRise 0.7s var(--ease) 0.15s both;
}

@keyframes dockRise {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.dock-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.78), rgba(255, 252, 247, 0.55));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -1px 0 rgba(33, 78, 79, 0.05) inset,
    0 18px 50px rgba(33, 78, 79, 0.18),
    0 4px 12px rgba(33, 78, 79, 0.08);
}

.dock-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem 0.55rem 0.7rem;
  border-radius: 16px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  white-space: nowrap;
}

.dock-item:hover,
.dock-item:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 252, 247, 0.85);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(33, 78, 79, 0.1);
}

.dock-item.is-active {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(255, 252, 247, 0.75));
  color: var(--primary-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 6px 16px rgba(33, 78, 79, 0.12);
}

.dock-item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 10px var(--primary-glow);
}

.dock-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(47, 111, 109, 0.14), rgba(200, 155, 95, 0.18));
  color: var(--primary-strong);
  flex-shrink: 0;
}
.dock-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Per-app accent tint */
.dock-item[data-key="ssm"] .dock-icon       { background: linear-gradient(140deg, rgba(47, 111, 109, 0.2), rgba(200, 155, 95, 0.2)); color: #214e4f; }
.dock-item[data-key="energie"] .dock-icon   { background: linear-gradient(140deg, rgba(31, 132, 84, 0.2), rgba(232, 194, 92, 0.22)); color: #1c6a44; }
.dock-item[data-key="podcasturi"] .dock-icon{ background: linear-gradient(140deg, rgba(86, 78, 158, 0.18), rgba(212, 154, 87, 0.2)); color: #3c3170; }

.dock-divider {
  width: 1px;
  height: 28px;
  margin: 0 0.15rem;
  background: linear-gradient(180deg, transparent, rgba(33, 78, 79, 0.18), transparent);
}

.dock-home {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255, 252, 247, 0.7);
  color: var(--text-soft);
  pointer-events: auto;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.dock-home:hover { transform: translateY(-3px); background: #fffaf2; color: var(--primary-strong); }
.dock-home svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero,
  .page-hero,
  .contact-grid,
  .policy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid,
  .card-grid.three-up,
  .info-grid.three-up,
  .service-grid,
  .process,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .policy-sidebar { position: static; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(var(--dock-h-mobile) + 18px); }

  .site-header {
    top: 10px;
    border-radius: 22px;
  }
  .header-inner {
    flex-wrap: wrap;
    padding: 0.7rem 0;
    min-height: 56px;
  }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0.3rem;
    gap: 0.2rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 0.85rem 1rem; }
  .site-nav a.header-cta { margin: 0.3rem 0 0.1rem; }

  .hero { padding-top: 1.8rem; gap: 1.4rem; }
  .hero h1,
  .page-hero h1 { font-size: clamp(2.1rem, 10vw, 3.2rem); }

  .stats-grid,
  .card-grid.two-up,
  .card-grid.three-up,
  .info-grid.three-up,
  .service-grid,
  .process,
  .info-grid,
  .form-grid { grid-template-columns: 1fr; }

  .brand-subtitle { display: none; }
  .container { width: min(calc(100% - 1.2rem), var(--content-width)); }

  /* Dock collapses to icons-only on mobile */
  .subdomain-dock { bottom: 12px; }
  .dock-inner { padding: 0.35rem; gap: 0.2rem; border-radius: 18px; }
  .dock-item { padding: 0.45rem; }
  .dock-item .dock-label { display: none; }
  .dock-item.is-active .dock-label {
    display: inline;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -28px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(33, 78, 79, 0.92);
    color: #fffaf2;
    font-size: 0.74rem;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(33, 78, 79, 0.2);
  }
  .dock-home { width: 34px; height: 34px; }
  .dock-divider { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
