/* ─────────────────────────────────────────
   ALTER-PHARMA — main.css
   Fuentes: Pill Gothic 600mg + Inter (body)
   ───────────────────────────────────────── */

/* ── FUENTES ── */
@font-face {
  font-family: 'PillGothic';
  src: url('../fonts/PillGothic600mg-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PillGothic';
  src: url('../fonts/PillGothic600mg-Semibd.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PillGothic';
  src: url('../fonts/PillGothic600mg-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PillGothic';
  src: url('../fonts/PillGothic600mg-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ── VARIABLES ── */
:root {
  --navy:        #2E3440;
  --navy-deep:   #1e222a;
  --blue:        #1a7bbf;
  --cyan:        #009FE3;
  --gray:        #7C7C7B;
  --charcoal:    #2E3440;
  --gray-light:  #f7f9fc;
  --gray-mid:    #e8edf3;
  --white:       #ffffff;
  --navbar-height: 64px;
  --font-display: 'PillGothic', sans-serif;
  --font-body:    'Inter', sans-serif;
  --max-w:       1100px;
}


/* ── INTER LOCAL ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-500.woff2') format('woff2');
}
/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; margin: 0; padding: 0; box-sizing: border-box; }

/* ── SCROLL OFFSET — alinear secciones al nav ── */
section[id], div[id] {
  scroll-margin-top: 64px;
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

/* ── MAX WIDTH WRAPPER ── */
.mw {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 48px;
}

/* ════════════════════════════════════════
   NAV
   ════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  height: 64px;
  border-bottom: 0.5px solid rgba(124,124,123,0.3);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 22px; width: auto; }
.ft-logo img  { height: 20px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--cyan); font-weight: 600; }

/* ── NAV DROPDOWN ── */
.nav-dropdown {
  position: relative;
  display: flex; align-items: center;
  height: var(--navbar-height);
}
.nav-dropdown-trigger {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 400;
  color: var(--gray); letter-spacing: 0.2px;
  cursor: pointer; transition: color 0.2s;
  display: flex; align-items: center; gap: 2px;
  user-select: none; white-space: nowrap;
  line-height: var(--navbar-height);
}
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--cyan); }
.nav-dropdown:hover .nav-dropdown-trigger svg path { stroke: var(--cyan); }
.nav-dropdown-trigger svg { transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%; transform: translateX(-50%);
  background: var(--white);
  border: 0.5px solid var(--gray-mid);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(46,52,64,0.12);
  padding: 8px;
  min-width: 200px;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--white);
  border-left: 0.5px solid var(--gray-mid);
  border-top: 0.5px solid var(--gray-mid);
  transform: translateX(-50%) rotate(45deg);
}
.nav-dropdown-menu a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 7px;
  text-decoration: none;
  transition: background 0.15s;
  color: inherit;
}
.nav-dropdown-menu a:hover { background: var(--gray-light); }
.nav-dd-label {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  color: var(--navy);
}
.nav-dd-sub {
  font-size: 11px; color: var(--gray);
}
.nav-dropdown-menu a:hover .nav-dd-label { color: var(--cyan); }

.nav-cta {
  color: var(--gray);
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a.nav-cta-btn {
  background: var(--cyan) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background 0.2s !important;
  margin-left: 8px;
}
.nav-links a.nav-cta-btn:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
}
.nav-cta-btn:hover {
  background: var(--blue) !important;
  color: var(--white) !important;
}

.nav-cta:hover { color: var(--cyan); background: none; }
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--navy);
  position: relative;
  z-index: 99;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.hamburger:hover { background: var(--gray-light); }
.hamburger.open { color: var(--white); background: transparent; z-index: 99; }
.ham-icon { display: block; transition: opacity 0.2s; }
.ham-close { display: none; }
.hamburger.open .ham-open { display: none; }
.hamburger.open .ham-close { display: block; }

/* Overlay para cerrar el drawer al tocar fuera */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 97;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { display: block; }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
#inicio {
  padding: 0;
  min-height: 800px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-inner { position: relative; z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 128px);
}
.hero-tag {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title em { color: var(--cyan); font-style: normal; }
.hero-sub {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--navy); }

/* CÍRCULOS HERO */
.hero-right {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: -48px;
}
.hc-wrap {
  position: relative;
  width: 561px;
  height: 469px;
  flex-shrink: 0;
}
.hc-circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 6px 28px rgba(46,52,64,0.13);
  opacity: 0;
}
.hc-circle img,
.hc-circle video {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.hc-dot {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  border-radius: 50%;
}
/* Orbital doctor */

.hc-pulse {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(0,159,227,.35);
  pointer-events: none; z-index: 2;
  animation: heroPulse 3.2s ease-out 1.8s infinite;
}
.hc-pulse2 {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1.5px solid rgba(0,159,227,.18);
  pointer-events: none; z-index: 2;
  animation: heroPulse 3.2s ease-out 2.5s infinite;
}

/* ════════════════════════════════════════
   SOCIOS COMERCIALES
   ════════════════════════════════════════ */
.socios-band {
  background: var(--charcoal);
  padding: 176px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

.socios-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.socios-sub { font-size: 13px; color: rgba(255,255,255,0.4); }
.sl-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.sl-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 10px 28px;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sl-item.visible { opacity: 1; transform: translateY(0); }
.sl-item img { height: 35px; width: auto; max-width: 130px; opacity: 0.75; transition: opacity 0.2s; filter: brightness(0) invert(1); }
.sl-item:hover img { opacity: 1; }
.sl-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  transition: color 0.2s, opacity 0.5s ease, transform 0.5s ease;
}
.sl-text:hover { color: var(--white); }

/* ════════════════════════════════════════
   SECCIONES BASE
   ════════════════════════════════════════ */
section { padding: 96px 0; }
.s-tag {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.s-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}
.s-title em { color: var(--charcoal); font-style: normal; }
.s-intro { font-size: 15px; color: var(--gray); line-height: 1.8; max-width: 520px; }

/* ════════════════════════════════════════
   QUIÉNES SOMOS
   ════════════════════════════════════════ */
#quienes { background: var(--white); min-height: 800px; display: flex; flex-direction: column; justify-content: center; }
.qs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 28px 24px;
}

