/* ==========================================================================
   LSN — Learning Support Network
   ========================================================================== */

:root {
  --navy: #0a1420;
  --navy-2: #0f1c2c;
  --navy-3: #142337;
  --cream: #f8f3e9;
  --cream-2: #f1e9d8;
  --gold: #c9a24a;
  --gold-light: #e6cd8f;
  --gold-dark: #a3812f;
  --wine: #7a1f2b;
  --wine-dark: #591420;
  --ink: #1e1a14;
  --warm-gray: #6f6a5e;
  --white: #ffffff;

  /* Unified 2026-09-17 visual-identity pass: the standalone corporate blue
     introduced for the hero/nav and later sections read as "one extra brand
     color" against the client's own navy+gold+white+gray palette brief, so
     these now resolve to gold/navy instead of a separate hue — every existing
     rule that reads var(--blue*) automatically lands on the unified palette. */
  --blue: var(--gold-dark);
  --blue-light: var(--gold-light);
  --blue-dark: var(--navy);

  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-script: 'Alex Brush', cursive;

  --container-w: 1220px;
  --header-h: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.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;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, .brand-name { font-family: var(--font-serif); font-weight: 600; }

::selection { background: var(--gold); color: var(--navy); }

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.gold-text {
  background: linear-gradient(100deg, #e9d29d 0%, var(--gold) 45%, #fff2c9 60%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-rule {
  display: block;
  width: 42px;
  height: 2px;
  background: var(--gold);
  margin: 10px auto 12px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 18px;
}
.eyebrow-dark { color: var(--wine); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .3px;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-wine {
  background: linear-gradient(180deg, #8a2534, var(--wine) 60%, var(--wine-dark));
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(122,31,43,.6);
}
.btn-wine:hover { box-shadow: 0 14px 28px -8px rgba(122,31,43,.75); }

.btn-outline-gold {
  background: rgba(255,255,255,.03);
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

.btn-outline-gold-dark {
  background: transparent;
  border-color: var(--gold-dark);
  color: var(--wine);
}
.btn-outline-gold-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.btn-whatsapp {
  background: linear-gradient(180deg, #34d874, #25d366 60%, #1aa350);
  color: var(--white);
  padding: 11px 22px;
  box-shadow: 0 8px 20px -8px rgba(19,120,63,.6);
}
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(10,20,32,.75), rgba(10,20,32,0));
  transition: background .35s ease, height .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(10,20,32,.96);
  height: 74px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}

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

.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { color: var(--white); font-size: 22px; letter-spacing: 1px; }
.brand-sub { color: var(--gold-light); font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase; font-family: var(--font-sans); font-weight: 600; }
.site-header .brand-sub { color: var(--blue-light); }

.brand-logo { display: flex; align-items: center; }
.brand-logo-img { height: 62px; width: auto; display: block; }

.main-nav ul { display: flex; align-items: center; gap: 22px; }
.nav-link {
  color: #eae3d3;
  font-size: 13.5px;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: .2px;
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--blue-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: var(--blue-light); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent; border: none;
  padding: 8px;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--blue-light);
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(340px, 84vw);
  height: 100vh;
  background: var(--navy);
  z-index: 200;
  padding: 100px 32px 40px;
  transition: right .4s cubic-bezier(.2,.8,.3,1);
  overflow-y: auto;
  border-left: 1px solid rgba(201,162,74,.3);
}
.mobile-nav.open { right: 0; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.mobile-link { color: var(--cream); font-size: 17px; font-weight: 600; }
.mobile-link:hover { color: var(--blue-light); }

.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 150;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header-h);
  background:
    radial-gradient(ellipse 900px 700px at 88% 10%, rgba(201,162,74,.14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding-top: 50px;
  padding-bottom: 80px;
  flex: 1;
}

.hero-text { max-width: 560px; flex-shrink: 0; }

.hero-text .eyebrow { letter-spacing: 6px; }

.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.03;
  margin: 0 0 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-desc {
  font-size: 18px;
  color: #ece6d8;
  max-width: 460px;
  margin: 0 0 34px;
  font-weight: 400;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }

.hero-pillars {
  font-size: 12.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin: 0;
}
.hero-pillars span { color: rgba(201,162,74,.5); margin: 0 8px; }

.hero-photo { width: 380px; flex-shrink: 0; }
.hero-photo-frame {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 70px -24px rgba(0,0,0,.55);
  border: 1px solid rgba(201,162,74,.35);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-photo-caption {
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--gold-light);
  text-align: center;
}

.hero-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(201,162,74,.25);
  padding: 20px 0;
  background: linear-gradient(0deg, rgba(6,14,24,.8), rgba(6,14,24,.4));
}
.hero-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-tags {
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #cfc7b3;
  margin: 0;
}
.hero-tags span { color: var(--blue-light); margin: 0 8px; }

/* ==========================================================================
   A QUIÉN SERVIMOS
   ========================================================================== */
.servimos { background: var(--cream); padding: 100px 0 90px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 14px;
  color: var(--navy);
}
.section-sub { color: var(--warm-gray); font-size: 16px; margin: 0; }

.servimos-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}

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

.servimos-photo {
  width: 108px; height: 108px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--gold), 0 14px 26px -12px rgba(20,20,10,.35);
  transition: transform .35s ease, box-shadow .35s ease;
}
.servimos-card:hover .servimos-photo { transform: translateY(-6px) scale(1.03); box-shadow: 0 0 0 1.5px var(--gold), 0 22px 32px -14px rgba(20,20,10,.45); }
.servimos-photo img { width: 100%; height: 100%; object-fit: cover; }

.servimos-card h3 {
  font-size: 17.5px;
  margin: 0;
  color: var(--navy);
}
.servimos-card p {
  font-size: 13px;
  color: var(--warm-gray);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   ESTADÍSTICAS
   ========================================================================== */
.stats { position: relative; color: var(--white); overflow: hidden; }
.stats-bg { position: absolute; inset: 0; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,14,22,.95) 0%, rgba(10,17,26,.88) 45%, rgba(10,17,26,.9) 100%);
}
.stats-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 70px 0;
}
.stats-script {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: 32px;
  line-height: 1.3;
  margin: 0;
}
.stats-grid {
  display: flex;
  gap: 40px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  min-width: 90px;
}
.stat-number { font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--white); }
.stat-label { font-size: 11.5px; color: #c8c0ad; max-width: 100px; line-height: 1.3; }

.stats-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  text-align: right;
  margin: 0;
  color: #f1ead9;
}

