/* =====================================================================
   Invitalia.digital · Hoja de estilos principal
   Se carga después de Bootstrap 5.3 y sobrescribe sus variables.
   Índice:
     1. Fuentes            6. Hero y sobre interactivo   11. Paquetes
     2. Tokens             7. Secciones generales        12. Demos / celular
     3. Base y tipografía  8. Qué incluye                13. Preguntas y CTA final
     4. Botones y forms    9. Comparativo                14. Páginas internas
     5. Header y footer   10. Eventos, banda, proceso    15. Utilidades y movimiento
   ===================================================================== */

/* 1. FUENTES (auto-alojadas, subconjunto latino: incluye acentos y ñ) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ubuntu-latin-500-normal.woff2") format("woff2"); }

/* 2. TOKENS ----------------------------------------------------------- */
:root {
  /* Paleta oficial */
  --mora: #5C2434;
  --mora-600: #4B1D2A;
  --mora-300: #8A4C5E;
  --cobre: #C8785E;            /* solo decorativo: líneas, íconos, sellos */
  --cobre-texto: #9A5A43;      /* cobre con contraste AA para texto pequeño */
  --cobre-claro: #E2B4A3;      /* cobre sobre fondos oscuros */
  --grafito: #222328;
  --arena: #FAF8F6;
  --blanco: #FFFFFF;
  --noche: #261017;

  /* Derivados */
  --rubor: #F4ECE8;            /* fondo de sección alterna */
  --linea: #E9DED8;
  --texto-suave: #5E5459;      /* 7:1 sobre arena */
  --sombra-suave: 0 1px 2px rgba(38, 16, 23, .06), 0 12px 32px -12px rgba(38, 16, 23, .18);
  --sombra-alta: 0 2px 4px rgba(38, 16, 23, .06), 0 30px 60px -20px rgba(38, 16, 23, .35);

  /* Tipografía */
  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-brand: "Ubuntu", var(--f-ui);

  /* Escala (cuarta justa en display, tercera menor en UI) */
  --t-hero: clamp(2.6rem, 1.5rem + 4.4vw, 5.2rem);
  --t-h1: clamp(2.4rem, 1.6rem + 3.2vw, 4.2rem);
  --t-h2: clamp(2.05rem, 1.5rem + 2.2vw, 3.25rem);
  --t-h2-sm: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  --t-h3: 1.1875rem;
  --t-body: 1.0625rem;
  --t-small: .9375rem;

  /* Espaciado y forma */
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --arch: 999px 999px var(--radius) var(--radius);
  --ease-out: cubic-bezier(.22, .8, .24, 1);

  /* Bootstrap */
  --bs-body-font-family: var(--f-ui);
  --bs-body-font-size: var(--t-body);
  --bs-body-line-height: 1.65;
  --bs-body-color: var(--grafito);
  --bs-body-bg: var(--arena);
  --bs-link-color: var(--mora);
  --bs-link-color-rgb: 92, 36, 52;
  --bs-link-hover-color: var(--mora-600);
  --bs-link-hover-color-rgb: 75, 29, 42;
  --bs-border-color: var(--linea);
  --bs-primary: var(--mora);
  --bs-primary-rgb: 92, 36, 52;
  --bs-focus-ring-color: rgba(92, 36, 52, .35);
  --bs-border-radius: var(--radius-sm);
}

