/* ─── 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 {
  --primary:      #0d3a5c;
  --azul:         #06243B;
  --azul-mid:     #0d3a5c;
  --beige:        #F4F3EE;
  --amarillo:     #E39C00;
  --amarillo-dark:#c67e00;
  --rojo:         #C84B31;
  --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 {
  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;
}

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

/* ─── MOBILE MENU ─────────────────────────────────────────── */
.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;
}

/* ─── 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);
}


/* ─────────────────────────────────────────────────────────
   1. 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; 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-title .hero-accent { color: var(--amarillo); display: block; }
.hero-accent-text { color: var(--amarillo); font-weight: 400; }
.hero-v2-desc--nowrap { white-space: nowrap; }
.hero-v2-desc--accent { color: var(--amarillo); font-weight: 400; }
.hero-v2-title--sm { font-size: clamp(32px, 5vw, 68px); }
.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: #fff; background: rgba(255,255,255,0.08); color: #fff;
}


/* ─────────────────────────────────────────────────────────
   2. 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(--primary);
  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;
}

/* Reveal: dashed line + bullet + text, extends to the right */
.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;
}

/* Dot shrinks to a small bullet on reveal */
.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(--primary); border-color: rgba(255,255,255,0.55); }

/* Discover hint */
.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); }
}


/* ─────────────────────────────────────────────────────────
   3. PARA QUIÉN EXISTIMOS
───────────────────────────────────────────────────────── */
.pq-con-section {
  background: var(--azul); padding: 100px 0 0; overflow: hidden; position: relative;
}
.pq-con-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right,
    transparent 5%,
    rgba(227,156,0,0.5) 30%,
    rgba(227,156,0,0.5) 70%,
    transparent 95%
  );
}
.pq-con-section::after {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 64px; height: 64px;
  background: radial-gradient(circle, rgba(227,156,0,0.12) 0%, transparent 70%);
}
.pq-con-header {
  text-align: center; max-width: 1200px; margin: 0 auto; padding: 0 40px 64px;
}
.pq-con-label {
  font-family: 'NotoBalinese', serif;
  font-size: 1.05rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amarillo);
  display: block; margin-bottom: 18px;
}
.pq-con-header h2 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  color: #ffffff; font-size: clamp(1.75rem, 3.5vw, 3rem); margin: 0; line-height: 1.15;
}

.pq-panels { display: grid; grid-template-columns: repeat(4, 1fr); height: 520px; }
.pq-panel {
  position: relative; overflow: hidden; cursor: pointer;
  transition: filter 0.5s ease;
  filter: grayscale(1) brightness(0.55);
}
.pq-panel.is-active { filter: grayscale(0) brightness(1); }
.pq-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; transition: transform 0.7s ease;
}
.pq-panel.is-active img { transform: scale(1.04); }
.pq-panel-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top,
    rgba(6,36,59,0.92) 0%, rgba(6,36,59,0.35) 55%, rgba(6,36,59,0.08) 100%
  );
  transition: background 0.5s ease;
}
.pq-panel.is-active .pq-panel-overlay {
  background: linear-gradient(to top,
    rgba(75,38,0,0.94) 0%, rgba(100,62,0,0.55) 50%, rgba(6,36,59,0.08) 100%
  );
}
.pq-panel-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 28px; z-index: 2;
}
.pq-panel-title {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); display: block; margin-bottom: 10px;
  transition: color 0.4s ease;
}
.pq-panel.is-active .pq-panel-title { color: var(--amarillo); }
.pq-panel-desc {
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 0.88rem; line-height: 1.6;
  color: rgba(255,255,255,0.0);
  transform: translateY(10px);
  transition: color 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
.pq-panel.is-active .pq-panel-desc { color: rgba(255,255,255,0.85); transform: translateY(0); }


/* ─────────────────────────────────────────────────────────
   4. COMPRAR COMO GRANDE
───────────────────────────────────────────────────────── */
.grande-section { background: var(--beige); padding: 140px 0; text-align: center; position: relative; overflow: hidden; }
.grande-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;
  z-index: 0;
}
.grande-inner { position: relative; z-index: 1; }
.grande-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.grande-eyebrow {
  font-family: 'NotoBalinese', serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  color: var(--azul); opacity: 0.65;
  margin-bottom: 52px; display: block; letter-spacing: -0.01em;
}
.grande-lines { margin-bottom: 72px; }
.grande-line {
  display: block; font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 5rem); color: var(--azul); line-height: 1.15;
}
.grande-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.grande-word-inner {
  display: block; color: var(--amarillo);
  transform: translateY(110%);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.grande-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.grande-btn-dark {
  display: inline-block; padding: 15px 44px; border-radius: 56px;
  background: var(--azul); color: #ffffff;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.04em; text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.grande-btn-dark:hover { background: var(--azul-mid); transform: translateY(-2px); }
.grande-btns .btn-primary { border-radius: 56px; padding: 15px 44px; font-size: 0.9rem; }


/* ─────────────────────────────────────────────────────────
   5. ENCUÉNTRANOS
───────────────────────────────────────────────────────── */
.enc-section {
  position: relative; height: 72vh; max-height: 700px; min-height: 540px; overflow: hidden;
}
.enc-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block; z-index: 0;
}
.enc-overlay { position: absolute; inset: 0; background: rgba(6,36,59,0.65); z-index: 1; }
.enc-content {
  position: absolute; inset: 0; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 64px 56px; gap: 0; align-items: stretch;
}
.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);
}
.enc-right { height: 100%; overflow: hidden; }
.enc-right iframe { width: 100%; height: 100%; display: block; border: 0; }


