/* ==========================================================================
   FOTOGRAFÍA DESTINO — Estilos
   --------------------------------------------------------------------------
   ÍNDICE
   01. Variables (colores, tipografías, medidas)  ← empezá por acá para cambiar el look
   02. Base, tipografía y utilidades
   03. Botones, selectores y campos
   04. Navegación y menú móvil
   05. Inicio: bienvenida, Home y cámara
   06. Cinta animada
   07. Portafolio y visor
   08. Negocios
   09. Servicios (sesiones con pestañas)
   10. Lo que se siente
   11. Sobre mí
   12. Edición invisible (antes / después)
   13. Opiniones
   15. Contacto y pie
   16. WhatsApp flotante y modal
   17. Animaciones de aparición
   18. Movimiento reducido
   ========================================================================== */

/* ==========================================================================
   01. VARIABLES
   ========================================================================== */
:root {
  /* Fondos (alternan entre secciones para dar ritmo) */
  --cream: #f5f1ec;
  --paper: #fbf9f6;
  --sand: #ece7df;
  --deep: #585242;          /* verde oliva apagado (el de la referencia) */
  --deep-2: #625c4b;

  /* Texto: gris azulado oscuro, como en la referencia */
  --ink: #2b2f36;
  --ink-2: #5d6068;
  --on-dark: #f5f1ec;
  --on-dark-2: #dcd7cb;

  /* Acentos (solo detalles chicos, nunca bloques grandes) */
  --accent: #8a7756;        /* bronce suave */
  --accent-ink: #6c5c40;    /* versión para texto sobre claro (contraste AA) */
  --gold: #e6d6b2;          /* acento sobre el oliva */
  --wa: #128c7e;

  /* Líneas */
  --line: rgba(43, 47, 54, .13);
  --line-dark: rgba(245, 241, 236, .2);

  /* Tipografías */
  --serif: "Abhaya Libre", Georgia, serif;   /* títulos: Abhaya Libre Medium (500) */
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", "Segoe Script", cursive;   /* la palabra "Destino" */

  /* Medidas */
  --gutter: clamp(18px, 4.5vw, 64px);
  --nav-h: 66px;
  --radius: 4px;
  --radius-lg: 12px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(43, 47, 54, .06), 0 18px 40px -26px rgba(43, 47, 54, .35);
}

/* ==========================================================================
   02. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--deep); color: var(--on-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.section--deep :focus-visible, .footer :focus-visible, .lightbox :focus-visible, .pkg--popular :focus-visible { outline-color: var(--gold); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(56px, 7vw, 100px); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--deep { background: var(--deep); color: var(--on-dark); }

.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--deep .eyebrow, .footer .eyebrow { color: var(--gold); }

.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.95rem, 3.4vw, 2.9rem); line-height: 1.05; letter-spacing: -.008em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.1; }
.lead { font-size: clamp(1.04rem, 1.25vw, 1.15rem); line-height: 1.6; }

.section__head { margin-bottom: clamp(24px, 3.5vw, 44px); max-width: 42rem; }
.section__head--split { max-width: none; display: grid; gap: 16px; align-items: end; }
.section__aside { color: var(--ink-2); max-width: 27rem; margin: 0; font-size: .97rem; }
.section--deep .section__aside { color: var(--on-dark-2); }
.section__aside p { margin-bottom: 14px; }
@media (min-width: 960px) { .section__head--split { grid-template-columns: 1fr auto; gap: 56px; } }

.link-line {
  position: relative; display: inline-block; padding: 4px 0; border: 0; background: none;
  font-size: .92rem; font-weight: 500; letter-spacing: .03em; text-decoration: none; color: var(--ink);
}
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .45s var(--ease); }
.link-line:hover::after { transform: scaleX(0); }
.link-line--light { color: var(--on-dark); }

/* ==========================================================================
   03. BOTONES, SELECTORES Y CAMPOS
   ========================================================================== */
