/* ============================================================
   KILDE CONSULTING — styles.css
   Paleta: crema #e8e6e0 · tinta #2B2D31 · burdeos #8c2f39
   Regla: el burdeos solo sobre crema, nunca sobre tinta.
   ============================================================ */

@font-face { font-family: "BDSans"; src: url("assets/fonts/BDSans-Thin.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "BDSans"; src: url("assets/fonts/BDSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BDSans"; src: url("assets/fonts/BDSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "BDSans"; src: url("assets/fonts/BDSans-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "BDScript"; src: url("assets/fonts/BDScript-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --cream: #e8e6e0;
  --cream-2: #dedbd3;
  --paper: #f3f2ee;
  --ink: #2B2D31;
  --ink-2: #35373c;
  --ink-soft: #5b5d62;
  --wine: #8c2f39;
  --wine-deep: #72252e;
  --line: rgba(43, 45, 49, 0.16);
  --line-dark: rgba(232, 230, 224, 0.16);

  --sans: "BDSans", "Helvetica Neue", Arial, sans-serif;
  --script: "BDScript", "Brush Script MT", cursive;

  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 76px;
  --radius: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; overflow-x: clip;
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--wine); color: var(--cream); }

.script { font-family: var(--script); font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--wine); line-height: .8; }
.dark .script { color: var(--cream); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; }

/* grain overlay */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07;
  background-image: 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)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.05em 1.6em; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 700 .98rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .35s var(--ease-out);
  will-change: transform;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-wine { --bg: var(--wine); --fg: var(--cream); box-shadow: 0 10px 30px -12px rgba(140, 47, 57, .55); }
