:root {
  --navy: #09234a; --navy2: #102f58; --ink: #152742; --muted: #5a6b85;
  --teal: #05a5a8; --teal2: #0e828c; --mint: #e7f7f5; --cream: #f4f8fb;
  --stroke: #dce5eb; --white: #fff;
  --shadow: 0 10px 30px rgba(9,35,74,.05);
  --shadow-hover: 0 20px 40px rgba(9,35,74,.12);
  --shadow-lg: 0 25px 50px -12px rgba(11,27,61,.15);
  --radius: 8px; 
  --max: 1200px;
}

/* IMÁGENES DE SERVICIOS */
.bg-serv-clinico  { --bg-img: url('imagenes/Clinico_asis.jpg'); }
.bg-serv-recluta  { --bg-img: url('imagenes/Reclutamiento.jpeg'); }
.bg-serv-perfiles { --bg-img: url('imagenes/Perfiles_Espe.jpg'); }
.bg-serv-soporte  { --bg-img: url('imagenes/Soporte_Ad.jpeg'); }
.bg-serv-apoyo    { --bg-img: url('imagenes/Apoyo_Op.png'); }
.bg-serv-aux      { --bg-img: url('imagenes/Servicios_Auxiliares.jpg'); }

/* IMÁGENES DE EXPERIENCIA Y HOSPITALES */
.bg-hospital-san        { --bg-img: url('imagenes/Hospital_San.jpg'); }
.bg-hospital-camilo     { --bg-img: url('imagenes/Hospital_SanCamilo.jpg'); }
.bg-hospital-florida    { --bg-img: url('imagenes/Hospital_Clinico.png'); }
.bg-hospital-torax      { --bg-img: url('imagenes/Instituto_Nacional.jpg'); }
.bg-hospital-parral     { --bg-img: url('imagenes/Hospital_Parral.jpg'); }
.bg-hospital-villarrica { --bg-img: url('imagenes/La_Araucania.jpg'); }
.bg-hospital-talagante  { --bg-img: url('imagenes/talagante-scaled.jpg'); }
.bg-hospital-curico     { --bg-img: url('imagenes/hospital-curico.jpg'); }
.bg-hospital-linares    { --bg-img: url('imagenes/Linares.jpg'); }
.bg-hospital-pitru      { --bg-img: url('imagenes/Pitru.jpg'); }
.bg-codial             { --bg-img: url('imagenes/CODIAL.jpg'); }

/* IMÁGENES DE COLABORADORES / PLATAFORMAS */
.bg-geovictoria { --bg-img: url('imagenes/geovictoria.jpg'); }
.bg-laaraucana  { --bg-img: url('imagenes/laaraucana.jpg'); }
.bg-rex         { --bg-img: url('imagenes/rex.jpg'); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;}
body.menu-open { overflow: hidden; }
::selection { background: var(--teal); color: var(--white); }
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none;}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
img { max-width: 100%; display: block; }

svg { display: block; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon.sm { width: 17px; height: 17px; }
.icon.lg { width: 28px; height: 28px; }

.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 80px 0; }
.section-soft { background: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal2); }
.eyebrow:before { content: ''; width: 30px; height: 1px; background: var(--teal); }
.eyebrow.on-dark { color: var(--mint); }
.eyebrow.on-dark:before { background: var(--mint); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, 'DM Sans', Arial, sans-serif; }
h2 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.15; letter-spacing: -.03em; color: var(--navy); font-weight: 800; margin: 15px 0 20px; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; font-weight: 700;}
p { line-height: 1.7; color: var(--muted); font-size: 15px; margin-bottom: 20px;}
.section-head { max-width: 650px; }
.section-head.center { margin: 0 auto; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border: 1px solid transparent; padding: 12px 20px; border-radius: var(--radius); font-weight: 700; font-size: 13px; letter-spacing: .02em; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.btn .icon { transition: transform .3s ease; }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(5,165,168,.2); }
.btn-primary:hover { background: var(--teal2); box-shadow: 0 12px 25px rgba(5,165,168,.3); transform: translateY(-3px); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.3); color: white; border: 1px solid rgba(255,255,255,.3);}
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-3px);}
.btn-outline { border: 1px solid var(--stroke); background: transparent; color: var(--navy); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal2); background: var(--mint); transform: translateY(-3px);}