.stat-accent { width: 24px; height: 3px; background: var(--cyan); border-radius: 2px; margin-bottom: 10px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--gray); line-height: 1.5; margin-top: 6px; }

/* ════════════════════════════════════════
   TRAYECTORIA — sección aparte
   ════════════════════════════════════════ */
.tray-section {
  background: var(--navy);
  padding: 0;
  min-height: 800px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tray-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 48px;
  width: 100%;
}
.tray-tag {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px; display: block;
}
.tray-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 64px;
}
.tray-title em { color: var(--cyan); font-style: normal; }

/* Timeline full width */
.tl-wrap-new { width: 100%; }
.tl-track-full {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,0.2);
  width: 100%;
  margin-bottom: 0;
}
.tl-fill-full {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), var(--cyan));
  position: absolute; top: 0; left: 0;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.tl-dots-new {
  display: flex;
  justify-content: space-between;
  margin-top: -12px;
  position: relative;
}
.tl-dot-wrap {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; flex: 1;
}
.tl-dot-wrap:hover .tl-dot-new { border-color: var(--cyan); }
.tl-dot-new {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  background: var(--blue);
  transition: all 0.25s;
  z-index: 1;
}
.tl-dot-new.active {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0,159,227,0.2);
  width: 26px; height: 26px;
  margin-top: -2px;
}
.tl-year-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.tl-dot-wrap.active .tl-year-label { color: rgba(255,255,255,0.9); }

/* Card info */
.tl-card-new {
  margin-top: 48px;
  transition: opacity 0.3s;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 32px;
  align-items: start;
}
.tl-card-year-new {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.8;
  letter-spacing: 0;
  padding-top: 2px;
}
.tl-card-title-new { display: none; }
.tl-card-text-new {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  text-align: left;
  margin: 0;
}

/* ════════════════════════════════════════
   SERVICIOS
   ════════════════════════════════════════ */
#servicios { background: var(--gray-light); }
.sv-header { text-align: center; margin-bottom: 48px; }
.sv-header .s-intro { margin: 8px auto 0; text-align: center; max-width: 520px; }
.sv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1060px;
  margin: 0 auto;
  justify-items: center;
}
.sv-row2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 795px;
  margin: 40px auto 0;
  justify-items: center;
}
.sv-item { display: flex; flex-direction: column; align-items: center; gap: 16px; cursor: pointer; }
.sv-circle {
  width: 187px; height: 187px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 4px 20px rgba(26,123,191,0.1);
  transition: transform 0.45s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.35s;
  opacity: 0;
  transform: scale(0) translateX(0) translateY(0);
  position: relative;
}
.sv-circle.visible { opacity: 1; transform: scale(1) translateX(0) translateY(0); }
.sv-circle.sv-origin { opacity: 1; transform: scale(1); }
.sv-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 4px;
}
.sv-overlay { display: none; }
.sv-overlay-text { font-size: 10px; color: var(--white); line-height: 1.6; }
.sv-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.4;
  max-width: 160px;
  transition: color 0.2s;
}
.ph-label { font-size: 11px; font-weight: 600; font-family: var(--font-display); letter-spacing: 0.5px; color: inherit; }

/* ════════════════════════════════════════
   ZIARA
   ════════════════════════════════════════ */
#ziara { overflow: hidden; background: var(--white); min-height: 800px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.ziara-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 48px;
  width: 100%;
  box-sizing: border-box;
}
.ziara-left {
  background: var(--white);
  padding: 0;
  display: flex; flex-direction: column;
  justify-content: center; gap: 24px;
}
.ziara-tag {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--th-tag); letter-spacing: 2px; text-transform: uppercase;
}
.ziara-name {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 700;
  color: var(--navy); line-height: 1; letter-spacing: -2px;
}
.ziara-name span { color: var(--th-accent); }
.ziara-sub {
  font-size: 11px; font-weight: 600;
  color: var(--gray); text-transform: uppercase;
  letter-spacing: 2px; font-family: var(--font-display);
}
.ziara-desc { font-size: 14px; color: var(--th-body); line-height: 1.8; max-width: 360px; }
.ziara-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan); color: var(--white);
  border: 2px solid var(--cyan); border-radius: 6px;
  cursor: pointer;
  padding: 12px 24px; font-size: 13px; font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer; width: fit-content;
  transition: background 0.2s;
}
.ziara-cta:hover { background: transparent; color: var(--cyan); border-color: var(--cyan); }