.btn-wine:hover { --bg: var(--wine-deep); box-shadow: 0 18px 40px -14px rgba(140, 47, 57, .7); }
.btn-cream { --bg: var(--cream); --fg: var(--ink); }
.btn-cream:hover { --bg: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: .8em 1.2em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.dark .btn:focus-visible, .dark a:focus-visible { outline-color: var(--cream); }

/* ---------- Splash (doble red de seguridad) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; background: var(--cream);
  display: grid; place-items: center; align-content: center; gap: 1.4rem;
  transition: clip-path .9s var(--ease-out), opacity .5s;
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash-logo { width: min(236px, 50vw); animation: splashIn .8s var(--ease-out) both; }
.splash-bar { width: 120px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.splash-bar::after { content: ""; position: absolute; inset: 0; background: var(--wine); transform-origin: left; animation: splashBar 1s var(--ease-out) .1s both; }
.splash.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes splashIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes splashBar { from { transform: scaleX(0); } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background .35s, box-shadow .35s, transform .45s var(--ease-out); }
.nav-inner { height: 100%; max-width: calc(var(--wrap) + 2rem); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; gap: 2rem; }
.nav-logo img { width: 112px; height: auto; }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: .92rem; position: relative; padding: .3em 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--wine); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav.is-solid { background: rgba(232, 230, 224, .92); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(12px)) { .nav.is-solid { background: rgba(232, 230, 224, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); } }
.nav.is-hidden { transform: translateY(-100%); }
.nav-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease-out); }
.nav-burger span:first-child { top: 17px; } .nav-burger span:last-child { top: 25px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--cream); padding: calc(var(--nav-h) + 2rem) var(--pad) 2rem; display: flex; flex-direction: column; gap: 1.2rem; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-out); visibility: hidden; }
.mobile-menu a:not(.btn) { font-weight: 900; font-size: 2rem; text-decoration: none; letter-spacing: -.02em; }
.mobile-menu .btn { margin-top: 1rem; }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 3rem) 0 4rem; display: flex; align-items: center; }
.hero::before { /* halo burdeos suave sobre crema */
  content: ""; position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -10vw; pointer-events: none;
  background: radial-gradient(closest-side, rgba(140, 47, 57, .16), transparent 70%); filter: blur(30px);
  animation: halo 14s ease-in-out infinite alternate;
}
@keyframes halo { to { transform: translate(-6vw, 8vw) scale(1.12); } }
.hero-grid { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.8rem; color: var(--ink-soft); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 4px rgba(140, 47, 57, .15); }
.hero-title { font-size: clamp(2.3rem, 4.6vw, 4.6rem); line-height: .95; letter-spacing: -.035em; margin-bottom: 1.8rem; text-wrap: balance; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease-out) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: .75s; }
.hero-title .line:nth-child(2) > span { animation-delay: .85s; }
.hero-title .line:nth-child(3) > span { animation-delay: .95s; }
.hero-title .line:nth-child(4) > span { animation-delay: 1.05s; }
@keyframes lineUp { to { transform: none; } }
.hero-title .script { font-size: 2.1em; line-height: .5; display: inline-block; transform: translateY(.06em) rotate(-4deg); margin-right: .06em; }
.hero-sub { max-width: 54ch; color: var(--ink-soft); font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem); margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 3rem; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 2rem; border-top: 1px solid var(--line); padding-top: 1.4rem; max-width: 560px; }
.hero-proof li { display: flex; flex-direction: column; font-size: .85rem; color: var(--ink-soft); }
.hero-proof strong { color: var(--ink); font-size: 1.05rem; font-weight: 900; }
.hero-copy > .kicker, .hero-sub, .hero-ctas, .hero-proof { animation: fadeUp 1s var(--ease-out) both; }
.hero-copy > .kicker { animation-delay: .6s; } .hero-sub { animation-delay: 1.2s; } .hero-ctas { animation-delay: 1.32s; } .hero-proof { animation-delay: 1.45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* Board */
.hero-board { animation: fadeUp 1.2s var(--ease-out) 1.1s both; perspective: 1200px; }
.board { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem; box-shadow: 0 40px 80px -40px rgba(43, 45, 49, .45), 0 2px 0 rgba(255,255,255,.6) inset; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.board-head { display: flex; justify-content: space-between; align-items: center; padding: .2rem .3rem 1rem; border-bottom: 1px solid var(--line); }
.board-title { font-weight: 700; font-size: .9rem; }
.board-live { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); }
.board-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--wine); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(140,47,57,.5); } 70% { box-shadow: 0 0 0 8px rgba(140,47,57,0); } 100% { box-shadow: 0 0 0 0 rgba(140,47,57,0); } }
.board-rows { list-style: none; margin: 0; padding: .5rem 0; }
.row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'src tag' 'name tag'; align-items: center; column-gap: .8rem; row-gap: .35rem; padding: .85rem .3rem; border-bottom: 1px dashed var(--line); font-size: .86rem; animation: rowIn .8s var(--ease-out) both; animation-delay: calc(1.6s + var(--i) * .18s); }
.row:last-child { border-bottom: 0; }
@keyframes rowIn { from { opacity: 0; transform: translateX(16px); } }
.row-src { grid-area: src; justify-self: start; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: .35em .6em; border-radius: 6px; background: var(--cream); color: var(--ink-soft); white-space: nowrap; }
.row-name { font-weight: 700; line-height: 1.25; }
.row .tag { grid-area: tag; } .row-name { grid-area: name; }
.tag { font-size: .72rem; padding: .4em .75em; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.tag-wine { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.tag-ink { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.tag-ok { background: transparent; border-color: var(--wine); color: var(--wine); }
.board-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.board-foot div { background: var(--cream); border-radius: 10px; padding: .7rem .8rem; }
.board-foot small { display: block; font-size: .7rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.board-foot b { font-size: .9rem; }
.board-caption { margin: 1.2rem 0 0; text-align: center; color: var(--ink-soft); font-size: .92rem; }
.board-caption .script { font-size: 2.6em; margin-right: .2em; vertical-align: -.15em; }

.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 20px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; border-radius: 3px; background: var(--wine); transform: translateX(-50%); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 50% { transform: translate(-50%, 10px); opacity: .3; } }

/* ---------- Logos marquee ---------- */
.logos { padding: 2.6rem 0 3rem; border-block: 1px solid var(--line); }
.logos-label { text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.6rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: clamp(2.5rem, 5vw, 4.5rem); width: max-content; align-items: center; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 56px; width: 170px; object-fit: contain; opacity: .6; transition: opacity .3s; }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(5rem, 11vw, 9rem) 0; }
.dark { background: var(--ink); color: var(--cream); }
.dark .sec-num { color: rgba(232, 230, 224, .6); }
.dark .sec-num::before { background: var(--cream); }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 900px; }
.sec-head-row { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.sec-num { display: flex; align-items: center; gap: .8rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.4rem; }
.sec-num::before { content: ""; width: 28px; height: 1px; background: var(--wine); }
.sec-title { font-size: clamp(1.8rem, 3.4vw, 3.1rem); text-wrap: balance; }
.sec-title .script { font-size: 1.9em; line-height: .6; display: inline-block; transform: rotate(-3deg); padding-inline: .05em; }
.sec-lead { color: var(--ink-soft); max-width: 46ch; margin: 0; }

/* Reveal (con red de seguridad) */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Problem */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.pcard { background: var(--ink); padding: clamp(1.8rem, 4vw, 3rem); position: relative; transition: background .4s; }
.pcard:hover { background: var(--ink-2); }
.pcard-n { font-family: var(--script); font-size: 3.4rem; line-height: 1; color: var(--cream); opacity: .9; display: block; margin-bottom: 1rem; }
.pcard h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-bottom: 1rem; }
.pcard p { color: rgba(232, 230, 224, .72); }
.pcard-fix { margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); color: var(--cream) !important; font-weight: 700; }
.pcard-fix::before { content: "→ "; }
.problem-quote { font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 200; letter-spacing: -.01em; line-height: 1.2; max-width: 30ch; margin: clamp(3rem, 6vw, 5rem) 0 2.4rem; }
.inline-cta { margin-top: 1rem; }