/* ==========================================================================
   NUESTRAS EXPERIENCIAS
   ========================================================================== */
.experiencias { background: var(--white); padding: 100px 0; }

.experiencias-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}
.exp-card {
  text-align: center;
  padding: 34px 18px;
  border-radius: 14px;
  border: 1px solid #ece3d0;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px -20px rgba(122,31,43,.25);
  border-color: var(--gold);
}
.exp-icon { margin: 0 auto 16px; }
.exp-card h3 { font-size: 18px; margin: 0; color: var(--navy); }
.exp-card p { font-size: 13.5px; color: var(--warm-gray); margin: 0; }

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

/* ==========================================================================
   MÉTODO LSN
   ========================================================================== */
.metodo { background: var(--navy); color: var(--white); padding: 110px 0; }
.metodo-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.metodo-script {
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--gold-light);
  margin: -8px 0 18px;
}
.metodo-desc { font-size: 17px; color: #d6cfbe; line-height: 1.65; max-width: 460px; margin: 0 0 40px; }

.metodo-steps {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(201,162,74,.3);
  margin-bottom: 8px;
}
.metodo-step {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0 14px 26px;
}
.metodo-step-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.metodo-step-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
}

.metodo-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.metodo-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   CONFERENCIAS Y EXPERIENCIAS FORMATIVAS
   ========================================================================== */
.conf { background: var(--white); }

.conf-gallery-title {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--navy);
  margin: 0 0 14px;
}

/* Intro: fotos + texto */
.conf-intro {
  padding: 100px 0 130px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.conf-photos { position: relative; margin-bottom: 40px; }
.conf-photo-main {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 60px -28px rgba(10,20,32,.35);
}
.conf-photo-main img { width: 100%; height: 100%; object-fit: cover; }

.conf-photo-secondary {
  position: absolute;
  right: -26px;
  bottom: -46px;
  width: 46%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 22px 40px -18px rgba(10,20,32,.4);
}
.conf-photo-secondary img { width: 100%; height: 100%; object-fit: cover; }

.conf-text h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 16px;
}
.conf-sub { margin: 0 0 22px !important; }
.conf-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--warm-gray);
  margin: 0 0 16px;
  max-width: 480px;
}

/* Galería */
.conf-gallery-block { padding: 0 0 90px; }

