/* Invitanding — sitio estático reconstruido */
:root {
  --color-bg: #fdf9f0;
  --color-cream: #fffbf2;
  --color-surface: #ffffff;
  --color-text: #1a2b23;
  --color-muted: #4a4f4e;
  --color-header: #1d3b3b;
  --color-nav-dropdown: var(--color-header);
  --color-green: #2c3e3a;
  --color-green-deep: #233935;
  --color-copper: #b5835a;
  --color-copper-dark: #a6705d;
  --color-cta: #b68261;
  --font: "Poppins", system-ui, sans-serif;
  --radius-pill: 999px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --max: 1140px;
  --sqs-reveal-duration: 0.65s;
  --sqs-reveal-stagger: 0.065s;
  --sqs-reveal-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-cream);
}

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

a {
  color: var(--color-copper);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-text);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-header);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* Inicio: barra sobre el hero, sin fondo y separada del borde superior (como el sitio original) */
.page-home {
  --hero-header-gap: clamp(0.65rem, 1.85vw, 1.2rem);
}

.site-header--over-hero {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--hero-header-gap);
  background: transparent;
  box-shadow: none;
  /* Sin transición: evita parpadeo al corregir estado tras el primer layout */
  transition: none;
}

.site-header--over-hero.site-header--solid {
  top: 0;
  background: var(--color-header);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.site-header--over-hero:not(.site-header--solid) .nav-mobile-panel {
  top: calc(var(--hero-header-gap) + 3.65rem);
}

.page-home .hero-fullbleed {
  padding-top: calc(clamp(4rem, 12vw, 7rem) + var(--hero-header-gap) + 2.75rem);
  /* Cierra huecos de subpíxel entre clip del hero y la sección verde */
  margin-bottom: -6px;
}

.page-home .btn-primary,
.page-home .btn-on-hero {
  background: #c17955;
  border-color: #c17955;
  color: #fff;
}

.page-home .btn-primary:hover {
  background: #a86a47;
  border-color: #a86a47;
  color: #fff;
}

.page-home .btn-on-hero:hover {
  filter: brightness(0.94);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding-inline: 1.25rem;
}

/* Historia: barra transparente sobre el verde (como Squarespace); al bajar, fondo oscuro */
.page-historia .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: transparent;
  box-shadow: none;
  transition: background 0.28s ease, box-shadow 0.28s ease, padding-top 0.28s ease;
}

.page-historia .site-header:not(.is-header-scrolled) {
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(1.35rem, 3.5vw, 2.5rem));
}

.page-historia .site-header.is-header-scrolled {
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--color-header);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-historia .site-header:not(.is-header-scrolled) .nav-desktop a,
.page-historia .site-header:not(.is-header-scrolled) .nav-label {
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}

.page-historia .site-header:not(.is-header-scrolled) .nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-historia .site-header:not(.is-header-scrolled) .nav-desktop a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}

.page-historia .site-header:not(.is-header-scrolled) .nav-mobile-panel {
  top: calc(env(safe-area-inset-top, 0px) + clamp(4.75rem, 10vw, 7rem));
}

.page-historia .site-header.is-header-scrolled .nav-mobile-panel {
  top: calc(env(safe-area-inset-top, 0px) + 3.75rem);
}

.logo img {
  height: 40px;
  width: auto;
}

@media (min-width: 900px) {
  .logo img {
    height: 48px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a,
.nav-label {
  color: #eee;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
}

.nav-label {
  cursor: default;
  user-select: none;
}

.nav-desktop a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-item {
  position: relative;
}

.nav-item details {
  border: none;
}

.nav-item summary {
  list-style: none;
  cursor: pointer;
}

.nav-item summary::-webkit-details-marker {
  display: none;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  background: var(--color-nav-dropdown);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 0.55rem 1rem;
  color: #eee;
  font-size: 1.02rem;
}

.nav-submenu a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-cta {
  display: none;
}

@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--color-copper);
  color: #fff;
  border-color: var(--color-copper);
}

.btn-primary:hover {
  background: #9d6f4a;
  border-color: #9d6f4a;
  color: #fff;
}

.btn-on-hero {
  background: var(--color-copper);
  color: #fff;
  border-color: var(--color-copper);
  margin-top: 0.5rem;
}

.btn-on-hero:hover {
  filter: brightness(1.05);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Mobile nav */
.nav-toggle {
  display: flex;
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

#nav-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.nav-mobile-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 56px;
  z-index: 150;
  background: var(--color-nav-dropdown);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

#nav-check:checked ~ .nav-mobile-panel {
  display: flex;
}

.nav-mobile-panel a {
  color: #eee;
  text-decoration: none;
  padding: 0.65rem 0;
  font-size: 1.08rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.nav-mobile-panel a:hover,
.nav-mobile-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.nav-mobile-panel .sub {
  padding-left: 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: #ccc;
}

.nav-mobile-panel .nav-mobile-heading {
  display: block;
  color: #888;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.5rem 0 0;
  letter-spacing: 0.02em;
}

/* —— Sections —— */
section {
  padding: clamp(2.75rem, 7vw, 5rem) 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 52ch;
}

.text-center {
  text-align: center;
}

.text-center .section-lead {
  margin-inline: auto;
}

/*
 * Hero → verde: clip SVG (Bézier) para curva orgánica tipo “shape divider”.
 */
.hero-fullbleed {
  position: relative;
  z-index: 2;
  min-height: min(82vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 12vw, 7rem) 1.25rem;
  -webkit-clip-path: url(#hero-wave-bottom);
  clip-path: url(#hero-wave-bottom);
  transform: translateZ(0);
}

.hero-fullbleed__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 28%;
  z-index: 0;
}

.hero-fullbleed__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 26, 0.35) 0%, rgba(20, 28, 26, 0.5) 100%);
  z-index: 1;
}

.hero-fullbleed__inner {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  flex: 0 1 auto;
  width: min(100%, 36rem);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-fullbleed h1,
.hero-fullbleed__title {
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1.75rem;
  padding: 0;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 419px) {
  .hero-fullbleed__title {
    font-size: clamp(1.5rem, 5.4vw, 2.85rem);
  }
}

/* Bloques verde bosque */
.section-dark {
  background: #1d3b3b;
  color: #fff;
  position: relative;
}

/*
 * Sin clip en el verde: si recortamos arriba, la zona “vacía” muestra el crema del body.
 * Solo el hero lleva la ola; el verde sube por detrás y rellena lo transparente del clip.
 */
.section-dark--slant-top {
  z-index: 1;
  margin-top: -100px;
  padding-top: calc(100px + clamp(4rem, 10vw, 6rem));
  transform: translateZ(0);
}

/* Franja del mismo verde por encima del bloque: tapa el fondo crema entre ola SVG y sección */
.section-dark--slant-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 22px;
  background: #1d3b3b;
  pointer-events: none;
}

