@charset "utf-8";
/* =========================================
   OHP — styles.css (v3.0 Executive Modern)
   Responsive laptop + mobile
   CLEAN + MERGED (sin duplicados / sin caracteres raros)
   ========================================= */

/* =========================
   VARIABLES
========================= */
:root{
  --bg: #0b1220;
  --bg2:#0a0f1a;
  --paper:#ffffff;
  --text:#0b1220;
  --muted: rgba(15,23,42,.68);
  --line: rgba(15,23,42,.10);
  --line2: rgba(255,255,255,.16);

  --primary:#111827;
  --gold:#d4af37;

  --glass: rgba(255,255,255,.12);
  --glass2: rgba(255,255,255,.18);

  --shadow: 0 20px 60px rgba(2,6,23,.26);
  --shadow2: 0 14px 34px rgba(2,6,23,.16);

  --radius: 18px;
  --radius2: 24px;

  --container: 1120px;

  --fontTitle: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fontBody: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Extras pro */
  --radius-xl: 22px;
  --radius-lg: 18px;
  --shadow-xl: 0 26px 80px rgba(17,24,39,.14);
  --shadow-lg: 0 18px 50px rgba(17,24,39,.12);
  --glass-bg: rgba(255,255,255,.74);
  --glass-bd: rgba(14,24,48,.10);
}

/* =========================
   RESET / BASE
========================= */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: var(--fontBody);
  color: var(--text);
  background: #f6f7fb;
}

.container{
  width: min(var(--container), calc(100% - 36px));
  margin-inline:auto;
  padding-left: clamp(14px, 2.8vw, 24px);
  padding-right: clamp(14px, 2.8vw, 24px);
}

.section{ padding: 64px 0; }
.section.alt{
  background: linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,.01));
}

.muted{ color: var(--muted); }

a{ color: inherit; text-decoration:none; }
a.link{ text-decoration: none; font-weight: 800; }
a.link:hover{ text-decoration: underline; }

.glass{
  background: var(--glass);
  border: 1px solid var(--line2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* =========================
   HEADER / NAV
========================= */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--fontTitle);
  font-weight: 900;
  letter-spacing: .02em;
}
.brand-logo{ width:34px; height:34px; object-fit:contain; }

.menu{
  display:flex;
  align-items:center;
  gap: 18px;
  font-weight: 800;
}
.menu a{
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .18s ease, transform .18s ease;
}
.menu a:hover{
  background: rgba(15,23,42,.06);
  transform: translateY(-1px);
}

.burger{
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
  border-radius: 14px;
  display:none;
  align-items:center;
  justify-content:center;
  gap:5px;
  cursor:pointer;
}
.burger span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(15,23,42,.85);
  border-radius: 999px;
}

/* Mobile menu */
@media (max-width: 920px){
  .burger{ display:inline-flex; }
  .menu{
    position: fixed;
    inset: 72px 14px auto 14px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.10);
    box-shadow: var(--shadow2);
  }
  .menu.open{ display:flex; }
}

/* =========================
   BUTTONS / BADGES
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  font-weight: 900;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 14px 30px rgba(2,6,23,.14); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  background: rgba(255,255,255,.92);
  color: rgba(15,23,42,.92);
}
.btn-ghost{
  background: transparent;
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.18);
}
.section.alt .btn-ghost{
  color: rgba(15,23,42,.90);
  border-color: rgba(15,23,42,.12);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(14,24,48,.10);
  box-shadow: 0 10px 26px rgba(17,24,39,.10);
  color: rgba(15,23,42,.90);
}

/* =========================
   HERO (SLIDES + PANEL)
========================= */
.hero{
  position: relative;
  overflow:hidden;
  min-height: clamp(560px, 86vh, 900px);
  padding: clamp(90px, 12vh, 120px) 0 72px;
  display:flex;
  align-items:center;
  background: #0b1220;
}

.hero-slides{
  position:absolute;
  inset:0;
}