/* Approach */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.compare-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > span { padding: 1.1rem 1.3rem; font-size: .95rem; border-left: 1px solid var(--line); color: var(--ink-soft); }
.compare-row > span:first-child { border-left: 0; color: var(--ink); font-weight: 700; }
.compare-headrow > span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 700; }
.compare .is-kilde { background: var(--wine); color: var(--cream) !important; font-weight: 700; border-left-color: var(--wine); }
.compare-headrow .is-kilde { font-size: .9rem; letter-spacing: .14em; }
.roles { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; margin-top: clamp(3rem, 6vw, 4.5rem); }
.role { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.role-k { font-family: var(--script); font-size: 3rem; line-height: 1; color: var(--wine); margin-bottom: .6rem; }
.role p:last-child { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }
.role-plus { font-size: 3rem; font-weight: 200; color: var(--wine); }

/* Includes */
.includes { background: var(--paper); }
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.inc { padding: clamp(1.6rem, 3vw, 2.4rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .45s var(--ease-out), color .45s var(--ease-out); min-height: 280px; display: flex; flex-direction: column; }
.inc::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.inc:hover { background: var(--cream); }
.inc:hover::after { transform: scaleX(1); }
.inc-n { font-size: .8rem; letter-spacing: .12em; color: var(--wine); font-weight: 700; margin-bottom: auto; padding-bottom: 2.6rem; }
.inc h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin-bottom: .8rem; }
.inc p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.cta-band { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--cream-2); }
.cta-band p { margin: 0; font-size: 1.15rem; font-weight: 700; }
.fit .cta-band { background: var(--paper); border: 1px solid var(--line); }