/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
footer { background: #030e18; padding: 64px 5% 32px; color: rgba(255,255,255,0.55); }
.footer-top {
  display: grid; grid-template-columns: 0.7fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand img { height: 180px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-col h4 { font-size: 16px; color: var(--white); margin-bottom: 20px; }
.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-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: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; font-family: 'Inter', sans-serif; }
.footer-bottom-links { display: flex; gap: 16px; }
.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;
}
.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); }


/* ─────────────────────────────────────────────────────────
   FLOATING BUTTONS + 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; }

#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); }

#chat-btn {
  position: fixed; bottom: 88px; right: 24px; z-index: 9998;
  width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid var(--azul); background: var(--azul);
  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); border-color: var(--amarillo); }
#chat-btn.active { border-color: var(--amarillo); box-shadow: 0 0 0 4px rgba(227,156,0,0.30); }

.chat-bubble {
  position: fixed; bottom: 100px; right: 84px; z-index: 9997;
  background: white; color: var(--azul);
  font-size: 13px; font-weight: 600; font-family: 'Inter', 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); }

#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(--amarillo); 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: 'Inter', sans-serif; line-height: 1.2; }
.chat-agent-role { color: rgba(255,255,255,0.65); font-size: 11px; font-family: 'Inter', sans-serif; }
.chat-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; 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(--azul); font-family: 'Inter', 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: 'Inter', sans-serif; outline: none; background: #f8f9fb; color: #999; cursor: not-allowed; }
.chat-panel-footer button { width: 34px; height: 34px; border-radius: 50%; background: var(--azul); color: white; border: none; display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: not-allowed; opacity: 0.5; }


/* ─────────────────────────────────────────────────────────
   ANIMATION SYSTEM
───────────────────────────────────────────────────────── */
[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; }

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

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

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


/* ─────────────────────────────────────────────────────────
   BRANDS STRIP (distribuidores oficiales)
───────────────────────────────────────────────────────── */
.brands-strip {
  background: var(--azul);
  padding: 28px 5% 28px;
  text-align: center;
}
.brands-strip-label {
  font-family: 'NotoBalinese', serif;
  font-size: 1rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  display: block;
}
.brands-logos {
  background: var(--beige);
  padding: 56px 5% 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 8vw, 112px);
  flex-wrap: wrap;
  position: relative;
}
.brands-logos::after {
  content: '';
  position: absolute; bottom: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(6,36,59,0.15) 25%,
    rgba(6,36,59,0.15) 75%,
    transparent 100%
  );
}
.brand-logo {
  height: 115px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px) scale(1.07);
}


/* ─────────────────────────────────────────────────────────
   SOLUCIONES PAGE
───────────────────────────────────────────────────────── */
.sol-section {
  background: var(--beige);
  padding: 100px 5% 96px;
  text-align: center;
}
.sol-eyebrow {
  font-family: 'NotoBalinese', serif;
  font-size: 0.85rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amarillo);
  display: block; margin-bottom: 20px;
}
.sol-heading {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--azul); line-height: 1.15;
  margin-bottom: 64px; letter-spacing: -0.02em;
}
.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 56px;
}
.sol-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 5;
  cursor: pointer;
}
.sol-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.55s ease;
}
.sol-card:hover img { transform: scale(1.05); }
.sol-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(6,36,59,0.92) 0%,
    rgba(6,36,59,0.50) 45%,
    rgba(6,36,59,0.10) 100%
  );
  transition: background 0.4s ease;
}
.sol-card:hover .sol-card-overlay {
  background: linear-gradient(to top,
    rgba(6,36,59,0.96) 0%,
    rgba(6,36,59,0.65) 55%,
    rgba(6,36,59,0.22) 100%
  );
}
.sol-card-content {
  position: absolute; inset: 0;
  padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center;
}
.sol-card-name {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 1.15rem; color: #ffffff;
  text-transform: uppercase; letter-spacing: 0.08em; display: block;
}
.sol-card-link {
  font-family: 'Inter', sans-serif; font-size: 0.825rem;
  color: var(--amarillo); text-decoration: none;
  font-weight: 600; letter-spacing: 0.02em;
  transition: opacity 0.2s, letter-spacing 0.2s;
}
.sol-card-link:hover { opacity: 0.8; letter-spacing: 0.05em; }
.sol-tagline {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--azul); letter-spacing: -0.01em;
  max-width: 700px; margin: 0 auto;
  opacity: 0.7;
}
.sol-delivery-badge {
  display: inline-block;
  margin-bottom: 48px;
}


/* ─────────────────────────────────────────────────────────
   IBMEX PAGE — Hero stamps
───────────────────────────────────────────────────────── */
.ibmex-stamps {
  position: absolute; top: 104px; right: 5%; z-index: 3;
  display: flex; gap: 22px; align-items: center;
}
.ibmex-stamp {
  width: 112px; height: 112px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 0.63rem; letter-spacing: 0.07em;
  text-transform: uppercase; line-height: 1.4; padding: 14px;
  position: relative;
  overflow: visible;
}

/* Anillo exterior giratorio */
.ibmex-stamp::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  opacity: 0.35;
  animation: stampRingSpin 14s linear infinite;
}

/* Anillo interior contra-rotante */
.ibmex-stamp::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px dotted currentColor;
  opacity: 0.2;
  animation: stampRingSpin 9s linear infinite reverse;
}

@keyframes stampRingSpin {
  to { transform: rotate(360deg); }
}

@keyframes stampFloat {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  50%       { transform: translateY(-11px) rotate(-0.5deg); }
}

