/* ─── PRELOADER ──────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: #06243B;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#preloader img {
  width: 200px;
  max-width: 52vw;
  animation: preloader-pulse 1.5s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.95); }
}

/* ─── FONTS ──────────────────────────────────────────── */
@font-face {
  font-family: 'YoungestSerif';
  src: url('../fonts/the-youngest-serif-display.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NotoBalinese';
  src: url('../fonts/NotoSerifBalinese-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── VARIABLES ──────────────────────────────────────── */
:root {
  --azul: #06243B;
  --azul-mid: #0d3a5c;
  --beige: #F4F3EE;
  --amarillo: #E39C00;
  --amarillo-dark: #c67e00;
  --negro: #000000;
  --white: #ffffff;
  --gray: #6b7a8d;
  --gray-light: #ddddd5;
  --text: #1a1a1a;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h3 { font-weight: 700; }
h4 { font-weight: 600; }

/* ─── NAVBAR ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 76px;
  background: var(--white);
  border-bottom: 1px solid rgba(6,36,59,0.08);
  transition: box-shadow .3s;
}
nav.scrolled {
  box-shadow: 0 4px 32px rgba(6,36,59,0.12);
}

.nav-logo img { height: 80px; width: auto; display: block; }

.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--azul);
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
  position: relative; padding-bottom: 3px;
  transition: opacity .25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--amarillo);
  transition: width .3s ease;
}
.nav-links a:hover { opacity: 0.65; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--amarillo) !important;
  color: var(--azul) !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  opacity: 1 !important;
  box-shadow: 0 4px 16px rgba(227,156,0,0.38);
  transition: background .25s, color .25s, transform .2s, box-shadow .25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--azul) !important;
  color: var(--white) !important;
  opacity: 1 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6,36,59,0.28) !important;
  outline: 2px solid var(--amarillo) !important;
  outline-offset: 3px !important;
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: no-preference) {
  .nav-cta { animation: nav-cta 7s ease-in-out 4s infinite; }
}
@keyframes nav-cta {
  0%, 55%, 100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 4px 16px rgba(227,156,0,0.38);
  }
  10% {
    transform: scale(1.04) translateY(0);
    box-shadow: 0 6px 28px rgba(227,156,0,0.72), 0 0 0 5px rgba(227,156,0,0.14);
  }
  20% {
    transform: scale(1.02) translateY(0);
    box-shadow: 0 5px 20px rgba(227,156,0,0.52), 0 0 0 2px rgba(227,156,0,0.08);
  }
  30% {
    transform: scale(1.035) translateY(0);
    box-shadow: 0 6px 26px rgba(227,156,0,0.65), 0 0 0 4px rgba(227,156,0,0.12);
  }
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; flex-shrink: 0; }
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--azul); border-radius: 2px;
  transition: transform .35s, opacity .35s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: 76px; left: 0; right: 0;
  background: var(--white);
  padding: 24px 5% 32px;
  border-bottom: 1px solid var(--gray-light);
  flex-direction: column; gap: 20px;
  transform: translateY(-10px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  z-index: 999; pointer-events: none;
}
.mobile-menu.open { pointer-events: all; transform: translateY(0); opacity: 1; }
.mobile-menu a {
  text-decoration: none; color: var(--azul);
  font-size: 16px;
  padding: 8px 0; border-bottom: 1px solid var(--gray-light);
  transition: color .2s;
  font-family: 'Inter', sans-serif;
}
.mobile-menu .mob-cta {
  background: var(--amarillo); color: var(--azul) !important;
  padding: 14px 24px; border-radius: 8px; text-align: center;
  font-weight: 700; border: none; margin-top: 4px;
}

/* ─── SECTION BASE ───────────────────────────────────── */
section { padding: 100px 5%; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 50px);
  color: var(--azul); margin-bottom: 16px;
  line-height: 1.15;
}
.section-header p {
  font-size: 16px; color: var(--gray);
  max-width: 640px; margin: 0 auto; line-height: 1.75;
}

.section-label {
  display: block;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amarillo-dark);
  font-family: 'NotoBalinese', Georgia, serif;
  margin-bottom: 14px;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--amarillo); color: var(--azul);
  padding: 14px 30px; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  font-family: 'Inter', sans-serif;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(227,156,0,0.3);
}
.btn-primary:hover {
  background: var(--amarillo-dark); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(227,156,0,0.4);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  padding: 14px 30px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  font-family: 'Inter', sans-serif;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: background .25s, border-color .25s, transform .2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 5% 100px;
  background: var(--azul);
  position: relative; overflow: hidden;
}

.hero-bg-visual {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg-img {
  position: absolute; right: 0; top: 0;
  width: 65%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 22%, black 55%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 22%, black 55%);
}

/* Grain texture */
.hero-bg-visual::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
}

/* Glow izquierdo (amarillo) */
.hero::before {
  content: '';
  position: absolute; top: -180px; left: -80px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(227,156,0,0.11) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none; z-index: 1;
}

/* Glow derecho (azul frío) */
.hero::after {
  content: '';
  position: absolute; bottom: -120px; right: -60px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(100,180,255,0.05) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none; z-index: 1;
}

.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr;
  position: relative; z-index: 2;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,156,0,0.10); border: 1px solid rgba(227,156,0,0.24);
  color: var(--amarillo); border-radius: 4px;
  padding: 7px 16px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'NotoBalinese', Georgia, serif;
}
.hero-badge::before {
  content: '';
  display: inline-block; width: 6px; height: 6px;
  background: var(--amarillo); border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(227,156,0,0.2);
  animation: badge-pulse 2.4s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(227,156,0,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(227,156,0,0.06); }
}

.hero-rule {
  display: block;
  width: 44px; height: 2px;
  background: linear-gradient(to right, var(--amarillo), transparent);
  margin-bottom: 24px;
  opacity: 0.7;
}

.hero-text { max-width: 640px; }

.hero-title {
  font-family: 'YoungestSerif', serif;
  font-size: clamp(36px, 5vw, 66px);
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-title-accent {
  color: var(--amarillo);
  display: block;
  font-weight: normal;
}

.hero-desc {
  font-size: 17px; color: rgba(255,255,255,0.72);
  line-height: 1.8; margin-bottom: 40px;
  max-width: 500px;
  letter-spacing: 0;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-img-wrap {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
  aspect-ratio: 4/3;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── ALIADOS ────────────────────────────────────────── */
.aliados {
  padding: 52px 5%;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.aliados-label {
  text-align: center;
  font-size: 12px; color: var(--gray);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 36px;
  font-family: 'NotoBalinese', Georgia, serif;
}

.logos-slider {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logos-track {
  display: flex; align-items: center; gap: 56px;
  width: max-content;
  animation: logos-slide 30s linear infinite;
}
.logos-slider:hover .logos-track { animation-play-state: paused; }

@keyframes logos-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-item {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--gray);
  white-space: nowrap;
  padding: 10px 28px;
  border: 1.5px solid var(--gray-light);
  border-radius: 4px;
  letter-spacing: .04em;
  transition: color .25s, border-color .25s;
  user-select: none;
}
.logo-item:hover { color: var(--azul); border-color: rgba(6,36,59,0.4); }

/* Image logo items (socios y clientes) */
.logo-img-item {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 160px; height: 64px;
  filter: grayscale(100%); opacity: 0.55;
  transition: filter .3s, opacity .3s;
  user-select: none;
}
.logo-img-item:hover { filter: grayscale(0%); opacity: 1; }
.logo-img-item .logo-img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  display: block;
}
.logo-img-item .logo-img-name {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: var(--gray);
  letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
  padding: 10px 24px;
  border: 1.5px solid var(--gray-light);
  border-radius: 4px;
}

/* Clientes slider */
.clientes-slider { margin-bottom: 0; }
.logo-img-item--cliente { width: 180px; height: 72px; }

/* ─── PAIN POINTS (FLIP CARDS) ───────────────────────── */
.pain-points { background: var(--beige); }
.pain-points .section-header h2 { color: var(--azul); }

.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.flip-card {
  perspective: 1000px;
  height: 280px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute; width: 100%; height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 10px; padding: 28px 28px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.flip-card-front {
  background: var(--white);
  border: 1px solid rgba(6,36,59,0.07);
  box-shadow: 0 2px 16px rgba(6,36,59,0.05);
}
.flip-card-back {
  background: var(--azul);
  transform: rotateY(180deg);
  justify-content: center;
}

.flip-icon { font-size: 22px; color: var(--amarillo); }
.flip-problem {
  font-size: 15px; color: var(--azul); line-height: 1.6;
  font-family: 'Inter', sans-serif;
  flex: 1; padding: 12px 0;
}
.flip-solution {
  font-size: 14px; color: rgba(255,255,255,0.88); line-height: 1.75;
  font-family: 'Inter', sans-serif;
}
.flip-hint {
  font-size: 11px; color: var(--gray); letter-spacing: .05em;
  font-family: 'Inter', sans-serif;
}

/* Objeciones variant */
.flip-grid--objeciones { grid-template-columns: repeat(2, 1fr); }
.flip-card--obj { height: 300px; }
.flip-card-front--obj {
  background: var(--white);
  justify-content: space-between;
}
.flip-card-front--obj .flip-problem {
  font-family: 'YoungestSerif', serif;
  font-size: 20px; color: var(--azul); line-height: 1.3;
  flex: 1; padding: 16px 0;
}

/* ─── AUDIENCIA ──────────────────────────────────────── */
.audiencia { background: var(--white); }
.audiencia .section-header h2 { color: var(--azul); }

.audiencia-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.audiencia-card {
  border: 1.5px solid var(--gray-light);
  border-radius: 10px; padding: 36px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.audiencia-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(6,36,59,0.08);
  border-color: rgba(6,36,59,0.3);
}
.audiencia-card--highlight {
  background: var(--azul);
  border-color: var(--azul);
}
.audiencia-card--highlight:hover { border-color: var(--amarillo); }

.audiencia-tag {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amarillo-dark); margin-bottom: 16px; display: block;
  font-family: 'NotoBalinese', Georgia, serif;
}
.audiencia-card--highlight .audiencia-tag { color: var(--amarillo); }

.audiencia-card h3 {
  font-size: 20px; color: var(--azul);
  margin-bottom: 16px; line-height: 1.3;
}
.audiencia-card--highlight h3 { color: var(--white); }
.audiencia-card p { font-size: 14.5px; color: var(--gray); line-height: 1.75; }
.audiencia-card--highlight p { color: rgba(255,255,255,0.65); }

/* ─── METODOLOGÍA ────────────────────────────────────── */
.metodologia { background: var(--azul); }
.metodologia .section-label { color: var(--amarillo); }
.metodologia .section-header h2 { color: var(--white); }
.metodologia .section-header p { color: rgba(255,255,255,0.6); }

.metodologia-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 80px;
}
.metodo-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px; padding: 36px;
  transition: background .3s, border-color .3s, transform .3s;
}
.metodo-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(227,156,0,0.4);
  transform: translateY(-4px);
}
.metodo-num {
  font-family: 'YoungestSerif', serif;
  font-size: 44px; color: var(--amarillo);
  opacity: 0.55; margin-bottom: 20px; line-height: 1;
}
.metodo-card h3 {
  font-size: 20px; color: var(--white); margin-bottom: 14px;
}
.metodo-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 20px; }
.metodo-list { list-style: none; }
.metodo-list li {
  font-size: 13px; color: rgba(255,255,255,0.5);
  padding: 5px 0; display: flex; align-items: flex-start; gap: 8px;
  font-family: 'Inter', sans-serif;
}
.metodo-list li::before { content: '—'; color: var(--amarillo); flex-shrink: 0; }

