/* ==========================================================================
   Studio Élan — demo conceptual
   Dirección de arte: marfil, crema, espresso y oro. Belleza editorial.
   Tipografías: Cormorant Garamond (display) + Jost (texto). Todas OFL, locales.
   ========================================================================== */

/* ---------- Fuentes locales (SIL OFL, alojadas en /assets/fonts) -------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens (paleta de la demo) ---------- */
:root {
  --ivory: #f6f1e7;
  --cream: #ece3d2;
  --sand: #ddd0b8;
  --espresso: #211a12;
  --cocoa: #3b3226;
  --taupe: #8c7c66;
  --gold: #b08d57;
  --gold-soft: #cbb07e;
  --linea-oscura: rgba(33, 26, 18, 0.1);
  --linea-oscura-2: rgba(33, 26, 18, 0.2);
  --linea-clara: rgba(246, 241, 231, 0.1);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Jost", system-ui, "Helvetica Neue", Arial, sans-serif;

  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sec--reservas :focus-visible,
.footer :focus-visible,
.lightbox :focus-visible,
.mobile-menu :focus-visible {
  outline-color: var(--gold-soft);
}

/* ---------- Utilidades ---------- */
.container {
  width: min(1280px, 100% - clamp(2.5rem, 8vw, 4rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--espresso);
  color: var(--ivory);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Eyebrow: línea dorada + versalitas espaciadas */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow--gold {
  color: var(--gold-soft);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 1.4rem;
  text-wrap: balance;
}

.h2 em,
.hero-title em,
.form-title em,
.form-exito-title em,
.footer-word em,
.mobile-menu-brand em,
.testimonial p em {
  font-style: italic;
  color: var(--gold);
}

.h2--ivory {
  color: var(--ivory);
}

.h2--ivory em {
  color: var(--gold-soft);
}

.h2--max {
  max-width: 42rem;
}

.sec-note {
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(59, 50, 38, 0.8);
}

.sec-note--block {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-top: 1.6rem;
  max-width: 46rem;
}

.tag {
  flex-shrink: 0;
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  border: 1px solid currentColor;
  padding: 0.35em 0.7em;
  vertical-align: middle;
  transform: translateY(-2px);
}

.tag--gold {
  color: var(--gold-soft);
}

.tag--inline {
  font-size: 0.56rem;
  padding: 0.3em 0.6em;
  transform: translateY(-0.35em);
}

/* Subrayado editorial animado */
.elan-link {
  position: relative;
  text-decoration: none;
}

.elan-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.elan-link:hover::after,
.elan-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.demo-flag {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: rgba(246, 241, 231, 0.55);
}

/* ---------- Botones (esquinas rectas, versalitas espaciadas) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 1rem 2.25rem;
  border: 1px solid var(--espresso);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--espresso);
  color: var(--ivory);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ivory);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.header.is-solid {
  background: rgba(246, 241, 231, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--linea-oscura);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand .brand-accent,
.mobile-menu-brand em {
  color: var(--gold);
}

.mobile-menu-brand em {
  color: var(--gold-soft);
}

.demo-chip {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  border: 1px solid rgba(140, 124, 102, 0.55);
  padding: 0.3em 0.6em;
  white-space: nowrap;
}

.nav ul {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(33, 26, 18, 0.8);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--espresso);
}

.header-cta {
  min-height: 42px;
  padding: 0.62rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-ico {
  width: 26px;
  height: 26px;
}

/* ---------- Menú móvil (pantalla completa, espresso) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--espresso);
  color: var(--ivory);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

.mobile-menu-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.4rem;
  padding-inline: clamp(2rem, 8vw, 3rem);
}

.mobile-menu-nav ul {
  display: grid;
  gap: 0.5rem;
}

.mobile-menu-nav ul a {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 9vw, 3rem);
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu-nav ul a:hover,
.mobile-menu-nav ul a:focus-visible {
  color: var(--gold-soft);
  font-style: italic;
}

.mobile-menu-nav .btn {
  align-self: flex-start;
}

.mobile-menu-note {
  padding: 0 2rem 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.5);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ivory);
  padding-top: calc(var(--header-h) + 3rem);
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  padding-bottom: 4rem;
}

.hero-copy {
  align-self: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 6.8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 1.6rem;
  text-wrap: balance;
}

.hero-lead {
  margin-top: 1.9rem;
  max-width: 28rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: rgba(59, 50, 38, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.hero-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--espresso);
}

.hero-meta {
  margin-top: 3.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* Composición fotográfica del hero */
.hero-visual {
  position: relative;
}

.hero-fig {
  position: relative;
  margin-left: auto;
  width: 86%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream);
}

.hero-fig img,
.estudio-fig img,
.estudio-fig-2 img,
.hero-fig-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fig-2 {
  position: absolute;
  bottom: -2rem;
  left: 0;
  width: 46%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 10px solid var(--ivory);
  background: var(--cream);
}

.hero-vertical {
  position: absolute;
  left: -2.2rem;
  bottom: 2.5rem;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--taupe);
  white-space: nowrap;
}

/* Stats bajo el hero */
.stats {
  border-top: 1px solid var(--linea-oscura);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  padding-block: 2.5rem;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  color: var(--espresso);
}

.stat-label {
  max-width: 7.5rem;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- Marquee editorial ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(176, 141, 87, 0.3);
  background: var(--espresso);
  color: var(--ivory);
  padding-block: 1rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-inline: 1rem;
  white-space: nowrap;
}

.marquee-group span {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: 0.02em;
}

.marquee-star {
  color: var(--gold);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Secciones ---------- */
.sec {
  padding-block: clamp(5rem, 10vw, 7rem);
}

/* El estudio */
.sec--estudio {
  background: var(--ivory);
}

.grid-2 {
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
}

.estudio-texto .lead-p {
  max-width: 36rem;
  line-height: 1.7;
  color: rgba(59, 50, 38, 0.85);
}

.estudio-texto .lead-p + .lead-p {
  margin-top: 1.25rem;
}

.estudio-lista {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.estudio-lista li {
  display: flex;
  gap: 1.25rem;
  border-bottom: 1px solid var(--linea-oscura);
  padding-bottom: 1.25rem;
}

.lista-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--gold);
}

.estudio-lista p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.estudio-lista strong {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.lista-desc {
  color: rgba(59, 50, 38, 0.7);
}

/* Composición doble del estudio */
.estudio-visual {
  position: relative;
}

.estudio-fig {
  position: relative;
  width: 78%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream);
}

.estudio-fig-2 {
  position: absolute;
  bottom: -2.5rem;
  right: 0;
  width: 46%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 10px solid var(--ivory);
  background: var(--cream);
  box-shadow: 0 24px 60px -30px rgba(33, 26, 18, 0.45);
}

/* Servicios (crema) */
.sec--servicios {
  background: var(--cream);
}

.sec-head-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.srv-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.75rem;
}

