/* ==========================================================================
   Mariachi Mexicolombia de Cali — Design System v2
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../assets/fonts/plusjakartasans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/playfairdisplay-italic-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paleta de marca */
  --brand-crimson: #B9132C;
  --brand-crimson-dark: #7E0A1D;
  --brand-crimson-bright: #D4112F;
  --brand-gold: #C89B3C;
  --brand-gold-light: #E4C06A;
  --brand-gold-deep: #8A6516;
  --brand-gold-soft: rgba(200, 155, 60, 0.16);

  /* Conversión WhatsApp (verde accesible AA) */
  --wa-green: #0B7A3D;
  --wa-green-hover: #08612F;
  --wa-green-ring: rgba(11, 122, 61, 0.3);

  /* Superficies */
  --surface-white: #FFFFFF;
  --surface-cream: #F6EFE2;
  --surface-cream-deep: #EFE5D2;
  --surface-charcoal: #1E1B18;
  --surface-charcoal-soft: #262220;

  /* Tipografía e ink */
  --ink-primary: #1E1B18;
  --ink-secondary: #4F4841;
  --ink-muted: #6A6159;
  --ink-on-dark: #FAF5EB;

  /* Bordes y sombras */
  --border-subtle: rgba(30, 27, 24, 0.1);
  --border-gold: rgba(200, 155, 60, 0.5);
  --shadow-card: 0 4px 12px rgba(30, 27, 24, 0.05), 0 18px 38px rgba(30, 27, 24, 0.07);
  --shadow-card-hover: 0 10px 22px rgba(30, 27, 24, 0.09), 0 28px 54px rgba(185, 19, 44, 0.13);
  --shadow-btn-wa: 0 8px 20px rgba(11, 122, 61, 0.28), 0 2px 4px rgba(11, 122, 61, 0.2);

  /* Geometría */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Tipografía */
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink-primary);
  background-color: var(--surface-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

::selection { background: var(--brand-crimson); color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.section-dark :focus-visible,
.cta-banner :focus-visible,
.footer :focus-visible { outline-color: var(--brand-gold-light); }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--brand-crimson);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

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

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon-star { color: #F5B400; width: 17px; height: 17px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   Botones
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  min-height: 46px;
  overflow: hidden;
  transition: transform .25s var(--ease-out-expo), box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -120%;
  width: 45%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: rotate(18deg);
  transition: left .6s var(--ease-out-expo);
  pointer-events: none;
}
.btn:hover::after { left: 140%; }
.btn:active { transform: scale(.97); }

.btn-lg { padding: 16px 30px; min-height: 52px; font-size: 0.96rem; }
.btn-sm { padding: 10px 18px; min-height: 40px; font-size: 0.82rem; }

.btn-wa {
  background-color: var(--wa-green);
  color: #fff;
  box-shadow: var(--shadow-btn-wa);
}
.btn-wa:hover {
  background-color: var(--wa-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 122, 61, 0.36);
}

.btn-outline {
  background-color: #fff;
  color: var(--ink-primary);
  border: 1.5px solid rgba(185, 19, 44, 0.45);
  box-shadow: 0 4px 12px rgba(30, 27, 24, 0.04);
}
.btn-outline:hover {
  border-color: var(--brand-crimson);
  color: var(--brand-crimson);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 19, 44, 0.12);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--brand-crimson);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(30, 27, 24, 0.08); }

.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--brand-crimson), var(--brand-gold));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  will-change: transform;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }

.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 7.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 3px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--brand-crimson);
}
.brand-city {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  color: var(--brand-gold-deep);
}
.brand-city::before {
  content: '';
  width: 16px; height: 1.5px;
  background: var(--brand-gold);
  border-radius: 2px;
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-primary);
  transition: color .25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 2px;
  background: var(--brand-crimson);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease-out-expo);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--brand-crimson); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.mobile-menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--ink-primary);
  transition: background-color .2s ease;
}
.mobile-menu-btn:hover { background: var(--surface-cream); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-cream);
  padding: 96px 0 96px;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.hero-glow-1 {
  width: 620px; height: 620px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.42), transparent 68%);
  animation: glowDrift 18s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 520px; height: 520px;
  bottom: -220px; left: -140px;
  background: radial-gradient(circle, rgba(185, 19, 44, 0.22), transparent 70%);
  animation: glowDrift 22s ease-in-out infinite alternate-reverse;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-note { position: absolute; color: var(--brand-gold-deep); opacity: .22; }
