/* =========================================================
   Șablon site avocat – Moonwise
   Culorile se schimbă din blocurile [data-theme] de mai jos.
   ========================================================= */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; 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: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; 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: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; 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: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-ext-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; 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: "Montserrat"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; 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: "Montserrat"; src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; 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; }

/* ---------- Teme de culoare ---------- */
:root,
[data-theme="bleumarin"] {
  --dark: #0E1B2E;
  --dark-2: #15273F;
  --dark-3: #1C3352;
  --gold: #C5A46D;
  --gold-2: #E3CB98;
  --gold-ink: #2A2111;
}
[data-theme="verde"] {
  --dark: #0D2219;
  --dark-2: #143023;
  --dark-3: #1B3D2D;
  --gold: #C9A86A;
  --gold-2: #E6CE9A;
  --gold-ink: #2A2111;
}
[data-theme="bordo"] {
  --dark: #2A0F16;
  --dark-2: #3A1620;
  --dark-3: #4A1D2A;
  --gold: #CBA56B;
  --gold-2: #E8CF9E;
  --gold-ink: #2A1A0E;
}

:root {
  --cream: #F5F0E7;
  --paper: #FBF8F2;
  --ink: #1A2130;
  --muted: #5A6272;
  --line: rgba(26, 33, 48, .12);
  --line-light: rgba(255, 255, 255, .12);
  --on-dark: #EEE9DF;
  --on-dark-muted: rgba(238, 233, 223, .7);

  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(10, 16, 28, .35);
  --wrap: 1180px;
  --header-h: 84px;
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 em, h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.05em 1.9em;
  font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s, background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { font-size: 1.35em; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .85em 1.4em; font-size: .68rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 10px 30px -12px var(--gold); }
.btn-gold:hover { box-shadow: 0 14px 34px -10px var(--gold); }
.btn-ghost { border-color: color-mix(in srgb, var(--gold) 55%, transparent); color: var(--on-dark); }
.btn-ghost:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-dark:hover { background: var(--dark-3); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Banda demo ---------- */
.demo-bar {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 22px;
  padding: 9px 20px;
  background: var(--gold-2); color: var(--gold-ink);
  font-size: .78rem; line-height: 1.4; text-align: center;
}
.demo-bar p { margin: 0; }
.demo-bar a { font-weight: 600; }
.demo-themes { display: inline-flex; align-items: center; gap: 8px; }
.demo-themes button {
  width: 18px; height: 18px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid rgba(0,0,0,.15);
}
.demo-themes button[data-set-theme="bleumarin"] { background: #15273F; }
.demo-themes button[data-set-theme="verde"] { background: #143023; }
.demo-themes button[data-set-theme="bordo"] { background: #3A1620; }
.demo-themes button.is-active { border-color: var(--gold-ink); box-shadow: 0 0 0 2px var(--gold-2), 0 0 0 3px var(--gold-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--dark) 0%, transparent);
  color: var(--on-dark);
  margin-bottom: calc(var(--header-h) * -1);
  transition: background-color .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--dark) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--gold); border-radius: 50%;
  font: italic 500 1.25rem/1 var(--serif); color: var(--gold-2); letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 500 1.35rem/1.1 var(--serif); }
.brand-sub { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-size: .78rem; letter-spacing: .08em; text-decoration: none; color: var(--on-dark-muted);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:not(.btn):hover { color: var(--on-dark); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; color: var(--on-dark); font-size: 1.6rem; padding: 8px; cursor: pointer; }
.nav-toggle .i-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark); color: var(--on-dark);
  padding: calc(var(--header-h) + 70px) 0 110px;
  transition: background-color .4s;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 600px at 85% 10%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, var(--dark-3), transparent 70%),
    linear-gradient(160deg, var(--dark-2), var(--dark) 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .25;
  mask-image: radial-gradient(ellipse at 30% 40%, #000, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 26px;
}
.eyebrow span { width: 44px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(3.4rem, 8vw, 6.4rem); font-weight: 400; line-height: .98; }
.hero h1 em { display: block; color: var(--gold-2); }
.lead { font-size: 1.08rem; color: var(--on-dark-muted); max-width: 34em; margin-top: 28px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--on-dark-muted); }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--gold); }