.btn {
  --bg: var(--ink); --fg: var(--cream); --hover: var(--deep);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-size: .78rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; line-height: 1;
  transition: color .3s, border-color .3s;
}
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--hover); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn--dark { --bg: var(--ink); --fg: var(--cream); --hover: var(--deep); }
.btn--accent { --bg: var(--gold); --fg: var(--ink); --hover: #f1e6cd; }
.btn--light { --bg: var(--on-dark); --fg: var(--ink); --hover: #fff; }
.btn--google { --bg: #fff; --fg: #1f1f1f; --hover: #f1ede6; text-transform: none; letter-spacing: .01em; font-size: .95rem; }
.btn--outline-light { --bg: transparent; --fg: var(--on-dark); --hover: rgba(245, 241, 236, .12); border-color: var(--line-dark); text-transform: none; letter-spacing: .01em; font-size: .95rem; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --hover: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { color: var(--cream); }
.btn--wa { --bg: var(--wa); --fg: #fff; --hover: #0b6d61; }
.btn--block { width: 100%; }

.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.seg__btn { border: 0; background: transparent; border-radius: 999px; padding: 7px 11px; font-size: .68rem; font-weight: 500; letter-spacing: .12em; line-height: 1; color: var(--ink-2); transition: background .3s, color .3s; }
.seg__btn:hover { color: var(--ink); }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.seg--lg .seg__btn { padding: 11px 17px; font-size: .78rem; }
.seg--full { display: flex; margin-bottom: 20px; }
.seg--full .seg__btn { flex: 1; }

.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 17px; font-size: .84rem; font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 7px; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(88, 82, 66, .16); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field__hint { display: block; margin-top: 7px; font-size: .8rem; color: var(--ink-2); }
.field__hint--center { text-align: center; margin-top: 12px; }
.field--dark > span { color: var(--on-dark-2); }
.field--dark textarea, .field--dark input { background: rgba(255, 255, 255, .08); border-color: var(--line-dark); color: var(--on-dark); }
.field--dark textarea::placeholder, .field--dark input::placeholder { color: rgba(220, 215, 203, .75); }
.field--dark textarea:focus, .field--dark input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 214, 178, .2); }
.field--dark .field__hint { color: var(--on-dark-2); text-align: right; }
.field--dark .field__hint--left { text-align: left; }
.field .req { color: var(--gold); text-decoration: none; border: 0; }
.field input[aria-invalid="true"] { border-color: #ffb4a3; }
.form-msg { min-height: 1.4em; margin: 0 0 10px; font-size: .88rem; color: var(--accent-ink); }
.form-msg.is-ok { color: #2f6b4a; }
.section--deep .form-msg { color: var(--gold); }
.section--deep .form-msg.is-ok { color: #cfe8d6; }

/* ==========================================================================
   04. NAVEGACIÓN  (fondo sólido: sin blur, que es costoso al scrollear)
   ========================================================================== */
.progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--deep); transform: scaleX(0); transform-origin: left; }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 110; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-inline: var(--gutter);
  transition: transform .5s var(--ease), opacity .5s;
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: rgba(245, 241, 236, .97); border-bottom: 1px solid var(--line); }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
html.intro .nav, html.intro .progress, html.intro .wa-float { opacity: 0; pointer-events: none; }
html.intro .nav { transform: translateY(-100%); }

.nav__brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav__brand span { color: var(--accent-ink); font-family: var(--script); font-size: 1.35em; font-weight: 400; line-height: 0; }
.nav__links { display: none; gap: clamp(16px, 2vw, 30px); }
.nav__links a { position: relative; padding: 8px 0; text-decoration: none; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--deep); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__tools { display: none; gap: 8px; align-items: center; }
.nav__burger { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; display: grid; place-content: center; gap: 6px; }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1120px) { .nav__links, .nav__tools { display: flex; } .nav__burger { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 105; overflow-y: auto; background: var(--cream);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  opacity: 0; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; transform: none; }
.menu__links { display: grid; gap: 2px; }
.menu__links a { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 10vw, 3.2rem); line-height: 1.15; text-decoration: none; }
.menu__links a:hover { color: var(--accent-ink); }
.menu__tools { display: flex; flex-wrap: wrap; gap: 18px 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.menu__label { margin: 0 0 10px; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }

/* ==========================================================================
   05. INICIO
   html.intro         → bienvenida visible, Home oculto (scroll bloqueado unos segundos)
   html.intro-play    → corre la animación (≈3,5 s)
   .stage.is-home     → estado final
   ========================================================================== */
html.intro, html.intro body { overflow: hidden; }

.intro { position: relative; background: var(--cream); }
.stage {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  background: radial-gradient(70% 60% at 82% 46%, #fbf9f5 0%, rgba(251, 249, 245, 0) 70%), var(--cream);
}

/* --- Cámara 3D: un canvas transparente que cubre el inicio (camara3d.js) ---
   En la bienvenida y el cruce va por delante del título; al final, por detrás
   (así la correa pasa por detrás de las letras). */
.cam3d { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity .7s var(--ease); }
.cam3d.is-ready { opacity: 1; }
html.intro .cam3d { z-index: 6; }
.cam-poster { position: absolute; z-index: 2; pointer-events: none; object-fit: contain; }

/* --- Bienvenida --- */
.welcome {
  position: absolute; inset: 0; z-index: 5; display: none; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(90px, 18svh, 170px) var(--gutter) 0;
}
html.intro .welcome { display: flex; }
.welcome__title {
  max-width: 13em; margin: 0 0 16px; font-family: var(--serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(2.3rem, 7vw, 6rem); line-height: .96; text-wrap: balance;
}
.welcome__text { max-width: 26rem; margin-bottom: 26px; color: var(--ink-2); font-size: 1.05rem; }
/* Línea de carga de la cámara 3D */
.welcome__load { display: grid; justify-items: center; gap: 8px; margin: 18px 0 0; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); transition: opacity .6s var(--ease); }
.welcome__load i { display: block; width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.welcome__load b { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.welcome > .welcome__load.is-done { animation: fade-out .6s var(--ease) forwards; }
@keyframes fade-out { to { opacity: 0; } }

/* Tira de película retro: llena la bienvenida mientras carga la cámara.
   Negativo cálido y gastado, fotos apenas en sepia, numeración naranja en el borde,
   grano, un destello de luz y movimientos lentos (desliza y se balancea apenas). */
.filmstrip { position: absolute; left: -3%; right: -3%; bottom: clamp(44px, 8svh, 104px); z-index: -1; }
.filmstrip__body {
  position: relative; overflow: hidden; padding: 26px 0 20px;
  background: linear-gradient(180deg, #2f2722, #231d19 55%, #2b231e);
  box-shadow: 0 34px 60px -38px rgba(43, 32, 20, .7), inset 0 0 0 1px rgba(255, 220, 170, .05);
  transform: rotate(-2.5deg); animation: film-sway 16s ease-in-out infinite alternate;
}
.filmstrip__body::before, .filmstrip__body::after {   /* perforaciones (redondeadas, color hueso) */
  content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 7px;
  background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(240, 228, 205, .58) 6px 14px, transparent 14px 20px);
}
.filmstrip__body::before { top: 6px; }
.filmstrip__body::after { bottom: 6px; }
.filmstrip__track { position: relative; display: flex; gap: 12px; width: max-content; padding-left: 12px; animation: film 150s linear infinite; }
.film__frame { position: relative; margin: 0; flex: none; }
.film__frame img {
  display: block; width: auto; height: clamp(92px, 15svh, 150px); aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px;
  filter: sepia(.32) saturate(.82) contrast(1.06) brightness(.96);
}
.film__frame::after {   /* numeración del negativo, en el borde superior */
  content: attr(data-n); position: absolute; left: 2px; top: -19px;
  font: 600 .58rem/1 "Courier New", ui-monospace, monospace; letter-spacing: .14em; color: #d9964a; opacity: .85;
}
.filmstrip__fx {   /* destello de luz cálido + viñeta + grano: estático, por encima de las fotos */
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(70% 140% at 104% 50%, rgba(255, 128, 48, .42), rgba(255, 128, 48, 0) 60%),
    radial-gradient(40% 120% at -4% 40%, rgba(255, 196, 120, .18), rgba(255, 196, 120, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 25%, transparent 75%, rgba(0, 0, 0, .22)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes film { to { transform: translateX(-50%); } }
@keyframes film-sway { from { transform: rotate(-2.8deg) translateY(0); } to { transform: rotate(-1.7deg) translateY(-7px); } }

.welcome > .filmstrip { animation: fade-in 1.6s var(--ease) .3s both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .filmstrip__track, .filmstrip__body { animation: none; } }

.welcome__enter.is-loading { opacity: .7; pointer-events: none; }
.welcome__enter.is-loading .icon { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.welcome > * { animation: rise .8s var(--ease-out) both; }
.welcome > :nth-child(2) { animation-delay: .06s; }
.welcome > :nth-child(3) { animation-delay: .12s; }
.welcome > :nth-child(4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.intro-skip {
  position: absolute; z-index: 7; right: var(--gutter); top: 22px; padding: 8px 0; border: 0; background: none; display: none;
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
html.intro .intro-skip { display: block; }
.intro-skip:hover { color: var(--ink); }

/* --- Home --- */
.home {
  position: relative; min-height: 100vh; min-height: 100svh;   /* sin z-index: así la cámara puede ir entre las fotos y el título */
  padding: calc(var(--nav-h) + clamp(14px, 4svh, 40px)) var(--gutter) clamp(26px, 4svh, 48px);
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr auto auto auto; column-gap: 14px;
}
.home__eyebrow { grid-column: 1 / -1; grid-row: 1; margin-bottom: 10px; }
/* Orden de capas en el inicio: fotos (1) → cámara 3D (2) → título y textos (4) */
.home__eyebrow, .home__cats, .home__lead, .home__actions { position: relative; z-index: 4; }
.home__title {
  grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 4; justify-self: start;
  font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; line-height: .86;
  font-size: clamp(3rem, 15.2vw, 7rem); margin: 0 0 6px -.05em;
}
/* Revelado del título: dos capas que se desplazan en sentidos opuestos (solo transform) */
.reveal { display: block; overflow: hidden; padding: .16em .14em .26em; margin: -.16em -.14em -.26em; }
.reveal__inner { display: block; }
html.intro-play .reveal, html.intro-play .reveal__inner { will-change: transform; }
.tw { display: block; width: fit-content; white-space: nowrap; }
/* "Destino" en letra caligráfica (más grande, porque la cursiva es más chica a igual tamaño) */
.tw--2 { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1.28em; line-height: .9; padding-right: .08em; }
.tp { display: inline-block; }
.tp[data-part="des"], .tp[data-part="ti"] { margin-right: var(--g, .2em); }

.home__cats { grid-column: 1 / -1; grid-row: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 14px 0 8px; font-size: .76rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.home__cats i { font-style: normal; color: var(--accent); }
.home__lead { grid-column: 1 / -1; grid-row: 5; max-width: 30rem; margin: 0 0 20px; color: var(--ink-2); }
.home__actions { grid-column: 1 / -1; grid-row: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
/* En celular y tablet las fotos van a la derecha: el cuerpo de la cámara queda debajo de "DESTINO" (a la izquierda) */
.home__cards { grid-column: 2; grid-row: 3; position: relative; z-index: 1; min-height: 180px; margin-top: 18px; }   /* debajo de la cámara */
/* Caja donde entra toda la cámara (correa incluida) en su posición final */
.home__cam { grid-column: 1 / -1; grid-row: 2 / 4; margin: 0 -4% 0 6%; }

.hcard {
  --rot: 0deg; position: absolute; margin: 0; padding: 5px 5px 18px; background: #fff; border-radius: 2px;
  box-shadow: 0 1px 2px rgba(43, 47, 54, .08), 0 16px 34px -20px rgba(43, 47, 54, .45);
  transform: rotate(var(--rot));
}
.hcard img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hcard i { position: absolute; inset: 5px 5px 18px; background: #fff; opacity: 0; pointer-events: none; }
.hcard--1 { --rot: -7deg; width: 66%; left: 0; top: 0; }
.hcard--2 { --rot: 5deg; width: 62%; left: 26%; top: 28%; z-index: 1; }
.hcard--3 { --rot: -3deg; width: 56%; left: 2%; top: 56%; }

/* Antes del final, la Home está oculta; aparece de forma escalonada */
html.js .home__eyebrow, html.js .home__cats, html.js .home__lead, html.js .home__actions { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
html.js .hcard { opacity: 0; transform: rotate(var(--rot)) translateY(28px) scale(.9); transition: opacity .45s var(--ease), transform .9s var(--ease-out); }
html.js .reveal { transform: translateX(-110%); }
html.js .reveal__inner { transform: translateX(110%); }
.stage.is-home .home__eyebrow, .stage.is-home .home__cats, .stage.is-home .home__lead, .stage.is-home .home__actions { opacity: 1; transform: none; }
.stage.is-home .home__cats { transition-delay: .08s; }
.stage.is-home .home__lead { transition-delay: .14s; }
.stage.is-home .home__actions { transition-delay: .2s; }
.stage.is-home .hcard { opacity: 1; transform: rotate(var(--rot)); }
.stage.is-home .hcard--2 { transition-delay: .07s; }
.stage.is-home .hcard--3 { transition-delay: .14s; }
.stage.is-home .hcard i { animation: develop 1.3s var(--ease) both; }
@keyframes develop { from { opacity: .95; } to { opacity: 0; } }
.stage.is-home .reveal, .stage.is-home .reveal__inner { transform: none; }

@media (min-width: 640px) {
  .home__title { font-size: clamp(4.6rem, 10.5vw, 7rem); }
  .home__cards { min-height: 240px; }
  .hcard { padding: 7px 7px 24px; }
  .hcard i { inset: 7px 7px 24px; }
  .hcard--1 { width: 44%; left: 4%; }
  .hcard--2 { width: 42%; left: 42%; top: 18%; }
  .hcard--3 { width: 38%; left: 14%; top: 48%; }
}
@media (min-width: 1000px) {
  .home {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr) minmax(0, 30vw);
    grid-template-rows: auto auto auto auto auto 1fr; column-gap: clamp(26px, 3.2vw, 56px);
    padding-top: calc(var(--nav-h) + 8svh); padding-bottom: 6svh;
  }
  .home__title { font-size: clamp(4rem, 7.15vw, 9rem); margin-bottom: clamp(24px, 6svh, 64px); }
  .reveal__inner { white-space: nowrap; }
  .tw { display: inline-block; }
  .tw--1 { margin-right: 1.1em; }   /* espacio antes de "Destino": la corre a la derecha (y la cámara la sigue) */
  .home__cats { grid-column: 1; grid-row: 3; margin: 0 0 18px; }
  .home__lead { grid-column: 1; grid-row: 4; margin-bottom: 30px; }
  .home__actions { grid-column: 1; grid-row: 5; }
  .home__cards { grid-column: 2; grid-row: 3 / 7; min-height: 0; margin: 0; }
  .hcard { padding: 8px 8px 28px; }
  .hcard i { inset: 8px 8px 28px; }
  .hcard--1 { --rot: -8deg; width: 46%; left: 0; top: 14%; }
  .hcard--2 { --rot: 3deg; width: 46%; left: 28%; top: 2%; }
  .hcard--3 { --rot: 9deg; width: 46%; left: 56%; top: 20%; }
  .home__cam { grid-column: 3; grid-row: 1 / -1; --cam-rot: 64; --cam-fit: 1.3; margin: -9svh -3vw -4svh -5vw; }
}

/* Flash de cámara */
.flash { position: fixed; inset: 0; z-index: 200; background: #fff; opacity: 0; pointer-events: none; }

/* ==========================================================================
   06. CINTA ANIMADA  (se pausa cuando no está en pantalla)
   ========================================================================== */
.marquee { overflow: hidden; padding-block: clamp(14px, 2vw, 22px); background: var(--deep); color: var(--on-dark); }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; animation-play-state: paused; }
.marquee.is-visible .marquee__track { animation-play-state: running; }
.marquee__track span { display: inline-flex; align-items: center; gap: clamp(24px, 3.4vw, 52px); padding-inline: clamp(12px, 1.7vw, 26px); font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1; white-space: nowrap; }
.marquee__track span:nth-child(even) { color: var(--gold); }
.marquee__track span::after { content: "✦"; font-size: .4em; color: var(--gold); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   07. PORTAFOLIO  (sin textos sobre las fotos)
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery { columns: 2; column-gap: 10px; }
@media (min-width: 760px) { .gallery { columns: 3; column-gap: 14px; } }
.pf-item {
  position: relative; display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 6px; overflow: hidden;
  break-inside: avoid; background: #e6e0d6; aspect-ratio: var(--ar, 3 / 2); cursor: zoom-in;
  opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms);
}
@media (min-width: 760px) { .pf-item { margin-bottom: 14px; } }
.pf-item.is-in { opacity: 1; transform: none; }
.pf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pf-item:hover img, .pf-item:focus-visible img { transform: scale(1.04); }
.gallery.is-switching .pf-item { opacity: 0; transform: translateY(10px); transition-duration: .25s; transition-delay: 0ms; }
.gallery__more { display: flex; justify-content: center; margin-top: clamp(26px, 4vw, 44px); }
.gallery__more[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 150; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: clamp(12px, 3vw, 40px); background: rgba(24, 24, 22, .96); color: var(--on-dark); opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100svh - 100px); width: auto; height: auto; border-radius: 4px; opacity: 0; transition: opacity .35s; }
.lightbox__figure img.is-loaded { opacity: 1; }
.lightbox__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: var(--on-dark); display: grid; place-content: center; transition: background .3s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__close { position: absolute; right: clamp(12px, 3vw, 32px); top: clamp(12px, 3vw, 32px); z-index: 2; }
@media (max-width: 700px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 20px; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .lightbox__figure img { max-height: calc(100svh - 200px); }
}

/* ==========================================================================
   08. NEGOCIOS
   ========================================================================== */
.bento { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(130px, 24vw, 200px); }
.bento__item {
  position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: var(--deep-2); cursor: zoom-in; border: 0; padding: 0;
  opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms);
}
.bento__item.is-in { opacity: 1; transform: none; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__item:hover img, .bento__item:focus-visible img { transform: scale(1.04); }
.bento__item:nth-child(1) { grid-row: span 2; }
.bento__item:nth-child(4), .bento__item:nth-child(5) { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 11vw, 168px); gap: 14px; }
  .bento__item:nth-child(1) { grid-column: 1 / span 4; grid-row: 1 / span 3; }
  .bento__item:nth-child(2) { grid-column: 5 / span 5; grid-row: 1 / span 2; }
  .bento__item:nth-child(3) { grid-column: 10 / span 3; grid-row: 1 / span 2; }
  .bento__item:nth-child(4) { grid-column: 5 / span 4; grid-row: 3; }
  .bento__item:nth-child(5) { grid-column: 9 / span 4; grid-row: 3; }
}

/* ==========================================================================
   09. SERVICIOS  (pestañas "Sesiones de fotos" / "Negocios" + tarjetas compactas)
   ========================================================================== */
.plans { display: grid; gap: 18px; }
@media (min-width: 1000px) { .plans { grid-template-columns: minmax(250px, 300px) 1fr; gap: 28px; align-items: start; } }
@media (max-width: 999px) {   /* en celular/tablet la nota de cotización va debajo de las tarjetas */
  .plans__side { display: contents; }
  .plans .packages { order: 2; }
  .plans .rate-note { order: 3; margin-top: 0; }
}

.plan-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--cream); }
@media (min-width: 1000px) { .plan-tabs { grid-template-columns: 1fr; gap: 8px; padding: 0; background: none; } }
.plan-tab {
  display: grid; gap: 2px; justify-items: start; text-align: left; padding: 11px 14px; border: 1px solid transparent; border-radius: 12px;
  background: transparent; color: var(--ink-2); font: inherit; cursor: pointer; transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.plan-tab:hover { color: var(--ink); }
.plan-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 18px -10px rgba(43, 47, 54, .35); }
.plan-tab__name { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; line-height: 1.15; }
.plan-tab__sub { display: none; font-size: .82rem; line-height: 1.35; }
.plan-tab__from { font-size: .7rem; font-weight: 500; letter-spacing: .08em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
@media (min-width: 1000px) {
  .plan-tab { position: relative; padding: 18px 20px 18px 24px; border-color: var(--line); background: #fff; }
  .plan-tab::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--deep); transform: scaleY(0); transition: transform .4s var(--ease); }
  .plan-tab[aria-selected="true"] { border-color: var(--deep); box-shadow: var(--shadow); }
  .plan-tab[aria-selected="true"]::before { transform: scaleY(1); }
  .plan-tab__name { font-size: 1.4rem; }
  .plan-tab__sub { display: block; margin: 2px 0 6px; }
}

.packages { display: grid; gap: 14px; }
@media (min-width: 640px) { .packages { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

.pkg {
  position: relative; display: flex; flex-direction: column; padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.fine-pointer .pkg:hover { transform: translateY(-4px); border-color: rgba(43, 47, 54, .28); box-shadow: var(--shadow); }
.pkg__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 24px; margin-bottom: 10px; }
.pkg__num { font-family: var(--serif); font-size: 1rem; color: var(--accent-ink); }
.pkg__badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pkg__badge .icon { width: 10px; height: 10px; }
.pkg__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 1.9vw, 1.7rem); line-height: 1.1; margin-bottom: 8px; }
.pkg__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pkg__cur { font-size: .68rem; font-weight: 500; letter-spacing: .14em; color: var(--ink-2); }
.pkg__amount { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 2.4vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.pkg__label { margin: 0 0 8px; font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.pkg__features { display: grid; gap: 6px; margin-bottom: 18px; font-size: .9rem; }
.pkg__features li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.pkg__features .icon { width: .95em; height: .95em; margin-top: .2em; color: var(--accent); flex: none; }
.pkg .btn { margin-top: auto; min-height: 44px; padding-inline: 18px; font-size: .72rem; letter-spacing: .1em; white-space: nowrap; }
.pkg--popular { background: var(--deep); color: var(--on-dark); border-color: var(--deep); }
.pkg--popular .pkg__num, .pkg--popular .pkg__features .icon { color: var(--gold); }
.pkg--popular .pkg__cur, .pkg--popular .pkg__label { color: var(--on-dark-2); }
.pkg--popular .pkg__price { border-color: var(--line-dark); }
/* al cambiar de pestaña, las tarjetas entran suave */
.pkg--swap { animation: pkg-swap .55s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes pkg-swap { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

.rate-note { margin: 14px 0 0; font-size: .8rem; color: var(--ink-2); }
@media (min-width: 1000px) { .rate-note { margin-top: 18px; padding-inline: 4px; } }

/* ==========================================================================
   10. LO QUE SE SIENTE
   ========================================================================== */
.feel__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 960px) { .feel__grid { grid-template-columns: 7fr 5fr; } }
.feel__phrase { margin: 0 0 22px; font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.04; letter-spacing: -.012em; }
.feel__phrase .fw { opacity: .2; transition: opacity .3s linear; }
.feel__phrase .fw.is-lit { opacity: 1; }
.feel__phrase .fk { color: var(--accent-ink); display: inline-block; transform-origin: 50% 80%; }
html:not(.js) .feel__phrase .fw, html.reduce-motion .feel__phrase .fw { opacity: 1; }
.feel__copy > p:not(.eyebrow) { color: var(--ink-2); max-width: 34rem; }
.feel__photo { margin: 0; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 5; background: #e6e0d6; box-shadow: var(--shadow); }
.feel__photo img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; }
.stats dd { order: 1; margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stats dt { order: 2; font-size: .7rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); line-height: 1.45; }

/* ==========================================================================
   11. SOBRE MÍ
   ========================================================================== */
.about__grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 6fr 5fr; } }
.about__media { perspective: 1200px; }
.about__tilt { position: relative; padding: 0 0 12% 0; transform-style: preserve-3d; }
.about__photo { margin: 0; overflow: hidden; border-radius: 10px; background: #e6e0d6; box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { width: 76%; aspect-ratio: 1; }
.about__photo--second { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; border: 7px solid var(--cream); }
.about__sheen { position: absolute; inset: 0 24% 12% 0; border-radius: 10px; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, .22), transparent 60%); }
.fine-pointer .about__media:hover .about__sheen { opacity: 1; }
.about__copy p:not(.lead):not(.eyebrow) { color: var(--ink-2); }
.about__copy .lead { margin-top: 20px; }
.about__copy .btn { margin-top: 10px; }

/* ==========================================================================
   12. EDICIÓN INVISIBLE (antes / después)
   ========================================================================== */
.ba__grid { display: grid; gap: clamp(26px, 4vw, 64px); align-items: center; }
@media (min-width: 960px) { .ba__grid { grid-template-columns: 4fr 6fr; } }
.ba__copy .lead { margin-top: 14px; color: var(--ink); }
.ba__copy p:not(.eyebrow):not(.lead) { color: var(--ink-2); max-width: 25rem; }
.ba__legend { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.ba__legend i { width: 40px; height: 1px; background: currentColor; }
.compare { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; max-width: 760px; width: 100%; justify-self: end; background: #e6e0d6; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare__handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .5); }
.compare__handle i::before, .compare__handle i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px; border: 5px solid transparent; }
.compare__handle i::before { left: 8px; border-right-color: var(--ink); }
.compare__handle i::after { right: 8px; border-left-color: var(--ink); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within .compare__handle i { outline: 2px solid var(--accent); }

/* ==========================================================================
   13. OPINIONES
   ========================================================================== */
.rating-summary { display: flex; align-items: center; gap: 16px; }
.rating-summary__num { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 5vw, 4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.rating-summary__count { margin: 4px 0 0; font-size: .86rem; color: var(--on-dark-2); }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.stars svg.is-off { color: rgba(245, 241, 236, .25); }

.reviews__layout { display: grid; gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (min-width: 1000px) { .reviews__layout { grid-template-columns: minmax(0, 1fr) 350px; } .rv-panel { position: sticky; top: calc(var(--nav-h) + 20px); } }
.reviews__list { display: grid; gap: 12px; align-items: start; grid-template-columns: 1fr; }
@media (min-width: 680px) { .reviews__list { grid-template-columns: 1fr 1fr; } }
.review {
  position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0;
  padding: clamp(16px, 1.6vw, 20px); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06);
  opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms), border-color .3s;
}
.review.is-in { opacity: 1; transform: none; }
.review:hover { border-color: rgba(230, 214, 178, .5); }
.review__head { display: flex; justify-content: space-between; align-items: center; }
.review__q { width: 20px; height: 20px; color: rgba(230, 214, 178, .55); }
.review__text { flex: 1; margin: 0; font-size: .92rem; line-height: 1.55; color: var(--on-dark); overflow-wrap: anywhere; white-space: pre-line; }
.review__foot { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line-dark); }
.review__who { min-width: 0; flex: 1; display: grid; }
.review__who strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review__who span { font-size: .74rem; color: var(--on-dark-2); }
.review__tag { margin-left: 8px; font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.review__del { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark-2); display: grid; place-content: center; transition: color .3s, border-color .3s; }
.review__del:hover { color: #ffd2c8; border-color: #ffd2c8; }
.review--invite { justify-content: center; align-items: flex-start; gap: 8px; border-style: dashed; background: transparent; }
.review--invite strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.15; }
.review--invite p { margin: 0 0 4px; color: var(--on-dark-2); font-size: .86rem; }
.reviews__empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 44px 22px; text-align: center; border: 1px dashed var(--line-dark); border-radius: var(--radius-lg); color: var(--on-dark-2); }
.reviews__empty .icon { width: 36px; height: 36px; color: var(--gold); }
.reviews__empty strong { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--on-dark); }
.reviews__more { display: flex; justify-content: center; margin-top: 20px; }

.avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-content: center; background: var(--gold); color: var(--ink); font-weight: 600; font-size: .86rem; letter-spacing: .04em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Panel para dejar la opinión: compacto, para que no quede un hueco grande al lado de las opiniones */
.rv-panel { padding: clamp(18px, 2vw, 24px); border-radius: var(--radius-lg); background: var(--deep-2); border: 1px solid var(--line-dark); }
.rv-out { display: grid; justify-items: start; }
.rv-out__icon { display: grid; place-content: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 50%; background: rgba(230, 214, 178, .16); color: var(--gold); }
.rv-out__icon .icon { width: 20px; height: 20px; }
.rv-panel__title { margin-bottom: 6px; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.12; }
.rv-panel__text { margin-bottom: 16px; color: var(--on-dark-2); font-size: .9rem; }
.rv-panel__actions { display: grid; gap: 8px; width: 100%; }
.rv-panel__fine { margin: 12px 0 0; font-size: .76rem; color: var(--on-dark-2); }
.demo-badge { display: block; margin: 0 0 14px; padding: 7px 10px; border: 1px dashed rgba(230, 214, 178, .55); border-radius: 10px; font-size: .74rem; line-height: 1.4; color: var(--on-dark-2); }
.demo-badge[hidden] { display: none; }
.demo-badge strong { margin-right: 6px; color: var(--gold); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.rv-user { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.rv-user .avatar { width: 34px; height: 34px; font-size: .74rem; }
.rv-user__info { min-width: 0; flex: 1; display: grid; }
.rv-user__info strong { font-weight: 500; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-user__info span { font-size: .74rem; color: var(--on-dark-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-form .field { margin-bottom: 10px; }
.rv-form .field > span { margin-bottom: 5px; }

/* foto (opcional) + nombre completo, en una sola fila */
.rv-id { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: end; }
.rv-id .field { margin: 0; }
.rv-id input { padding: 10px 12px; }
.rv-photo { position: relative; }
.field input.sr-only, .rv-photo input.sr-only { width: 1px; height: 1px; padding: 0; border: 0; }
.rv-photo__pick { position: relative; display: block; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; }
.avatar--lg { width: 54px; height: 54px; font-size: 1rem; }
.rv-photo__cam { position: absolute; right: -3px; bottom: -3px; display: grid; place-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink); border: 2px solid var(--deep-2); transition: transform .3s var(--ease); }
.rv-photo__cam .icon { width: 11px; height: 11px; }
.rv-photo__pick:hover .rv-photo__cam { transform: scale(1.12); }
.rv-photo input:focus-visible + .rv-photo__pick { outline: 2px solid var(--gold); outline-offset: 3px; }
.rv-photo__note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 7px 0 12px; font-size: .74rem; line-height: 1.4; color: var(--on-dark-2); }
.rv-photo__note .link-line { font-size: .74rem; }

/* calificación: título y estrellas en la misma línea */
.star-input { display: flow-root; margin: 0 0 8px; padding: 0; border: 0; }
.star-input legend { float: left; margin: 9px 0 0; padding: 0; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.star-input__row { float: right; display: inline-flex; gap: 0; }
.star-input__row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.star-input__row label { padding: 4px; border-radius: 4px; color: rgba(245, 241, 236, .28); cursor: pointer; transition: color .2s; }
.star-input__row label svg { display: block; width: 25px; height: 25px; }
.star-input__row[data-v="1"] label:nth-of-type(-n+1), .star-input__row[data-v="2"] label:nth-of-type(-n+2),
.star-input__row[data-v="3"] label:nth-of-type(-n+3), .star-input__row[data-v="4"] label:nth-of-type(-n+4),
.star-input__row[data-v="5"] label:nth-of-type(-n+5) { color: var(--gold); }
.star-input__row input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 1px; }
.rv-form textarea { min-height: 88px; padding: 10px 12px; }
.rv-form .form-msg { margin-bottom: 8px; min-height: 0; }
.rv-form .form-msg:empty { display: none; }
.rv-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rv-form__actions .btn { min-height: 44px; }
.rv-form__count { margin-left: auto; font-size: .74rem; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   15. CONTACTO Y PIE
   ========================================================================== */
.contact__grid { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 5fr 6fr; align-items: start; } }
.contact__info .lead { margin-top: 18px; color: var(--ink-2); max-width: 30rem; }
.contact__list { margin: 24px 0; border-top: 1px solid var(--line); }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact__list .icon { width: 19px; height: 19px; margin-top: 4px; color: var(--accent); }
.contact__list span { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.contact__list a, .contact__list p { margin: 0; font-size: 1rem; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__form { padding: clamp(22px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line); }
.contact__form-title { margin-bottom: 18px; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }

.footer { background: var(--deep); color: var(--on-dark); padding: clamp(48px, 6vw, 84px) 0 26px; overflow: hidden; }
.footer__top { display: grid; gap: 24px; align-items: end; margin-bottom: clamp(30px, 4vw, 52px); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1fr auto; } }
.footer__mark { margin: 0; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(2.2rem, 7vw, 6.4rem); line-height: .95; }
.footer__mark span { font-family: var(--script); font-weight: 400; text-transform: none; font-size: 1.28em; color: var(--gold); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .86rem; color: var(--on-dark-2); }
.footer__row p { margin: 0; }
.footer__credit { flex-basis: 100%; order: 9; font-size: .74rem; opacity: .75; }
.footer__credit a { color: inherit; }
.footer__row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__row nav a { text-decoration: none; transition: color .3s; }
.footer__row nav a:hover { color: var(--on-dark); }

/* ==========================================================================
   16. WHATSAPP FLOTANTE Y MODAL
   ========================================================================== */
.wa-float {
  position: fixed; z-index: 90; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-content: center;
  box-shadow: 0 10px 24px -10px rgba(18, 140, 126, .7); transition: opacity .5s, transform .4s var(--ease);
}
.wa-float .icon { width: 27px; height: 27px; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float.is-away { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }

.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; background: rgba(24, 24, 22, .66); opacity: 0; transition: opacity .3s var(--ease); }
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal__box { position: relative; width: min(440px, 100%); max-height: 100%; overflow: auto; padding: clamp(26px, 5vw, 40px); border-radius: 16px; background: var(--paper); transform: translateY(16px); transition: transform .45s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__box .h3 { margin-bottom: 20px; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-content: center; }
.modal__close:hover { background: var(--ink); color: var(--cream); }
.modal [hidden] { display: none; }

/* ==========================================================================
   17. ANIMACIONES DE APARICIÓN (clase .is-in desde script.js; solo transform/opacity)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { transform: translateY(26px) scale(.98); }
.js [data-reveal="clip"].is-in { transform: none; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .03em .14em; margin: -.1em -.03em -.14em; }
[data-split] .w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(105%); transition: transform .9s var(--ease-out) calc(var(--i, 0) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }

.js .pkg { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease) var(--d, 0ms), translate .8s var(--ease) var(--d, 0ms), transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.js .pkg.is-in { opacity: 1; translate: 0 0; }

/* ==========================================================================
   18. MOVIMIENTO REDUCIDO: todo directo, sin animaciones
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-split] .w > span, .js .pkg, .pf-item, .review, .bento__item { opacity: 1 !important; transform: none !important; translate: none !important; }
  .marquee__track { animation: none; }
}