/* 3. BASE ------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--arena); color: var(--grafito); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
::selection { background: var(--mora); color: var(--arena); }

h1, h2, h3, h4 { color: var(--mora); }
.display-title, .hero-title, .section-title, .photo-band-title, .package-name, .package-price .amount,
.card-names, .footer-newsletter-title, .faq-group-title, .status-code {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.section-title { font-size: var(--t-h2); line-height: 1.06; margin-bottom: .75rem; }
.section-title.sm { font-size: var(--t-h2-sm); }
.section-title.light, .display-title.light { color: var(--arena); }
.section-lead, .lead-text { font-size: 1.125rem; line-height: 1.7; color: var(--texto-suave); max-width: 38rem; text-wrap: pretty; }
.lead-text.light { color: rgba(250, 248, 246, .88); }
.display-title { font-size: var(--t-h1); line-height: 1.04; margin-bottom: 1rem; }
.display-title.sm { font-size: var(--t-h2); }
h3 { font-family: var(--f-ui); font-size: var(--t-h3); font-weight: 600; line-height: 1.35; color: var(--grafito); }
p { text-wrap: pretty; }

a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
.text-link { font-weight: 600; color: var(--mora); text-decoration: underline; text-decoration-color: var(--cobre); text-decoration-thickness: 2px; text-underline-offset: .3em; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--mora); }

:focus-visible { outline: 3px solid var(--mora); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--mora); color: #fff; padding: .75rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }
.container-xl { --bs-gutter-x: 2rem; max-width: 1240px; }
.narrow { max-width: 820px !important; }

/* 4. BOTONES Y FORMULARIOS ------------------------------------------- */
.btn {
  --bs-btn-font-family: var(--f-ui);
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: .975rem;
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: .8rem;
  --bs-btn-border-radius: 999px;
  --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(92, 36, 52, .3);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn-lg { --bs-btn-padding-x: 1.9rem; --bs-btn-padding-y: 1rem; --bs-btn-font-size: 1.02rem; }
.btn-sm { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .5rem; --bs-btn-font-size: .875rem; }
.btn:active { transform: translateY(1px); }
.btn-mora { --bs-btn-color: #fff; --bs-btn-bg: var(--mora); --bs-btn-border-color: var(--mora); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--mora-600); --bs-btn-hover-border-color: var(--mora-600); --bs-btn-active-bg: var(--mora-600); --bs-btn-active-color: #fff; --bs-btn-disabled-bg: var(--mora-300); --bs-btn-disabled-border-color: var(--mora-300); box-shadow: 0 10px 24px -12px rgba(92, 36, 52, .7); }
.btn-outline-mora { --bs-btn-color: var(--mora); --bs-btn-border-color: rgba(92, 36, 52, .35); --bs-btn-hover-color: var(--mora); --bs-btn-hover-bg: rgba(92, 36, 52, .06); --bs-btn-hover-border-color: var(--mora); --bs-btn-active-bg: rgba(92, 36, 52, .1); --bs-btn-active-color: var(--mora); --bs-btn-border-width: 1.5px; }
.btn-arena { --bs-btn-color: var(--mora); --bs-btn-bg: var(--arena); --bs-btn-border-color: var(--arena); --bs-btn-hover-color: var(--mora-600); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--mora); }
.btn-cobre { --bs-btn-color: var(--noche); --bs-btn-bg: var(--cobre-claro); --bs-btn-border-color: var(--cobre-claro); --bs-btn-hover-bg: #EDC6B8; --bs-btn-hover-border-color: #EDC6B8; --bs-btn-hover-color: var(--noche); --bs-btn-active-bg: #EDC6B8; --bs-btn-active-color: var(--noche); }
.btn-outline-light { --bs-btn-border-width: 1.5px; }
.btn-icon { --bs-btn-padding-x: 0; width: 46px; height: 46px; font-size: 1.25rem; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn-label::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .55rem; vertical-align: -.15em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

.form-label { font-weight: 600; font-size: .9rem; color: var(--grafito); margin-bottom: .4rem; }
.form-label .optional { font-weight: 400; color: var(--texto-suave); }
.form-control, .form-select {
  min-height: 52px; padding: .75rem 1rem; font-size: 1rem; color: var(--grafito);
  background-color: var(--blanco); border: 1.5px solid #DCCFC9; border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
textarea.form-control { min-height: 120px; }
.form-control::placeholder { color: #6F6469; }
.form-control:focus, .form-select:focus { border-color: var(--mora); box-shadow: 0 0 0 4px rgba(92, 36, 52, .12); }
.form-text { font-size: .82rem; color: var(--texto-suave); }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: .2em; border: 1.5px solid #BBA9A2; }
.form-check-input:checked { background-color: var(--mora); border-color: var(--mora); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(92, 36, 52, .15); border-color: var(--mora); }
.form-check-label { font-size: .92rem; }
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated .form-select:invalid, .form-select.is-invalid { border-color: #B3261E; }
.invalid-feedback { color: #B3261E; font-size: .84rem; font-weight: 500; }
.form-note { margin: .85rem 0 0; font-size: .85rem; color: var(--texto-suave); text-align: center; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 5. HEADER ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(250, 248, 246, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--linea); box-shadow: 0 8px 24px -18px rgba(38, 16, 23, .35); }
.site-header .navbar { --bs-navbar-padding-y: .9rem; }
.navbar-brand { padding: 0; margin-right: 1.5rem; }
.brand-logo { display: block; width: 208px; height: auto; }
.site-header .nav-link { font-weight: 500; font-size: .96rem; color: var(--grafito); padding: .5rem .85rem !important; border-radius: 999px; transition: color .2s, background-color .2s; }
.site-header .nav-link:hover, .site-header .nav-link:focus-visible { color: var(--mora); background: rgba(92, 36, 52, .06); }
.site-header .nav-link.active { color: var(--mora); font-weight: 600; }
.site-header .dropdown-toggle::after { border: 0; width: .45em; height: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .5em; vertical-align: .2em; transition: transform .2s; }
.site-header .dropdown-toggle.show::after { transform: rotate(225deg) translateY(-1px); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }

.dropdown-menu { --bs-dropdown-border-color: var(--linea); --bs-dropdown-border-radius: var(--radius); --bs-dropdown-link-active-bg: var(--rubor); --bs-dropdown-link-active-color: var(--mora); padding: .6rem; box-shadow: var(--sombra-alta); min-width: 340px; }
.is-wide .dropdown-menu { min-width: 460px; }
.is-wide .submenu-list { display: grid; grid-template-columns: 1fr 1fr; }
.submenu-list { list-style: none; margin: 0; padding: 0; }
.dropdown-item { display: flex; align-items: flex-start; gap: .85rem; padding: .7rem .8rem; border-radius: 12px; white-space: normal; color: var(--grafito); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--rubor); color: var(--mora); }
.submenu-icon { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--rubor); color: var(--mora); font-size: .95rem; }
.dropdown-item:hover .submenu-icon { background: var(--mora); color: var(--arena); }
.submenu-label { display: block; font-weight: 600; font-size: .94rem; line-height: 1.3; }
.submenu-desc { display: block; font-size: .82rem; line-height: 1.4; color: var(--texto-suave); margin-top: .15rem; }
.submenu-all { display: block; margin: .4rem .2rem 0; padding: .7rem .8rem .3rem; border-top: 1px solid var(--linea); font-size: .86rem; font-weight: 600; color: var(--mora); text-decoration: none; }
.submenu-all:hover { text-decoration: underline; }

.navbar-toggler { border: 0; padding: .6rem; width: 46px; height: 46px; display: grid; align-content: center; gap: 6px; border-radius: 999px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(92, 36, 52, .25); }
.toggler-line { display: block; height: 2px; width: 22px; margin: 0 auto; background: var(--mora); border-radius: 2px; }
.toggler-line:last-child { width: 14px; margin-right: 0.2rem; }

@media (min-width: 992px) {
  /* En escritorio los submenús también se abren al pasar el cursor */
  .site-header .dropdown:hover > .dropdown-menu { display: block; }
  .site-header .dropdown > .dropdown-menu { margin-top: .4rem !important; }
  .site-header .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.9rem; height: .9rem; }
}
@media (max-width: 991.98px) {
  /* backdrop-filter convertiría el header en el contenedor del menú lateral (fixed) y lo recortaría */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--arena); }
  .brand-logo { width: 176px; }
  .offcanvas-lg { --bs-offcanvas-width: min(400px, 92vw); --bs-offcanvas-bg: var(--arena); }
  .offcanvas-header { border-bottom: 1px solid var(--linea); }
  .offcanvas-title { font-family: var(--f-display); font-size: 1.6rem; color: var(--mora); margin: 0; }
  .offcanvas-body { flex-direction: column; gap: 1.5rem; padding: 1.25rem 1.25rem 2rem; }
  .site-header .nav-link { font-size: 1.08rem; padding: .85rem .5rem !important; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; }
  .navbar-nav .nav-item + .nav-item { border-top: 1px solid var(--linea); }
  .dropdown-menu { position: static !important; transform: none !important; box-shadow: none; border: 0; background: transparent; padding: 0 0 .5rem; min-width: 0; }
  .is-wide .dropdown-menu { min-width: 0; }
  .is-wide .submenu-list { grid-template-columns: 1fr; }
  .nav-actions { flex-direction: row-reverse; justify-content: flex-end; }
  .nav-actions .btn-mora { flex: 1; }
}

/* 6. HERO Y SOBRE INTERACTIVO ---------------------------------------- */
.hero { position: relative; padding: clamp(2.5rem, 2rem + 4vw, 5.5rem) 0 clamp(4rem, 3rem + 5vw, 7rem); overflow: hidden; }
.hero::before { /* Hilo cobre que cruza el hero: firma editorial */
  content: ""; position: absolute; left: 48%; right: -10%; top: 66%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 120, 94, .55) 30%, rgba(200, 120, 94, .55) 70%, transparent);
  transform: rotate(-4deg); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; position: relative; }