/* Coberturas */
.coberturas-block {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 64px; text-align: center;
}
.coberturas-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 36px); color: var(--white); margin-bottom: 12px;
}
.coberturas-sub {
  font-size: 15px; color: rgba(255,255,255,0.55);
  max-width: 560px; margin: 0 auto 44px; line-height: 1.7;
}
.coberturas-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.cobertura-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 5px; padding: 12px 20px;
  font-size: 14px; color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
  transition: background .3s, border-color .3s, color .3s;
}
.cobertura-item:hover {
  background: rgba(227,156,0,0.1);
  border-color: rgba(227,156,0,0.4); color: var(--white);
}
.cobertura-item i { color: var(--amarillo); }

/* ─── CONFIANZA ──────────────────────────────────────── */
.confianza { background: var(--beige); }
.confianza .section-label { color: var(--azul); opacity: 0.7; }

/* Intro bicolumna */
.confianza-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.confianza-intro-left .section-label { margin-bottom: 16px; }
.confianza-intro-left h2 {
  color: var(--azul);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.confianza-intro-right {
  font-size: 15px; color: var(--gray);
  line-height: 1.75;
  padding-bottom: 4px;
  border-left: 2px solid var(--amarillo);
  padding-left: 20px;
}

/* Grid de KPIs */
.kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 64px;
  border: 1px solid rgba(6,36,59,0.09);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.kpi-card {
  background: var(--white);
  padding: 40px 32px 36px;
  text-align: left;
  position: relative;
  border-right: 1px solid rgba(6,36,59,0.07);
  overflow: hidden;
  transition: background .3s;
}
.kpi-card:last-child { border-right: none; }
.kpi-card:hover { background: rgba(6,36,59,0.025); }

/* Barra ámbar superior — se despliega al activarse */
.kpi-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--amarillo);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.kpi-card.active::before { transform: scaleX(1); }

/* Índice */
.kpi-index {
  position: absolute; top: 20px; right: 24px;
  font-size: 10px; color: rgba(6,36,59,0.14);
  font-family: 'Sora', sans-serif; font-weight: 800;
  letter-spacing: 0.05em;
}

.kpi-num {
  font-family: 'YoungestSerif', serif;
  font-size: clamp(44px, 4vw, 66px);
  color: var(--azul); line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
.kpi-label {
  display: block;
  font-size: 10px; color: var(--amarillo-dark);
  letter-spacing: .18em; text-transform: uppercase;
  font-family: 'NotoBalinese', Georgia, serif;
  margin-top: 10px; margin-bottom: 14px;
}
.kpi-divider {
  width: 28px; height: 1px;
  background: rgba(6,36,59,0.14);
  margin-bottom: 12px;
}
.kpi-context {
  font-size: 13px; color: var(--gray);
  line-height: 1.65; font-weight: 300;
}

.confianza-clientes {
  text-align: center; margin-bottom: 64px;
}
.confianza-sub-label {
  font-size: 12px; color: var(--gray);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px;
  display: block; font-family: 'NotoBalinese', Georgia, serif;
}
.clientes-count {
  font-family: 'YoungestSerif', serif;
  font-size: clamp(28px, 3.5vw, 44px); color: var(--azul);
}

.confianza-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.confianza-col h4 {
  font-size: 18px; color: var(--azul);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--amarillo);
}
.team-stats { display: flex; gap: 32px; margin-bottom: 16px; }
.team-stat span {
  display: block; font-family: 'YoungestSerif', serif;
  font-size: 34px; color: var(--azul); line-height: 1;
}
.team-stat p { font-size: 13px; color: var(--gray); margin-top: 4px; }
.confianza-col-desc { font-size: 13.5px; color: var(--gray); line-height: 1.65; }

.confianza-list { list-style: none; }
.confianza-list li {
  font-size: 14px; color: var(--text);
  padding: 9px 0; display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid rgba(6,36,59,0.06);
  font-family: 'Inter', sans-serif;
}
.confianza-list li:last-child { border-bottom: none; }
.confianza-list li i { color: var(--amarillo); margin-top: 2px; flex-shrink: 0; }

/* ─── CLIENTES ───────────────────────────────────────── */
.clientes-section { background: var(--white); }
.clientes-section .section-label { color: var(--amarillo-dark); }
.clientes-section .section-header h2 { color: var(--azul); }

.clientes-big-count {
  font-family: 'YoungestSerif', serif;
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--azul); font-weight: bold;
  margin-top: 8px;
}

.clientes-slider { margin-bottom: 64px; }

.testimoniales-grid--clientes { margin-top: 0; }

/* ─── PRUEBA SOCIAL ──────────────────────────────────── */
.prueba-social { background: var(--white); }
.prueba-social .section-header h2 { color: var(--azul); }

.casos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 40px;
}
.caso-card {
  background: var(--beige);
  border-radius: 10px; padding: 32px;
  border-left: 3px solid var(--amarillo);
  transition: transform .3s, box-shadow .3s;
}
.caso-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(6,36,59,0.07); }
.caso-tag {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amarillo-dark); margin-bottom: 12px; display: block;
  font-family: 'NotoBalinese', Georgia, serif;
}
.caso-card p { font-size: 14px; color: var(--gray); line-height: 1.75; }

.testimoniales-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testimonial-card {
  background: var(--azul);
  border-radius: 10px; padding: 32px;
  transition: transform .3s;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-quote i { color: var(--amarillo); font-size: 20px; margin-bottom: 16px; display: block; }
.testimonial-card p {
  font-size: 15px; color: rgba(255,255,255,0.82);
  line-height: 1.8; margin-bottom: 20px; font-style: italic;
}
.testimonial-author {
  font-size: 11px; color: var(--amarillo); letter-spacing: .1em; text-transform: uppercase;
  font-family: 'NotoBalinese', Georgia, serif;
}

/* ─── OBJECIONES ─────────────────────────────────────── */
.objeciones { background: var(--beige); }
.objeciones .section-header h2 { color: var(--azul); }

/* ─── CONTACTO ───────────────────────────────────────── */
.contact { background: var(--azul); position: relative; overflow: hidden; }
.contact::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(227,156,0,0.05), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.contact .section-label { color: var(--amarillo); }
.contact .section-header h2 { color: var(--white); }

.proceso-cta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-bottom: 48px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px; overflow: hidden;
  position: relative; z-index: 1;
}
.proceso-step {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.proceso-step:last-child { border-right: none; }
.proceso-num {
  font-family: 'YoungestSerif', serif;
  font-size: 44px; color: var(--amarillo);
  opacity: 0.45; line-height: 1; margin-bottom: 12px;
}
.proceso-step h4 {
  font-size: 18px; color: var(--white); margin-bottom: 10px;
}
.proceso-step p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.7; }

.cta-tagline {
  text-align: center;
  font-family: 'YoungestSerif', serif;
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--amarillo);
  margin-bottom: 64px;
  font-style: italic;
  position: relative; z-index: 1;
}

.contact-inner {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start;
  position: relative; z-index: 1;
}
.contact-left h3 {
  font-size: clamp(24px, 3vw, 36px); color: var(--white); margin-bottom: 16px;
}
.contact-left > p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 40px; line-height: 1.75; }

.contact-direct { display: flex; flex-direction: column; gap: 12px; }
.contact-direct a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 14px; transition: color .2s;
  font-family: 'Inter', sans-serif;
}
.contact-direct a:hover { color: var(--amarillo); }
.contact-direct i { width: 18px; color: var(--amarillo); flex-shrink: 0; }

.contact-form-wrap {
  background: var(--white); border-radius: 14px; padding: 40px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28);
}

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label { display: block; font-size: 13px; color: var(--azul); margin-bottom: 6px; font-family: 'Inter', sans-serif; }
label span { color: #d63b3b; }

input, select, textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-light); border-radius: 7px;
  font-size: 14px; font-family: 'Inter', sans-serif;
  color: var(--text); background: var(--white);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(6,36,59,0.07);
}
input::placeholder, textarea::placeholder { color: #b0b8c8; }
textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  width: 100%; padding: 16px;
  background: var(--amarillo); color: var(--azul);
  border: none; border-radius: 7px; cursor: pointer;
  font-size: 16px; font-family: 'Inter', sans-serif;
  font-weight: 700;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(227,156,0,0.28);
  margin-top: 8px;
}
.btn-submit:hover {
  background: var(--amarillo-dark); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(227,156,0,0.4);
}
.form-note { text-align: center; font-size: 12px; color: var(--gray); margin-top: 14px; line-height: 1.55; }

/* ─── CONTACTO (info + mapa) ─────────────────────────── */
.contact-info-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start;
  position: relative; z-index: 1;
}

.contact-info-col { display: flex; flex-direction: column; gap: 48px; }

.contact-info-block h3 {
  font-size: clamp(22px, 2.5vw, 30px); color: var(--white);
  margin-bottom: 24px;
}

.contact-address, .contact-hours {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,0.7); font-size: 14px;
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
}
.contact-address i, .contact-hours i { color: var(--amarillo); margin-top: 2px; width: 18px; flex-shrink: 0; }

.contact-social-block h4 {
  font-size: 18px; color: var(--white); margin-bottom: 20px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: rgba(255,255,255,0.75);
  text-decoration: none; font-size: 13px;
  font-family: 'Inter', sans-serif;
  transition: background .25s, border-color .25s, color .25s, transform .2s;
}
.social-link:hover { border-color: var(--amarillo); color: var(--amarillo); transform: translateY(-2px); }
.social-link i { font-size: 16px; }
.social-link span { display: none; }

