/* =====================================================================
   Jhordan David Fotografía — estilos
   ===================================================================== */
@font-face {
  font-family: "Branch";
  src: url("assets/fonts/Branch.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fbf9f6;
  --sand: #f3eee6;
  --card: #ffffff;
  --ink: #1c1a18;
  --ink-2: #4a443e;
  --muted: #675e56;
  --line: rgba(28, 26, 24, 0.1);
  --caramel: #8a4d27;
  --caramel-2: #6f3d1f;
  --caramel-tint: rgba(138, 77, 39, 0.08);
  --sage: #aaa691;
  --dark: #161412;
  --dark-ink: #f3eee6;

  --serif: "Branch", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: max(16px, calc((100vw - var(--wrap)) / 2));
  --nav-h: 52px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);   /* iOS sheet curve */
  --r-photo: 28px;
  --r-card: 24px;
  --r-ctrl: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--sans);
  letter-spacing: -0.011em;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid rgba(138, 77, 39, 0.55); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8.4vw, 6.75rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.display.small { font-size: clamp(2.75rem, 6.5vw, 5rem); }
.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.375rem);
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  max-width: 40ch;
  margin: 22px auto 0;
  text-wrap: pretty;
}
.sub { font-size: 1.1875rem; line-height: 1.45; color: var(--ink-2); max-width: 52ch; margin: 14px 0 0; text-wrap: pretty; }
.hint { color: var(--muted); font-size: 0.9375rem; margin: 10px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: 980px; border: 0;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, transform 100ms ease-out, color 160ms ease, translate 360ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
/* botones "magnéticos": app.js mueve --mx / --my hacia el cursor */
.has-hover .btn { translate: var(--mx, 0px) var(--my, 0px); }
.btn-primary { background: var(--caramel); color: #fff; }
.btn-primary:hover { background: var(--caramel-2); }
.btn-ghost { background: var(--caramel-tint); color: var(--caramel); }
.btn-ghost:hover { background: rgba(138, 77, 39, 0.14); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 34px; padding: 0 16px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* ---------- Nav (material translúcido; transparente sobre el hero) ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  --nav-ink: var(--ink); --nav-ink-2: var(--ink-2); --logo-filter: none;
  background: rgba(251, 249, 246, 0.74);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow 200ms ease;
}
.nav:not(.is-scrolled):not(.is-menu) {
  --nav-ink: #fff; --nav-ink-2: rgba(255, 255, 255, 0.86); --logo-filter: brightness(0) invert(1);
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.nav.is-dark.is-scrolled:not(.is-menu) {
  --nav-ink: #fff; --nav-ink-2: rgba(255, 255, 255, 0.78); --logo-filter: brightness(0) invert(1);
  background: rgba(22, 20, 18, 0.72);
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(28, 26, 24, 0.06), 0 8px 24px -18px rgba(28, 26, 24, 0.25); }
.nav-inner { width: min(var(--wrap), 100% - 32px); margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.nav-brand img { height: 30px; width: auto; filter: var(--logo-filter); transition: filter 200ms ease; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { position: relative; font-size: 0.875rem; font-weight: 450; text-decoration: none; color: var(--nav-ink-2); transition: color 150ms ease; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--nav-ink); }
/* punto bajo el enlace de la sección donde estás */
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform 400ms var(--ease); }
.nav-links a[aria-current="true"]::after { transform: scale(1); }
.nav-cta { margin-left: 4px; }
.nav-menu { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; position: relative; cursor: pointer; }
.nav-menu i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--nav-ink); border-radius: 2px; transition: transform 300ms var(--ease), background-color 200ms ease; }
.nav-menu i:nth-of-type(1) { top: 18px; }
.nav-menu i:nth-of-type(2) { top: 25px; }
.nav-menu[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-menu[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }
.menu-sheet { padding: 8px 16px 20px; display: grid; }
.menu-sheet[hidden] { display: none; }
.nav.is-menu { background: rgba(251, 249, 246, 0.97); box-shadow: 0 20px 40px -20px rgba(28, 26, 24, 0.3); }
.menu-sheet a { font-size: 1.5rem; padding: 10px 0; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Enfoque (la firma de la marca) ----------
   Dos capas con la misma foto: abajo desenfocada y arriba nítida, visible solo
   dentro de un círculo de borde difuso (máscara radial). app.js mueve --x --y --r:
   el radio responde a la velocidad del cursor y a cuánto presionas. */
.focus { position: relative; overflow: hidden; isolation: isolate; background: var(--sand); --x: 50%; --y: 50%; --r: 0px; --bleed: 0px; --blur: 10px; }
.focus img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.focus picture { position: absolute; inset: 0; display: block; }
.focus .focus-sharp { display: none; }

.has-hover .focus { --bleed: 40px; }
.has-hover .focus .focus-soft,
.has-hover .focus .focus-sharp {
  inset: calc(var(--bleed) * -1); width: calc(100% + var(--bleed) * 2); height: calc(100% + var(--bleed) * 2);
}
.has-hover .focus .focus-soft { filter: blur(var(--blur)) saturate(0.92) brightness(0.97); }
.has-hover .focus .focus-sharp {
  display: block; z-index: 1; pointer-events: none;
  /* curva suave (smoothstep): el borde se disuelve, no se corta */
  -webkit-mask-image: radial-gradient(circle at calc(var(--x) + var(--bleed)) calc(var(--y) + var(--bleed)),
    #000 calc(var(--r) * 0.38), rgba(0, 0, 0, 0.9) calc(var(--r) * 0.504), rgba(0, 0, 0, 0.65) calc(var(--r) * 0.628),
    rgba(0, 0, 0, 0.35) calc(var(--r) * 0.752), rgba(0, 0, 0, 0.1) calc(var(--r) * 0.876), transparent var(--r));
  mask-image: radial-gradient(circle at calc(var(--x) + var(--bleed)) calc(var(--y) + var(--bleed)),
    #000 calc(var(--r) * 0.38), rgba(0, 0, 0, 0.9) calc(var(--r) * 0.504), rgba(0, 0, 0, 0.65) calc(var(--r) * 0.628),
    rgba(0, 0, 0, 0.35) calc(var(--r) * 0.752), rgba(0, 0, 0, 0.1) calc(var(--r) * 0.876), transparent var(--r));
}

.focus-hint { display: none; }
.has-hover .focus-hint {
  display: block; position: absolute; right: 24px; bottom: 24px; z-index: 4; margin: 0;
  padding: 9px 15px; border-radius: 980px;
  background: rgba(22, 20, 18, 0.34); color: #fff; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0;
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  transition: opacity 400ms ease; pointer-events: none;
}
.focus.is-used .focus-hint { opacity: 0; }

/* Sin cursor (celular): la foto se ve nítida; el enfoque ocurre una sola vez al cargar */
html:not(.has-hover) .hero .focus-soft { animation: rack 1.4s var(--ease) 0.2s both; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rack { from { filter: blur(14px); transform: scale(1.06); } to { filter: blur(0); transform: scale(1); } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; }
.hero-stage {
  min-height: min(100svh, 960px); display: flex; align-items: flex-end; border-radius: 0; background: var(--dark);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(14, 12, 10, 0.82) 0%, rgba(14, 12, 10, 0.5) 28%, rgba(14, 12, 10, 0) 62%),
    linear-gradient(to bottom, rgba(14, 12, 10, 0.5) 0%, rgba(14, 12, 10, 0) 24%);
}
.hero-copy { position: relative; z-index: 3; padding: calc(var(--nav-h) + 80px) 0 clamp(44px, 7vw, 88px); pointer-events: none; }
.hero-copy .actions { pointer-events: auto; justify-content: flex-start; }
.hero-place { margin: 0 0 20px; color: #f6d4b2; font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.005em; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
.hero .display { color: #fff; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.28); }
.hero .lead { color: rgba(255, 255, 255, 0.86); margin: 24px 0 0; max-width: 44ch; }
.btn-glass { background: rgba(255, 255, 255, 0.16); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.eyebrow { margin: 0 0 14px; color: var(--caramel); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; }
.tiles-sec .title, .packages .title, .builder .title, .availability .title, .deliveries .title { max-width: 16ch; }

/* Mosaico de servicios */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(300px, 31vw, 440px); gap: 16px; margin-top: 48px; }
.tile { grid-column: span 4; border-radius: var(--r-card); color: #fff; text-decoration: none; cursor: pointer; --blur: 6px; -webkit-tap-highlight-color: transparent; }
.tile.w5 { grid-column: span 5; } .tile.w4 { grid-column: span 4; } .tile.w3 { grid-column: span 3; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(14, 12, 10, 0.66) 0%, rgba(14, 12, 10, 0) 48%); }
.tile-label { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 3; display: grid; gap: 6px; pointer-events: none; }
.tile-name { font-family: var(--serif); font-size: clamp(1.75rem, 2.7vw, 2.4rem); line-height: 1; letter-spacing: -0.015em; }
.tile-from { font-size: 0.9375rem; opacity: 0.9; }
.tile:focus-visible { outline-offset: 4px; }
/* flecha que aparece al pasar el cursor (siempre visible sin cursor) */
.tile-label::after {
  content: "→"; position: absolute; right: 0; bottom: -2px; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.2); font-size: 1.25rem; line-height: 1;
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
/* al pasar el cursor: la tarjeta se eleva, la foto se acerca hacia donde estás y aparece la flecha */
.has-hover .tile {
  transition: transform 700ms var(--ease), box-shadow 700ms var(--ease);
}
.has-hover .tile:hover { transform: translateY(-6px); box-shadow: 0 38px 60px -30px rgba(28, 26, 24, 0.55); }
.has-hover .tile:active { transform: translateY(-2px) scale(0.99); transition-duration: 160ms; }
.has-hover .tile .focus-soft,
.has-hover .tile .focus-sharp {
  transform-origin: calc(var(--x) + var(--bleed)) calc(var(--y) + var(--bleed));   /* el zoom parte del cursor: el círculo nítido no se corre */
  transition: transform 1100ms var(--ease);
}
.has-hover .tile:hover .focus-soft,
.has-hover .tile:hover .focus-sharp { transform: scale(1.07); }
.has-hover .tile .tile-label { transition: transform 600ms var(--ease); }
.has-hover .tile:hover .tile-label { transform: translateY(-4px); }
.has-hover .tile .tile-label::after { opacity: 0; transform: translateX(-10px) scale(0.8); transition: opacity 300ms ease, transform 600ms var(--ease); }
.has-hover .tile:hover .tile-label::after { opacity: 1; transform: none; }
.also { margin: 36px 0 0; color: var(--ink-2); font-size: 1.1875rem; }
.also a { color: var(--caramel); font-weight: 500; text-underline-offset: 3px; }

/* Aparición al hacer scroll: app.js pone .rv a lo que está fuera de pantalla y lo anima al entrar */
.rv { opacity: 0; }
.hero-copy { will-change: transform, opacity; }

/* ---------- Trabajos (galerías) ---------- */
.stories { background: var(--dark); color: var(--dark-ink); padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.stories .eyebrow { color: #e0a577; }
.stories .title { color: #fff; }
.stories .sub { color: rgba(243, 238, 230, 0.7); }
.story { margin-top: clamp(56px, 8vw, 96px); }
.story-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.story-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.02; letter-spacing: -0.02em; color: #fff; }
.story-line { margin: 12px 0 0; max-width: 48ch; color: rgba(243, 238, 230, 0.7); text-wrap: pretty; }
.story-tools { display: flex; align-items: center; gap: 10px; }
.story-link { color: #e0a577; font-weight: 600; text-decoration: none; margin-right: 10px; white-space: nowrap; }
.story-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.arrow.on-dark { background: rgba(255, 255, 255, 0.12); color: #fff; }
.arrow.on-dark:hover { background: rgba(255, 255, 255, 0.22); }
.strip {
  --h: clamp(320px, 44vw, 560px); --blur: 6px;
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  padding: 30px var(--gutter) 40px;
}
.strip::-webkit-scrollbar { display: none; }
.strip::after { content: ""; flex: none; width: calc(var(--gutter) - 12px); }
/* Las galerías se ven nítidas desde el inicio: aquí no hay desenfoque */
.shot {
  position: relative; overflow: hidden; isolation: isolate;
  flex: none; height: var(--h); border: 0; padding: 0; margin: 0; border-radius: 20px; background: #241f1b;
  scroll-snap-align: start; cursor: zoom-in; -webkit-tap-highlight-color: transparent;
}
.shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none;
}
.shot:focus-visible { outline-offset: 3px; }
.shot::after {
  content: "Ampliar"; position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 7px 14px; border-radius: 980px;
  background: rgba(22, 20, 18, 0.42); color: #fff; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; pointer-events: none;
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  opacity: 0;
}
.has-hover .shot {
  transition: transform 650ms var(--ease), box-shadow 650ms var(--ease), opacity 450ms ease;
}
.has-hover .shot img { transition: transform 1200ms var(--ease); }
.has-hover .shot::after { transform: translateY(8px); transition: opacity 300ms ease, transform 600ms var(--ease); }
.has-hover .shot:hover { transform: translateY(-8px); box-shadow: 0 34px 50px -24px rgba(0, 0, 0, 0.8); z-index: 3; }
.has-hover .shot:hover img { transform: scale(1.07); }
.has-hover .shot:hover::after, .shot:focus-visible::after { opacity: 1; transform: none; }
.has-hover .shot:active { transform: translateY(-3px) scale(0.985); transition-duration: 160ms; }
.has-hover .strip:has(.shot:hover) .shot:not(:hover) { opacity: 0.66; }   /* las demás pasan a segundo plano */

/* Con mouse: arrastrar la tira con inercia (app.js) en vez de saltos de snap */
@media (hover: hover) and (pointer: fine) {
  .strip { scroll-snap-type: none; cursor: grab; }
  .strip.is-dragging { cursor: grabbing; }
  .strip.is-dragging .shot { pointer-events: none; }
}

/* ---------- Visor de fotos ---------- */
html:has(dialog.lb[open]) { overflow: hidden; }
dialog.lb { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: transparent; color: #fff; overflow: hidden; }
dialog.lb::backdrop { background: rgba(12, 10, 8, 0.88); -webkit-backdrop-filter: blur(28px) saturate(140%); backdrop-filter: blur(28px) saturate(140%); animation: lbFade 320ms ease both; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px 72px 76px; touch-action: pan-y; cursor: grab; }
.lb-stage:active { cursor: grabbing; }
.lb-stage img { display: block; max-width: calc(100vw - 160px); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); -webkit-user-drag: none; user-select: none; -webkit-user-select: none; will-change: transform; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; display: flex; justify-content: center; gap: 14px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.78); pointer-events: none; }
.lb-cap span:last-child { color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.75rem; line-height: 1; display: grid; place-items: center; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background-color 150ms ease, transform 100ms ease-out; -webkit-tap-highlight-color: transparent; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.24); }
.lb-btn:active { transform: scale(0.92); }
.lb-close { top: 18px; right: 18px; }
.lb-close i { position: absolute; width: 18px; height: 1.5px; background: #fff; border-radius: 2px; }
.lb-close i:first-child { transform: rotate(45deg); } .lb-close i:last-child { transform: rotate(-45deg); }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; padding-bottom: 4px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }

/* ---------- Paquetes ---------- */
.packages { background: var(--sand); }
.seg-bar {
  position: sticky; top: var(--nav-h); z-index: 20;
  padding: 14px 0; margin-top: 36px;
  background: rgba(243, 238, 230, 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
}
.seg {
  position: relative; display: flex; gap: 2px; width: max-content; max-width: calc(100% - 32px);
  margin-inline: auto; padding: 3px; border-radius: 980px; background: rgba(28, 26, 24, 0.07);
  overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg-ind {
  position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: 980px; background: #fff;
  box-shadow: 0 1px 2px rgba(28, 26, 24, 0.08), 0 3px 10px rgba(28, 26, 24, 0.06);
  transform: translateX(var(--ix, 0)); width: var(--iw, 0);
  transition: transform 420ms var(--ease), width 420ms var(--ease);
}
.seg button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; white-space: nowrap;
  padding: 9px 18px; border-radius: 980px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2);
  transition: color 200ms ease, transform 100ms ease-out;
}
.seg button[aria-selected="true"] { color: var(--ink); }
.seg button:active { transform: scale(0.96); }

.rail-wrap { position: relative; margin-top: 28px; }
.rail {
  display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 16px var(--gutter) 44px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-swapping { opacity: 0; transform: translateY(6px); }
.rail { transition: opacity 260ms ease, transform 360ms var(--ease); }
.rail-arrows { display: flex; justify-content: flex-end; gap: 10px; }
.arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(28, 26, 24, 0.07); font-size: 1.5rem; line-height: 1; color: var(--ink);
  transition: background-color 150ms ease, transform 100ms ease-out, opacity 200ms ease;
}
.arrow:hover { background: rgba(28, 26, 24, 0.12); }
.arrow:active { transform: scale(0.92); }
.arrow:disabled { opacity: 0.35; cursor: default; }

.pkg {
  flex: 0 0 min(340px, 84vw); scroll-snap-align: start;
  background: var(--card); border-radius: var(--r-card); color: var(--ink);
  padding: 28px 26px 18px; display: flex; flex-direction: column;
}
.has-hover .pkg { transition: transform 600ms var(--ease), box-shadow 600ms var(--ease); }
.has-hover .pkg:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -32px rgba(28, 26, 24, 0.4); }
.pkg-kicker { color: var(--caramel); font-weight: 600; font-size: 0.875rem; margin: 0 0 8px; }
.rail.has-kicker .pkg-kicker { min-height: 1.3em; }
.rail:not(.has-kicker) .pkg-kicker { display: none; }
.pkg-name { font-family: var(--serif); font-weight: 400; font-size: 1.875rem; line-height: 1.08; letter-spacing: -0.012em; margin: 0; display: flex; align-items: flex-end; }
.rail.has-long .pkg-name { min-height: 2.1em; }   /* solo si algún nombre de la categoría ocupa dos líneas */
.pkg-ideal { color: var(--muted); margin: 10px 0 0; min-height: 2.9em; font-size: 0.9375rem; line-height: 1.45; }
.pkg-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 0; }
.pkg-price strong { font-size: 2.75rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.pkg-price s { color: var(--muted); font-size: 1rem; }
/* solo 3 datos clave; el resto va en "Ver qué incluye" */
.pkg-keys { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-height: 128px; font-size: 0.9875rem; line-height: 1.35; }
.pkg-keys li { position: relative; padding-left: 28px; }
.pkg-keys li::before { content: ""; position: absolute; left: 0; top: 0.08em; width: 18px; height: 18px; border-radius: 50%; background: var(--caramel-tint); }
.pkg-keys li::after { content: ""; position: absolute; left: 5px; top: calc(0.08em + 5px); width: 8px; height: 4px; border: 1.75px solid var(--caramel); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.pkg-keys b { font-weight: 600; }
.pkg-actions { display: grid; gap: 2px; margin-top: 20px; }
.pkg-actions .btn { width: 100%; min-height: 48px; }
.pkg-link { border: 0; background: none; padding: 11px 8px; color: var(--caramel); font-weight: 600; font-size: 0.9375rem; cursor: pointer; border-radius: 10px; transition: opacity 150ms ease; }
.pkg-link:hover { opacity: 0.7; }
.pkg-more { margin-top: 6px; border-top: 1px solid var(--line); }
.pkg-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); }
.pkg-more summary::-webkit-details-marker { display: none; }
.pkg-more summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform 300ms var(--ease); }
.pkg-more[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.pkg-more summary:hover { color: var(--ink); }
.pkg-specs { margin: 0; padding: 4px 0 16px; display: grid; gap: 16px; }
.pkg-specs div { display: grid; gap: 3px; }
.pkg-specs dt { font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.pkg-specs dd { margin: 0; font-size: 0.9375rem; line-height: 1.4; }
.pkg-specs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.team { display: flex; align-items: center; gap: 10px; }
.team-dots { display: flex; }
.team-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; background: var(--sage); }
.team-dots i:first-child { margin-left: 0; background: var(--caramel); }
.team-dots i.av { background: #6f6a5a; }
.team-dots i.sf { background: #b98a63; }
.team-count { font-weight: 600; }
.team-names { color: var(--ink-2); font-size: 0.9rem; }

/* Paquetes premium: los más completos de cada categoría van en negro */
.pkg.is-premium { background: var(--dark); color: #fff; }
.pkg.is-premium .pkg-kicker { color: #e0a577; }
.pkg.is-premium .pkg-ideal { color: rgba(255, 255, 255, 0.62); }
.pkg.is-premium .pkg-price s { color: rgba(255, 255, 255, 0.6); }
.pkg.is-premium .pkg-keys, .pkg.is-premium .pkg-more { border-color: rgba(255, 255, 255, 0.14); }
.pkg.is-premium .pkg-keys li::before { background: rgba(224, 165, 119, 0.2); }
.pkg.is-premium .pkg-keys li::after { border-color: #e0a577; }
.pkg.is-premium .btn-primary { background: #fff; color: var(--ink); }
.pkg.is-premium .btn-primary:hover { background: var(--sand); }
.pkg.is-premium .pkg-link { color: #e0a577; }
.pkg.is-premium .pkg-more summary { color: rgba(255, 255, 255, 0.7); }
.pkg.is-premium .pkg-more summary:hover { color: #fff; }
.pkg.is-premium .pkg-more summary::after { border-color: rgba(255, 255, 255, 0.5); }
.pkg.is-premium .pkg-specs dt { color: rgba(255, 255, 255, 0.5); }
.pkg.is-premium .team-dots i { border-color: var(--dark); }
.pkg.is-premium .team-names { color: rgba(255, 255, 255, 0.66); }
.has-hover .pkg.is-premium:hover { box-shadow: 0 34px 60px -28px rgba(0, 0, 0, 0.7); }
.cat-note { color: var(--ink-2); margin: 8px 0 0; min-height: 1.5em; }
.all-include { color: var(--muted); margin: 6px 0 0; font-size: 0.9375rem; }

/* ---------- Arma tu paquete ---------- */
.b-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; margin-top: 48px; }
/* un solo panel: lo básico arriba, los extras plegados abajo */
.b-panel { background: var(--card); border-radius: var(--r-card); padding: 8px 32px 10px; min-width: 0; }
.b-block { border: 0; margin: 0; padding: 26px 0; min-width: 0; }
.b-block + .b-block, .extras { border-top: 1px solid var(--line); }
.b-block legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.b-block legend + * { clear: both; }
[hidden] { display: none !important; }

/* elegir una opción de dos grandes: la elegida se llena de negro */
.kind { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kind-opt, .opt, .chip, .tog { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kind-opt input, .opt input, .chip input, .tog input { position: absolute; opacity: 0; pointer-events: none; }
.kind-opt > span { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border-radius: var(--r-ctrl); box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 100ms ease-out; }
.kind-opt small { color: var(--muted); font-size: 0.875rem; line-height: 1.35; transition: color 180ms ease; }
.kind-opt input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.kind-opt input:checked + span small { color: rgba(255, 255, 255, 0.7); }
.kind-opt:active > span, .opt:active > span, .chip:active > span { transform: scale(0.97); }

/* elegir una entre varias: control segmentado */
.opts { display: grid; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(28, 26, 24, 0.06); }
.opts.three { grid-template-columns: repeat(3, 1fr); }
.opts.four { grid-template-columns: repeat(4, 1fr); }
.opt > span { display: grid; gap: 2px; justify-items: center; align-content: center; text-align: center; height: 100%; padding: 12px 8px; border-radius: 12px; transition: background-color 200ms ease, box-shadow 200ms ease, transform 100ms ease-out; }
.opt b { font-size: 0.9375rem; font-weight: 600; line-height: 1.2; }
.opt small { color: var(--muted); font-size: 0.8125rem; transition: color 200ms ease; }
.opt input:checked + span { background: #fff; box-shadow: 0 1px 2px rgba(28, 26, 24, 0.1), 0 4px 12px rgba(28, 26, 24, 0.08); }
.opt input:checked + span small { color: var(--caramel); font-weight: 600; }
.kind-opt input:focus-visible + span, .opt input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid rgba(138, 77, 39, 0.55); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip > span { display: inline-block; padding: 10px 17px; border-radius: 980px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 0.9375rem; font-weight: 500; transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 100ms ease-out; }
.chip:hover > span { box-shadow: inset 0 0 0 1.5px rgba(28, 26, 24, 0.3); }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }

.b-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.b-row .hint { margin: 0; max-width: 24ch; }

/* extras: filas plegables con el costo a la vista */
.extras { padding: 26px 0 6px; }
.extras-title { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.extras-title span { margin-left: 6px; color: var(--muted); font-weight: 400; font-size: 0.9375rem; letter-spacing: 0; }
.xg { border-top: 1px solid var(--line); }
.xg summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 0; cursor: pointer; border-radius: 10px; }
.xg summary::-webkit-details-marker { display: none; }
.xg-t { display: grid; gap: 2px; margin-right: auto; }
.xg-t b { font-weight: 600; }
.xg-t small { color: var(--muted); font-size: 0.875rem; }
.xg-badge { padding: 6px 13px; border-radius: 980px; background: var(--sand); color: var(--ink-2); font-size: 0.875rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background-color 200ms ease, color 200ms ease; }
.xg-badge.is-on { background: var(--caramel); color: #fff; }
.chev { flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform 300ms var(--ease); }
.xg[open] .chev { transform: rotate(-135deg) translate(-2px, -2px); }
.xg summary:hover .xg-t b { color: var(--caramel); }
.xg-body { padding: 0 0 18px; }
.xg { interpolate-size: allow-keywords; }
.xg::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 420ms var(--ease), opacity 320ms ease, content-visibility 420ms allow-discrete; }
.xg[open]::details-content { block-size: auto; opacity: 1; }

/* sí / no: interruptor */
.toggles { display: grid; }
.tog + .tog { border-top: 1px solid var(--line); }
.tog > span { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.tog-t { display: grid; gap: 2px; margin-right: auto; }
.tog b { font-weight: 600; }
.tog small { color: var(--muted); font-size: 0.875rem; }
.tog .price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.switch { position: relative; flex: none; width: 48px; height: 29px; border-radius: 980px; background: rgba(28, 26, 24, 0.17); transition: background-color 220ms ease; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 25px; height: 25px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28); transition: transform 320ms var(--ease), width 160ms ease; }
.tog input:checked + span .switch { background: var(--caramel); }
.tog input:checked + span .switch::after { transform: translateX(19px); }
.tog:active .switch::after { width: 31px; }
.tog:active input:checked + span .switch::after { transform: translateX(13px); }
.tog input:focus-visible + span .switch { outline: 3px solid rgba(138, 77, 39, 0.55); outline-offset: 2px; }

/* cantidades: − neutro, + con el color de la marca */
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); font-size: 1.375rem; line-height: 1; cursor: pointer; transition: background-color 150ms ease, transform 100ms ease-out, opacity 150ms ease; }
.stepper button:hover { background: #ebe4d8; }
.stepper button[data-inc] { background: var(--caramel-tint); color: var(--caramel); }
.stepper button[data-inc]:hover { background: rgba(138, 77, 39, 0.18); }
.stepper button:active { transform: scale(0.9); }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { min-width: 2.2ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper.big output { font-size: 2.5rem; letter-spacing: -0.03em; min-width: 2ch; }
.stepper.big .unit { color: var(--muted); margin-right: 8px; }
.stepper.big button { width: 48px; height: 48px; }

.line-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.line-item + .line-item { border-top: 1px solid var(--line); }
.line-item small { display: block; color: var(--muted); font-size: 0.875rem; }
.opts + .line-item { margin-top: 10px; }
.prints .line-item { padding: 10px 0; }
.more { margin-top: 8px; border: 0; background: none; padding: 8px 0; color: var(--caramel); font-weight: 600; cursor: pointer; }

/* Resumen */
.summary { position: sticky; top: calc(var(--nav-h) + 24px); }
.summary-card { background: var(--card); border-radius: var(--r-card); padding: 26px 24px 22px; box-shadow: 0 1px 2px rgba(28, 26, 24, 0.04), 0 18px 50px -24px rgba(28, 26, 24, 0.22); }
.summary-handle { all: unset; box-sizing: border-box; display: flex; align-items: baseline; gap: 12px; width: 100%; cursor: default; }
.s-label { font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.02em; }
.s-total { margin-left: auto; font-size: 2.25rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.s-chev { display: none; }
.s-lines { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.9375rem; }
.s-lines li { display: flex; justify-content: space-between; gap: 12px; }
.s-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-lines li.muted { color: var(--muted); }
.s-photos { margin: 14px 0 0; color: var(--ink-2); font-size: 0.9375rem; }
.s-suggest { margin: 18px 0 0; padding: 16px; border-radius: 16px; background: var(--sand); font-size: 0.9375rem; line-height: 1.45; }
.s-suggest b { display: block; font-size: 1rem; margin-bottom: 4px; }
.s-suggest button { margin-top: 10px; border: 0; padding: 9px 16px; border-radius: 980px; background: #fff; color: var(--caramel); font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(138, 77, 39, 0.4); transition: background-color 150ms ease, transform 100ms ease-out; }
.s-suggest button:hover { background: var(--caramel-tint); }
.s-suggest button:active { transform: scale(0.96); }
.s-actions { display: grid; gap: 10px; margin-top: 18px; }
.s-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 0.8125rem; }

/* ---------- Disponibilidad ---------- */
.availability { background: var(--sand); }
.f-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; align-items: start; }
.cal, .book { background: var(--card); border-radius: var(--r-card); padding: 26px 24px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head h3 { margin: 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-week span { text-align: center; color: var(--muted); font-size: 0.8125rem; font-weight: 500; padding-bottom: 6px; }
.day {
  aspect-ratio: 1; width: 100%; max-width: 48px; justify-self: center; border: 0; border-radius: 50%; background: none; cursor: pointer;
  font-size: 1.0625rem; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: background-color 150ms ease, color 150ms ease, transform 100ms ease-out;
}
.day:hover { background: var(--sand); }
.day:active { transform: scale(0.92); }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.day.is-busy { color: rgba(28, 26, 24, 0.3); text-decoration: line-through; cursor: not-allowed; background: none; }
.day.is-past { color: rgba(28, 26, 24, 0.22); cursor: default; background: none; }
.day.is-sel { background: var(--caramel); color: #fff; }
.day:disabled:active { transform: none; }
.cal-legend { display: flex; gap: 18px; margin-top: 18px; color: var(--muted); font-size: 0.875rem; flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.d { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.d.free { box-shadow: inset 0 0 0 1.5px var(--ink); }
.d.busy { background: rgba(28, 26, 24, 0.18); }
.d.sel { background: var(--caramel); }

.book { display: grid; gap: 16px; }
.book-date { padding: 16px 18px; border-radius: 16px; background: var(--sand); display: grid; gap: 2px; }
.book-date span { color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.book-date strong { font-size: 1.125rem; letter-spacing: -0.02em; }
.book label { display: grid; gap: 6px; font-size: 0.9375rem; font-weight: 500; }
.book em { color: var(--muted); font-style: normal; font-weight: 400; }
.book input, .book select, .book textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 0; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line); font-size: 1rem; font-weight: 400;
  transition: box-shadow 150ms ease;
}
.book select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.book input:focus, .book select:focus, .book textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--caramel); }
.book textarea { resize: vertical; }
.form-msg { margin: 0; min-height: 1.2em; color: var(--caramel); font-size: 0.9375rem; }

/* ---------- Entregas ---------- */
.gets { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gets li { display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--line); padding-top: 22px; }
.tick { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--caramel-tint); margin-bottom: 6px; }
.tick::after { content: ""; position: absolute; left: 8px; top: 9px; width: 12px; height: 6px; border: 2px solid var(--caramel); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.gets b { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.gets span { color: var(--ink-2); max-width: 30ch; }
.extra-sheet { margin-top: 56px; background: var(--sand); border-radius: var(--r-card); padding: 28px 32px 26px; }
.extra-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 14px; }
.extra-title { margin: 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 980px; background: rgba(28, 26, 24, 0.07); max-width: 100%; }
.tabs button { border: 0; background: none; cursor: pointer; padding: 9px 18px; border-radius: 980px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 100ms ease-out; }
.tabs button:active { transform: scale(0.96); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(28, 26, 24, 0.08), 0 3px 10px rgba(28, 26, 24, 0.06); }
.price-list { margin: 0; padding: 0; list-style: none; display: grid; }
.price-list.cols { grid-template-columns: 1fr 1fr; column-gap: 56px; }
.price-list.cols li:nth-child(2) { border-top: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; font-size: 0.9375rem; }
.price-list li + li { border-top: 1px solid var(--line); }
.price-list small { display: block; color: var(--muted); font-size: 0.8125rem; }
.price-list li > span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.extra-sheet .hint { margin: 12px 0 0; }
.link-arrow { display: inline-block; margin-top: 16px; color: var(--caramel); font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Sobre mí ---------- */
.about { background: var(--dark); color: var(--dark-ink); padding: clamp(80px, 11vw, 140px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-photo); filter: grayscale(1); }
.about-copy p { color: rgba(243, 238, 230, 0.78); font-size: 1.1875rem; line-height: 1.5; max-width: 44ch; margin: 18px 0 0; }
.about-copy .title { color: #fff; }
.pillars { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 10px; }
.pillars li { padding-left: 22px; position: relative; color: #fff; }
.pillars li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--caramel); }

/* ---------- Preguntas ---------- */
.faq-list { margin-top: 40px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--muted); transition: transform 300ms var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: -6px 0 22px; color: var(--ink-2); max-width: 60ch; }
/* apertura suave (navegadores que lo soportan; en los demás abre directo) */
.faq-list details { interpolate-size: allow-keywords; }
.faq-list details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 450ms var(--ease), opacity 350ms ease, content-visibility 450ms allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; opacity: 1; }
.faq-list summary { transition: color 200ms ease; }
.faq-list summary:hover { color: var(--caramel); }

/* ---------- Cierre y pie ---------- */
.closing { text-align: center; padding: clamp(80px, 11vw, 140px) 0; background: var(--sand); }
.actions.center { justify-content: center; }
.footer { padding: 56px 0 48px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px 40px; }
.footer-brand img { height: 36px; width: auto; }
.footer-brand p { margin: 14px 0 0; color: var(--ink-2); font-size: 0.9375rem; max-width: 26ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h2 { margin: 0 0 4px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; transition: color 150ms ease; }
.footer-col a:hover { color: var(--caramel); }
.footer-small { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; }

.form-legal { margin: 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }
.form-legal a { color: var(--ink-2); text-underline-offset: 3px; }
.social-line { margin: 22px 0 0; color: rgba(243, 238, 230, 0.7); font-size: 0.9375rem; }
.social-line a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 150ms ease; }
.social-line a:hover { color: #e0a577; }

/* ---------- Páginas legales (privacidad, términos) ---------- */
.legal-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-bar-inner { width: min(var(--wrap), 100% - 32px); margin-inline: auto; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-bar img { height: 32px; width: auto; }
.legal-bar a.back { font-size: 0.9375rem; color: var(--ink-2); text-decoration: none; }
.legal-bar a.back:hover { color: var(--caramel); }
.legal { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 112px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.legal .updated { margin: 18px 0 0; color: var(--muted); font-size: 0.9375rem; }
.legal .intro { margin: 28px 0 0; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); }
.legal .toc { margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; font-size: 0.9375rem; }
.legal .toc a { color: var(--ink-2); text-underline-offset: 3px; }
.legal .toc a:hover { color: var(--caramel); }
.legal section { margin-top: 48px; scroll-margin-top: 24px; }
.legal h2 { margin: 0 0 14px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.6; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 1.25em; display: grid; gap: 6px; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal a:hover { color: var(--caramel); }
.legal .box { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--caramel); }
.legal table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 0.9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 600; width: 34%; }
.legal tr:last-child th, .legal tr:last-child td { border-bottom: 1px solid var(--line); }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - 64px); display: grid; align-content: center; padding: 48px 0; }
.notfound .display { font-size: clamp(3rem, 10vw, 7rem); }
.notfound p { margin: 20px 0 0; color: var(--ink-2); font-size: 1.1875rem; max-width: 40ch; }
.notfound .actions { justify-content: flex-start; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-menu { display: block; }
  .b-layout { grid-template-columns: 1fr; }
  .f-layout { grid-template-columns: 1fr; }
  .gets { grid-template-columns: 1fr; gap: 24px; }
  .gets li { grid-template-columns: 30px 1fr; column-gap: 14px; row-gap: 4px; }
  .gets .tick { grid-row: span 2; margin: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }

  /* Resumen como hoja inferior */
  .summary {
    position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); top: auto; z-index: 40;
    transform: translateY(calc(100% + 24px)); transition: transform 420ms var(--ease);
  }
  .summary.is-visible { transform: translateY(0); }
  .summary-card {
    padding: 0; overflow: hidden; border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
    box-shadow: 0 0 0 0.5px rgba(28, 26, 24, 0.08), 0 20px 50px -12px rgba(28, 26, 24, 0.35);
  }
  .summary-handle { padding: 16px 20px; cursor: pointer; align-items: center; }
  .s-total { font-size: 1.75rem; }
  .s-chev { display: block; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-135deg) translate(-2px, -2px); transition: transform 300ms var(--ease); }
  .summary.is-open .s-chev { transform: rotate(45deg); }
  .summary-body { display: none; padding: 0 20px 18px; max-height: 64vh; overflow-y: auto; overscroll-behavior: contain; }
  .summary.is-open .summary-body { display: block; animation: sheetIn 360ms var(--ease); }
  .s-lines { margin-top: 0; }
  .builder { padding-bottom: 140px; }
}

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .hero-stage { min-height: 100svh; --pos: 50% 28%; }
  .hero-scrim { background: linear-gradient(to top, rgba(14, 12, 10, 0.9) 0%, rgba(14, 12, 10, 0.66) 44%, rgba(14, 12, 10, 0) 80%), linear-gradient(to bottom, rgba(14, 12, 10, 0.45) 0%, rgba(14, 12, 10, 0) 20%); }
  .hero-copy { padding-top: calc(var(--nav-h) + 56px); }
  .hero .actions { margin-top: 28px; }
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile, .tile.w3, .tile.w4, .tile.w5 { flex: 0 0 78%; height: 440px; scroll-snap-align: start; }
  .strip { --h: 360px; }
  .story-tools .arrow { display: none; }
  .lb-stage { padding: 60px 12px 70px; }
  .lb-stage img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 140px); }
  .lb-prev, .lb-next { display: none; }
  .kind { grid-template-columns: 1fr; }
  .opts.four { grid-template-columns: 1fr 1fr; }
  .b-row { flex-wrap: wrap; }
  .b-row .hint { max-width: none; }
  .price-list.cols { grid-template-columns: 1fr; }
  .price-list.cols li:nth-child(2) { border-top: 1px solid var(--line); }
  .extra-sheet { padding: 22px 18px 20px; }
  .tabs button { padding: 9px 14px; }
  .rail-arrows { display: none; }
  .b-panel { padding: 4px 18px 6px; }
  .cal, .book { padding: 22px 16px; }
  .cal-week, .cal-grid { gap: 2px; }
  .pkg { padding: 26px 22px 24px; }
  .pkg-name, .pkg-kicker, .pkg-ideal { min-height: 0; }
  .pkg-kicker:empty { display: none; }
}

/* =====================================================================
   Accesibilidad
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .btn-glass, .lb-btn, .has-hover .focus-hint { background: rgba(22, 20, 18, 0.7); -webkit-backdrop-filter: none; backdrop-filter: none; }
  dialog.lb::backdrop { background: rgba(12, 10, 8, 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav, .seg-bar { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .seg-bar { background: var(--sand); }
  .summary-card { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(28, 26, 24, 0.35); --muted: #574f48; }
}

/* ---------- Aviso de cookies ---------- */
.link-btn { padding: 0; border: 0; background: none; font: inherit; font-size: 0.9375rem; color: var(--ink-2); text-align: left; cursor: pointer; transition: color 150ms ease; }
.link-btn:hover { color: var(--caramel); }
.link-btn[hidden] { display: none; }
.cookie {
  position: fixed; z-index: 60; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 32px)); padding: 18px 20px 16px; border-radius: 20px;
  background: #fff; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5;
  box-shadow: 0 0 0 0.5px rgba(28, 26, 24, 0.1), 0 24px 56px -16px rgba(28, 26, 24, 0.35);
  animation: cookie-in 420ms var(--ease) both;
}
.cookie p { margin: 0 0 14px; }
.cookie strong { color: var(--ink); font-weight: 600; }
.cookie a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { min-height: 42px; padding: 0 12px; font-size: 0.9375rem; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie { animation: none; } }
.legal code { font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: var(--sand); }
