/* Arisa Digital · landing fincas de bodas · v2 (mismo sistema que la web general, acento dorado) */

:root {
  /* Tema oscuro (por defecto): página carbón, texto arena */
  --fg-rgb: 244, 235, 221;
  --bg-rgb: 31, 27, 24;
  --surface-rgb: 42, 37, 33;
  --carbon-2: #35302B;
  --a-70: .72; --a-55: .55; --a-45: .48; --a-12: .12; --a-06: .06;
  /* El dorado mostaza sustituye al coral de la web general */
  --accent-rgb: 214, 178, 76;
  --light-rgb: 255, 214, 120;
  --gold: #D6B24C;
  --gold-soft: #EBCD78;
  --gold-glow: rgba(var(--accent-rgb), .36);
  --on-gold: #2A2521;
  --card-shadow: inset 0 1px 0 rgba(var(--fg-rgb), .08), 0 30px 60px -40px rgba(0, 0, 0, .8);
  --photo-a: .78;
  color-scheme: dark;

  --bg: rgb(var(--bg-rgb));
  --carbon: rgb(var(--surface-rgb));
  --sand: rgb(var(--fg-rgb));
  --sand-70: rgba(var(--fg-rgb), var(--a-70));
  /* --sand-55 es para texto secundario pequeño: llega a 4,5:1 en los dos temas. --sand-45, para lo que no se lee de corrido */
  --sand-55: rgba(var(--fg-rgb), var(--a-55));
  --sand-45: rgba(var(--fg-rgb), var(--a-45));
  --sand-12: rgba(var(--fg-rgb), var(--a-12));
  --sand-06: rgba(var(--fg-rgb), var(--a-06));

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --r-card: 20px;
  --r-btn: 10px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 10vw, 150px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

/* Tema claro: página arena, texto carbón, dorado más profundo para que el texto se lea */
:root[data-theme="light"] {
  --fg-rgb: 42, 37, 33;
  --bg-rgb: 244, 235, 221;
  --surface-rgb: 251, 246, 238;
  --carbon-2: #EADFCC;
  --a-70: .78; --a-55: .66; --a-45: .6; --a-12: .16; --a-06: .07;
  --accent-rgb: 193, 160, 58;
  --light-rgb: 176, 138, 30;
  --gold-soft: #75600F;
  --gold-glow: rgba(var(--accent-rgb), .3);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 30px 60px -44px rgba(42, 37, 33, .45);
  --photo-a: .92;
  color-scheme: light;
}
:root.theme-anim, :root.theme-anim *, :root.theme-anim *::before, :root.theme-anim *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease !important; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--sand);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(var(--accent-rgb), .38); color: var(--sand); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.progress { position: fixed; left: 0; top: 0; z-index: 70; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--gold), var(--gold-soft)); box-shadow: 0 0 12px var(--gold-glow); pointer-events: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sand); color: var(--carbon); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

[data-theme="light"] .grain { opacity: .05; mix-blend-mode: multiply; }
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: soft-light;
  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"); }

/* ---------- Tipografía ---------- */
.display, .h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  line-height: .9; letter-spacing: -0.02em; text-wrap: balance;
}
.display { font-size: clamp(3.1rem, 6.4vw, 6.4rem); }
.display .dim { color: var(--sand-45); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .display .dim { color: transparent; -webkit-background-clip: text; background-clip: text; background-size: 260% 100%;
    background-image: linear-gradient(105deg, var(--sand-45) 42%, var(--gold-soft) 50%, var(--sand-45) 58%); animation: shine 5.5s linear infinite; }
  @keyframes shine { from { background-position: 120% 0; } to { background-position: -140% 0; } }
}
.h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); max-width: 16ch; }
.h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.05rem, 1.15vw, 1.2rem); line-height: 1.5; color: var(--sand-70); max-width: 54ch; }
.label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sand-70);
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--sand-12); background: var(--sand-06); justify-self: start; }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.head { display: grid; gap: 20px; justify-items: center; text-align: center; margin-bottom: clamp(44px, 5vw, 72px); }
.head .label { justify-self: center; }
.head .h2 { max-width: 22ch; }
.head .lede { max-width: 60ch; }
.example { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sand-70); padding: 4px 9px; border-radius: 999px; border: 1px dashed var(--sand-45); white-space: nowrap; }