/* Topline & Nav */
.topline { background: #05142b; color: #a1b5c9; font-size: 11px; letter-spacing: .03em; font-weight: 500; padding: 6px 0;}
.topline .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.topline .group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topline a { display: flex; align-items: center; gap: 6px; transition: color .2s; }
.topline a:hover { color: #fff; }
.topline .dot { width: 4px; height: 4px; background: var(--teal); border-radius: 50%; display: inline-block; margin: 0 6px 2px; }

.nav-wrap { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); box-shadow: 0 2px 20px rgba(14,44,74,.06); transition: all 0.3s ease; }
.nav { height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand { display: flex; gap: 10px; align-items: center; min-width: 180px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand-name { display: block; font: 800 13px/1.1 Manrope,Arial,sans-serif; color: var(--navy); text-transform: uppercase;}
.brand-name span { display: block; color: var(--teal); font-size: 9px; margin-top: 2px; letter-spacing: .2em; text-transform: none; }

.nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 700; color: var(--muted); transition: color .2s; position: relative;}
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--teal); transition: width .3s cubic-bezier(0.165, 0.84, 0.44, 1);}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 38px; height: 38px; border: 1px solid var(--stroke); border-radius: var(--radius); align-items: center; justify-content: center; background: #fff; color: var(--navy); flex-shrink: 0; }

/* Hero */
.hero { 
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); 
  padding: 60px 0 100px; position: relative; overflow: hidden; 
}
.hero::before {
    content: ''; position: absolute; right: -10%; top: -30%; width: 500px; height: 500px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); z-index: 1; pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; left: -10%; bottom: -30%; width: 400px; height: 400px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.04); z-index: 1; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-centered { max-width: 850px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; 
  background: rgba(5, 165, 168, 0.15); border: 1px solid rgba(5, 165, 168, 0.4); 
  border-radius: 30px; color: var(--mint); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
  backdrop-filter: blur(6px); box-shadow: 0 4px 20px rgba(5,165,168,0.2);
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px; background: var(--teal); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(5,165,168, 0.7); animation: pulse-ring 2s infinite;
}

.hero h1 { font-size: clamp(30px, 5.5vw, 56px); line-height: 1.15; letter-spacing: -.04em; color: #fff; margin: 0 0 16px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--mint); border-bottom: 3px solid var(--teal); padding-bottom: 2px;}
.hero-copy-text { color: #cbd5e1; font-size: 14px; line-height: 1.7; max-width: 650px; margin-bottom: 25px; }
.hero-actions-center { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 35px; width: 100%; }

.hero-showcase {
  position: relative; width: 100%; max-width: 850px; margin: 0 auto;
  border-radius: 16px; overflow: visible; box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2); background: var(--teal);
}
.hero-showcase::before {
  content: ''; position: absolute; top: -14px; left: -14px; width: 80px; height: 80px;
  border-top: 2px solid var(--teal); border-left: 2px solid var(--teal); 
  border-top-left-radius: 18px; pointer-events: none; z-index: 5;
}
.hero-showcase-inner { position: relative; border-radius: 16px; overflow: hidden; width: 100%; height: 260px; z-index: 1; }
@media(min-width: 768px) { .hero-showcase-inner { height: 360px; } }
.hero-showcase-inner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease;}
.hero-showcase:hover .hero-showcase-inner img { transform: scale(1.03); }

.hero-showcase-badge {
  position: absolute; bottom: 16px; left: 16px; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); border: 1px solid var(--stroke);
  padding: 10px 14px; border-radius: var(--radius); display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 25px rgba(9, 35, 74, 0.15); text-align: left; z-index: 3;
}
.hero-showcase-badge .symbol { width: 32px; height: 32px; background: var(--mint); color: var(--teal); display: flex; align-items: center; justify-content: center; border-radius: 6px; flex-shrink: 0;}
.hero-showcase-badge strong { color: var(--navy); font-size: 12px; display: block; font-family: Manrope, sans-serif;}
.hero-showcase-badge small { font-size: 10px; color: var(--muted); display: block; margin-top: 1px;}

.hero-heart-float {
  position: absolute; bottom: -16px; right: 20px; width: 52px; height: 52px;
  background: var(--teal); border-radius: 50%; display: grid; place-items: center;
  color: white; box-shadow: 0 10px 25px rgba(5,165,168,0.5); border: 3px solid #fff;
  z-index: 4; transition: transform 0.3s ease;
}
.hero-heart-float:hover { transform: scale(1.1) rotate(5deg); }
.hero-heart-float .icon { width: 22px; height: 22px; stroke-width: 2; }

