/* 3B.X home — "Budapest bistro after dark" direction.
   The page opens inside a warm bistro at 21:14 and moves into candle-lit daylight as you scroll.
   Colors are semantic: amber = the AI answering, ember = a missed call, green = a confirmed booking. */

:root {
  --night: #17100B;
  --night-2: #22170F;
  --night-line: #3B2B1F;
  --day: #F5ECDF;
  --paper: #FFF9F0;
  --ink: #1E140D;
  --muted: #6E5E50;
  --muted-night: #C7B6A4;
  --amber: #FFB547;
  --coral: #E8573B;
  --green: #3DBE7E;
  --rule: #E6D8C5;
  --cream-night: #E9DCCB;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --t-hero: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
  --t-h2: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --t-h3: clamp(1.15rem, 1rem + .5vw, 1.4rem);
  --t-body: clamp(1rem, .95rem + .2vw, 1.1rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--day) var(--grain);
  color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
:is(.site-header, .hero, .demo, .wa, .calc__result, .role--lead, .plan--featured, .final, .site-footer) :focus-visible { outline-color: var(--amber); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 700;
  font-variation-settings: "opsz" 120, "SOFT" 60;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
.mono { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .02em; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); max-width: 34rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.4rem;
  border-radius: 999px;
  font: 600 1rem/1 var(--f-body);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--amber { background: var(--amber); color: var(--night); }
.btn--amber:hover { background: #FFC56E; }
.btn--ghost-night { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-night:hover { border-color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #3A2618; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--night-line);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.15rem/1 var(--f-body); letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.brand__sub { margin-left: -.2rem; transform: translateY(.06em); font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav > a { white-space: nowrap; text-decoration: none; color: var(--muted-night); font-weight: 500; font-size: .96rem; transition: color .2s; }
.site-nav > a:hover { color: #fff; }
.site-nav__cta { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; gap: .15rem; font: 500 .78rem/1 var(--f-mono); }
.lang-switch a { padding: .4rem .45rem; border-radius: 6px; color: var(--muted-night); text-decoration: none; }
.lang-switch a.is-active { color: var(--night); background: var(--amber); }
.btn--sm { padding: .65rem 1rem; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .3s var(--ease); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (night) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--night);
  color: #fff;
  padding: clamp(3.5rem, 2rem + 6vw, 7.5rem) 0 clamp(4.5rem, 3rem + 6vw, 8rem);
  overflow: hidden;
}
/* Background scene: the bistro at 21:14, phone ringing on the bar. */
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 88%; }
.hero__media img { animation: drift 28s ease-in-out infinite alternate; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__clock { transition: opacity .5s; }
.hero__clock.is-swapping { opacity: 0; }
.hero__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media video.is-playing { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23,16,11,.9) 0%, rgba(23,16,11,.68) 36%, rgba(23,16,11,.22) 66%, rgba(23,16,11,.38) 100%),
    linear-gradient(180deg, rgba(23,16,11,0) 82%, var(--night) 100%),
    var(--grain);
}
.hero { min-height: max(560px, calc(100svh - 68px)); display: flex; align-items: center; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.hero .wrap { display: block; }
.hero .wrap > div { max-width: 46rem; }
.hero__clock { color: var(--amber); margin: 0 0 1.4rem; display: flex; align-items: center; gap: .6rem; }
.hero__clock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255,93,79,.6); animation: pulse 1.6s infinite; }
.hero h1 { font-size: var(--t-hero); }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--amber); }
.hero .lede { color: var(--cream-night); margin: 1.6rem 0 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__proof { margin-top: 2.2rem; color: var(--muted-night); font-size: .92rem; }
.hero__proof strong { color: #fff; font-weight: 600; }

/* ---------- Signature: live call ---------- */
.call {
  position: relative;
  background: linear-gradient(180deg, rgba(34,23,15,.86), rgba(23,16,11,.9));
  backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255,181,71,.18);
  border-radius: 22px;
  padding: 1.1rem;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.04);
  min-height: 520px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: .9rem;
}
.call__bar { display: flex; justify-content: space-between; align-items: center; color: var(--muted-night); }
.call__biz { color: #fff; font-weight: 600; font-family: var(--f-body); font-size: .95rem; letter-spacing: 0; }
.call__pause { background: none; border: 1px solid var(--night-line); color: var(--muted-night); border-radius: 999px; padding: .3rem .7rem; font: 500 .72rem/1 var(--f-mono); cursor: pointer; }
.call__pause:hover { color: #fff; border-color: var(--muted-night); }

.call__status {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1rem; border-radius: 14px;
  background: rgba(255,93,79,.08); border: 1px solid rgba(255,93,79,.25);
  transition: background-color .5s, border-color .5s;
}
.call__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: var(--night); flex: none; position: relative; transition: background-color .5s; }
.call__icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--coral); opacity: 0; transition: border-color .5s; }
.call[data-phase="ring"] .call__icon { animation: shake .5s infinite; }
.call[data-phase="ring"] .call__icon::after { animation: ring 1.1s infinite; }
.call__state { line-height: 1.25; }
.call__state b { display: block; font-weight: 600; color: #fff; }
.call__state span { color: var(--muted-night); font-size: .85rem; }
.call__wave { margin-left: auto; display: flex; gap: 3px; height: 22px; align-items: center; opacity: 0; transition: opacity .4s; }
.call__wave i { width: 3px; height: 100%; background: var(--amber); border-radius: 2px; transform: scaleY(.25); transform-origin: center; }
.call[data-phase="talk"] .call__status, .call[data-phase="booked"] .call__status { background: rgba(255,181,71,.08); border-color: rgba(255,181,71,.28); }
.call[data-phase="talk"] .call__icon, .call[data-phase="booked"] .call__icon { background: var(--amber); }
.call[data-phase="talk"] .call__wave { opacity: 1; }
.call[data-phase="talk"] .call__wave i { animation: wave .9s var(--ease) infinite; }
.call__wave i:nth-child(2) { animation-delay: .1s !important; } .call__wave i:nth-child(3) { animation-delay: .25s !important; }
.call__wave i:nth-child(4) { animation-delay: .05s !important; } .call__wave i:nth-child(5) { animation-delay: .3s !important; }
.call__wave i:nth-child(6) { animation-delay: .15s !important; }

.call__transcript { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; overflow: hidden; align-self: start; }
.line { max-width: 88%; padding: .6rem .8rem; border-radius: 12px; font-size: .92rem; line-height: 1.4; animation: lineIn .45s var(--ease) both; }
.line small { display: block; font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2rem; opacity: .7; }
.line--caller { background: #3A2A1E; color: #F3E9DD; align-self: flex-end; border-bottom-right-radius: 4px; }
.line--ai { background: rgba(255,181,71,.12); color: #FFE7C2; border: 1px solid rgba(255,181,71,.22); border-bottom-left-radius: 4px; }
.line--tool { align-self: center; max-width: 100%; font: 500 .74rem/1.3 var(--f-mono); color: var(--muted-night); background: transparent; border: 1px dashed var(--night-line); padding: .35rem .7rem; border-radius: 999px; }
.line--lang { align-self: center; font: 600 .7rem/1 var(--f-mono); color: var(--night); background: var(--amber); padding: .3rem .6rem; border-radius: 999px; letter-spacing: .06em; }

.call__book { border-top: 1px dashed var(--night-line); padding-top: .8rem; }
.call__book .mono { color: var(--muted-night); display: flex; justify-content: space-between; }
.ticket {
  margin-top: .55rem; display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .8rem; align-items: center;
  padding: .7rem .85rem; border-radius: 12px; background: rgba(47,208,138,.1); border: 1px solid rgba(47,208,138,.35);
  color: #DFF7EC; transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease), opacity .6s;
}
.ticket.is-in { transform: none; opacity: 1; }
.ticket__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); grid-row: span 2; }
.ticket b { font-weight: 600; }
.ticket span { color: #A8E6C8; font-size: .82rem; }
.ticket em { font-style: normal; font: 600 .72rem/1 var(--f-mono); color: var(--green); grid-row: span 2; }
.call__demo-note { position: absolute; bottom: -1.8rem; right: .4rem; color: var(--muted-night); font-size: .72rem; }

/* ---------- Sections (day) ---------- */
.section { padding: var(--space-section) 0; }
.section--paper { background: var(--paper); }
.section h2 { font-size: var(--t-h2); max-width: 18ch; }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section__head p { color: var(--muted); margin: 0; max-width: 32rem; }

/* Demo call video */
.demo { background: var(--night); color: #fff; padding-top: clamp(2rem, 1rem + 3vw, 4rem); }
.demo .section__head p { color: var(--muted-night); }
.demo .eyebrow { color: var(--amber); }
.demo__player { margin: 0; position: relative; border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,181,71,.16); aspect-ratio: 16 / 9; }
.demo__player video { width: 100%; height: 100%; display: block; object-fit: cover; }
.demo__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(23,16,11,.55), rgba(23,16,11,.1)); border: 0; cursor: pointer; color: var(--night); transition: background-color .3s; }
.demo__play span { display: inline-flex; align-items: center; gap: .7rem; background: var(--amber); padding: 1rem 1.5rem; border-radius: 999px; font: 600 1.05rem/1 var(--f-body); box-shadow: 0 16px 40px -12px rgba(255,181,71,.6); transition: transform .3s var(--ease); }
.demo__play:hover span { transform: scale(1.05); }
.demo__play[hidden] { display: none; }
.demo__caption { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1rem; color: var(--muted-night); font-size: .88rem; }
.demo__caption b { color: var(--amber); font-weight: 600; }