@keyframes stampFloat2 {
  0%, 100% { transform: translateY(-7px) rotate(-0.5deg); }
  50%       { transform: translateY(4px) rotate(0.5deg); }
}

@keyframes stampGoldGlow {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(227,156,0,0.5),
                0 0  0  0   rgba(227,156,0,0);
  }
  50% {
    box-shadow: 0 10px 40px rgba(227,156,0,0.85),
                0 0  36px 10px rgba(227,156,0,0.22);
  }
}

.ibmex-stamp--dark {
  background: var(--azul);
  border: 2px solid rgba(255,255,255,0.28);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45),
              inset 0 1px 0 rgba(255,255,255,0.12);
  animation: stampFloat 5.5s ease-in-out infinite;
}

.ibmex-stamp--gold {
  background: linear-gradient(135deg, #f5b800 0%, var(--amarillo) 50%, #c87d00 100%);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.35);
  animation: stampFloat2 5.5s ease-in-out infinite,
             stampGoldGlow 3s ease-in-out infinite;
}
.hero-text-accent { color: var(--amarillo); font-weight: 700; }


/* ─────────────────────────────────────────────────────────
   IBMEX PAGE — Experiencia (acred-style cards)
───────────────────────────────────────────────────────── */
.ibmex-exp-section { background: var(--azul); padding: 100px 0; }
.ibmex-exp-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px; text-align: center;
}
.ibmex-exp-inner h2 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  color: #ffffff; line-height: 1.2; margin-bottom: 64px;
}
.ibmex-exp-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.ibmex-exp-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 40px 20px 36px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 18px;
  transition: background .35s, border-color .35s, transform .35s;
}
.ibmex-exp-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(227,156,0,0.35);
  transform: translateY(-8px);
}
.ibmex-exp-card--highlight {
  background: rgba(227,156,0,0.07);
  border-color: rgba(227,156,0,0.25);
}
.ibmex-exp-card--highlight:hover {
  background: rgba(227,156,0,0.12);
  border-color: var(--amarillo);
}
.ibmex-exp-icon-wrap {
  width: 84px; height: 84px; 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 .35s, border-color .35s, transform .5s;
  flex-shrink: 0;
}
.ibmex-exp-card:hover .ibmex-exp-icon-wrap {
  background: rgba(227,156,0,0.18);
  border-color: var(--amarillo);
  transform: scale(1.1) rotate(-6deg);
}
.ibmex-exp-card--highlight .ibmex-exp-icon-wrap {
  background: rgba(227,156,0,0.18);
  border-color: rgba(227,156,0,0.45);
  animation: ibmex-pulse 3s ease-in-out infinite;
}
@keyframes ibmex-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); }
}
.ibmex-exp-icon { font-size: 2.2rem; color: var(--amarillo); }
.ibmex-exp-title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 0.95rem; color: #ffffff; margin: 0; line-height: 1.25;
}
.ibmex-exp-card--highlight .ibmex-exp-title { color: var(--amarillo); }
.ibmex-exp-desc {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  line-height: 1.65; margin: 0; font-family: 'Inter', sans-serif;
}


/* ─────────────────────────────────────────────────────────
   IBMEX PAGE — Catálogo
───────────────────────────────────────────────────────── */
.ibmex-cat-section { background: var(--beige); }
.ibmex-cat-header {
  padding: 72px 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
/* Contrapeso invisible para mantener el título perfectamente centrado */
.ibmex-cat-header:has(.urrea-cat-logos)::before {
  content: '';
  display: block;
  width: 260px;
  flex-shrink: 0;
  order: -1;
}
.ibmex-cat-header-text { text-align: center; }
.urrea-cat-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.urrea-cat-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid var(--amarillo);
}

/* ── Sello giratorio entrega ── */
.ibmex-delivery-badge {
  position: relative;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}
.ibmex-delivery-svg {
  width: 100%; height: 100%;
  animation: badge-spin 9s linear infinite;
  display: block;
}
@keyframes badge-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.ibmex-delivery-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.ibmex-delivery-icon {
  font-size: 1rem;
  color: var(--amarillo-dark);
  margin-bottom: 2px;
}
.ibmex-delivery-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--azul);
  line-height: 1;
  letter-spacing: -0.03em;
}
.ibmex-delivery-sub {
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--azul);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Mini ticker (after cat-header) ── */
.ibmex-mini-band {
  background: var(--amarillo);
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ibmex-mini-band:hover .ibmex-mini-track { animation-play-state: paused; }
.ibmex-mini-track {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  flex-shrink: 0;
  animation: ibmex-mini-scroll 22s linear infinite;
}
@keyframes ibmex-mini-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}
.ibmex-mini-item {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ibmex-mini-sep {
  color: rgba(255,255,255,0.5);
  font-size: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ibmex-cat-header     { flex-direction: column; gap: 32px; padding: 56px 5%; }
  .ibmex-delivery-badge { width: 100px; height: 100px; }
  .ibmex-delivery-num   { font-size: 1.1rem; }
  .ibmex-cat-header:has(.urrea-cat-logos)::before { display: none; }
  .urrea-cat-logo-circle { width: 88px; height: 88px; }
}
.ibmex-cat-header h2 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--azul); letter-spacing: -0.02em;
}
.ibmex-cat-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 520px; }

/* ── Sidebar shell ── */
.ibmex-cat-sidebar {
  background: var(--azul);
  padding: 32px 20px;
  display: flex; flex-direction: column; gap: 6px;
}

