/* =========================================================
   PaskoGroup — Design System
   Palette taken from the logo: ink black, paper white, signal red.
   Display type: Oswald (condensed, like the wordmark). Body: Inter.
   ========================================================= */

:root {
  --ink: #0a0a0a;
  --ink-2: #161616;
  --ink-3: #242424;
  --paper: #ffffff;
  --bg: #e3e3e0;
  --paper-2: #d7d7d3;
  --line: #cacac5;
  --line-dark: #2c2c2c;
  --muted: #52524f;
  --muted-dark: #a3a3a0;
  --red: #ee3b36;
  --red-deep: #c92a26;
  --red-soft: #fdeceb;

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 92px;
}

/* ---------- Language switching ---------- */
html:not([data-lang="es"]) .es { display: none !important; }
html[data-lang="es"] .en { display: none !important; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--gray { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

/* ---------- Typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .98;
  margin: 0;
}
h1, .h1 { font-size: clamp(52px, 9.2vw, 132px); }
h2, .h2 { font-size: clamp(38px, 5.6vw, 76px); }
h3, .h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: .005em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); max-width: 640px; }
.section--dark .lead { color: var(--muted-dark); }
.red { color: var(--red); }
.dot { color: var(--red); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red); }
.section--dark .eyebrow { color: var(--muted-dark); }

.section-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.section-head--split {
  max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px;
}
.section-head--split .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --bg: var(--red); border-color: var(--red); }
.btn:active { transform: translateY(1px); }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: var(--ink); border-color: var(--ink); }
.section--dark .btn--red:hover, .cta-band .btn--red:hover { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); border-color: var(--ink); }
.section--dark .btn--ghost { --fg: var(--paper); border-color: rgba(255,255,255,.4); }
.section--dark .btn--ghost:hover { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 16px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
  transition: color .2s, gap .3s var(--ease);
}
.link-arrow:hover { color: var(--red); gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(227,227,224,.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  position: relative; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--ink);
  padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }

.lang-toggle {
  display: inline-flex; align-items: center;
  height: 42px; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em;
}
.lang-toggle span { padding: 0 11px; height: 34px; display: grid; place-items: center; border-radius: 999px; color: var(--muted); transition: background .25s, color .25s; }
html:not([data-lang="es"]) .lang-toggle [data-l="en"],
html[data-lang="es"] .lang-toggle [data-l="es"] { background: var(--ink); color: var(--paper); }

.menu-btn {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); cursor: pointer; position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--ink); content: "";
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-btn span { top: 50%; }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero h1 { max-width: 12ch; }
.hero > .wrap { position: relative; z-index: 1; }
.hero--home h1 { max-width: none; font-size: clamp(39px, 6.46vw, 95px); }
.hero .lead { margin-top: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* The "needle": the red diagonal from the logo, used as a recurring motif */
.needle {
  position: absolute; pointer-events: none;
  width: 2px; height: 140%;
  background: linear-gradient(to bottom, transparent, var(--ink) 30%, var(--ink) 70%, transparent);
  transform-origin: center; transform: rotate(38deg);
  opacity: .9;
}
.needle::before {
  content: ""; position: absolute; top: 18%; left: -3px; width: 8px; height: 22%;
  background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.hero .needle { right: 12%; top: -20%; animation: needle-in 1.6s var(--ease) both; }
@keyframes needle-in { from { transform: rotate(38deg) translateY(-30%); opacity: 0; } to { transform: rotate(38deg) translateY(0); opacity: .9; } }

.hero--dark { background: var(--ink); color: var(--paper); }
.hero--dark .lead { color: var(--muted-dark); }
.hero--dark .eyebrow { color: var(--muted-dark); }
.hero--dark .needle { background: linear-gradient(to bottom, transparent, rgba(255,255,255,.7) 30%, rgba(255,255,255,.7) 70%, transparent); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px 48px;
  margin-top: clamp(56px, 7vw, 88px); padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.hero--dark .hero-meta { border-top-color: var(--line-dark); color: var(--muted-dark); }
.hero-meta b { color: var(--ink); font-weight: 500; }
.hero--dark .hero-meta b { color: var(--paper); }

/* ---------- Segmentation (Home) ---------- */
.segment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.segment {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(300px, 34vw, 420px);
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.segment::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.segment:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.segment:hover::after { transform: scaleX(1); }
.segment--a { background: var(--ink); color: var(--paper); }
.segment--b { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); }
.segment__tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 16px; opacity: .7;
}
.segment__title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(36px, 4.6vw, 64px); line-height: .95; margin: 32px 0 16px; }
.segment__text { max-width: 420px; opacity: .78; margin: 0; }
.segment__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; gap: 16px; }
.segment__go {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1.5px solid currentColor;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease), color .4s;
}
.segment:hover .segment__go { background: var(--red); border-color: var(--red); color: var(--paper); transform: rotate(-45deg); }
.segment__for { font-size: 14px; opacity: .65; }
.segment__bg {
  position: absolute; right: -6%; bottom: -14%; z-index: -1;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(180px, 22vw, 320px); line-height: 1;
  opacity: .06; pointer-events: none; transition: transform .8s var(--ease), opacity .6s;
}
.segment:hover .segment__bg { transform: translate(-12px, -12px); opacity: .1; }