.contact-visual-col { display: flex; flex-direction: column; gap: 16px; }

.office-photo-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16/7;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
}
.office-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.office-photo-label {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(6,36,59,0.75); backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.8); font-size: 12px;
  font-family: 'Inter', sans-serif;
  padding: 4px 12px; border-radius: 4px; letter-spacing: .06em;
}
.office-photo-placeholder::after {
  content: 'Foto de oficina próximamente';
  display: flex; align-items: center; justify-content: center;
  position: absolute; inset: 0;
  color: rgba(255,255,255,0.3); font-size: 13px;
  font-family: 'Inter', sans-serif;
  letter-spacing: .06em;
}

.contact-map-wrap {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  filter: grayscale(20%) brightness(0.85) contrast(1.05);
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer { background: #030e18; padding: 64px 5% 32px; color: rgba(255,255,255,0.55); }
.footer-inner { max-width: 100%; }

.footer-top {
  display: grid; grid-template-columns: 0.6fr 0.8fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand { display: flex; align-items: flex-start; justify-content: flex-start; }
.footer-brand img { height: 140px; width: auto; display: block; filter: brightness(0) invert(1); margin-left: 0; margin-right: auto; }
.footer-brand p { display: none; }

.footer-nav-links { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-links a {
  font-size: 13.5px; color: rgba(255,255,255,0.55);
  text-decoration: none; font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.footer-nav-links a:hover { color: var(--amarillo); }

.footer-col h4 {
  font-size: 16px; color: var(--white); margin-bottom: 20px;
}
.footer-col:not(:has(h4)) { padding-top: 36px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 13.5px;
  font-family: 'Inter', sans-serif;
}
.footer-contact-item i { color: var(--amarillo); margin-top: 2px; width: 16px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; font-family: 'Inter', sans-serif; white-space: nowrap; flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.footer-bottom-links { display: flex; gap: 16px; flex-shrink: 0; }
.footer-bottom-links a {
  font-size: 12px; color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color .2s;
  font-family: 'Inter', sans-serif; white-space: nowrap;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }
.powered-link { color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
.powered-link:hover { color: var(--amarillo); }

/* ─── TOAST ──────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 32px; right: 32px;
  background: var(--azul); color: var(--white);
  padding: 16px 24px; border-radius: 10px;
  font-size: 14px; box-shadow: 0 8px 32px rgba(6,36,59,0.3);
  display: flex; align-items: center; gap: 12px;
  z-index: 9999;
  transform: translateY(80px); opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
  font-family: 'Inter', sans-serif;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: var(--amarillo); font-size: 18px; }

/* ─── FLOATING BUTTONS ───────────────────────────────── */
#btt {
  position: fixed; bottom: 24px; left: 24px; z-index: 9998;
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--azul); color: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(6,36,59,0.4);
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s;
}
#btt.show { opacity: 1; transform: translateY(0); }
#btt:hover { background: var(--azul-mid); transform: translateY(-3px); }

#wa-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform .25s, box-shadow .25s, background .2s;
}
#wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .confianza-intro { grid-template-columns: 1fr; gap: 24px; }
  .confianza-intro-right { border-left: none; padding-left: 0; border-top: 2px solid var(--amarillo); padding-top: 16px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-card:nth-child(2) { border-right: none; }
  .kpi-card:nth-child(3) { border-top: 1px solid rgba(6,36,59,0.07); }
  .kpi-card:nth-child(4) { border-top: 1px solid rgba(6,36,59,0.07); border-right: none; }
  .metodologia-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-info-grid { grid-template-columns: 1fr; gap: 40px; }
  .social-link span { display: block; }
}

@media (min-width: 769px) { .mobile-menu { display: none !important; } }

@media (max-width: 768px) {
  nav { padding: 0 4%; }
  .nav-logo img { height: 62px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero { padding: 120px 5% 80px; }
  .hero-bg-img { width: 100%; opacity: 0.12; -webkit-mask-image: none; mask-image: none; }
  .hero-text { max-width: 100%; }

  .flip-grid { grid-template-columns: 1fr; }
  .flip-card { height: 320px; }
  .flip-grid--objeciones { grid-template-columns: 1fr; }
  .flip-card--obj { height: 340px; }

  .audiencia-grid { grid-template-columns: 1fr; }
  .metodologia-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi-card { padding: 28px 24px; }
  .confianza-intro { margin-bottom: 40px; }
  .casos-grid { grid-template-columns: 1fr; }
  .testimoniales-grid { grid-template-columns: 1fr; }
  .testimoniales-grid--clientes { grid-template-columns: 1fr; }

  .proceso-cta-grid { grid-template-columns: 1fr; }
  .proceso-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .proceso-step:last-child { border-bottom: none; }

  .contact-info-grid { grid-template-columns: 1fr; }
  .social-link span { display: block; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 480px) {
  section { padding: 72px 5%; }
  .hero { padding: 100px 5% 60px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .coberturas-grid { gap: 8px; }
}

/* ─── ANIMATION SYSTEM ───────────────────────────────── */
/* Base: elementos comienzan ocultos/desplazados */
[class*="anim-"] {
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fromBottom { opacity: 0; transform: translateY(56px); }
.anim-fromTop    { opacity: 0; transform: translateY(-56px); }
.anim-fromLeft   { opacity: 0; transform: translateX(-64px); }
.anim-fromRight  { opacity: 0; transform: translateX(64px); }
.anim-fadeIn     { opacity: 0; transform: none; }

/* Estado activo: visible */
.anim-fromBottom.active,
.anim-fromTop.active,
.anim-fromLeft.active,
.anim-fromRight.active,
.anim-fadeIn.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delays */
.anim-d0 { transition-delay: 0s; }
.anim-d1 { transition-delay: 0.08s; }
.anim-d2 { transition-delay: 0.16s; }
.anim-d3 { transition-delay: 0.24s; }
.anim-d4 { transition-delay: 0.32s; }
.anim-d5 { transition-delay: 0.42s; }
.anim-d6 { transition-delay: 0.54s; }

/* Respeta prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  [class*="anim-"] { transition: none !important; }
  [class*="anim-"].active { opacity: 1; transform: none; }
}



/* ─────────────────────────────────────────
   CHATBOT FLOTANTE
───────────────────────────────────────── */
#chat-btn {
  position: fixed; bottom: 88px; right: 24px; z-index: 9998;
  width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid var(--blue);
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; overflow: hidden;
  box-shadow: 0 4px 20px rgba(6,36,59,0.40);
  transition: transform .25s, box-shadow .25s, border-color .2s;
}
#chat-btn img {
  width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 50%;
}
#chat-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 32px rgba(6,36,59,0.50);
  border-color: var(--yellow);
}
#chat-btn.active {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(227,156,0,0.30);
}

/* Burbuja de texto */
.chat-bubble {
  position: fixed; bottom: 100px; right: 84px; z-index: 9997;
  background: white; color: var(--blue);
  font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  padding: 8px 14px; border-radius: 20px 20px 4px 20px;
  box-shadow: 0 4px 20px rgba(6,36,59,0.18);
  white-space: nowrap;
  opacity: 0; transform: translateX(8px) scale(0.95);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.chat-bubble::after {
  content: '';
  position: absolute; right: -8px; bottom: 12px;
  border: 5px solid transparent;
  border-left-color: white;
}
.chat-bubble.visible { opacity: 1; transform: translateX(0) scale(1); }

/* Panel de chat */
#chat-panel {
  position: fixed; bottom: 152px; right: 24px; z-index: 9997;
  width: 320px;
  background: white; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(6,36,59,0.20);
  overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(0.97);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
#chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

.chat-panel-header {
  background: var(--azul); padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 2px solid var(--yellow); flex-shrink: 0;
}
.chat-agent-info { flex: 1; display: flex; flex-direction: column; }
.chat-agent-name { color: white; font-size: 14px; font-weight: 700; font-family: 'DM Sans', sans-serif; line-height: 1.2; }
.chat-agent-role { color: rgba(255,255,255,0.65); font-size: 11px; font-family: 'DM Sans', sans-serif; }
.chat-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25D366; box-shadow: 0 0 0 2px rgba(37,211,102,0.3); flex-shrink: 0;
}
#chat-close {
  background: rgba(255,255,255,0.15); border: none; cursor: pointer;
  color: white; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: background .2s; flex-shrink: 0;
}
#chat-close:hover { background: rgba(255,255,255,0.30); }

.chat-panel-body { padding: 16px; background: #f8f9fb; min-height: 120px; }
.chat-msg.incoming {
  background: white; border-radius: 12px 12px 12px 4px;
  padding: 10px 14px; max-width: 85%;
  box-shadow: 0 2px 8px rgba(6,36,59,0.08);
}
.chat-msg.incoming p { font-size: 14px; color: var(--blue); font-family: 'DM Sans', sans-serif; line-height: 1.5; }
.chat-time { display: block; font-size: 11px; color: #aaa; margin-top: 4px; }

.chat-panel-footer {
  padding: 12px 16px; border-top: 1px solid #eee;
  display: flex; gap: 8px; align-items: center; background: white;
}
.chat-panel-footer input {
  flex: 1; border: 1px solid #e5e7eb; border-radius: 20px;
  padding: 8px 14px; font-size: 13px; font-family: 'DM Sans', sans-serif;
  outline: none; background: #f8f9fb; color: #999; cursor: not-allowed;
}
.chat-panel-footer button {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: not-allowed; opacity: 0.5;
}

@media (max-width: 560px) {
  #chat-btn   { right: 16px; bottom: 80px; }
  .chat-bubble { right: 76px; bottom: 92px; }
  #chat-panel { right: 12px; bottom: 144px; width: calc(100vw - 24px); }
}


/* ══════════════════════════════════════════════════════════════
   NUESTRO TALENTO — Embajadores
══════════════════════════════════════════════════════════════ */

.talento-equipo-section {
    background: var(--beige);
    padding: 104px 0;
    position: relative;
    overflow: hidden;
}
.talento-bg-parallax {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: auto;
    min-height: 200%;
    object-fit: cover;
    opacity: 0.30;
    pointer-events: none;
    will-change: transform;
    user-select: none;
}
@media (max-width: 900px) { .talento-bg-parallax { opacity: 0.07; } }

.talento-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.talento-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.talento-section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    color: var(--azul);
    margin: 8px 0 12px;
}

.talento-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo-dark);
    display: block;
}

.embajador-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
}

.embajador-photo-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 18px;
}