.hero-note-1 { width: 40px; top: 26%; left: 3%; animation: floatNote 8s ease-in-out infinite; }
.hero-note-2 { width: 30px; bottom: 20%; left: 44%; animation: floatNote 7s 1.2s ease-in-out infinite; }
.hero-note-3 { width: 46px; top: 18%; right: 46%; animation: floatNote 9s .6s ease-in-out infinite; }

/* Papel picado */
.papel-picado {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 96px;
  z-index: 2;
}
.picado-flag {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: picadoSway 7s ease-in-out infinite alternate;
}
.papel-picado > g:nth-of-type(1) .picado-flag { animation-delay: 0s; }
.papel-picado > g:nth-of-type(2) .picado-flag { animation-delay: .7s; }
.papel-picado > g:nth-of-type(3) .picado-flag { animation-delay: .25s; }
.papel-picado > g:nth-of-type(4) .picado-flag { animation-delay: 1s; }
.papel-picado > g:nth-of-type(5) .picado-flag { animation-delay: .45s; }
.papel-picado > g:nth-of-type(6) .picado-flag { animation-delay: .9s; }

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 48px;
}

.hero-content { max-width: 620px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-crimson);
  background: rgba(185, 19, 44, 0.07);
  border: 1px solid rgba(185, 19, 44, 0.18);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

@keyframes eqBounce {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
.svg-eq-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: eqBounce 1.1s ease-in-out infinite;
}
.svg-eq-bar:nth-child(2) { animation-delay: .2s; }
.svg-eq-bar:nth-child(3) { animation-delay: .4s; }
.svg-eq-bar:nth-child(4) { animation-delay: .15s; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.55rem, 5.1vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink-primary);
  margin-bottom: 20px;
}
.hero-line { display: block; }
.hero-accent { color: var(--brand-crimson); }
.hero-cali {
  position: relative;
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 0.7em;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brand-gold-deep);
  margin-top: 6px;
}
.hero-cali::after {
  content: '';
  position: absolute;
  left: 2px; bottom: -6px;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-gold-light), var(--brand-gold), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: underlineGrow 1.1s .5s var(--ease-out-expo) forwards;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  font-weight: 500;
  color: var(--ink-secondary);
  margin-bottom: 22px;
  max-width: 540px;
}
.hero-subtitle strong { color: var(--ink-primary); font-weight: 700; }

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 18px rgba(30, 27, 24, 0.06);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-rating-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
.hero-rating-text { color: var(--ink-secondary); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-secondary);
}
.hero-chips .icon { width: 15px; height: 15px; color: var(--brand-gold-deep); }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.hero-ring {
  position: absolute;
  width: min(100%, 540px);
  height: auto;
  animation: spin 52s linear infinite;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 416px);
  aspect-ratio: 3 / 4;
  border-radius: 220px 220px 26px 26px;
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow:
    0 0 0 1.5px var(--brand-gold),
    0 34px 70px rgba(30, 27, 24, 0.24),
    0 8px 18px rgba(30, 27, 24, 0.1);
  animation: floatSoft 8s ease-in-out infinite;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.hero-seal {
  position: absolute;
  z-index: 3;
  left: -14px;
  bottom: 30px;
  width: 116px; height: 116px;
}
.hero-seal-ring {
  width: 100%; height: 100%;
  animation: spin 26s linear infinite;
  filter: drop-shadow(0 10px 22px rgba(126, 10, 29, 0.35));
}
.hero-seal-text {
  font-family: var(--font-display);
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: 1.8px;
  fill: var(--brand-gold-light);
}
.hero-seal-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1;
}
.hero-seal-core strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; }
.hero-seal-core small { font-size: 0.52rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand-gold-light); margin-top: 4px; }

.hero-float-rating {
  position: absolute;
  z-index: 3;
  top: 38px;
  right: -6px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 26px rgba(30, 27, 24, 0.14);
  border-radius: var(--radius-pill);
  padding: 9px 15px;
  animation: floatSoft 6s 1s ease-in-out infinite;
}
.hero-float-score { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.hero-float-label { font-size: 0.74rem; font-weight: 600; color: var(--ink-muted); }

.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color .2s ease;
}
.hero-scroll:hover { color: var(--brand-crimson); }
.hero-scroll svg { width: 20px; height: 20px; animation: scrollCue 2s ease-in-out infinite; }

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  overflow: hidden;
  background: var(--surface-charcoal);
  border-top: 1px solid rgba(200, 155, 60, 0.3);
  border-bottom: 1px solid rgba(200, 155, 60, 0.3);
  padding: 13px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-on-dark);
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  color: var(--brand-gold-light);
  font-size: 0.8rem;
}