/* ---------- Story (emotional narrative) ---------- */
.story { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.section--dark .story { border-top-color: var(--paper); }
.story__beat { padding: 36px 32px 8px 0; position: relative; }
.story__beat + .story__beat { padding-left: 32px; border-left: 1px solid var(--line); }
.section--dark .story__beat + .story__beat { border-left-color: var(--line-dark); }
.story__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--red); margin-bottom: 28px; display: block; }
.story__beat h3 { margin-bottom: 16px; }
.story__beat p { color: var(--muted); margin: 0; }
.section--dark .story__beat p { color: var(--muted-dark); }

.quote-block {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 500;
  font-size: clamp(30px, 4.4vw, 60px); line-height: 1.05; max-width: 18ch; margin: 0;
}
.quote-block em { font-style: normal; color: var(--red); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; }
.pillar { padding: clamp(32px, 4vw, 56px); }
.pillar + .pillar { border-left: 1.5px solid var(--ink); }
.pillar__num { font-family: var(--font-display); font-size: 88px; line-height: .8; font-weight: 600; color: var(--red); margin-bottom: 32px; display: block; }
.pillar ul { list-style: none; padding: 0; margin: 24px 0 32px; }
.pillar li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; font-size: 15px; }
.pillar li::before { content: "—"; color: var(--red); font-weight: 600; }