.hero-region-badge-bottom {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.06); 
  border: 1px solid rgba(255, 255, 255, 0.12); padding: 6px 14px 6px 8px; border-radius: 30px; 
  margin-top: 22px; backdrop-filter: blur(6px); max-width: 100%; text-align: left;
}
.hero-avatars { display: flex; align-items: center; flex-shrink: 0; }
.hero-avatar-circle {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800;
  margin-left: -7px; color: var(--navy);
}
.hero-avatar-circle:first-child { margin-left: 0; }
.ac-1 { background: #b7f4ec; } .ac-2 { background: #fed7aa; } .ac-3 { background: #bfdbfe; }
.hero-region-badge-bottom span { color: #cbd5e1; font-size: 11px; font-weight: 500;}

/* Facts */
.facts { position: relative; z-index: 5; margin-top: -25px; }
.facts-card { 
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; 
  box-shadow: 0 15px 40px rgba(9,35,74,0.1); border-radius: var(--radius); 
  padding: 25px 15px; border: 1px solid var(--stroke); transition: transform 0.3s ease;
}
.facts-card:hover { transform: translateY(-4px); }
.fact { padding: 0 15px; border-left: 2px solid var(--stroke); transition: all 0.3s ease;}
.fact:hover { border-left-color: var(--teal); }
.fact:first-child { border-left: none; }
.fact strong { font-family: Manrope, sans-serif; font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--navy); display: block; line-height: 1; margin-bottom: 6px;}
.fact span { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;}

/* Nosotros */
.section-about { padding-top: 90px; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.photo-about { position: relative; }
.photo-about:before { content: ''; position: absolute; left: -15px; top: -15px; width: 120px; height: 120px; background: var(--mint); border-radius: var(--radius); z-index: 0; }
.photo-about img { width: 100%; height: 400px; object-fit: cover; border-radius: 14px; position: relative; z-index: 1; box-shadow: 0 15px 35px rgba(9,35,74,0.12); }
.about-sticker { 
  position: absolute; bottom: -20px; right: -10px; background: var(--navy); color: white; 
  width: 210px; padding: 20px; border-radius: 12px; box-shadow: 0 15px 30px rgba(7,28,58,0.25); 
  z-index: 2; border: 1px solid rgba(255,255,255,0.1);
}
.about-sticker .icon { color: var(--teal); margin-bottom: 8px; }
.about-sticker b { display: block; font: 700 13px/1.4 Manrope,sans-serif; }

.pill-list { display: grid; gap: 12px; margin-top: 25px; }
.pill { 
  display: flex; gap: 14px; align-items: center; color: var(--navy); font-size: 14px; font-weight: 700; 
  background: var(--cream); padding: 14px 18px; border-radius: 10px; border: 1px solid var(--stroke);
  box-shadow: 0 4px 12px rgba(9,35,74,0.02); transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.pill:hover { transform: translateX(4px); border-color: var(--teal); background: #fff; box-shadow: 0 6px 20px rgba(5,165,168,0.1); }

@keyframes check-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(5, 165, 168, 0.5); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(5, 165, 168, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(5, 165, 168, 0); }
}
.pill .check { 
  width: 28px; height: 28px; background: var(--mint); border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; color: var(--teal2); 
  flex-shrink: 0; border: 1px solid rgba(5,165,168,0.3);
  animation: check-pulse 2s infinite ease-in-out;
}
.pill .check .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.founder-line { margin-top: 30px; padding: 18px; background: var(--cream); border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; border: 1px solid var(--stroke);}
.founder-line b { display: block; color: var(--navy); font-size: 13px; margin-bottom: 4px; font-family: Manrope, sans-serif;}
.founder-line span { font-size: 12px; color: var(--muted); line-height: 1.5;}

/* Servicios y Experiencia */
.services { background: var(--cream); border-top: 1px solid var(--stroke); }
.serv-top { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; }
.service-grid, .experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card, .experience-card { 
  background: #fff; border-radius: var(--radius); padding: 25px; 
  position: relative; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); 
  border: 1px solid var(--stroke); overflow: hidden; z-index: 1;
}
.service-card > *, .experience-card > * { position: relative; z-index: 3; }
.service-card::before, .experience-card::before { 
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; 
  background-image: var(--bg-img); background-size: cover; background-position: center; 
  z-index: 1; opacity: 0; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); transform: scale(1.1); 
}
.service-card::after, .experience-card::after { 
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; 
  background: linear-gradient(to top, rgba(9,35,74,0.95), rgba(5,165,168,0.75)); 
  z-index: 2; opacity: 0; transition: opacity 0.4s ease; 
}

.service-card:hover, .experience-card:hover,
.service-card.touch-active, .experience-card.touch-active { 
  transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; 
}
.service-card:hover::before, .experience-card:hover::before,
.service-card.touch-active::before, .experience-card.touch-active::before { opacity: 1; transform: scale(1); }
.service-card:hover::after, .experience-card:hover::after,
.service-card.touch-active::after, .experience-card.touch-active::after { opacity: 1; }

.service-card h3, .service-card p, .experience-card h3, .experience-card p, .experience-card .region { transition: color 0.4s ease; }
.service-card:hover h3, .service-card:hover p, .experience-card:hover h3, .experience-card:hover p,
.service-card.touch-active h3, .service-card.touch-active p, .experience-card.touch-active h3, .experience-card.touch-active p { color: #fff; }
.experience-card:hover .region, .experience-card.touch-active .region { color: var(--mint); }

.service-icon { 
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; 
  border-radius: 8px; color: var(--teal); background: var(--mint); margin-bottom: 20px; 
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
}
.service-card:hover .service-icon, .service-card.touch-active .service-icon { background: rgba(255,255,255,0.2); color: #fff; transform: scale(1.05) rotate(-5deg); backdrop-filter: blur(4px);}
.service-card h3, .experience-card h3 { font-size: 17px; margin-bottom: 12px;}
.service-card p, .experience-card p { font-size: 13px; margin-bottom: 0; }
.region { color: var(--navy); font-weight: 700; font-size: 11px; display: flex; gap: 8px; align-items: center; margin-bottom: 15px; text-transform: uppercase; letter-spacing: .05em;}
.region:before { content: ''; width: 7px; height: 7px; background: var(--teal); border-radius: 2px; transition: background 0.4s ease;}
.experience-card:hover .region:before, .experience-card.touch-active .region:before { background: var(--mint); }

/* SECCIÓN COLABORADORES Y PORTALES (DISEÑO MEJORADO Y LEGIBLE) */
.section-colaboradores { background: #fff; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); padding: 80px 0; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.partner-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: #ffffff; border-radius: 12px; padding: 28px 24px;
  border: 1px solid var(--stroke); position: relative; overflow: hidden;
  text-decoration: none; color: inherit; min-height: 250px;
  box-shadow: 0 4px 15px rgba(9,35,74,0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: 1;
}
.partner-card > * { position: relative; z-index: 3; }

/* Capa de imagen de fondo (oculta por defecto para claridad absoluta) */
.partner-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: var(--bg-img); background-size: cover; background-position: center;
  z-index: 1; opacity: 0; transform: scale(1.08); transition: all 0.5s ease;
}

/* Capa de oscurecimiento y color institucional */
.partner-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(9,35,74,0.94) 0%, rgba(5,165,168,0.85) 100%);
  z-index: 2; opacity: 0; transition: opacity 0.4s ease;
}

/* Estado activo / hover / touch en móviles */
.partner-card:hover, .partner-card.touch-active {
  transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.partner-card:hover::before, .partner-card.touch-active::before { opacity: 1; transform: scale(1); }
.partner-card:hover::after, .partner-card.touch-active::after { opacity: 1; }

.partner-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.partner-tag {
  background: var(--mint); color: var(--teal2); border: 1px solid rgba(5,165,168,0.3);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 20px; transition: all 0.3s ease;
}
.partner-card:hover .partner-tag, .partner-card.touch-active .partner-tag {
  background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.4);
}
.partner-link-icon {
  width: 34px; height: 34px; background: var(--cream); border-radius: 50%;
  display: grid; place-items: center; color: var(--navy); border: 1px solid var(--stroke);
  transition: all 0.3s ease;
}
.partner-card:hover .partner-link-icon, .partner-card.touch-active .partner-link-icon {
  background: var(--teal); color: #fff; border-color: transparent; transform: rotate(45deg);
}

.partner-body h3 { 
  font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; 
  transition: color 0.3s ease; font-family: Manrope, Arial, sans-serif;
}
.partner-body p { 
  font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; 
  transition: color 0.3s ease; 
}
.partner-card:hover .partner-body h3, .partner-card.touch-active .partner-body h3,
.partner-card:hover .partner-body p, .partner-card.touch-active .partner-body p { color: #fff; }

.partner-footer {
  margin-top: 25px; padding-top: 14px; border-top: 1px solid var(--stroke);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700; color: var(--teal2); transition: all 0.3s ease;
}
.partner-card:hover .partner-footer, .partner-card.touch-active .partner-footer {
  color: var(--mint); border-top-color: rgba(255,255,255,0.25);
}
.partner-footer .icon { transition: transform 0.3s ease; }
.partner-card:hover .partner-footer .icon, .partner-card.touch-active .partner-footer .icon {
  transform: translateX(5px);
}

/* Proceso */
.process { background: var(--navy); color: white; position: relative; padding: 90px 0; }
.process h2 { color: white; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 40px; position: relative; }
.steps::before { content: ''; position: absolute; top: 22px; left: 10%; right: 10%; height: 1px; background: rgba(255,255,255,0.1); z-index: 1;}
.step { position: relative; z-index: 2; padding: 25px 20px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius); transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.step:hover { background: rgba(255,255,255,0.05); transform: translateY(-4px); border-color: rgba(5,165,168,.5); }
.step-number { width: 44px; height: 44px; background: var(--navy); border: 2px solid var(--teal); color: var(--mint); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin-bottom: 16px; box-shadow: 0 0 0 6px var(--navy);}
.step h3 { color: #fff; font-size: 15px; margin-bottom: 8px; }
.step p { color: #8da1b5; font-size: 12px; line-height: 1.6; margin: 0; }

/* Cobertura */
.coverage { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%); border-radius: var(--radius); padding: 50px; align-items: center; border: 1px solid #ccfbf1; box-shadow: var(--shadow); }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.coverage-tags .tag { padding: 6px 14px; border: 1px solid var(--teal); border-radius: 30px; background: var(--white); color: var(--teal2); font-size: 12px; font-weight: 600; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); display: inline-flex; align-items: center; gap: 5px; }
.coverage-tags .tag:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(13,148,136,0.2); }
.coverage-network { position: relative; min-height: 380px; display: flex; justify-content: center; align-items: center; }
.coverage-network::before { content: ''; position: absolute; top: 10%; bottom: 10%; left: 50%; width: 2px; background: linear-gradient(to bottom, transparent, var(--teal), transparent); transform: rotate(15deg); opacity: 0.5; }
.region-point { position: absolute; display: flex; align-items: center; gap: 12px; background: transparent; padding: 0; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27); cursor: default; z-index: 2; }
.region-point:hover { transform: scale(1.05) translateY(-4px); z-index: 10;}
@keyframes pulse-ring { 0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(13, 148, 136, 0); } 100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); } }
.region-point .pt-wrapper { position: relative; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;}
.region-point .pt { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); position: relative; z-index: 2;}
.region-point .pt::after { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border-radius: 50%; border: 2px solid var(--teal); animation: pulse-ring 2s infinite; z-index: 1; }
.region-info { background: var(--white); padding: 10px 16px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 2px;}
.region-info b { font-size: 13px; color: var(--navy); font-weight: 800; display: flex; align-items: center; gap: 6px; }
.region-info span { font-size: 11px; color: var(--muted); font-weight: 500;}
.region-info .icon { width: 14px; height: 14px; color: var(--teal); }
.rp-1 { top: 15%; left: 5%; } .rp-2 { top: 50%; left: 0%; } .rp-3 { bottom: 15%; left: 10%; } .rp-4 { top: 30%; right: 5%; flex-direction: row-reverse;} .rp-5 { bottom: 30%; right: 10%; flex-direction: row-reverse;}
.region-point.rp-4 .region-info, .region-point.rp-5 .region-info { text-align: right; align-items: flex-end;}