/* Method (horizontal pin) */
.method { background: var(--cream); border-top: 1px solid var(--line); }
.method-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 2rem) 0 3rem; overflow: hidden; }
.method-head { max-width: var(--wrap); width: 100%; margin: 0 auto 2.6rem; padding-inline: var(--pad); display: grid; grid-template-columns: auto 1fr; column-gap: 3rem; align-items: end; }
.method-head .sec-num { grid-column: 1 / -1; }
.method-note { color: var(--ink-soft); max-width: 40ch; margin: 0; justify-self: end; }
.method-bar { grid-column: 1 / -1; height: 2px; background: var(--line); margin-top: 2rem; position: relative; }
.method-bar span { position: absolute; inset: 0; background: var(--wine); transform: scaleX(0); transform-origin: left; }
.method-track { display: flex; gap: 1.2rem; padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); width: max-content; }
.month { width: clamp(280px, 30vw, 380px); flex: 0 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; min-height: 340px; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.month:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(43, 45, 49, .4); }
.month-n { display: flex; align-items: baseline; gap: .4rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); margin-bottom: auto; padding-bottom: 2rem; }
.month-n b { font-size: 4.2rem; font-weight: 900; letter-spacing: -.04em; line-height: .8; color: var(--wine); }
.month h3 { font-size: 1.45rem; margin-bottom: .7rem; }
.month p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.month-last { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.month-last .month-n, .month-last p { color: rgba(232, 230, 224, .78); }
.month-last .month-n b { color: var(--cream); }
.month-last .btn { margin-top: 1.4rem; align-self: flex-start; --bg: var(--cream); --fg: var(--wine); box-shadow: none; }

/* Measure */
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; padding: clamp(1.6rem, 4vw, 2.8rem); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.f-term { padding: .9rem 1.2rem; border-radius: 12px; border: 1px dashed rgba(43,45,49,.3); font-weight: 700; font-size: clamp(.95rem, 1.4vw, 1.12rem); }
.f-plus { border-style: solid; border-color: var(--ink); }
.f-op { font-size: 2rem; font-weight: 200; color: var(--wine); }
.f-result { background: var(--wine); color: var(--cream); border: 0; }
.measure-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.4rem; }
.measure-notes p { color: var(--ink-soft); font-size: 1.08rem; border-left: 2px solid var(--wine); padding-left: 1.2rem; margin: 0; }
.measure-notes strong { color: var(--ink); }