/* ==========================================================================
   Secciones
   ========================================================================== */

.section { position: relative; padding: 92px 0; }
.section-cream { background: var(--surface-cream); }
.section-white { background: var(--surface-white); }
.section-dark { background: var(--surface-charcoal); color: var(--ink-on-dark); }

.section-topo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(200, 155, 60, 0.22) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: .5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.section-topo > .container { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-gold-deep);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--brand-gold-light); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink-primary);
  margin-bottom: 12px;
}
.section-title-light { color: var(--ink-on-dark); }

.section-desc { color: var(--ink-secondary); font-size: 1.02rem; }
.section-desc-left { text-align: left; max-width: 480px; margin: 0 0 26px; }

.section-note {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.section-note a { color: var(--brand-crimson); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.ornament { display: flex; justify-content: center; margin: 14px auto 0; }
.ornament-line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.2s var(--ease-out-expo);
}
.is-visible .ornament-line { stroke-dashoffset: 0; }
.ornament-gem { animation: gemPulse 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* ==========================================================================
   Videos
   ========================================================================== */

.videos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-charcoal);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out-expo), box-shadow .35s ease;
}
.video-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out-expo), filter .4s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.video-card:hover img { transform: scale(1.05); filter: saturate(1.05); }

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: linear-gradient(180deg, rgba(20, 16, 14, 0.08) 0%, rgba(20, 16, 14, 0.76) 100%);
}

.play-btn {
  position: relative;
  width: 74px; height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  box-shadow: 0 12px 30px rgba(200, 155, 60, 0.5);
  transition: transform .35s var(--ease-out-expo), box-shadow .35s ease;
}
.play-btn .icon { width: 30px; height: 30px; margin-left: 3px; }
.play-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(228, 192, 106, 0.7);
  animation: playPulse 2.6s ease-out infinite;
}
.video-card:hover .play-btn { transform: scale(1.09); box-shadow: 0 16px 40px rgba(200, 155, 60, 0.62); }

.video-label {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}
.video-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.video-pill {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: background-color .25s ease;
}
.video-card:hover .video-pill { background: var(--brand-crimson); border-color: var(--brand-crimson); }

/* ==========================================================================
   Galería (masonry con columnas)
   ========================================================================== */

.gallery-grid { columns: 3; column-gap: 18px; }

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-cream);
  break-inside: avoid;
  cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(30, 27, 24, 0.08);
  transition: box-shadow .35s ease, transform .35s var(--ease-out-expo);
}
.gallery-item[hidden] { display: none; }
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform .7s var(--ease-out-expo);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.gallery-item:hover img { transform: scale(1.045); }

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 16px 13px;
  background: linear-gradient(180deg, transparent, rgba(18, 15, 13, 0.82));
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }

.gallery-more { text-align: center; margin-top: 30px; }

/* ==========================================================================
   Nosotros
   ========================================================================== */

.story { display: grid; grid-template-columns: 0.88fr 1.12fr; align-items: center; gap: 64px; overflow: hidden; }

.story-media { display: flex; justify-content: center; }
.media-arch {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 3 / 4;
}
.media-ring {
  position: absolute;
  inset: -22px;
  width: calc(100% + 44px);
  height: calc(100% + 44px);
  animation: spin 70s linear infinite;
  opacity: .8;
}
.media-arch img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 200px 200px 22px 22px;
  border: 5px solid rgba(250, 245, 235, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.media-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: var(--brand-gold);
  color: var(--surface-charcoal);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.media-badge .icon { width: 15px; height: 15px; }

.story-content p { color: rgba(250, 245, 235, 0.76); margin-bottom: 16px; font-size: 1rem; }

.story-quote {
  position: relative;
  margin: 26px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--brand-gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.45;
  color: var(--brand-gold-light);
}
.quote-mark { display: block; width: 26px; height: 26px; color: var(--brand-gold); opacity: .55; margin-bottom: 8px; }

.story-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 245, 235, 0.14);
}
.story-stats dt {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--brand-gold-light);
  margin-bottom: 4px;
}
.story-stats dd { font-size: 0.78rem; color: rgba(250, 245, 235, 0.62); max-width: 130px; }