.hero-slides .slide{
  position:absolute;
  inset:0;
  opacity:0;
  transform: scale(1.06);
  transition: opacity 900ms ease, transform 1400ms ease;
  background:
    radial-gradient(1200px 560px at 18% 18%, var(--g1), transparent 55%),
    radial-gradient(1000px 520px at 84% 38%, var(--g2), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.42)),
    var(--img);
  background-size: cover;
  background-repeat:no-repeat;
  background-position: center center;
  filter: saturate(1.2) contrast(1.1) brightness(1.04);
}

.hero-slides .slide.active{
  opacity:1;
  transform: scale(1);
}

.hero-scrim{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,.05) 60%, rgba(0,0,0,.22));
  pointer-events:none;
}
.hero-gradient{
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 26% 22%, rgba(212,175,55,.18), transparent 52%),
    radial-gradient(circle at 72% 44%, rgba(59,130,246,.14), transparent 55%);
  pointer-events:none;
  mix-blend-mode: screen;
}

/* content wrapper */
.hero-content{ position:relative; z-index:2; width:100%; }

/* GRID: fondo protagonista + panel a la derecha */
.hero-grid{
  display: grid;
  gap: 22px;
  align-items: center;
  grid-template-columns: 1fr minmax(360px, 520px);
}

/* pantallas grandes */
@media (min-width: 1024px){
  .hero-grid{ grid-template-columns: 1.2fr 0.8fr; }
}

/* panel */
.hero-panel{
  position: relative;
  max-width: 520px;
  width: 100%;
  margin-left: auto;
  padding: 18px 18px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}

/* brillo suave pro */
.hero-panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 22px;
  background: radial-gradient(600px 240px at 15% 10%, rgba(255,255,255,.22), transparent 42%);
  pointer-events:none;
}
.hero-panel::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 22px;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.10) 24%, transparent 48%);
  transform: translateX(-45%);
  animation: ohpShine 7s ease-in-out infinite;
  pointer-events:none;
}
@keyframes ohpShine{
  0%, 58%{ transform: translateX(-45%); opacity: 0; }
  64%{ opacity:.55; }
  100%{ transform: translateX(45%); opacity: 0; }
}

.hero-title{
  margin: 10px 0 10px;
  font-family: var(--fontTitle);
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 10px 26px rgba(0,0,0,.45);
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gold-text{
  background: linear-gradient(90deg, #fff, rgba(255,255,255,.88), rgba(255,255,255,.95));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.hero-subtitle{
  margin: 0 0 14px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,.86);
  max-width: 62ch;
}

.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 6px;
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}

/* badge dentro del panel (discreto) */
.hero-panel .badge{
  background: rgba(15,23,42,.30);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
  box-shadow: none;
}

/* botones en hero */
.hero .btn-primary{
  background: rgba(255,255,255,.92);
  color: #0f172a;
}
.hero .btn-ghost{
  background: rgba(15,23,42,.20);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
}
.hero-badges .badge{
  background: rgba(15,23,42,.22);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.90);
}

/* dots */
.hero-dots{
  position:absolute;
  left:50%;
  bottom: 18px;
  transform: translateX(-50%);
  display:flex;
  gap: 10px;
  z-index: 3;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.44);
  cursor:pointer;
  position: relative;
  overflow:hidden;
}
.dot.active{
  width: 44px;
  background: rgba(255,255,255,.22);
}
.dot.active::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.86);
  width: var(--p, 0%);
  transition: width 120ms linear;
}

/* TYPEWRITER */
#typewriter{ display:inline; white-space: normal !important; overflow-wrap:anywhere; word-break: break-word; position:relative; }
#typewriter::after{
  content:"";
  display:inline-block;
  width: 10px;
  height: 1.05em;
  margin-left: 6px;
  border-left: 3px solid rgba(255,255,255,.9);
  animation: caretBlink 0.9s steps(1) infinite;
  transform: translateY(2px);
  vertical-align: baseline;
}
@keyframes caretBlink{ 0%,50%{opacity:1} 51%,100%{opacity:0} }

/* FIX: typewriter dentro de .gold-text */
.hero-title.gold-text #typewriter,
.hero-title.gold-text #typewriter *{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow: 0 12px 34px rgba(0,0,0,.55);
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