.section-dark__second {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

.section-dark .section-title,
.section-dark h2 {
  color: #fff;
}

.section-dark .section-lead,
.section-dark p {
  color: rgba(255, 255, 255, 0.92);
}

.section-dark a.btn-primary {
  margin-top: 1rem;
}

.split-pair {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 880px) {
  .split-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.circle-media {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: min(100%, 440px);
  margin-inline: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.circle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-circle-wrap {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: min(100%, 460px);
  margin-inline: auto;
  background: #f3eee6;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.mockup-circle-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-dark__copy p {
  margin: 0 0 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}

.section-dark__copy .lead-strong {
  display: inline;
  font-weight: 700;
  color: #fff;
  border-bottom: 4px solid var(--color-copper);
  padding-bottom: 3px;
}

@media (max-width: 640px) {
  .hero-fullbleed {
    min-height: 68vh;
    -webkit-clip-path: url(#hero-wave-bottom);
    clip-path: url(#hero-wave-bottom);
  }

  .section-dark--slant-top {
    margin-top: -64px;
    padding-top: calc(64px + 3.5rem);
  }

  .section-dark--slant-top::before {
    top: -14px;
    height: 18px;
  }

  .page-home .hero-fullbleed {
    margin-bottom: -5px;
  }

  .section-green-cards {
    clip-path: polygon(0% 40px, 50% 22px, 100% 0%, 100% 100%, 0% 100%);
    padding-top: calc(40px + clamp(2.75rem, 7vw, 5rem)) !important;
    padding-bottom: clamp(2.75rem, 7vw, 5rem) !important;
  }

  .cta-photo {
    min-height: 58vh;
    padding: clamp(4rem, 10vw, 6rem) 1.25rem clamp(3.5rem, 9vw, 5rem);
    clip-path: polygon(
      0% 0%,
      100% 0%,
      100% calc(100% - 32px),
      50% calc(100% - 20px),
      0% calc(100% - 28px)
    );
  }
}

/* Sección características (crema + iconos cobre) */
.section-cream {
  background: var(--color-cream);
}

/* Anti-sutura mínima entre verde y crema (sin clip extra aquí) */
.section-cream--below-green {
  margin-top: -1px;
}

.features-heading {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 600;
  text-align: center;
  color: var(--color-copper);
  max-width: 38ch;
  margin: 0 auto 2.75rem;
  line-height: 1.35;
}

.feature-grid {
  display: grid;
  gap: 2.25rem 2rem;
}

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

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-tile {
  text-align: center;
  padding: 0 0.35rem;
}

.feature-tile__icon {
  width: clamp(72px, 12vw, 96px);
  height: clamp(72px, 12vw, 96px);
  margin: 0 auto 1.25rem;
  color: var(--color-copper);
}

.feature-tile__icon svg {
  width: 100%;
  height: 100%;
}

.feature-tile h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--color-text);
}

.feature-tile p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* Transición 3 → 4: solo borde superior inclinado + ligera curva; inferior recto (banda confianza recta) */
.section-green-cards {
  margin-top: -1px;
  padding-top: calc(48px + clamp(2.75rem, 7vw, 5rem));
  padding-bottom: clamp(2.75rem, 7vw, 5rem);
  background: #1d3b3b;
  color: #fff;
  clip-path: polygon(0% 48px, 50% 26px, 100% 0%, 100% 100%, 0% 100%);
}

.section-green-cards .section-title {
  color: #fff;
  font-size: clamp(1.95rem, 4.2vw, 2.75rem);
  font-weight: 600;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.22;
}

.section-green-cards .section-title--twoline {
  max-width: 30ch;
}

.section-green-cards__subhead {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  margin-bottom: 0;
}

.section-green-cards__subhead .section-title {
  max-width: 20ch;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 880px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
    margin-inline: auto;
  }
}

.price-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  height: 100%;
}

.price-card-cta {
  flex-shrink: 0;
}

.price-card {
  background: #fff;
  border-radius: 2px;
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  flex: 1;
}

.price-card .title-sketch {
  margin-bottom: 1rem;
}

.price-card .card-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  margin: 0 0 1.1rem;
  line-height: 1.55;
}

.price-card ul {
  margin: 0;
  padding-left: 1.15rem;
  flex: 1;
  font-size: 0.88rem;
  color: var(--color-text);
  text-align: left;
  width: 100%;
  max-width: 100%;
}

/* Definiciones SVG de óvalos (ocultas, solo para <use>) */
.svg-defs-ovals {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Títulos con óvalo tipo rotulador (SVG irregular, no bordes CSS) */
.title-sketch {
  position: relative;
  display: inline-block;
  padding: 0.42rem 1.35rem 0.55rem;
  margin: 0 auto 0.25rem;
  z-index: 0;
}

.title-sketch__ring {
  position: absolute;
  left: -12px;
  right: -12px;
  top: -8px;
  bottom: -10px;
  width: calc(100% + 24px);
  height: calc(100% + 18px);
  overflow: visible;
  pointer-events: none;
}

.title-sketch__txt {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: clamp(1.08rem, 2.1vw, 1.28rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

/* Línea corta: “Paquete” / “Premium” */
.title-sketch--narrow .title-sketch__ring {
  left: -10px;
  right: -10px;
  top: -7px;
  bottom: -8px;
  width: calc(100% + 20px);
  height: calc(100% + 15px);
}

.price-title-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 0.75rem;
  gap: 0;
}

.price-title-premium .title-sketch--overlap {
  margin-top: -0.5rem;
}

/* Banda confianza (crema, texto oscuro) */
.band-trust {
  background: var(--color-bg);
  color: #2d3e3b;
  text-align: center;
  padding: clamp(4rem, 12vw, 7rem) 1.25rem;
}

.band-trust h2 {
  margin: 0 auto;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.45;
  max-width: 38ch;
  font-weight: 500;
}

/* Transición última sección → footer: solo borde inferior inclinado + ligera curva; arriba recto */
.cta-photo {
  position: relative;
  min-height: min(70vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 10vw, 6rem) 1.25rem clamp(4rem, 10vw, 6rem);
  margin-top: -1px;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(100% - 44px),
    50% calc(100% - 26px),
    0% calc(100% - 40px)
  );
}

.cta-photo__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  z-index: 0;
}

.cta-photo__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 32, 30, 0.42);
  z-index: 1;
}

.cta-photo .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-photo h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1.5rem;
  max-width: 24ch;
  margin-inline: auto;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* Footer estilo original */
.site-footer {
  margin-top: -1px;
  background: var(--color-bg);
  color: #5c534a;
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.92rem;
}

.site-footer--brand {
  margin-bottom: 0.75rem;
}

.site-footer--brand a {
  color: #4a3f38;
  text-decoration: none;
}