/* ---------- Compliance / validation ---------- */
.badges { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.badge { padding: 32px 20px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.badge + .badge { border-left: 1px solid var(--line); }
.badge svg { width: 44px; height: 44px; }
.badge strong { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.badge span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.compliance-note { font-size: 13px; color: var(--muted); max-width: 720px; margin: 24px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(72px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.cta-band .needle { left: 70%; top: -30%; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.55) 30%, rgba(255,255,255,.55) 70%, transparent); }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: end; position: relative; }
.cta-band p { color: var(--muted-dark); margin: 24px 0 0; max-width: 520px; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-band__small { font-size: 13px; color: var(--muted-dark); font-family: var(--font-mono); letter-spacing: .06em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 72px 0 32px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--paper); margin-bottom: 20px; }
.footer-brand img { width: 60px; height: 60px; border-radius: 6px; }
.footer-brand b { font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; font-weight: 600; line-height: 1; }
.footer-brand small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--muted-dark); margin-top: 4px; }
.site-footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper); margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 12px; }
.footer-disclosure { margin-top: 32px; font-size: 12px; line-height: 1.6; max-width: 880px; color: #7a7a77; }

/* ---------- Advisory ---------- */
.problem { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.problem__body p { font-size: 18px; color: var(--muted); }
.problem__body p strong { color: var(--ink); font-weight: 600; }
.section--dark .problem__body p { color: var(--muted-dark); }
.section--dark .problem__body p strong { color: var(--paper); }
.leaks { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.leaks li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.leaks li b { color: var(--red); font-family: var(--font-mono); font-size: 13px; font-weight: 500; padding-top: 3px; }
.leaks li span { color: var(--paper); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  border: 1.5px solid var(--ink); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; min-height: 460px; background: var(--paper);
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.service:hover { background: var(--ink); color: var(--paper); transform: translateY(-4px); }
.service:hover .service__list li { border-top-color: var(--line-dark); }
.service:hover p { color: var(--muted-dark); }
.service__icon { width: 56px; height: 56px; margin-bottom: 40px; }
.service__icon .accent { fill: var(--red); stroke: var(--red); }
.service__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--red); margin-bottom: 12px; }
.service h3 { margin-bottom: 16px; }
.service p { color: var(--muted); font-size: 15px; transition: color .4s; }
.service__list { list-style: none; margin: auto 0 0; padding: 0; font-size: 14px; }
.service__list li { padding: 10px 0; border-top: 1px solid var(--line); transition: border-color .4s; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { padding: 32px 28px 0 0; border-top: 1.5px solid var(--ink); position: relative; }
.step::before {
  content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--red);
}
.step__week { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.step h3 { margin: 12px 0 12px; }
.step p { font-size: 15px; color: var(--muted); }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit__col { padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius-lg); }
.fit__col--yes { background: var(--ink); color: var(--paper); }
.fit__col--no { background: var(--paper-2); }
.fit__col ul { list-style: none; padding: 0; margin: 24px 0 0; }
.fit__col li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.fit__col--yes li { border-top-color: var(--line-dark); }
.fit__col li i { font-style: normal; font-weight: 700; }
.fit__col--yes li i { color: var(--red); }
.fit__col--no li i { color: var(--muted); }

/* Booking widget */
.booking { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.booking__intro ul { list-style: none; padding: 0; margin: 32px 0 0; }
.booking__intro li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.booking__intro li b { font-family: var(--font-mono); color: var(--red); font-weight: 500; font-size: 13px; padding-top: 2px; }
.scheduler {
  border: 1.5px solid var(--ink); border-radius: var(--radius-lg); background: var(--paper); overflow: hidden;
  box-shadow: 0 40px 80px -48px rgba(0,0,0,.4);
}
.scheduler__head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 24px; background: var(--ink); color: var(--paper);
}
.scheduler__head { flex-wrap: wrap; }
.scheduler__head strong { white-space: nowrap;  font-family: var(--font-display); text-transform: uppercase; font-weight: 500; font-size: 20px; letter-spacing: .02em; }
.scheduler__head span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-dark); }
.scheduler__body { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 420px; }
.cal { padding: 24px; border-right: 1px solid var(--line); }
.cal__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cal__nav b { font-weight: 600; font-size: 15px; }
.cal__nav button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; }
.cal__nav button:hover:not(:disabled) { border-color: var(--ink); }
.cal__nav button:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow { font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding: 6px 0; letter-spacing: .06em; }
.cal__day {
  aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font-size: 14px; cursor: pointer; font-weight: 500;
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.cal__day:disabled { color: #c4c4c0; cursor: default; font-weight: 400; }
.cal__day:not(:disabled) { background: var(--paper-2); }
.cal__day:not(:disabled):hover { background: var(--red-soft); color: var(--red-deep); }
.cal__day.is-selected { background: var(--ink) !important; color: var(--paper) !important; }
.cal__tz { margin-top: 18px; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.slots { padding: 24px; display: flex; flex-direction: column; }
.slots__title { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.slots__list { display: grid; gap: 8px; overflow-y: auto; max-height: 330px; padding-right: 4px; }
.slot {
  min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius); background: none; cursor: pointer;
  font-weight: 600; font-size: 14px; transition: border-color .2s, background .2s, color .2s;
}
.slot:hover { border-color: var(--ink); }
.slot.is-selected { background: var(--red); border-color: var(--red); color: var(--paper); }
.slots__empty { color: var(--muted); font-size: 14px; margin: auto 0; text-align: center; }
.scheduler__form { padding: 24px; border-top: 1px solid var(--line); display: none; }
.scheduler__form.is-open { display: block; }
.scheduler__summary { font-family: var(--font-mono); font-size: 13px; margin-bottom: 16px; color: var(--red-deep); }
.scheduler__done { padding: 56px 32px; text-align: center; display: none; }
.scheduler__done.is-open { display: block; }
.scheduler__done .check { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: var(--red); color: var(--paper); display: grid; place-items: center; }
.calendly-inline-widget { min-width: 320px; height: 700px; }

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 30px; font-weight: 400; color: var(--red); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 760px; margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .01em; display: flex; justify-content: space-between; gap: 8px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper);
  font-size: 15px; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230a0a0a' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10,10,10,.06); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field__error { font-size: 12px; color: var(--red-deep); min-height: 0; display: none; }
.field.has-error .field__error { display: block; }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); grid-column: 1 / -1; }
.check-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: 12px; max-width: 360px; }

.form-result { display: none; border-radius: var(--radius-lg); padding: 32px; margin-top: 24px; }
.form-result.is-open { display: block; }
.form-result--ok { background: var(--ink); color: var(--paper); }
.form-result--no { background: var(--paper-2); border-left: 4px solid var(--red); }
.form-result h3 { margin-bottom: 12px; }
.form-result p { margin: 0; }