/* HERO mobile */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .section{ padding: 52px 0; }

  .hero{
    min-height: auto;
    padding: 88px 0 76px;
    display: block; /* evita conflicto flex/grid */
  }

  .hero-slides .slide{ background-position: 55% 35%; }

  .hero-scrim{
    background: linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.10) 60%, rgba(0,0,0,.35));
  }

  .hero-grid{
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .hero-panel{
    margin-left: 0;
    max-width: 100%;
    padding: 18px 16px;
    border-radius: 20px;
  }

  .hero-title{
    font-size: clamp(26px, 8.2vw, 40px);
    line-height: 1.10;
    letter-spacing: -0.02em;
    margin: 10px 0 10px;
    min-height: 2.4em; /* reserva 2 líneas */
    text-align: center;
  }

  .hero-subtitle{
    font-size: 15px;
    line-height: 1.55;
    max-width: 48ch;
    margin-inline: auto;
    text-align: center;
  }

  .hero-cta{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-content: center;
  }
  .hero-cta .btn{ width: 100%; padding: 14px 16px; border-radius: 16px; }

  .hero-badges{
    justify-content: center;
  }
  .hero-badges .badge{
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .glass{
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.22);
  }
}

/* Evita overflow raro en grids */
.hero-grid > *,
.bio-card > *{ min-width: 0; }

/* =========================
   LOGOS / IMÁGENES (moderno, limpio, SIN efecto negro)
========================= */
.section.logos{
  padding: 48px 0;
  background: linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,.00));
}

.marquee{
  overflow:hidden;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.06);
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 26px rgba(2,6,23,.08);
  position: relative;
}

.marquee .track{
  display:flex;
  align-items:center;
  gap: 48px;
  padding: 16px 18px;
  width: max-content;
  animation: marqueeMove 38s linear infinite;
  will-change: transform;
}

@keyframes marqueeMove{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.marquee .track img{
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 0.95;
  transition: transform .35s ease, opacity .35s ease;
}
.marquee .track img:hover{
  transform: scale(1.08);
  opacity: 1;
}

@media (min-width: 1200px){
  .marquee .track img{ height: 110px; }
}
@media (max-width: 640px){
  .marquee .track{ gap: 32px; }
  .marquee .track img{ height: 70px; }
}

/* =========================
   BIO (ejecutivo + foto bien)
========================= */
.bio-section{ padding-top: 56px; }
.bio-wrap{ position: relative; }

.bio-card{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow-lg);
}

.bio-kicker{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.08);
}

.bio-title{
  font-family: var(--fontTitle);
  font-size: clamp(26px, 2.5vw, 36px);
  margin: 12px 0 10px;
  line-height: 1.1;
}

.bio-text p{
  line-height: 1.7;
  color: rgba(15,23,42,.86);
}
.bio-text .lead{
  font-size: 16px;
  font-weight: 650;
  color: rgba(15,23,42,.90);
}

.bio-highlights{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}
.chip{
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.08);
}

.bio-media{ display:grid; gap: 12px; align-content: start; }
.bio-photo{
  border-radius: 26px;
  overflow:hidden;
  border: 1px solid rgba(14,24,48,.10);
  box-shadow: var(--shadow-xl);
  background: rgba(255,255,255,.25);
}
.bio-photo img{
  width:100%;
  display:block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
}

.kpis-mini{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpis-mini .mini{
  border-radius: 16px;
  padding: 12px;
  text-align:center;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(14,24,48,.10);
  box-shadow: 0 12px 32px rgba(17,24,39,.10);
}
.kpis-mini .mini-num{ font-weight: 1000; font-size: 16px; }
.kpis-mini .mini-label{ font-size: 12px; opacity:.8; font-weight: 800; margin-top: 4px; }

/* BIO mobile */
@media (max-width: 920px){
  .bio-card{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }
  .bio-media{
    order: -1;
    justify-items: center;
  }
  .bio-photo{ width: min(420px, 92vw); }
  .kpis-mini{ width: min(420px, 92vw); }
  .bio-title{
    font-size: clamp(22px, 6.6vw, 30px);
    line-height: 1.15;
  }
  .bio-text p{
    font-size: 15px;
    line-height: 1.65;
  }
  .chip{ white-space: normal; }
}

/* =========================
   POSTS / NEWS (grid pro)
========================= */
.news-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-end;
  flex-wrap:wrap;
}
.news-head h2{ margin:0; }