/* ==========================================================================
   Planes
   ========================================================================== */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  max-width: 1060px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 26px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out-expo), box-shadow .35s ease;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }

.plan-card.plan-popular {
  border: 2px solid var(--brand-gold);
  box-shadow: 0 14px 36px rgba(200, 155, 60, 0.2), 0 4px 12px rgba(30, 27, 24, 0.06);
}
@media (min-width: 861px) {
  .plan-card.plan-popular { transform: translateY(-8px); }
  .plan-card.plan-popular:hover { transform: translateY(-13px); }
}

.plan-badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand-crimson);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(185, 19, 44, 0.34);
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink-primary);
  margin-bottom: 4px;
}
.plan-for {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-gold-deep);
  margin-bottom: 18px;
  min-height: 2.4em;
}
.plan-includes-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 250px;
  margin: 0 auto 26px;
  flex-grow: 1;
  text-align: left;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
}
.plan-check { width: 19px; height: 19px; color: var(--brand-gold); margin-top: 1px; }
.plan-btn { width: 100%; margin-top: auto; }

/* ==========================================================================
   Pasos
   ========================================================================== */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.steps::before {
  content: '';
  position: absolute;
  top: 42px; left: 16%; right: 16%;
  border-top: 2px dashed rgba(200, 155, 60, 0.45);
}
.step { position: relative; text-align: center; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface-cream);
  border: 2px solid var(--brand-gold);
  box-shadow: 0 8px 22px rgba(200, 155, 60, 0.18);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  color: var(--brand-crimson);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.step p { font-size: 0.9rem; color: var(--ink-secondary); max-width: 280px; margin: 0 auto; }
.steps-cta { text-align: center; margin-top: 44px; }

/* ==========================================================================
   Cobertura
   ========================================================================== */

.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coverage-card {
  background: #fff;
  border: 1px solid rgba(200, 155, 60, 0.28);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease;
}
.coverage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.coverage-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--brand-gold-soft);
  color: var(--brand-crimson);
}
.coverage-icon .icon { width: 24px; height: 24px; }
.coverage-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.coverage-card p { font-size: 0.86rem; color: var(--ink-secondary); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] { border-color: rgba(200, 155, 60, 0.55); box-shadow: 0 8px 22px rgba(30, 27, 24, 0.06); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  text-align: left;
}
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-gold-soft);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--brand-gold-deep);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out-expo), opacity .3s ease;
}
.faq-icon::before { width: 9px; height: 1.8px; }
.faq-icon::after { width: 1.8px; height: 9px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease-soft);
}
.faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-a p {
  overflow: hidden;
  padding: 0 22px 20px;
  font-size: 0.93rem;
  color: var(--ink-secondary);
  max-width: 700px;
}

/* ==========================================================================
   Contacto + cotizador
   ========================================================================== */

.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }

.contact-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(200, 155, 60, 0.3);
  color: var(--brand-crimson);
  box-shadow: 0 4px 12px rgba(30, 27, 24, 0.05);
}
.contact-icon .icon { width: 21px; height: 21px; }
.contact-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2px;
}
.contact-list a,
.contact-list div > span:last-child {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-primary);
}
.contact-list a:hover { color: var(--brand-crimson); }

.quick-facts {
  background: #fff;
  border: 1px solid rgba(200, 155, 60, 0.32);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.quick-facts h3 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold-deep);
  margin-bottom: 12px;
}
.quick-facts dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(30, 27, 24, 0.07);
}
.quick-facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.quick-facts dt { font-size: 0.78rem; color: var(--ink-muted); font-weight: 600; }
.quick-facts dd { font-size: 0.82rem; font-weight: 600; text-align: right; }

.quote-form {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.form-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  margin-bottom: 4px;
}
.form-sub { font-size: 0.86rem; color: var(--ink-muted); margin-bottom: 22px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}
.optional { font-weight: 500; color: var(--ink-muted); }