.srv-card {
  display: block;
  text-decoration: none;
}

.srv-fig {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.srv-fig--tall {
  aspect-ratio: 4 / 5;
}

.srv-fig--wide {
  aspect-ratio: 4 / 3;
}

.srv-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.srv-card:hover .srv-fig img,
.srv-card:focus-visible .srv-fig img {
  transform: scale(1.06);
}

/* Velo degradado sobre la foto */
.srv-fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33, 26, 18, 0.7), rgba(33, 26, 18, 0.05) 55%, transparent);
  opacity: 0.8;
  transition: opacity 0.5s ease;
}

.srv-card:hover .srv-fig::after,
.srv-card:focus-visible .srv-fig::after {
  opacity: 0.95;
}

.srv-num {
  position: absolute;
  z-index: 1;
  top: 1.25rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: rgba(246, 241, 231, 0.9);
}

.srv-arrow {
  position: absolute;
  z-index: 1;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 241, 231, 0.4);
  color: var(--ivory);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.srv-arrow svg {
  width: 18px;
  height: 18px;
}

.srv-card:hover .srv-arrow,
.srv-card:focus-visible .srv-arrow {
  opacity: 1;
  transform: translateY(0);
}

.srv-overlay {
  position: absolute;
  z-index: 1;
  inset-inline: 1.25rem;
  bottom: 1.25rem;
}