.hero-title { font-size: var(--t-hero); line-height: .98; margin: 0 0 1.4rem; max-width: 13.5ch; color: var(--mora); }
.hero-lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.65; color: var(--texto-suave); max-width: 33rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-points { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .92rem; color: var(--grafito); }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points i { color: var(--cobre-texto); }

.hero-stage { position: relative; min-height: 600px; display: grid; place-items: center; }
.arch { border-radius: var(--arch); overflow: hidden; margin: 0; }
.hero-plate { position: absolute; inset: 0 6% 0 14%; background: var(--rubor); box-shadow: var(--sombra-suave); }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.hero-plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 16, 23, 0) 40%, rgba(38, 16, 23, .38)); }
.hero-plate::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(250, 248, 246, .55); border-radius: inherit; z-index: 1; pointer-events: none; }

.envelope-stage { position: relative; z-index: 2; width: min(430px, 88%); margin-top: 9rem; }
.envelope {
  --env-side: #6A2C3D; --env-bottom: #5C2434; --env-back: #3E1622; --env-flap: #66293A; --env-liner: #D9A28E;
  position: relative; aspect-ratio: 3 / 2; perspective: 1400px; filter: drop-shadow(0 28px 34px rgba(38, 16, 23, .38));
}
.env-back { position: absolute; inset: 0; background: var(--env-back); border-radius: 8px; }
.env-card-wrap { position: absolute; left: 0; right: 0; bottom: 3%; top: -150%; overflow: hidden; z-index: 2; pointer-events: none; transition: z-index 0s linear 1.3s; }
/* La tarjeta y su contenido escalan con el ancho del sobre (unidades cqw) */
.envelope { container-type: inline-size; }
.env-card {
  position: absolute; left: 6%; right: 6%; bottom: 0;
  height: 34.4%; /* = 85 % del alto del sobre: cabe completa dentro mientras está cerrado */
  background: #fff; border-radius: 6px; padding: 5cqw 4cqw 3cqw; text-align: center; overflow: hidden;
  box-shadow: 0 -6px 24px -10px rgba(38, 16, 23, .3);
  background-image: radial-gradient(circle at 50% 0%, rgba(200, 120, 94, .12), transparent 60%);
  transform: translateY(0); transition: transform .9s var(--ease-out) .45s;
}
.env-card::before { content: ""; position: absolute; inset: 2cqw; border: 1px solid rgba(200, 120, 94, .45); border-radius: 3px; pointer-events: none; }
.card-kicker { font-family: var(--f-display); font-style: italic; font-size: 4.3cqw; line-height: 1.2; color: var(--cobre-texto); margin: 0 0 .5cqw; }
.card-names { font-size: 9.2cqw; line-height: 1; color: var(--mora); margin: 0 0 2cqw; white-space: nowrap; }
.card-names .amp { font-style: italic; color: var(--cobre); }
.card-date { font-size: max(8px, 3cqw); font-weight: 600; letter-spacing: .02em; color: var(--grafito); margin: 0 0 3cqw; }
.card-countdown { display: flex; justify-content: center; gap: 4cqw; margin-bottom: 3cqw; }
.card-countdown span { display: grid; font-size: max(7px, 2.4cqw); color: var(--texto-suave); line-height: 1.25; }
.card-countdown b { font-variant-numeric: tabular-nums; font-family: var(--f-ui); font-weight: 600; font-size: 4.6cqw; color: var(--mora); line-height: 1; font-variant-numeric: tabular-nums; }
.card-rsvp { pointer-events: auto; border: 0; border-radius: 999px; background: var(--mora); color: #fff; font-weight: 600; font-size: max(9px, 3cqw); padding: 1.8cqw 4.5cqw; cursor: pointer; }
.card-rsvp:hover { background: var(--mora-600); }

.env-pocket { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; border-radius: 8px; overflow: hidden; }
.env-flap {
  position: absolute; left: 0; right: 0; top: 0; height: 62%; z-index: 4;
  background: linear-gradient(180deg, #70303F, var(--env-flap));
  clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 8px 8px 0 0;
  transform-origin: 50% 0; transform: rotateX(0deg);
  transition: transform .6s var(--ease-out) .12s, background .01s linear .38s, z-index 0s linear .45s;
}
.env-seal {
  position: absolute; left: 50%; top: 62%; z-index: 5; width: 68px; height: 68px; margin: -34px 0 0 -34px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #E7A487, var(--cobre) 45%, #9A4F38 100%);
  box-shadow: inset 0 0 0 5px rgba(122, 56, 37, .35), inset 0 2px 3px rgba(255, 255, 255, .45), 0 6px 14px rgba(38, 16, 23, .45);
  transition: transform .3s var(--ease-out), opacity .3s;
}
.env-seal span { font-family: var(--f-display); font-weight: 600; font-size: 2.1rem; line-height: 1; color: #7A3825; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.env-seal::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(250, 248, 246, .9); animation: seal-ring 2.4s var(--ease-out) 1.4s infinite; opacity: 0; }
.env-seal:hover { transform: scale(1.06) rotate(-6deg); }
@keyframes seal-ring { 0% { transform: scale(.8); opacity: .9; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.envelope-hint { margin: 1.4rem 0 0; text-align: center; font-size: .9rem; font-weight: 600; color: var(--arena); text-shadow: 0 1px 8px rgba(38, 16, 23, .6); transition: opacity .3s; }

/* Estado abierto */
.is-open .env-seal { transform: scale(.4); opacity: 0; pointer-events: none; }
.is-open .env-seal::after { animation: none; }
.is-open .env-flap { transform: rotateX(180deg); background: linear-gradient(0deg, var(--env-liner), #E8BFAE); z-index: 1; }
.is-open .env-card { transform: translateY(-86%); }
/* Cuando la tarjeta terminó de salir, pasa al frente del bolsillo para poder tocar el botón */
.is-open .env-card-wrap { z-index: 5; }
.is-open .envelope-hint { opacity: 0; }

.hero-chip {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem .7rem .8rem;
  background: #fff; border-radius: 14px; box-shadow: var(--sombra-alta); font-size: .8rem; line-height: 1.25; color: var(--texto-suave);
  opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none; /* decorativos: nunca bloquean el sello ni el botón */
}
.hero-chip strong { display: block; color: var(--grafito); font-size: .86rem; }
.hero-chip i { font-size: 1.4rem; }
.chip-rsvp { left: -16%; top: 30%; }
.chip-rsvp i { color: #2E7D4F; }
.chip-map { right: -12%; bottom: 2%; }
.chip-map i { color: var(--cobre-texto); }
.is-open .chip-rsvp { opacity: 1; transform: none; transition-delay: 1.25s; }
.is-open .chip-map { opacity: 1; transform: none; transition-delay: 1.55s; }

@media (max-width: 991.98px) {
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: 14ch; }
  .hero-stage { min-height: 540px; margin-top: .5rem; }
  .hero-plate { inset: 0 4%; }
  .chip-rsvp { left: -3%; }
  .chip-map { right: -3%; }
}
@media (max-width: 575.98px) {
  .hero-stage { min-height: 470px; }
  .envelope-stage { width: 90%; margin-top: 7.5rem; }
  .env-seal { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
  .hero-chip { font-size: .74rem; padding: .55rem .8rem .55rem .65rem; }
  .chip-rsvp { top: 34%; }
  .chip-map { bottom: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* 7. SECCIONES GENERALES --------------------------------------------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-tint { background: var(--rubor); }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 44rem; }
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 1rem 4rem; align-items: end; }
.section-head.split .section-lead { margin-bottom: .6rem; }
@media (max-width: 767.98px) { .section-head.split { grid-template-columns: 1fr; } }

/* 8. QUÉ INCLUYE ------------------------------------------------------ */
.section-features { background: var(--blanco); }
.features-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: center; }
.features-phone { position: relative; display: grid; place-items: center; padding: 2rem 0; }
.features-arch { position: absolute; inset: 0 8%; border: 1px solid var(--cobre); border-radius: var(--arch); z-index: 0; }
.features-phone .phone { position: relative; z-index: 1; }
.feature-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem 2.5rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list h3 { margin: 0 0 .25rem; font-size: 1.02rem; }
.feature-list p { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--texto-suave); }
.feature-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--rubor); color: var(--mora); font-size: 1.05rem; }
.section-tint .feature-icon { background: var(--blanco); }
@media (max-width: 991.98px) {
  .features-layout { grid-template-columns: 1fr; }
  .features-phone { order: 2; max-width: 360px; margin: 0 auto; }
}
@media (max-width: 575.98px) { .feature-list { grid-template-columns: 1fr; } .phone-lg { width: 250px; } }

/* Celular */
.phone { position: relative; width: 270px; aspect-ratio: 9 / 18.6; border-radius: 42px; padding: 11px; background: #1C1418; box-shadow: var(--sombra-alta), inset 0 0 0 2px #3A2A30; }
.phone-lg { width: 300px; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; display: block; background: var(--rubor); }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #1C1418; z-index: 2; }

/* 9. COMPARATIVO ------------------------------------------------------ */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table thead th { font-size: .95rem; font-weight: 600; padding: 0 1.5rem 1.1rem; }
.compare-table thead .col-paper { color: var(--texto-suave); }
.compare-table thead .col-digital { color: var(--mora); }
.compare-table tbody th { width: 22%; padding: 1.4rem 1.5rem 1.4rem 0; font-family: var(--f-display); font-weight: 500; font-size: 1.45rem; line-height: 1.15; color: var(--mora); vertical-align: top; }
.compare-table td { padding: 1.4rem 1.5rem; vertical-align: top; font-size: .98rem; line-height: 1.55; }
.compare-table tbody tr + tr > * { border-top: 1px solid var(--linea); }
.compare-table td.col-paper { color: var(--texto-suave); text-decoration: line-through; text-decoration-color: rgba(94, 84, 89, .35); width: 36%; }
.compare-table td.col-digital { background: var(--blanco); font-weight: 500; color: var(--grafito); box-shadow: inset 1px 0 0 var(--linea), inset -1px 0 0 var(--linea); }
.compare-table tbody tr:first-child td.col-digital { border-radius: var(--radius) var(--radius) 0 0; box-shadow: inset 1px 1px 0 var(--linea), inset -1px 0 0 var(--linea); }
.compare-table tbody tr:last-child td.col-digital { border-radius: 0 0 var(--radius) var(--radius); box-shadow: inset 1px 0 0 var(--linea), inset -1px -1px 0 var(--linea); }
.compare-table td.col-digital i { color: var(--cobre-texto); margin-right: .35rem; }
@media (max-width: 767.98px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100% !important; }
  .compare-table tbody tr { padding: 1.25rem 0; }
  .compare-table tbody tr + tr { border-top: 1px solid var(--linea); }
  .compare-table tbody tr + tr > * { border-top: 0; }
  .compare-table tbody th { padding: 0 0 .6rem; }
  .compare-table td { padding: .2rem 0; }
  .compare-table td::before { content: attr(data-label) ": "; font-weight: 600; text-decoration: none; display: inline; }
  .compare-table td.col-digital { background: none; box-shadow: none !important; border-radius: 0 !important; margin-top: .4rem; }
}

/* 10. EVENTOS, BANDA FOTOGRÁFICA, PROCESO ---------------------------- */
.event-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem; }
.event-card a { display: block; text-decoration: none; color: inherit; }
.event-card figure { aspect-ratio: 3 / 4; background: var(--rubor); position: relative; }
.event-card figure::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(250, 248, 246, .6); border-radius: inherit; pointer-events: none; }
.event-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.event-card a:hover img, .event-card a:focus-visible img { transform: scale(1.04); }
.event-card-title { font-family: var(--f-display); font-weight: 500; font-size: 1.9rem; color: var(--mora); margin: 1.2rem 0 .35rem; }
.event-card-text { color: var(--texto-suave); font-size: .96rem; margin-bottom: .8rem; }
.event-card .text-link { font-size: .9rem; }
.event-cards li:nth-child(3n + 2) { margin-top: 3.5rem; } /* ritmo escalonado */
@media (max-width: 991.98px) {
  .event-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-cards li:nth-child(3n + 2) { margin-top: 0; }
  .event-cards li:nth-child(2n) { margin-top: 3rem; }
}
@media (max-width: 575.98px) {
  .event-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.1rem; margin: 0 -1rem; padding: 0 1rem 1rem; scrollbar-width: none; }
  .event-cards::-webkit-scrollbar { display: none; }
  .event-cards li { flex: 0 0 76%; scroll-snap-align: start; margin-top: 0 !important; }
}

.photo-band { position: relative; min-height: clamp(420px, 60vw, 640px); display: flex; align-items: flex-end; color: var(--arena); overflow: hidden; background: var(--noche); }
.photo-band.small { min-height: clamp(360px, 45vw, 520px); }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 16, 23, .05) 20%, rgba(38, 16, 23, .82)); }
.photo-band-content { position: relative; z-index: 1; padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.photo-band-title { color: var(--arena); font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 1.04; max-width: 17ch; margin-bottom: 1.6rem; }

.section-process { overflow: hidden; }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 2.2rem; right: 2.2rem; top: 2.1rem; height: 1px; background: repeating-linear-gradient(90deg, var(--cobre) 0 6px, transparent 6px 12px); opacity: .7; }
.process-step { position: relative; }
.process-num { font-variant-numeric: lining-nums; display: grid; place-items: center; width: 4.3rem; height: 4.3rem; border-radius: 50%; background: var(--arena); border: 1px solid var(--cobre); font-family: var(--f-ui); font-weight: 600; font-size: 1.35rem; color: var(--mora); margin-bottom: 1.4rem; position: relative; }
.process-step h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.process-step p { color: var(--texto-suave); font-size: .96rem; margin: 0; max-width: 18rem; }
@media (max-width: 991.98px) {
  .process { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .process::before { display: none; }
}
@media (max-width: 575.98px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process-step { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 1.1rem; padding-bottom: 2rem; }
  .process-step::before { content: ""; position: absolute; left: 1.7rem; top: 3.4rem; bottom: 0; width: 1px; background: repeating-linear-gradient(180deg, var(--cobre) 0 6px, transparent 6px 12px); opacity: .6; }
  .process-step:last-child::before { display: none; }
  .process-num { width: 3.4rem; height: 3.4rem; font-size: 1.15rem; grid-row: span 2; margin: 0; }
}

/* 11. PAQUETES -------------------------------------------------------- */
.packages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.package { position: relative; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radius-lg); padding: 2.3rem 2rem 2rem; display: flex; flex-direction: column; }
.package.is-featured { background: var(--mora); color: var(--arena); border-color: var(--mora); box-shadow: var(--sombra-alta); margin-top: -1.5rem; padding-top: 3.2rem; }
.package-badge { position: absolute; top: 1.2rem; left: 2rem; margin: 0; font-size: .8rem; font-weight: 600; color: var(--cobre-claro); display: inline-flex; gap: .4rem; align-items: center; }
.package-name { font-size: 2.4rem; line-height: 1; color: var(--mora); margin: 0 0 .7rem; }
.package-tagline { font-size: .95rem; line-height: 1.55; color: var(--texto-suave); min-height: 4.6em; margin-bottom: 1.4rem; }
.package-price { margin: 0; display: flex; align-items: baseline; gap: .45rem; }
.package-price .amount { font-size: 3.6rem; line-height: 1; color: var(--mora); font-weight: 600; font-variant-numeric: lining-nums; }
.package-price .currency { font-weight: 600; font-size: .9rem; color: var(--texto-suave); }
.package-note { font-size: .85rem; color: var(--texto-suave); margin: .3rem 0 1.5rem; }
.package-wa { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .9rem; font-size: .88rem; font-weight: 600; color: var(--mora); text-decoration: none; }
.package-wa:hover { text-decoration: underline; }
.package-features { margin: 1.8rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--linea); display: grid; gap: 1rem; }
.package-features dt { font-size: .76rem; font-weight: 600; color: var(--cobre-texto); margin-bottom: .1rem; }
.package-features dd { margin: 0; font-size: .93rem; line-height: 1.5; }
.package.is-featured .package-name, .package.is-featured .package-price .amount { color: var(--arena); }
.package.is-featured .package-tagline, .package.is-featured .package-note, .package.is-featured .package-price .currency { color: rgba(250, 248, 246, .8); }
.package.is-featured .package-features { border-top-color: rgba(250, 248, 246, .2); }
.package.is-featured .package-features dt { color: var(--cobre-claro); }
.package.is-featured .package-wa { color: var(--arena); }
.packages-more { text-align: center; margin: 2.5rem 0 0; }
@media (max-width: 991.98px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .package.is-featured { margin-top: 0; order: -1; }
  .package-tagline { min-height: 0; }
}