/* ---------- Portfolio ---------- */
.verticals { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.vertical { padding: 40px 28px 40px 0; }
.vertical + .vertical { padding-left: 28px; border-left: 1px solid var(--line); }
.vertical svg { width: 52px; height: 52px; margin-bottom: 32px; }
.vertical svg .accent { fill: var(--red); }
.vertical h3 { margin-bottom: 12px; }
.vertical p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.vertical__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vertical__tags span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-bottom: 56px; }
.kpi { padding: 32px 24px 32px 0; }
.kpi + .kpi { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.kpi__value { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--paper); display: block; }
.kpi__value sup { font-size: .45em; vertical-align: top; position: relative; top: .2em; color: var(--red); }
.kpi__label { display: block; margin-top: 12px; font-size: 13px; color: var(--muted-dark); }

.charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.chart-card { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 28px; background: var(--ink-2); position: relative; }
.chart-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.chart-card__head h3 { font-size: 20px; }
.chart-card__head span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-dark); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font-mono); font-size: 11px; fill: var(--muted-dark); }
.chart .grid line { stroke: var(--line-dark); stroke-width: 1; }
.chart .bar { fill: #f2f2f0; transition: fill .2s; }
.chart .bar.is-accent { fill: var(--red); }
.chart .bar-hit { fill: transparent; cursor: pointer; }
.chart .bar-hit:hover + .bar, .chart .bar.is-hover { fill: var(--red); }
.hbars { display: grid; gap: 18px; }
.hbar__row { display: grid; gap: 8px; }
.hbar__label { display: flex; justify-content: space-between; font-size: 14px; color: var(--paper); }
.hbar__label b { font-family: var(--font-mono); font-weight: 500; color: var(--muted-dark); font-size: 13px; }
.hbar__track { height: 10px; background: var(--ink-3); border-radius: 4px; overflow: hidden; }
.hbar__fill { height: 100%; background: var(--paper); border-radius: 0 4px 4px 0; width: 0; transition: width 1.4s var(--ease); }
.hbar__row:first-child .hbar__fill { background: var(--red); }
.chart-tip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: var(--radius);
  font-size: 13px; line-height: 1.35; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  opacity: 0; transform: translate(-50%, -110%); transition: opacity .15s; white-space: nowrap;
}
.chart-tip b { font-family: var(--font-mono); font-weight: 500; display: block; font-size: 15px; }
.chart-tip.is-on { opacity: 1; }
.chart-note { font-size: 12px; color: #7a7a77; margin-top: 20px; }
.sr-table { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.model { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model__card { padding: 36px 32px; border-radius: var(--radius-lg); background: var(--paper-2); }
.model__card b { display: block; font-family: var(--font-display); font-size: 54px; font-weight: 600; line-height: 1; color: var(--red); margin-bottom: 24px; }
.model__card p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

.alliance { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.criteria { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: c; }
.criteria li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.criteria li::before { content: counter(c, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--red); padding-top: 3px; }
.alliance-form { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); }
.alliance-form__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); gap: 16px; flex-wrap: wrap; }
.alliance-form__head strong { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; font-weight: 600; }
.alliance-form__head span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--red); text-transform: uppercase; }