.srv-overlay h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 1.7rem);
  line-height: 1.15;
  color: var(--ivory);
}

.srv-precio {
  margin-top: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.srv-desc {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(59, 50, 38, 0.8);
}

/* Galería (marfil, masonry) */
.sec--galeria {
  background: var(--ivory);
}

.gal {
  margin-top: 3.5rem;
  columns: 2;
  column-gap: 1rem;
}

.gal-item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
  background: var(--cream);
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
}

.gal-item:nth-child(5n + 1) {
  aspect-ratio: 3 / 4;
}

.gal-item:nth-child(3n + 1):not(:nth-child(5n + 1)) {
  aspect-ratio: 1 / 1;
}

.gal-item:not(:nth-child(5n + 1)):not(:nth-child(3n + 1)) {
  aspect-ratio: 4 / 5;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gal-item:hover img,
.gal-item:focus-visible img {
  transform: scale(1.05);
}

.gal-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(33, 26, 18, 0.8), transparent);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ivory);
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.gal-item:hover .gal-cap,
.gal-item:focus-visible .gal-cap {
  opacity: 1;
  transform: translateY(0);
}

/* Tarifas (crema) */
.sec--tarifas {
  background: var(--cream);
}

.tarifas-intro .btn {
  margin-top: 2.5rem;
}

.tarifas-listas {
  display: grid;
  gap: 3rem;
}

.tarifa-col h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--linea-oscura-2);
  padding-bottom: 1rem;
}

.tarifa-col ul {
  margin-top: 0.5rem;
}

.tarifa-col li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dotted rgba(33, 26, 18, 0.25);
  padding-block: 0.9rem;
}

.tarifa-item {
  font-size: 0.92rem;
  color: rgba(59, 50, 38, 0.9);
}

.tarifa-precio {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--espresso);
  white-space: nowrap;
}

.tarifa-nota {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--taupe);
}

/* Testimonios (marfil) */
.sec--testimonios {
  background: var(--ivory);
  padding-block: clamp(5rem, 10vw, 7rem);
}

.testimonial {
  max-width: 56rem;
  text-align: center;
}

.testimonial-mark {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 3.75rem;
  line-height: 0.6;
  color: var(--gold);
}

.testimonial blockquote p {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.25;
  color: var(--espresso);
}

.testimonial-autor {
  margin-top: 2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* Reservas (espresso) */
.sec--reservas {
  background: var(--espresso);
  color: var(--ivory);
}

.reservas-lead {
  margin-top: 1.9rem;
  max-width: 28rem;
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.7);
}

.reservas-datos {
  margin-top: 3rem;
  display: grid;
  gap: 1.75rem;
}

.reservas-datos > div {
  border-bottom: 1px solid var(--linea-clara);
  padding-bottom: 1.5rem;
}

.reservas-datos dt {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.45);
}

.reservas-datos dd {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: rgba(246, 241, 231, 0.9);
}

.reservas-datos a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.reservas-datos a:hover,
.reservas-datos a:focus-visible {
  color: var(--gold-soft);
}

.reservas-social {
  display: flex;
  gap: 1.75rem;
  margin-top: 2.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.6);
}

.reservas-social a:hover,
.reservas-social a:focus-visible {
  color: var(--gold-soft);
}

/* Formulario de reserva */
.reservas-form-wrap {
  align-self: start;
}

.reservas-form {
  border: 1px solid rgba(246, 241, 231, 0.15);
  background: rgba(59, 50, 38, 0.6);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.form-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ivory);
}

.form-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.75rem;
}

.form-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.6);
}

.form-field input,
.form-field select {
  margin-top: 0.5rem;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(246, 241, 231, 0.25);
  border-radius: 0;
  background: transparent;
  padding: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ivory);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-field input::placeholder {
  color: rgba(246, 241, 231, 0.3);
}