@keyframes emb-img-pulse {
    0%, 100% { filter: grayscale(100%) drop-shadow(0 0 0px rgba(227,156,0,0)); }
    50%       { filter: grayscale(100%) drop-shadow(0 0 18px rgba(227,156,0,0.45)); }
}
.embajador-img {
    height: 280px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    animation: emb-img-pulse 3s ease-in-out infinite;
    transition: transform 0.45s ease;
}

.embajador-card--featured .embajador-img {
    height: 340px;
    max-width: 270px;
}

.embajador-name {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--azul);
    margin: 0 0 4px;
    text-align: center;
}
.embajador-card--featured .embajador-name {
    font-size: 1.25rem;
}

.embajador-role {
    font-family: 'Sora', sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--amarillo);
    letter-spacing: 0.06em;
    text-align: center;
    display: block;
}

.embajador-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.embajador-clickable { cursor: pointer; }

.embajador-card:hover .embajador-img {
    animation: none;
    filter: grayscale(0%) drop-shadow(0 0 14px rgba(227,156,0,0.3));
    transform: translateY(-8px) scale(1.03);
}

@media (max-width: 1400px) {
    .embajador-img { height: 230px; max-width: 185px; }
    .embajador-card--featured .embajador-img { height: 285px; max-width: 225px; }
    .embajador-name { font-size: 0.9rem; }
    .embajador-card--featured .embajador-name { font-size: 1.1rem; }
}
@media (max-width: 1200px) {
    .embajador-row { gap: 6px; }
    .embajador-img { height: 200px; max-width: 160px; }
    .embajador-card--featured .embajador-img { height: 248px; max-width: 195px; }
    .embajador-name { font-size: 0.82rem; }
    .embajador-card--featured .embajador-name { font-size: 1rem; }
    .embajador-role { font-size: 0.68rem; }
}
@media (max-width: 900px) {
    .embajador-row { flex-wrap: wrap; gap: 32px 16px; }
    .embajador-card { flex: 0 0 calc(50% - 8px); }
    .embajador-card--featured { flex: 0 0 100%; }
    .embajador-card--featured .embajador-img { height: 300px; max-width: 250px; }
}
@media (max-width: 560px) {
    .embajador-img { height: 220px; max-width: 180px; }
}


/* ══════════════════════════════════════════
   MODAL — Perfil de embajador
══════════════════════════════════════════ */

.emb-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.emb-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.emb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 36, 59, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.emb-modal-panel {
    position: relative;
    background: var(--beige);
    border-radius: 20px;
    max-width: 880px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 64px 56px 56px;
    transform: translateY(28px) scale(0.98);
    transition: transform 0.35s ease;
    box-shadow: 0 32px 80px rgba(6,36,59,0.18);
}
.emb-modal.is-open .emb-modal-panel {
    transform: translateY(0) scale(1);
}

.emb-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--azul);
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 4px 8px;
}
.emb-modal-close:hover { opacity: 1; }

.emb-modal-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: center;
}

.emb-modal-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.emb-modal-left .embajador-photo-wrap { margin-bottom: 18px; }
.emb-modal-left .embajador-img        { height: 260px; max-width: 220px; filter: grayscale(0%); }

.emb-modal-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.emb-exp { margin: 0; line-height: 1.2; }
#emb-exp-num {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--amarillo-dark);
}
#emb-exp-text {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--azul);
}

.emb-keywords {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--amarillo-dark);
    letter-spacing: 0.04em;
    margin: 0;
}

.emb-bio {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--azul);
    line-height: 1.8;
    margin: 0;
    opacity: 0.85;
}

.emb-quote {
    border-left: 3px solid var(--amarillo);
    padding-left: 20px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-style: italic;
    color: var(--azul);
    line-height: 1.7;
    opacity: 0.75;
}

@media (max-width: 680px) {
    .emb-modal-body                       { grid-template-columns: 1fr; gap: 32px; }
    .emb-modal-panel                      { padding: 48px 24px 40px; }
    .emb-modal-left                       { flex-direction: row; gap: 20px; align-items: flex-end; }
    .emb-modal-left .embajador-img        { height: 160px; max-width: 140px; }
    .emb-modal-left .embajador-photo-wrap { margin-bottom: 0; }
    #emb-exp-num, #emb-exp-text           { font-size: 1.2rem; }
}

@media (max-width: 640px) {
    .talento-equipo-section { padding: 72px 0; }
    .talento-inner          { padding: 0 20px; }
}


/* ══════════════════════════════════════════════════════════════
   NUESTRO TALENTO — Hero
══════════════════════════════════════════════════════════════ */

.hero-v2-title {
    font-size: clamp(32px, 5vw, 68px);
}


/* ══════════════════════════════════════════════════════════════
   NUESTRO TALENTO — Acreditaciones
══════════════════════════════════════════════════════════════ */

.acreditaciones-section {
    background: var(--azul);
    padding: 104px 0;
}

.acreditaciones-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.acreditaciones-section .section-header h2 {
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.acreditaciones-section .section-label {
    color: var(--amarillo);
}

.acreditaciones-section .section-header p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
}

.acred-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 56px;
}

.acred-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px 24px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    transition: background 0.35s, border-color 0.35s, transform 0.35s;
}

.acred-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(227, 156, 0, 0.35);
    transform: translateY(-8px);
}

.acred-card--highlight {
    background: rgba(227, 156, 0, 0.07);
    border-color: rgba(227, 156, 0, 0.25);
}

.acred-card--highlight:hover {
    background: rgba(227, 156, 0, 0.12);
    border-color: var(--amarillo);
}

.acred-icon-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(227, 156, 0, 0.1);
    border: 2px solid rgba(227, 156, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.35s, border-color 0.35s, transform 0.5s;
    flex-shrink: 0;
}

.acred-card:hover .acred-icon-wrap {
    background: rgba(227, 156, 0, 0.18);
    border-color: var(--amarillo);
    transform: scale(1.1) rotate(-6deg);
}

.acred-card--highlight .acred-icon-wrap {
    background: rgba(227, 156, 0, 0.18);
    border-color: rgba(227, 156, 0, 0.45);
    animation: acred-pulse 3s ease-in-out infinite;
}

@keyframes acred-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227, 156, 0, 0); }
    50%       { box-shadow: 0 0 0 10px rgba(227, 156, 0, 0.12); }
}

.acred-icon {
    font-size: 2.4rem;
    color: var(--amarillo);
}

.acred-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}

.acred-card--highlight .acred-title {
    color: var(--amarillo);
}

.acred-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 1024px) {
    .acred-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 640px) {
    .acreditaciones-section                { padding: 72px 0; }
    .acreditaciones-section .section-inner { padding: 0 20px; }
    .acred-grid                            { grid-template-columns: repeat(2, 1fr); }
    .acred-card                            { padding: 28px 16px 24px; }
    .acred-icon-wrap                       { width: 72px; height: 72px; }
    .acred-icon                            { font-size: 1.9rem; }
}


/* ══════════════════════════════ HOME-V2 ══════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   HOME V2 — Paramita Premium Insurance Broker
   Estilos exclusivos de index.php v2. No reemplaza styles.css.
───────────────────────────────────────────────────────────── */

/* ─── HERO V2 ─── */

.hero-v2 {
    position: relative;
    height: 100vh;
    min-height: 660px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-v2-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-v2-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-v2-slide.is-active {
    opacity: 1;
}

.hero-v2-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.hero-v2-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        108deg,
        rgba(6, 36, 59, 0.90) 0%,
        rgba(6, 36, 59, 0.58) 52%,
        rgba(6, 36, 59, 0.18) 100%
    );
}

.hero-v2-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 80px;
}

.hero-v2-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-v2-badge {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 28px;
}

.hero-v2-title {
    font-family: 'YoungestSerif', serif;
    font-weight: 400;
    font-size: clamp(46px, 7.5vw, 100px);
    line-height: 1.0;
    color: #ffffff;
    max-width: 800px;
    margin: 0 0 36px 0;
    letter-spacing: -0.02em;
}

.hero-v2-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.92rem, 1.35vw, 1.08rem);
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.80);
    max-width: 560px;
    margin: 0 0 44px 0;
}

.hero-v2-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-v2-btns .btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.hero-v2-btns .btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.hero-v2-dots {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-v2-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.hero-v2-dot.is-active {
    width: 28px;
    background: var(--amarillo);
    border-color: var(--amarillo);
}


/* ─── NUESTRO ADN ─── */

.adn-section { background: var(--azul); padding: 112px 0; overflow: hidden; }
.adn-container {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 40px;
}
.adn-col-timeline { flex: 1; min-width: 0; }
.adn-col-text { flex: 0 0 480px; text-align: left; }
.adn-label {
  font-family: 'NotoBalinese', serif;
  font-size: 1.05rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amarillo);
  display: block; margin-bottom: 20px;
}
.adn-heading {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: #ffffff; line-height: 1.14; margin-bottom: 0;
}
.adn-timeline { position: relative; display: flex; flex-direction: column; align-items: center; }
.adn-watermark {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url('../../img/home/bg-nuestro-adn-paramita-seguros.webp');
  background-size: contain; background-position: center;
  background-repeat: no-repeat; opacity: 0.18;
}
.adn-line {
  width: 4px; height: 52px; background: var(--amarillo);
  opacity: 0.5; flex-shrink: 0; z-index: 1; border-radius: 2px;
}
.adn-node {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
  width: 100%; min-height: 80px;
}
.adn-dot {
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--azul-mid);
  border: 2px solid rgba(255,255,255,0.55);
  position: relative; z-index: 2;
  transition: width 0.35s ease, height 0.35s ease;
}
.adn-dot--trigger {
  cursor: pointer;
  background: var(--amarillo);
  animation: adnPulseTrigger 1.5s ease-in-out infinite;
}
.adn-dot--trigger::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid var(--amarillo);
  animation: adnRingTrigger 1.5s ease-in-out infinite;
}

.adn-reveal {
  position: absolute;
  left: calc(50% + 26px);
  top: 50%; transform: translateY(-50%);
  display: flex; align-items: center;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(-16px 100% -16px 0px);
  transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
              opacity 0.2s ease 0s;
}
.adn-node.revealed .adn-reveal {
  opacity: 1;
  clip-path: inset(-16px -240px -16px 0px);
  pointer-events: auto;
}