/* Titulares que se rellenan de color al bajar */
.fill-text { --f: clamp(0, (var(--p, 0) - .18) / .32, 1);
  background: linear-gradient(90deg, var(--sand) calc(var(--f) * 100%), var(--sand-45) calc(var(--f) * 100% + 6%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: reduce) { .fill-text { --f: 1; } }

/* ---------- Botones (cristal líquido) ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px; border-radius: var(--r-btn);
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; letter-spacing: -0.01em; white-space: nowrap; text-transform: uppercase;
  transform: translate(var(--bx, 0), var(--by, 0));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.btn:active { transform: translate(var(--bx, 0), var(--by, 0)) scale(.97); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-130%);
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.5) 48%, transparent 76%); transition: transform .65s ease; }
.btn:hover::after { transform: translateX(130%); }
.btn--gold { color: var(--on-gold); border: 1px solid #F0D88C;
  background: linear-gradient(180deg, #EBCD78 0%, #D6B24C 48%, #B8963A 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 0 rgba(214,178,76,0); }
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 26px var(--gold-glow), 0 8px 18px rgba(0,0,0,.3); }
.btn--ghost { color: var(--sand); border: 1px solid rgba(var(--fg-rgb), .35);
  background: linear-gradient(135deg, rgba(var(--fg-rgb), .12), rgba(0,0,0,.35) 48%, rgba(var(--fg-rgb), .08));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.btn--ghost:hover { border-color: rgba(var(--fg-rgb), .7); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 22px rgba(var(--fg-rgb), .12); }
[data-theme="light"] .btn--ghost { background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(251,246,238,.5) 48%, rgba(255,255,255,.6)); border-color: rgba(42,37,33,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
[data-theme="light"] .btn--ghost:hover { border-color: rgba(42,37,33,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 22px rgba(42,37,33,.12); }
.btn--sm { height: 42px; padding: 0 16px; font-size: .85rem; }
.btn--lg { height: 62px; padding: 0 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .ph { font-size: 1.15em; transition: transform .3s var(--ease); }
.btn:hover .ph { transform: translate(2px, -2px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; padding-top: 12px; pointer-events: none; }
.nav::before { content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; opacity: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 50%, transparent); transition: opacity .35s var(--ease); }
.nav.is-scrolled::before { opacity: 1; }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); }
.nav__inner > * { pointer-events: auto; }
.nav__brand { justify-self: start; }
.nav__brand img { width: 150px; }
.logo--ink { display: none; }
[data-theme="light"] .logo--ink { display: block; }
[data-theme="light"] .logo--paper { display: none; }
.nav__links { justify-self: center; display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  border: 1px solid var(--sand-12); background: rgba(var(--surface-rgb), .55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.nav__links a { display: inline-block; padding: 9px 15px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--sand-70); transition: background .25s var(--ease), color .25s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { background: var(--sand-12); color: var(--sand); }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.theme { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--sand-12); background: rgba(var(--surface-rgb), .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.theme button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 17px; color: var(--sand-70); transition: background-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease); }
.theme button:hover { color: var(--sand); }
.theme button:active { transform: scale(.92); }
.theme button[aria-pressed="true"] { background: var(--sand); color: var(--bg); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 999px; background: var(--sand); color: var(--carbon); place-items: center; font-size: 22px; }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: 110px var(--gutter) 40px; display: grid; align-content: start; gap: 4px; }
.menu a { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 2.6rem; line-height: 1; padding: 16px 0; border-bottom: 1px solid var(--sand-12); }
.menu .btn { margin-top: 24px; justify-self: start; font-family: var(--font-body); font-size: .98rem; border-bottom: 0; padding: 0 24px; }
@media (max-width: 900px) { .nav__inner { grid-template-columns: 1fr auto; } .nav__links, .nav__cta { display: none; } .nav__burger { display: grid; } .nav__brand img { width: 124px; } .theme button { width: 32px; height: 32px; } }

/* ---------- Tarjetas con rejilla de puntos ---------- */
.card {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(var(--fg-rgb), .05), rgba(var(--fg-rgb), .02));
  border: 1px solid var(--sand-12); box-shadow: var(--card-shadow);
}
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; border-radius: inherit;
  background-image: radial-gradient(rgba(var(--fg-rgb), .16) 1px, transparent 1.4px); background-size: 22px 22px; }