.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-primary);
  background: #fff;
  border: 1px solid rgba(30, 27, 24, 0.16);
  border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236A6159' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand-crimson);
  box-shadow: 0 0 0 3px rgba(185, 19, 44, 0.12);
}
.field input::placeholder { color: #A79E95; }

.form-submit { width: 100%; margin-top: 6px; }
.form-note { margin-top: 10px; font-size: 0.74rem; color: var(--ink-muted); text-align: center; }

/* ==========================================================================
   CTA final
   ========================================================================== */

.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-crimson-bright) 0%, var(--brand-crimson-dark) 100%);
  color: #fff;
  padding: 84px 0;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 110%, rgba(228, 192, 106, 0.22), transparent 55%);
  pointer-events: none;
}
.cta-notes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; pointer-events: none; }
.float-note { animation: floatNote 5.5s ease-in-out infinite; }
.float-note:nth-child(2) { animation-delay: 1s; }
.float-note:nth-child(3) { animation-delay: .6s; }
.float-note:nth-child(4) { animation-delay: 1.4s; }

.cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  line-height: 1.1;
  margin-bottom: 12px;
}
.cta-sub { font-size: 1.05rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--surface-charcoal);
  color: var(--ink-on-dark);
  padding: 58px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(250, 245, 235, 0.12);
}
.brand-footer { margin-bottom: 16px; }
.brand-footer .brand-kicker { color: var(--brand-gold-light); }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-city { color: var(--brand-gold-light); }

.footer-brand p { font-size: 0.9rem; color: rgba(250, 245, 235, 0.7); max-width: 400px; }
.footer-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--brand-gold-light) !important;
  font-weight: 600;
  font-size: 0.84rem !important;
}
.footer-hours .icon { width: 16px; height: 16px; }

.footer h3 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin-bottom: 14px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a { font-size: 0.9rem; color: rgba(250, 245, 235, 0.74); transition: color .2s ease; }
.footer-nav a:hover { color: var(--brand-gold-light); }

.footer-contact address { font-size: 0.9rem; color: rgba(250, 245, 235, 0.7); margin-bottom: 14px; line-height: 1.6; }
.footer-phone {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-gold-light);
  margin-bottom: 14px;
}
.footer-phone:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.78rem;
  color: rgba(250, 245, 235, 0.55);
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--brand-gold-light); }

/* ==========================================================================
   WhatsApp flotante
   ========================================================================== */

.floating-wa {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 58px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--wa-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 10px 28px rgba(11, 122, 61, 0.4);
  isolation: isolate;
  transition: transform .25s var(--ease-out-expo), background-color .25s ease;
}
.floating-wa:hover { transform: translateY(-3px) scale(1.02); background: var(--wa-green-hover); }
.floating-wa .icon { width: 27px; height: 27px; }
.wa-pulse {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--wa-green);
  animation: pulseRing 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