.adn-reveal-head { display: flex; align-items: center; }
.adn-dash {
  flex-shrink: 0;
  width: 80px; height: 0;
  border-top: 2px dashed rgba(227,156,0,0.6);
}
.adn-end-dot {
  flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amarillo);
  margin: 0 14px 0 0;
}
.adn-text-block {
  display: flex; flex-direction: column; gap: 3px;
  width: 185px; text-align: left;
}
.adn-text-title {
  display: block;
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 1.35rem; color: #ffffff;
  text-transform: uppercase; letter-spacing: 0.04em;
  white-space: nowrap;
}
.adn-text-title--accent { color: var(--amarillo); }
.adn-text-desc {
  display: block;
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

.adn-node.revealed .adn-dot { width: 14px; height: 14px; animation: none; }
.adn-node.revealed .adn-dot:not(.adn-dot--trigger) { pointer-events: none; }
.adn-node.revealed .adn-dot::after { display: none; }
.adn-node[data-idx="0"].revealed .adn-dot { background: var(--amarillo); border-color: rgba(255,255,255,0.55); }
.adn-node[data-idx="1"].revealed .adn-dot,
.adn-node[data-idx="2"].revealed .adn-dot,
.adn-node[data-idx="3"].revealed .adn-dot { background: var(--azul-mid); border-color: rgba(255,255,255,0.55); }

.adn-discover-hint {
  margin-top: 22px; text-align: center;
  color: var(--amarillo); opacity: 0.55;
  font-family: 'Inter', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: opacity 0.4s ease; user-select: none;
}
.adn-discover-hint i { display: inline-block; animation: adnHintFloat 1.5s ease-in-out infinite; }
.adn-discover-hint.hidden { opacity: 0; pointer-events: none; }

@keyframes adnPulseTrigger {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227,156,0,0.7); }
  50%       { box-shadow: 0 0 0 22px rgba(227,156,0,0); }
}
@keyframes adnRingTrigger {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes adnHintFloat {
  0%, 100% { transform: translateY(-2px); }
  50%       { transform: translateY(3px); }
}


/* ─── PARA QUIÉN EXISTIMOS ─── */

.para-quien-section {
    background: var(--beige);
    padding: 100px 0 0;
    overflow: hidden;
}

.para-quien-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 64px;
}

.para-quien-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray);
    display: block;
    margin-bottom: 18px;
}

.para-quien-header h2 {
    color: var(--azul);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    margin-bottom: 12px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.15;
}

.para-quien-header > p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

.para-quien-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 580px;
}

.pq-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 56px 52px;
    text-decoration: none;
}

.pq-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease, filter 0.5s ease;
}

.pq-card:hover .pq-card-bg {
    transform: scale(1.05);
}

.para-quien-split:hover .pq-card:not(:hover) .pq-card-bg {
    filter: grayscale(1);
}

.pq-card-overlay {
    position: absolute;
    inset: 0;
    transition: opacity 0.4s;
}

.pq-card--empresas .pq-card-overlay {
    background: linear-gradient(
        to top,
        rgba(6, 36, 59, 0.96) 0%,
        rgba(6, 36, 59, 0.62) 45%,
        rgba(6, 36, 59, 0.18) 100%
    );
}

.pq-card--personas .pq-card-overlay {
    background: linear-gradient(
        to top,
        rgba(75, 38, 0, 0.94) 0%,
        rgba(100, 52, 5, 0.55) 45%,
        rgba(244, 243, 238, 0.05) 100%
    );
}

.pq-card-content {
    position: relative;
    z-index: 2;
}

.pq-card-tag {
    font-family: 'NotoBalinese', serif;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 14px;
}

.pq-card-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 3vw, 3.2rem);
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.05;
}

.pq-card-specs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
}

.pq-card-spec {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 300;
}

.pq-card-spec strong {
    color: var(--amarillo);
    font-weight: 600;
}

.pq-card-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.76);
    max-width: 360px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease 0.08s, transform 0.4s ease 0.08s;
}

.pq-card:hover .pq-card-desc {
    opacity: 1;
    transform: translateY(0);
}

.pq-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(227, 156, 0, 0.45);
    transition: gap 0.3s ease, border-color 0.3s ease;
}

.pq-card:hover .pq-card-cta {
    gap: 18px;
    border-color: var(--amarillo);
}

.pq-card-cta i {
    font-size: 0.7rem;
}


/* ─── ¿POR QUÉ UN BROKER? ─── */

.broker-section {
    background: var(--negro);
    padding: 104px 0;
    overflow: hidden;
}

.broker-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.broker-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 28px;
}

.broker-title {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.broker-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}

.broker-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
}

.broker-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.broker-img-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.broker-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.broker-video-placeholder i {
    font-size: 3rem;
    color: rgba(227, 156, 0, 0.38);
}


/* ─── ALIADOS V2 ─── */

.aliados-v2 {
    background: var(--beige);
    padding: 88px 0 80px;
}

.aliados-v2-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 48px;
}

.aliados-v2-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray);
    display: block;
    margin-bottom: 16px;
}

.aliados-v2-title {
    color: var(--azul);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    margin: 0;
    line-height: 1.2;
}


/* ─── CTA FINAL ─── */

.cta-final-section {
    background: var(--azul);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(227, 156, 0, 0.07) 0%, transparent 68%);
    pointer-events: none;
}

.cta-final-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-final-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 20px;
}

.cta-final-title {
    font-family: 'YoungestSerif', serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    color: #ffffff;
    margin-bottom: 56px;
    letter-spacing: -0.015em;
    line-height: 1.05;
}

.cta-final-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-final-btns .btn-primary {
    padding: 16px 44px;
    font-size: 0.9rem;
}

.cta-btn-ghost {
    display: inline-block;
    padding: 15px 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.cta-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}


/* ─── ENCUÉNTRANOS ─── */

.enc-section {
    position: relative;
    height: 72vh;
    max-height: 700px;
    min-height: 540px;
    overflow: hidden;
}

/* Imagen ocupa todo el fondo de la sección */
.enc-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

/* Oscurecimiento sobre la imagen */
.enc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 36, 59, 0.60);
    z-index: 1;
}

/* Grid de contenido encima del fondo */
.enc-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 64px 56px;
    gap: 0;
    align-items: stretch;
}

/* — Izquierda: datos de contacto — */
.enc-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    height: 100%;
    color: #fff;
}

.enc-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 16px;
}

.enc-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 2.8vw, 3rem);
    color: #ffffff;
    line-height: 1.1;
}

.enc-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.enc-details a,
.enc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    transition: color 0.2s;
}

.enc-details a:hover { color: var(--amarillo); }

.enc-details i,
.enc-item i {
    color: var(--amarillo);
    width: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

.enc-social {
    display: flex;
    gap: 10px;
}

.enc-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.enc-social a:hover {
    border-color: var(--amarillo);
    color: var(--amarillo);
    background: rgba(227, 156, 0, 0.1);
}

/* — Derecha: mapa flotando sobre el fondo — */
.enc-right {
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.enc-right iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}


/* ─── RESPONSIVE ─── */

@media (max-width: 1000px) {
    .adn-container { flex-direction: column; gap: 20px; padding: 0 24px; }
    .adn-col-text { flex: none; width: 100%; text-align: center; }
    .adn-col-timeline { flex: none; width: 100%; }
}

@media (max-width: 960px) {
    .para-quien-split {
        grid-template-columns: 1fr;
        height: auto;
    }

    .pq-card {
        height: 440px;
        padding: 40px 36px;
    }

    .pq-card-desc {
        opacity: 1;
        transform: translateY(0);
    }

    .broker-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .broker-video-col {
        order: -1;
    }

    .enc-section {
        height: auto;
        max-height: none;
        min-height: 0;
    }

    .enc-content {
        position: relative;
        grid-template-columns: 1fr;
        padding: 56px 32px;
        gap: 0;
    }

    .enc-left {
        height: auto;
        padding: 56px 32px;
    }

    .enc-right {
        height: 340px;
    }
}

@media (max-width: 640px) {
    .hero-v2-inner {
        padding: 0 24px;
    }

    .adn-section { padding: 64px 0; }
    .adn-container { padding: 0 24px; }
    .adn-node { flex-direction: column; min-height: auto; }
    .adn-node.revealed .adn-dot { width: 14px; height: 14px; }
    .adn-reveal {
        position: static; transform: none;
        clip-path: none; opacity: 1;
        max-height: 0; overflow: hidden;
        transition: max-height 0.5s ease;
        flex-direction: column; align-items: center;
    }
    .adn-node.revealed .adn-reveal { max-height: 140px; clip-path: none; }
    .adn-reveal-head { flex-direction: column; align-items: center; gap: 0; }
    .adn-dash { width: 0; border-top: none; height: 28px; border-left: 2px dashed rgba(227,156,0,0.6); }
    .adn-end-dot { margin: 4px 0 8px; }
    .adn-text-block { align-items: center; width: auto; text-align: center; }
    .adn-text-title { font-size: 1.1rem; }
    .adn-text-desc { max-width: 240px; font-size: 0.83rem; }

    .broker-inner {
        padding: 0 24px;
    }

    .para-quien-header {
        padding: 0 24px 48px;
    }

    .pq-card {
        padding: 32px 24px;
    }

    .aliados-v2-header {
        padding: 0 24px 40px;
    }

    .enc-info {
        padding: 44px 32px;
    }

    .cta-final-inner {
        padding: 0 24px;
    }

    .cta-final-btns {
        flex-direction: column;
        align-items: center;
    }

    .cta-final-btns .btn-primary,
    .cta-btn-ghost {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}


/* ══════════════════════════════ EMPRESAS ══════════════════════════════ */

/* ══════════════════════════════════════════════
   EMPRESAS.CSS — Estilos exclusivos de empresas.php
   ══════════════════════════════════════════════ */

/* ─── HERO ───────────────────────────────────── */
.hero--empresas .hero-bg-img--empresas {
  object-position: center 30%;
  opacity: 0.22;
}

/* ─── OFERTA DE VALOR ────────────────────────── */
.oferta-section {
  background: var(--azul);
  padding: 100px 0;
}

.oferta-section .section-label { color: var(--amarillo); }

.oferta-section .section-header h2 {
  color: var(--white);
  max-width: 600px;
  margin: 0 auto;
}
.oferta-section .section-header h2 em {
  font-style: normal;
  color: var(--amarillo);
}

/* Centrado genérico para section-header dentro de empresas */
.section-header--centered {
  text-align: center;
}

/* Slider */
.slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  margin-top: 48px;
}

.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slider-slide {
  min-width: 100%;
  padding: 56px 60px;
}

.slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Columna izquierda: imagen arriba + texto abajo */
.slide-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Imagen del slide */
.slide-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--azul-mid) 0%, rgba(13,58,92,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.08);
}

.slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.slide-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: rgba(227,156,0,0.25);
  pointer-events: none;
}

.slide-num {
  display: block;
  font-family: 'YoungestSerif', serif;
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--amarillo);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.slide-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.slide-sub {
  font-size: 15px;
  color: var(--amarillo);
  font-family: 'NotoBalinese', Georgia, serif;
  font-style: italic;
  margin-bottom: 20px;
  display: block;
}

.slide-body {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  font-family: 'Inter', sans-serif;
}

/* Tags */
.slide-tags {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.slide-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  transition: background .25s, border-color .25s;
}
.slide-tag:hover {
  background: rgba(227,156,0,0.10);
  border-color: rgba(227,156,0,0.30);
}
.slide-tag i {
  color: var(--amarillo);
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Testimonials in slide 2 */
.slide-testimonials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.slide-quote {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--amarillo);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
}
.slide-quote i {
  color: var(--amarillo);
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}
.slide-quote p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-family: 'NotoBalinese', Georgia, serif;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 10px;
}
.slide-quote span {
  font-size: 12px;
  color: var(--amarillo);
  font-family: 'NotoBalinese', Georgia, serif;
  letter-spacing: .05em;
}

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 0 32px;
}

.slider-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background .25s, border-color .25s, transform .2s;
}
.slider-btn:hover {
  background: rgba(227,156,0,0.15);
  border-color: var(--amarillo);
  transform: scale(1.08);
}

.slider-dots { display: flex; gap: 8px; }

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}
.slider-dot--active {
  background: var(--amarillo);
  transform: scale(1.35);
}

/* ─── DIFERENCIADORES ────────────────────────── */
.diferenciadores-section {
  background: var(--beige);
  padding: 100px 0;
}

.diferenciadores-section .section-header h2 { color: var(--azul); }
.diferenciadores-section .section-header p {
  color: var(--gray);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  margin-top: 12px;
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.evento-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(6,36,59,0.07);
  transition: transform .3s, box-shadow .3s;
}
.evento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(6,36,59,0.10);
}

.evento-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--azul-mid) 0%, var(--azul) 100%);
  overflow: hidden;
}

.evento-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.evento-card:hover .evento-img { transform: scale(1.05); }

.evento-placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(227,156,0,0.30);
}
.evento-img-wrap:not(.evento-img--placeholder) .evento-placeholder-icon { display: none; }
.evento-img--placeholder .evento-placeholder-icon { display: flex; }

.evento-label {
  padding: 14px 18px 16px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--azul);
}

.ponentes-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-light);
  flex-wrap: wrap;
}
.ponentes-label {
  font-size: 13px;
  color: var(--gray);
  font-family: 'NotoBalinese', Georgia, serif;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ponente-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--azul);
}
.ponentes-sep { color: var(--gray-light); font-size: 18px; }

/* ─── PAIN POINTS (FLIP CARDS) ───────────────── */
.painpoints-section {
  background: var(--white);
  padding: 100px 0;
}

.painpoints-section .section-header h2 {
  color: var(--azul);
  max-width: 680px;
  margin: 0 auto;
}
.painpoints-section .section-header p {
  color: var(--gray);
  font-size: 15px;
  font-family: 'NotoBalinese', Georgia, serif;
  margin-top: 12px;
  font-style: italic;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.flip-card {
  perspective: 1000px;
  height: 240px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flip-card--flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Frente */
.flip-front {
  background: var(--beige);
  border: 1px solid rgba(6,36,59,0.08);
}

.flip-icon {
  font-size: 28px;
  color: var(--amarillo-dark);
  margin-bottom: 16px;
}

.flip-problem {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--azul);
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex: 1;
}

.flip-hint {
  font-size: 11px;
  color: var(--gray);
  font-family: 'NotoBalinese', Georgia, serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Reverso */
.flip-back {
  background: var(--azul);
  border: 1px solid rgba(227,156,0,0.20);
  transform: rotateY(180deg);
  justify-content: flex-start;
  gap: 16px;
}

.flip-back-icon {
  font-size: 22px;
  color: var(--amarillo);
}

.flip-solution {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

/* ─── CONVERSEMOS ────────────────────────────── */
.btn-primary--large {
  padding: 18px 36px !important;
  font-size: 15px !important;
  white-space: nowrap;
}

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

/* ─── FAQ ────────────────────────────────────── */
.faq-section {
  background: var(--beige);
  padding: 100px 0;
}

.faq-section .section-header h2 { color: var(--azul); }

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(6,36,59,0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(6,36,59,0.06);
  background: var(--white);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--azul);
  letter-spacing: -0.01em;
  transition: background .2s;
}
.faq-question:hover { background: rgba(6,36,59,0.025); }
.faq-question[aria-expanded="true"] { background: rgba(227,156,0,0.06); }

.faq-chevron {
  font-size: 13px;
  color: var(--amarillo-dark);
  transition: transform .35s ease;
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer p {
  padding: 0 28px 24px;
  font-size: 14.5px;
  color: var(--gray);
  font-family: 'Inter', sans-serif;
  line-height: 1.75;
}

/* ─── CONTACTO EMPRESAS ──────────────────────── */
.contact--empresas .section-header h2 {
  max-width: 560px;
  margin: 0 auto;
}
.contact--empresas .section-header h2 em {
  font-style: italic;
  color: var(--amarillo-dark);
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1100px) {
  .slide-content { gap: 40px; }
  .slide-slide { padding: 48px 44px; }
  .eventos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .slider-slide { padding: 40px 28px; }
  .slide-content { grid-template-columns: 1fr; gap: 32px; }
  .slide-left { gap: 20px; }
  .slide-title { font-size: 26px; }
  .flip-card { height: 200px; }
  .flip-problem { font-size: 16px; }
  .flip-solution { font-size: 13px; }
  .faq-question { font-size: 15px; padding: 20px 20px; }
  .faq-answer p { padding: 0 20px 20px; }
}

@media (max-width: 600px) {
  .flip-grid { grid-template-columns: 1fr; }
  .flip-card { height: auto; min-height: 190px; }
  .eventos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .eventos-grid { grid-template-columns: 1fr; }
  .slide-title { font-size: 22px; }
}


/* ══════════════════════════════ EMPRESAS-V2 ══════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   EMPRESAS V2 — Paramita Premium Insurance Broker
   Estilos exclusivos de empresas.php v2. No reemplaza empresas.css.
───────────────────────────────────────────────────────────── */


/* ─── HERO: title override para empresas ─── */

.hero-v2-title {
    font-size: clamp(42px, 5.2vw, 72px);
    max-width: 1000px;
}

/* ─── FAQ: section-label override ─── */

.faq-section .section-label {
    font-size: 1.05rem;
}

/* ─── SEPARADOR: ¿Qué sigue? → FAQ ─── */

.que-sigue-section {
    padding-bottom: 128px;
}

.faq-section {
    border-top: 2px solid var(--azul);
    padding-top: 112px;
}

/* Selector del FAQ (vinculado a qs-tabs) */
.faq-selector {
    display: inline-flex;
    background: rgba(6, 36, 59, 0.08);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 40px;
}

.faq-stab {
    padding: 11px 26px;
    background: none;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    letter-spacing: 0.02em;
}

.faq-stab:hover {
    color: var(--azul);
}

.faq-stab.is-active {
    background: var(--azul);
    color: #ffffff;
}

.faq-stab:nth-child(2).is-active {
    background: var(--amarillo);
    color: var(--negro);
}

/* Paneles del FAQ */
.faq-panel {
    display: none;
}

.faq-panel.is-active {
    display: block;
    animation: panelFadeIn 0.3s ease;
}

/* ─── PAIN POINTS ─── */

.pain-section {
    background: var(--azul);
    padding: 104px 0;
    overflow: hidden;
}

.pain-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.pain-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

.pain-title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    color: #ffffff;
    margin-bottom: 0;
    max-width: 100%;
    line-height: 1.15;
    text-align: center;
}

.pain-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
    align-items: start;
}

/* ── Tarjeta: flip completo al hacer hover ── */
.pcv-card {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    height: 580px;
    perspective: 900px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.pcv-card:hover {
    border-color: rgba(227, 156, 0, 0.25);
}

.pcv-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
}

.pcv-card.is-flipped .pcv-inner {
    transform: rotateY(180deg);
}

/* ── Cara frontal ── */
.pcv-front,
.pcv-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.pcv-front {
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 44px 36px 36px;
    gap: 36px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* ── Cara trasera ── */
.pcv-back {
    background: var(--azul);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

/* ── Video en el reverso ── */
.pcv-video-wrap {
    position: relative;
    flex: 0 0 320px;
    background: #000;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.pcv-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.pcv-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

/* ── Controles de video ── */
.pcv-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.pcv-video-wrap:hover .pcv-controls { opacity: 1; }

.pcv-btn-play,
.pcv-btn-vol {
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    font-size: 0.88rem;
    padding: 4px 5px;
    line-height: 1;
    transition: color 0.15s;
    flex-shrink: 0;
}
.pcv-btn-play:hover,
.pcv-btn-vol:hover { color: var(--amarillo); }

.pcv-vol-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pcv-vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 64px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    transition: background 0.15s;
}
.pcv-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--amarillo);
    cursor: pointer;
}
.pcv-vol-slider::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--amarillo);
    border: none;
    cursor: pointer;
}

.pcv-back-content {
    flex: 1;
    padding: 22px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
}

/* ── Textos ── */
.pcv-pain {
    font-family: 'YoungestSerif', serif;
    font-style: italic;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    text-align: center;
    margin: 0;
}

.pcv-flip-hint {
    font-family: 'NotoBalinese', serif;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.25s ease;
}

.pcv-card:hover .pcv-flip-hint {
    color: rgba(255, 255, 255, 0.55);
}

.pcv-flip-hint i {
    font-size: 0.58rem;
    color: var(--amarillo);
    opacity: 0.8;
}

.pcv-statement {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--amarillo);
    line-height: 1.45;
    margin: 0;
}

.pcv-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin: 0;
}


/* ─── PROMESA DE MARCA (MONTAÑA INTERACTIVA) ─── */

.promesa-section {
    background: var(--beige);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 64px;
    overflow: hidden;
    position: relative;
}

.promesa-section .promesa-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Stage: dos columnas */
.promesa-stage {
    flex: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 44fr 56fr;
    min-height: 600px;
}

/* ── Panel izquierdo ── */
.promesa-left {
    position: relative;
    overflow: hidden;
}

