/* ==========================================================================
   BETTY — ASESORÍA EN AHORRO & PROTECCIÓN PATRIMONIAL
   Updated Master Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Core Deep Blue Palette */
  --color-navy: #071C3D;
  --color-deep-blue: #0B2A58;
  --color-rich-blue: #0A377A;
  --color-bright-blue: #1171E8;
  --color-light-blue: #3BA3FF;
  --color-white: #FFFFFF;
  --color-text-main: #11233D;
  --color-text-muted: #58687E;
  --color-bg-soft: #F2F7FC;
  --color-bg-card: #FFFFFF;
  --color-border-subtle: #D8E5F3;
  --color-border-hover: #1171E8;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20BA5A;

  /* Typography */
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Source Serif Pro', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-accent: 'Source Serif Pro', 'Source Serif 4', Georgia, 'Times New Roman', serif;

  /* Relief Shadows & Depth */
  --shadow-relief-card: 0 10px 25px -3px rgba(7, 28, 61, 0.09), 0 4px 10px -2px rgba(7, 28, 61, 0.05);
  --shadow-relief-hover: 0 18px 38px -5px rgba(7, 28, 61, 0.16), 0 8px 16px -3px rgba(7, 28, 61, 0.08);
  --shadow-btn-relief: 0 4px 0 #041633, 0 8px 20px rgba(4, 22, 51, 0.4);
  --shadow-btn-active: 0 2px 0 #041633, 0 4px 10px rgba(4, 22, 51, 0.4);
  
  /* Border Radius */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-soft);
  color: var(--color-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-bright-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

section[id] {
  scroll-margin-top: 84px;
}

.section-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  color: var(--color-bright-blue);
}

.accent-text-light {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  color: var(--color-light-blue);
}

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

/* Accessible Screen Reader Only (for semantic SEO headings) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.section-heading {
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   3. RELIEF & DEPTH UTILITIES
   -------------------------------------------------------------------------- */
.card-relief {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-relief-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card-relief:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-relief-hover);
  border-color: rgba(17, 113, 232, 0.35);
}