.posts{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.post-card{
  grid-column: span 4; /* 3 cols */
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(2,6,23,.10);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
  display:flex;
  flex-direction:column;
}
.post-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(2,6,23,.16);
}

.post-thumb{ display:block; overflow:hidden; }
.post-thumb img{
  width:100%;
  display:block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s ease;
}
.post-card:hover .post-thumb img{ transform: scale(1.03); }

.post-body{
  padding: 16px 16px 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.post-topline{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 0 0 6px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.10);
}
.dot-sep{ opacity:.5; font-weight:900; }

.post-title{
  margin: 2px 0 0;
  font-family: var(--fontTitle);
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta{
  margin: 0;
  color: rgba(15,23,42,.60);
  font-weight: 800;
  font-size: 12.5px;
  opacity: .75;
}

.post-excerpt{
  margin:0;
  color: rgba(15,23,42,.82);
  line-height: 1.6;
  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

.post-actions{
  margin-top:auto;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

/* Laptop median: 2 cols */
@media (max-width: 1100px){
  .post-card{ grid-column: span 6; }
}

/* Mobile: 1 col */
@media (max-width: 640px){
  .post-card{ grid-column: span 12; }
  .news-head{ align-items:flex-start; }
  .post-body{ padding: 14px 14px 12px; }
  .post-title{ font-size: 17px; }
  .post-actions{ gap: 10px; }
}

/* =========================
   GRID, CHECKS, KPIS, TESTIS
========================= */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 920px){ .grid-2{ grid-template-columns:1fr; } }

/* FIX CHECKS – Vision e Impacto */
.checks{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.checks li{
  position: relative;
  padding-left: 34px;
  margin: 10px 0;
  color: rgba(15,23,42,.86);
  font-weight: 650;
}
.checks li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.12);
  font-weight: 1000;
}

.kpis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.kpi{
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 28px rgba(2,6,23,.10);
}
.kpi-num{
  font-family: var(--fontTitle);
  font-weight: 1000;
  font-size: 28px;
  letter-spacing:-.02em;
}
.kpi-label{
  margin-top: 6px;
  color: rgba(15,23,42,.70);
  font-weight: 800;
  font-size: 13px;
}
@media (max-width: 720px){
  .kpis{ grid-template-columns: 1fr; }
}

.testis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 980px){ .testis{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .testis{ grid-template-columns: 1fr; } }

.testi{
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 26px rgba(2,6,23,.10);
}
.testi blockquote{
  margin:0;
  line-height: 1.7;
  color: rgba(15,23,42,.86);
  font-weight: 650;
}
.testi figcaption{
  margin-top: 10px;
  color: rgba(15,23,42,.62);
  font-weight: 900;
  font-size: 13px;
}

/* =========================
   CTA
========================= */
.cta{
  padding: 58px 0;
  background: radial-gradient(900px 420px at 20% 20%, rgba(212,175,55,.16), transparent 55%),
              radial-gradient(900px 420px at 80% 40%, rgba(59,130,246,.12), transparent 55%),
              linear-gradient(180deg, rgba(15,23,42,.06), rgba(15,23,42,.02));
}
.cta-inner{
  border-radius: var(--radius2);
  padding: 22px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
}
.cta-inner h3{
  font-family: var(--fontTitle);
  margin: 0 0 6px;
}
.cta-inner p{ margin: 0 0 12px; color: rgba(15,23,42,.76); }

/* =========================
   CONTACT FORM
========================= */
.contact-list{ padding-left: 18px; }

.contact-form{
  border-radius: var(--radius2);
  padding: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 26px rgba(2,6,23,.10);
}
.contact-form label{
  display:block;
  font-weight: 900;
  margin-bottom: 10px;
  color: rgba(15,23,42,.84);
}
.contact-form input,
.contact-form textarea{
  width:100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  font-family: var(--fontBody);
  font-size: 15px;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(59,130,246,.40);
  box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}

/* =========================
   FOOTER
========================= */
.site-footer{
  padding: 24px 0 34px;
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.72);
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  font-weight: 900;
}
.footer-links a{
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.06);
}
.footer-links a:hover{ background: rgba(15,23,42,.06); }