/* Header: título + limpiar */
.ibmex-filter-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.ibmex-filter-title {
  font-family: 'NotoBalinese', serif;
  font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--amarillo); font-weight: 400;
}
.ibmex-filter-clear {
  font-family: 'Inter', sans-serif; font-size: 0.72rem;
  color: rgba(255,255,255,0.35); background: none; border: none;
  cursor: pointer; padding: 0; transition: color 0.2s;
  letter-spacing: 0.04em;
}
.ibmex-filter-clear:hover { color: rgba(255,255,255,0.75); }

/* Best Sellers toggle */
.ibmex-bs-btn {
  width: 100%; text-align: left; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  color: rgba(255,255,255,0.6); font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 600; padding: 11px 14px;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.ibmex-bs-btn i { color: rgba(227,156,0,0.5); font-size: 0.75rem; transition: color 0.2s; }
.ibmex-bs-btn:hover { background: rgba(255,255,255,0.07); color: #fff; }
.ibmex-bs-btn.is-active {
  background: rgba(227,156,0,0.12); border-color: rgba(227,156,0,0.4);
  color: var(--amarillo);
}
.ibmex-bs-btn.is-active i { color: var(--amarillo); }

/* Dropdown groups */
.ibmex-filter-group { border-radius: 8px; overflow: hidden; }
.ibmex-filter-group-btn {
  width: 100%; text-align: left; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
  color: rgba(255,255,255,0.75); font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 600; padding: 11px 14px;
  cursor: pointer; transition: background 0.2s, color 0.2s;
  display: flex; align-items: center; justify-content: space-between;
}
.ibmex-filter-group-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.ibmex-filter-group.is-open .ibmex-filter-group-btn {
  background: rgba(255,255,255,0.07); color: #fff;
  border-radius: 8px 8px 0 0; border-bottom-color: transparent;
}
.ibmex-filter-chevron {
  font-size: 0.65rem; color: rgba(255,255,255,0.4);
  transition: transform 0.25s ease;
}
.ibmex-filter-group.is-open .ibmex-filter-chevron { transform: rotate(180deg); }

/* has-active indicator on group header */
.ibmex-filter-group-btn.has-selection { color: var(--amarillo); }
.ibmex-filter-group-btn.has-selection .ibmex-filter-chevron { color: rgba(227,156,0,0.6); }

/* Dropdown body */
.ibmex-filter-group-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08); border-top: none;
  border-radius: 0 0 8px 8px;
  display: flex; flex-direction: column;
}
.ibmex-filter-group.is-open .ibmex-filter-group-body {
  max-height: 240px;
}