.footer-acerca {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.footer-invita {
  position: relative;
  display: inline-block;
  padding: 0 0.2em;
  margin-left: 0.15em;
}

.footer-invita::after {
  content: "";
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  top: -0.1em;
  bottom: -0.1em;
  border: 1.5px solid var(--color-copper-dark);
  border-radius: 50%;
  transform: rotate(-2deg);
  pointer-events: none;
}

.site-footer .footer-copy {
  margin: 0;
  font-size: 0.86rem;
  color: #7a7268;
}

.site-footer__rule {
  border: 0;
  border-top: 1px solid #6e655c;
  margin: 0 auto 1rem;
  max-width: min(100% - 2.5rem, 720px);
  opacity: 0.55;
}

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

/* Página Contacto: hero verde + formulario en bloque blanco (como Squarespace) */
.page-contact:not(.page-contact--thanks) .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: transparent;
  box-shadow: none;
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.page-contact:not(.page-contact--thanks) .site-header.is-header-scrolled {
  background: var(--color-header);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-contact:not(.page-contact--thanks) .site-header:not(.is-header-scrolled) .nav-desktop a,
.page-contact:not(.page-contact--thanks) .site-header:not(.is-header-scrolled) .nav-label {
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}

.page-contact:not(.page-contact--thanks) .site-header:not(.is-header-scrolled) .nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-contact:not(.page-contact--thanks) .site-header:not(.is-header-scrolled) .burger span {
  background: #fff;
}

.page-contact:not(.page-contact--thanks) {
  background: var(--color-cream);
}

.page-contact .contact-page-main {
  background: var(--color-cream);
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.page-contact .contact-page-intro {
  background: #1a332e;
  color: #fff;
  padding: calc(env(safe-area-inset-top, 0px) + clamp(5.25rem, 12vw, 7.75rem)) 0 clamp(2.5rem, 6vw, 4rem);
  margin: 0;
}

.page-contact .contact-page-title {
  text-align: center;
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1.35rem;
  letter-spacing: -0.02em;
}

.page-contact .contact-page-lead {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
}

.page-contact .contact-page-form-section {
  padding: clamp(1.35rem, 4vw, 2.5rem) 0 0;
}

.page-contact .contact-form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  padding: clamp(1.75rem, 6vw, 2.75rem);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border-radius: 0;
}

.page-contact .contact-form__fieldset {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}

.page-contact .contact-form__legend {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.65rem;
  padding: 0;
}

.page-contact .contact-form__name-grid {
  display: grid;
  gap: 1rem 1.25rem;
}

@media (min-width: 600px) {
  .page-contact .contact-form__name-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-contact .contact-form__field {
  margin-bottom: 1.35rem;
}

.page-contact .contact-form__fieldset .contact-form__field {
  margin-bottom: 0;
}

.page-contact .contact-form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.45rem;
}

.page-contact .contact-form__req {
  font-weight: 400;
  color: #7a756d;
  font-size: 0.82rem;
}

.page-contact .contact-form__input,
.page-contact .contact-form__select {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid #c9c4bc;
  border-radius: 0;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-contact .contact-form__input:focus,
.page-contact .contact-form__select:focus {
  outline: none;
  border-color: var(--color-copper-dark);
  box-shadow: 0 0 0 2px rgba(181, 131, 90, 0.22);
}

.page-contact .contact-form__select-wrap {
  position: relative;
}

.page-contact .contact-form__select-wrap::after {
  content: "";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-text);
  pointer-events: none;
  opacity: 0.55;
}

.page-contact .contact-form__select {
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}

.page-contact .contact-form__submit-wrap {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 0.35rem;
}

.page-contact .contact-form__submit {
  min-width: 8.5rem;
  padding-inline: 2.25rem;
}

.page-contact--thanks .contact-thanks-main {
  min-height: 48vh;
  padding: clamp(5.5rem, 12vw, 8.5rem) 1.25rem 3.5rem;
  background: var(--color-cream);
}

.page-contact--thanks .contact-thanks-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.page-contact--thanks .contact-thanks-lead {
  color: var(--color-muted);
  margin: 0 0 2rem;
  max-width: 36ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* —— Historia: hero verde + dos columnas (texto + foto), como el sitio original —— */
body.page-historia {
  background: var(--color-cream);
}

.page-historia .historia-hero-split {
  background: var(--color-green);
  color: #fff;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + clamp(5.5rem, 12vw, 8.5rem)) 0 clamp(2.5rem, 7vw, 4.5rem);
  margin: 0;
}

.page-historia .historia-hero-split__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

@media (min-width: 900px) {
  .page-historia .historia-hero-split__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}

.page-historia .historia-hero-headline {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.38;
  color: #fff;
  text-align: left;
  max-width: 26ch;
  letter-spacing: -0.02em;
}

.page-historia .historia-hero-headline .title-sketch--historia-hero {
  margin: 0 0.12em;
  vertical-align: baseline;
}

.page-historia .historia-hero-headline .title-sketch__txt {
  color: #fff;
  font-weight: 600;
  font-size: 1em;
}

.page-historia .historia-name-line {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.page-historia .historia-name-text {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.page-historia .historia-name-underline {
  position: absolute;
  left: -0.12em;
  right: -0.2em;
  bottom: 0.02em;
  width: calc(100% + 0.32em);
  height: 0.42em;
  overflow: visible;
  pointer-events: none;
}

.page-historia .historia-hero__fig {
  margin: 0;
  justify-self: center;
  max-width: 400px;
  width: 100%;
}

@media (min-width: 900px) {
  .page-historia .historia-hero__fig {
    justify-self: end;
    max-width: min(440px, 40vw);
  }
}

.page-historia .historia-hero__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
}

@media (max-width: 899px) {
  .page-historia .historia-hero-headline {
    max-width: 100%;
    text-align: center;
    margin-inline: auto;
  }
}

.page-historia .historia-prose {
  max-width: 42rem;
  margin-inline: auto;
}

.page-historia .historia-prose p {
  margin: 0 0 1.15rem;
  color: var(--color-muted);
}

.page-historia .historia-prose p.lead {
  font-size: 1.08rem;
  color: var(--color-text);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .page-historia .historia-prose.text-center .btn-primary {
    display: block;
    margin: 0.5rem 0 0 !important;
  }
}

/* Historia: narrativa en tarjetas blancas + CTA en franja verde */
.page-historia .historia-narrative {
  padding: clamp(2.5rem, 7vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
}

.page-historia .historia-narrative__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.page-historia .historia-card {
  max-width: 800px;
  margin-inline: auto;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-historia .historia-card--intro {
  padding: 0;
}

.page-historia .historia-card__intro-body {
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1.5rem, 3.5vw, 2rem);
  text-align: center;
  color: #333;
}

.page-historia .historia-intro__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
}

.page-historia .historia-intro__lead {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.65;
  max-width: 52ch;
  margin-inline: auto;
}

.page-historia .historia-chats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.65rem, 2.5vw, 1.35rem);
  margin-top: clamp(1.75rem, 4vw, 2.35rem);
}

.page-historia .historia-phone {
  flex: 0 1 auto;
  width: min(30vw, 200px);
  max-width: 200px;
  border-radius: 1.35rem;
  border: 2px solid #2a2a2a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  background: #fff;
}

.page-historia .historia-phone--featured {
  width: min(34vw, 232px);
  max-width: 232px;
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  z-index: 1;
}

.page-historia .historia-phone__top {
  background: linear-gradient(180deg, #f7f7f7 0%, #ededed 100%);
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid #d6d6d6;
}

.page-historia .historia-phone__screen {
  min-height: 168px;
  background-color: #e5ddd5;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.015) 2px,
    rgba(0, 0, 0, 0.015) 4px
  );
  padding: 0.55rem 0.45rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.page-historia .historia-phone--featured .historia-phone__screen {
  min-height: 210px;
}

.page-historia .historia-msg {
  margin: 0;
  max-width: 94%;
  padding: 0.4rem 0.5rem;
  border-radius: 0.45rem;
  font-size: clamp(0.58rem, 1.35vw, 0.68rem);
  line-height: 1.38;
  text-align: left;
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.09);
}

.page-historia .historia-msg--in {
  align-self: flex-start;
  background: #fff;
  color: #1a1a1a;
}

.page-historia .historia-msg--out {
  align-self: flex-end;
  background: #dcf8c6;
  color: #1a1a1a;
}

@media (max-width: 640px) {
  .page-historia .historia-phone,
  .page-historia .historia-phone--featured {
    width: min(100%, 200px);
    max-width: 200px;
    transform: none;
  }

  .page-historia .historia-phone--featured {
    order: -1;
    width: min(100%, 220px);
    max-width: 220px;
  }
}

.page-historia .historia-card--text {
  text-align: center;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  color: #333;
  line-height: 1.65;
}

.page-historia .historia-card--text p {
  margin: 0 0 1.35rem;
}

.page-historia .historia-card--text p:last-child {
  margin-bottom: 0;
}

.page-historia .historia-wavy {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #c5e063;
  text-underline-offset: 5px;
}

.page-historia .historia-closing {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.55;
}

.page-historia .historia-cta-band {
  background: var(--color-green);
  color: #fff;
  text-align: center;
  padding: clamp(2.75rem, 7vw, 4.25rem) 1.25rem;
  margin: 0;
}

.page-historia .historia-cta-band .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.page-historia .historia-cta-band h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.2rem, 2.9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  max-width: 38ch;
  color: #fff;
}

/* Compatibilidad con clases antiguas */
.hero {
  background: var(--color-green);
  color: #f5f5f5;
  padding: clamp(3rem, 10vw, 6rem) 0;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.mockup-wrap {
  border-radius: 50%;
  overflow: hidden;
  max-width: 420px;
  margin-inline: auto;
  box-shadow: var(--shadow);
}

.surface {
  background: var(--color-surface);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.band-dark {
  background: var(--color-green);
  color: #f0f0f0;
  text-align: center;
}

.band-dark h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 500;
  max-width: 40ch;
  margin-inline: auto;
}

/* Demo classic page (referencia: crema, serif nombres, bloques limpios) */
.demo-page {
  --demo-cream: #fdf8ee;
  --demo-cream-deep: #f7f0e4;
  --demo-ink: #1e1e1e;
  --demo-venue: #3d4f42;
  background: var(--color-bg);
}

.demo-page.demo-page--classic {
  background: #f9f9f7;
}

.demo-hero {
  position: relative;
  min-height: min(52vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.25rem;
  background-size: cover;
  background-position: center;
}

.demo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 35, 32, 0.45);
}

/* Hero claro estilo invitación (sin overlay oscuro) */
.demo-hero--light {
  background-color: var(--demo-cream);
  background-image: linear-gradient(180deg, rgba(253, 248, 238, 0.88), rgba(253, 248, 238, 0.92)),
    url("../img/114_floral.jpg");
  background-size: cover;
  background-position: center;
}

.demo-hero--light::after {
  display: none;
}

.demo-hero--light .inner {
  color: var(--demo-ink);
}

.demo-hero .inner {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 36rem;
}

.demo-kicker {
  font-family: var(--font);
  font-size: clamp(0.75rem, 1.8vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: var(--demo-ink);
}

.demo-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0 0 1.25rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.demo-name {
  font-size: clamp(2.75rem, 9vw, 4.25rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--demo-ink);
}

.demo-name-join {
  font-family: var(--font);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  color: #444;
  margin: 0.15rem 0;
}

.demo-date {
  font-family: var(--font);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  letter-spacing: 0.12em;
  margin: 0;
  color: #3a3a3a;
}

.demo-hero h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  font-weight: 600;
}

.demo-hero .date {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  opacity: 0.95;
}

.demo-section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  background: var(--demo-cream);
}