.payments { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; }
.payments-title { margin: 0; font-weight: 600; font-size: .92rem; }
.payments-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.payments-list li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px; background: var(--blanco); border: 1px solid var(--linea); font-size: .86rem; color: var(--grafito); }
.payments-list i { color: var(--mora); }

/* Comparativo de paquetes */
.compare-packages-wrap { background: var(--blanco); border-radius: var(--radius-lg); border: 1px solid var(--linea); }
.compare-packages { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare-packages th, .compare-packages td { padding: 1.1rem 1.4rem; text-align: left; vertical-align: top; font-size: .94rem; border-bottom: 1px solid var(--linea); }
.compare-packages thead th { border-bottom: 2px solid var(--linea); padding-top: 1.6rem; }
.compare-packages tbody th { font-weight: 600; color: var(--grafito); width: 18%; }
.compare-packages .is-featured { background: rgba(92, 36, 52, .04); }
.cp-name { display: block; font-family: var(--f-display); font-size: 1.7rem; font-weight: 500; color: var(--mora); line-height: 1.1; }
.cp-price { font-weight: 600; font-size: .9rem; color: var(--texto-suave); }
.cp-actions td, .cp-actions th { border-bottom: 0; padding-bottom: 1.6rem; }

/* 12. DEMOS ----------------------------------------------------------- */
.demo-rail { position: relative; }
.demo-track { display: flex; gap: 2.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem .5rem 2rem; margin: 0 -.5rem; scrollbar-width: thin; scrollbar-color: var(--cobre) transparent; }
.demo { flex: 0 0 auto; margin: 0; scroll-snap-align: start; display: grid; justify-items: center; gap: 1.2rem; text-align: center; }
.demo figcaption { display: grid; gap: .15rem; }
.demo figcaption strong { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; color: var(--mora); line-height: 1.1; }
.demo figcaption span { font-size: .88rem; color: var(--texto-suave); }
.demo .text-link { font-size: .88rem; margin-top: .3rem; }
.rail-controls { display: flex; justify-content: flex-end; gap: .6rem; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(92, 36, 52, .3); background: transparent; color: var(--mora); transition: background .2s, color .2s; }
.rail-btn:hover { background: var(--mora); color: var(--arena); }

/* 13. PREGUNTAS, TESTIMONIOS Y CTA FINAL ----------------------------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem 5rem; align-items: start; }
@media (max-width: 991.98px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--linea); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(92, 36, 52, .2); --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--mora); --bs-accordion-btn-padding-x: 0; --bs-accordion-body-padding-x: 0; --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; }
.faq-accordion .accordion-item { border-left: 0; border-right: 0; }
.faq-accordion .accordion-item:first-of-type { border-top: 1px solid var(--linea); }
.faq-accordion .accordion-header { margin: 0; }
.faq-accordion .accordion-button { font-family: var(--f-ui); font-size: 1.05rem; font-weight: 600; color: var(--grafito); padding-top: 1.35rem; padding-bottom: 1.35rem; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--mora); box-shadow: none; }
.faq-accordion .accordion-button::after { background-image: none; content: "+"; font-family: var(--f-display); font-size: 2rem; font-weight: 500; line-height: 1; width: auto; height: auto; color: var(--cobre-texto); transform: none; transition: transform .25s; }
.faq-accordion .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.faq-accordion .accordion-body { padding-top: 0; padding-bottom: 1.5rem; color: var(--texto-suave); }
.faq-accordion .accordion-body p { margin: 0; max-width: 40rem; }

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial { margin: 0; padding: 2rem; background: var(--blanco); border-radius: var(--radius); border: 1px solid var(--linea); }
.testimonial blockquote p { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.35; color: var(--grafito); }
.testimonial figcaption strong { display: block; color: var(--mora); }
.testimonial figcaption span { font-size: .88rem; color: var(--texto-suave); }

.cta-final { position: relative; padding: var(--section-y) 0; background: var(--noche); color: var(--arena); overflow: hidden; isolation: isolate; }
.cta-final-bg { position: absolute; inset: 0; z-index: -1; }
.cta-final-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-final-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--noche) 25%, rgba(38, 16, 23, .55)); }
.cta-final-text { font-size: 1.12rem; color: rgba(250, 248, 246, .85); max-width: 28rem; }
.cta-final-contact { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; color: rgba(250, 248, 246, .85); font-size: .95rem; }
.cta-final-contact a { color: var(--arena); text-decoration: none; }
.cta-final-contact a:hover { text-decoration: underline; }
.cta-final-contact i { color: var(--cobre-claro); width: 1.4rem; }
.form-card { background: var(--blanco); color: var(--grafito); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); box-shadow: var(--sombra-alta); }
.form-card-title { font-family: var(--f-display); font-weight: 500; font-size: 2rem; margin-bottom: 1.5rem; }

/* FOOTER */
.site-footer { background: var(--noche); color: rgba(250, 248, 246, .8); padding: 0 0 2rem; font-size: .94rem; }
.cta-final + .site-footer, .photo-band + .site-footer { border-top: 1px solid rgba(250, 248, 246, .1); }
.site-footer a { color: rgba(250, 248, 246, .88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-newsletter { padding: clamp(3.5rem, 6vw, 5rem) 0; border-bottom: 1px solid rgba(250, 248, 246, .12); }
.footer-newsletter-title { color: var(--arena); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.08; margin-bottom: .7rem; }
.footer-newsletter-text { margin: 0; max-width: 32rem; color: rgba(250, 248, 246, .75); }
.newsletter-row { display: flex; gap: .6rem; }
.newsletter-row .form-control { background: rgba(250, 248, 246, .08); border-color: rgba(250, 248, 246, .25); color: var(--arena); border-radius: 999px; padding-left: 1.3rem; }
.newsletter-row .form-control::placeholder { color: rgba(250, 248, 246, .55); }
.newsletter-row .form-control:focus { border-color: var(--cobre-claro); box-shadow: 0 0 0 4px rgba(226, 180, 163, .2); background: rgba(250, 248, 246, .12); }
.newsletter-form .form-check-label { color: rgba(250, 248, 246, .75); font-size: .85rem; }
.newsletter-form .form-check-label a { text-decoration: underline; }
.newsletter-form .form-check-input { background-color: transparent; border-color: rgba(250, 248, 246, .5); }
.newsletter-form .form-check-input:checked { background-color: var(--cobre-claro); border-color: var(--cobre-claro); }
.newsletter-form .invalid-feedback { color: #FFB4AB; }
@media (max-width: 575.98px) { .newsletter-row { flex-direction: column; } }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 2.5rem; padding: 3.5rem 0 3rem; }
.footer-brand .brand-logo { width: 200px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 20rem; color: rgba(250, 248, 246, .7); }
.footer-social { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; gap: .5rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(250, 248, 246, .25); }
.footer-social a:hover { background: var(--arena); color: var(--noche); text-decoration: none; }
.footer-heading { font-family: var(--f-ui); font-size: .95rem; font-weight: 600; color: var(--cobre-claro); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-contact li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; align-items: start; }
.footer-contact i { color: var(--cobre-claro); margin-top: .3rem; }
.footer-contact small { color: rgba(250, 248, 246, .6); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid rgba(250, 248, 246, .12); font-size: .85rem; color: rgba(250, 248, 246, .6); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-bottom .link-button { color: rgba(250, 248, 246, .88); text-decoration: none; }
.footer-bottom .link-button:hover { text-decoration: underline; color: #fff; }
@media (max-width: 991.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: 1fr; } }

/* Flotantes y aviso de cookies */
.float-whatsapp { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1040; display: flex; align-items: center; gap: .6rem; height: 58px; padding: 0 1.2rem 0 1rem; border-radius: 999px; background: #1F7A4D; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .2s var(--ease-out); }
.float-whatsapp i { font-size: 1.7rem; }
.float-whatsapp:hover { color: #fff; transform: translateY(-2px); }
@media (max-width: 575.98px) { .float-whatsapp { width: 58px; padding: 0; justify-content: center; } .float-whatsapp-label { display: none; } }
.back-to-top { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 1039; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--blanco); color: var(--mora); box-shadow: var(--sombra-suave); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.cookie-banner { position: fixed; z-index: 1050; left: 50%; bottom: 1rem; transform: translateX(-50%); width: min(720px, calc(100% - 2rem)); display: flex; align-items: center; gap: 1.2rem; padding: 1rem 1.2rem; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radius); box-shadow: var(--sombra-alta); font-size: .88rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }
@media (max-width: 575.98px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }

/* 14. PÁGINAS INTERNAS ----------------------------------------------- */
.page-hero { padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.page-hero.has-image .page-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.page-hero-text .lead-text { margin-bottom: 1.8rem; }
.page-hero-figure { aspect-ratio: 9 / 11; background: var(--rubor); max-height: 560px; }
.page-hero-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991.98px) { .page-hero.has-image .page-hero-grid { grid-template-columns: 1fr; } .page-hero-figure { max-width: 420px; } }
.breadcrumb { --bs-breadcrumb-divider-color: var(--texto-suave); --bs-breadcrumb-item-active-color: var(--texto-suave); font-size: .86rem; margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--mora); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb.light { --bs-breadcrumb-divider-color: rgba(250, 248, 246, .7); --bs-breadcrumb-item-active-color: rgba(250, 248, 246, .8); }
.breadcrumb.light a { color: var(--arena); }

.service-rows { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.service-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.service-row.is-reversed .service-figure { order: 2; }
.service-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--rubor); }
.service-figure img { width: 100%; height: 100%; object-fit: cover; }
.service-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--cobre); color: var(--mora); font-size: 1.2rem; margin-bottom: 1.2rem; }
@media (max-width: 991.98px) { .service-row { grid-template-columns: 1fr; } .service-row.is-reversed .service-figure { order: 0; } }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; line-height: 1.5; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .1em; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; font-size: .65rem; border-radius: 50%; background: var(--rubor); color: var(--mora); }
.detail-aside .check-list li::before { background: var(--blanco); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem 5rem; align-items: start; }
@media (max-width: 991.98px) { .detail-layout { grid-template-columns: 1fr; } }
.detail-aside { background: var(--rubor); border-radius: var(--radius-lg); padding: 2rem; }
.aside-title { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; color: var(--mora); margin-bottom: .2rem; }
.prose { max-width: 42rem; font-size: 1.06rem; line-height: 1.8; }
.prose p { margin-bottom: 1.2rem; }
.prose.legal h2 { font-family: var(--f-display); font-weight: 500; font-size: 1.8rem; margin: 2.5rem 0 .8rem; }
.prose.legal h2:first-child { margin-top: 0; }

.link-cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.link-cards a { display: flex; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--linea); background: var(--blanco); color: var(--grafito); text-decoration: none; font-size: .9rem; line-height: 1.5; transition: border-color .2s, transform .2s var(--ease-out); height: 100%; }
.link-cards a:hover { border-color: var(--mora); transform: translateY(-2px); }
.link-cards i { color: var(--mora); font-size: 1.15rem; margin-top: .2rem; }
.link-cards strong { display: block; color: var(--mora); font-size: 1rem; margin-bottom: .15rem; }
.link-cards span { color: var(--texto-suave); }

