/* =============================================
   SERGIO ÁLVAREZ - ENTRENADOR PERSONAL PAMPLONA
   styles.css — v1.0
   ============================================= */

/* ---- VARIABLES ---- */
:root {
  --gold:        #FFD700;
  --gold-hover:  #FFE033;
  --gold-dark:   #E6C200;
  --black:       #0D0D0D;
  --dark:        #151515;
  --dark-2:      #1E1E1E;
  --dark-3:      #2A2A2A;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --gray-light:  #EEEDE9;
  --gray:        #9A9A9A;
  --gray-dark:   #555555;
  --whatsapp:    #25D366;
  --whatsapp-h:  #1EBE5A;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-gold: 0 4px 24px rgba(255,215,0,0.30);
  --transition: 0.22s ease;

  --max-w: 1160px;
  --section-py: 80px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ---- FOCUS VISIBLE (WCAG 2.4.7) ---- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---- UTILITIES ---- */
.container { width: min(100%, var(--max-w)); max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-py) 0; }
.section--light { background: var(--off-white); color: var(--black); }
.section--dark { background: var(--dark-2); }
.section--darkest { background: var(--black); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 640px;
}
.section-title--center { text-align: center; }
.section-subtitle--center { text-align: center; margin: 0 auto 48px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-hover); box-shadow: var(--shadow-gold); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover { background: var(--whatsapp-h); }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(37, 211, 102, 0.26);
}

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-2);
  border-top: 2px solid var(--gold);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-banner-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray);
  flex: 1;
  line-height: 1.5;
}
.cookie-banner-inner p a { color: var(--gold); text-decoration: underline; }
.cookie-banner-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-btns .btn { padding: 10px 20px; font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .cookie-banner-btns { flex-direction: column; }
  .cookie-banner-btns .btn { text-align: center; justify-content: center; }
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-width: 150px;
    padding: 12px 14px;
  }
}
.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-outline--white {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline--white:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* WhatsApp icon */
.icon-wa { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dark-3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.site-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  object-fit: cover;
}
.logo-text span { color: var(--gold); }
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-list a:hover { color: var(--white); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.85rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: absolute;
  top: 68px; left: 0; right: 0;
  background: var(--black);
  border-bottom: 1px solid var(--dark-3);
  padding: 24px 20px 28px;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
  border-bottom: 1px solid var(--dark-3);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ---- HERO ---- */
.hero {
  background: var(--black);
  overflow: hidden;
  position: relative;
  padding: 80px 0 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,215,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-end;
  min-width: 0;
}
.hero-top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.hero-top .breadcrumb {
  margin-bottom: 0;
}
.hero-top .hero-rating {
  order: 2;
}
.hero-content, .hero-photo, .hero-ctas {
  min-width: 0;
}
.hero-ctas .btn {
  min-width: 0;
}
.hero-content { padding-bottom: 80px; }
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.stars { color: var(--gold); letter-spacing: 1px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-lead strong { color: var(--white); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray);
}
.trust-icon { color: var(--gold); font-size: 1rem; }
.hero-photo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}
.hero.hero-home .hero-photo {
  align-items: flex-start;
}
.hero.hero-home .photo-frame {
  margin-top: -20px;
}
.hero-photo::before { display: none; }
/* ---- PHOTO FRAME GIRATORIO ---- */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3px;
  overflow: hidden;
  display: inline-block;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: -80%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--gold) 50deg,
    transparent 110deg,
    transparent 180deg,
    var(--gold) 230deg,
    transparent 290deg,
    transparent 360deg
  );
  animation: spin-border 3s linear infinite;
  z-index: 0;
}

.photo-frame::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--black);
  border-radius: calc(var(--radius-lg) - 3px);
  z-index: 1;
}

@keyframes spin-border {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-photo img {
  position: relative;
  z-index: 2;
  max-height: 520px;
  width: auto;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 3px);
  display: block;
  filter: none;
  mask-image: none;
  -webkit-mask-image: none;
}