.form-field input:focus,
.form-field select:focus {
  border-bottom-color: var(--gold-soft);
}

.form-field select {
  cursor: pointer;
}

.form-field select option {
  color: var(--espresso);
  background: var(--ivory);
}

.form-field input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
}

.form-error {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--gold-soft);
}

.form-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.form-note {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(246, 241, 231, 0.5);
}

/* Pantalla de éxito simulada */
.form-exito {
  border: 1px solid rgba(176, 141, 87, 0.4);
  background: var(--espresso);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.form-exito-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.form-exito-title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  color: var(--ivory);
}

.form-exito-title em {
  color: var(--gold-soft);
}

.form-exito-texto {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.7);
}

.form-exito-texto strong {
  font-weight: 500;
  color: var(--ivory);
}

.form-exito-demo {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 231, 0.45);
}

.form-otra {
  margin-top: 2rem;
  display: inline-block;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--espresso);
  color: var(--ivory);
  border-top: 1px solid var(--linea-clara);
  padding: 4rem 0 2rem;
}

.footer-word {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 13vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(246, 241, 231, 0.95);
}

.footer-nav {
  margin-top: 3rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 1.75rem;
}

.footer-nav a {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 241, 231, 0.55);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold-soft);
}

.footer-row {
  margin-top: 2rem;
  border-top: 1px solid var(--linea-clara);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.45);
}

.footer-legal {
  margin-top: 2rem;
  border-top: 1px solid var(--linea-clara);
  padding-top: 1.6rem;
}

.footer-legal p {
  max-width: 78ch;
  margin-inline: auto;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.55);
}

.footer-legal strong {
  font-weight: 500;
  color: rgba(246, 241, 231, 0.85);
}

.footer-credits {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: rgba(246, 241, 231, 0.4);
}

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1080px, 94vw);
  margin: auto;
}

.lightbox::backdrop {
  background: rgba(23, 18, 12, 0.9);
}

.lightbox[open] {
  animation: lb-in 0.25s ease;
}

@keyframes lb-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lb-figure {
  margin: 0;
}

.lb-figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
}

.lb-cap {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 0.85rem 0.15rem 0;
  font-size: 0.88rem;
  color: rgba(246, 241, 231, 0.65);
}

#lb-counter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

.lb-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.1rem;
}

.lb-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(59, 50, 38, 0.85);
  border: 1px solid var(--linea-clara);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ivory);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lb-btn svg {
  width: 20px;
  height: 20px;
}

.lb-btn:hover,
.lb-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* ---------- Reveals (mejora progresiva; sin JS todo es visible) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.d1 { --d: 120ms; }
.d2 { --d: 220ms; }
.d3 { --d: 320ms; }
.d4 { --d: 420ms; }

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-field--wide {
    grid-column: span 2;
  }

  .form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    border-left: 1px solid var(--linea-oscura);
    padding-left: 1.5rem;
  }

  .stat:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .sec-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .sec-head-row .sec-note {
    text-align: right;
  }

  .srv-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
  }

  .srv-span-3 { grid-column: span 3; }
  .srv-span-2 { grid-column: span 2; }

  .gal {
    columns: 3;
    column-gap: 1.5rem;
  }

  .gal-item {
    margin-bottom: 1.5rem;
  }

  .tarifas-listas {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-row {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 1023px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  /* En móvil el texto del estudio va antes que la composición fotográfica */
  .sec--estudio .estudio-visual {
    order: 2;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 80px;
  }

  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding-bottom: 6rem;
  }

  .hero-copy {
    grid-column: span 7;
  }

  .hero-visual {
    grid-column: span 5;
  }

  .hero-fig {
    width: 92%;
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .estudio-visual {
    order: -1;
  }

  .reservas-info {
    align-self: start;
  }

  .tarifas-grid {
    grid-template-columns: 4fr 8fr;
    align-items: start;
    gap: 5rem;
  }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .marquee-track {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