.event-hero { position: relative; min-height: clamp(520px, 72vh, 760px); display: flex; align-items: flex-end; background: var(--noche); overflow: hidden; }
.event-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 16, 23, .1) 10%, rgba(38, 16, 23, .85)); }
.event-hero-content { position: relative; z-index: 1; width: 100%; padding: 4rem 0 clamp(3rem, 6vw, 5rem); }
.event-hero .display-title { max-width: 15ch; }
.event-hero .lead-text { margin-bottom: 2rem; }

.about-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem 5rem; }
.mission-vision { display: grid; gap: 1.5rem; }
.mission-vision > div { padding: 1.8rem 2rem; border-left: 2px solid var(--cobre); background: var(--blanco); border-radius: 0 var(--radius) var(--radius) 0; }
.mission-vision h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.8rem; color: var(--mora); margin-bottom: .4rem; }
.mission-vision p { margin: 0; color: var(--texto-suave); }
@media (max-width: 991.98px) { .about-story { grid-template-columns: 1fr; } }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.values i { font-size: 1.5rem; color: var(--cobre-texto); margin-bottom: 1rem; }
.values h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.65rem; color: var(--mora); margin-bottom: .4rem; }
.values p { color: var(--texto-suave); margin: 0; font-size: .96rem; }
@media (max-width: 991.98px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .values { grid-template-columns: 1fr; } }