.demo-section.alt {
  background: var(--demo-cream-deep);
}

.demo-cols {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 768px) {
  .demo-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-cols__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  vertical-align: middle;
}

.demo-cols__text {
  text-align: center;
}

@media (min-width: 768px) {
  .demo-cols__text {
    text-align: left;
  }
}

.demo-cols__text h2 {
  text-align: inherit;
}

.demo-cols__text p {
  text-align: inherit;
  margin-left: 0;
  margin-right: 0;
}

.demo-section .demo-cols__text p.large {
  text-align: inherit;
  max-width: none;
}

.demo-cols--text-pair .demo-cols__text {
  max-width: 36ch;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .demo-cols--text-pair .demo-cols__text {
    margin-inline: 0;
    max-width: none;
  }
}

.demo-countdown {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.demo-countdown .demo-kicker {
  margin-bottom: 1.25rem;
}

.demo-countdown__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2rem);
}

.demo-countdown__unit {
  min-width: 4.25rem;
}

.demo-countdown__num {
  font-family: var(--font);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--demo-ink);
}

.demo-countdown__label {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.demo-section p.large.demo-countdown__note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #5c5c5c;
  max-width: 42ch;
  margin-inline: auto;
}

.demo-section h2 {
  font-family: var(--font);
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--demo-ink);
}

.demo-section p.large {
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 1rem;
  color: #2c2c2c;
}

.demo-link-venue {
  color: var(--demo-venue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-link-venue:hover {
  color: var(--demo-ink);
}

.demo-btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  padding: 0.65rem 1.75rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--color-copper);
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-copper);
  transition: background 0.2s, border-color 0.2s;
}

.demo-btn-map:hover {
  background: #9d6f4a;
  border-color: #9d6f4a;
  color: #fff;
}

.demo-story-lead {
  max-width: 52ch;
  margin-inline: auto;
}

.demo-story-continued {
  margin-top: 2rem !important;
}

.demo-triptych {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  max-width: 920px;
  margin: 2.5rem auto 0;
}

@media (min-width: 720px) {
  .demo-triptych {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .demo-triptych__side {
    flex: 1;
    min-width: 0;
    max-width: 32%;
  }

  .demo-triptych__center {
    flex: 1.15;
    min-width: 0;
    max-width: 38%;
  }
}

.demo-triptych img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.demo-triptych__center img {
  min-height: 220px;
  object-fit: cover;
}

.demo-rsvp {
  background: var(--demo-cream);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.demo-rsvp__box {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  background: #e6e6e6;
  text-align: center;
}

.demo-rsvp__box h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--demo-ink);
}

.demo-rsvp__box p {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #222;
}

.demo-btn-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.85rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #1a1a1a;
  border-radius: var(--radius-pill);
  border: 2px solid #1a1a1a;
  transition: background 0.2s, color 0.2s;
}

.demo-btn-rsvp:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.demo-gift {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.demo-gift__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: #6b6b6b;
}

.demo-gift__icon svg {
  width: 100%;
  height: 100%;
}

.demo-btn-gift {
  display: inline-flex;
  margin-top: 1.25rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--color-copper);
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-copper);
}

.demo-btn-gift:hover {
  background: #9d6f4a;
  border-color: #9d6f4a;
  color: #fff;
}

.demo-banner {
  position: relative;
  background: #fff;
  padding: clamp(2.75rem, 7vw, 4rem) 1.25rem;
  text-align: center;
  overflow: hidden;
}

.demo-banner::before,
.demo-banner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(22%, 180px);
  background-image: url("../img/114_floral.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
}

.demo-banner::before {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent);
}

.demo-banner::after {
  right: 0;
  -webkit-mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.55), transparent);
  mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.55), transparent);
}

.demo-banner h2 {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 28ch;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--demo-ink);
}

/* Demo Classic / Signature / Premium — comparten escala de secciones (Squarespace) */
.demo-page--classic {
  --demo-paper-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  /* Grano papel un poco más visible (réplica captura referencia) */
  --classic-paper-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.072'/%3E%3C/svg%3E");
  --classic-bg: #f9f9f7;
  --classic-text: #4a4a4a;
}

.demo-page--classic main .container,
.demo-page--signature main .container,
.demo-page--premium main .container {
  width: min(100% - 2rem, 1180px);
}

/* Demo Signature — tema global (acuarela menta + verde bosque; solo esta página vía .demo-page--signature) */
.demo-page.demo-page--signature {
  --sig-surface-a: #f2f8f6;
  --sig-surface-b: #e6f0ec;
  --sig-surface-deep: #dbe8e2;
  --sig-ink: #1d3b3b;
  --sig-body: #2a413c;
  --sig-muted: #4d6862;
  --sig-link: #1a5c52;
  --sig-accent: #b8553a;
  --sig-accent-hover: #9c452e;
  --sig-ink-hover: #152b2b;
  --sig-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-color: var(--sig-surface-a);
}