/* =========================
   ARTICLE (single.php) PRO
========================= */
.article-page{
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(212,175,55,.10), transparent 60%),
    radial-gradient(900px 520px at 82% 26%, rgba(59,130,246,.08), transparent 62%),
    linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,.00));
}

.article-hero{ padding: 28px 0 8px; }

.article-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin: 10px 0 14px;
  font-weight: 900;
}

.article-head{
  border-radius: 24px;
  padding: 18px 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 50px rgba(2,6,23,.10);
}

.article-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
}

.article-title{
  margin: 0;
  font-family: var(--fontTitle);
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(28px, 3.4vw, 46px);
}

.article-excerpt{
  margin: 10px 0 0;
  color: rgba(15,23,42,.76);
  line-height: 1.6;
  font-weight: 650;
  max-width: 70ch;
}

.article-cover{ padding: 14px 0 6px; }

.article-cover-wrap{
  border-radius: 24px;
  overflow:hidden;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 60px rgba(2,6,23,.12);
  background: rgba(255,255,255,.50);
}
.article-cover-wrap img{
  width:100%;
  display:block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-body{ padding: 20px 0 64px; }

.article-grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items:start;
}
@media (max-width: 980px){
  .article-grid{ grid-template-columns: 1fr; }
}

.article-content{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 44px rgba(2,6,23,.10);
  min-width: 0;
}

.article-content p{
  margin: 0 0 14px;
  line-height: 1.85;
  color: rgba(15,23,42,.86);
  text-align: justify;
  text-justify: inter-word;
}

.article-content h2,
.article-content h3{
  font-family: var(--fontTitle);
  margin: 18px 0 10px;
  letter-spacing: -0.01em;
}

.article-content img{
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  display:block;
  margin: 12px 0 18px;
}

.article-content ul,
.article-content ol{
  padding-left: 18px;
  margin: 0 0 14px;
  line-height: 1.85;
}
.article-content blockquote{
  margin: 14px 0;
  padding: 14px 14px;
  border-left: 4px solid rgba(212,175,55,.60);
  background: rgba(15,23,42,.03);
  border-radius: 14px;
  color: rgba(15,23,42,.82);
}

.article-aside{ position: sticky; top: 88px; }
@media (max-width: 980px){
  .article-aside{ position: static; }
}

.aside-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 14px 44px rgba(2,6,23,.10);
}
.aside-title{
  font-weight: 1000;
  margin-bottom: 10px;
}

/* =========================
   REDUCE MOTION
========================= */
@media (prefers-reduced-motion: reduce){
  .hero-slides .slide,
  .hero-panel::after,
  #typewriter::after,
  .track{
    animation:none !important;
    transition:none !important;
  }
}
/* ===============================
   HERO – panel más compacto,
   texto más pequeño,
   vidrio más transparente,
   panel bien a la derecha
================================ */

/* Fuerza panel a la derecha y más angosto */
.hero-grid{
  grid-template-columns: 1fr minmax(300px, 420px) !important;
}

/* Cuadro más pequeño y menos alto */
.hero-panel{
  max-width: 420px !important;
  padding: 14px 14px !important;
  margin-left: auto !important;

  /* más transparente (deja ver la foto) */
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.18) !important;

  backdrop-filter: blur(8px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.05) !important;
}

/* Quita un poco de sombra para no “tapar” el fondo */
.hero-panel{
  box-shadow: 0 16px 38px rgba(0,0,0,.20) !important;
}

/* TÍTULO (typewriter) más pequeño */
.hero-title{
  font-size: clamp(24px, 3.2vw, 38px) !important;
  line-height: 1.08 !important;
}