.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group-title { font-size: 2rem; margin-bottom: 1rem; }
.faq-cta { margin-top: 4rem; padding: 2.2rem; border-radius: var(--radius-lg); background: var(--rubor); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.faq-cta p { margin: 0 auto 0 0; font-family: var(--f-display); font-size: 1.8rem; color: var(--mora); }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2.5rem; align-items: start; }
@media (max-width: 991.98px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list strong { display: block; font-size: .85rem; color: var(--cobre-texto); }
.contact-list small { display: block; color: var(--texto-suave); }
.contact-list address { margin: 0; }
.ci { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--blanco); border: 1px solid var(--linea); color: var(--mora); }
.map-facade { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--rubor) url("../img/brand/map-pattern.svg") center / cover; aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { border: 0; background: var(--blanco); border-radius: var(--radius); padding: 1.2rem 1.6rem; display: grid; gap: .2rem; justify-items: center; box-shadow: var(--sombra-suave); color: var(--mora); font-weight: 600; }
.map-load i { font-size: 1.6rem; }
.map-load small { font-weight: 400; color: var(--texto-suave); font-size: .78rem; }
.map-open { position: absolute; bottom: 1rem; font-size: .85rem; background: rgba(255, 255, 255, .9); padding: .3rem .8rem; border-radius: 999px; }
.map-facade.is-loaded .map-load, .map-facade.is-loaded .map-open { display: none; }