/* Talento Zambrano */
.section-personas { padding: 90px 0; background: #fff; }
.people-band { 
  background: linear-gradient(135deg, #071f43 0%, #0d3858 100%); 
  border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-lg);
}
.people-band::before {
    content: ''; position: absolute; right: -15%; top: -50%; width: 600px; height: 600px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); z-index: 0; pointer-events: none;
}
.people-band::after {
    content: ''; position: absolute; right: 0%; top: -10%; width: 400px; height: 400px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.04); z-index: 0; pointer-events: none;
}
.people-content { 
  display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 40px; 
  padding: 60px 40px; position: relative; z-index: 2; 
}
.people-content h2 { color: #fff; margin-bottom: 16px; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15; letter-spacing: -0.02em; max-width: 580px;}
.people-content p { color: #a1b5c9; font-size: 14px; line-height: 1.7; margin-bottom: 25px; max-width: 540px;}

.people-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.people-tags span { 
  padding: 8px 16px; border-radius: 30px; background: rgba(255,255,255,0.03); 
  border: 1px solid rgba(255,255,255,0.2); font-size: 12px; color: #fff; font-weight: 600; 
  display: inline-flex; align-items: center; gap: 6px; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.people-tags span:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); transform: translateY(-3px); }
.people-tags span .icon { width: 14px; height: 14px; color: var(--mint); }

.people-action { text-align: right; display: flex; flex-direction: column; align-items: flex-end;}
.people-action .btn { 
  padding: 16px 28px; font-size: 14px; border-radius: 8px; background: #fff; color: var(--navy); 
  border: none; font-weight: 700; box-shadow: 0 10px 25px rgba(0,0,0,0.2); animation: button-pulse 2s infinite ease-in-out;
}
@keyframes button-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.people-action .btn:hover { background: var(--mint); color: var(--teal2); transform: translateY(-3px) scale(1.05); animation: none;}
.people-action .btn .icon { width: 16px; height: 16px; transition: transform 0.3s ease;}
.people-action .btn:hover .icon { transform: translateX(4px); }
.people-action small { font-size: 11px; color: #8da1b5; margin-top: 12px; max-width: 260px; text-align: right; line-height: 1.4;}

/* FAQ y Contacto */
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; }
.faq-list details { border: 1px solid var(--stroke); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; background: #fff; transition: box-shadow .3s;}
.faq-list details:hover { box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; color: var(--navy); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; font-size: 22px; color: var(--teal); transition: transform .3s ease; font-weight: 400;}
.faq-list details[open] summary:after { transform: rotate(45deg); }
.faq-list details p { margin: 12px 0 0 0; font-size: 13px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.contact-info-list { display: grid; gap: 16px; margin-top: 25px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--stroke); border-radius: var(--radius); transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.contact-item:hover { transform: translateX(4px); border-color: var(--teal); box-shadow: var(--shadow-sm);}
.contact-item .ic { width: 42px; height: 42px; display: grid; place-items: center; background: var(--mint); border-radius: 8px; color: var(--teal); }
.contact-item b { display: block; font-size: 12px; color: var(--navy); margin-bottom: 2px;}
.contact-item a, .contact-item span { font-size: 13px; color: var(--muted);}

.contact-card { background: #fff; padding: 35px; border: 1px solid var(--stroke); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .05em;}
.field input, .field textarea, .field select { width: 100%; background: var(--cream); border: 1px solid var(--stroke); border-radius: 6px; padding: 11px 14px; font-size: 13px; transition: all .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--mint); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }

.file-drop-area { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 25px; background: var(--cream); border: 2px dashed var(--stroke); border-radius: 8px; transition: all 0.3s ease; text-align: center; cursor: pointer;}
.file-drop-area:hover { background: var(--mint); border-color: var(--teal); }
.file-drop-area .icon-wrap { width: 36px; height: 36px; background: #fff; border-radius: 50%; display: grid; place-items: center; color: var(--teal); box-shadow: 0 2px 10px rgba(0,0,0,.05);}
.file-msg { font-size: 13px; color: var(--navy); font-weight: 600; margin: 0;}
.file-input { position: absolute; left: 0; top: 0; height: 100%; width: 100%; cursor: pointer; opacity: 0; }

/* WhatsApp */
@keyframes whatsapp-subtle-pulse {
  0% { transform: scale(1); box-shadow: 0 10px 25px rgba(37,211,102,0.4); }
  50% { transform: scale(1.04); box-shadow: 0 12px 30px rgba(37,211,102,0.6); }
  100% { transform: scale(1); box-shadow: 0 10px 25px rgba(37,211,102,0.4); }
}
.whatsapp-container { position: fixed; right: 24px; bottom: 24px; z-index: 110; display: flex; align-items: center; gap: 10px; }
.whatsapp-tooltip {
  background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 30px;
  font-size: 12px; font-weight: 700; box-shadow: 0 10px 25px rgba(9,35,74,0.15);
  border: 1px solid var(--stroke); opacity: 0; transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); pointer-events: none; white-space: nowrap;
}
.whatsapp-container:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); pointer-events: auto; }
.whatsapp { 
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; 
  background: #25D366; color: #fff; box-shadow: 0 10px 25px rgba(37,211,102,0.4); 
  animation: whatsapp-subtle-pulse 3s infinite ease-in-out; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27); 
}
.whatsapp:hover { transform: translateY(-5px) scale(1.08); animation: none; }
.whatsapp .icon { width: 28px; height: 28px; }