/* ---- PROGRAMS ---- */
.programs { background: var(--dark-2); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: center;
  gap: 24px;
  margin: 48px auto 0;
  max-width: 1160px;
}
.program-card {
  background: var(--dark-3);
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.program-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.program-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--dark-3) 0%, rgba(255,215,0,0.08) 100%);
}
.program-badge {
  position: absolute;
  top: -12px; left: 28px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.program-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.program-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.program-tagline { color: var(--gray); font-size: 0.95rem; margin-bottom: 24px; }
.program-price {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dark-2);
}
.price-main {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.price-period { font-size: 1rem; font-weight: 400; color: var(--gray); }
.price-detail { font-size: 0.85rem; color: var(--gray); margin-top: 4px; }
.program-includes { margin-bottom: 28px; }
.program-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.program-includes li:last-child { border-bottom: none; }
.check {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.program-for {
  background: rgba(255,215,0,0.1);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.program-card .btn { width: 100%; justify-content: center; }

/* ---- DIFFERENTIATORS ---- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.diff-card {
  background: var(--dark-3);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}
.diff-card:hover { border-color: rgba(255,215,0,0.3); transform: translateY(-3px); }
.diff-icon {
  width: 48px; height: 48px;
  background: rgba(255,215,0,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.diff-card h3 { font-size: 1rem; margin-bottom: 8px; }
.diff-card p { font-size: 0.88rem; color: var(--gray); margin: 0; line-height: 1.5; }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.service-link {
  display: block;
  background: var(--dark-3);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition);
  text-align: center;
}
.service-link:hover {
  border-color: var(--gold);
  background: rgba(255,215,0,0.07);
  transform: translateY(-3px);
}
.service-link-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,215,0,0.08);
  border-radius: 10px;
  transition: background var(--transition);
}
.service-link:hover .service-link-icon {
  background: rgba(255,215,0,0.16);
}
.service-link-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-link h3 { font-size: 0.9rem; font-weight: 600; color: var(--white); line-height: 1.3; }
.service-link-arrow {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 10px;
  display: block;
  transition: transform var(--transition);
}
.service-link:hover .service-link-arrow { transform: translateX(4px); }

/* Services grid 5 columns (objetivos) */
.services-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Divisor entre grupos */
.services-divider {
  border: none;
  border-top: 1px solid var(--dark-3);
  margin: 56px 0 48px;
}

/* H3 tamaño intermedio para subtítulos de grupo */
.section-title--sm {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .services-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .services-grid--5 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- METHOD SECTION ---- */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
  max-width: 720px;
}
.method-photo img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  max-height: 480px;
  border: 2px solid var(--dark-3);
}
.method-features { display: flex; flex-direction: column; gap: 24px; }
.method-feature {
  display: flex;
  gap: 18px;
}
.method-num {
  width: 40px; height: 40px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  flex-shrink: 0;
}
.method-feature h3 { margin-bottom: 6px; font-size: 1rem; }
.method-feature p { font-size: 0.88rem; color: var(--gray); margin: 0; }

/* ---- REVIEWS ---- */
.reviews-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.reviews-score {
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.reviews-detail { display: flex; flex-direction: column; gap: 4px; }
.reviews-stars { color: var(--gold); font-size: 1.4rem; }
.reviews-count { font-size: 0.85rem; color: var(--gray); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
  margin-bottom: 36px;
}
.review-card {
  max-width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition);
}
.review-card:hover { border-color: rgba(255,215,0,0.25); }
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
  flex-shrink: 0;
}
.review-author { font-weight: 600; font-size: 0.92rem; }
.review-date { font-size: 0.78rem; color: var(--gray); }
.review-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; }
.review-google {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.review-headline {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.35;
}
.review-text { font-size: 0.88rem; color: var(--gray); line-height: 1.6; font-style: italic; }
.reviews-cta { text-align: center; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--dark-3);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: var(--white);
  gap: 16px;
  transition: color var(--transition);
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 24px; height: 24px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 400px; }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--black); margin-bottom: 12px; line-height: 1.25; }
.cta-band p { color: rgba(0,0,0,0.7); margin-bottom: 32px; font-size: 1.05rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-band .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: normal;
  max-width: 640px;
  width: auto;
  margin: 0 auto;
}
.cta-band .btn-whatsapp { background: var(--black); color: var(--white); }
.cta-band .btn-whatsapp:hover { background: var(--dark-2); }
.cta-band .btn-gold { background: var(--black); color: var(--white); border-color: var(--black); }
.cta-band .btn-gold:hover { background: var(--dark-2); border-color: var(--dark-2); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--dark-3);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin-bottom: 20px; }
.footer-nap {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.8;
}
.footer-nap strong { color: var(--white); }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--gray);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--dark-3);
  font-size: 0.8rem;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--gray); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--black);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--dark-3);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb span { margin: 0 6px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 28px;
}
.page-hero .hero-content {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero .hero-ctas,
.page-hero .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 0 12px;
}
.page-hero .hero-ctas .btn {
  min-width: 220px;
  width: auto;
}
.page-hero .hero-trust {
  justify-content: center;
}
.page-hero .hero-trust .trust-item {
  min-width: 220px;
}
.page-hero .hero-rating {
  animation: pop-in 0.75s ease-out both;
}
.page-hero .fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-hero .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.page-hero .hero-top.fade-in { transition-delay: 0.05s; }
.page-hero .hero-inner.fade-in { transition-delay: 0.1s; }
.page-hero .hero-ctas.fade-in { transition-delay: 0.16s; }
.page-hero .hero-trust.fade-in { transition-delay: 0.2s; }
.page-hero .hero-photo.fade-in { transition-delay: 0.14s; }
.page-hero .review-card.fade-in,
.page-hero .benefit-card.fade-in,
.page-hero .feature-item.fade-in,
.page-hero .cta-box.fade-in { transition-delay: 0.08s; }