.conf-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.conf-gallery-item {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  display: block;
}
.conf-gallery-item--wide { grid-column: span 2; }
.conf-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.conf-gallery-item:hover img { transform: scale(1.04); }
.conf-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(10,20,32,.78);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Tipos de audiencia + temáticas */
.conf-audience-band { background: var(--cream); padding: 90px 0; }

.conf-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 70px;
}
.conf-audience-card {
  background: var(--white);
  border: 1px solid #ece3d0;
  border-radius: 14px;
  padding: 34px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.conf-audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px -22px rgba(10,20,32,.3);
}
.conf-audience-card svg { margin: 0 auto 16px; }
.conf-audience-card h4 { font-family: var(--font-serif); font-size: 18px; color: var(--navy); margin: 0 0 8px; }
.conf-audience-card p { font-size: 13.5px; color: var(--warm-gray); margin: 0; }

.conf-topics { text-align: center; }
.conf-topics-title { margin: 0 auto 24px; }
.conf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 760px; margin: 0 auto; }
.conf-chip {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--blue-light);
  color: var(--blue-dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
}

/* CTA de cierre */
.conf-cta { background: var(--blue-dark); padding: 80px 0; }
.conf-cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.conf-cta-inner h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--white);
  margin: 0 0 16px;
}
.conf-cta-inner p { color: #c9d6e8; font-size: 16px; line-height: 1.6; margin: 0 0 30px; }

/* Lightbox */
.conf-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6,14,26,.94);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  padding: 60px 20px;
}
.conf-lightbox.open { opacity: 1; pointer-events: auto; }
.conf-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.conf-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 22px;
  padding: 10px;
}
.conf-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 34px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease;
}
.conf-lightbox-nav:hover { background: rgba(255,255,255,.25); }
.conf-lightbox-prev { left: 16px; }
.conf-lightbox-next { right: 16px; }

/* ==========================================================================
   TEAM BUILDING Y EXPERIENCIAS QUE CONECTAN
   ========================================================================== */
.teamb { background: var(--white); }

.teamb-intro {
  padding: 100px 0 60px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.teamb-photo-main {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 60px -28px rgba(10,20,32,.35);
}
.teamb-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.teamb-text h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 16px;
}

.teamb-duo {
  padding: 0 0 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.teamb-duo-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 40px -24px rgba(10,20,32,.3);
  transition: transform .3s ease, box-shadow .3s ease;
}
.teamb-duo-card:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -22px rgba(10,20,32,.38); }
.teamb-duo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.teamb-what-band { background: var(--cream); padding: 90px 0; }

.teamb-method { padding: 90px 0; }

.teamb-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.teamb-step {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid #ece3d0;
  border-radius: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.teamb-step:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -22px rgba(10,20,32,.3); }
.teamb-step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}
.teamb-step h4 { font-family: var(--font-serif); font-size: 17px; color: var(--navy); margin: 0 0 6px; }
.teamb-step p { font-size: 13px; color: var(--warm-gray); margin: 0; }

/* ==========================================================================
   EMPRESAS E INSTITUCIONES
   ========================================================================== */
.empresas { background: var(--white); padding: 100px 0; }

.eyebrow-blue { color: var(--blue); }

.empresas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 50px 40px;
}

.empresa-card {
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.empresa-card:hover { transform: translateY(-4px) scale(1.05); }
.empresa-card img {
  width: 100%;
  max-width: 190px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   RESPALDOS INTERNACIONALES
   ========================================================================== */
.respaldos-intl { background: var(--cream); padding: 100px 0; }

.respaldos-intl-desc {
  max-width: 560px;
  margin: -20px auto 50px;
  text-align: center;
  color: var(--warm-gray);
  font-size: 15.5px;
  line-height: 1.6;
}

.respaldos-intl-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 70px;
  max-width: 900px;
  margin: 0 auto;
}

.respaldo-intl-card {
  margin: 0;
  flex: 0 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.respaldo-intl-card:hover { transform: translateY(-4px) scale(1.04); }
.respaldo-intl-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   CERTIFICACIÓN INTERNACIONAL
   ========================================================================== */
.certificacion { background: var(--white); padding: 100px 0; }

.certificacion-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  gap: 60px;
  max-width: 980px;
  margin: 0 auto;
}

.certificacion-seal {
  order: 1;
  background: var(--white);
  border: 1px solid #ece3d0;
  border-radius: 20px;
  box-shadow: 0 20px 44px -30px rgba(10,20,32,.28);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.certificacion-seal img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}

.certificacion-text { order: 2; }
.certificacion-brand {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--blue-dark);
  margin: 0;
}
.certificacion-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 16px 0 22px;
}
.certificacion-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--warm-gray);
  margin: 0 0 18px;
  max-width: 480px;
}
.certificacion-desc:last-child { margin-bottom: 0; }