/* --------------------------------------------------------------------------
   4. BUTTONS WITH TACTILE DEPTH & RELIEF
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
  touch-action: manipulation;
  cursor: pointer;
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Deep Relief Button */
.btn-deep-relief {
  background: linear-gradient(180deg, #0E3570 0%, #0A2754 60%, #071C3D 100%);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid #041229;
  box-shadow: 0 4px 0 #030E1F, 0 8px 20px rgba(7, 28, 61, 0.45);
}

.btn-deep-relief:hover {
  background: linear-gradient(180deg, #12428A 0%, #0C3168 60%, #08234D 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #030E1F, 0 12px 24px rgba(7, 28, 61, 0.55);
}

.btn-deep-relief:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #030E1F, 0 4px 10px rgba(7, 28, 61, 0.45);
}

/* Header Button */
.btn-header-relief {
  background: linear-gradient(180deg, #103A77 0%, #0B2A58 100%);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid #051833;
  box-shadow: 0 3px 0 #030E1F, 0 6px 14px rgba(0, 0, 0, 0.3);
  padding: 9px 20px;
  font-size: 0.9rem;
}

.btn-header-relief:hover {
  background: linear-gradient(180deg, #154A98 0%, #0E3570 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #030E1F, 0 8px 18px rgba(0, 0, 0, 0.4);
}

.btn-header-relief:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #030E1F, 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Hero WhatsApp Button */
.btn-whatsapp-relief {
  background: linear-gradient(180deg, #2ED86E 0%, #25D366 50%, #1CAA51 100%);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid #137739;
  box-shadow: 0 4px 0 #116832, 0 8px 24px rgba(37, 211, 102, 0.45);
  padding: 15px 32px;
  font-size: 1.06rem;
}

.btn-whatsapp-relief:hover {
  background: linear-gradient(180deg, #37E277 0%, #28DB6A 50%, #1DB958 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #116832, 0 12px 28px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp-relief:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #116832, 0 4px 12px rgba(37, 211, 102, 0.45);
}

/* Plan Card Relief Button (VIBRANT, CENTERED & PROPORTIONATE) */
.btn-card-relief {
  display: inline-flex;
  width: auto;
  min-width: 190px;
  max-width: 240px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1A7BF8 0%, #1167E0 50%, #0A4CA8 100%);
  color: var(--color-white);
  border-radius: var(--radius-full);
  padding: 13px 26px;
  font-size: 0.98rem;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid #052B61;
  box-shadow: 0 4px 0 #05265E, 0 8px 18px rgba(11, 76, 168, 0.35);
  text-align: center;
}

.btn-card-relief:hover {
  background: linear-gradient(180deg, #2985FF 0%, #1674F7 50%, #0C55BD 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #05265E, 0 12px 24px rgba(11, 76, 168, 0.45);
}

.btn-card-relief:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #05265E, 0 4px 10px rgba(11, 76, 168, 0.35);
}

/* Outline Relief Button */
.btn-outline-relief {
  background: #FFFFFF;
  color: var(--color-navy);
  border: 1px solid var(--color-border-subtle);
  border-top: 1px solid #E8EFF7;
  border-bottom: 2px solid #C0D2E6;
  box-shadow: 0 3px 0 #B2C6DC, 0 6px 14px rgba(7, 28, 61, 0.06);
  padding: 11px 24px;
  border-radius: var(--radius-full);
}

.btn-outline-relief:hover {
  color: var(--color-bright-blue);
  border-color: var(--color-bright-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #95B3D6, 0 8px 18px rgba(17, 113, 232, 0.15);
}

.btn-outline-relief:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #95B3D6, 0 2px 6px rgba(17, 113, 232, 0.15);
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7, 28, 61, 0.08);
  box-shadow: 0 4px 18px rgba(7, 28, 61, 0.04);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 0;
  box-shadow: 0 6px 22px rgba(7, 28, 61, 0.09);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-wrap {
  width: 50px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-white);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(7, 28, 61, 0.12);
  border: 1px solid rgba(7, 28, 61, 0.08);
  flex-shrink: 0;
}

.brand-logo-gama {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.74rem;
  color: var(--color-bright-blue);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.desktop-nav {
  display: none;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #071C3D;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-bright-blue);
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-bright-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(7, 28, 61, 0.05);
  border: 1px solid rgba(7, 28, 61, 0.12);
  cursor: pointer;
}

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

.menu-bar {
  width: 20px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(7, 28, 61, 0.1);
  box-shadow: 0 12px 30px rgba(7, 28, 61, 0.12);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all var(--transition-base);
  z-index: 999;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 8px 0;
  display: block;
}

.mobile-nav-link:hover {
  color: var(--color-bright-blue);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION: FULL SCREEN PANORAMA
   -------------------------------------------------------------------------- */
.hero-fullscreen-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px 0;
  overflow: hidden;
  background-color: var(--color-navy);
  color: var(--color-white);
}

.hero-fullscreen-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-fullscreen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: brightness(0.95);
  transform: scale(1.02);
  transition: transform 1.2s ease-out;
}

.hero-fullscreen-section:hover .hero-fullscreen-img {
  transform: scale(1.05);
}

.hero-screen-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(7, 28, 61, 0.96) 0%,
    rgba(7, 28, 61, 0.88) 42%,
    rgba(7, 28, 61, 0.45) 75%,
    rgba(7, 28, 61, 0.6) 100%
  );
  pointer-events: none;
}

@media (max-width: 850px) {
  .hero-screen-scrim {
    background: linear-gradient(
      180deg,
      rgba(7, 28, 61, 0.95) 0%,
      rgba(7, 28, 61, 0.82) 45%,
      rgba(7, 28, 61, 0.88) 100%
    );
  }
}

.hero-glow-ambient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 113, 232, 0.25) 0%, rgba(7, 28, 61, 0) 70%);
  top: -150px;
  left: -100px;
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-main-col {
  max-width: 680px;
}

.hero-location-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(7, 28, 61, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.location-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-light-blue);
  box-shadow: 0 0 10px var(--color-light-blue);
}