.devices { position: relative; width: 300px; height: 210px; z-index: 2; }
.tablet {
  position: absolute; left: 0; top: 0;
  width: 210px; height: 148px;
  background: #232830; border-radius: 12px;
  border: 1.5px solid #3a4050; overflow: hidden;
}
.tab-bar {
  height: 20px; background: #2E3440;
  display: flex; align-items: center; padding: 0 10px; gap: 5px;
}
.tab-dot { width: 6px; height: 6px; border-radius: 50%; }
.tab-title { font-size: 7px; color: #85b7eb; margin-left: 6px; font-family: var(--font-display); }
.tab-:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.t-card { background: #2E3440; border-radius: 4px; padding: 5px 7px; }
.t-lbl { font-size: 6px; color: #85b7eb; margin-bottom: 3px; font-family: var(--font-display); }
.t-bar { height: 3px; border-radius: 2px; background: var(--blue); margin-bottom: 2px; }
.t-bar.s { width: 55%; }
.t-bar.m { width: 75%; }
.t-bar.l { width: 90%; }
.t-bar.c { background: var(--cyan); }
.phone {
  position: absolute; right: 0; bottom: 0;
  width: 96px; height: 160px;
  background: #232830; border-radius: 14px;
  border: 1.5px solid #3a4050; overflow: hidden;
}
.ph-bar { height: 16px; background: #2E3440; display: flex; align-items: center; justify-content: center; }
.ph-notch { width: 24px; height: 4px; background: #3a4050; border-radius: 2px; }
.ph-:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.p-card { background: #2E3440; border-radius: 4px; padding: 5px 6px; }
.p-lbl { font-size: 5px; color: #85b7eb; margin-bottom: 3px; font-family: var(--font-display); }
.p-chart { display: flex; align-items: flex-end; gap: 2px; height: 20px; }
.p-bar-c { width: 8px; border-radius: 2px 2px 0 0; }
.ziara-badge {
  position: absolute; top: -8px; right: 70px;
  background: var(--cyan); color: var(--white);
  font-size: 9px; font-weight: 600;
  padding: 4px 12px; border-radius: 10px;
  font-family: var(--font-display); letter-spacing: 0.5px; z-index: 3;
}

/* ════════════════════════════════════════
   EXPERIENCIA
   ════════════════════════════════════════ */
#experiencia { background: var(--white); min-height: 800px; display: flex; flex-direction: column; justify-content: center; }
.exp-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 80px; align-items: start;
  margin-top: 0;
}
.cap-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cap-card {
  background: var(--white);
  border-radius: 12px; padding: 28px 24px;
  border: 0.5px solid var(--gray-mid);
  box-shadow: 0 2px 12px rgba(46,52,64,0.06);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  opacity: 0; transform: translateY(16px);
}
.cap-card.visible { opacity: 1; transform: translateY(0); }
.cap-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(46,52,64,0.1); }
.cap-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: #e6f1fb;
  border: 0.5px solid #b5d4f4;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}
.cap-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.cap-text { font-size: 14px; color: var(--gray); line-height: 1.75; }
.cat-wrap { padding-top: 0; }
.cat-label { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill {
  background: var(--gray-light);
  border: 0.5px solid #b5d4f4;
  border-radius: 20px; padding: 7px 16px;
  font-size: 12px; color: var(--cyan); font-weight: 500;
  transition: all 0.2s; cursor: default;
  opacity: 0; transform: scale(0.85);
}
.cat-pill.visible { opacity: 1; transform: scale(1); }
.cat-pill:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ════════════════════════════════════════
   INTEGRIDAD
   ════════════════════════════════════════ */
#integridad { overflow: hidden; min-height: 800px; }
.int-top {
  background: var(--navy);
  padding: 96px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.int-top .mw {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; width: 100%;
}
.int-right { display: flex; justify-content: center; align-items: center; }
.int-img {
  width: 280px; height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.9);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  animation: float2 5s ease-in-out infinite;
}
.int-tag {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.int-title {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 700;
  color: var(--white); line-height: 1.2; margin-bottom: 20px;
}
.int-desc { font-size: 14px; line-height: 1.8; }
.int-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.int-card {
  opacity: 0; transform: translateY(16px);
  transition: border-color 0.3s, opacity 0.5s, transform 0.5s;
  opacity: 0; transform: translateX(24px);
}
.int-card.visible { opacity: 1; transform: translateX(0); }
.int-card:hover { border-color: rgba(0,159,227,0.4); }
.int-card-icon {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 50%; background: rgba(0,159,227,0.15);
  display: flex; align-items: center; justify-content: center;
}
.int-card-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.int-card-text { font-size: 14px; color: var(--gray); line-height: 1.7; }
.int-bottom { background: var(--white); padding: 80px 0; }
.int-bottom .mw {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; width: 100%;
}
.val-label { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.val-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.val-item { display: flex; align-items: center; gap: 10px; }
.val-dot { width: 8px; height: 8px; min-width: 8px; border-radius: 50%; background: var(--cyan); }
.val-text { font-size: 14px; color: var(--gray); }
.report-box {
  background: rgba(0,159,227,0.08);
  border-radius: 12px; border: 0.5px solid rgba(0,159,227,0.25); padding: 36px 40px;
  max-width: 600px;
}
.report-tag {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; color: var(--cyan);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.report-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.report-text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 20px; }
.report-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan); color: var(--white);
  border: none; border-radius: 6px;
  padding: 11px 22px; font-size: 12px; font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer; transition: background 0.2s;
}
.report-cta:hover { background: var(--navy); }

/* ════════════════════════════════════════
   CONTACTO
   ════════════════════════════════════════ */
#contacto { overflow: hidden; background: var(--cyan); display: block; }
.ct-top {
  background: var(--cyan);
  padding: 96px 0;
  display: flex; align-items: center;
}
.ct-top .mw {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start; width: 100%;
}
.ct-tag {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.65); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.ct-title {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 700;
  color: var(--th-title); line-height: 1.15; margin-bottom: 18px;
}
.ct-title em { color: var(--th-accent); font-style: normal; }
.ct-desc { font-size: 14px; color: var(--th-body); line-height: 1.85; margin-bottom: 32px; max-width: 360px; }
.ct-info { display: flex; flex-direction: column; gap: 16px; }
.ct-info-item { display: flex; align-items: center; gap: 12px; }
.ct-info-icon {
  width: 36px; height: 36px; min-width: 36px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.ct-info-icon svg { opacity: 1; }
.ct-info-icon svg path,
.ct-info-icon svg circle { stroke: var(--white); }
.ct-info-label { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-display); margin-bottom: 1px; }
.ct-info-val { font-size: 13px; color: var(--white); }
.ct-form {
  background: var(--white); border-radius: 14px;
  padding: 36px 32px; display: flex; flex-direction: column; gap: 14px;
}
.ct-form-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 0; }
.ct-form-sub { font-size: 11px; color: var(--gray); margin-top: 2px; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label {
  font-size: 11px; color: var(--gray); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-display);
}
.field input,
.field textarea {
  border: 0.5px solid #dde3eb; border-radius: 7px;
  padding: 9px 11px; font-size: 12px;
  font-family: var(--font-body); color: var(--navy);
  background: #fafbfd; transition: border-color 0.2s, background 0.2s;
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--cyan); background: var(--white); }
.field textarea { height: 80px; resize: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-submit {
  background: var(--th-btn-bg); color: var(--th-btn-color);
  border: none; border-radius: 6px;
  padding: 12px 24px; font-size: 13px; font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; gap: 8px; width: fit-content;
}
.ct-submit:hover { background: var(--th-btn-hover); }

/* ════════════════════════════════════════
   PRESENCIA REGIONAL
   ════════════════════════════════════════ */
#presencia { overflow: hidden; padding: 96px 0 0; display: flex; flex-direction: column; }

/* Fila superior: titular izq, ciudades der */
.pres-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 40px;
  padding-bottom: 56px;
}

/* Lista de ciudades en 2 columnas */
.pres-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  padding-top: 8px;
}
.pres-office { display: flex; align-items: center; gap: 10px; }
.pres-dot {
  width: 7px; height: 7px; min-width: 7px;
  border-radius: 50%; background: var(--cyan);
}
.pres-country { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.pres-city { font-size: 13px; color: var(--gray); }

/* Mapa full width */
.pres-map-full {
  width: 100%;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  margin-top: auto;
}
.pres-map-full #mapa-leaflet {
  width: 100% !important;
  height: 470px !important;
  display: block;
  margin: 0;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
footer { background: var(--navy-deep); margin-top: -5px; }
.ft-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 80px 48px 356px;
}
.ft-top {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.ft-brand { display: flex; flex-direction: column; gap: 16px; }
.ft-logo { display: flex; align-items: center; }
.ft-tagline { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.75; max-width: 210px; }
.ft-col-title {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.4); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 16px;
}
.ft-col-links { display: flex; flex-direction: column; gap: 10px; }
.ft-col-links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.ft-col-links a:hover { color: var(--cyan); }
.ft-divider { height: 0.5px; background: rgba(255,255,255,0.07); margin-bottom: 24px; }
.ft-bottom {
  display: flex; align-items: center; justify-content: space-between;
}
.ft-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.ft-chips { display: flex; gap: 6px; }
.ft-chip {
  display: inline-block; background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.35); font-size: 9px; font-weight: 600;
  letter-spacing: 0.5px; padding: 4px 10px; border-radius: 10px;
  font-family: var(--font-display); text-transform: uppercase;
}
.ft-region { font-size: 11px; color: rgba(255,255,255,0.2); }

@keyframes svPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,159,227,0.5); }
  50%  { box-shadow: 0 0 0 18px rgba(0,159,227,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,159,227,0); }
}