/* ==========================================================================
   ALIADOS / TESTIMONIOS / LESLY
   ========================================================================== */
.respaldo { background: var(--cream-2); padding: 100px 0; }
.respaldo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 1fr;
  gap: 46px;
  align-items: start;
}
.respaldo-block { }
.block-title { font-size: 26px; margin: 0 0 8px; color: var(--navy); }
.block-sub { color: var(--warm-gray); font-size: 14.5px; margin: 0 0 26px; }

.logos-row { display: flex; flex-direction: column; gap: 16px; }
.logo-placeholder {
  background: var(--white);
  border: 1px dashed #cdbf9c;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.logo-name { font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--navy); }
.logo-tag { font-size: 12px; color: var(--warm-gray); }

.logo-real {
  margin: 0;
  background: var(--white);
  border: 1px solid #ece3d0;
  border-radius: 10px;
  padding: 16px 20px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-real img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-real--dark { background: var(--blue-dark); border-color: var(--blue-dark); }

.testimonial-carousel { background: var(--white); border-radius: 16px; padding: 32px 28px; box-shadow: 0 20px 40px -28px rgba(20,20,10,.3); }
.testimonial-track { position: relative; min-height: 210px; }
.testimonial-slide {
  margin: 0;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: fadeIn .5s ease;
}
.testimonial-slide.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }
.testimonial-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.testimonial-text { font-family: var(--font-serif); font-size: 18px; font-style: italic; line-height: 1.5; color: var(--ink); margin: 0; }
.testimonial-slide footer { font-size: 13px; font-weight: 700; color: var(--navy); }
.testimonial-slide footer span { font-weight: 500; color: var(--warm-gray); }

.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.t-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--wine);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease;
}
.t-arrow:hover { background: var(--gold); color: var(--white); }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: #d8cba0; border: none; padding: 0; }
.t-dot.active { background: var(--wine); }

.lesly-block { text-align: left; }
.lesly-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 24px;
  box-shadow: 0 20px 40px -22px rgba(20,20,10,.4);
}
.lesly-photo img { width: 100%; height: 100%; object-fit: cover; }
.lesly-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(10,20,32,0) 40%, rgba(10,20,32,.72));
}
.lesly-words {
  position: absolute;
  bottom: 16px; left: 18px; right: 18px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin: 0;
}
.lesly-desc { font-size: 15.5px; color: var(--warm-gray); line-height: 1.6; margin: 0 0 26px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; background: var(--navy); color: #cfc7b3; overflow: hidden; }
.footer-bg { position: absolute; inset: 0; opacity: .18; }
.footer-bg img { width: 100%; height: 100%; object-fit: cover; }
.footer-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 50px;
  padding: 80px 0 50px;
}
.footer-col h3 { font-family: var(--font-sans); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); margin: 0 0 18px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand-logo { margin-bottom: 4px; }
.footer-logo-img { height: 46px; width: auto; display: block; }
.footer-descriptor {
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 600;
  margin: 14px 0 4px;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-light);
  margin: 0 0 18px;
}
.footer-quote { font-family: var(--font-serif); font-style: italic; font-size: 19px; color: #ece6d8; margin: 22px 0 26px; max-width: 340px; line-height: 1.5; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(201,162,74,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  transition: background .25s ease, color .25s ease;
}
.social-row a:hover { background: var(--gold); color: var(--navy); }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.footer-contact-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.footer-contact-list svg { color: var(--gold); flex-shrink: 0; }
.footer-contact-list a:hover { color: var(--gold-light); }