[data-theme="light"] .card::before { opacity: .7; }
.card::after { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb)), transparent); opacity: .8; }
.card > * { position: relative; }
.card > .card__spot { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(360px circle at var(--mx, -999px) var(--my, -999px), rgba(var(--accent-rgb), .95), rgba(var(--accent-rgb), .25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.card > .card__fill { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(520px circle at var(--mx, -999px) var(--my, -999px), rgba(var(--accent-rgb), .10), transparent 45%); }
.card:hover > .card__spot, .card:hover > .card__fill { opacity: 1; }
.card__body { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 40px); }
.card__body p { color: var(--sand-70); }

.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Hero: foto del banquete, guirnaldas de luces y la llamada en directo ---------- */
.hero { position: relative; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--nav-h) + 20px); overflow: hidden; isolation: isolate; }
.hero__photo { position: absolute; inset: 0 0 0 auto; width: 64%; z-index: -2; opacity: var(--photo-a);
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 58%), linear-gradient(180deg, #000 55%, transparent 96%); -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent 0%, #000 58%), linear-gradient(180deg, #000 55%, transparent 96%); mask-composite: intersect; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 60%; }
.lights { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lights canvas { display: block; width: 100%; height: 100%; }
.hero__main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: 32px; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 8px; font-size: .85rem; color: var(--sand);
  background: linear-gradient(90deg, rgba(var(--fg-rgb), .22) 0%, rgba(var(--fg-rgb), .08) 55%, rgba(var(--fg-rgb), .03) 100%); border: 1px solid var(--sand-12); }
.badge .ph { color: var(--gold-soft); font-size: 18px; }
.hero__lede { max-width: 40ch; font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--sand-70); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  @media (min-width: 961px) { .hero__main, .hero .stats { transform: translateY(calc(var(--p, 0) * 120px)); opacity: calc(1 - var(--p, 0) * 1.6); will-change: transform, opacity; } }
  .hero__photo img { transform: scale(calc(1.04 + var(--p, 0) * .08)); will-change: transform; }
}