/* ════════════════════════════════════════
   ANIMACIONES
   ════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── HERO CIRCLES ── */
/* ── LÍNEAS ANIMADAS HERO ── */
@keyframes run {
  0%   { top: -50%; }
  100% { top: 100%; }
}
.hero-lines::before,
.hero-lines::after {
  content: "";
  display: block;
  position: absolute;
  height: 50vh;
  width: 1px;
  top: -50%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(46,52,64,0.15) 75%,
    rgba(0,0,0,0) 0%
  );
  animation: run 8s cubic-bezier(.4,.26,0,.97) 0s infinite forwards;
  pointer-events: none;
  z-index: 0;
}
.hero-lines::before {
  animation-delay: 2s;
  left: 40%;
}
.hero-lines::after {
  left: 20%;
  animation-delay: 0s;
}

@keyframes hcEnterScale {
  from { opacity:0; transform: scale(0.5); }
  to   { opacity:1; transform: scale(1); }
}

@keyframes hcEnterLeft {
  from { opacity:0; transform: translateX(-50px) scale(0.6); }
  to   { opacity:1; transform: translateX(0) scale(1); }
}
@keyframes hcEnterRight {
  from { opacity:0; transform: translateX(50px) scale(0.6); }
  to   { opacity:1; transform: translateX(0) scale(1); }
}
@keyframes hcFloat1 {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
@keyframes hcFloat2 {
  0%,100% { transform: translateY(0) translateX(0); }
  40%     { transform: translateY(-9px) translateX(5px); }
  70%     { transform: translateY(6px) translateX(-3px); }
}
@keyframes hcFloat3 {
  0%,100% { transform: translateY(0) translateX(0); }
  35%     { transform: translateY(10px) translateX(-5px); }
  70%     { transform: translateY(-7px) translateX(4px); }
}
@keyframes hcDotIn {
  from { opacity:0; transform: scale(0); }
  to   { opacity:1; transform: scale(1); }
}
@keyframes heroEnterTop {
  from { opacity: 0; transform: translateY(-70px) scale(0.65); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroEnterLeft {
  from { opacity: 0; transform: translateX(-60px) scale(0.65); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes heroEnterRight {
  from { opacity: 0; transform: translateX(60px) scale(0.65); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes heroFloatA {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-14px); }
}
@keyframes heroFloatB {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  35%      { transform: translateY(-9px) translateX(5px); }
  70%      { transform: translateY(7px) translateX(-4px); }
}
@keyframes heroFloatC {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  40%      { transform: translateY(11px) translateX(-6px); }
  75%      { transform: translateY(-7px) translateX(4px); }
}
@keyframes heroSmIn {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes heroPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
@keyframes heroGrowLine {
  from { opacity: 0; transform: scaleY(0); }
  to   { opacity: 1; transform: scaleY(1); }
}
@keyframes heroGrowLineH {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── LOGOS INDIVIDUALES ── */
.sl-item img[alt="Lilly"] { height: 43px; }
.sl-item img[alt="Novartis"] { height: 38px; }
.sl-item img[alt="Pfizer"] { height: 48px; }
.sl-item img[alt="GSK"] { height: 36px; }
.sl-item img[alt="AbbVie"] { height: 24px; }
.sl-item img[alt="MSD"] { height: 38px; }
.sl-item img[alt="Viatris"] { height: 38px; }
.sl-item img[alt="Cinfa"] { height: 35px; }
.sl-item img[alt="Blue m"] { height: 26px; }
.sl-item img[alt="Aspen"] { height: 38px; }
.sl-item img[alt="Acino"] { height: 36px; }
.sl-item img[alt="Janssen"] { height: 36px; }
.sl-item img[alt="Bayer"] { height: 59px; }


/* ════════════════════════════════════════
   TECNOLOGÍA Y HERRAMIENTAS
   ════════════════════════════════════════ */
#tecnologia { background: var(--white); padding: 100px 0 120px; }
.tech-header { text-align: center; margin-bottom: 64px; max-width: 700px; margin-left: auto; margin-right: auto; margin-top: 0; }
.tech-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.tech-col {
  background: var(--gray-light);
  border-radius: 16px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.tech-img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.tech-col-body { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tech-col-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.tech-col-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
  max-width: 320px;
}
.tech-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 28px;
  background: var(--cyan);
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.2s;
}
.tech-cta:hover { background: var(--navy); }

/* ════════════════════════════════════════
   PAÍSES (HOME)
   ════════════════════════════════════════ */
#paises { background: var(--gray-light); padding: 120px 0; }

/* ════════════════════════════════════════
   TESTIMONIAL CAROUSEL
   ════════════════════════════════════════ */
.res-carousel { position: relative; min-height: 120px; }
.res-slide { display: none; animation: fadeInSlide 0.6s ease; }
.res-slide.active { display: block; }
@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.res-quote-divider {
  width: 100%;
  margin-top: 40px;
  border: none;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}

/* ════════════════════════════════════════
   LOGOS GRID
   ════════════════════════════════════════ */
.sl-row-break { flex-basis: 100%; height: 0; display: none; }
.sl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 40px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* ════════════════════════════════════════
   SISTEMA DE TEMAS POR FONDO
   ════════════════════════════════════════ */

/* — LIGHT (fondo blanco, default) — */
[data-theme="light"] { background: var(--white); }
[data-theme="light"], :root {
  --th-tag:          #009FE3;
  --th-title:        #2E3440;
  --th-accent:       #009FE3;
  --th-body:         #7C7C7B;
  --th-card-bg:      #f7f9fc;
  --th-card-border:  #e8edf3;
  --th-card-title:   #2E3440;
  --th-card-text:    #7C7C7B;
  --th-icon-bg:      #e6f1fb;
  --th-icon-border:  #b5d4f4;
  --th-icon-color:   #1a7bbf;
  --th-btn-bg:       #009FE3;
  --th-btn-color:    #ffffff;
  --th-btn-hover:    #2E3440;
  --th-divider:      #e8edf3;
  --th-pill-bg:      #f7f9fc;
  --th-pill-border:  #b5d4f4;
  --th-pill-color:   #009FE3;
  --th-section-bg:   #ffffff;
}

/* — DARK (fondo gris oscuro #2E3440) — */
[data-theme="dark"] { background: var(--navy); }
[data-theme="dark"] {
  --th-tag:          #009FE3;
  --th-title:        #ffffff;
  --th-accent:       #009FE3;
  --th-body:         rgba(255,255,255,0.65);
  --th-card-bg:      rgba(255,255,255,0.07);
  --th-card-border:  rgba(255,255,255,0.12);
  --th-card-title:   #ffffff;
  --th-card-text:    rgba(255,255,255,0.6);
  --th-icon-bg:      rgba(0,159,227,0.15);
  --th-icon-border:  rgba(0,159,227,0.3);
  --th-icon-color:   #009FE3;
  --th-btn-bg:       #009FE3;
  --th-btn-color:    #ffffff;
  --th-btn-hover:    #ffffff;
  --th-divider:      rgba(255,255,255,0.1);
  --th-pill-bg:      rgba(0,159,227,0.12);
  --th-pill-border:  rgba(0,159,227,0.3);
  --th-pill-color:   #009FE3;
  --th-section-bg:   #2E3440;
}

/* — CYAN (fondo #009FE3) — */
[data-theme="cyan"] { background: var(--cyan); }
[data-theme="cyan"] {
  --th-tag:          #2E3440;
  --th-title:        #ffffff;
  --th-accent:       #2E3440;
  --th-body:         rgba(255,255,255,0.85);
  --th-card-bg:      rgba(255,255,255,0.18);
  --th-card-border:  rgba(255,255,255,0.3);
  --th-card-title:   #ffffff;
  --th-card-text:    rgba(255,255,255,0.8);
  --th-icon-bg:      rgba(255,255,255,0.25);
  --th-icon-border:  rgba(255,255,255,0.4);
  --th-icon-color:   #ffffff;
  --th-btn-bg:       #2E3440;
  --th-btn-color:    #ffffff;
  --th-btn-hover:    #1e222a;
  --th-divider:      rgba(255,255,255,0.2);
  --th-pill-bg:      rgba(255,255,255,0.15);
  --th-pill-border:  rgba(255,255,255,0.35);
  --th-pill-color:   #ffffff;
  --th-section-bg:   #009FE3;
}

/* — Clases temáticas que usan las variables — */
.th-section { background: var(--th-section-bg); }
.th-tag     { color: var(--th-tag) !important; }
.th-title   { color: var(--th-title) !important; }
.th-accent  { color: var(--th-accent) !important; font-style: normal; }
.th-body    { color: var(--th-body) !important; }

.th-card {
  background: var(--th-card-bg);
  border: 0.5px solid var(--th-card-border);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}
.th-card:hover { transform: translateY(-2px); }
.th-card-title { color: var(--th-card-title); font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.th-card-text  { color: var(--th-card-text);  font-size: 13px; line-height: 1.75; }

.th-icon {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--th-icon-bg);
  border: 0.5px solid var(--th-icon-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--th-icon-color);
}
.th-icon svg { stroke: var(--th-icon-color); }

.th-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--th-btn-bg); color: var(--th-btn-color);
  border: none; border-radius: 6px;
  padding: 12px 24px; font-size: 13px; font-weight: 500;
  font-family: var(--font-body); cursor: pointer;
  transition: background 0.2s;
}
.th-btn:hover { background: var(--th-btn-hover); }

.th-pill {
  background: var(--th-pill-bg);
  border: 0.5px solid var(--th-pill-border);
  color: var(--th-pill-color);
  border-radius: 20px; padding: 7px 16px;
  font-size: 12px; font-weight: 500;
  transition: all 0.2s; cursor: default;
  opacity: 0; transform: scale(0.85);
}
.th-pill.visible { opacity: 1; transform: scale(1); }

.th-divider { height: 0.5px; background: var(--th-divider); margin: 32px 0; }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET
   ════════════════════════════════════════ */
/* ════════════════════════════════════════
   RESPONSIVE — TABLET (900px)
   ════════════════════════════════════════ */
/* ════════════════════════════════════════
   RESPONSIVE — TABLET / MOBILE (≤ 900px)
   ════════════════════════════════════════ */

.sv-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  text-align: center;
  line-height: 1.6;
  max-width: 187px;
  width: 187px;
}

/* ════════════════════════════════════════
   RESULTADOS
   ════════════════════════════════════════ */
#resultados {
  background: var(--navy);
  padding: 96px 0 96px;
}
#resultados .s-tag { color: var(--cyan); }
#resultados .s-title {
  color: var(--white);
  margin-bottom: 64px;
}
#resultados .s-title em { color: var(--cyan); }

.res-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 64px;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.res-item {
  padding: 40px 32px;
  border-right: 0.5px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.res-item:last-child { border-right: none; }

.res-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -1px;
}

.res-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  max-width: 180px;
}

.res-quote {
  border-left: 3px solid var(--cyan);
  padding: 8px 0 8px 32px;
  max-width: 720px;
}

.res-quote-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}