/* Options inside body */
.ibmex-filter-opt {
  text-align: left; background: none; border: none;
  color: rgba(255,255,255,0.55); font-family: 'Inter', sans-serif;
  font-size: 0.8rem; padding: 9px 16px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ibmex-filter-opt:last-child { border-bottom: none; }
.ibmex-filter-opt:hover { background: rgba(255,255,255,0.05); color: #fff; }
.ibmex-filter-opt.is-active {
  color: var(--amarillo); background: rgba(227,156,0,0.08);
  font-weight: 600;
}

/* Sin resultados */
.ibmex-no-results {
  grid-column: 1 / -1; text-align: center;
  padding: 64px 20px; color: rgba(6,36,59,0.35);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  display: none;
}
.ibmex-no-results.is-visible { display: block; }
.ibmex-cat-grid {
  background: #ffffff; padding: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-content: start;
}
.ibmex-cat-card, .berel-cat-card, .urrea-cat-card, .leviton-cat-card {
  background: var(--beige); border-radius: 12px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.ibmex-cat-card:hover, .berel-cat-card:hover, .urrea-cat-card:hover, .leviton-cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(6,36,59,0.1); }
.ibmex-cat-img {
  height: 180px; overflow: hidden; position: relative; background: #dde0e5;
  display: flex; align-items: center; justify-content: center;
}
.ibmex-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ibmex-cat-img-ph {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(6,36,59,0.3);
}
.ibmex-cat-img-ph i { font-size: 2rem; }
.ibmex-cat-img-ph span { font-size: 0.72rem; font-family: 'Inter', sans-serif; }
.ibmex-cat-body { padding: 18px 20px 20px; }
.ibmex-cat-tag {
  display: inline-block; background: rgba(227,156,0,0.12);
  color: var(--amarillo-dark); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.ibmex-cat-name {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 0.92rem; color: var(--azul); margin-bottom: 6px; line-height: 1.3;
}
.ibmex-cat-sku {
  font-size: 0.72rem; color: var(--gray);
  font-family: 'Inter', sans-serif; margin-bottom: 16px;
}
.ibmex-cat-btn {
  display: block; width: 100%; padding: 9px;
  border: 1.5px solid var(--azul); border-radius: 6px;
  text-align: center; font-size: 0.8rem; font-weight: 600;
  font-family: 'Inter', sans-serif; color: var(--azul);
  text-decoration: none; transition: background .25s, color .25s;
}
.ibmex-cat-btn:hover { background: var(--azul); color: #ffffff; }
.ibmex-odoo-note {
  padding: 16px 40px 28px; text-align: center;
  font-size: 0.78rem; color: var(--gray); font-family: 'Inter', sans-serif;
  background: #ffffff; font-style: italic;
}
.ibmex-cta-band {
  background: linear-gradient(135deg, var(--amarillo) 0%, var(--amarillo-dark) 100%);
  height: 120px;
  overflow: hidden;
  display: flex; align-items: center;
}
.ibmex-cta-band:hover .ibmex-cta-track { animation-play-state: paused; }
.ibmex-cta-track {
  display: flex; align-items: center;
  gap: 72px; white-space: nowrap; flex-shrink: 0;
  animation: ibmex-scroll 20s linear infinite;
}
.ibmex-cta-item {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  color: #ffffff; letter-spacing: -0.01em;
  text-decoration: underline; text-underline-offset: 7px;
  text-decoration-thickness: 2px;
  white-space: nowrap; flex-shrink: 0;
}
.ibmex-cta-item:hover { text-decoration-color: rgba(255,255,255,0.55); }
.ibmex-cta-sep {
  color: rgba(255,255,255,0.45);
  font-size: 1.1rem; flex-shrink: 0;
}
@keyframes ibmex-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Home ticker band (after hero) ── */
.home-ticker-band {
  background: linear-gradient(135deg, var(--amarillo) 0%, var(--amarillo-dark) 100%);
  height: 68px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.home-ticker-band:hover .home-ticker-track { animation-play-state: paused; }
.home-ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  flex-shrink: 0;
  animation: ibmex-scroll 38s linear infinite;
}
.home-ticker-item {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(0.75rem, 1.3vw, 1.2rem);
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.home-ticker-item--link {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.home-ticker-item--link:hover { text-decoration-color: rgba(255,255,255,0.5); }
.home-ticker-sep {
  color: rgba(255,255,255,0.45);
  font-size: 1.1rem;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────
   STATS — 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: var(--font-editorial);
  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); }

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


/* ─────────────────────────────────────────────────────────
   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) {
  .ibmex-exp-grid { grid-template-columns: repeat(3, 1fr); }
  .ibmex-cat-layout { grid-template-columns: 200px 1fr; }
  .ibmex-cat-grid { grid-template-columns: repeat(2, 1fr); padding: 28px; gap: 16px; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-card { aspect-ratio: 4 / 5; }
  .pq-panels { grid-template-columns: repeat(2, 1fr); height: auto; }
  .pq-panel { height: 320px; filter: grayscale(0) brightness(1); }
  .pq-panel .pq-panel-desc { color: rgba(255,255,255,0.8); transform: translateY(0); }
  .pq-panel .pq-panel-overlay {
    background: linear-gradient(to top, rgba(75,38,0,0.9) 0%, rgba(6,36,59,0.4) 55%, rgba(6,36,59,0.08) 100%);
  }
  .pq-panel .pq-panel-title { color: var(--amarillo); }
  .enc-section { height: auto; max-height: none; min-height: 0; }
  .enc-content { position: relative; grid-template-columns: 1fr; padding: 56px 32px; }
  .enc-left { height: auto; padding-bottom: 40px; }
  .enc-right { height: 300px; }
}
@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-v2-inner { padding: 0 24px; }
  .pq-con-header { padding: 0 24px 48px; }
  .grande-inner { padding: 0 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  #chat-btn { right: 16px; bottom: 80px; }
  .chat-bubble { right: 76px; bottom: 92px; }
  #chat-panel { right: 12px; bottom: 144px; width: calc(100vw - 24px); }
}
@media (max-width: 640px) {
  .ibmex-stamps { top: 88px; gap: 10px; }
  .ibmex-stamp { width: 80px; height: 80px; font-size: 0.52rem; padding: 10px; }
  .ibmex-exp-grid { grid-template-columns: repeat(2, 1fr); }
  .ibmex-cat-layout { grid-template-columns: 1fr; }
  .ibmex-cat-sidebar { padding: 24px 20px; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .ibmex-filter-head { width: 100%; }
  .ibmex-bs-btn { width: auto; margin-bottom: 0; }
  .ibmex-filter-group { flex: 1 1 calc(50% - 8px); min-width: 140px; }
  .ibmex-cat-grid { grid-template-columns: 1fr 1fr; padding: 20px; gap: 12px; }
  .ibmex-cat-img { height: 140px; }
  .brands-logos { gap: 36px; padding: 40px 5% 48px; }
  .brand-logo { height: 72px; }
  .sol-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sol-card { aspect-ratio: 3 / 4; }
  .hero-v2-title { font-size: clamp(38px, 10vw, 60px); }
  /* ADN: layout vertical en móvil */
  .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; }
  .pq-panels { grid-template-columns: 1fr; }
  .pq-panel { height: 260px; }
  .grande-line { font-size: clamp(2rem, 10vw, 3.5rem); }
  .grande-btns { flex-direction: column; align-items: center; }
  .grande-btns .btn-primary,
  .grande-btn-dark { width: 100%; max-width: 320px; text-align: center; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
}


/* ─── CÓMO LO HACEMOS — SEÑALES CLARAS ──────────────────── */

.hero-subt { font-size: 0.40em; display: block; margin-bottom: 4px; color: #ffffff; }

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

.pcv-card {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; height: 440px;
  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); }
.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);
}
.pcv-back {
  background: var(--azul); transform: rotateY(180deg);
  display: flex; flex-direction: column;
}
.pcv-video-wrap {
  position: relative; flex: 1; 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;
}
.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;
}
.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: 0 0 auto; padding: 20px 24px 22px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 10px;
}
.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.88rem; color: var(--amarillo);
  line-height: 1.45; margin: 0; text-align: center;
}

@media (max-width: 960px) {
  .pain-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  .pain-inner { padding: 0 24px; }
}
@media (max-width: 640px) {
  .pain-cards { max-width: 100%; }
  .pcv-card { height: 400px; }
}

/* ─── SEÑALES CLARAS — VERSIÓN CINEMÁTICA ────────────────── */