/* Results / founder */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-bottom: clamp(4rem, 8vw, 6rem); }
.founder-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.founder-photo.is-visible img { transform: scale(1); }
.founder-role { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(232, 230, 224, .6); margin: 1rem 0 2rem; }
.founder-copy p.reveal { color: rgba(232, 230, 224, .8); font-size: 1.1rem; max-width: 52ch; }
.founder-copy .sec-title { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.stat { padding: 2.4rem 2rem 2rem 0; border-right: 1px solid var(--line-dark); }
.stat + .stat { padding-left: 2rem; }
.stat:last-child { border-right: 0; }
.stat .stat-num { color: var(--cream); font-size: clamp(2.8rem, 5vw, 4.6rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; margin-bottom: 1.4rem; display: flex; align-items: baseline; }
.stat-num span:not([data-count]) { font-size: .5em; letter-spacing: -.02em; font-weight: 400; }
.stat h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.stat p { color: rgba(232, 230, 224, .68); font-size: .96rem; margin: 0; }
.results .inline-cta { margin-top: clamp(3rem, 6vw, 4rem); }

/* Testimonials */
/* Reseñas: carrusel con scroll nativo (funciona sin JS) */
.t-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.g-badge { display: inline-flex; align-items: center; gap: .8rem; padding: .8rem 1.2rem .8rem 1rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease-out), box-shadow .4s; }
.g-badge:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(43, 45, 49, .35); }
.g-logo { width: 26px; height: 26px; flex: none; }
.g-score { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.g-meta { display: flex; flex-direction: column; gap: .25rem; }
.g-meta small { color: var(--ink-soft); font-size: .78rem; }
.t-stars { display: inline-flex; gap: 2px; color: #d9a43a; }
.t-stars svg { width: 15px; height: 15px; fill: currentColor; }
.t-carousel { position: relative; margin-top: clamp(2rem, 4vw, 3rem); }
.t-track { --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: .5rem var(--edge) 1.5rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.t-track::-webkit-scrollbar { display: none; }
.t-track:focus-visible { outline: 2px solid var(--wine); outline-offset: -2px; }
.t-card { flex: 0 0 clamp(290px, 31vw, 420px); scroll-snap-align: start; margin: 0; padding: 2rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.4rem; transition: transform .5s var(--ease-out), box-shadow .5s; }
.t-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(43, 45, 49, .4); }
.t-card blockquote { margin: 0; font-size: 1rem; line-height: 1.6; position: relative; padding-top: 2.2rem; flex: 1; }
.t-card blockquote::before { content: "“"; position: absolute; top: -.9rem; left: -.15rem; font-family: Georgia, "Times New Roman", serif; font-size: 4.2rem; line-height: 1; color: var(--wine); }
.t-card figcaption { display: flex; align-items: center; gap: .9rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.t-card figcaption b { display: block; }
.t-card figcaption small { color: var(--ink-soft); }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.t-card:nth-child(4n+2) { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.t-card:nth-child(4n+2) blockquote::before, .t-card:nth-child(4n+2) .t-stars { color: var(--cream); }
.t-card:nth-child(4n+2) figcaption { border-color: rgba(232, 230, 224, .2); }
.t-card:nth-child(4n+2) figcaption small { color: rgba(232, 230, 224, .75); }
.t-card:nth-child(4n+2) .t-avatar { background: rgba(232, 230, 224, .16); }
.t-controls { display: flex; align-items: center; gap: 2rem; }
.t-progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.t-progress span { display: block; height: 100%; width: 20%; background: var(--wine); transition: transform .4s var(--ease-out), width .4s; transform-origin: left; }
.t-arrows { display: flex; gap: .6rem; }
.t-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: background .3s, color .3s, border-color .3s, opacity .3s; }
.t-arrow:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.t-arrow:disabled { opacity: .35; pointer-events: none; }

/* Fit */
.fit-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.2rem; }
.fit-col { border-radius: 18px; padding: clamp(1.8rem, 4vw, 2.8rem); }
.fit-col h3 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.fit-col ul { list-style: none; margin: 0; padding: 0; }
.fit-col li { padding: .85rem 0 .85rem 2.2rem; border-top: 1px solid var(--line); position: relative; }
.fit-col li::before { position: absolute; left: 0; top: .78rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.fit-yes { background: var(--paper); border: 1px solid var(--line); }
.fit-yes li::before { content: "✓"; background: var(--wine); color: var(--cream); }
.fit-no { background: var(--ink); color: var(--cream); }
.fit-no li { border-top-color: var(--line-dark); color: rgba(232, 230, 224, .78); }
.fit-no li::before { content: "×"; border: 1px solid var(--line-dark); color: var(--cream); }

/* Support */
.support { background: var(--paper); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.support-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.support-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.support-list { margin: 2.2rem 0 0; }
.support-list div { display: grid; grid-template-columns: 11rem 1fr; gap: 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.support-list dt { font-weight: 900; color: var(--wine); }
.support-list dd { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq-cta { margin-top: 2rem; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; box-sizing: border-box; border-radius: 50%; border: 1px solid var(--line); color: var(--wine); background-color: transparent; background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 12px 1.5px, 1.5px 12px; background-position: center; background-repeat: no-repeat; transition: transform .4s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background-color: var(--wine); color: var(--cream); border-color: var(--wine); }
.faq-list details p { color: var(--ink-soft); padding-right: 3rem; margin: 0 0 1.5rem; animation: fadeUp .5s var(--ease-out); }

/* Book */
.book { background: var(--wine); color: var(--cream); overflow: hidden; }
.book::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(232,230,224,.10), transparent 70%); pointer-events: none; }
.book .sec-num { color: rgba(232, 230, 224, .75); }
.book .sec-num::before { background: var(--cream); }
.book .script { color: var(--cream); }
.book-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.book-title { font-size: clamp(1.9rem, 3.6vw, 3.2rem); text-wrap: balance; margin-bottom: 2.6rem; }
.book-title .script { font-size: 1.9em; line-height: .6; display: inline-block; transform: rotate(-3deg); }
.book-steps { list-style: none; margin: 0 0 2rem; padding: 0; }
.book-steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(232, 230, 224, .22); align-items: baseline; }
.book-steps b { font-weight: 900; font-size: 1.4rem; line-height: 1; }
.book-small { opacity: .75; font-size: .95rem; }

.form { background: var(--cream); color: var(--ink); border-radius: 22px; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin: 0 0 1rem; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: .45rem; padding: 0; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; transition: border-color .25s, box-shadow .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(140, 47, 57, .15); }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--wine); background: #f6ebeb; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: .9rem; transition: all .25s; }
.chips input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.chips.is-invalid span { border-color: var(--wine); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); margin: .4rem 0 1.4rem; cursor: pointer; }
.consent input { margin-top: .25rem; accent-color: var(--wine); width: 18px; height: 18px; flex: none; }
.consent a { color: var(--wine); }
.consent.is-invalid { color: var(--wine); }
.form-msg { margin: 1rem 0 0; font-size: .92rem; min-height: 1.2em; color: var(--wine); }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; transform: none !important; }
.form-done { text-align: center; padding: 2rem 1rem; }
.form-done[hidden] { display: none; }
.done-script { font-size: 4.4rem; margin-bottom: 1rem; }
.form-done h3 { font-size: 1.7rem; margin-bottom: .8rem; }
.form-done p { color: var(--ink-soft); }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: clamp(4rem, 8vw, 6rem) 0 2rem; }
.footer-big img { width: clamp(120px, 14vw, 180px); height: auto; opacity: .95; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); font-size: .88rem; color: rgba(232, 230, 224, .65); }
.footer-row p { margin: 0; }
.footer-row nav { display: flex; gap: 1.4rem; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--cream); }