.res-quote-author {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3px;
}

/* ════════════════════════════════════════
   SOCIOS CARRUSEL
   ════════════════════════════════════════ */
.socios-carousel-wrap {
  background: var(--charcoal);
  padding: 36px 0;
  overflow: hidden;
  width: 100%;
}

.socios-carousel-track {
  display: flex;
  width: max-content;
  animation: carouselScroll 35s linear infinite;
}

.socios-carousel-track:hover {
  animation-play-state: paused;
}

.socios-carousel-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 0 32px;
}

.socios-carousel-inner img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.socios-carousel-inner img:hover {
  opacity: 1;
}

@keyframes carouselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-mobile-img { display: none; }

@media (max-width: 900px) {

  /* ── RESULTADOS ─────────────────────────── */
  .res-grid { grid-template-columns: 1fr; }
  .res-item { border-right: none; padding: 28px 20px; }
  .res-item:nth-child(odd) { border-right: none; }
  .res-num { font-size: 36px; }
  .res-label { max-width: 100%; }
  .res-quote { padding-left: 20px; }
  .res-quote-text { font-size: 15px; }

  /* ── GLOBAL ─────────────────────────── */
  .mw { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  section { padding: 72px 0; min-height: unset; }

  /* ── RESULTADOS ─────────────────────────── */
  .res-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .res-item { padding: 32px 24px; border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
  .res-item:nth-child(odd) { border-right: 0.5px solid rgba(255,255,255,0.08); }
  .res-num { font-size: 42px; }
  .res-quote { padding-left: 24px; }
  .res-quote-text { font-size: 16px; }

  /* ── NAV ─────────────────────────────── */
  .hamburger { display: flex; }
  .ham-close { display: none; }
  .nav-links { display: none !important; }

  /* ── HERO ─────────────────────────────── */
  #inicio { min-height: unset; padding: 0 !important; }

  /* ── PRIMERA SECCIÓN DE CADA PÁGINA ──── */
  #quienes, #servicios, #presencia { padding-top: 136px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 84px 28px 40px;
    min-height: unset;
    gap: 0;
    align-items: flex-start;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-tag { text-align: left; margin-bottom: 10px; }
  .hero-title { font-size: 32px; line-height: 1.1; text-align: left; }
  .hero-title em { display: inline; }
  .hero-sub { font-size: 14px; text-align: left; max-width: 100%; margin-top: 12px; }
  .hero-cta { display: none; }
  .hc-wrap { display: none; }
  .hero-right {
    display: block;
    order: -1;
    height: auto;
    margin: 0 0 20px 0;
  }
  .hero-mobile-img {
    width: 100%;
    max-width: 380px;
    max-height: 280px;
    object-fit: contain;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .hero-lines { display: none; }

  /* ── SOCIOS ──────────────────────────── */
  .socios-band { min-height: unset; padding: 48px 0; }
  .sl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 28px;
  }
  .sl-row-break { display: none !important; }
  .sl-item {
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sl-item img {
    height: 28px !important;
    width: auto !important;
    max-width: 100px !important;
    filter: brightness(0) invert(1);
  }
  .sl-item img[alt="Lilly"] { height: 38px !important; }
  .sl-item img[alt="Novartis"] { height: 33px !important; }
  .sl-item img[alt="Pfizer"] { height: 42px !important; }
  .sl-item img[alt="GSK"] { height: 32px !important; }
  .sl-item img[alt="AbbVie"] { height: 21px !important; }
  .sl-item img[alt="MSD"] { height: 33px !important; }
  .sl-item img[alt="Viatris"] { height: 33px !important; }
  .sl-item img[alt="Cinfa"] { height: 31px !important; }
  .sl-item img[alt="Blue m"] { height: 23px !important; }
  .sl-item img[alt="Aspen"] { height: 33px !important; }
  .sl-item img[alt="Acino"] { height: 32px !important; }
  .sl-item img[alt="Janssen"] { height: 49px !important; }
  .sl-item img[alt="Bayer"] { height: 52px !important; }
  .sl-item img[alt="AstraZeneca"] { height: 32px !important; }
  .sl-item img[alt="Organon"] { height: 28px !important; }
  .sl-item img[alt="Sandoz"] { height: 16px !important; }

  /* ── QUIÉNES SOMOS ───────────────────── */
  #quienes { min-height: unset; }
  .qs-grid { grid-template-columns: 1fr; gap: 48px; }
  .qs-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-num { font-size: 40px; }

  /* ── TRAYECTORIA ─────────────────────── */
  .tray-section { min-height: unset; padding: 72px 0; }
  .tray-inner { padding: 0 28px; }
  .tray-title { font-size: 34px; line-height: 1.1; margin-bottom: 48px; }
  .tl-dots-new { overflow-x: auto; padding-bottom: 12px; }
  .tl-dot-wrap { min-width: 56px; }
  .tl-dot-new { width: 18px; height: 18px; }
  .tl-dot-new.active { width: 22px; height: 22px; }
  .tl-year-label { font-size: 10px; }
  .tl-card-new { grid-template-columns: 56px 1fr; gap: 0 20px; margin-top: 36px; }
  .tl-card-text-new { font-size: 14px; line-height: 1.75; }

  /* ── EXPERIENCIA ─────────────────────── */
  #experiencia { min-height: unset; }
  .exp-grid { grid-template-columns: 1fr; gap: 48px; }
  .cap-cards { grid-template-columns: 1fr; gap: 12px; }

  /* ── SERVICIOS ───────────────────────── */
  .sv-header { text-align: center; margin-bottom: 36px; }
  .sv-grid {
    grid-template-columns: 1fr;
    gap: 28px 0;
    max-width: 100%;
    margin: 0;
  }
  .sv-row2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px 0;
    margin-top: 28px;
    justify-content: unset;
  }
  .sv-item { width: 100%; align-items: center; overflow: hidden; }
  .sv-circle {
    width: 144px;
    height: 144px;
    margin: 0 auto;
    flex-shrink: 0;
  }
  .sv-name { font-size: 17px; max-width: 100%; text-align: center; line-height: 1.3; font-weight: 700; }
  .sv-desc { font-size: 14px; width: 90%; max-width: 100%; text-align: center; line-height: 1.75; word-break: break-word; margin: 4px auto 0; }

  /* ── ZIARA ───────────────────────────── */
  #ziara { min-height: unset; }
  .ziara-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 72px 28px;
  }
  .ziara-right { order: -1; display: flex; justify-content: center; }
  .ziara-img { max-width: 243px; width: 100%; border-radius: 12px; }
  .ziara-name { font-size: 44px; }
  .ziara-left { padding: 0; gap: 20px; }
  .ziara-desc { font-size: 14px; }


  /* ── TECNOLOGÍA ──────────────────────── */
  #tecnologia { padding: 72px 0; }
  .tech-cols { grid-template-columns: 1fr; gap: 24px; }
  .tech-col { padding: 32px 24px; }
  .tech-img { width: 200px; height: 200px; }
  .tech-header { margin-bottom: 40px; }
  .tech-header .s-title { font-size: 24px; }
  .tech-header .s-intro { max-width: 280px; }
  #paises { padding: 72px 0; }

  /* ── INTEGRIDAD ──────────────────────── */
  #integridad { min-height: unset; }
  .int-top { padding: 72px 0; min-height: unset; }
  .int-top .mw { grid-template-columns: 1fr; gap: 40px; }
  .int-cards { grid-template-columns: 1fr; gap: 12px; }
  .int-img { width: 200px; height: 200px; }
  .int-title { font-size: 30px; }
  .report-box { padding: 28px 24px; }

  /* ── PRESENCIA ───────────────────────── */
  #presencia { padding: 136px 0 0; min-height: unset; }
  .pres-top { grid-template-columns: 1fr; gap: 40px; }
  .pres-offices { grid-template-columns: 1fr 1fr; gap: 14px 24px; }

  /* ── CONTACTO ────────────────────────── */
  .ct-top { padding: 72px 0; }
  .ct-top--page { padding-top: 136px; }
  .ct-top .mw { grid-template-columns: 1fr; gap: 48px; }
  .ct-title { font-size: 36px; }

  /* ── FOOTER ──────────────────────────── */
  .ft-inner { padding: 56px 28px 72px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ft-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MÓVIL PEQUEÑO (≤ 480px)
   ════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── RESULTADOS ─────────────────────────── */
  .res-grid { grid-template-columns: 1fr; }
  .res-item { border-right: none; padding: 28px 20px; }
  .res-item:nth-child(odd) { border-right: none; }
  .res-num { font-size: 36px; }
  .res-label { max-width: 100%; }
  .res-quote { padding-left: 20px; }
  .res-quote-text { font-size: 15px; }

  /* ── GLOBAL ─────────────────────────── */
  .mw { padding: 0 20px; }
  section { padding: 56px 0; }

  /* ── RESULTADOS ─────────────────────────── */
  .res-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .res-item { padding: 32px 24px; border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
  .res-item:nth-child(odd) { border-right: 0.5px solid rgba(255,255,255,0.08); }
  .res-num { font-size: 42px; }
  .res-quote { padding-left: 24px; }
  .res-quote-text { font-size: 16px; }

  /* ── NAV ─────────────────────────────── */
  .nav-links { padding: 80px 28px 40px; }
  .nav-links a { font-size: 21px; padding: 17px 0; }
  .nav-dropdown-trigger { font-size: 21px; }
  .nav-dd-label { font-size: 15px; }

  /* ── HERO ─────────────────────────────── */
  #inicio { min-height: unset; padding: 0 !important; }
  .hero-inner { grid-template-columns: 1fr; padding: 84px 20px 20px; min-height: unset; gap: 0; align-items: flex-start; }
  .hero-left { display: flex; flex-direction: column; align-items: flex-start; }
  .hc-wrap { display: none; }
  .hero-right { display: block; order: -1; margin: 0 0 20px 0; }
  .hero-mobile-img { width: 100%; max-width: 340px; max-height: 260px; object-fit: contain; display: block; margin: 0 auto; }
  .hero-cta { display: none; }
  .hero-title { font-size: 32px; line-height: 1.1; }
  .hero-sub { font-size: 14px; }

  /* ── TIPOGRAFÍA SECCIONES ─────────────── */
  .s-title { font-size: 26px; line-height: 1.2; }
  .s-intro { font-size: 15px; }
  .tray-title { font-size: 26px; }
  .int-title { font-size: 26px; }
  .ct-title { font-size: 26px; }
  .ziara-name { font-size: 26px; }

  /* ── SOCIOS ──────────────────────────── */
  .sl-grid { gap: 12px; padding: 0 20px; }

  /* ── QUIÉNES SOMOS ───────────────────── */
  .qs-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 36px; }

  /* ── TRAYECTORIA ─────────────────────── */
  .tray-title { font-size: 26px; margin-bottom: 36px; }
  .tl-card-new { grid-template-columns: 48px 1fr; gap: 0 14px; }
  .tl-card-year-new { font-size: 13px; }
  .tl-card-text-new { font-size: 13px; }
  .tray-inner { padding: 0 20px; }

  /* ── SERVICIOS ───────────────────────── */
  .sv-grid { gap: 24px 0; }
  .sv-row2 { gap: 24px 0; }
  .sv-circle { width: 132px; height: 132px; }
  .sv-name { font-size: 17px; font-weight: 700; }
  .sv-desc { font-size: 14px; width: 90%; max-width: 100%; text-align: center; line-height: 1.75; word-break: break-word; margin: 4px auto 0; }

  /* ── EXPERIENCIA ─────────────────────── */
  .cap-cards { grid-template-columns: 1fr; }
  .cat-pill { font-size: 12px; padding: 6px 12px; }

  /* ── ZIARA ───────────────────────────── */
  .ziara-wrap { padding: 56px 20px; gap: 32px; }
  .ziara-img { max-width: 100%; }
  .ziara-name { font-size: 26px; }

  #tecnologia { padding: 56px 0; }
  .tech-cols { grid-template-columns: 1fr; gap: 20px; }
  .tech-col { padding: 24px 20px; }
  .tech-img { width: 160px; height: 160px; }
  #paises { padding: 56px 0; }
    /* ── INTEGRIDAD ──────────────────────── */
  .int-cards { grid-template-columns: 1fr; }
  .int-img { width: 160px; height: 160px; }
  .report-box { padding: 20px; }
  .int-top { padding: 56px 0; }

  /* ── PRESENCIA ───────────────────────── */
  .pres-offices { grid-template-columns: 1fr; gap: 12px; }
  .pres-top { gap: 28px; }

  /* ── CONTACTO ────────────────────────── */
  .field-row { grid-template-columns: 1fr; }
  .ct-top { padding: 56px 0; }
  .ct-top--page { padding-top: 136px; }
  .ct-title { font-size: 26px; }

  /* ── FOOTER ──────────────────────────── */
  .ft-inner { padding: 48px 20px 56px; }
  .ft-top { grid-template-columns: 1fr; gap: 32px; }
  .ft-top > div:not(.ft-brand) { display: none; }
  .ft-logo img { height: 17px; }
  .ft-chips { flex-wrap: wrap; justify-content: center; }
  .ft-bottom { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  nav, footer, #waBtn, #waChat, #reportPopup { display: none; }
  body { color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; }
}