.pvid-section {
  background: #02090f;
  padding: 100px 0 112px;
  overflow: hidden;
  position: relative;
}
.pvid-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(227,156,0,0.045) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
.pvid-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.pvid-header { text-align: center; margin-bottom: 52px; }
.pvid-eyebrow {
  font-family: 'NotoBalinese', serif;
  font-size: 1.05rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amarillo); display: block; margin-bottom: 20px;
}
.pvid-title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: #fff; line-height: 1.18; margin: 0;
}

/* — Tabs ——————————————————————————————— */
.pvid-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid rgba(255,255,255,0.07);
}
.pvid-tab {
  background: rgba(255,255,255,0.02);
  border: none;
  padding: 28px 24px 26px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.pvid-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}
.pvid-tab.is-active { background: rgba(227,156,0,0.07); }
.pvid-tab.is-active::after { background: var(--amarillo); }
.pvid-tab:hover:not(.is-active) { background: rgba(255,255,255,0.04); }

.pvid-tab-num {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 1.65rem; line-height: 1;
  color: rgba(255,255,255,0.12);
  transition: color 0.3s ease;
}
.pvid-tab.is-active .pvid-tab-num { color: var(--amarillo); }

.pvid-tab-quote {
  font-family: 'YoungestSerif', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.85rem, 1vw, 0.98rem);
  color: rgba(255,255,255,0.35);
  line-height: 1.55; margin: 0 0 4px;
  transition: color 0.3s ease;
}
.pvid-tab.is-active .pvid-tab-quote { color: rgba(255,255,255,0.88); }

.pvid-tab-label {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 0.62rem; letter-spacing: 0.09em;
  text-transform: uppercase;
  color: transparent;
  display: block;
  transition: color 0.3s ease;
}
.pvid-tab.is-active .pvid-tab-label { color: var(--amarillo); }

/* — Stage / Slides ———————————————————— */
.pvid-stage { border-radius: 20px; overflow: hidden; }

.pvid-slide { display: none; }
@keyframes pvid-appear {
  from { opacity: 0; transform: scale(0.986); }
  to   { opacity: 1; transform: scale(1); }
}
.pvid-slide.is-active {
  display: block;
  animation: pvid-appear 0.38s ease forwards;
}

/* — Video frame ———————————————————————— */
.pvid-frame {
  position: relative;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(227,156,0,0.16);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 0 80px rgba(227,156,0,0.08),
    0 32px 80px rgba(0,0,0,0.65);
  max-width: 420px;
  margin: 0 auto;
}
.pvid-video {
  width: 100%; display: block;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: center center;
}
.pvid-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}

/* — Center play button ———————————————— */
.pvid-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(227,156,0,0.92);
  border: none; cursor: pointer;
  color: #000; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  padding-left: 5px;
  z-index: 3;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
  box-shadow: 0 0 0 18px rgba(227,156,0,0.1), 0 0 0 36px rgba(227,156,0,0.05);
}
.pvid-play-btn:hover {
  background: var(--amarillo);
  transform: translate(-50%, -50%) scale(1.07);
}
.pvid-play-btn.is-hidden { opacity: 0; pointer-events: none; }

/* — Bottom controls ——————————————————— */
.pvid-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  z-index: 3; opacity: 0;
  transition: opacity 0.22s ease;
  display: flex; flex-direction: column; gap: 8px;
}
.pvid-frame:hover .pvid-controls { opacity: 1; }

.pvid-prog {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.22);
  border-radius: 3px; cursor: pointer; position: relative;
}
.pvid-prog-fill {
  height: 100%; width: 0%;
  background: var(--amarillo);
  border-radius: 3px; pointer-events: none;
}
.pvid-ctrl {
  display: flex; align-items: center; gap: 12px;
}
.pvid-ctrl-play, .pvid-ctrl-vol {
  background: none; border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer; font-size: 0.88rem;
  padding: 3px 4px; line-height: 1;
  transition: color 0.15s; flex-shrink: 0;
}
.pvid-ctrl-play:hover, .pvid-ctrl-vol:hover { color: var(--amarillo); }
.pvid-time {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
  flex: 1;
}
.pvid-vol { display: flex; align-items: center; gap: 6px; }
.pvid-vol-slider {
  -webkit-appearance: none; appearance: none;
  width: 64px; height: 3px;
  background: rgba(255,255,255,0.28);
  border-radius: 2px; outline: none; cursor: pointer;
}
.pvid-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--amarillo); cursor: pointer;
}
.pvid-vol-slider::-moz-range-thumb {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--amarillo); border: none; cursor: pointer;
}


@media (max-width: 900px) {
  .pvid-tabs {
    grid-template-columns: 1fr; gap: 4px;
    background: none; border: none; border-radius: 0;
  }
  .pvid-tab {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
  }
  .pvid-tab::after { border-radius: 0 0 12px 12px; }
}
@media (max-width: 768px) {
  .pvid-inner { padding: 0 20px; }
  .pvid-play-btn { width: 60px; height: 60px; font-size: 1.2rem; }
}

/* ─── NUESTRA PROMESA, NUESTRA HUELLA ────────────────────── */