.hero-figure { position: relative; margin: 0; }
.hero-figure::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); border-radius: calc(var(--radius) + 6px);
}
.hero-figure img {
  position: relative; width: 100%; aspect-ratio: 9 / 11; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
  filter: saturate(.85) contrast(1.02);
}
.hero-figure figcaption {
  position: absolute; left: -24px; bottom: 40px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  box-shadow: var(--shadow);
}

/* ---------- Secțiuni ---------- */
.section { padding: clamp(80px, 11vw, 130px) 0; transition: background-color .4s; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .section-head p:not(.kicker) { color: var(--on-dark-muted); }
.kicker { font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.section-cream .kicker, .section-paper .kicker { color: color-mix(in srgb, var(--gold) 70%, var(--ink)); }
.section-cream h2 em, .section-paper h2 em { color: color-mix(in srgb, var(--gold) 75%, var(--ink)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head p:not(.kicker) { color: var(--muted); margin-top: 18px; }
.section-head.left { text-align: left; margin: 0; }
.rule { width: 70px; height: 2px; margin: 28px 0; background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- Despre ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-figure { position: relative; margin: 0; }
.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); filter: grayscale(.25); }
.about-badge {
  position: absolute; right: -26px; bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; border-radius: var(--radius-sm);
  background: var(--dark); color: var(--on-dark);
  font-size: .78rem; line-height: 1.45; box-shadow: var(--shadow);
}
.about-badge svg { font-size: 1.9rem; color: var(--gold); }
.about-text p { color: var(--muted); }
.about-text blockquote {
  margin: 30px 0; padding: 4px 0 4px 26px;
  border-left: 1px solid var(--gold);
  font: italic 400 1.45rem/1.45 var(--serif); color: var(--ink);
}
.credentials { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.credentials li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Domenii (acordeon) ---------- */
.practice { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.practice details {
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.practice details[open] { background: var(--dark); border-color: var(--dark); color: var(--on-dark); box-shadow: var(--shadow); }
.practice summary {
  display: grid; grid-template-columns: 44px 52px minmax(160px, 1fr) 1.4fr 36px; align-items: center; gap: 18px;
  padding: 22px 28px; cursor: pointer; list-style: none;
}
.practice summary::-webkit-details-marker { display: none; }
.p-num { font: italic 400 1.4rem/1 var(--serif); color: color-mix(in srgb, var(--gold) 70%, transparent); }
.p-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--cream); color: color-mix(in srgb, var(--gold) 70%, var(--ink)); font-size: 1.4rem;
  transition: background-color .35s, color .35s;
}
details[open] .p-icon { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); }
.p-title { font: 500 1.6rem/1.1 var(--serif); }
.p-desc { font-size: .86rem; color: var(--muted); line-height: 1.55; }
details[open] .p-desc { color: var(--on-dark-muted); }
.p-toggle {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
}
.p-toggle::before, .p-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold);
  transform: translate(-50%, -50%); transition: transform .3s;
}
.p-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .p-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.p-list {
  list-style: none; margin: 0 28px; padding: 24px 0 28px 114px;
  border-top: 1px solid var(--line-light);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px;
}
.p-list li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.55; }
.p-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.practice summary:hover .p-title { color: color-mix(in srgb, var(--gold) 70%, currentColor); }