.status-page { min-height: 60vh; display: flex; align-items: center; }
.status-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--rubor); color: var(--mora); font-size: 2rem; margin-bottom: 1.5rem; }
.status-code { font-size: clamp(6rem, 18vw, 11rem); line-height: .9; color: var(--cobre); margin: 0 0 1rem; }
.status-page .hero-actions { margin-top: 2rem; }

/* SweetAlert2 con la marca */
.swal2-popup { font-family: var(--f-ui) !important; border-radius: var(--radius-lg) !important; padding: 2.2rem 1.8rem 2rem !important; color: var(--grafito) !important; }
.swal2-title { font-family: var(--f-display) !important; font-weight: 500 !important; font-size: 2.1rem !important; color: var(--mora) !important; line-height: 1.1 !important; }
.swal2-html-container { color: var(--texto-suave) !important; font-size: 1rem !important; line-height: 1.6 !important; }
.swal2-styled.swal2-confirm { background: var(--mora) !important; border-radius: 999px !important; padding: .8rem 1.8rem !important; font-weight: 600 !important; box-shadow: none !important; }
.swal2-styled.swal2-cancel { background: transparent !important; color: var(--mora) !important; border: 1.5px solid rgba(92, 36, 52, .35) !important; border-radius: 999px !important; padding: .8rem 1.6rem !important; font-weight: 600 !important; }
.swal2-styled:focus-visible { box-shadow: 0 0 0 4px rgba(92, 36, 52, .3) !important; }
.swal2-icon.swal2-success { border-color: var(--cobre) !important; color: var(--cobre) !important; }
.swal2-icon.swal2-success [class^="swal2-success-line"] { background-color: var(--mora) !important; }
.swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(200, 120, 94, .35) !important; }