/* Mobile sticky CTA */
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-board { max-width: 520px; }
  .inc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .sec-head-row, .split-cards, .measure-notes, .founder, .support-grid, .faq-grid, .book-grid, .fit-cols { grid-template-columns: 1fr; }
  .faq .sec-head { position: static; }
  .compare-headrow { display: none !important; }
  .compare-row { grid-template-columns: repeat(3, 1fr); }
  .compare-row > span:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); background: var(--cream-2); }
  .compare-row > span { padding: .8rem .7rem; font-size: .8rem; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
  .compare-row > span:nth-child(2) { border-left: 0; }
  .compare-row > span[data-label]::before { content: attr(data-label); display: block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: .3rem; font-weight: 700; }
  .roles { grid-template-columns: 1fr; gap: 1.2rem; }
  .role-plus { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .t-card { flex-basis: 84vw; padding: 1.5rem; gap: 1rem; }
  .t-card blockquote { font-size: .88rem; line-height: 1.55; padding-top: 1.9rem; }
  .t-arrow { width: 44px; height: 44px; }
  .founder-photo { max-width: 420px; }
  .support-photo { aspect-ratio: 16 / 11; }
  .method-head { grid-template-columns: 1fr; row-gap: 1rem; }
  .method-note { justify-self: start; }
  .mobile-cta {
    display: flex; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 95; justify-content: center; gap: .6em;
    padding: 1rem; border-radius: 999px; background: var(--wine); color: var(--cream); text-decoration: none; font-weight: 700;
    box-shadow: 0 14px 30px -10px rgba(140, 47, 57, .6); transform: translateY(150%); transition: transform .5s var(--ease-out);
  }
  .mobile-cta.is-on { transform: none; }
  .footer { padding-bottom: 6rem; }
}
/* Sin JS horizontal: en móvil, scroll lateral nativo */
@media (max-width: 860px) {
  .method-pin { min-height: 0; padding: clamp(5rem, 11vw, 9rem) 0; }
  .method-track { width: auto; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; padding-inline: var(--pad); -webkit-overflow-scrolling: touch; }
  .month { scroll-snap-align: start; width: 82vw; min-height: 300px; }
  .method-bar { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .hero-proof { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
  .hero-ctas .btn { width: 100%; }
  .inc-grid { grid-template-columns: 1fr; }
  .inc { min-height: 0; }
  .inc-n { padding-bottom: 1.2rem; }
  .field-row { grid-template-columns: 1fr; }
  .support-list div { grid-template-columns: 1fr; gap: .3rem; }
  .cta-band .btn { width: 100%; }
  .hero-scroll { display: none; }
}

/* Solo efectos intrusivos se desactivan con reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .marquee-track { animation-duration: 70s; }
}

/* Red de seguridad del hero: si las animaciones no corren, el contenido aparece igual */
.hero.is-settled .hero-title .line > span { animation: none; transform: none; }
.hero.is-settled .hero-copy > .kicker, .hero.is-settled .hero-sub, .hero.is-settled .hero-ctas,
.hero.is-settled .hero-proof, .hero.is-settled .hero-board, .hero.is-settled .row { animation: none; opacity: 1; transform: none; }
.hero-grid > * { min-width: 0; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .kicker { font-size: .7rem; letter-spacing: .1em; } .hero-proof li { font-size: .78rem; } }

/* ---------- Banner de cookies ---------- */
.cookie-box { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 150; width: min(430px, calc(100vw - 2.4rem)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.4rem 1.2rem; box-shadow: 0 30px 60px -30px rgba(43, 45, 49, .45); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.cookie-box.is-on { opacity: 1; transform: none; pointer-events: auto; }
.cookie-title { font-weight: 900; font-size: 1.05rem; margin: 0 0 .4rem; }
.cookie-text { font-size: .86rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.cookie-text a { color: var(--wine); }
.cookie-prefs { display: grid; gap: .7rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; cursor: pointer; }
.cookie-opt input { width: 18px; height: 18px; margin-top: .1rem; accent-color: var(--wine); flex: none; }
.cookie-opt b { display: block; }
.cookie-opt small { color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.1rem; }
.cookie-actions [hidden] { display: none; }
.cookie-actions .btn { flex: 1 1 0; justify-content: center; }
.cookie-reject { --bg: var(--ink); --fg: var(--cream); }
.cookie-reject:hover { --bg: #000; }
.cookie-link { flex-basis: 100%; background: none; border: 0; padding: .2rem 0 0; font: inherit; font-size: .82rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: center; }
.cookie-link:hover { color: var(--ink); }
.has-cookie-box .mobile-cta { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .cookie-box { left: .75rem; right: .75rem; bottom: .75rem; width: auto; padding: 1.2rem; }
}
.cookie-box.is-config [data-c-act="save"] { flex-basis: 100%; order: 3; }
.nav-links a, .nav-cta { white-space: nowrap; }
@media (max-width: 1280px) { .nav-links { gap: 1.2rem; } .nav-links a { font-size: .86rem; } }
.field-err { display: block; margin-top: .4rem; font-size: .8rem; line-height: 1.4; color: var(--wine); }
.field-err[hidden] { display: none; }
.chips .field-err { flex-basis: 100%; }
.consent { flex-wrap: wrap; }
.consent .field-err { flex-basis: 100%; margin-top: .2rem; }
/* Campo Web con opción "No tengo web" */
.field-web { display: flex; flex-direction: column; }
.field-web > label:first-child span { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: .45rem; }
.field-web .field-err { order: 2; }
.field-web .no-web { order: 3; }
.field .no-web { display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem; font-size: .85rem; color: var(--ink-soft); cursor: pointer; align-self: flex-start; }
.field .no-web input { width: 16px; height: 16px; padding: 0; margin: 0; accent-color: var(--wine); flex: none; }
.field input:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Popup de agenda (TidyCal) ---------- */
.cal-modal { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: clamp(.6rem, 3vw, 2rem); }
.cal-modal[hidden] { display: none; }
.cal-backdrop { position: absolute; inset: 0; background: rgba(43, 45, 49, .62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.cal-panel { position: relative; width: min(980px, 100%); height: min(860px, 100%); background: var(--paper); border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.cal-modal.is-on .cal-backdrop { opacity: 1; }
.cal-modal.is-on .cal-panel { opacity: 1; transform: none; }
.cal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.4rem 1.6rem 1.1rem; border-bottom: 1px solid var(--line); }
.cal-kicker { margin: 0 0 .3rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.cal-head h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.cal-sub { margin: .35rem 0 0; font-size: .88rem; color: var(--ink-soft); }
.cal-x { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink); background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 15px 1.5px, 1.5px 15px; background-position: center; background-repeat: no-repeat; transform: rotate(45deg); transition: background-color .3s, color .3s, border-color .3s; }
.cal-x:hover { background-color: var(--ink); color: var(--cream); border-color: var(--ink); }
.cal-frame { position: relative; flex: 1; background: #fff; }
.cal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s; }
.cal-modal.is-loaded .cal-frame iframe { opacity: 1; }
.cal-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--ink-soft); font-size: .9rem; }
.cal-modal.is-loaded .cal-loading { display: none; }
.cal-open, .cal-open body { overflow: hidden; }
.cal-open .mobile-cta { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .cal-modal { padding: 0; }
  .cal-panel { width: 100%; height: 100%; border-radius: 0; }
  .cal-head { padding: 1rem 1.1rem .9rem; }
  .cal-sub { display: none; }
}