.hero-headline {
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 24px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.hero-lead {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. FRANJA DE CONFIANZA / VENTAJAS CLAVE (3 PILARES LIMPIOS & ICONOS PROMINENTES)
   -------------------------------------------------------------------------- */
.trust-strip-section {
  background: var(--color-white);
  padding: 44px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
  z-index: 5;
}

.trust-grid-clean {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .trust-grid-clean {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.trust-card-pillar {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid #DFEBF6;
  box-shadow: 0 4px 14px rgba(7, 28, 61, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
  cursor: pointer;
  user-select: none;
  outline: none;
}

.trust-card-pillar:focus-visible {
  outline: 2px solid var(--color-bright-blue);
  outline-offset: 3px;
}

.trust-card-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(7, 28, 61, 0.12);
  border-color: rgba(17, 113, 232, 0.35);
}

.trust-card-pillar[aria-expanded="true"] {
  border-color: var(--color-bright-blue);
  box-shadow: 0 14px 28px rgba(17, 113, 232, 0.14);
  background: #FCFDFF;
}

.trust-pillar-main {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.trust-pillar-text-group {
  flex: 1;
}

.trust-pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
  margin: 0;
  transition: color var(--transition-fast);
}

.trust-card-pillar:hover .trust-pillar-title,
.trust-card-pillar[aria-expanded="true"] .trust-pillar-title {
  color: var(--color-bright-blue);
}

.pillar-chevron-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(17, 113, 232, 0.08);
  color: var(--color-bright-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base);
}

.trust-card-pillar:hover .pillar-chevron-indicator {
  background: rgba(17, 113, 232, 0.15);
}

.trust-card-pillar[aria-expanded="true"] .pillar-chevron-indicator {
  transform: rotate(180deg);
  background: var(--color-bright-blue);
  color: var(--color-white);
}

.pillar-accordion-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin 0.35s ease, padding 0.35s ease;
}

.trust-card-pillar[aria-expanded="true"] .pillar-accordion-panel {
  max-height: 250px;
  opacity: 1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #E8F1FA;
}

.pillar-explanation {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

.advantage-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(17, 113, 232, 0.14) 0%, rgba(59, 163, 255, 0.22) 100%);
  color: var(--color-bright-blue);
  border: 1px solid rgba(17, 113, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 3px 8px rgba(17, 113, 232, 0.1);
  transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base);
}

.advantage-icon-wrapper.advantage-shield {
  background: linear-gradient(135deg, rgba(11, 42, 88, 0.12) 0%, rgba(17, 113, 232, 0.18) 100%);
  color: #0B2A58;
}

.advantage-icon-wrapper.advantage-target {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.14) 0%, rgba(17, 113, 232, 0.14) 100%);
  color: #128C43;
}

.trust-card-pillar:hover .advantage-icon-wrapper,
.trust-card-pillar[aria-expanded="true"] .advantage-icon-wrapper {
  transform: scale(1.08) rotate(3deg);
  background: var(--color-bright-blue);
  color: var(--color-white);
  border-color: var(--color-bright-blue);
}

.advantage-svg {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. SECCIÓN DE PLANES (TITLES OVER PHOTO & VIBRANT RELIEF CTAs)
   -------------------------------------------------------------------------- */
.plans-section {
  padding: 100px 0;
  background-color: var(--color-bg-soft);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

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

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

.plan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* PHOTO AT THE TOP WITH TITLE OVER THE PHOTO */
.plan-card-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 310px;
  overflow: hidden;
  background-color: var(--color-navy);
}

.plan-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-smooth);
}

.plan-card:hover .plan-card-img {
  transform: scale(1.06);
}