/* Asegura que el texto animado no escale raro */
#typewriter,
#typewriter *{
  font-size: inherit !important;
}

/* Subtítulo más compacto */
.hero-subtitle{
  font-size: 14.5px !important;
  line-height: 1.5 !important;
}

/* Badges un poco más pequeños */
.hero-badges .badge{
  font-size: 12px !important;
  padding: 7px 9px !important;
}

/* Reduce la capa oscura para ver mejor las fotos */
.hero-scrim{
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.10),
    rgba(0,0,0,.03) 60%,
    rgba(0,0,0,.14)
  ) !important;
}

/* MÓVIL: no tan grande tampoco */
@media (max-width: 720px){

  .hero-grid{
    grid-template-columns: 1fr !important;
  }

  .hero-panel{
    max-width: 100% !important;
    padding: 14px 14px !important;
  }

  .hero-title{
    font-size: clamp(22px, 7vw, 32px) !important;
    min-height: auto !important;
  }
}
/* ===============================
   FIX: que los botones NO se muevan
   cuando escribe el typewriter
================================ */

/* Reserva altura para el título */
.hero-title{
  min-height: 2.6em;   /* desktop */
  display: block;
}

/* En móvil un poco más de espacio */
@media (max-width: 720px){
  .hero-title{
    min-height: 3.4em;
  }
}
/* Ocultar panel del HERO en móviles */
@media (max-width: 720px){
  .hero-panel{
    display: none !important;
  }
}
/* ================================
   LOGOS – estilo moderno premium
================================ */

.logos{
  padding: 48px 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,0));
}

/* contenedor principal */
.logos-marquee{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 26px 0;

  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 48px rgba(2,6,23,.10);
}

/* pista */
.logos-track{
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;

  animation: logosScroll 38s linear infinite;
  will-change: transform;
}

/* pausa al pasar el mouse */
.logos-marquee:hover .logos-track{
  animation-play-state: paused;
}

/* logos */
.logos-track img{
  height: 78px;
  width: auto;
  object-fit: contain;

  filter: none;
  opacity: .95;

  transition: transform .35s ease, opacity .35s ease;
}

/* hover elegante */
.logos-track img:hover{
  transform: scale(1.08);
  opacity: 1;
}

/* degradado lateral (fade moderno) */
.logos-marquee::before,
.logos-marquee::after{
  content:"";
  position:absolute;
  top:0;
  width:120px;
  height:100%;
  z-index:2;
  pointer-events:none;
}

.logos-marquee::before{
  left:0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1),
    rgba(255,255,255,0)
  );
}

.logos-marquee::after{
  right:0;
  background: linear-gradient(
    to left,
    rgba(255,255,255,1),
    rgba(255,255,255,0)
  );
}

/* animación infinita real */
@keyframes logosScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* responsive */
@media (max-width: 720px){

  .logos-track{
    gap: 36px;
  }

  .logos-track img{
    height: 58px;
  }

  .logos-marquee::before,
  .logos-marquee::after{
    width: 60px;
  }
}
/* Hover con zoom más elegante */
.logos-track img{
  height: 78px;
  width: auto;
  object-fit: contain;
  opacity: .95;
  transition:
    transform .35s ease,
    opacity .35s ease,
    filter .35s ease;
  transform-origin: center center;
}

/* 🔥 más grande al pasar el mouse */
.logos-track img:hover{
  transform: scale(1.18);   /* antes 1.08 → ahora más notorio */
  opacity: 1;
  z-index: 5;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.18));
}
/* Hover agrandado – compatible con tu .track actual */
.track img{
  transition:
    transform .35s ease,
    opacity .35s ease,
    filter .35s ease !important;
}

.track img:hover{
  transform: scale(1.15) !important;
  opacity: 1;
  z-index: 5;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.18)) !important;
}
/* ===== LOGOS: más grandes y sin efecto gris ===== */
.track img{
  height: 110px !important;   /* tamaño grande real */
  width: auto !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 0.95;
  transition: transform .25s ease, opacity .25s ease;
}

/* pequeño zoom al pasar el mouse */
.track img:hover{
  transform: scale(1.08) !important;
  opacity: 1;
}

