/* Ambelyz — tokens from the "DA Ambelyz" design system */
:root {
  --bg: #FFFFFF; --card: #FFFFFF; --ink: #2B2B2B; --muted: #5F5F5F;
  --line: #C9C9C9; --line-soft: #E5E5E5; --accent: #7A1A00; --soft: #FFF1E6;
  --orange: #FF8A00; --pink: #FF2E5E; --error: #B3261E; --ok: #1E6B3A;
  --grad: linear-gradient(90deg, #FF8A00, #FF2E5E);
  --btn-grad: linear-gradient(90deg, #C94A00, #D91A4C);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111010; --card: #1B1918; --ink: #F5EFEA; --muted: #B5ADA7;
    --line: #4A4440; --line-soft: #2E2A28; --accent: #FFB366; --soft: #2A211A;
    --error: #FF8A80; --ok: #7FD69B;
  }
}
:root[data-theme="dark"] {
  --bg: #111010; --card: #1B1918; --ink: #F5EFEA; --muted: #B5ADA7;
  --line: #4A4440; --line-soft: #2E2A28; --accent: #FFB366; --soft: #2A211A;
  --error: #FF8A80; --ok: #7FD69B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; overflow-wrap: break-word; }
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
section { padding: 72px 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.07; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 16px; line-height: 1.35; letter-spacing: 0; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 18px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin: 14px auto 0; max-width: 640px; }
.mt { margin-top: 14px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav .logo img { height: 30px; width: auto; display: block; }
.nav .links { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.nav .links a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.nav .links a:hover, .nav .links a[aria-current="page"] { color: var(--ink); }
.nav .links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--pink); }
.nav .menu-btn { display: none; }
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; padding: 10px 0; }
  .nav .logo img { height: 26px; }
  .nav .menu-btn { display: inline-flex; margin-left: auto; padding: 0 12px; }
  .nav .cta { padding: 0 12px; }
  .nav .links { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; padding: 8px 0 12px; }
  .nav .links.open { display: flex; }
  .nav .links a { padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 16px; }
  .nav .cta { order: 2; }
}

/* buttons — 8px radius per DA */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font: 600 16px/1.2 Inter, system-ui, sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 160ms var(--ease-out), filter 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease; text-align: center; }
.btn-brand { background: var(--btn-grad); color: #fff; }
.btn-brand:hover { filter: brightness(1.06); }
.btn-line { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.center .btns { justify-content: center; }

/* hero */
.hero { padding: 80px 0 56px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: -15%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 46, 94, .14), transparent 65%); pointer-events: none; }
.hero > .wrap { position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hero .lead { margin: 22px auto 0; max-width: 680px; }
.price-bar { margin: 44px auto 0; max-width: 760px; display: flex; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 20px; padding: 16px 16px 16px 26px; text-align: left; }
.price-bar strong { font-size: 30px; letter-spacing: -0.02em; display: block; line-height: 1.1; }
.price-bar small, .price-bar em { color: var(--muted); font-size: 14px; font-style: normal; }
.price-bar .mid { flex: 1; border-left: 1px solid var(--line-soft); padding-left: 20px; }
.stats { display: flex; justify-content: center; margin-top: 32px; flex-wrap: wrap; color: var(--muted); font-size: 15px; gap: 6px 0; }
.stats div { padding: 0 20px; border-left: 1px solid var(--line-soft); }
.stats div:first-child { border-left: 0; }
.stats b { color: var(--ink); }

/* shared bits */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.ico { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; background: var(--soft); display: grid; place-items: center; color: var(--accent); }
.ico svg { width: 26px; height: 26px; }
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 20px; padding: 24px; }
.grid { display: grid; gap: 16px; margin-top: 40px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card h3, .card h4 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--soft); color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.page-head { padding: 64px 0 8px; }
.page-head .lead { margin-top: 14px; max-width: 680px; }