@keyframes pop-in {
  0% { opacity: 0; transform: translateY(10px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- SERVICE PAGE LAYOUT ---- */
.service-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.service-main h2 {
  margin: 2rem 0 1rem;
}
.service-main p {
  margin-bottom: 1.3rem;
}
.service-sidebar {
  position: sticky;
  top: 88px;
}
.sidebar-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.sidebar-card h3 { margin-bottom: 14px; font-size: 1.2rem; }
.sidebar-card .sidebar-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 18px 0;
}
.sidebar-card .sidebar-price small {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 400;
}
.sidebar-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 22px; }
.sidebar-card .btn { width: 100%; justify-content: center; margin-bottom: 16px; }
.sidebar-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 18px;
}

/* Feature list (service pages) */
.feature-list { margin: 36px 0; display: flex; flex-direction: column; gap: 20px; }
.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-item .check { margin-top: 4px; }
.feature-item-content h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; }
.feature-item-content p { font-size: 0.92rem; color: var(--gray); margin: 0; line-height: 1.75; }

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 36px 0;
}
.benefit-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.benefit-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-3px);
}
.benefit-card h3 { margin-bottom: 14px; font-size: 1.05rem; }
.benefit-card p { color: var(--gray); line-height: 1.8; margin: 0; }

.importance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 32px 0;
}
.importance-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition);
}
.importance-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,215,0,0.32);
}
.importance-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,215,0,0.14);
  color: var(--gold);
  font-size: 1.6rem;
}
.importance-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.importance-card p { margin: 0; color: var(--gray); line-height: 1.75; }

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
  color: var(--gray);
}
.sidebar-list li::before {
  content: '•';
  margin-right: 8px;
  color: var(--gold);
}

