/* Dentigo. Temă unică, verde-petrol închis cu accent mentă.
   Raze: butoane pastilă, cadre și carduri 16px, câmpuri 10px. */

@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #061a20;
  --bg-2: #08212a;
  --surface: #0c2a33;
  --surface-2: #10333d;
  --line: rgba(160, 225, 214, 0.11);
  --line-2: rgba(160, 225, 214, 0.2);
  --ink: #e6f1ef;
  --muted: #9bb7b3;
  --dim: #7a9a96;
  --accent: #5fe0c4;
  --accent-hi: #8aeed8;
  --on-accent: #032620;
  --shadow: 0 40px 90px -30px rgba(0, 8, 10, 0.75);
  --r-card: 16px;
  --r-field: 10px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% -6%, rgba(95, 224, 196, 0.10), transparent 62%),
    radial-gradient(700px 600px at -8% 38%, rgba(54, 140, 160, 0.10), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(95, 224, 196, 0.3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 999px; }

/* ---------- Tipografie ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.85rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 56ch; line-height: 1.6; }
.muted { color: var(--muted); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.eyebrow { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 18px; }
.accent { color: var(--accent); }

/* ---------- Butoane ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 15.5px; font-weight: 550; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: rgba(160,225,214,0.4); background: rgba(255,255,255,0.05); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none; font-weight: 550; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Icoane ---------- */
.ico { width: 22px; height: 22px; flex: none; }
.ico-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, rgba(95,224,196,0.18), rgba(95,224,196,0.05));
  border: 1px solid rgba(95,224,196,0.22); color: var(--accent);
}
.ico-tile .ico { width: 22px; height: 22px; }