/* Classic — banner inicial: arte floreado full-bleed (classic-hero-floral-banner.png) + texto centrado */
.demo-page--classic .demo-hero.demo-hero--classic-banner {
  min-height: min(100svh, 920px);
  padding: clamp(5rem, 14vw, 8rem) clamp(1.25rem, 5vw, 2.5rem);
  overflow: hidden;
  background-color: var(--classic-bg);
  background-image: url("../img/classic-hero-floral-banner.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 640px) {
  .demo-page--classic .demo-hero.demo-hero--classic-banner {
    min-height: min(92svh, 820px);
    padding-top: clamp(4.25rem, 12vw, 6rem);
    background-size: cover;
    background-position: center center;
  }
}

.demo-page--classic .demo-hero.demo-hero--classic-banner .inner {
  max-width: min(88vw, 42rem);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.demo-page--classic .demo-hero.demo-hero--classic-banner .demo-kicker {
  font-family: "Montserrat", var(--font);
  font-size: clamp(0.78rem, 1.45vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 clamp(1.85rem, 4.5vw, 2.65rem);
  color: var(--classic-text);
}

.demo-page--classic .demo-hero.demo-hero--classic-banner .demo-names {
  font-family: "Playfair Display", "Times New Roman", Georgia, serif;
  gap: 0.28rem;
  margin: 0 0 clamp(1.75rem, 4.2vw, 2.55rem);
}

.demo-page--classic .demo-hero.demo-hero--classic-banner .demo-name {
  font-family: inherit;
  font-size: clamp(3.45rem, 14vw, 7.25rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--classic-text);
}

.demo-page--classic .demo-hero.demo-hero--classic-banner .demo-name-join {
  font-family: "Montserrat", var(--font);
  font-size: clamp(1rem, 2.45vw, 1.3rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.12em;
  margin: 0.48rem 0;
  color: #5c5c5c;
}

.demo-page--classic .demo-hero.demo-hero--classic-banner .demo-date {
  font-family: "Montserrat", var(--font);
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--classic-text);
  margin: 0;
}

/* Classic — Ceremonia / Recepción: crema uniforme, dos columnas, sin franja superior floral */
.demo-page--classic .demo-section--classic-locations {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.75rem) 0;
  background: var(--classic-bg);
}

.demo-page--classic .demo-section--classic-locations.alt {
  background: var(--classic-bg);
}

.demo-page--classic .demo-section:not(.demo-section--classic-locations):not(.demo-section--classic-gallery) {
  background: var(--classic-bg);
}

/* Classic — galería (solo imágenes, sin textos) */
.demo-page--classic .demo-section--classic-gallery {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
  background: var(--classic-bg);
}

.demo-page--classic .demo-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 520px) {
  .demo-page--classic .demo-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 900px) {
  .demo-page--classic .demo-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

.demo-page--classic .demo-gallery__cell {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 1;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
}

.demo-page--classic .demo-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

@media (hover: hover) {
  .demo-page--classic .demo-gallery__cell:hover img {
    transform: scale(1.04);
  }
}

.demo-page--classic .demo-section--classic-locations .demo-cols {
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.demo-page--classic .demo-section--classic-locations .demo-cols__media img {
  border-radius: 2px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.demo-page--classic .demo-section--classic-locations .demo-cols__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.demo-page--classic .demo-section--classic-locations .demo-cols__text h2 {
  font-family: var(--font);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 700;
  color: #141414;
  margin: 0 0 1.1rem;
}

.demo-page--classic .demo-section--classic-locations .demo-cols__text p.large {
  margin: 0;
  max-width: 38ch;
  margin-inline: auto;
  color: #2a2a2a;
  font-size: clamp(1.02rem, 1.75vw, 1.12rem);
  line-height: 1.7;
}

.demo-page--classic .demo-section--classic-locations .demo-text-date strong {
  font-weight: 700;
  color: #141414;
  text-decoration: underline;
  text-decoration-color: rgba(20, 20, 20, 0.75);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.demo-page--classic .demo-section--classic-locations .demo-link-venue {
  color: #5a6b52;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-page--classic .demo-section--classic-locations .demo-link-venue:hover {
  color: #3d4a38;
}

.demo-page--classic .demo-section--classic-locations .demo-btn-map {
  margin-top: 1.5rem;
  padding: 0.75rem 1.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  background: #c17955;
  border-color: #c17955;
}

.demo-page--classic .demo-section--classic-locations .demo-btn-map:hover {
  background: #a86a47;
  border-color: #a86a47;
  color: #fff;
}

/* Signature — banner inicial: acuarela menta, arco ¡NOS CASAMOS!, nombres script */
.demo-page--signature .demo-hero--signature {
  min-height: clamp(620px, 90vh, 980px);
  padding: clamp(4.5rem, 12vw, 7.25rem) 1.25rem;
  overflow: hidden;
  background-color: #f2f8f6;
  background-image: radial-gradient(ellipse 92% 72% at 14% 22%, rgba(158, 208, 192, 0.42) 0%, transparent 58%),
    radial-gradient(ellipse 78% 62% at 90% 32%, rgba(176, 224, 210, 0.34) 0%, transparent 54%),
    radial-gradient(ellipse 68% 78% at 48% 90%, rgba(198, 232, 222, 0.26) 0%, transparent 50%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 200px 200px;
  background-repeat: no-repeat;
}

.demo-page--signature .demo-hero--signature::after {
  display: none;
}

.demo-page--signature .demo-signature-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(94vw, 50rem);
  margin-inline: auto;
  color: #1d3b3b;
}

.demo-page--signature .demo-signature-arch {
  width: min(92vw, 28rem);
  margin: 0 auto clamp(1.35rem, 3.2vw, 2.1rem);
  color: #1d3b3b;
}

.demo-page--signature .demo-signature-arch__svg {
  display: block;
  width: 100%;
  height: auto;
}

.demo-page--signature .demo-signature-arch__text {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

@media (min-width: 480px) {
  .demo-page--signature .demo-signature-arch__text {
    font-size: 19px;
  }
}

.demo-page--signature .demo-signature-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  margin: 0 0 clamp(1.25rem, 3vw, 1.85rem);
}

.demo-page--signature .demo-signature-name {
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.65rem, 13.5vw, 6.85rem);
  font-weight: 400;
  line-height: 1.02;
  color: #1d3b3b;
}

.demo-page--signature .demo-signature-name-join {
  font-family: var(--font);
  font-size: clamp(1.05rem, 2.65vw, 1.45rem);
  font-weight: 500;
  color: #1d3b3b;
  margin: 0.25rem 0;
  letter-spacing: 0.1em;
}

.demo-page--signature .demo-signature-date {
  font-family: var(--font);
  font-size: clamp(1.08rem, 2.25vw, 1.38rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #0d0d0d;
  margin: 0 0 clamp(1.1rem, 2.5vw, 1.65rem);
}

.demo-page--signature .demo-signature-tagline {
  font-family: var(--font);
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: #141414;
  margin: 0;
  max-width: 38ch;
}

.demo-page--signature-personalizado .demo-signature-personalizado-url {
  font-family: var(--font);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 500;
  color: #1d3b3b;
  margin: 0.5rem 0 0;
  max-width: 42ch;
  text-align: center;
  line-height: 1.45;
}

.demo-page--signature-personalizado .demo-signature-personalizado-url.demo-signature-personalizado-url--error {
  color: #7a2f2f;
  font-weight: 500;
}

.demo-page--signature-personalizado .demo-personalizado-rsvp-note {
  font-size: 0.92rem;
  color: #3d5550;
  margin: 1rem 0 0;
  line-height: 1.5;
}

/* Sobre inicial (demo personalizado): estilo invitación floral + sobre melocotón + sello dorado */
body.invite-envelope-active {
  overflow: hidden;
}

.invite-envelope-gate[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.invite-envelope-gate {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 5vw, 2.75rem);
  box-sizing: border-box;
  background: #ffffff;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.invite-envelope-gate.invite-envelope-gate--bye {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.invite-envelope-gate__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 22rem;
}

.invite-envelope-gate__hero-name {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  font-weight: 400;
  color: #b85c5c;
  margin: 0 0 0.35rem;
  text-align: center;
  line-height: 1.15;
  max-width: 95%;
  overflow-wrap: anywhere;
  letter-spacing: 0.02em;
}

.invite-envelope-gate__pax-soft {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.92rem, 3vw, 1.05rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(120, 92, 92, 0.72);
  margin: 0 0 clamp(0.75rem, 3vw, 1.25rem);
  text-align: center;
}

.invite-envelope-gate__trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(92vw, 340px);
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 8px;
  perspective: 920px;
  touch-action: manipulation;
}

.invite-envelope-gate__trigger:focus-visible {
  outline: 2px solid rgba(184, 92, 92, 0.45);
  outline-offset: 10px;
}

.invite-envelope-gate__cta {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.02rem, 3.4vw, 1.2rem);
  font-weight: 600;
  color: #2d4a3e;
  margin: clamp(1.1rem, 3.5vw, 1.5rem) 0 0;
  text-align: center;
  line-height: 1.35;
  letter-spacing: 0.03em;
  max-width: 18ch;
}

.invite-envelope-soft-wrap {
  position: relative;
  display: block;
  width: 100%;
  padding: clamp(1.75rem, 6vw, 2.75rem) clamp(0.5rem, 3vw, 1rem);
  box-sizing: border-box;
  transition: transform 0.65s cubic-bezier(0.33, 0.85, 0.38, 1), opacity 0.5s ease;
}

.invite-envelope-soft__florals {
  position: absolute;
  inset: 0 -8% -4% -8%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.invite-floral {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.55;
}

.invite-floral--1 {
  width: min(42vw, 160px);
  height: min(38vw, 150px);
  background: radial-gradient(circle, rgba(232, 160, 170, 0.85) 0%, transparent 72%);
  top: 2%;
  left: 4%;
}

.invite-floral--2 {
  width: min(48vw, 180px);
  height: min(44vw, 165px);
  background: radial-gradient(circle, rgba(220, 120, 130, 0.55) 0%, transparent 70%);
  top: 18%;
  right: -2%;
}

.invite-floral--3 {
  width: min(36vw, 140px);
  height: min(40vw, 150px);
  background: radial-gradient(circle, rgba(200, 90, 100, 0.45) 0%, transparent 68%);
  bottom: 28%;
  left: -4%;
}

.invite-floral--4 {
  width: min(44vw, 170px);
  height: min(38vw, 150px);
  background: radial-gradient(circle, rgba(245, 190, 195, 0.65) 0%, transparent 72%);
  bottom: 8%;
  right: 6%;
}

.invite-floral--5 {
  width: min(28vw, 110px);
  height: min(32vw, 120px);
  background: radial-gradient(circle, rgba(140, 175, 140, 0.4) 0%, transparent 70%);
  top: 42%;
  left: 12%;
}

.invite-floral--6 {
  width: min(32vw, 125px);
  height: min(30vw, 115px);
  background: radial-gradient(circle, rgba(160, 190, 155, 0.38) 0%, transparent 68%);
  bottom: 38%;
  right: 14%;
}

.invite-envelope-soft {
  position: relative;
  z-index: 1;
  width: min(78vw, 280px);
  aspect-ratio: 5 / 6.1;
  margin: 0 auto;
  filter: drop-shadow(0 16px 36px rgba(160, 110, 95, 0.22));
  transform-style: preserve-3d;
}

.invite-envelope-soft__body {
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: linear-gradient(165deg, #fdf2ee 0%, #f5ddd4 42%, #ebcfc4 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.75), inset 0 -2px 8px rgba(180, 120, 100, 0.08);
}

.invite-envelope-soft__body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
  opacity: 0.22;
  background-image: radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255, 255, 255, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 75% 65%, rgba(255, 200, 190, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.invite-envelope-soft__pocket {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(235, 195, 182, 0.25) 0%, rgba(215, 165, 148, 0.38) 100%);
  clip-path: polygon(0 100%, 100% 100%, 100% 28%, 50% 6%, 0 28%);
  pointer-events: none;
}

.invite-envelope-soft__flap-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54%;
  z-index: 2;
  transform-style: preserve-3d;
}

.invite-envelope-soft__flap {
  display: block;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(168deg, #fff8f5 0%, #f5dcd2 55%, #e8c4b8 100%);
  transform-origin: 50% 100%;
  transition: transform 0.88s cubic-bezier(0.33, 0.82, 0.38, 1);
  box-shadow: 0 6px 16px rgba(120, 80, 70, 0.12);
}

.invite-envelope-soft__ribbon {
  position: absolute;
  right: 5%;
  top: 10%;
  max-width: 58%;
  text-align: right;
  font-family: "Great Vibes", cursive;
  font-size: clamp(0.78rem, 3.2vw, 1rem);
  line-height: 1.2;
  color: #c9a227;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(120, 90, 40, 0.15);
  pointer-events: none;
}

.invite-envelope-soft__seal {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 4;
  width: min(19vw, 72px);
  height: min(19vw, 72px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 28%, #fff5c8 0%, #e8c547 32%, #b8860b 58%, #7a5c1e 92%, #4a3810 100%);
  box-shadow: 0 6px 20px rgba(90, 65, 30, 0.35), inset 0 2px 5px rgba(255, 255, 255, 0.5),
    inset 0 -4px 10px rgba(0, 0, 0, 0.22);
  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease;
}

.invite-envelope-soft__seal::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.15) 0px,
    rgba(255, 255, 255, 0.15) 1.5px,
    transparent 1.5px,
    transparent 4px
  );
  opacity: 0.75;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.invite-envelope-soft__seal-letter {
  position: relative;
  z-index: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  color: #4a3810;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

@keyframes invite-seal-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 6px 20px rgba(90, 65, 30, 0.35), inset 0 2px 5px rgba(255, 255, 255, 0.5),
      inset 0 -4px 10px rgba(0, 0, 0, 0.22);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 8px 26px rgba(90, 65, 30, 0.42), inset 0 2px 5px rgba(255, 255, 255, 0.55),
      inset 0 -4px 10px rgba(0, 0, 0, 0.2);
  }
}

.invite-envelope-gate:not(.invite-envelope-gate--opening) .invite-envelope-soft__seal {
  animation: invite-seal-breathe 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .invite-envelope-gate:not(.invite-envelope-gate--opening) .invite-envelope-soft__seal {
    animation: none;
  }
}

.invite-envelope-gate--opening .invite-envelope-soft__flap {
  transform: rotateX(-172deg);
}

.invite-envelope-gate--opening .invite-envelope-soft__seal {
  animation: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.45);
}

.invite-envelope-gate--opening .invite-envelope-soft-wrap {
  transform: scale(0.94);
  opacity: 0;
}

@media (min-width: 768px) {
  .invite-envelope-gate__layout {
    max-width: 24rem;
  }

  .invite-envelope-soft {
    width: min(280px, 24vw);
  }
}

.demo-page--signature .demo-signature-rsvp-dress {
  padding: clamp(4.25rem, 10vw, 6rem) 0;
  background-color: var(--sig-surface-deep);
  background-image: radial-gradient(ellipse 88% 75% at 50% 20%, rgba(140, 198, 180, 0.22) 0%, transparent 55%),
    var(--sig-noise);
  background-size: 100% 100%, 200px 200px;
}

.demo-page--signature .demo-rsvp__box {
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(2.15rem, 5vw, 2.85rem) clamp(1.5rem, 4vw, 2.25rem);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(29, 59, 59, 0.1);
  border: 1px solid rgba(29, 59, 59, 0.06);
}

.demo-page--signature .demo-signature-dress-section {
  padding: clamp(3.5rem, 9vw, 5.25rem) 1.25rem;
  background-color: #1d3b3b;
}

.demo-page--signature .demo-signature-dress-section .demo-signature-dress {
  margin: 0;
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.demo-page--signature .demo-signature-dress__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

.demo-page--signature .demo-signature-dress__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.demo-page--signature .demo-signature-dress-section .demo-signature-dress__label {
  font-family: var(--font);
  font-size: clamp(1.02rem, 1.85vw, 1.15rem);
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.95);
}

.demo-page--signature .demo-signature-dress-section .demo-signature-dress__label strong {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-page--signature .demo-signature-dress-section .demo-signature-dress__value {
  font-family: var(--font);
  font-size: clamp(1.02rem, 1.85vw, 1.15rem);
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.demo-page--signature .demo-gift--signature .demo-gift__icon {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.demo-page--classic .demo-section--floral-cap,
.demo-page--signature .demo-section--floral-cap,
.demo-page--premium .demo-section--floral-cap {
  position: relative;
  padding-top: clamp(4.5rem, 10vw, 6rem);
}

.demo-page--classic .demo-section--floral-cap::before,
.demo-page--signature .demo-section--floral-cap::before,
.demo-page--premium .demo-section--floral-cap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(56px, 9vw, 80px);
  background: url("../img/114_floral.jpg") center 32% / cover no-repeat;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  pointer-events: none;
}

.demo-page--signature .demo-section--floral-cap::before {
  opacity: 0.4;
  filter: saturate(0.65) hue-rotate(125deg) brightness(1.08);
}

.demo-page--signature .demo-section--floral-cap {
  background-color: var(--sig-surface-a);
  background-image: radial-gradient(ellipse 88% 75% at 14% 55%, rgba(158, 208, 192, 0.24) 0%, transparent 58%),
    var(--sig-noise);
  background-size: 100% 100%, 200px 200px;
}

.demo-page--signature .demo-section--floral-cap.alt {
  background-color: var(--sig-surface-b);
  background-image: radial-gradient(ellipse 85% 72% at 86% 45%, rgba(172, 218, 204, 0.26) 0%, transparent 55%),
    var(--sig-noise);
  background-size: 100% 100%, 200px 200px;
}

.demo-page--signature .demo-section:not(.demo-section--floral-cap) {
  background-color: var(--sig-surface-a);
  background-image: radial-gradient(ellipse 80% 65% at 50% 8%, rgba(168, 212, 198, 0.2) 0%, transparent 48%),
    var(--sig-noise);
  background-size: 100% 100%, 200px 200px;
}

.demo-page--classic .demo-text-date strong,
.demo-page--signature .demo-text-date strong,
.demo-page--premium .demo-text-date strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #c1785c;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.demo-page--signature .demo-text-date strong {
  color: var(--sig-ink);
  text-decoration-color: var(--sig-accent);
}

.demo-page--signature .demo-link-venue {
  color: var(--sig-link);
  font-weight: 600;
}

.demo-page--signature .demo-link-venue:hover {
  color: #134038;
}

.demo-page--classic .demo-cols__text,
.demo-page--signature .demo-cols__text,
.demo-page--premium .demo-cols__text {
  text-align: center;
}

.demo-page--classic .demo-cols__text h2,
.demo-page--signature .demo-cols__text h2,
.demo-page--premium .demo-cols__text h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  font-weight: 700;
  margin-bottom: 1.35rem;
}

.demo-page--signature .demo-cols__text h2 {
  color: var(--sig-ink);
}

.demo-page--signature .demo-signature-section-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.65rem;
  color: var(--sig-ink);
}

.demo-page--signature .demo-signature-section-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.demo-page--signature .demo-signature-story-heading {
  text-align: center;
}

.demo-page--signature .demo-signature-story-heading .demo-heading-story {
  margin-top: 0;
}

.demo-page--classic .demo-section,
.demo-page--signature .demo-section,
.demo-page--premium .demo-section {
  padding: clamp(4rem, 9vw, 5.85rem) 0;
}

.demo-page--classic .demo-section p.large,
.demo-page--signature .demo-section p.large,
.demo-page--premium .demo-section p.large {
  font-size: clamp(1.05rem, 1.85vw, 1.22rem);
  line-height: 1.72;
}

.demo-page--signature .demo-section p.large {
  color: var(--sig-body);
}

.demo-page--signature .site-header .btn-primary {
  background: #1d3b3b;
  border-color: #1d3b3b;
  color: #fff;
}

.demo-page--signature .site-header .btn-primary:hover {
  background: var(--sig-ink-hover);
  border-color: var(--sig-ink-hover);
  color: #fff;
}

.demo-page--classic .demo-btn-map,
.demo-page--signature .demo-btn-map,
.demo-page--premium .demo-btn-map {
  margin-top: 1.65rem;
  padding: 0.82rem 2.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.demo-page--signature .demo-btn-map {
  background: #1d3b3b;
  border-color: #1d3b3b;
  color: #fff;
  font-weight: 600;
}

.demo-page--signature .demo-btn-map:hover {
  background: var(--sig-ink-hover);
  border-color: var(--sig-ink-hover);
  color: #fff;
}

.demo-page--classic .demo-heading-story,
.demo-page--signature .demo-heading-story,
.demo-page--premium .demo-heading-story {
  font-size: clamp(1.78rem, 3.6vw, 2.42rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.demo-page--classic .demo-heading-story::after,
.demo-page--signature .demo-heading-story::after,
.demo-page--premium .demo-heading-story::after {
  content: "";
  display: block;
  width: min(260px, 72vw);
  height: 7px;
  margin: 0.55rem auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(230, 168, 158, 0.82) 18%,
    rgba(230, 168, 158, 0.82) 82%,
    transparent
  );
  border-radius: 4px;
}

.demo-page--signature .demo-heading-story {
  color: var(--sig-ink);
}

.demo-page--signature .demo-heading-story::after {
  height: 5px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(29, 59, 59, 0.35) 15%,
    rgba(29, 59, 59, 0.45) 50%,
    rgba(29, 59, 59, 0.35) 85%,
    transparent
  );
}

.demo-page--signature .demo-triptych img {
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(29, 59, 59, 0.1);
}

.demo-page--signature .demo-cols__media img {
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(29, 59, 59, 0.1);
}

.demo-page--classic .demo-triptych,
.demo-page--signature .demo-triptych,
.demo-page--premium .demo-triptych {
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(2.85rem, 6vw, 3.65rem);
  max-width: 1000px;
}

.demo-page--classic .demo-triptych__center img,
.demo-page--signature .demo-triptych__center img,
.demo-page--premium .demo-triptych__center img {
  min-height: clamp(260px, 36vw, 440px);
}

/* Classic — confirmación de asistencia (referencia: gris claro plano, sans, botón negro píldora) */
.demo-page--classic .demo-rsvp {
  padding: clamp(4.75rem, 11vw, 6.75rem) 0;
  background: #e8e8e8;
}

.demo-page--classic .demo-rsvp__box {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  background: transparent;
}

.demo-page--classic .demo-rsvp__box h2 {
  font-family: var(--font);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 1.25rem;
}

.demo-page--classic .demo-rsvp__box p {
  font-family: var(--font);
  font-size: clamp(0.94rem, 1.6vw, 1.04rem);
  font-weight: 400;
  line-height: 1.65;
  color: #0a0a0a;
  margin: 0 0 1.85rem;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

.demo-page--classic .demo-btn-rsvp {
  padding: 0.82rem 2.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
  background: #000;
  border-color: #000;
}

.demo-page--classic .demo-btn-rsvp:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.demo-page--signature .demo-rsvp__box h2,
.demo-page--premium .demo-rsvp__box h2 {
  font-size: clamp(1.32rem, 2.75vw, 1.78rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-page--signature .demo-rsvp__box h2 {
  color: var(--sig-ink);
}

.demo-page--signature .demo-rsvp__box p,
.demo-page--premium .demo-rsvp__box p {
  font-size: clamp(1rem, 1.55vw, 1.1rem);
}

.demo-page--signature .demo-rsvp__box p {
  color: var(--sig-body);
}

.demo-page--signature .demo-btn-rsvp,
.demo-page--premium .demo-btn-rsvp {
  padding: 0.88rem 2.35rem;
  font-size: 0.82rem;
}

.demo-page--signature .demo-btn-rsvp {
  background: #1d3b3b;
  border-color: #1d3b3b;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.demo-page--signature .demo-btn-rsvp:hover {
  background: var(--sig-ink-hover);
  border-color: var(--sig-ink-hover);
  color: #fff;
}

.demo-page--classic .demo-gift__icon,
.demo-page--signature .demo-gift__icon,
.demo-page--premium .demo-gift__icon {
  width: 56px;
  height: 56px;
}

.demo-page--signature .demo-gift__icon {
  color: var(--sig-ink);
}

.demo-page--classic .demo-btn-gift,
.demo-page--signature .demo-btn-gift,
.demo-page--premium .demo-btn-gift {
  margin-top: 1.35rem;
  padding: 0.78rem 1.95rem;
  font-size: 1rem;
}

.demo-page--signature .demo-btn-gift {
  background: #1d3b3b;
  border-color: #1d3b3b;
  color: #fff;
  font-weight: 600;
}

.demo-page--signature .demo-btn-gift:hover {
  background: var(--sig-ink-hover);
  border-color: var(--sig-ink-hover);
  color: #fff;
}

.demo-page--classic .demo-banner,
.demo-page--signature .demo-banner,
.demo-page--premium .demo-banner {
  padding: clamp(3.75rem, 10vw, 5.75rem) 1.25rem;
}

.demo-page--premium .demo-banner {
  background: var(--demo-cream);
}

.demo-page--signature .demo-banner {
  background-color: var(--sig-surface-a);
  background-image: radial-gradient(ellipse 92% 72% at 16% 28%, rgba(158, 208, 192, 0.3) 0%, transparent 58%),
    radial-gradient(ellipse 78% 62% at 88% 38%, rgba(176, 224, 210, 0.24) 0%, transparent 52%),
    var(--sig-noise);
  background-size: 100% 100%, 100% 100%, 200px 200px;
}

/* Classic — cierre con mismo arte floreado que el hero (sin tiras 114_floral) */
.demo-page--classic .demo-banner {
  background-color: var(--classic-bg);
  background-image: url("../img/classic-hero-floral-banner.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.demo-page--classic .demo-banner::before,
.demo-page--classic .demo-banner::after {
  display: none;
}

.demo-page--signature .demo-banner::before,
.demo-page--signature .demo-banner::after {
  width: min(34%, 320px);
  opacity: 0.28;
  top: -2%;
  bottom: -2%;
  filter: saturate(0.55) hue-rotate(130deg);
}

.demo-page--premium .demo-banner:not(.demo-banner--premium)::before,
.demo-page--premium .demo-banner:not(.demo-banner--premium)::after {
  width: min(38%, 360px);
  opacity: 0.78;
  top: -4%;
  bottom: -4%;
}

.demo-page--signature .demo-banner::before,
.demo-page--premium .demo-banner:not(.demo-banner--premium)::before {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 55%, transparent);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 55%, transparent);
}

.demo-page--signature .demo-banner::after,
.demo-page--premium .demo-banner:not(.demo-banner--premium)::after {
  -webkit-mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 55%, transparent);
  mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 55%, transparent);
}

.demo-page--classic .demo-banner h2,
.demo-page--signature .demo-banner h2,
.demo-page--premium .demo-banner:not(.demo-banner--premium) h2 {
  max-width: 24ch;
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.28;
}

.demo-page--classic .demo-banner h2 {
  color: var(--classic-text);
  text-shadow: 0 0 1.25rem rgba(249, 249, 247, 0.95), 0 1px 2px rgba(255, 255, 255, 0.85);
}

.demo-page--signature .demo-banner h2 {
  color: var(--sig-ink);
  text-shadow: none;
}

/* Demo Premium — hero con foto, cuenta regresiva #3d3b3b, historia + audio, RSVP oscuro, cierre con foto */
.demo-page--premium .demo-hero--premium {
  min-height: clamp(560px, 88vh, 940px);
  padding: clamp(3.5rem, 10vw, 6.5rem) 1.25rem;
  background-color: #1a1816;
  background-image: linear-gradient(rgba(26, 24, 22, 0.52), rgba(26, 24, 22, 0.58)),
    url("../img/scott-broome-BcVvVvqiCGA-unsplash.jpg");
  background-size: cover;
  background-position: center;
}

.demo-page--premium .demo-hero--premium::after {
  display: none;
}

.demo-page--premium .demo-premium-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(92vw, 34rem);
  margin-inline: auto;
}

.demo-page--premium .demo-premium-monogram {
  width: min(52vw, 210px);
  height: auto;
  margin: 0 auto clamp(0.75rem, 2vw, 1.15rem);
  object-fit: contain;
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.4));
}

