/* ============================================================
   Real Flow — v2
   Palette: #0A0A0A bg · #100D0D panels · #18533A brand green
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #100d0d;
  --panel: #131313;
  --panel-2: #161a17;
  --line: #232323;
  --line-soft: #1e211f;
  --text: #ffffff;
  --text-soft: #b8bcba;
  --text-mute: #7a7a7a;
  --green: #18533a;
  --green-btn: #1f7a55;      /* solid buttons — 5.3:1 with white text */
  --green-text: #45b98a;     /* accents on dark — 7.5:1+ everywhere */
  --green-soft: rgba(69, 185, 138, 0.12);
  --light: #f6f6f6;
  --radius: 16px;
  --radius-sm: 10px;
  --gap: clamp(1rem, 2.5vw, 1.5rem);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --container: 1180px;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}
.container--narrow { --container: 780px; }

::selection { background: var(--green-text); color: #fff; }

/* ---------- Typography ---------- */
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section__title em {
  font-style: italic;
  color: var(--green-text);
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 1rem;
}
.section__sub {
  color: var(--text-soft);
  max-width: 620px;
  margin-top: 1rem;
  font-size: 1.05rem;
}
.section__head { max-width: 700px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--green-btn);
  color: #fff;
}
.btn--primary:hover {
  background: #1a6b4a;
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--green-text);
  color: var(--green-text);
  transform: translateY(-2px);
}
.btn--lg { padding: 1rem 2.2rem; font-size: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(10, 10, 10, 0.92);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { width: 58px; height: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__cta { flex-shrink: 0; }
.nav__cta-mobile { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(72px + clamp(3rem, 9vw, 6rem)) 0 clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 2rem;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-text);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.hero__title em {
  font-style: italic;
  color: var(--green-text);
}
.hero__sub {
  color: var(--text-soft);
  max-width: 620px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-top: 1.5rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  justify-content: center;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  margin-top: 2.5rem;
  color: var(--text-mute);
  font-size: 0.9rem;
}
.hero__points li { display: flex; align-items: center; }
.hero__points li + li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-text);
  margin: 0 1.1rem;
}
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(69, 185, 138, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line-soft); background: var(--bg-soft); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding-block: 2.8rem;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--green-text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-mute);
  max-width: 230px;
  margin-inline: auto;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              background 0.25s var(--ease);
}
.card__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 185, 138, 0.45);
  background: var(--panel-2);
}
.card--wide { grid-column: span 1; }
.card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  color: var(--green-text);
  display: grid;
  place-items: center;
}
.card__head h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.card__icon svg { width: 22px; height: 22px; }
.card p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- How it works ---------- */
.how { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.how__steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.step {
  position: relative;
  padding: 1.6rem 1.4rem 0;
  border-top: 1px solid var(--line);
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--green-text);
  display: block;
  margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { color: var(--text-soft); font-size: 0.93rem; }

/* ---------- Live AI demo chat ---------- */
.demo__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.demo__points {
  margin: 1.8rem 0 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.demo__points li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.demo__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--green-text);
  font-weight: 700;
}

.chat {
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.4);
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-height: 540px;
  box-shadow: 0 32px 80px -32px rgba(0, 0, 0, 0.65);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}
.chat__avatar {
  width: 34px;
  height: 34px;
  background: var(--green);
  border-radius: 50%;
  padding: 6px;
  flex-shrink: 0;
}
.chat__id { display: flex; flex-direction: column; min-width: 0; }
.chat__id strong { font-size: 0.92rem; font-weight: 600; }
.chat__id span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--green-text);
}
.chat__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-text);
}
.chat__replay {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
}
.chat__replay:hover { color: var(--green-text); border-color: rgba(69, 185, 138, 0.45); }
.chat__replay svg { width: 13px; height: 13px; }
.chat__replay:disabled { opacity: 0.4; cursor: default; }

.chat__log {
  flex-grow: 1;
  overflow-y: auto;
  min-height: 300px;
  max-height: 380px;
  padding-right: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.chat__log::-webkit-scrollbar { width: 8px; }
.chat__log::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

.chat__bubble {
  max-width: 82%;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.chat__bubble.is-in { opacity: 1; transform: none; }
.chat__bubble--ai {
  align-self: flex-start;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-top-left-radius: 4px;
  color: var(--text-soft);
}
.chat__bubble--user {
  align-self: flex-end;
  background: var(--green-btn);
  color: #fff;
  border-top-right-radius: 4px;
}
.chat__bubble--chip {
  align-self: center;
  background: rgba(69, 185, 138, 0.1);
  border: 1px solid rgba(69, 185, 138, 0.3);
  color: var(--green-text);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.chat__timestamp {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  opacity: 0.75;
}

.chat__typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  padding: 0.8rem 1rem;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-top-left-radius: 4px;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.chat__typing.is-in { opacity: 1; }
.chat__typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-mute);
  animation: chatBounce 1.1s ease-in-out infinite;
}
.chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.chat__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-3px); opacity: 1; }
}