.rise { display: block; overflow: hidden; padding: .04em .1em .1em; margin: -.04em -.1em -.1em; }
.rise > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .in { animation: in-soft 1s var(--ease) both; animation-delay: var(--d, 0s); }
  .js .rise > span { animation: in-mask 1s var(--ease) both; animation-delay: var(--d, 0s); }
  .js .in-pop { animation: in-pop .9s var(--ease) both; animation-delay: var(--d, 0s); }
  .js .nav__brand, .js .nav__links a, .js .nav__right { animation: in-scale .8s var(--ease) both; animation-delay: var(--d, 0s); }
  @keyframes in-soft { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes in-mask { from { opacity: 0; transform: translateY(42%); } to { opacity: 1; transform: none; } }
  @keyframes in-pop { 0% { opacity: 0; transform: scale(.9); } 70% { transform: scale(1.03); } 100% { opacity: 1; transform: none; } }
  @keyframes in-scale { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
}

/* La llamada del sábado, en directo */
.call { padding: 22px; display: grid; gap: 14px; background: rgba(var(--surface-rgb), .74); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); }
.call__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sand-70); }
.call__live { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); }
.call__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold-glow); }
@media (prefers-reduced-motion: no-preference) { .call__live i { animation: ring 1.8s ease-out infinite; } @keyframes ring { to { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } } }
.call__ctx { font-size: .9rem; color: var(--sand-70); padding-bottom: 14px; border-bottom: 1px solid var(--sand-12); }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(var(--bg-rgb), .55); border: 1px solid var(--sand-12); overflow: hidden; }
.wave i { display: block; flex: 1 1 0; max-width: 4px; height: 100%; border-radius: 4px; background: var(--gold-soft); transform: scaleY(var(--s, .4)); transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .wave i { animation: wave var(--t, 1.2s) ease-in-out infinite alternate; animation-delay: var(--w, 0s); } @keyframes wave { from { transform: scaleY(.14); } to { transform: scaleY(var(--s, .4)); } } }
.call__talk { display: grid; gap: 10px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 16px 5px; background: var(--carbon-2); border: 1px solid var(--sand-12); font-size: .93rem; line-height: 1.4; justify-self: start; }
.bubble--them { justify-self: end; border-radius: 16px 16px 5px 16px; background: var(--sand); border-color: var(--sand); color: var(--bg); }
.call__done { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem; color: var(--on-gold);
  background: linear-gradient(180deg, #EBCD78, #D6B24C); box-shadow: 0 0 30px var(--gold-glow); }
.call__done .ph { font-size: 20px; }
.call__note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: var(--sand-70); }
@media (prefers-reduced-motion: no-preference) {
  .js .call [style*="--i"] { opacity: 0; }
  .js .call [style*="--i"] { animation: in-soft .7s var(--ease) forwards; animation-delay: calc(1.5s + var(--i) * 1.1s); }
}

/* Franja de datos al pie del hero */
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 16px 32px; padding-block: 24px 30px; border-top: 1px solid var(--sand-12); }
.stat { display: inline-flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--sand-70); }
.stat i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--sand); color: var(--bg); font-size: 18px; }
.stat b { color: var(--sand); font-weight: 600; }
.stat > span { text-wrap: balance; }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__photo { inset: 0 0 auto 0; width: 100%; height: 70vh; opacity: calc(var(--photo-a) * .5);
    -webkit-mask: linear-gradient(180deg, #000 12%, transparent 82%); mask: linear-gradient(180deg, #000 12%, transparent 82%); }
  [data-theme="light"] .hero__photo { opacity: .3; }
  .hero__main { grid-template-columns: 1fr; padding-block: 40px 48px; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .hero__actions .btn { flex: 1 1 100%; } }

/* ---------- Qué hacemos ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(28px, 5vw, 72px); padding-block: clamp(36px, 5vw, 64px); margin-bottom: clamp(44px, 5vw, 72px); border-block: 1px solid var(--sand-12); }
.quote { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.quote .ph { font-size: 30px; color: var(--gold-soft); margin-top: 4px; }
.quote p { font-weight: 500; font-size: clamp(1.35rem, 2.3vw, 2.1rem); line-height: 1.22; letter-spacing: -0.025em; text-wrap: balance; }
.quotes__source { grid-column: 1 / -1; font-size: .9rem; color: var(--sand-55); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.card--flow { grid-column: span 12; padding: clamp(28px, 4vw, 56px); display: grid; gap: clamp(28px, 3vw, 44px); }
.card--does { grid-column: span 7; display: grid; align-items: center; }
.card--yours { grid-column: span 5; display: grid; grid-template-rows: minmax(220px, 1fr) auto; }
@media (max-width: 960px) { .card--does, .card--yours { grid-column: span 12; } }

/* Flujo de la consulta: el punto de luz viaja de la pareja a la visita */
.flow__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.flow__hint { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sand-55); transition: opacity .5s var(--ease); }
.card--flow.is-done .flow__hint { opacity: 0; }
.flow__line { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.flow__line::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 28px; height: 2px; background: var(--sand-12); }
.flow__line::after { content: ""; position: absolute; left: 12.5%; top: 28px; height: 2px; width: calc(var(--h, 0) * 75%); background: linear-gradient(90deg, var(--gold), var(--gold-soft)); box-shadow: 0 0 12px var(--gold-glow); }
.flow__dot { position: absolute; left: calc(12.5% + var(--h, 0) * 75%); top: 23px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .18), 0 0 14px var(--gold); z-index: 1; }
/* Los círculos van opacos y por encima de la línea; lo que se atenúa es el icono y el texto, no el círculo */
.flow__node { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; transition: transform .5s var(--ease); }
.flow__node > div { opacity: .38; transition: opacity .5s var(--ease); }
.flow__node i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--carbon-2); border: 1px solid var(--sand-12); font-size: 24px; color: var(--sand-45); transition: box-shadow .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), background .5s var(--ease); }
.flow__node strong { display: block; font-weight: 600; }
.flow__node span { display: block; color: var(--sand-70); font-size: .88rem; max-width: 22ch; }
.flow__node.is-on { transform: translateY(-4px); }
.flow__node.is-on > div { opacity: 1; }
.flow__node.is-on i { color: var(--sand); }
.flow__node.is-on i { box-shadow: 0 0 24px var(--gold-glow); border-color: rgba(var(--accent-rgb), .7); }
.flow__node--visit.is-on i { background: linear-gradient(180deg, #EBCD78, #D6B24C); color: var(--on-gold); border-color: #F0D88C; }
.flow__person { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding-top: 22px; border-top: 1px solid var(--sand-12); color: var(--sand-70); }
.flow__person i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--bg); font-size: 20px; }
.flow__person b { color: var(--sand); font-weight: 600; }
@media (max-width: 760px) {
  .flow__line { grid-template-columns: 1fr; gap: 0; }
  .flow__line::before, .flow__line::after, .flow__dot, .flow__hint { display: none; }
  .flow__node, .flow__node.is-on { grid-template-columns: 58px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 0; transform: none; padding-block: 12px; align-items: center; }
  .flow__node span { max-width: none; }
  .flow__node > div { opacity: 1; }
  .flow__node i { color: var(--sand); }
}
@media (prefers-reduced-motion: reduce) { .flow__node > div { opacity: 1; } .flow__node i { color: var(--sand); } .flow__hint { display: none; } }