.plan-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 22px 18px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 28, 61, 0.6) 30%, rgba(7, 28, 61, 0.96) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.plan-photo-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-light-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-title-on-image {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Plan Card Content Description Below */
.plan-card-content {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.plan-summary {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 48px;
}

.plan-price-box {
  background: rgba(17, 113, 232, 0.06);
  border: 1px solid rgba(17, 113, 232, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.plan-price-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.plan-price-value {
  font-size: 1.15rem;
  color: var(--color-bright-blue);
  font-weight: 700;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-text-main);
  line-height: 1.45;
}

.check-icon {
  color: var(--color-bright-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta-wrap {
  margin-top: auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Footnote banner */
.plans-footnote {
  background: var(--color-white);
  padding: 18px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.footnote-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footnote-icon {
  flex-shrink: 0;
}

.footnote-content p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. SECCIÓN DE VIDEOS: REAL INSTAGRAM REELS
   -------------------------------------------------------------------------- */
.videos-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

.reels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  justify-items: center;
}

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

.video-clean-item {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.video-media-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(7, 28, 61, 0.16);
  background: #000000;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.video-media-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(7, 28, 61, 0.22);
}

.video-overlay-title-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 18px 34px 18px;
  background: linear-gradient(180deg, rgba(7, 28, 61, 0.94) 0%, rgba(7, 28, 61, 0.58) 55%, transparent 100%);
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.video-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-light-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.video-title-text {
  font-size: 1.12rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  margin: 0;
}

.reel-clip-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  background: #000000;
  overflow: hidden;
}

/* Offsetting iframe top & expanding height cleanly clips out top profile header and bottom likes */
.instagram-clean-iframe {
  position: absolute;
  top: -54px;
  left: 0;
  width: 100%;
  height: calc(100% + 120px);
  border: none;
  overflow: hidden;
}

.video-cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-clean-reel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #C13584;
  background: rgba(193, 53, 132, 0.08);
  border: 1px solid rgba(193, 53, 132, 0.22);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-clean-reel:hover {
  background: #C13584;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(193, 53, 132, 0.35);
}

.ig-icon {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. SECCIÓN AFORE Y PPR (1:1 SQUARE & EXACT TEXT)
   -------------------------------------------------------------------------- */
.afore-ppr-section {
  padding: 100px 0;
  background-color: var(--color-bg-soft);
}

/* Card images for AFORE and PPR */
.comparison-card-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--color-bg-soft);
  border: 1px solid rgba(7, 28, 61, 0.08);
  box-shadow: 0 4px 14px rgba(7, 28, 61, 0.06);
}

.comparison-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-card:hover .comparison-card-img {
  transform: scale(1.05);
}

.afore-ppr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 850px) {
  .afore-ppr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

.comparison-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.ppr-card {
  border-top: 5px solid var(--color-bright-blue);
}

.afore-card {
  border-top: 5px solid var(--color-deep-blue);
}

.card-pillar-header {
  margin-bottom: 24px;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pillar-afore {
  background: rgba(11, 42, 88, 0.12);
  color: var(--color-deep-blue);
}

.pillar-ppr {
  background: rgba(17, 113, 232, 0.12);
  color: var(--color-bright-blue);
}

.pillar-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0;
}

.pillar-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.pillar-p {
  font-size: 0.98rem;
  color: var(--color-text-main);
  line-height: 1.68;
}

/* Point 7: Blue Decision Box (Ventanita Azul & CTA) */
.decision-blue-box {
  max-width: 960px;
  margin: 36px auto 0 auto;
  background: linear-gradient(135deg, #092858 0%, #061A3B 100%);
  border: 1px solid rgba(59, 163, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(7, 28, 61, 0.28);
}

@media (min-width: 768px) {
  .decision-blue-box {
    flex-direction: row;
    padding: 26px 40px;
  }
}

@media (max-width: 767px) {
  .decision-blue-box {
    text-align: center;
    padding: 26px 20px;
  }
  .decision-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .btn-decision-relief {
    width: 100%;
    max-width: 260px;
  }
}

.decision-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.decision-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(59, 163, 255, 0.14);
  border: 1px solid rgba(59, 163, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.decision-phrase {
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
  margin: 0;
}

.btn-decision-relief {
  background: linear-gradient(180deg, #1A7BF8 0%, #1167E0 50%, #0A4CA8 100%);
  color: var(--color-white);
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-size: 1.02rem;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid #052B61;
  box-shadow: 0 4px 0 #05265E, 0 8px 20px rgba(17, 113, 232, 0.45);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-decision-relief:hover {
  background: linear-gradient(180deg, #2985FF 0%, #1674F7 50%, #0C55BD 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #05265E, 0 12px 26px rgba(17, 113, 232, 0.55);
}

.btn-decision-relief:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #05265E, 0 4px 10px rgba(17, 113, 232, 0.4);
}

/* Callout Quote Box */
.afore-quote-box {
  background: linear-gradient(135deg, #071C3D 0%, #0B2A58 100%);
  color: var(--color-white);
  padding: 42px 36px;
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.quote-symbol {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 9rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: var(--font-accent);
  line-height: 1;
  pointer-events: none;
}

.exact-quote {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: #FFFFFF;
}

.quote-author {
  font-size: 0.88rem;
  color: var(--color-light-blue);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   11. PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
  background-color: var(--color-bg-soft);
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  background: transparent;
  color: var(--color-navy);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover,
.faq-question[aria-expanded="true"] {
  color: var(--color-bright-blue);
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-navy);
  transition: transform var(--transition-base), background-color var(--transition-fast), color var(--transition-fast);
}

.faq-question[aria-expanded="true"] .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--color-bright-blue);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-answer.open {
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 26px 24px 26px;
  color: var(--color-text-main);
  font-size: 0.98rem;
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   12. FINAL CTA RIBBON: FULL-WIDTH SCREEN BAND (CINTA COMPLETA)
   -------------------------------------------------------------------------- */
.final-cta-ribbon-section {
  width: 100%;
  background: linear-gradient(135deg, #05142E 0%, #071C3D 45%, #0B2A58 100%);
  color: var(--color-white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(59, 163, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ribbon-glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ribbon-glow-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 113, 232, 0.28) 0%, rgba(7, 28, 61, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ribbon-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.ribbon-title {
  font-size: clamp(2.2rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--color-white);
}

.ribbon-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 38px;
  line-height: 1.6;
}

.btn-whatsapp-ribbon-relief {
  background: linear-gradient(180deg, #2ED86E 0%, #25D366 50%, #1CAA51 100%);
  color: var(--color-white);
  font-size: 1.18rem;
  font-weight: 700;
  padding: 17px 42px;
  border-radius: var(--radius-full);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid #116832;
  box-shadow: 0 5px 0 #0E5629, 0 10px 28px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-ribbon-relief:hover {
  background: linear-gradient(180deg, #36E477 0%, #29DC6C 50%, #1FB95A 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #0E5629, 0 14px 34px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp-ribbon-relief:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #0E5629, 0 4px 12px rgba(37, 211, 102, 0.5);
}

.ribbon-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.ribbon-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   13. SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo-gama {
  width: 52px;
  height: 42px;
  object-fit: contain;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.footer-brand-titles {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
}

.footer-brand-subtitle {
  font-size: 0.82rem;
  color: var(--color-light-blue);
  font-weight: 500;
}

.footer-tagline {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 380px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-white);
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-link {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-light-blue);
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.94rem;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    text-align: left;
  }
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   14. FLOATING WHATSAPP BUTTON & TOOLTIP
   -------------------------------------------------------------------------- */
.floating-whatsapp-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.floating-whatsapp-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #116832, 0 8px 24px rgba(37, 211, 102, 0.5);
  position: relative;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  background: var(--color-whatsapp-hover);
}

.floating-pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  animation: floating-ring-pulse 2.2s infinite ease-out;
  pointer-events: none;
}

@keyframes floating-ring-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-bubble-tooltip {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-relief-hover);
  border: 1px solid var(--color-border-subtle);
  width: 280px;
  max-width: calc(100vw - 40px);
  margin-bottom: 14px;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: all var(--transition-base);
}

.whatsapp-bubble-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.tooltip-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  border-radius: 50%;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.tooltip-close:hover {
  background: var(--color-bg-soft);
  color: var(--color-navy);
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.84rem;
  color: var(--color-navy);
}

.tooltip-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
}

.tooltip-msg {
  font-size: 0.88rem;
  color: var(--color-text-main);
  line-height: 1.45;
  margin-bottom: 12px;
}

.tooltip-action-link {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-bright-blue);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   15. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   16. REDUCED MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-fade, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  .floating-pulse-ring {
    display: none !important;
  }
}