.demo-page--premium .demo-premium-hero-date {
  font-family: var(--font);
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 252, 248, 0.95);
  margin: 0 0 clamp(0.65rem, 2vw, 1rem);
}

.demo-page--premium .demo-premium-hero-title {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.15rem, 7vw, 3.35rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.12;
  color: #fff;
  margin: 0;
}

.demo-page--premium .demo-premium-countdown {
  background: #3d3b3b;
  padding: clamp(2.65rem, 6.5vw, 3.75rem) 1.25rem;
}

.demo-page--premium .demo-premium-countdown .demo-kicker {
  color: rgba(255, 255, 255, 0.88);
}

.demo-page--premium .demo-premium-countdown .demo-countdown__num {
  color: #f4f1ec;
}

.demo-page--premium .demo-premium-countdown .demo-countdown__label {
  color: rgba(255, 255, 255, 0.5);
}

.demo-page--premium .demo-premium-countdown .demo-countdown__note {
  margin-top: 1.1rem;
  margin-bottom: 0;
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  max-width: 40ch;
  margin-inline: auto;
}

.demo-page--premium .demo-heading-story--premium::after {
  background: linear-gradient(
    90deg,
    transparent,
    #c9a227 14%,
    #e6d18a 50%,
    #c9a227 86%,
    transparent
  );
  height: 7px;
  border-radius: 3px;
}