.footer-form { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer-form input, .footer-form textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,162,74,.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 13.5px;
  resize: none;
}
.footer-form input::placeholder, .footer-form textarea::placeholder { color: #8c8672; }
.footer-form input:focus, .footer-form textarea:focus { outline: none; border-color: var(--gold); }

.footer-phrase { display: flex; align-items: flex-start; justify-content: flex-end; text-align: right; }
.footer-script { font-family: var(--font-script); font-size: 30px; color: var(--gold-light); line-height: 1.3; margin: 0; }

.footer-bottom { border-top: 1px solid rgba(201,162,74,.22); position: relative; z-index: 1; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 0;
  font-size: 12.5px;
  color: #a89f8a;
}
.footer-bottom a:hover { color: var(--gold-light); }
.footer-credit a { color: var(--gold-light); font-weight: 600; }
.footer-credit a:hover { color: var(--gold); }

/* ==========================================================================
   FLOATING ELEMENTS
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.45);
  z-index: 90;
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

.video-modal {
  position: fixed; inset: 0;
  background: rgba(6,10,16,.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  padding: 20px;
}
.video-modal.open { opacity: 1; pointer-events: auto; }
.video-modal-inner {
  background: var(--navy-3);
  border: 1px solid rgba(201,162,74,.35);
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 460px;
  text-align: center;
  position: relative;
  color: var(--cream);
}
.video-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: none;
  color: var(--gold-light); font-size: 18px;
}
.video-modal-body p:first-child { font-family: var(--font-serif); font-size: 22px; margin: 0 0 10px; }
.video-modal-note { font-size: 13.5px; color: #a89f8a; margin: 0; }

/* ==========================================================================
   POPUP PUBLICITARIO
   ========================================================================== */
.ad-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.ad-overlay.open { opacity: 1; pointer-events: auto; }

.ad-popup {
  position: relative;
  max-width: min(680px, 85vw);
  max-height: 85vh;
  transform: scale(.96);
  transition: transform .35s ease;
}
.ad-overlay.open .ad-popup { transform: scale(1); }

.ad-popup img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 70px -10px rgba(0,0,0,.55);
}

.ad-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10,20,32,.85);
  border: 2px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.ad-close:hover { background: var(--navy); transform: scale(1.08); }

@media (max-width: 640px) {
  .ad-overlay { padding: 20px; }
  .ad-popup { max-width: 90vw; max-height: 90vh; }
  .ad-popup img { max-height: 90vh; }
  .ad-close { top: -12px; right: -12px; width: 36px; height: 36px; }
}

.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--gold);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .servimos-grid { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
  .experiencias-grid { grid-template-columns: repeat(3, 1fr); }
  .respaldo-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-phrase { justify-content: flex-start; text-align: left; }
}

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .btn-whatsapp span { display: none; }

  .hero-content { flex-direction: column; align-items: flex-start; gap: 40px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .hero-text { max-width: 100%; }
  .hero-photo { width: 300px; align-self: center; }

  .stats-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; padding: 50px 0; }
  .stats-grid { flex-wrap: wrap; justify-content: center; }
  .stats-quote { text-align: center; }

  .metodo-inner { grid-template-columns: 1fr; }

  .experiencias-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }

  .conf-intro { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 90px; }
  .conf-photo-secondary { width: 50%; right: -16px; bottom: -32px; }
  .conf-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
  .conf-audience-grid { grid-template-columns: repeat(2, 1fr); }

  .teamb-intro { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 50px; }
  .teamb-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .brand-logo-img { height: 46px; }
  .servimos-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .servimos-photo { width: 92px; height: 92px; }
  .experiencias-grid { grid-template-columns: 1fr; }
  .metodo-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-bottom-inner { flex-direction: column; text-align: center; align-items: center; }
  .lesly-photo { aspect-ratio: 16/11; }

  .empresas-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .empresa-card img { max-width: 140px; }

  .respaldos-intl-grid { gap: 40px; }
  .respaldo-intl-card { flex: 0 1 220px; }
  .respaldo-intl-card img { max-width: 220px; }
  .respaldos-intl-desc { margin-top: -10px; }

  .certificacion-inner { grid-template-columns: 1fr; gap: 32px; max-width: 340px; }
  .certificacion-seal { padding: 28px; }
  .certificacion-seal img { max-width: 220px; }

  .conf-intro { padding: 50px 0 40px; }
  .conf-photos { margin-bottom: 0; }
  .conf-photo-secondary { position: static; width: 100%; margin: 14px 0 0; border-width: 0; box-shadow: 0 16px 30px -18px rgba(10,20,32,.35); }
  .conf-desc { max-width: none; }
  .conf-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 12px; }
  .conf-gallery-item--wide { grid-column: span 2; }
  .conf-audience-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 50px; }
  .conf-cta { padding: 60px 0; }
  .certificacion-text { text-align: center; }
  .certificacion-rule { margin-left: auto; margin-right: auto; }
  .certificacion-desc { margin-left: auto; margin-right: auto; }

  .teamb-intro { padding: 50px 0 40px; }
  .teamb-duo { grid-template-columns: 1fr; gap: 18px; padding-bottom: 60px; }
  .teamb-what-band, .teamb-method { padding: 60px 0; }
  .teamb-steps { grid-template-columns: 1fr; gap: 16px; }
}