/* ==========================================================================
   Modales
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 9, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s ease;
}
.modal.open .modal-backdrop { opacity: 1; }

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 940px;
  opacity: 0;
  transform: scale(.96) translateY(12px);
  transition: opacity .28s ease, transform .28s var(--ease-out-expo);
}
.modal.open .modal-panel { opacity: 1; transform: none; }

.modal-close {
  position: absolute;
  top: -52px; right: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background-color .2s ease, transform .2s ease;
}
.modal-close:hover { background: var(--brand-crimson); transform: rotate(90deg); }

.modal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}
.modal-video iframe { width: 100%; height: 100%; border: 0; display: block; }

.modal-panel-photo { max-width: 1020px; display: flex; align-items: center; justify-content: center; }
.modal-photo { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.modal-photo img {
  max-height: 76vh;
  max-width: min(88vw, 560px);
  width: auto;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.modal-photo figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(250, 245, 235, 0.85);
  text-align: center;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color .2s ease, transform .2s ease;
}
.modal-nav:hover { background: var(--brand-crimson); }
.modal-nav .icon { width: 24px; height: 24px; }
.modal-prev { left: -66px; }
.modal-next { right: -66px; }

.modal-counter {
  position: absolute;
  bottom: -34px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(250, 245, 235, 0.72);
}

/* ==========================================================================
   Reveal + animaciones
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: none; }

.plans-grid .plan-card:nth-child(2),
.coverage-grid .coverage-card:nth-child(2),
.steps .step:nth-child(2) { transition-delay: .09s; }
.plans-grid .plan-card:nth-child(3),
.coverage-grid .coverage-card:nth-child(3),
.steps .step:nth-child(3) { transition-delay: .18s; }
.coverage-grid .coverage-card:nth-child(4) { transition-delay: .27s; }
.coverage-grid .coverage-card:nth-child(5) { transition-delay: .36s; }
.coverage-grid .coverage-card:nth-child(6) { transition-delay: .45s; }

@keyframes picadoSway {
  from { transform: rotate(-2.6deg); }
  to { transform: rotate(2.6deg); }
}
@keyframes floatNote {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: .35; }
  50% { transform: translateY(-12px) rotate(6deg); opacity: .8; }
}
@keyframes glowDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-40px, 30px, 0) scale(1.12); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(5px); opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .6; }
  75%, 100% { transform: scale(1.45); opacity: 0; }
}
@keyframes playPulse {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}
@keyframes gemPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-title { font-size: clamp(2.5rem, 5.4vw, 3.9rem); }
  .hero-photo { width: min(100%, 370px); }
  .hero-seal { width: 104px; height: 104px; left: -6px; }
  .modal-prev { left: 8px; }
  .modal-next { right: 8px; }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 84px; }
  .navbar-inner { height: 72px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 10px 24px 18px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 18px 34px rgba(30, 27, 24, 0.12);
  }
  .nav-links.open { display: flex; animation: menuDrop .3s var(--ease-out-expo); }
  .nav-links a {
    display: block;
    padding: 13px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(30, 27, 24, 0.06);
  }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .mobile-menu-btn { display: inline-flex; }

  .hero { padding: 86px 0 76px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 640px; }
  .hero-visual { min-height: 0; margin-top: 6px; }
  .hero-photo { width: min(82%, 360px); }
  .hero-ring { width: min(90%, 460px); }
  .hero-seal { left: 8%; bottom: 10px; }
  .hero-float-rating { right: 12%; top: 14px; }
  .hero-scroll { display: none; }

  .section { padding: 76px 0; }
  .story { grid-template-columns: 1fr; gap: 44px; }
  .story-media { order: 2; }
  .story-content { order: 1; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-contact { grid-column: span 2; }
}

@media (max-width: 861px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 440px; }
  .plan-for { min-height: 0; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 420px; gap: 34px; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 84px 1fr; column-gap: 18px; text-align: left; }
  .step-num { margin: 0; grid-row: span 2; }
  .step h3 { margin-top: 8px; }
  .step p { margin: 0; max-width: none; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  .hero { padding: 74px 0 64px; }
  .papel-picado { height: 64px; }
  .hero-title { font-size: clamp(2.35rem, 9.4vw, 3.2rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-rating { width: 100%; }
  .hero-photo { width: min(78%, 320px); }
  .hero-seal { width: 94px; height: 94px; left: 4%; }
  .hero-seal-core strong { font-size: 1.1rem; }
  .hero-float-rating { right: 6%; padding: 8px 13px; }
  .hero-note-2, .hero-note-3 { display: none; }

  .marquee-track { gap: 24px; }

  .videos-grid { grid-template-columns: 1fr; gap: 18px; }
  .video-title { font-size: 1rem; }

  .gallery-grid { columns: 2; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; border-radius: 12px; }
  .gallery-caption { opacity: 1; transform: none; font-size: 0.76rem; padding: 24px 12px 10px; }

  .story-quote { font-size: 1.15rem; }
  .story-stats { gap: 20px; }

  .coverage-grid { grid-template-columns: 1fr; }

  .quote-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .floating-wa { width: 58px; padding: 0; justify-content: center; }
  .floating-wa-text { display: none; }

  .modal { padding: 16px; }
  .modal-close { top: -50px; right: 0; }
  .modal-prev { left: -4px; }
  .modal-next { right: -4px; }
  .modal-photo img { max-width: 90vw; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 15px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-kicker { font-size: 7px; }
  .nav-cta { display: none; }

  .hero-rating { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-chips { gap: 6px 14px; }
  .hero-chips li { font-size: 0.8rem; }

  .hero-seal { left: 0; bottom: 6px; }
  .hero-float-rating { top: 6px; }

  .step { grid-template-columns: 64px 1fr; column-gap: 14px; }
  .step-num { width: 64px; height: 64px; font-size: 1.5rem; }

  .quick-facts dl > div { flex-direction: column; gap: 2px; }
  .quick-facts dd { text-align: left; }

  .modal-counter { bottom: -28px; }
}

@media (max-width: 420px) {
  .gallery-grid { columns: 1; }
  .gallery-item { margin-bottom: 14px; }
  .hero-photo { width: 88%; }
  .hero-seal { width: 86px; height: 86px; }
}

@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Accesibilidad de movimiento y fallback sin JS
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-cali::after { transform: scaleX(1); }
  .ornament-line { stroke-dashoffset: 0; }
}

@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}