.demo-page--premium .demo-premium-story-lead {
  text-align: center;
  max-width: 58ch;
  margin-inline: auto;
}

.demo-page--premium .demo-premium-gallery {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.1rem);
  margin: clamp(2rem, 5vw, 2.65rem) auto 0;
  max-width: 920px;
}

.demo-page--premium .demo-premium-gallery img {
  width: 100%;
  display: block;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.demo-page--premium .demo-premium-gallery__tall {
  max-height: min(78vw, 440px);
  object-fit: cover;
}

@media (min-width: 720px) {
  .demo-page--premium .demo-premium-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .demo-page--premium .demo-premium-gallery__row1 {
    grid-column: 1 / -1;
  }
}

.demo-page--premium .demo-premium-audio {
  max-width: 520px;
  margin: clamp(1.75rem, 4vw, 2.25rem) auto 0;
  padding: 1rem 1.15rem 0.85rem;
  background: rgba(218, 195, 122, 0.14);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 10px;
}

.demo-page--premium .demo-premium-audio__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 0.15rem;
}

.demo-page--premium .demo-premium-audio__sub {
  font-size: 0.84rem;
  color: #4a4a4a;
  margin: 0 0 0.65rem;
}

.demo-page--premium .demo-premium-audio audio {
  width: 100%;
  height: 40px;
}