/* Footer */
footer { background: var(--navy); color: #8da1b5; padding: 60px 0 25px; border-top: 4px solid var(--teal);}
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 35px; padding-bottom: 40px; }
.footer-main h4 { color: #fff; font-size: 14px; margin-bottom: 16px;}
.footer-links { display: grid; gap: 10px;}
.footer-links a { font-size: 13px; transition: all 0.2s; display: inline-block;}
.footer-links a:hover { color: var(--teal); transform: translateX(3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; }

/* Animaciones Scroll */
.reveal-up { opacity: 0; transform: translateY(20px); transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); will-change: transform, opacity; }
.reveal-left { opacity: 0; transform: translateX(-20px); transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); will-change: transform, opacity; }
.reveal-right { opacity: 0; transform: translateX(20px); transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); will-change: transform, opacity; }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); will-change: transform, opacity; }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: translate(0) scale(1); }

.delay-100 { transition-delay: 80ms; }
.delay-200 { transition-delay: 150ms; }
.delay-300 { transition-delay: 220ms; }
.delay-400 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .experience-card, .partner-card, .step, .contact-item, .whatsapp, .people-tags span { transition: none; }
}

/* Responsivo para Móviles y Tablets */
@media(max-width: 992px){
  .about-grid, .serv-top, .coverage, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .service-grid, .experience-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-card { grid-template-columns: repeat(2, 1fr); gap: 15px;}
  .fact { border-left: none !important; border-top: 2px solid var(--stroke); padding: 12px 0 0 0;}
  .fact:first-child, .fact:nth-child(2) { border-top: 2px solid var(--teal); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .nav-links { display: none; } 
  .menu-btn { display: flex; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .coverage-network { min-height: 400px; }
  .people-content { grid-template-columns: 1fr; text-align: left; padding: 45px 30px; }
  .people-action { text-align: left; align-items: flex-start; margin-top: 15px;}
  
  .topline { font-size: 10px; padding: 6px 0; }
  .topline .container { justify-content: center; text-align: center; }
  .topline .group { justify-content: center; gap: 12px; }
}

@media(max-width: 768px){
  .nav > .btn-primary { display: none; }
  .menu-btn { display: flex; }
}

@media(max-width: 600px){
  .service-grid, .experience-grid, .partner-grid, .steps, .form-grid, .footer-main { grid-template-columns: 1fr; }
  .topline { display: none; }
  
  .hero { padding: 40px 0 80px; }
  .hero h1 { font-size: 28px; }
  .hero-copy-text { font-size: 13px; }
  .hero-showcase-inner { height: 220px; }
  .hero-showcase-badge { bottom: 12px; left: 12px; padding: 8px 12px; gap: 8px; }
  .hero-showcase-badge strong { font-size: 11px; }
  .hero-heart-float { width: 44px; height: 44px; bottom: -10px; right: 15px; }
  .hero-heart-float .icon { width: 18px; height: 18px; }
  
  .coverage { padding: 24px; }
  .people-content { padding: 35px 20px; }
  .people-action { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center;}
  
  .whatsapp-tooltip { display: none; }
  .whatsapp { right: 18px; bottom: 18px; width: 48px; height: 48px; }
  .whatsapp .icon { width: 24px; height: 24px; }
  
  .coverage-network::before { display: none; }
  .coverage-network { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 15px 0; min-height: auto; border: none; background: transparent;}
  .region-point { position: relative; inset: auto !important; flex-direction: row !important; width: 100%; box-shadow: none; border-color: transparent;}
  .region-point .region-info { width: 100%; text-align: left !important; align-items: flex-start !important;}
  
  .facts-card { padding: 20px 10px; }
  .fact strong { font-size: 24px; }
}