/* offers */
.offer { display: flex; flex-direction: column; border-radius: 24px; padding: 28px; position: relative; }
.offer .ico { margin-bottom: 20px; }
.offer .sub { color: var(--muted); margin-top: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--soft); color: var(--accent); font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 700; font-size: 12px; display: grid; place-items: center; margin-top: 1px; }
.offer .foot { margin-top: auto; border-top: 1px solid var(--line-soft); padding-top: 22px; }
.from { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.amount { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 18px; }
.amount em { font-style: normal; font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.offer.featured { border: 2px solid var(--pink); }
.badge { position: absolute; top: -13px; left: 28px; background: #C94A00; color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }

/* configurator */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; margin-top: 36px; }
.soft-head { display: flex; gap: 16px; align-items: flex-start; }
.soft-head p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.soft-head .price-note { margin-left: auto; text-align: right; font-size: 14px; color: var(--muted); }
.soft-head .price-note b { color: var(--ink); font-size: 17px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1.2 Inter, system-ui, sans-serif; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; cursor: pointer; }
.chip input { width: 18px; height: 18px; margin: 0; accent-color: #C94A00; }
.chip:has(input:checked) { border-color: var(--pink); background: var(--soft); color: var(--accent); font-weight: 600; }
.chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.mods-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 32px 0 14px; flex-wrap: wrap; }
.mods-head p { color: var(--muted); font-size: 15px; }
.count { color: var(--accent); font-weight: 600; font-size: 15px; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mod { background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.mod p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.mod .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; gap: 10px; }
.mod .row small { color: var(--muted); font-size: 13px; }
.mod.on { border-color: var(--pink); background: var(--soft); }
.btn-add { min-height: 40px; padding: 0 14px; font-size: 14px; background: var(--card); color: var(--accent); border-color: var(--accent); }
.btn-add[aria-pressed="true"] { background: var(--btn-grad); color: #fff; border-color: transparent; }
.free { margin-top: 16px; display: flex; gap: 10px; }
.free input { flex: 1; min-width: 0; }
.quote { position: sticky; top: 88px; border-radius: 22px; }
.quote h3 { margin-bottom: 14px; }
.lines { list-style: none; margin: 0; min-height: 96px; border: 1px dashed var(--line); border-radius: 16px; padding: 14px; font-size: 14px; color: var(--muted); display: grid; gap: 8px; align-content: start; }
.lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.lines li b { white-space: nowrap; }
.lines .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0 4px; }
.sum { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px dashed var(--line); margin: 18px 0 16px; padding-top: 16px; }
.sum strong { font-size: 34px; letter-spacing: -0.02em; line-height: 1; display: block; }
.sum small, .sum em { color: var(--muted); font-size: 13px; font-style: normal; }
.ok-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 13px; margin-bottom: 16px; }
.ok-list span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .lbl { font-weight: 600; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 13px; }
input[type=text], input[type=email], select, textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font: 16px Inter, system-ui, sans-serif; background: var(--card); color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); }
[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0 16px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 20px; accent-color: #C94A00; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 12px; font-size: 15px; }
.status.ok { color: var(--ok); }
.status.ko { color: var(--error); }
.form-card { max-width: 680px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin-top: 36px; }

/* empty states (réalisations, avis) */
.empty { border: 2px dashed var(--line); border-radius: 24px; padding: 40px 24px; text-align: center; background: transparent; }
.empty p { max-width: 560px; margin: 10px auto 0; color: var(--muted); }
.model { text-align: left; }
.model .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.model .ba div { background: var(--soft); border-radius: 12px; padding: 12px; font-size: 14px; }
.model .ba b { display: block; color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.tag-todo { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); }

/* faq */
.faq { max-width: 780px; margin: 36px auto 0; }
details { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* final CTA */
.final { background: #2B2B2B; color: #fff; border-radius: 24px; padding: 60px 28px; text-align: center; }
.final p { color: #E8E3DF; margin: 14px auto 0; max-width: 560px; font-size: 18px; }
.final .btn-line { background: transparent; color: #fff; border-color: #9A9390; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .final { background: #1B1918; border: 1px solid #2E2A28; } }

/* legal pages */
.legal { max-width: 780px; padding-bottom: 72px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; }
.todo { background: var(--soft); color: var(--accent); font-weight: 600; padding: 0 6px; border-radius: 6px; }

/* footer */
.site-foot { border-top: 1px solid var(--line-soft); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-foot a { color: var(--muted); }

@media (max-width: 960px) {
  .g3, .g4, .cfg, .contact-grid { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .quote { position: static; }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  .hero { padding: 48px 0 36px; }
  .page-head { padding: 40px 0 0; }
  .price-bar { flex-direction: column; align-items: stretch; text-align: center; padding: 20px; }
  .price-bar .mid { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 14px; }
  .stats div { border-left: 0; padding: 2px 12px; }
  .g2, .g4, .mods, .model .ba { grid-template-columns: 1fr; }
  .soft-head { flex-wrap: wrap; }
  .soft-head .price-note { margin-left: 0; text-align: left; }
  .free { flex-direction: column; }
  .hero .btns .btn, .final .btn { width: 100%; }
  .final { padding: 40px 20px; }
}

/* utilities used by pages */
.h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.h4 { font-size: 16px; line-height: 1.35; letter-spacing: 0; }
.btns.center { justify-content: center; }
fieldset { margin: 0; min-width: 0; }
.small-note { font-size: 13px; margin-top: 12px; }
.quote .field { margin-bottom: 10px; }
.hero .btns, .final .btns { justify-content: center; }
[id] { scroll-margin-top: 84px; }

/* v2: smaller add buttons, collapsible module list, more Ambelyz orange */
:root { --brand-ink: #C94A00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --brand-ink: #FF8A00; } }
:root[data-theme="dark"] { --brand-ink: #FF8A00; }
.btn-add { min-height: 32px; padding: 0 10px; font-size: 13px; border-radius: 8px; color: var(--brand-ink); border-color: var(--brand-ink); }
.eyebrow, .ico, .count { color: var(--brand-ink); }
.amount, .price-bar strong, .sum strong { color: var(--brand-ink); }
.step-n, .checks li::before { background: var(--btn-grad); color: #fff; }
.mod.on, .chip:has(input:checked) { border-color: var(--orange); }
.mod:hover, .card.offer:hover { border-color: var(--orange); }
.nav .links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); }
.cfg-section .mod.on { border-color: var(--orange); background: var(--bg); box-shadow: inset 4px 0 0 var(--orange); }
.price-bar { border-color: #FFD9B8; box-shadow: 0 10px 30px rgba(255, 138, 0, .10); }
.offer.featured { border-color: var(--orange); }
.site-head { border-bottom: 2px solid transparent; border-image: var(--grad) 1; }

/* scrollable automations list */
.scroll-hint { color: var(--muted); font-size: 15px; }
.scroll-hint b { color: var(--brand-ink); font-size: 18px; }
.mods-scroll { max-height: 560px; overflow-y: auto; padding: 2px 8px 72px 2px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
@media (max-width: 640px) { .mods-scroll { max-height: 480px; } }

/* module icons */
.mod { flex-direction: row; gap: 16px; align-items: stretch; }
.mod .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mod .ico { width: 60px; height: 60px; flex: 0 0 60px; border-radius: 16px; color: var(--ink); }
.mod .ico svg { width: 36px; height: 36px; }
.ico .a { fill: var(--orange); stroke: none; }
.ico .b { fill: var(--pink); stroke: none; }
.ico .s { stroke: var(--orange); }
.ico .w { stroke: #fff; stroke-width: 1.6; }
@media (max-width: 400px) { .mod .ico { width: 48px; height: 48px; flex-basis: 48px; } .mod .ico svg { width: 30px; height: 30px; } }

/* motion — ease/durations per Emil Kowalski's rules; transform + opacity only */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:hover:active { transform: scale(0.97); }
  .card, .mod, .chip { transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease; }
  .nav .links a { transition: color 150ms ease; }
}
/* scroll reveal: class added by JS only, so content stays visible without JS */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), border-color 200ms ease, background-color 200ms ease; }
.reveal.in { opacity: 1; transform: none; }
/* quote lines and mobile menu enter */
.lines li { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
@starting-style { .lines li { opacity: 0; transform: translateY(-4px); } }
.nav .links.open { transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out); }
@starting-style { .nav .links.open { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 300ms ease; }
  .btn:active, .btn:hover, .btn:hover:active { transform: none; }
  .lines li, .nav .links.open { transform: none; }
}

/* v3 layout: split hero, steps, tabs, section heads, examples */
.hero-split { text-align: left; padding: 64px 0 48px; }
.hero-split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; }
.hero-split .lead { margin: 18px 0 0; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px 0 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stat-strip div { padding: 14px 8px; text-align: center; border-left: 1px solid var(--line-soft); }
.stat-strip div:first-child { border-left: 0; }
.stat-strip dt { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.stat-strip dd { margin: 0; color: var(--muted); font-size: 14px; }
.price-card { border-radius: 24px; padding: 28px; display: grid; gap: 12px; box-shadow: 0 16px 40px rgba(201, 74, 0, .08); }
.price-big { margin: 0; font-size: 16px; }
.price-big strong { font-size: 36px; letter-spacing: -0.02em; color: var(--brand-ink); }
.price-card .checks { margin: 4px 0 8px; }
.cfg-title { padding: 24px 0 0; }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--muted); font-size: 15px; }
.steps li { display: flex; align-items: center; gap: 10px; }
.steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; border: 1.5px solid var(--orange); color: var(--brand-ink); font-weight: 700; font-size: 14px; }
.tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 16px; border: 1px solid var(--line-soft); border-radius: 12px; overflow-x: auto; }
.tabs [role="tab"] { flex: 1; min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 600 15px/1.2 Inter, system-ui, sans-serif; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background-color 160ms ease, color 160ms ease; }
.tabs [role="tab"][aria-selected="true"] { background: var(--soft); color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); }
.tab-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 12px; display: inline-grid; place-items: center; }
.mods-head { margin-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.text-link { color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.offers-2 { max-width: 880px; margin-left: auto; margin-right: auto; }
.next-step { margin-top: 24px; font-size: 16px; }
.next-step a { color: var(--brand-ink); font-weight: 600; }
.example { display: flex; flex-direction: column; gap: 8px; }
.example .ico { width: 56px; height: 56px; color: var(--ink); margin-bottom: 4px; }
.example .ico svg { width: 34px; height: 34px; }
.example .btn-add { align-self: flex-start; margin-top: auto; }
@media (max-width: 960px) { .hero-split .wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hero-split { padding: 40px 0 32px; } .stat-strip dt { font-size: 20px; } .tabs { flex-wrap: wrap; } .tabs [role="tab"] { flex: 1 1 auto; padding: 0 10px; font-size: 14px; } }
.cfg > * { min-width: 0; }
@media (max-width: 640px) { .steps { flex-direction: column; align-items: flex-start; } }

/* booking widget */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); padding: 0; margin-top: 36px; border-radius: 24px; overflow: hidden; }
.bk-col { padding: 28px; min-width: 0; }
.bk-right { border-left: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.bk-step { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 700; font-size: 14px; color: var(--brand-ink); }
.bk-step span, .wz-steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--btn-grad); color: #fff; font-size: 14px; }
.bk-month { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.bk-month p { margin: 0; font-weight: 600; font-size: 18px; text-transform: capitalize; }
.bk-nav { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; }
.bk-nav:not(:disabled):hover { border-color: var(--orange); }
.bk-nav:disabled { opacity: .35; cursor: default; }
.bk-days, .bk-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; }
.bk-days span { font-size: 13px; font-weight: 600; color: var(--muted); padding-bottom: 6px; }
.bk-day { height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 600 16px Inter, system-ui, sans-serif; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.bk-day:not(:disabled):hover { background: var(--soft); }
.bk-day:disabled { color: var(--muted); opacity: .45; font-weight: 400; cursor: default; }
.bk-day[aria-pressed="true"] { background: var(--btn-grad); color: #fff; }
.bk-day:active:not(:disabled) { transform: scale(0.95); }
.bk-date { margin: 0 0 14px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.bk-date::first-letter { text-transform: uppercase; }
.bk-slots { display: flex; flex-wrap: wrap; gap: 10px; min-height: 52px; margin-bottom: 20px; }
.bk-slot { min-width: 88px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: 600 16px Inter, system-ui, sans-serif; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.bk-slot:hover { border-color: var(--orange); }
.bk-slot[aria-pressed="true"] { background: var(--btn-grad); border-color: transparent; color: #fff; }
.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.bk-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bk-foot p { margin: 0; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } .bk-right { border-left: 0; border-top: 1px solid var(--line-soft); } }
@media (max-width: 640px) { .bk-col { padding: 20px 16px; } .bk-fields { grid-template-columns: 1fr; } .bk-foot .btn { width: 100%; } }

/* quote wizard */
.inline-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 20px 0 0; }
.wizard-section { padding-top: 32px; }
.wizard { max-width: 860px; margin: 0 auto; border-radius: 24px; padding: 28px; }
.wz-steps { list-style: none; margin: 0 0 24px; padding: 0 0 16px; display: flex; gap: 8px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 15px; font-weight: 600; }
.wz-steps li { display: flex; align-items: center; gap: 10px; }
.wz-steps li:not([aria-current]):not(.done) span { background: var(--line-soft); color: var(--muted); }
.wz-steps li[aria-current] { color: var(--ink); }
.wz-panel { border: 0; padding: 0; margin: 0; min-width: 0; }
.wz-panel legend { padding: 0; margin-bottom: 4px; }
.wz-panel > .muted { margin-bottom: 16px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color 160ms ease, background-color 160ms ease; }
.choice input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: #C94A00; }
.choice:hover { border-color: var(--orange); }
.choice:has(input:checked) { border-color: var(--orange); background: var(--soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.wz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-top: 12px; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.wz-nav #wz-next, .wz-nav #wz-send { margin-left: auto; }
@media (max-width: 640px) { .wizard { padding: 20px 16px; } .choice-grid, .wz-fields { grid-template-columns: 1fr; } .wz-nav .btn { flex: 1; } }
[hidden] { display: none !important; }
.h3, .h4, legend.h3 { font-weight: 700; }