/* ---------- Colaborare ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li {
  position: relative; padding: 34px 28px 30px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--dark-3) 55%, transparent);
  border: 1px solid var(--line-light);
  transition: transform .3s, border-color .3s;
}
.steps li:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.step-num { display: block; font: italic 400 2.6rem/1 var(--serif); color: var(--gold); margin-bottom: 22px; }
.steps h3 { font-size: 1.55rem; margin-bottom: 12px; }
.steps p { font-size: .88rem; color: var(--on-dark-muted); margin: 0; line-height: 1.65; }

/* ---------- Întrebări ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq-wrap .section-head .btn { margin-top: 18px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 50px 24px 0;
  font: 500 1.4rem/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 300 1.8rem/1 var(--sans); color: color-mix(in srgb, var(--gold) 70%, var(--ink)); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; margin: 0; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.contact .lead { margin-top: 20px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; font-size: .95rem; }
.contact-list small { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-list a:hover { border-color: var(--gold); }
.c-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); color: var(--gold); font-size: 1.15rem;
}
.contact-figure { position: relative; margin: 0; }
.contact-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); filter: saturate(.8); }
.contact-figure figcaption {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  padding: 18px 22px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--dark) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-light);
  font-size: .85rem; color: var(--on-dark-muted); line-height: 1.55;
}
.contact-figure figcaption strong { display: block; font: 500 1.3rem/1.2 var(--serif); color: var(--on-dark); margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid var(--line-light); padding: 56px 0 96px; font-size: .84rem; transition: background-color .4s; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line-light); }
.footer-name { font: 500 1.7rem/1 var(--serif); color: var(--on-dark); margin-bottom: 12px; }
.footer-legal { line-height: 1.7; margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: flex-start; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover, .footer-bottom a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ---------- Buton flotant ---------- */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink);
  font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 16px 36px -14px rgba(0,0,0,.55);
  transform: translateY(120px); opacity: 0; transition: transform .4s, opacity .4s;
}
.float-cta svg { font-size: 1.3rem; }
.float-cta.is-visible { transform: none; opacity: 1; }

/* ---------- Toast (demo) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 70;
  max-width: min(92vw, 420px); padding: 14px 20px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: .86rem; line-height: 1.5; text-align: center;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Animații ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.steps li.reveal:nth-child(2) { transition-delay: .08s; }
.steps li.reveal:nth-child(3) { transition-delay: .16s; }
.steps li.reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .practice summary { grid-template-columns: 40px 48px 1fr 34px; }
  .p-desc { display: none; }
  .p-list { padding-left: 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; align-items: stretch; gap: 0;
    padding: 10px 20px 26px; background: var(--dark); border-bottom: 1px solid var(--line-light);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav a:not(.btn) { padding: 16px 0; font-size: .95rem; border-bottom: 1px solid var(--line-light); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; }
  .site-header.nav-open { background: var(--dark); }
  .site-header.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .site-header.nav-open .i-open { display: none; }
  .site-header.nav-open .i-close { display: block; }

  .hero { padding: calc(var(--header-h) + 40px) 0 80px; }
  .hero-inner, .about, .faq-wrap, .contact-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 440px; margin: 10px auto 0; width: calc(100% - 22px); }
  .hero-figure img { aspect-ratio: 4 / 4.2; }
  .about-figure { max-width: 460px; }
  .about-badge { right: 12px; }
  .faq-wrap .section-head.left { margin-bottom: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .brand-mark { width: 40px; height: 40px; font-size: 1.1rem; }
  .brand-name { font-size: 1.2rem; }
  .steps { grid-template-columns: 1fr; }
  .practice summary { grid-template-columns: 44px 1fr 32px; padding: 18px; gap: 14px; }
  .p-num { display: none; }
  .p-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .p-title { font-size: 1.35rem; }
  .p-list { grid-template-columns: 1fr; margin: 0 18px; padding: 18px 0 22px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-figure figcaption { left: -10px; bottom: 24px; }
  .faq summary { font-size: 1.22rem; }
  .float-cta span { display: none; }
  .float-cta { padding: 16px; }
  .demo-bar { font-size: .72rem; }
}