.promesa-intro,
.promesa-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.promesa-intro.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.promesa-card {
    background: var(--azul);
    border-radius: 0 32px 32px 0;
    transform: translateY(14px);
}

.promesa-card.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 10;
}

/* Headline intro */
.promesa-headline {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    color: var(--azul);
    line-height: 1.15;
    margin: 0;
    white-space: nowrap;
}
.promesa-headline em {
    font-style: normal;
    color: var(--amarillo);
}

/* Card contenido */
.promesa-card-num {
    font-family: 'YoungestSerif', serif;
    font-weight: 400;
    font-size: 4rem;
    color: rgba(227,156,0,0.45);
    display: block;
    line-height: 1;
    margin-bottom: 12px;
}

.promesa-card-title {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    color: var(--amarillo);
    line-height: 1.2;
    margin-bottom: 18px;
}

.promesa-card-brief {
    font-family: 'NotoBalinese', serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.promesa-card-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.78;
    margin-bottom: 0;
}

.promesa-close-btn {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}
.promesa-close-btn:hover {
    background: rgba(255,255,255,0.16);
    color: #fff;
}

/* ── Montaña ── */
.promesa-mountain-wrap {
    position: relative;
    overflow: hidden;
}

/* Inner wrapper anclado al borde derecho.
   La imagen define el ancho (height:100% width:auto), así los dots
   quedan siempre posicionados sobre la imagen real sin recortes. */
.promesa-mountain-inner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

/* Fade derecho — enmascara el borde duro de la foto */
.promesa-mountain-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to right, transparent, var(--beige));
    pointer-events: none;
    z-index: 3;
}

.promesa-mountain-img {
    display: block;
    height: 100%;
    width: auto;
    user-select: none;
    pointer-events: none;
}

/* Degradado inferior — funde la montaña con el fondo beige */
.promesa-mountain-inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(to bottom, transparent, var(--beige));
    pointer-events: none;
    z-index: 2;
}

/* Hint "(click)" posicionado cerca del punto 0 */
.promesa-hint {
    position: absolute;
    left: calc(62% + 20px);
    top: calc(16% - 26px);
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: rgba(6,36,59,0.4);
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 4;
}
.promesa-hint.is-hidden { opacity: 0; }

/* ── Puntos interactivos ── */
.promesa-dot {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 5;
}

/* Anillo pulsante */
.dot-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--amarillo);
    opacity: 0;
    animation: dotPulse 2.4s ease-out var(--d, 0s) infinite;
}
.promesa-dot.is-active .dot-pulse { animation: none; }

@keyframes dotPulse {
    0%   { transform: scale(0.85); opacity: 0.65; }
    70%  { transform: scale(2.6);  opacity: 0; }
    100% { transform: scale(0.85); opacity: 0; }
}

/* Núcleo del punto */
.dot-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--azul);
    border: 4px solid var(--amarillo);
    transition: transform 0.2s ease, background 0.2s;
}
.promesa-dot:hover .dot-core,
.promesa-dot.is-active .dot-core {
    background: var(--amarillo);
    transform: scale(1.2);
}

/* Banderita SVG */
.dot-flag {
    position: absolute;
    bottom: calc(100% + 2px);
    left: 6px;
    pointer-events: none;
}

/* Tooltip etiqueta */
.dot-tooltip {
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    transform: translateY(-50%);
    background: var(--azul);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    padding: 5px 13px;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
}
.promesa-dot.tip-left .dot-tooltip {
    left: auto;
    right: calc(100% + 12px);
}
.promesa-dot:hover .dot-tooltip,
.promesa-dot.is-active .dot-tooltip { opacity: 1; }

/* Responsive mobile */
@media (max-width: 768px) {
    .promesa-section {
        padding-top: 48px;
        min-height: auto;
    }
    .promesa-stage {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .promesa-mountain-wrap {
        min-height: 380px;
        order: -1;
    }
    .promesa-mountain-inner { min-height: 380px; }
    .promesa-left {
        min-height: 240px;
    }
    .promesa-intro,
    .promesa-card {
        position: relative;
        inset: auto;
        padding: 40px 32px;
        opacity: 1;
        pointer-events: auto;
    }
    .promesa-intro { display: none; }
    .promesa-card {
        display: none;
        transform: none;
        border-radius: 0;
    }
    .promesa-intro.is-visible { display: flex; }
    .promesa-card.is-visible   { display: flex; }
    .promesa-headline { font-size: 1.75rem; white-space: normal; }
    .dot-tooltip { display: none; }
    .promesa-hint { display: none; }
}


/* ─── CLIENTES + TESTIMONIALES ─── */

.clientes-emp-section {
    background: var(--beige);
    padding: 104px 0 0;
    overflow: hidden;
    border-top: 4px solid var(--amarillo);
}

.clientes-emp-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 64px;
    text-align: center;
}

.clientes-emp-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray);
    display: block;
    margin-bottom: 18px;
}

.clientes-emp-title {
    color: var(--azul);
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.15;
}

/* Logo slider in beige context */
.clientes-emp-section .logos-slider {
    margin-bottom: 0;
}

/* Espacio entre el carrusel de logos y la franja de testimoniales */
.clientes-emp-section .logos-slider + .testimonios-emp-row {
    margin-top: 80px;
}

/* Testimonials grid */
.testimonios-emp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 64px;
    padding-bottom: 0;
    background: var(--azul);
    margin-top: 64px;
}

/* Wrapping div for the dark row */
.testimonios-emp-row {
    background: var(--azul);
    padding: 64px 0 104px;
}

.testimonios-emp-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonio-emp-card {
    display: flex;
    flex-direction: column;
}

.testimonio-emp-quote {
    font-family: 'NotoBalinese', serif;
    font-style: italic;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.65;
    margin-bottom: 16px;
    padding: 0 4px;
}

.testimonio-emp-author {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--amarillo);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.testimonio-emp-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
    flex: 1;
    min-height: 160px;
    border-radius: 12px;
}

.testimonio-emp-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.testimonio-emp-video-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.testimonio-emp-video-ph i {
    font-size: 2.5rem;
    color: rgba(227, 156, 0, 0.35);
    transition: color 0.3s ease, transform 0.3s ease;
}

.testimonio-emp-card:hover .testimonio-emp-video-ph i {
    color: var(--amarillo);
    transform: scale(1.1);
}

.testimonio-emp-video-ph span {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.08em;
}


/* ─── ¿QUÉ SIGUE? ─── */

.que-sigue-section {
    background: var(--beige);
    padding: 104px 0;
    overflow: hidden;
}

.que-sigue-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.que-sigue-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray);
    display: block;
    margin-bottom: 18px;
    text-align: center;
}

.que-sigue-title {
    color: var(--azul);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    margin-bottom: 40px;
    line-height: 1.15;
    text-align: center;
}

/* Selector tabs */
.qs-selector {
    display: inline-flex;
    background: rgba(6, 36, 59, 0.08);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 48px;
}

.qs-tab {
    padding: 12px 28px;
    background: none;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    letter-spacing: 0.02em;
}

.qs-tab:hover {
    color: var(--azul);
}

.qs-tab.is-active {
    background: var(--azul);
    color: #ffffff;
}

.qs-tab:nth-child(2).is-active {
    background: var(--amarillo);
    color: var(--negro);
}

/* Panels */
.qs-panels {
    position: relative;
}

.qs-panel {
    display: none;
}

.qs-panel.is-active {
    display: block;
    animation: panelFadeIn 0.3s ease;
}

.qs-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.qs-panel-lead {
    font-family: 'NotoBalinese', serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo-dark);
    display: block;
    margin-bottom: 10px;
}

.qs-panel-h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--azul);
    margin-bottom: 16px;
    line-height: 1.2;
}

.qs-panel-intro {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* Steps — línea del tiempo */
.qs-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: none;
    margin-bottom: 32px;
    position: relative;
}

/* Línea vertical conectora */
.qs-steps::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 38px;
    bottom: 28px;
    width: 2px;
    background: rgba(6, 36, 59, 0.14);
    border-radius: 2px;
}

.qs-step {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 20px;
    padding: 0 0 28px;
    border-bottom: none;
    align-items: start;
    position: relative;
}

/* Nodo numerado circular */
.qs-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--azul);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    line-height: 1;
}

.qs-step-body {
    padding-top: 8px;
}

.qs-step-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--azul);
    margin-bottom: 4px;
}

.qs-step-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
}

.qs-tagline {
    font-family: 'YoungestSerif', serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    color: var(--azul);
    margin-bottom: 24px;
    line-height: 1.3;
}

/* Path B - visual side */
.qs-panel-visual {
    background: var(--azul);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    border-radius: 16px;
}

.qs-visual-label {
    font-family: 'NotoBalinese', serif;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 20px;
}

.qs-visual-title {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.qs-visual-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
    margin-bottom: 32px;
    flex: 1;
}

.qs-visual-cta {
    display: inline-block;
    padding: 14px 32px;
    background: var(--amarillo);
    color: var(--negro);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.25s ease;
    align-self: flex-start;
    border-radius: 8px;
}

.qs-visual-cta:hover {
    background: var(--amarillo-dark);
}


/* ─── RESPONSIVE ─── */

@media (max-width: 960px) {
    .pain-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .promesa-panel.is-active {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .testimonios-emp-inner {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .qs-panel-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .promesa-tabs {
        gap: 4px;
    }

    .promesa-tab {
        font-size: 0.76rem;
        padding: 8px 12px 12px;
    }
}

@media (max-width: 768px) {
    .pain-inner,
    .promesa-inner,
    .clientes-emp-inner,
    .que-sigue-inner,
    .testimonios-emp-inner {
        padding: 0 24px;
    }

    .promesa-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0;
    }

    .promesa-tabs::-webkit-scrollbar {
        display: none;
    }

    .qs-selector {
        flex-direction: column;
        width: 100%;
    }

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

@media (max-width: 640px) {
    .pain-cards {
        max-width: 100%;
    }
}


/* ══════════════════════════════ PERSONAS-V2 ══════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   PERSONAS V2 — Paramita Premium Insurance Broker
   Estilos exclusivos de personas.php v2. No reemplaza styles.css.
───────────────────────────────────────────────────────────── */


/* ══════════════════════════════════════════
   HERO — overlay amarillo
══════════════════════════════════════════ */

.hero-personas .hero-v2-slide-overlay {
    background: linear-gradient(
        108deg,
        rgba(227, 156, 0, 0.60) 0%,
        rgba(227, 156, 0, 0.32) 52%,
        rgba(227, 156, 0, 0.05) 100%
    );
}

/* ══════════════════════════════════════════
   QUÉ PROTEGEMOS
══════════════════════════════════════════ */

.qp-section {
    background: var(--beige);
    padding: 104px 0;
}

.qp-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.qp-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

.qp-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--azul);
    max-width: 640px;
    line-height: 1.2;
    margin: 0 auto 64px;
    text-align: center;
}