/* ---------- Siglă ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 21px; letter-spacing: -0.04em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 19px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; padding-bottom: 2px; }
.logo b { color: var(--accent); font-weight: 650; }

/* ---------- Navigație ---------- */
.nav { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav.is-scrolled { background: rgba(6, 26, 32, 0.82); border-color: var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav-in { height: 70px; display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  font: inherit; font-size: 15px; color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > button[aria-expanded="true"] { color: var(--ink); background: rgba(255,255,255,0.04); }
.nav-links > li > a[aria-current="page"] { color: var(--ink); }
.nav-links .caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-links button[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-cta { margin-left: 8px; }
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; width: min(760px, 92vw);
  background: rgba(10, 36, 44, 0.97); border: 1px solid var(--line-2); border-radius: var(--r-card);
  box-shadow: var(--shadow); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.mega a:hover { background: rgba(255,255,255,0.045); }
.mega .ico-tile { width: 38px; height: 38px; border-radius: 10px; }
.mega .ico-tile .ico { width: 19px; height: 19px; }
.mega strong { display: block; font-weight: 580; font-size: 15px; }
.mega span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: none; color: var(--ink); cursor: pointer; place-items: center; }
.nav-burger .ico { width: 22px; height: 22px; }
.sheet { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: grid; }
  .sheet {
    display: block; position: fixed; inset: 70px 0 0 0; z-index: 39; background: rgba(6, 26, 32, 0.98);
    padding: 12px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .sheet.is-open { opacity: 1; visibility: visible; transform: none; }
  .sheet-title { font-size: 13px; color: var(--dim); margin: 18px 0 8px; font-family: "Geist Mono", monospace; letter-spacing: .06em; }
  .sheet a.sheet-link { display: flex; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 16.5px; }
  .sheet a.sheet-link .ico { color: var(--accent); }
  .sheet .btn { margin-top: 26px; width: 100%; justify-content: center; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Capturi ---------- */
.shot {
  position: relative; border-radius: var(--r-card); overflow: hidden; background: #f6f5f3;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.shot img { width: 100%; height: auto; }
.shot.fit img { width: 100%; height: 100%; object-fit: cover; }
button.shot { padding: 0; cursor: zoom-in; display: block; width: 100%; font: inherit; color: inherit; }
button.shot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); transition: box-shadow .3s;
}
button.shot:hover::after { box-shadow: inset 0 0 0 2px rgba(95,224,196,0.55); }
.phone {
  border-radius: 34px; overflow: hidden; background: #f6f5f3; border: 7px solid #0f1a1d;
  box-shadow: 0 0 0 1px rgba(160,225,214,0.25), var(--shadow);
}
.phone img { width: 100%; height: auto; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--dim); margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-visual { position: relative; margin-right: calc(-1 * clamp(80px, 12vw, 220px)); }
.hero-visual .shot { transform: perspective(2000px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
.hero-visual .phone { position: absolute; width: clamp(120px, 14vw, 186px); left: 3%; bottom: -12%; transform: rotate(-4deg); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-right: calc(-1 * var(--gutter)); margin-top: 8px; }
  .hero-visual .shot { transform: none; border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .hero-visual .phone { left: 2%; bottom: -18%; width: 30%; }
}
@media (max-width: 560px) { .hero-actions .btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- Bandă de fapte ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 24px 28px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.fact span { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 760px) {
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Secțiuni ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 18px; }

/* ---------- O zi în clinică ---------- */
.day { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.day-steps { list-style: none; margin: 0; padding: 0; }
.day-step { padding: 28px 0 28px 26px; border-left: 2px solid var(--line); min-height: 34vh; display: flex; flex-direction: column; justify-content: center; transition: border-color .4s var(--ease); }
.day-step .mono { font-size: 14px; color: var(--dim); transition: color .4s; }
.day-step h3 { margin-top: 6px; font-size: 1.45rem; color: var(--muted); transition: color .4s; }
.day-step p { margin-top: 10px; color: var(--dim); max-width: 40ch; transition: color .4s; }
.day-step.is-active { border-color: var(--accent); }
.day-step.is-active .mono { color: var(--accent); }
.day-step.is-active h3 { color: var(--ink); }
.day-step.is-active p { color: var(--muted); }
.day-step .day-shot-inline { display: none; }
.day-stage { position: sticky; top: calc(50vh - min(26vw, 300px)); height: fit-content; }
.day-stage .shot { aspect-ratio: 1184 / 900; }
.day-stage .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.02); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.day-stage .shot img.is-active { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .day { grid-template-columns: 1fr; }
  .day-stage { display: none; }
  .day-step { min-height: 0; border-left-color: var(--accent); }
  .day-step .mono { color: var(--accent); }
  .day-step h3 { color: var(--ink); }
  .day-step p { color: var(--muted); }
  .day-step .day-shot-inline { display: block; margin-top: 18px; }
}

/* ---------- Bento module ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); grid-auto-flow: dense; gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: border-color .3s var(--ease), transform .4s var(--ease), background-color .3s;
}
.tile:hover { border-color: rgba(95,224,196,0.4); transform: translateY(-3px); }
.tile h3 { font-size: 1.15rem; }
.tile p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.tile .tile-go { position: absolute; top: 22px; right: 22px; width: 20px; height: 20px; color: var(--dim); transition: color .3s, transform .3s var(--ease); }
.tile:hover .tile-go { color: var(--accent); transform: translate(2px, -2px); }
.tile-media { margin-top: auto; border-radius: 10px 10px 0 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; margin-bottom: -24px; background: #f6f5f3; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.03); }
.t-agenda { grid-column: span 2; grid-row: span 2; background: linear-gradient(170deg, #0f3640, var(--surface) 55%); }
.t-agenda .tile-media { height: 300px; }
.t-pacienti { grid-column: span 2; }
.t-pacienti .tile-media { height: 150px; }
.t-odontograma { grid-row: span 2; background: linear-gradient(180deg, var(--surface), #0c3038); }
.t-odontograma .tile-media { height: 100%; min-height: 220px; }
.t-odontograma .tile-media img { object-position: 45% 40%; transform: scale(1.9); transform-origin: 45% 40%; }
.t-odontograma:hover .tile-media img { transform: scale(1.95); }
.t-incasari { grid-row: span 2; }
.t-incasari .tile-media { height: 100%; min-height: 220px; }
.t-sterilizare { background: radial-gradient(120% 120% at 100% 0%, rgba(95,224,196,0.14), var(--surface) 60%); }
.t-rapoarte { grid-column: auto; }
.t-rapoarte .tile-media { height: 110px; }
.t-rapoarte .tile-media img { object-position: 0 18%; }
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-agenda { grid-column: span 2; grid-row: auto; }
  .t-odontograma, .t-incasari { grid-row: span 1; }
  .t-odontograma .tile-media, .t-incasari .tile-media { height: 160px; min-height: 0; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .t-agenda, .t-pacienti, .t-rapoarte { grid-column: auto; }
  .t-agenda .tile-media { height: 200px; }
}

/* ---------- Detalii ---------- */
.details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.detail { display: flex; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.detail h3 { font-size: 1.08rem; }
.detail p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
@media (max-width: 760px) { .details { grid-template-columns: 1fr; } }

/* ---------- Telefon ---------- */
.mobile-band { background: linear-gradient(180deg, transparent, rgba(16, 51, 61, 0.55) 18%, rgba(16, 51, 61, 0.55) 82%, transparent); }
.mobile-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.phones { display: flex; justify-content: center; gap: clamp(16px, 3vw, 36px); }
.phones .phone { width: min(250px, 42%); }
.phones .phone:nth-child(2) { margin-top: 70px; }
.mobile-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.mobile-list li { display: flex; gap: 12px; color: var(--muted); }
.mobile-list .ico { color: var(--accent); margin-top: 3px; width: 20px; height: 20px; }
@media (max-width: 860px) { .mobile-grid { grid-template-columns: 1fr; } .phones { order: 2; } }

/* ---------- Siguranță (teaser) ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role { padding: 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.role strong { display: block; font-weight: 600; }
.role span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.role:first-child { background: linear-gradient(160deg, rgba(95,224,196,0.14), var(--surface) 70%); border-color: rgba(95,224,196,0.28); }
.trust-points { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.trust-points li { display: flex; gap: 12px; color: var(--muted); }
.trust-points .ico { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .roles { grid-template-columns: 1fr; } }

/* ---------- Trecerea ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 24px 0 0; position: relative; }
.step-line { height: 2px; background: var(--line-2); margin-bottom: 26px; position: relative; overflow: hidden; }
.step-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.steps.is-in .step-line::after { transform: scaleX(1); }
.steps.is-in .step:nth-child(2) .step-line::after { transition-delay: .25s; }
.steps.is-in .step:nth-child(3) .step-line::after { transition-delay: .5s; }
.steps.is-in .step:nth-child(4) .step-line::after { transition-delay: .75s; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-band { padding: clamp(80px, 10vw, 130px) 0; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 24px; padding: clamp(36px, 6vw, 72px);
  background: linear-gradient(135deg, #0f3a44 0%, #0b2a32 55%, #0a2830 100%); border: 1px solid var(--line-2);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
}
.cta-box::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(95,224,196,0.22), transparent 65%); pointer-events: none; }
.cta-box h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-box p { color: var(--muted); margin-top: 14px; max-width: 52ch; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--dim); font-family: "Geist Mono", monospace; letter-spacing: .06em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--ink); }
.footer ul.footer-cols { display: block; columns: 2; column-gap: 24px; }
.footer-cols li { break-inside: avoid; margin-bottom: 8px; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--dim); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pagina de modul ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--dim); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.mod-hero { padding: clamp(36px, 6vw, 72px) 0 0; }
.mod-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.mod-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-top: 18px; }
.mod-hero .lead { margin-top: 20px; }
.mod-hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 6px; }
.mod-hero-side p { color: var(--dim); font-size: 14.5px; }
.mod-shot { margin-top: clamp(40px, 5vw, 64px); }
.mod-shot .shot { max-height: 720px; }
@media (max-width: 860px) { .mod-hero-grid { grid-template-columns: 1fr; align-items: start; } }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 9vw, 120px); }
.feature.flip .feature-copy { order: 2; }
.feature h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.feature p { color: var(--muted); margin-top: 16px; font-size: 17px; max-width: 46ch; }
.feature .shot.crop { aspect-ratio: 1184 / 760; }
.feature .shot.crop img { height: 100%; object-fit: cover; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-copy { order: 0; } }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.point { padding: 26px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.point h3 { font-size: 1.06rem; margin-top: 18px; }
.point p { color: var(--muted); margin-top: 8px; font-size: 15.5px; line-height: 1.55; }
.points.n4 { grid-template-columns: repeat(2, 1fr); }
.points .point.wide { grid-column: span 2; }
@media (max-width: 960px) { .points { grid-template-columns: 1fr 1fr; } .points .point.wide { grid-column: span 2; } }
@media (max-width: 600px) { .points, .points.n4 { grid-template-columns: 1fr; } .points .point.wide { grid-column: auto; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery.n1 { grid-template-columns: minmax(0, 720px); }
.gallery.n2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .gallery, .gallery.n2 { grid-template-columns: 1fr; } }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related .tile { min-height: 0; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* ---------- Siguranță (pagină) ---------- */
.prose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .prose-grid { grid-template-columns: 1fr; } }

/* ---------- Formular ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 520; color: var(--ink); }
.field .opt { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #081f26;
  border: 1px solid rgba(160,225,214,0.26); border-radius: var(--r-field); padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7f9e9a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(95,224,196,0.18); }
.field .err { display: none; font-size: 13.5px; color: #ffb4a8; }
.field.invalid input, .field.invalid select { border-color: #ff8f7d; }
.field.invalid .err { display: block; }
.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot small { color: var(--dim); font-size: 13.5px; max-width: 44ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.next-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.next-list li { display: flex; gap: 16px; }
.next-list p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(2, 12, 15, 0.86); backdrop-filter: blur(6px); }
dialog.lightbox img { max-height: 86vh; width: auto; border-radius: 14px; border: 1px solid var(--line-2); }
dialog.lightbox p { color: var(--muted); text-align: center; margin-top: 12px; font-size: 15px; }
dialog.lightbox .close { position: absolute; top: -16px; right: -16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
dialog.lightbox[open] { animation: lb .35s var(--ease); }
@keyframes lb { from { opacity: 0; transform: scale(.97); } }

/* ---------- Apariție la derulare ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-visual { animation: rise-v 1.2s var(--ease) .15s both; }
  .hero-visual .phone { animation: rise 1.1s var(--ease) .55s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-v { from { opacity: 0; transform: translateY(40px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