.cta-box {
  margin-top: 56px;
  padding: 36px;
  background: var(--dark-3);
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-box h2 { margin-bottom: 20px; }
.cta-box .cta-copy,
.cta-box .cta-note { color: var(--gray); margin: 0 auto; max-width: 640px; }
.cta-box .cta-copy { margin-bottom: 26px; font-size: 1.02rem; }
.cta-box .cta-note { margin-top: 16px; font-size: 0.88rem; }

/* Page reviews */
.page-reviews { margin: 48px 0; }
.page-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ---- BLOG ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.blog-card {
  background: var(--dark-3);
  border: 1px solid var(--dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { border-color: rgba(255,215,0,0.3); transform: translateY(-4px); }
.blog-card-content { padding: 24px; }
.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.blog-card h2 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card h2 a { transition: color var(--transition); }
.blog-card h2 a:hover { color: var(--gold); }
.blog-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.55; margin-bottom: 16px; }
.blog-card .read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.blog-card .read-more:hover { gap: 8px; }

/* Blog post */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.blog-post-content { min-width: 0; }
.blog-post-content h2 { font-size: 1.5rem; margin: 32px 0 12px; color: var(--white); }
.blog-post-content h3 { font-size: 1.15rem; margin: 24px 0 10px; color: var(--gold); }
.blog-post-content p { color: var(--gray); line-height: 1.75; margin-bottom: 16px; }
.blog-post-content ul, .blog-post-content ol {
  color: var(--gray);
  padding-left: 20px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.blog-post-content li { margin-bottom: 6px; list-style: disc; }
.blog-post-content strong { color: var(--white); }
.blog-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-sidebar-widget {
  background: var(--dark-3);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.blog-sidebar-widget h4 {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.related-posts { display: flex; flex-direction: column; gap: 12px; }
.related-post a {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.4;
  transition: color var(--transition);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--dark-2);
}
.related-post a:hover { color: var(--gold); }
.author-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
}
.author-meta img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---- CONTACT FORM ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(255,215,0,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.85rem; color: var(--gray); margin-bottom: 4px; }
.contact-item p { font-size: 0.95rem; font-weight: 600; margin: 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-panel {
  padding: 28px;
  background: var(--dark-3);
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--gray); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark-3);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-dark); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit .btn { width: 100%; justify-content: center; }

/* ---- PRECIOS PAGE ---- */
.pricing-hero-note {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- SOBRE MÍ ---- */
.about-content {
  max-width: 860px;
  margin: 0 auto;
}
.credentials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.credential {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.credential-icon { font-size: 1.3rem; flex-shrink: 0; }
.credential h3 { font-size: 0.9rem; margin-bottom: 2px; color: var(--gold); font-weight: 600; }
.credential p { font-size: 0.8rem; color: var(--gray); margin: 0; }
.credential { border-left: 3px solid var(--gold); }
.credentials--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Moment grid (sobre mí) */
.moment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.moment-card {
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-left: 3px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}
.moment-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.moment-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.4; }
.moment-card p { margin: 0; font-size: 0.88rem; color: var(--gray); line-height: 1.55; }
.moment-card em { color: var(--white); font-style: italic; }

/* About quote */
.about-quote {
  border-left: 4px solid var(--gold);
  background: rgba(255,215,0,0.06);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 28px;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  main, section, .container, .service-layout {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-hero,
  .service-content,
  .service-layout,
  .reviews-grid,
  .page-reviews-grid,
  .benefits-grid,
  .importance-grid,
  .feature-list,
  .review-card,
  .benefit-card,
  .importance-card,
  .sidebar-card,
  .cta-box,
  .program-card,
  .cta-band-inner,
  .footer-inner {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }
  .service-content {
    grid-template-columns: 1fr;
  }
  .reviews-grid,
  .page-reviews-grid,
  .benefits-grid,
  .importance-grid {
    grid-template-columns: 1fr;
  }
  .service-sidebar {
    position: static;
  }
  .service-main,
  .service-sidebar {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }
  .importance-card {
    grid-template-columns: auto 1fr;
    row-gap: 10px;
  }
  .importance-card p {
    grid-column: 1 / -1;
    margin: 0;
  }
  .feature-item {
    align-items: flex-start;
  }
  .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .hero-content {
    order: 0;
    padding-bottom: 64px;
    text-align: center;
  }
  .hero-photo {
    display: flex;
    order: 1;
    width: min(180px, 100%);
    height: min(180px, 100%);
    margin-bottom: 8px;
    justify-content: center;
  }
  .hero-photo .photo-frame {
    width: min(180px, 100%);
    height: min(180px, 100%);
    border-radius: 50%;
    overflow: hidden;
  }
  .hero-photo img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
  }
  .hero-photo .photo-frame::after {
    border-radius: 50%;
  }
  .page-hero .container,
  .page-hero .hero-inner,
  .page-hero .hero-content,
  .page-hero .hero-photo {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .page-hero .hero-top {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .page-hero .hero-top .breadcrumb,
  .page-hero .hero-top .hero-rating {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .page-hero .container,
  .page-hero .hero-inner,
  .page-hero .hero-content,
  .page-hero .hero-photo,
  .page-hero .hero-ctas,
  .page-hero .hero-trust {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .page-hero .hero-content,
  .page-hero .hero-trust,
  .page-hero .hero-ctas {
    min-width: 0;
    box-sizing: border-box;
  }
  .page-hero .hero-content {
    max-width: 680px !important;
    width: min(100%, 680px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    padding: 0 20px !important;
  }
  .page-hero .hero-ctas,
  .page-hero .hero-trust {
    justify-content: center !important;
    align-items: center !important;
    max-width: 680px !important;
    width: min(100%, 680px) !important;
    margin: 0 auto 28px !important;
    padding: 0 20px !important;
    gap: 16px !important;
  }
  .page-hero .hero-ctas .btn {
    width: auto !important;
    min-width: 220px !important;
    max-width: 260px !important;
  }
  .page-hero .hero-trust {
    justify-content: center !important;
  }
  .page-hero .hero-trust .trust-item {
    min-width: 190px !important;
    max-width: 220px !important;
  }
  .page-hero .hero-inner {
    justify-items: center;
  }
  .page-hero { overflow-x: hidden; }
  .container { padding-left: 20px; padding-right: 20px; }
  .hero {
    padding-bottom: 120px;
    width: 100%;
    max-width: 100vw;
  }
  .hero-inner {
    width: 100%;
    max-width: 100%;
  }
  .hero-content { padding-bottom: 110px; text-align: center; min-width: 0; }
  .hero h1 {
    margin-bottom: 20px;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .hero-subtitle,
  .hero-tagline,
  .hero-ctas,
  .hero-ctas .btn,
  .hero-rating {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hero-ctas {
    justify-content: center;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
  }
  .hero-ctas .btn {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
  .hero-trust { margin-bottom: 28px; }
  .page-hero .hero-inner,
  .page-hero .hero-content,
  .page-hero .hero-photo,
  .page-hero .hero-ctas,
  .page-hero .hero-trust,
  .page-reviews-grid,
  .benefits-grid,
  .importance-grid,
  .service-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-width: 0;
  }
  .hero-rating { justify-content: center; }
  .trust-badges { justify-content: center; }
  .programs-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .method-photo { display: none; }
  .service-content { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .moment-grid { grid-template-columns: 1fr; }
  .credentials--grid { grid-template-columns: 1fr; }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .page-reviews-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .importance-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 48px; }
  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  main, section, .container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-hero,
  .service-content,
  .reviews-grid,
  .page-reviews-grid,
  .benefits-grid,
  .importance-grid,
  .feature-list,
  .review-card,
  .benefit-card,
  .importance-card,
  .sidebar-card,
  .cta-box,
  .program-card {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .page-hero .hero-inner,
  .page-hero .hero-content,
  .page-hero .hero-photo,
  .page-hero .hero-ctas,
  .page-hero .hero-trust {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .nav-list, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .site-header { position: sticky; }
  .diff-grid { grid-template-columns: 1fr; }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-width: 130px;
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .btn { width: 100%; max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .reviews-meta { flex-direction: column; align-items: flex-start; }
}

/* ---- ANIMATIONS ---- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- DYNAMIC EFFECTS ---- */

/* Hero background pulse */
@keyframes hero-pulse {
  0%, 100% { opacity: 0.08; transform: scale(1); }
  50%       { opacity: 0.14; transform: scale(1.1); }
}
.hero::before {
  animation: hero-pulse 8s ease-in-out infinite;
}

/* WhatsApp button glow pulse */
@keyframes wa-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  60%       { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: no-preference) {
  .btn-whatsapp.btn-lg {
    animation: wa-glow 2.2s ease-out infinite;
  }
}

/* Featured program card gold glow */
@keyframes card-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
  50%       { box-shadow: 0 0 28px rgba(255,215,0,0.22); }
}
@media (prefers-reduced-motion: no-preference) {
  .program-card.featured {
    animation: card-glow 3s ease-in-out infinite;
  }
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Hero tagline (typewriter line) */
.hero-tagline {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 20px;
  min-height: 1.4em;
}
.hero-tagline span.tw-word {
  color: var(--gold);
  font-weight: 700;
}

/* Staggered card animations */
@media (prefers-reduced-motion: no-preference) {
  .diff-grid .diff-card:nth-child(1) { transition-delay: 0s; }
  .diff-grid .diff-card:nth-child(2) { transition-delay: 0.1s; }
  .diff-grid .diff-card:nth-child(3) { transition-delay: 0.2s; }
  .diff-grid .diff-card:nth-child(4) { transition-delay: 0.3s; }
  .services-grid .service-link:nth-child(odd)  { transition-delay: 0.05s; }
  .services-grid .service-link:nth-child(even) { transition-delay: 0.15s; }
}

/* ---- SABÍAS QUE ---- */
.sabias-section { background: var(--black); border-top: 1px solid var(--dark-3); border-bottom: 1px solid var(--dark-3); }
.sabias-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: center;
}
.sabias-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  flex-shrink: 0;
}
.sabias-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.sabias-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sabias-text h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin: 12px 0 16px;
  line-height: 1.3;
}
.sabias-text h2 em {
  font-style: normal;
  color: var(--gold);
}
.sabias-text p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .sabias-inner { grid-template-columns: 1fr; gap: 32px; }
  .sabias-stat { flex-direction: row; gap: 16px; padding: 20px 24px; text-align: left; }
  .sabias-num { font-size: 2.2rem; margin-bottom: 0; }
}

/* ---- GALLERY / CAROUSEL ---- */
.gallery-section { background: var(--dark-2); }
.gallery-section .container { margin-bottom: 40px; }

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prev / Next buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,215,0,0.35);
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background: rgba(255,215,0,0.15);
  border-color: var(--gold);
}
.carousel-btn--prev { left: 16px; }
.carousel-btn--next { right: 16px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

@media (max-width: 600px) {
  .carousel-btn { width: 36px; height: 36px; font-size: 1.4rem; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--dark-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ---- SELECTION ---- */
::selection { background: var(--gold); color: var(--black); }