.chat__foot {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
}
.chat__demo-tag {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-mute);
}

/* ---------- Why us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.why__col {
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line);
}
.why__col--win { background: linear-gradient(160deg, #10231b 0%, var(--bg-soft) 70%); border-color: rgba(255, 255, 255, 0.06); }
.why__col--lose { background: var(--panel); opacity: 0.85; }
.why__col-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.why__col-title svg {
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  flex-shrink: 0;
}
.why__col--win .why__col-title svg { background: var(--green-text); color: #fff; }
.why__col--lose .why__col-title svg { background: #3a3a3a; color: #bbb; }
.why__col li {
  position: relative;
  padding-left: 1.6rem;
  padding-block: 0.55rem;
  color: var(--text-soft);
  font-size: 0.97rem;
  border-bottom: 1px solid var(--line-soft);
}
.why__col li:last-child { border-bottom: 0; }
.why__col li::before {
  position: absolute;
  left: 0;
  top: 0.55rem;
  font-weight: 700;
  font-size: 1rem;
}
.why__col--win li::before { content: "✓"; color: var(--green-text); }
.why__col--lose li::before { content: "✕"; color: #8a6b6b; }

/* ---------- Testimonials ---------- */
.quotes { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.quote:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.06); }
.quote__stars { color: #f5b942; font-size: 0.95rem; letter-spacing: 2px; }
.quote__stars .half { opacity: 0.4; }
.quote blockquote {
  color: var(--text-soft);
  font-size: 0.97rem;
  flex-grow: 1;
}
.quote figcaption { display: flex; flex-direction: column; font-size: 0.9rem; }
.quote figcaption strong { font-weight: 600; }
.quote figcaption span { color: var(--text-mute); font-size: 0.82rem; }

/* ---------- FAQ ---------- */
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq__item[open] { border-color: rgba(69, 185, 138, 0.45); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-text); }
.faq__chevron {
  font-size: 1.4rem;
  color: var(--green-text);
  line-height: 1;
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq__item[open] .faq__chevron { transform: rotate(45deg); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--text-soft); font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(2rem, 5vw, 3rem); }
.cta__inner {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(69, 185, 138, 0.13) 0%, transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2.5rem, 7vw, 5rem) 1.5rem;
}
.cta__inner p {
  color: var(--text-soft);
  max-width: 480px;
  margin: 1rem auto 2rem;
}

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.form {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form__field { display: flex; flex-direction: column; gap: 0.45rem; }
.form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.form__field input,
.form__field textarea {
  font: inherit;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: #555; }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--green-text);
  box-shadow: 0 0 0 3px rgba(69, 185, 138, 0.18);
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__submit { align-self: flex-start; }
.form__status { font-size: 0.9rem; color: var(--green-text); min-height: 1.2em; }

.contact__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.2s;
}
.contact__link:hover { color: var(--green-text); }
.contact__link svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
}
.footer__brand img { width: 120px; height: auto; margin-bottom: 0.8rem; }
.footer__brand p { color: var(--text-mute); font-size: 0.9rem; max-width: 240px; }
.footer__nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a {
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--green-text); }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer__social a:hover {
  color: var(--green-text);
  border-color: var(--green-text);
  transform: translateY(-2px);
}
.footer__social svg { width: 17px; height: 17px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-mute);
  font-size: 0.85rem;
}

/* ---------- Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease),
              filter 0.7s var(--ease);
  will-change: opacity, transform, filter;
}
.js .reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .how__steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .quotes__grid { grid-template-columns: repeat(2, 1fr); }
  .demo__inner { grid-template-columns: 1fr; }
  .demo__copy { max-width: 620px; }
  .chat { max-width: 460px; margin-inline: auto; width: 100%; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__links a:not(.btn) {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }
  .nav__cta-mobile {
    display: inline-flex;
    margin-top: 1.2rem;
  }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); padding-block: 2.4rem; }
  .why__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form__submit { align-self: stretch; }
  .cta__inner { border-radius: var(--radius); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 2.4rem, var(--container)); }
  .services__grid { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; }
  .quotes__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__points { flex-direction: column; align-items: center; gap: 0.6rem; }
  .hero__points li + li::before { display: none; }
  .card { padding: 1.4rem; }
  .btn--lg { padding: 0.95rem 1.8rem; width: 100%; }
  .hero__actions { width: 100%; }
  .contact__direct { flex-direction: column; align-items: center; }
}