/* en celular un poco más chicos */
@media (max-width:720px){
  .track img{
    height: 80px !important;
  }
}
@media (max-width:720px){

  .bio-card{
    overflow: hidden;
  }

  .bio-photo{
    width: 100% !important;
    max-width: 100% !important;
  }

}
/* ✅ MÓVIL: mostrar la foto completa (sin recorte) */
@media (max-width: 720px){

  .bio-photo{
    background: rgba(255,255,255,.65); /* fondo suave detrás */
  }

  .bio-photo img{
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;     /* 👈 muestra TODO */
    object-position: center center !important;
    aspect-ratio: auto !important;      /* evita forzar recorte */
  }
}
@media (max-width: 720px){
  .bio-photo img{
    aspect-ratio: unset !important;
  }
}
/* =====================================================
   FIX DEFINITIVO BIO FOTO (MÓVIL): NO SE SALE + NO RECORTA
   Pegar al FINAL del styles.css
===================================================== */
@media (max-width: 920px){

  /* la tarjeta no debe permitir desbordes raros */
  .bio-card{
    overflow: hidden !important;
  }

  /* el contenedor ya NO recorta (quitamos overflow) */
  .bio-photo{
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;         /* 👈 clave */
    background: rgba(255,255,255,.65) !important;
    display: grid !important;
    place-items: center !important;
    padding: 10px !important;             /* aire para contain */
  }

  /* la imagen se muestra completa */
  .bio-photo img{
    width: 100% !important;
    max-width: 420px !important;          /* evita gigantesco */
    height: auto !important;
    aspect-ratio: unset !important;       /* 👈 rompe el 4/5 */
    object-fit: contain !important;       /* 👈 muestra toda */
    object-position: center center !important;
    display: block !important;
  }
}
/* =========================================
   BIO FOTO (MÓVIL): más pequeña + encuadrada
   Pegar al FINAL del styles.css
========================================= */
@media (max-width: 720px){

  /* la tarjeta no deja que nada se salga */
  .bio-card{ overflow: hidden !important; }

  /* contenedor de la foto: centrado y con ancho fijo */
  .bio-photo{
  width: min(240px, 78vw) !important;   /* 👈 tamaño de la “tarjeta” */
    margin: 0 auto !important;            /* centrado */
    padding: 10px !important;
    border-radius: 22px !important;
    overflow: hidden !important;          /* encuadra */
    background: rgba(255,255,255,.90) !important;
    border: 1px solid rgba(15,23,42,.10) !important;
    box-shadow: 0 14px 34px rgba(2,6,23,.12) !important;
  }

  /* imagen: encuadrada (sin deformar) */
  .bio-photo img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;         /* encuadra bonito */
    object-position: center 30% !important;
    aspect-ratio: 1 / 1.12 !important;    /* 👈 “retrato” compacto */
  }
}
/* ===== BIO móvil: contenedor + foto centrados ===== */
@media (max-width: 720px){

  /* centra la columna de la foto dentro de la tarjeta */
  .bio-media{
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
  }

  /* ya tienes tamaño pequeño; solo forzamos centrado real */
  .bio-photo{
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* =========================================
   BIO – layout correcto SOLO en móviles
========================================= */
@media (max-width: 720px){

  /* la tarjeta principal */
  .bio-card{
    display: grid !important;
    grid-template-columns: 1fr !important;
    text-align: left;
  }

  /* columna de la foto + minis */
  .bio-media{
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  /* contenedor de la foto */
  .bio-photo{
    width: 240px !important;   /* tamaño pequeño real */
    max-width: 90vw !important;
    margin: 0 auto 10px auto !important;
    padding: 8px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  /* imagen */
  .bio-photo img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center 30% !important;
    aspect-ratio: 1 / 1.15 !important;
  }

  /* los cuadros pequeños (VICEPRESIDENCIA, etc) */
  .kpis-mini{
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 auto !important;
    grid-template-columns: 1fr !important;   /* uno debajo del otro */
    gap: 8px !important;
  }

  .kpis-mini .mini{
    text-align: center !important;
  }
}