.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;
}
.promesa-stage {
  flex: 1; width: 100%;
  display: grid; grid-template-columns: 44fr 56fr;
  min-height: 600px;
}
.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 60px 96px;
  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;
}
.promesa-headline {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  color: var(--azul); line-height: 1.2; margin: 0;
}
.promesa-headline em { font-style: normal; color: var(--amarillo); }
.promesa-card-num {
  font-family: 'YoungestSerif', serif;
  font-size: 4rem; color: rgba(227,156,0,0.35);
  display: block; line-height: 1; margin-bottom: 8px;
}
.promesa-card-title {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  color: var(--amarillo); line-height: 1.2; margin-bottom: 16px;
}
.promesa-card-brief {
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 0.95rem; font-style: normal;
  color: rgba(255,255,255,0.85);
  line-height: 1.7; margin-bottom: 16px;
}
.promesa-card-desc {
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  line-height: 1.78;
}
.promesa-card-list {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
p + .promesa-card-list { margin-top: 20px; }
.promesa-card-list li {
  font-family: 'Inter', sans-serif; font-size: 0.88rem;
  color: var(--amarillo);
  display: flex; align-items: center; gap: 8px;
}
.promesa-card-list li::before { content: '•'; flex-shrink: 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; }

/* ── Imagen derecha ── */
.promesa-mountain-wrap { position: relative; overflow: hidden; }
.promesa-mountain-inner { position: absolute; right: 0; top: 0; bottom: 0; }
.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; }
.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 ── */
.promesa-hint {
  position: absolute; left: calc(63% + 20px); top: calc(24% - 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;
}
.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; }
}
.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); }
.dot-flag { position: absolute; bottom: calc(100% + 2px); left: 6px; pointer-events: none; }
.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; }

@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: 340px; order: -1; }
  .promesa-mountain-inner { min-height: 340px; }
  .promesa-left { min-height: 200px; }
  .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; }
  .dot-tooltip { display: none; }
  .promesa-hint { display: none; }
}


/* ─── NUESTRO PORTAFOLIO ─────────────────────────────────── */

.port-section { background: var(--azul); padding: 104px 0 120px; }
.port-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.port-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;
}
.port-title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  color: #ffffff; text-align: center;
  margin: 0 0 64px; line-height: 1.1;
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Card base ── */
.port-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.port-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}

/* Card con imagen */
.port-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.port-card:hover img { transform: scale(1.05); }

.port-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,36,59,0.85) 0%, rgba(6,36,59,0.1) 55%, transparent 100%);
}
.port-card-name {
  position: absolute; bottom: 20px; left: 20px;
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 1rem; color: #ffffff;
  line-height: 1.2; z-index: 2;
}

/* Card vacía / placeholder */
.port-card-empty {
  position: absolute; inset: 0;
  background: var(--beige);
  border-radius: 20px;
}

/* ── Logo carousel ── */
.port-logos-slider {
  overflow: hidden; width: 100%;
  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);
}
.port-logos-track {
  display: flex; align-items: center; gap: 56px;
  width: max-content;
  animation: port-logos-slide 32s linear infinite;
}
.port-logos-slider:hover .port-logos-track { animation-play-state: paused; }
@keyframes port-logos-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.port-logo-item {
  font-family: 'Inter', sans-serif; font-size: 12px;
  color: rgba(255,255,255,0.65); white-space: nowrap;
  padding: 9px 18px;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 4px; letter-spacing: .05em;
  text-transform: uppercase;
  transition: color .25s, border-color .25s;
  user-select: none; flex-shrink: 0;
}
.port-logo-item:hover { color: var(--amarillo); border-color: rgba(227,156,0,0.5); }

@media (max-width: 560px) {
  .port-inner { padding: 0 24px; }
}


/* ─── TESTIMONIALES — MARQUEE ────────────────────────────── */

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

.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 48s linear infinite;
}
.testi-marquee-wrap:hover .testi-track { animation-play-state: paused; }

.testi-card {
  width: 320px; flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  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);
}


/* ─── FAQ ────────────────────────────────────────────────── */

.faq-con-section {
  background: var(--beige);
  border-top: 2px solid rgba(6,36,59,0.08);
  padding: 104px 0 120px;
}

/* Variante fondo azul (soluciones.php) */
.faq-con-section--dark {
  background: var(--azul);
  border-top: none;
}
.faq-con-section--dark .faq-con-title { color: #ffffff; }
.faq-con-section--dark .faq-list {
  border-color: rgba(255,255,255,0.1);
}
.faq-con-section--dark .faq-item {
  background: rgba(255,255,255,0.04);
  border-bottom-color: rgba(255,255,255,0.08);
}
.faq-con-section--dark .faq-question {
  color: var(--amarillo);
}
.faq-con-section--dark .faq-question:hover {
  background: rgba(255,255,255,0.07);
}
.faq-con-section--dark .faq-question[aria-expanded="true"] {
  background: rgba(227,156,0,0.1);
}
.faq-con-section--dark .faq-answer p {
  color: rgba(255,255,255,0.6);
}
.faq-con-inner { max-width: 860px; margin: 0 auto; padding: 0 40px; }

.faq-con-header { text-align: center; margin-bottom: 56px; }
.faq-con-label {
  font-family: 'NotoBalinese', serif;
  font-size: 1.05rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amarillo);
  display: block; margin-bottom: 20px;
}
.faq-con-title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: var(--azul); line-height: 1.2; margin: 0;
}

.faq-list {
  display: flex; flex-direction: column;
  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: #ffffff; }
.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 0.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 0.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-family: 'Inter', sans-serif; font-size: 14.5px;
  color: rgba(6,36,59,0.65); line-height: 1.75;
}

@media (max-width: 768px) {
  .faq-con-inner { padding: 0 24px; }
  .faq-question { font-size: 15px; padding: 20px; }
  .faq-answer p { padding: 0 20px 20px; }
}


/* ═══════════════════════════════════════════════════════════
   NUESTRO TALENTO — Equipo + Logros
═══════════════════════════════════════════════════════════ */