/* ---------- Insights ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  min-height: 40px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; transition: all .2s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.featured {
  display: grid; grid-template-columns: 1.1fr .9fr; border: 1.5px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 16px; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.featured:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(0,0,0,.4); }
.featured__art { background: var(--ink); position: relative; min-height: 360px; overflow: hidden; }
.featured__body { background: var(--paper); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.featured__body h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 16px 0 20px; }
.featured__body p { color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.article-meta .cat { color: var(--red); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 24px; font-size: 14px; }
.byline .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; flex-shrink: 0; }
.byline small { display: block; color: var(--muted); font-size: 12px; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .3s, transform .5s var(--ease);
}
.post:hover { border-color: var(--ink); transform: translateY(-4px); }
.post__art { aspect-ratio: 16 / 10; background: var(--paper-2); position: relative; overflow: hidden; }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__body h3 { margin: 14px 0 12px; font-size: 24px; }
.post__body p { font-size: 15px; color: var(--muted); }
.post.is-hidden, .featured.is-hidden { display: none; }

.art { position: absolute; inset: 0; width: 100%; height: 100%; }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input {
  flex: 1; min-height: 54px; padding: 0 18px; border-radius: var(--radius); border: 1.5px solid var(--line-dark); background: transparent; color: var(--paper);
}
.newsletter input::placeholder { color: var(--muted-dark); }
.newsletter input:focus { outline: none; border-color: var(--paper); }
.newsletter__msg { font-size: 13px; color: var(--muted-dark); margin-top: 12px; }

/* Article page */
.article-hero { padding: clamp(56px, 8vw, 104px) 0 48px; border-bottom: 1px solid var(--line); }
.article-hero h1 { font-size: clamp(40px, 6.4vw, 88px); max-width: 16ch; margin: 24px 0 28px; }
.article-hero .lead { max-width: 720px; }
.article-hero .byline { margin-top: 32px; padding-top: 0; }
.back-link { font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; color: var(--muted); }
.back-link:hover { color: var(--red); }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); padding: 64px 0 96px; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; font-size: 14px; }
.toc b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 16px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-left: 1.5px solid var(--line); }
.toc a { display: block; padding-left: 16px; color: var(--muted); margin-left: -1.5px; border-left: 1.5px solid transparent; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--red); }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 64px 0 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 40px 0 14px; font-size: 24px; }
.prose p { margin: 0 0 1.25em; color: #262624; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .6em; }
.prose li::marker { color: var(--red); }
.prose blockquote {
  margin: 40px 0; padding: 0 0 0 28px; border-left: 4px solid var(--red);
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; font-weight: 500;
}
.prose .callout { background: var(--paper-2); border-radius: var(--radius-lg); padding: 24px 28px; margin: 32px 0; font-size: 16px; }
.prose .callout b { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom: 1.5px solid var(--ink); }
.legal-note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 48px; }

.article-cta {
  background: var(--ink); color: var(--paper); border-radius: var(--radius-lg);
  padding: clamp(32px, 4.4vw, 56px); margin-top: 64px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden;
}
.article-cta h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.02; max-width: 18ch; }
.article-cta p { color: var(--muted-dark); margin: 12px 0 0; font-size: 15px; }
.article-cta::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 2px; height: 260px; background: var(--red); transform: rotate(38deg);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .badges { grid-template-columns: repeat(3, 1fr); }
  .badge:nth-child(4) { border-left: 0; }
  .badge:nth-child(n+4) { border-top: 1px solid var(--line); }
  .verticals { grid-template-columns: 1fr 1fr; }
  .vertical:nth-child(3) { padding-left: 0; border-left: 0; }
  .vertical:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .scheduler__body { grid-template-columns: 1fr; }
  .cal { border-right: 0; border-bottom: 1px solid var(--line); }
  .slots__list { grid-template-columns: repeat(3, 1fr); max-height: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav a { font-family: var(--font-display); text-transform: uppercase; font-size: 32px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-btn { display: block; }
  .header-actions .btn { display: none; }
  .nav .nav-cta { display: flex; margin-top: 20px; font-family: var(--font-body); font-size: 16px; text-transform: none; border: 0; color: var(--paper); }
  .brand img { height: 42px; }

  .segment-grid, .pillars, .fit, .booking, .alliance, .problem, .charts, .newsletter, .featured, .cta-band__inner { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1.5px solid var(--ink); }
  .section-head--split { grid-template-columns: 1fr; gap: 24px; }
  .story { grid-template-columns: 1fr; }
  .story__beat, .story__beat + .story__beat { padding: 28px 0; border-left: 0; }
  .story__beat + .story__beat { border-top: 1px solid var(--line); }
  .section--dark .story__beat + .story__beat { border-top-color: var(--line-dark); }
  .services, .posts, .model { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service__list { margin-top: 24px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .article-cta { grid-template-columns: 1fr; }
  .featured__art { min-height: 220px; }
  .hero .needle { right: -10%; opacity: .35; }
}

@media (min-width: 901px) { .nav .nav-cta { display: none; } }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .badge:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .badge:nth-child(even) { border-left: 1px solid var(--line); }
  .badge:nth-child(-n+2) { border-top: 0; }
  .verticals { grid-template-columns: 1fr; }
  .vertical, .vertical + .vertical { padding: 32px 0; border-left: 0; }
  .vertical + .vertical { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .slots__list { grid-template-columns: 1fr 1fr; }
  .newsletter form { flex-direction: column; }
  .lang-toggle span { padding: 0 9px; }
  .segment__bg { font-size: 160px; }
}