.checks { display: grid; gap: 14px; margin-top: 8px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; max-width: 56ch; }
.checks .ph { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, #EBCD78, #D6B24C); color: var(--on-gold); font-size: 15px; }
.card__photo { position: relative; overflow: hidden; min-height: 220px; }
.card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__photo img { transform: scale(1.05); }

/* ---------- Cómo funciona: tres tarjetas enlazadas que se encienden ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { padding: 28px; min-height: 320px; display: grid; grid-template-rows: auto auto 1fr; align-content: start; overflow: visible; opacity: .35; transition: opacity .8s var(--ease), transform .8s var(--ease); z-index: 1; }
.step.is-on { opacity: 1; transform: translateY(-6px); }
.step > .step__day { position: static; display: grid; place-items: center; justify-self: start; min-width: 88px; height: 52px; padding: 0 16px; margin-bottom: 56px; border-radius: 999px; background: var(--sand); color: var(--bg); border: 3px solid rgba(var(--fg-rgb), .3);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.step:not(:last-child) .step__day::after { content: ""; position: absolute; left: 128px; right: -34px; top: 53px; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft)); box-shadow: 0 0 12px var(--gold-glow); transform: scaleX(0); transform-origin: left center; transition: transform .9s var(--ease) .15s; }
.step.is-on:not(:last-child) .step__day::after { transform: scaleX(1); }
.step .h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 2.2rem; line-height: .95; letter-spacing: -0.01em; }
.step p:not(.step__day) { color: var(--sand-70); font-size: .95rem; margin-top: 10px; }
.how__honest { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; max-width: 760px; margin: 36px auto 0; color: var(--sand-70); }
.how__honest .ph { font-size: 24px; color: var(--gold-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } .step > .step__day { margin-bottom: 28px; } .step:not(:last-child) .step__day::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .step { opacity: 1; } }

.guarantee { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 18px; }
.guarantee .card__photo { min-height: 300px; }
.guarantee .card__photo img { object-position: 50% 62%; }
.guarantee .card__body { align-content: center; gap: 14px; padding: clamp(28px, 4vw, 64px); }
.guarantee .h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: .95; }
.guarantee p { max-width: 52ch; font-size: 1.05rem; }
.guarantee .guarantee__small { color: var(--gold-soft); font-weight: 600; }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; } .guarantee .card__photo { min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------- Informe mensual ---------- */
.report { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.report > .card__body { padding: clamp(28px, 4vw, 64px); gap: 18px; }
.report .h2 { font-size: clamp(2.3rem, 4.2vw, 4rem); }
.report__art { padding: clamp(20px, 3vw, 44px); }
.panel { border-radius: 14px; overflow: hidden; border: 1px solid var(--sand-12); background: rgba(var(--bg-rgb), .7); }
.panel__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--sand-12); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sand-70); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); }
.kpi { display: grid; gap: 4px; padding: 20px 16px; border-right: 1px solid var(--sand-12); }
.kpi:last-child { border-right: 0; }
.kpi dt { order: 2; font-size: .85rem; color: var(--sand-70); }
.kpi dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: .9; font-variant-numeric: tabular-nums; }
.kpi:last-child dd { color: var(--gold-soft); }
.kpis { margin: 0; }
.bars { display: grid; gap: 12px; padding: 20px 16px 22px; border-top: 1px solid var(--sand-12); }
.bars__title { font-size: .85rem; color: var(--sand-70); }
.bar { display: grid; grid-template-columns: 132px 1fr 28px; gap: 12px; align-items: center; font-size: .88rem; }
.bar b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.bar__track { height: 10px; border-radius: 999px; background: var(--sand-12); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: var(--sand-45); transform-origin: left center; }
.bar--out .bar__fill { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
@media (prefers-reduced-motion: no-preference) {
  .js .bar__fill { transform: scaleX(0); transition: transform 1.2s var(--ease); transition-delay: calc(.4s + var(--i) * .15s); }
  .js .is-in .bar__fill { transform: none; }
}
@media (max-width: 900px) { .report { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bar { grid-template-columns: 104px 1fr 24px; font-size: .8rem; } .kpi { padding: 16px 12px; } }

.bars + .bars { padding-top: 18px; }

/* ---------- El panel: la misma tarjeta que el informe, con la ilustración a la izquierda ---------- */
.report--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.report--flip > .card__body { order: 2; }
.inbox { display: grid; }
.inbox__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--sand-12); }
.inbox__row:first-child { border-top: 0; }
.inbox__row > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--carbon-2); border: 1px solid var(--sand-12); font-size: 20px; color: var(--sand); }
.inbox__row strong { display: block; font-weight: 600; font-size: .95rem; }
.inbox__row span { display: block; font-size: .82rem; color: var(--sand-70); }
.pill { justify-self: end; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--sand-12); font-style: normal; font-size: .75rem; font-weight: 600; color: var(--sand-70); white-space: nowrap; }
.pill--visit { border-color: transparent; background: linear-gradient(180deg, #EBCD78, #D6B24C); color: var(--on-gold); }
.pill--person { border-color: var(--sand-45); color: var(--sand); }
.pill--notice { border-style: dashed; border-color: var(--sand-45); }
@media (prefers-reduced-motion: no-preference) {
  .js .inbox__row { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(.3s + var(--i) * .12s); }
  .js .is-in .inbox__row { opacity: 1; transform: none; }
}
@media (max-width: 900px) { .report--flip { grid-template-columns: 1fr; } .report--flip > .card__body { order: 0; } }
/* En el móvil la etiqueta baja debajo del nombre para que el nombre no se corte */
@media (max-width: 520px) { .inbox__row { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; } .pill { grid-column: 2; justify-self: start; } }

/* ---------- Franja de reserva ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 56px); }
.band .h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 18ch; }
.band p { max-width: 52ch; margin-top: 14px; color: var(--sand-70); font-size: 1.06rem; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band .btn { width: 100%; } }

/* ---------- Se empieza por las bodas en sábado ---------- */
.scope { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px clamp(32px, 5vw, 72px); align-items: center; margin-top: 18px; padding: clamp(28px, 4vw, 56px); }
.scope__copy { display: grid; gap: 14px; }
.scope .h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: .95; }
.scope__copy p { max-width: 52ch; color: var(--sand-70); font-size: 1.05rem; }
.scope__art { display: grid; gap: 14px; justify-items: start; }
.scope__now { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: linear-gradient(180deg, #EBCD78, #D6B24C); color: var(--on-gold); font-weight: 600; box-shadow: 0 0 30px var(--gold-glow); }
.scope__now .ph { font-size: 20px; }
.scope__now span, .scope__now em { white-space: nowrap; }
@media (max-width: 400px) { .scope__now { padding: 10px 14px; gap: 8px; } }
.scope__now em { font-style: normal; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(42, 37, 33, .14); }
.scope__label { margin-top: 6px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--sand-55); }
.scope__later { display: flex; flex-wrap: wrap; gap: 10px; }
.scope__later li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px dashed var(--sand-45); color: var(--sand-70); font-size: .92rem; }
.scope__later .ph { font-size: 18px; color: var(--gold-soft); }
@media (max-width: 900px) { .scope { grid-template-columns: 1fr; } }

/* ---------- Cierre ---------- */
.final { position: relative; padding-block: var(--section); overflow: hidden; isolation: isolate; }
.final__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(40px, 7vw, 112px); align-items: center; }
.final__copy { display: grid; gap: 20px; justify-items: start; }
.final__copy .h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); max-width: 15ch; }
.final__copy > p:not(.label) { max-width: 56ch; color: var(--sand-70); font-size: 1.06rem; line-height: 1.6; }
.final__fit { padding-top: 20px; border-top: 1px solid var(--sand-12); }
.book { display: grid; gap: 16px; justify-items: start; padding: clamp(28px, 3.4vw, 44px); background: rgba(var(--surface-rgb), .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.book__icon { font-size: 40px; color: var(--gold-soft); }
.book__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 2.6rem; line-height: .95; }
.book p { color: var(--sand-70); max-width: 40ch; }
.book .btn { margin-top: 8px; }
.book .book__note { font-size: .85rem; color: var(--sand-55); }
@media (max-width: 900px) { .final__grid { grid-template-columns: 1fr; } }

.foot { border-top: 1px solid var(--sand-12); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 32px; font-size: .92rem; color: var(--sand-70); }
.foot__inner > a:first-child { margin-right: auto; }
.foot__inner img { width: 140px; }
.foot p a { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .foot__inner > a:first-child { flex-basis: 100%; margin-right: 0; } }

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