.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-logros-section {
  background: var(--azul);
  padding: 104px 0;
}
.talento-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 1400px) {
  .talento-equipo-section { padding: 80px 0; }
}
@media (max-width: 1200px) {
  .talento-equipo-section { padding: 64px 0; }
  .talento-inner          { padding: 0 24px; }
}

/* Section header */
.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-section-header p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 auto;
}
.talento-section-header--light h2 { color: #ffffff; }
.talento-section-header--light p  { color: rgba(255,255,255,0.55); }

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

/* ── Team grid (3 columnas) ── */
.talento-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.talento-member {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.talento-member:hover {
  border-color: var(--amarillo);
  transform: translateY(-6px);
}

.talento-photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--azul);
  flex-shrink: 0;
  border-radius: 10px 10px 0 0;
}
.talento-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  transition: transform 0.6s ease, filter 0.6s ease;
  display: block;
}
.talento-member:hover .talento-photo {
  transform: scale(1.04);
  filter: grayscale(0%);
}
.talento-photo-wrap.talento-photo--placeholder .talento-photo { display: none; }
.talento-photo-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}
.talento-photo-wrap:not(.talento-photo--placeholder) .talento-photo-initials { display: none; }

.talento-info {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.talento-name {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--azul);
  margin: 0;
  line-height: 1.25;
}
.talento-role {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 400;
  display: block;
}
.talento-stats-row { margin-top: 10px; }
.talento-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-family: 'NotoBalinese', serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amarillo);
  background: rgba(227,156,0,0.08);
  border: 1px solid rgba(227,156,0,0.2);
  padding: 4px 10px;
  border-radius: 2px;
}
.talento-stat-badge i { font-size: 0.65rem; }

/* ── Logros grid (4 columnas) ── */
.talento-logros-title {
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  margin: 8px 0 12px;
}
.talento-logros-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 auto;
}
.talento-logros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.talento-logro-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;
}
.talento-logro-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(227,156,0,0.35);
  transform: translateY(-8px);
}
.talento-logro-card--highlight {
  background: rgba(227,156,0,0.07);
  border-color: rgba(227,156,0,0.25);
}
.talento-logro-card--highlight:hover {
  background: rgba(227,156,0,0.12);
  border-color: var(--amarillo);
}
.talento-logro-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;
}
.talento-logro-card:hover .talento-logro-icon-wrap {
  background: rgba(227,156,0,0.18);
  border-color: var(--amarillo);
  transform: scale(1.1) rotate(-6deg);
}
.talento-logro-card--highlight .talento-logro-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;
}
.talento-logro-icon {
  font-size: 2.4rem;
  color: var(--amarillo);
}
.talento-logro-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}
.talento-logro-card--highlight .talento-logro-title { color: var(--amarillo); }
.talento-logro-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .talento-team-grid   { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .talento-logros-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .talento-equipo-section,
  .talento-logros-section { padding: 72px 0; }
  .talento-inner          { padding: 0 20px; }
  .talento-team-grid      { grid-template-columns: 1fr 1fr; gap: 16px; }
  .talento-logros-grid    { grid-template-columns: 1fr 1fr; }
  .talento-logro-card     { padding: 28px 16px 24px; }
  .talento-logro-icon-wrap { width: 72px; height: 72px; }
  .talento-logro-icon     { font-size: 1.9rem; }
}
@media (max-width: 400px) {
  .talento-team-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   EMBAJADORES — Diseño de equipo con círculo dorado
═══════════════════════════════════════════════════════════ */

/* Embajador destacado (Chris Perla) */
/* Fila de 5 embajadores */
.embajador-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
}

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

/* Foto de la persona */
@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;
}

/* Destacado — Chris Perla */
.embajador-card--featured .embajador-img {
  height: 340px;
  max-width: 270px;
}

/* Nombre */
.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;
}

/* Cargo */
.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;
}

/* Cursor pointer en clickables */
.embajador-clickable { cursor: pointer; }


/* Hover — foto a color + subida suave */
.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);
}

/* Responsive embajadores */
@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);
}

/* Botón cerrar */
.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; }

/* Grid interior: foto | info */
.emb-modal-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: center;
}

/* Columna izquierda */
.emb-modal-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.emb-modal-photo {
  height: 260px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  filter: grayscale(0%);
  animation: none;
}

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

/* Experiencia */
.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);
}

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

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

/* Quote */
.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;
}

/* Responsive modal */
@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: center; }
  .emb-modal-photo         { height: 160px; max-width: 130px; margin: 0; }
  #emb-exp-num, #emb-exp-text       { font-size: 1.2rem; }
}


/* ═══════════════════════════════════════════════════════════
   COMUNIDAD — Galería masonry + Lightbox + CTA final
═══════════════════════════════════════════════════════════ */

/* ── Header label ── */
.com-section-label {
  font-family: 'NotoBalinese', serif;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amarillo-dark);
  display: block;
  margin-bottom: 20px;
}

/* ── 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 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;
}

/* ── CTA final ── */
.cta-final-section {
  background: var(--azul);
  padding: 104px 0;
  text-align: center;
}
.cta-final-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}
.cta-final-label {
  font-family: 'NotoBalinese', serif;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amarillo);
  display: block;
  margin-bottom: 24px;
}
.cta-final-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}
.cta-final-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.cta-btn-ghost:hover {
  border-color: var(--amarillo);
  color: var(--amarillo);
}

/* ── 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; }
  .cta-final-section { padding: 72px 0; }
  .cta-final-inner { padding: 0 24px; }
}