/* 15. UTILIDADES Y MOVIMIENTO ---------------------------------------- */
.pt-0 { padding-top: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .float-whatsapp, .back-to-top, .cookie-banner, .cta-final { display: none !important; }
}

/* 16. DEMOS ------------------------------------------------------------ */
.demo-filters { display: grid; gap: .9rem; padding: 1.4rem; margin-bottom: 3rem; border-radius: var(--radius-lg); background: var(--blanco); border: 1px solid var(--linea); position: sticky; top: 84px; z-index: 5; box-shadow: var(--sombra-suave); }
.filter-row { display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; align-items: center; }
.filter-label { font-weight: 600; font-size: .88rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.fchip { padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--linea); font-size: .86rem; font-weight: 500; color: var(--grafito); text-decoration: none; background: var(--arena); transition: all .2s; }
.fchip:hover { border-color: var(--mora); color: var(--mora); }
.fchip.is-on { background: var(--mora); border-color: var(--mora); color: #fff; }
.filter-count { margin: 0; font-size: .85rem; color: var(--texto-suave); }
@media (max-width: 767.98px) {
  .demo-filters { position: static; padding: 1rem; }
  .filter-row { grid-template-columns: 1fr; gap: .4rem; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; }
  .fchip { white-space: nowrap; }
}
.demo-group + .demo-group { margin-top: clamp(4rem, 7vw, 6rem); }
.demo-group[hidden] { display: none; }
.demo-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 2rem; }
.demo-group-head .section-title { margin: 0; }
.demo-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1rem; }
@media (min-width: 768px) { .demo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem 1.6rem; } }
@media (min-width: 1200px) { .demo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2.6rem 1.4rem; } }
.demo-card[hidden] { display: none; }
.demo-card a { display: grid; justify-items: center; text-align: center; text-decoration: none; color: inherit; }
.demo-phone { position: relative; width: 100%; max-width: 210px; aspect-ratio: 9 / 18.6; border-radius: 34px; padding: 9px; background: #1C1418; box-shadow: var(--sombra-alta), inset 0 0 0 2px #3A2A30; transition: transform .5s var(--ease-out); }
.demo-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; background: var(--rubor); }
.demo-phone .phone-notch { top: 16px; width: 64px; height: 18px; margin-left: -32px; }
.demo-phone-names { position: absolute; left: 9px; right: 9px; bottom: 9px; padding: 2.5rem .8rem 1.2rem; border-radius: 0 0 26px 26px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.1; }
.demo-card a:hover .demo-phone, .demo-card a:focus-visible .demo-phone { transform: translateY(-6px) rotate(-1.5deg); }
.demo-pkg { margin-top: 1.3rem; padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--rubor); color: var(--mora); }
.demo-pkg.pkg-celebracion { background: var(--mora); color: #fff; }
.demo-pkg.pkg-signature { background: var(--noche); color: var(--cobre-claro); }
.demo-title { font-family: var(--f-display); font-weight: 500; font-size: 1.55rem; color: var(--mora); margin: .55rem 0 .1rem; line-height: 1.15; }
.demo-meta { font-size: .86rem; color: var(--texto-suave); margin: 0; }
.demo-theme { font-size: .8rem; color: var(--texto-suave); margin: .2rem 0 0; }