.demo-page--premium .demo-premium-story-outro {
  text-align: right;
  max-width: 52ch;
  margin-left: auto;
  margin-top: clamp(1.75rem, 4vw, 2.35rem);
}

.demo-page--premium .demo-premium-rsvp-dress {
  padding: clamp(4rem, 9vw, 5.85rem) 0;
  background: #2b2926;
}

.demo-page--premium .demo-premium-rsvp-dress .demo-rsvp__box {
  background: transparent;
  box-shadow: none;
  padding-left: 1rem;
  padding-right: 1rem;
}

.demo-page--premium .demo-premium-rsvp-dress .demo-rsvp__box h2,
.demo-page--premium .demo-premium-rsvp-dress .demo-rsvp__box p {
  color: #fff;
}

.demo-page--premium .demo-premium-rsvp-dress .demo-btn-rsvp {
  background: #fdfcfa;
  color: #1c1c1c;
  border-color: #fdfcfa;
}

.demo-page--premium .demo-premium-rsvp-dress .demo-btn-rsvp:hover {
  background: #e8e4df;
  border-color: #e8e4df;
  color: #111;
}

.demo-page--premium .demo-premium-dress {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}

.demo-page--premium .demo-premium-dress__label,
.demo-page--premium .demo-premium-dress__value {
  font-family: var(--font);
  font-size: clamp(1rem, 1.75vw, 1.12rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 0.2rem 0 0;
}

.demo-page--premium .demo-premium-dress__label strong {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.demo-page--premium .demo-banner--premium {
  position: relative;
  background: #1f1d1b;
  color: #fff;
  padding: clamp(4rem, 11vw, 6rem) 1.25rem;
}

.demo-page--premium .demo-banner--premium::before {
  left: 0;
  right: 0;
  width: 100%;
  top: 0;
  bottom: 0;
  background-image: url("../img/joshua-rodriguez-gds8C9TljgE-unsplash.jpg");
  background-size: cover;
  background-position: center;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}

.demo-page--premium .demo-banner--premium::after {
  left: 0;
  right: 0;
  width: 100%;
  top: 0;
  bottom: 0;
  background-image: none;
  background: linear-gradient(180deg, rgba(28, 26, 24, 0.55), rgba(22, 20, 18, 0.72));
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}

.demo-page--premium .demo-banner--premium h2 {
  color: #fff;
  max-width: min(36ch, 92vw);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.demo-page--premium .demo-gift--premium .demo-gift__icon {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.demo-footer-note {
  text-align: center;
  font-size: 0.88rem;
  color: #6a635a;
  padding: 2rem 1rem 2.5rem;
  background: var(--demo-cream);
}

.demo-footer-note em {
  font-style: italic;
  font-weight: 500;
}

.gallery-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 700px;
  margin: 2rem auto 0;
}

.gallery-duo img {
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3/4;
  width: 100%;
}

.stub {
  text-align: center;
  padding: 4rem 1rem;
}

.stub h1 {
  margin-bottom: 0.5rem;
}

/* Demo Nuevo 04: estilos en assets/css/demo-nuevo04.css */

/* Contact */
.contact-box {
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-surface);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-box label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 1rem;
}

/* —— Scroll reveal: cada .reveal-item al entrar en viewport (fade + scale) —— */
@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .sqs-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.reveal-item {
  opacity: 0;
  transform: scale(0.97) translate3d(0, 22px, 0);
  transition:
    opacity var(--sqs-reveal-duration) var(--sqs-reveal-ease),
    transform var(--sqs-reveal-duration) var(--sqs-reveal-ease);
  will-change: opacity, transform;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
  will-change: auto;
}

.sqs-animate {
  opacity: 0;
  transform: scale(0.97) translate3d(0, 22px, 0);
  transition:
    opacity var(--sqs-reveal-duration) var(--sqs-reveal-ease),
    transform var(--sqs-reveal-duration) var(--sqs-reveal-ease);
  will-change: opacity, transform;
}

.sqs-animate.is-revealed {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
  will-change: auto;
}

/* Hero demo: sombra solo en variante oscura */
.demo-hero.reveal-section:not(.demo-hero--light) .reveal-item {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* Index hero: debe quedar por encima de .reveal-item { opacity: 0 } (misma hoja, más abajo) */
.hero-fullbleed.reveal-section .reveal-item {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}