.qp-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.qp-card {
    background: #ffffff;
    border: 1px solid var(--gray-light);
    padding: 40px 28px 36px;
    transition: border-color 0.3s, transform 0.3s;
}

.qp-card:hover {
    border-color: var(--amarillo);
    transform: translateY(-5px);
}

.qp-card-icon {
    font-size: 1.6rem;
    color: var(--amarillo);
    margin-bottom: 24px;
}

.qp-card-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--azul);
    margin: 0 0 12px;
    line-height: 1.3;
}

.qp-card-desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}


/* ══════════════════════════════════════════
   PDM + OFERTA VALOR
══════════════════════════════════════════ */

.pdm-pers-section {
    background: var(--azul);
    padding: 104px 0;
    overflow: hidden;
}

.pdm-pers-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.pdm-pers-header {
    margin-bottom: 72px;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.pdm-pers-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 20px;
}

.pdm-pers-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 20px;
}

.pdm-pers-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    max-width: 680px;
    margin: 0;
}

/* Split layout */
.pdm-pers-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Photo column — derecha */
.pdm-pers-photo-wrap {
    position: sticky;
    top: 100px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    order: 2;
}

/* Tabs column — izquierda */
.pdm-pers-tabs {
    order: 1;
}

.pdm-pers-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.pdm-pers-img.is-active {
    opacity: 1;
}

/* Tabs column */
.pdm-pers-tabs {
    padding-top: 4px;
}

.pdm-tab-item {
    display: grid;
    grid-template-columns: 36px 1fr 20px;
    gap: 0 16px;
    align-items: start;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px 0;
    cursor: pointer;
    transition: border-top-color 0.3s;
}

.pdm-tab-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pdm-tab-item.is-active {
    border-top-color: var(--amarillo);
}

.pdm-tab-num {
    font-family: 'NotoBalinese', serif;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    color: var(--amarillo);
    opacity: 0.7;
    padding-top: 3px;
}

.pdm-tab-item.is-active .pdm-tab-num {
    opacity: 1;
}

.pdm-tab-body {
    display: flex;
    flex-direction: column;
}

.pdm-tab-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    display: block;
    transition: color 0.3s;
}

.pdm-tab-item.is-active .pdm-tab-title {
    color: #ffffff;
}

.pdm-tab-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.pdm-tab-item.is-active .pdm-tab-desc {
    max-height: 300px;
    opacity: 1;
    margin-top: 12px;
}

.pdm-tab-quote {
    border-left: 3px solid var(--amarillo);
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    transition: max-height 0.5s ease 0.1s, opacity 0.4s ease 0.1s, margin-top 0.3s ease;
}

.pdm-tab-item.is-active .pdm-tab-quote {
    max-height: 200px;
    opacity: 1;
    margin-top: 16px;
}

.pdm-tab-arrow {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
    padding-top: 5px;
    transition: color 0.3s, transform 0.3s;
}

.pdm-tab-item.is-active .pdm-tab-arrow {
    color: var(--amarillo);
    transform: rotate(90deg);
}


/* ══════════════════════════════════════════
   TESTIMONIALES
══════════════════════════════════════════ */

.testi-pers-section {
    background: var(--beige);
    padding: 104px 0;
}

.testi-pers-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.testi-pers-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

.testi-pers-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    color: var(--azul);
    max-width: 580px;
    line-height: 1.2;
    margin: 0 auto 56px;
    text-align: center;
}

/* ── Marquee testimonios ── */
.testi-marquee-wrap {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 8px 0 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

@keyframes testiLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


.testi-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: testiLeft 42s linear infinite;
}

.testi-track--slow {
    animation: testiLeft 58s linear infinite;
}

.testi-marquee-wrap:hover .testi-track {
    animation-play-state: paused;
}

.testi-card {
    width: 320px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.3s;
}

.testi-card:hover {
    border-color: var(--amarillo);
}

.testi-card--dark {
    background: var(--azul);
    border-color: rgba(255,255,255,0.08);
}

.testi-card--dark:hover {
    border-color: var(--amarillo);
}

.testi-card-icon {
    font-size: 1.1rem;
    color: var(--amarillo);
}

.testi-card-quote {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--azul);
    line-height: 1.65;
    font-style: italic;
    margin: 0;
}

.testi-card--dark .testi-card-quote {
    color: rgba(255,255,255,0.88);
}

.testi-card-author {
    font-family: 'NotoBalinese', serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amarillo);
}


/* ══════════════════════════════════════════
   CTA SUAVE
══════════════════════════════════════════ */

.cta-pers-section {
    background: var(--negro);
    padding: 104px 0;
    text-align: center;
}

.cta-pers-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.cta-pers-label {
    font-family: 'NotoBalinese', serif;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
}

.cta-pers-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    max-width: 720px;
}

.cta-pers-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'NotoBalinese', serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.cta-pers-sep {
    color: var(--amarillo);
    opacity: 0.4;
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .qp-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pdm-pers-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pdm-pers-photo-wrap {
        position: relative;
        top: 0;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .testi-pers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .qp-section,
    .pdm-pers-section,
    .testi-pers-section,
    .cta-pers-section {
        padding: 72px 0;
    }

    .qp-inner,
    .pdm-pers-inner,
    .testi-pers-inner {
        padding: 0 20px;
    }

    .cta-pers-inner {
        padding: 0 24px;
    }

    .qp-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .qp-title {
        margin-bottom: 40px;
    }

    .pdm-pers-header {
        margin-bottom: 48px;
    }

    .pdm-tab-item {
        grid-template-columns: 32px 1fr 18px;
        gap: 0 12px;
        padding: 22px 0;
    }

    .testi-pers-grid {
        grid-template-columns: 1fr;
    }

    .cta-pers-stats {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta-pers-sep {
        display: none;
    }
}


/* ══════════════════════════════ COMUNIDAD ══════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   COMUNIDAD V2 — Galería de eventos Paramita
───────────────────────────────────────────────────────────── */


/* ══ GALLERY SECTION ══ */

.galeria-section {
    background: var(--beige);
    padding: 104px 0 120px;
}

.galeria-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 40px;
}

.galeria-header {
    text-align: center;
    margin-bottom: 56px;
}

.galeria-header .section-label {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.galeria-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    color: var(--azul);
    margin: 0 0 16px;
}

.galeria-header p {
    font-size: 1rem;
    color: var(--gray);
    max-width: 560px;
    line-height: 1.75;
    margin: 0 auto;
}


/* ── FILTER PILLS ── */

.galeria-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.filter-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 10px 26px;
    border-radius: 100px;
    border: 1.5px solid var(--azul);
    color: var(--azul);
    background: transparent;
    cursor: pointer;
    transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.filter-btn:hover {
    background: var(--azul);
    color: #ffffff;
}

.filter-btn.is-active {
    background: var(--amarillo);
    border-color: var(--amarillo);
    color: var(--azul);
}


/* ── MASONRY GRID ── */

.galeria-grid {
    columns: 3;
    column-gap: 14px;
}

.galeria-item {
    break-inside: avoid;
    margin-bottom: 14px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.galeria-item img {
    width: 100%;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.galeria-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6, 36, 59, 0.82) 0%,
        rgba(6, 36, 59, 0.18) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.32s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 20px 18px;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-item:hover .galeria-item-overlay {
    opacity: 1;
}

.galeria-item-tag {
    font-family: 'NotoBalinese', serif;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amarillo);
    display: block;
}

.galeria-item-expand {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    opacity: 0;
    transition: opacity 0.32s ease, background 0.22s;
}

.galeria-item:hover .galeria-item-expand {
    opacity: 1;
}

.galeria-item-expand:hover {
    background: rgba(255, 255, 255, 0.24);
}

.galeria-item.is-hidden {
    display: none;
}


/* ── LIGHTBOX ── */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 22, 38, 0.96);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.lightbox-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 88vw;
    max-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    transition: opacity 0.2s ease;
}

.lightbox-img.is-loading {
    opacity: 0;
}

.lightbox-close {
    position: absolute;
    top: -52px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px 8px;
    line-height: 1;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.75);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    z-index: 9001;
    font-size: 1rem;
}

.lightbox-arrow--prev { left: 20px; }
.lightbox-arrow--next { right: 20px; }

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.12em;
    z-index: 9001;
    white-space: nowrap;
}


/* ── RESPONSIVE ── */

@media (max-width: 960px) {
    .galeria-grid {
        columns: 2;
        column-gap: 12px;
    }
    .galeria-item {
        margin-bottom: 12px;
    }
    .lightbox-arrow--prev { left: 8px; }
    .lightbox-arrow--next { right: 8px; }
}

@media (max-width: 600px) {
    .galeria-section {
        padding: 72px 0 80px;
    }
    .galeria-inner {
        padding: 0 20px;
    }
    .galeria-grid {
        columns: 1;
    }
    .galeria-filters {
        gap: 8px;
        margin-bottom: 36px;
    }
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.74rem;
    }
    .lightbox-content {
        max-width: 94vw;
    }
    .lightbox-arrow {
        width: 40px;
        height: 40px;
    }
}

/* ─── STATS HERO — Hechos, no palabras ──────────────────────── */
.stats-float {
  background: var(--beige);
  padding: 96px 5%;
  overflow: hidden;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.stats-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: var(--azul);
  line-height: 1.1;
  margin: 0 0 72px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  min-width: 0;
  padding: 0;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  color: var(--azul);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  font-weight: 600;
  color: var(--azul);
  line-height: 1.45;
  opacity: 0.75;
}
.stat-sep {
  width: 2px;
  height: 56px;
  background: var(--amarillo);
  flex-shrink: 0;
  margin: 0 40px;
  transform-origin: top center;
}
.anim-stat-sep        { opacity: 0; transform: scaleY(0); }
.anim-stat-sep.active { opacity: 1; transform: scaleY(1); transition: opacity 0.5s ease, transform 0.5s ease; }

@media (max-width: 900px) {
  .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 32px; justify-items: center; }
  .stat-sep { display: none; }
  .stat-item { padding: 0; text-align: center; }
}
@media (max-width: 600px) {
  .stats-float { padding: 72px 6%; }
  .stats-title { margin-bottom: 48px; }
  .stats-grid { gap: 40px 16px; }
}