/* WhatsApp section: the animated card, restyled as a chat */
.wa { background: linear-gradient(180deg, var(--night) 0%, #1F150E 100%); color: #fff; }
.wa__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wa h2 { font-size: var(--t-h2); max-width: 14ch; }
.wa .eyebrow { color: #7FD6A0; }
.wa__lede { color: var(--cream-night); margin: 1.4rem 0 1.6rem; max-width: 30rem; }
.wa__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.wa__list li { display: flex; gap: .7rem; align-items: baseline; color: #F3E9DD; }
.wa__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; transform: translateY(-1px); }
.call--wa { background: linear-gradient(180deg, #1C2A22, #17201B); border-color: rgba(127,214,160,.22); }
.call--wa .call__status { background: rgba(61,190,126,.1); border-color: rgba(61,190,126,.3); }
.call--wa .call__icon, .call--wa[data-phase="talk"] .call__icon, .call--wa[data-phase="booked"] .call__icon { background: var(--green); }
.call--wa .call__icon::after { border-color: var(--green); }
.call--wa[data-phase="talk"] .call__status, .call--wa[data-phase="booked"] .call__status { background: rgba(61,190,126,.12); border-color: rgba(61,190,126,.35); }
.call--wa .call__wave i { background: var(--green); }
.call--wa .line--caller { background: #2E5B43; color: #EAF7EF; }
.call--wa .line--ai { background: rgba(255,249,240,.08); color: #F3E9DD; border-color: rgba(255,249,240,.14); }
.call--wa .call__book { border-top-color: rgba(127,214,160,.2); }

/* Demo carousel */
.demo__carousel { position: relative; }
.demo__slide[hidden] { display: none; }
.demo__nav { position: absolute; top: calc(50% - 2.2rem); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,181,71,.4);
  background: rgba(23,16,11,.72); color: var(--amber); font: 400 2rem/1 var(--f-body); cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(8px); transition: transform .25s var(--ease), background-color .2s; z-index: 2; }
.demo__nav:hover { transform: scale(1.08); background: rgba(23,16,11,.9); }
.demo__nav[hidden] { display: none; }
.demo__nav--prev { left: -26px; } .demo__nav--next { right: -26px; }
.demo__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.demo__label { margin: 0; color: #F3E9DD; font-weight: 600; }
.demo__dots { display: flex; gap: .5rem; }
.demo__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,249,240,.25); cursor: pointer; transition: background-color .2s, transform .2s; }
.demo__dots button[aria-current="true"] { background: var(--amber); transform: scale(1.25); }

/* WhatsApp tabs */
.wa__stage { display: grid; gap: 1rem; }
.wa__tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.wa__tab { font: 600 .9rem/1 var(--f-body); padding: .7rem 1rem; border-radius: 999px; border: 1.5px solid rgba(127,214,160,.3); background: transparent; color: #DDEFE3; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.wa__tab:hover { border-color: #7FD6A0; }
.wa__tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #0E1A13; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.calc__controls { display: grid; gap: 1.6rem; }
.field label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: .6rem; }
.field output { font: 600 1rem/1 var(--f-mono); color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: var(--rule); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 4px solid var(--amber); cursor: grab; transition: transform .2s var(--ease); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 4px solid var(--amber); cursor: grab; }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__result { background: var(--night); color: #fff; border-radius: 22px; padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; }
.calc__result .mono { color: var(--muted-night); }
.calc__lost { font: 800 clamp(3rem, 2rem + 4vw, 5rem)/1 var(--f-display); font-stretch: 87%; letter-spacing: -.03em; color: var(--coral); margin: .4rem 0 .2rem; font-variant-numeric: tabular-nums; }
.calc__vs { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--night-line); margin-top: 1.4rem; padding-top: 1.1rem; color: var(--muted-night); }
.calc__vs strong { color: var(--amber); font: 700 1.5rem/1 var(--f-display); }
.calc__note { color: var(--muted); font-size: .85rem; margin-top: 1rem; }

/* Call flow (a real sequence, so it is numbered) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; counter-reset: step; }
.flow li { background: var(--paper); padding: 1.6rem 1.3rem 1.8rem; counter-increment: step; position: relative; }
.flow li::before { content: counter(step, decimal-leading-zero); font: 500 .78rem/1 var(--f-mono); color: var(--muted); display: block; margin-bottom: 2.2rem; }
.flow h3 { font: 700 var(--t-h3)/1.2 var(--f-display); font-stretch: 90%; margin: 0 0 .5rem; }
.flow p { margin: 0; color: var(--muted); font-size: .95rem; }
.flow li:nth-child(1) h3 { color: #C2401F; }
.flow li:nth-child(4) h3 { color: #13804F; }

/* Team */
.team { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: minmax(170px, auto); gap: 14px; }
.role { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.4rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.role:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(30,20,13,.35); border-color: #D6C2A8; }
.role .mono { color: var(--muted); }
.role h3 { font: 700 var(--t-h3)/1.15 var(--f-display); font-stretch: 90%; margin: .5rem 0 .4rem; }
.role p { margin: 0; color: var(--muted); font-size: .95rem; }
.role--lead { grid-row: span 2; background: var(--night); color: #fff; border-color: var(--night); display: flex; flex-direction: column; justify-content: space-between; }
.role--lead .mono, .role--lead p { color: var(--muted-night); }
.role--lead h3 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.4rem); color: var(--amber); }
.role--lead .langs { display: flex; gap: .4rem; margin-top: 1.2rem; }
.role--lead .langs span { font: 600 .72rem/1 var(--f-mono); border: 1px solid var(--night-line); border-radius: 999px; padding: .35rem .6rem; color: #fff; }

/* Sectors */
.sectors { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.sector-chip { font: 600 .95rem/1 var(--f-body); padding: .75rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.sector-chip:hover { border-color: var(--ink); }
.sector-chip[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sector-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.sector-panel h3 { font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 var(--f-display); font-stretch: 90%; margin: 0 0 .8rem; }
.sector-panel p { color: var(--muted); margin: 0; }
.sector-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.sector-panel li { display: flex; gap: .7rem; align-items: baseline; }
.sector-panel li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; transform: translateY(-1px); }
.sector-panel blockquote { margin: 1.4rem 0 0; padding: .9rem 1rem; border-left: 3px solid var(--amber); background: rgba(255,181,71,.08); border-radius: 0 10px 10px 0; font-size: .95rem; }
.sector-panel blockquote small { display: block; font: 500 .7rem/1.4 var(--f-mono); color: var(--muted); margin-top: .3rem; }

/* Proof */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.proof blockquote { margin: 0; font: 600 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.3 var(--f-display); font-stretch: 92%; letter-spacing: -.01em; }
.proof cite { display: block; margin-top: 1rem; font: 500 .82rem/1.4 var(--f-mono); color: var(--muted); font-style: normal; }
.facts { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--paper); padding: 1.1rem 1.3rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.facts b { font: 700 1.5rem/1 var(--f-display); font-stretch: 90%; }
.facts span { color: var(--muted); font-size: .92rem; text-align: right; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: 1.8rem 1.6rem; display: flex; flex-direction: column; }
.plan h3 { font: 700 1.3rem/1.1 var(--f-display); font-stretch: 90%; margin: 0 0 .3rem; }
.plan > p { color: var(--muted); margin: 0 0 1.4rem; font-size: .95rem; }
.plan__price { font: 800 2.6rem/1 var(--f-display); font-stretch: 87%; letter-spacing: -.02em; }
.plan__price small { font: 500 .8rem/1 var(--f-mono); color: var(--muted); letter-spacing: 0; margin-left: .3rem; }
.plan__month { font: 600 1rem/1 var(--f-mono); margin: .5rem 0 1.4rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .55rem; font-size: .95rem; }
.plan li { padding-left: 1.3rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan--featured { background: var(--night); color: #fff; border-color: var(--night); position: relative; }
.plan--featured > p, .plan--featured .plan__price small { color: var(--muted-night); }
.plan--featured .plan__month { color: var(--amber); }
.plan__tag { position: absolute; top: -12px; left: 1.6rem; font: 600 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--amber); color: var(--night); padding: .4rem .65rem; border-radius: 999px; }
.pricing-note { color: var(--muted); font-size: .88rem; margin-top: 1rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; font: 600 1.12rem/1.35 var(--f-body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 1.05rem; font: 400 1.6rem/1 var(--f-mono); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 44rem; }

/* Final CTA */
.final { background: var(--night); color: #fff; text-align: center; padding: var(--space-section) 0; }
.final h2 { font-size: var(--t-h2); margin: 0 auto 1.2rem; max-width: 16ch; }
.final p { color: var(--cream-night); margin: 0 auto 2rem; max-width: 34rem; }

/* Footer */
.site-footer { background: #110B07; color: var(--muted-night); padding: 3rem 0 2.5rem; font-size: .9rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .footer-h { color: #fff; font: 600 .8rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; grid-column: 1 / -1; border-top: 1px solid var(--night-line); padding-top: 1.4rem; font-size: .8rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Keyframes */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,93,79,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,93,79,0); } 100% { box-shadow: 0 0 0 0 rgba(255,93,79,0); } }
@keyframes ring { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes shake { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes wave { 0%,100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes drift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .calc, .proof, .section__head, .sector-panel, .wa__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .flow { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .role--lead { grid-row: auto; grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: .5rem 16px 1.2rem; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: .9rem 0; border-bottom: 1px solid var(--night-line); }
  .site-nav__cta { padding-top: 1rem; justify-content: space-between; }
}
@media (max-width: 760px) {
  .demo__nav--prev { left: 8px; } .demo__nav--next { right: 8px; }
  .demo__nav { width: 42px; height: 42px; font-size: 1.6rem; }
}
@media (max-width: 560px) {
  .flow, .team { grid-template-columns: 1fr; }
  .call { min-height: 500px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media video { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Keyboard focus on sliders ---------- */
input[type=range]:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }

/* ---------- WhatsApp contact ---------- */
.final .final__alt { margin: 1.2rem auto 0; font-size: .92rem; color: var(--muted-night); }
.final__alt a { color: var(--cream-night); }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: 999px; background: #25D366; color: #0E1A13; font: 600 .95rem/1 var(--f-body); text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); transition: transform .2s var(--ease); }
.wa-float:hover { transform: translateY(-2px); }
.wa-float:focus-visible { outline-color: var(--ink); }
@media (max-width: 560px) {
  .wa-float { padding: .9rem; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Privacy / legal notice ---------- */
.legal { max-width: 46rem; }
.legal h1 { font-size: var(--t-h2); margin: .6rem 0 2rem; }
.legal h2 { font: 700 var(--t-h3)/1.25 var(--f-display); margin: 2.2rem 0 .6rem; }
.legal p { margin: 0 0 1rem; }
.legal a { color: var(--ink); }
.legal__back { color: var(--muted-night); text-decoration: none; font-size: .95rem; }
.legal__back:hover { color: #fff; }
