/* ===================================================================
   Tema claro — paleta tomada del logo (cian → azul → marino)
   Se carga DESPUÉS de site.css y service.css y reemplaza los fondos oscuros.
   =================================================================== */
:root {
    --cyan: #00A8D6;
    --blue: #0073B2;
    --navy: #001B7E;
    --ink: #0B1F4B;
    --text: #1B2B45;
    --muted: #5A6B85;
    --light-gray: #F4F8FC;
    --soft: #EAF4FB;
    --line: rgba(0, 115, 178, 0.18);
    --shadow: 0 12px 40px rgba(0, 40, 110, 0.09);
    --shadow-gold: 0 10px 26px rgba(0, 60, 145, 0.28);
    /* degradado del logo, usado en botones */
    --grad: linear-gradient(180deg, #00B2DD 0%, #0073B2 52%, #001B7E 100%);
    --grad-h: linear-gradient(135deg, #00A8D6 0%, #0073B2 50%, #001B7E 100%);
}

body { background: #fff; color: var(--text); }

/* ---------- Botones: degradado del logo ---------- */
.btn-primary, .btn-primary-large, .nav-menu .cta-menu, .btn-service {
    background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-gold);
}
.btn-primary:hover, .btn-primary-large:hover, .nav-menu .cta-menu:hover, .btn-service:hover {
    background: var(--grad); color: #fff; filter: brightness(1.08); box-shadow: 0 16px 36px rgba(0, 60, 145, 0.38);
}
.btn-secondary, .btn-secondary-large, .btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--blue); }
.btn-secondary:hover, .btn-secondary-large:hover, .btn-ghost:hover { background: var(--soft); color: var(--navy); border-color: var(--navy); }
.btn-service { box-shadow: none; }
.btn-service:hover { box-shadow: var(--shadow-gold); }

/* ---------- Navegación ---------- */
.navbar { background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid #E3ECF5; }
.navbar.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 8px 30px rgba(0, 40, 110, 0.1); }
.logo img { height: 48px; }
.nav-menu > li > a:not(.cta-menu) { color: var(--ink); }
.nav-menu > li > a:not(.cta-menu) .lucide { color: var(--blue); }
.nav-menu > li > a:not(.cta-menu):hover, .nav-menu > li > a.active { color: var(--navy); background: var(--soft); }
.dropdown-menu { background: #fff; border: 1px solid #E3ECF5; box-shadow: 0 24px 60px rgba(0, 40, 110, 0.16); }
.dropdown-menu a { color: var(--ink); }
.dropdown-menu a .ico { background: var(--soft); color: var(--blue); }
.dropdown-menu a:hover { background: var(--light-gray); color: var(--navy); }
.dropdown-menu a:hover .ico { background: var(--grad); color: #fff; }
.language-switch .lang-btn { color: var(--ink); border-color: #D5E2EF; background: #fff; }
.language-switch .lang-btn:hover { background: var(--soft); border-color: var(--blue); }
.language-switch .lang-btn .lucide { color: var(--blue); }
.mobile-menu-toggle { background: var(--soft); border-color: #D5E2EF; }
.mobile-menu-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(900px 600px at 80% 45%, rgba(0, 168, 214, 0.16), transparent 62%),
        radial-gradient(700px 500px at 0% 100%, rgba(0, 27, 126, 0.07), transparent 60%),
        linear-gradient(180deg, #FFFFFF, #F1F8FD);
}
.hero::before {
    background-image:
        linear-gradient(rgba(0, 115, 178, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 115, 178, 0.07) 1px, transparent 1px);
}
.hero-badge { background: var(--soft); border-color: rgba(0, 115, 178, 0.25); color: var(--navy); }
.hero-badge .lucide { color: var(--blue); }
.hero h1 { color: var(--ink); }
.hero h1 em { background: var(--grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); }
.benefit-item { color: var(--ink); font-weight: 500; }
.benefit-item .ico { background: var(--soft); color: var(--blue); }
.hero-call { color: var(--ink); }
.hero-call .ico { border-color: #CFE0EE; color: var(--blue); background: #fff; }
.hero-call:hover .ico { background: var(--grad); color: #fff; border-color: transparent; }
.hero-note { color: var(--muted); }
.hero-note .lucide { color: var(--blue); }

#us-map { filter: drop-shadow(0 20px 40px rgba(0, 60, 145, 0.12)); }
.map-state { fill: rgba(0, 115, 178, 0.07); stroke: rgba(0, 115, 178, 0.35); }
.map-state.lit { fill: rgba(0, 168, 214, 0.18); stroke: rgba(0, 115, 178, 0.6); }
.map-state.active { fill: rgba(0, 168, 214, 0.55); stroke: var(--navy); }
.map-chip { background: rgba(255, 255, 255, 0.95); border: 1px solid #E3ECF5; color: var(--ink); box-shadow: 0 14px 36px rgba(0, 40, 110, 0.14); }
.map-chip .ico { background: var(--soft); color: var(--blue); }
.map-chip span.sm { color: var(--muted); }

/* ---------- Barra de confianza ---------- */
.trust-bar { background: #fff; border-top: 1px solid #E3ECF5; border-bottom: 1px solid #E3ECF5; }
.trust-item .ico { background: var(--soft); color: var(--blue); }
.trust-item strong { color: var(--navy); }
.trust-item span.t { color: var(--muted); }

/* ---------- Secciones y tarjetas ---------- */
.services-section { background: #fff; }
.how-section, .sv-section.alt, .contact-section, .service-content { background: var(--light-gray); }
.eyebrow { color: var(--blue); }
.service-card-clean { border-color: #E3ECF5; }
.service-card-clean::after { background: var(--grad); }
.card-ico, .sv-benefit .ico, .sv-card .ico, .sv-req-item .ico, .sv-rel .ico { background: var(--soft); color: var(--blue); }
.service-card-clean:hover .card-ico, .sv-benefit:hover .ico, .sv-card:hover .ico, .sv-req-item:hover .ico, .sv-rel:hover .ico { background: var(--grad); color: #fff; }
.rate-value { color: var(--blue); }
.service-rate { border-color: #DCE7F2; }
.service-features-list li .lucide { color: var(--blue); }
.step-num { color: rgba(0, 115, 178, 0.16); }
.sv-rel .more, .highlight-box h3 .lucide, .highlight-box h4 .lucide, .content-section h2 .lucide { color: var(--blue); }

/* ---------- CTA final (claro) ---------- */
.cta-simple, .sv-cta {
    color: var(--ink);
    background: radial-gradient(700px 360px at 50% 0%, rgba(0, 168, 214, 0.18), transparent 70%), linear-gradient(180deg, #EAF4FB, #F8FBFE);
    border-top: 1px solid #E3ECF5;
}
.cta-simple p, .sv-cta p { color: var(--muted); }
.cta-simple .btn-secondary-large, .cta-simple .btn-secondary { color: var(--navy); border-color: var(--blue); }

/* ---------- Hero de páginas internas ---------- */
.service-hero {
    color: var(--ink);
    background: radial-gradient(800px 380px at 50% 0%, rgba(0, 168, 214, 0.16), transparent 70%), linear-gradient(180deg, #F1F8FD, #FFFFFF);
    border-bottom: 1px solid #E3ECF5;
}
.service-hero p { color: var(--muted); }
.service-hero .hero-ico { background: var(--grad); color: #fff; box-shadow: var(--shadow-gold); }

/* ---------- Páginas de servicio ---------- */
.sv-section.sv-dark { color: var(--ink); background: linear-gradient(180deg, #EAF4FB, #F8FBFE); }
.sv-dark .sv-head h2 { color: var(--ink); }
.sv-dark .sv-head p { color: var(--muted); }
.sv-dark .eyebrow { color: var(--blue); }
.sv-timeline::before { background: linear-gradient(90deg, transparent, rgba(0, 115, 178, 0.35) 10%, rgba(0, 115, 178, 0.35) 90%, transparent); }
.sv-step-num { background: var(--grad); color: #fff; box-shadow: 0 0 0 6px #EEF6FC, 0 10px 26px rgba(0, 60, 145, 0.3); }
.sv-timeline h3 { color: var(--ink); }
.sv-timeline p { color: var(--muted); }
.sv-callout { background: var(--soft); border-color: rgba(0, 115, 178, 0.22); }
.sv-callout > .lucide { color: var(--blue); }

.sv-glance { background: #fff; color: var(--ink); border: 1px solid #DCE7F2; box-shadow: 0 24px 60px rgba(0, 40, 110, 0.12); position: relative; overflow: hidden; }
.sv-glance::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); }
.sv-glance-label { color: var(--blue); }
.sv-glance-main { border-bottom-color: #E3ECF5; }
.sv-glance-main small, .sv-glance-main span { color: var(--muted); }
.sv-glance-main strong { background: var(--grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-glance li { color: var(--ink); }
.sv-glance li .lucide { color: var(--blue); }
.sv-glance-call { color: var(--navy); }
.sv-glance-call:hover { color: var(--blue); }
.sv-glance-note { color: var(--muted); }
.sv-faq summary .lucide { color: var(--blue); }
.sv-faq details[open] { border-color: var(--blue); }
.sv-faq-a li::marker { color: var(--blue); }
.pros-box, .sv-pc-col { border-color: #E3ECF5; }

/* ---------- Contacto ---------- */
.contact-info { background: #fff; color: var(--ink); border: 1px solid #DCE7F2; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.contact-info::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); }
.contact-info > p, .contact-item p { color: var(--muted); }
.contact-info h4 { color: var(--ink) !important; }
.contact-icon { background: var(--soft); color: var(--blue); }
.contact-item strong { color: var(--blue); }
.contact-item a { color: var(--ink); }
.contact-item a:hover { color: var(--blue); }
.contact-info .note { background: var(--soft); border-color: rgba(0, 115, 178, 0.2); }
.contact-info .note p { color: var(--muted); }
.contact-info .why li { color: var(--ink); }
.contact-info .why .lucide { color: var(--blue); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 115, 178, 0.15); }

/* ---------- Footer claro ---------- */
.footer { background: #F4F8FC; color: var(--muted); border-top: 1px solid #E3ECF5; }
.footer-logo { height: 52px; }
.footer-col h4 { color: var(--ink); }
.footer-col li a { color: var(--muted); }
.footer-col li a .lucide { color: var(--blue); }
.footer-col li a:hover { color: var(--navy); }
.footer-bottom { border-top-color: #DCE7F2; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--navy); }

/* ---------- Móvil ---------- */
@media (max-width: 768px) {
    .logo img { height: 40px; }
    .nav-menu { background: rgba(255, 255, 255, 0.99); }
    .dropdown-menu { background: transparent; border: 0; border-left: 2px solid #DCE7F2; box-shadow: none; }
    .dropdown-menu a { color: var(--ink); }
}

/* ---------- Hero centrado (el mapa pasó a "What we offer") ---------- */
.hero { min-height: min(calc(100vh - var(--nav-h)), 720px); text-align: center; }
.hero-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; max-width: 1100px; }
.hero-copy { max-width: 820px; }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-benefits { grid-auto-flow: column; justify-content: center; gap: 1rem 2rem; }
.hero-cta-row { justify-content: center; }
.hero-note { justify-content: center; }

/* ---------- Mapa dentro de la sección de servicios ---------- */
.map-band { position: relative; max-width: 900px; margin: 0 auto 3.5rem; padding: 1rem 0 0; }
.map-band .map-chip.c1 { left: 0; bottom: 6%; }
.map-band .map-chip.c2 { right: 0; top: 0; }

@media (max-width: 768px) {
    .hero-benefits { grid-auto-flow: row; justify-items: start; }
    .hero-copy { text-align: center; }
    .map-band { margin-bottom: 2.25rem; }
    .map-band .map-chip.c1 { bottom: 0; }
}

/* ---------- Menú de ancho completo ---------- */
.nav-container { max-width: none; width: 100%; padding: 0 clamp(1rem, 3vw, 3.5rem); }
@media (max-width: 768px) { .nav-container { padding: 0 1rem; } }

/* ---------- Tarjetas de servicio: barra superior limpia al pasar el cursor ---------- */
.service-card-clean { overflow: hidden; }
.service-card-clean::after {
    height: 4px; border-radius: 0;
    background: linear-gradient(90deg, #00B2DD, #0073B2 55%, #001B7E);
}

/* ---------- Pie de página: ancho completo, fondo con degradado del logo ---------- */
.footer {
    position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.82); border-top: 0; padding: 5rem 0 0;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(0, 178, 221, 0.35), transparent 70%),
        radial-gradient(500px 300px at 0% 100%, rgba(0, 178, 221, 0.18), transparent 70%),
        linear-gradient(180deg, #0073B2 0%, #00468F 45%, #001B7E 100%);
}
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #00D2F0, #00B2DD, #7FE3F7); }
.footer > .container { max-width: none; width: 100%; padding: 0 clamp(1.25rem, 4vw, 4.5rem); position: relative; }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 4.5rem); }
.footer-logo { height: 58px; margin-bottom: 1.2rem; }
.footer-col p { color: rgba(255, 255, 255, 0.78); max-width: 320px; }
.footer-col h4 { color: #fff; position: relative; padding-bottom: 0.7rem; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: #00D2F0; }
.footer-col li a { color: rgba(255, 255, 255, 0.82); }
.footer-col li a .lucide { color: #7FE3F7; }
.footer-col li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.75); }
.footer-links a { color: rgba(255, 255, 255, 0.75); }
.footer-links a:hover { color: #fff; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- CTA + pie: un solo bloque azul continuo ---------- */
.cta-simple, .sv-cta {
    color: #fff; border-top: 0;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(127, 227, 247, 0.28), transparent 70%),
        linear-gradient(180deg, #0092CC 0%, #0073B2 100%);
}
.cta-simple h2, .sv-cta h2 { color: #fff; }
.cta-simple p, .sv-cta p { color: rgba(255, 255, 255, 0.88); }
/* Botón principal en blanco para que resalte sobre el azul */
.cta-simple .btn-primary-large, .sv-cta .btn-primary {
    background: #fff; color: #001B7E; box-shadow: 0 10px 28px rgba(0, 27, 126, 0.35);
}
.cta-simple .btn-primary-large:hover, .sv-cta .btn-primary:hover { background: #EAF8FD; color: #001B7E; }
.cta-simple .btn-secondary-large, .cta-simple .btn-secondary, .sv-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.6); background: transparent; }
.cta-simple .btn-secondary-large:hover, .sv-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
/* El pie continúa el degradado donde termina la CTA */
.footer { background:
    radial-gradient(500px 300px at 0% 100%, rgba(0, 178, 221, 0.18), transparent 70%),
    linear-gradient(180deg, #0073B2 0%, #00468F 50%, #001B7E 100%); padding-top: 3.5rem; }
.footer::before { display: none; }

/* ---------- Hero con foto de emprendedores de fondo ---------- */
.hero {
    background:
        radial-gradient(ellipse 62% 70% at 50% 50%, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.84) 55%, rgba(255, 255, 255, 0.55) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(241, 248, 253, 0.55)),
        url('../img/hero-emprendedores.webp') center / cover no-repeat;
}
.hero::before { opacity: 0.35; }
@media (max-width: 768px) {
    .hero { background:
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.84)),
        url('../img/hero-emprendedores.webp') center / cover no-repeat; }
}
.hero-sub, .hero-note { color: #3E516B; font-weight: 500; }
.hero-call .ico { background: #fff; }

/* ---------- Efecto del fondo del hero: foto con zoom y desplazamiento lento (Ken Burns) ---------- */
.hero { background: linear-gradient(180deg, #FFFFFF, #F1F8FD); }
.hero::after {
    content: ''; position: absolute; inset: -6%; z-index: -2;
    background: url('../img/hero-emprendedores.webp') center / cover no-repeat;
    transform-origin: 50% 50%; will-change: transform;
    animation: hero-kenburns 32s ease-in-out infinite alternate;
}
.hero::before {
    z-index: -1; opacity: 1; mask-image: none; -webkit-mask-image: none;
    background-image:
        radial-gradient(ellipse 62% 70% at 50% 50%, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.60) 55%, rgba(255, 255, 255, 0.28) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(241, 248, 253, 0.25)),
        linear-gradient(rgba(0, 115, 178, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 115, 178, 0.03) 1px, transparent 1px);
    background-size: auto, auto, 56px 56px, 56px 56px;
}
@keyframes hero-kenburns {
    0%   { transform: scale(1)    translate3d(0, 0, 0); }
    50%  { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
    100% { transform: scale(1.14) translate3d(1.5%, 1.5%, 0); }
}
@media (max-width: 768px) {
    .hero::before { background-image: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.84)); background-size: auto; }
}
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; } }

/* ---------- Testimonios (carrusel + foto a la derecha) ---------- */
.testi-section { padding: 6rem 0; background: linear-gradient(180deg, #F4F8FC 0%, #FFFFFF 100%); overflow: hidden; }
.testi-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eyebrow.left { text-align: left; }
.section-title-left { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 .9rem; color: var(--ink); }
.testi-intro { color: var(--muted); font-size: 1.08rem; margin: 0 0 2rem; max-width: 520px; }
.testi-viewport { overflow: hidden; border-radius: 22px; }
.testi-track { display: flex; transition: transform .6s cubic-bezier(.22, .8, .24, 1); will-change: transform; }
.testi-slide { flex: 0 0 100%; margin: 0; padding: 2.2rem 2.2rem 1.8rem; background: #fff; border: 1px solid #E3ECF5; border-radius: 22px; box-shadow: 0 14px 40px rgba(0, 27, 126, .08); position: relative; }
.testi-quote-ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 1.1rem; }
.testi-slide blockquote { margin: 0 0 1.5rem; font-size: 1.22rem; line-height: 1.6; font-weight: 500; color: var(--ink); }
.testi-slide figcaption { display: flex; align-items: center; gap: .8rem; font-weight: 600; color: var(--navy); }
.testi-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #EAF4FB; color: var(--blue); }
.testi-avatar .lucide { width: 22px; height: 22px; }
.testi-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.testi-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #CFE0EE; background: #fff; color: var(--navy); cursor: pointer; transition: all .25s; }
.testi-btn:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }
.testi-btn .lucide { width: 20px; height: 20px; }
.testi-dots { display: flex; gap: .5rem; }
.testi-dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: #C9DBEA; cursor: pointer; transition: all .3s; }
.testi-dot.is-active { width: 30px; background: var(--grad-h); }
.testi-btn:focus-visible, .testi-dot:focus-visible { outline: 3px solid rgba(0, 168, 214, .5); outline-offset: 2px; }
.testi-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 380px; }
.testi-blob {
    position: absolute; left: 50%; bottom: 0; width: min(100%, 520px); aspect-ratio: 1; transform: translateX(-50%);
    border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
    background: radial-gradient(circle at 30% 25%, #00C6E3 0%, #0073B2 55%, #001B7E 100%);
    animation: testi-morph 14s ease-in-out infinite alternate;
}
.testi-visual::after { content: ''; position: absolute; right: 2%; top: 6%; width: 92px; height: 92px; border-radius: 50%; border: 2px dashed rgba(0, 115, 178, .35); animation: testi-spin 30s linear infinite; }
.testi-visual img { position: relative; z-index: 1; width: min(100%, 560px); height: auto; filter: drop-shadow(0 18px 30px rgba(0, 27, 126, .28)); }
@keyframes testi-morph { to { border-radius: 54% 46% 44% 56% / 44% 56% 46% 54%; transform: translateX(-50%) rotate(6deg); } }
@keyframes testi-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
    .testi-section { padding: 4rem 0; }
    .testi-grid { grid-template-columns: minmax(0, 1fr); }
    .testi-visual { order: -1; min-height: 0; }
    .testi-visual img { width: min(88%, 420px); }
    .testi-slide { padding: 1.6rem 1.4rem 1.4rem; }
    .testi-slide blockquote { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) { .testi-track { transition: none; } .testi-blob, .testi-visual::after { animation: none; } }

.hero-inner { position: relative; z-index: 1; }
.hero h1, .hero-sub, .hero-benefits, .hero-note { text-shadow: 0 1px 14px rgba(255, 255, 255, .85); }
.hero h1 em { text-shadow: none; }
.hero::before { background-image:
    radial-gradient(ellipse 60% 66% at 50% 50%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.75) 58%, rgba(255, 255, 255, 0.40) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(241, 248, 253, 0.34)),
    linear-gradient(rgba(0, 115, 178, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 115, 178, 0.03) 1px, transparent 1px); }
@media (max-width: 768px) { .hero::before { background-image: linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.82)); } }

/* ---------- Testimonios: foto grande pegada al borde inferior (sobre el azul) + icono animado ---------- */
.testi-section { padding-bottom: 0; }
.testi-grid { align-items: stretch; }
.testi-copy { align-self: center; padding-bottom: 5rem; }
.testi-visual { align-self: end; min-height: 0; justify-content: center; align-items: flex-end; }
.testi-visual::after, .testi-blob { display: none; }
.testi-visual img { display: block; width: min(172%, 980px); max-width: none; margin: 0 -24% -1px 0; filter: drop-shadow(0 14px 28px rgba(0, 27, 126, .18)); }
.testi-icon {
    position: absolute; z-index: 2; left: 10%; top: 14%; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 20px;
    background: var(--grad); color: #fff; box-shadow: 0 14px 32px rgba(0, 27, 126, .3);
    animation: testi-icon-float 4.5s ease-in-out infinite;
}
.testi-icon .lucide { width: 32px; height: 32px; animation: testi-icon-pulse 4.5s ease-in-out infinite; }
@keyframes testi-icon-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes testi-icon-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (max-width: 900px) {
    .testi-copy { padding-bottom: 2rem; }
    .testi-visual { order: 2; }
    .testi-visual img { width: min(100%, 520px); margin: 0; }
    .testi-icon { left: 12%; top: 8%; width: 54px; height: 54px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .testi-icon, .testi-icon .lucide { animation: none; } }

/* ---------- Testimonios: icono grande detrás de la pareja, con flotación leve ---------- */
.testi-icon { display: none; }
.testi-visual img.testi-icon-img {
    position: absolute; z-index: 0; left: 8%; top: -38%; width: min(118%, 610px); max-width: none; height: auto; margin: 0;
    filter: drop-shadow(0 26px 40px rgba(0, 27, 126, .28));
    animation: testi-icon-big 6s ease-in-out infinite;
}
@keyframes testi-icon-big {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-16px) rotate(-2deg) scale(1.03); }
}
.testi-visual img:not(.testi-icon-img) { position: relative; z-index: 1; }
@media (max-width: 900px) { .testi-visual img.testi-icon-img { left: 14%; top: 0; width: min(62%, 300px); } }
@media (prefers-reduced-motion: reduce) { .testi-icon-img { animation: none; } }
.testi-copy { position: relative; z-index: 2; }
.testi-section { padding-top: 10.5rem; }
@media (max-width: 900px) { .testi-section { padding-top: 4rem; } }

/* ---------- Mapa en línea: solo se ilumina el estado activo; más grande; se difumina al hacer scroll ---------- */
.map-state { fill: transparent; stroke: rgba(0, 115, 178, 0.5); stroke-width: 1.1; transition: fill 1.4s ease, stroke 1.4s ease, filter 1.4s ease; }
.map-state.lit { fill: rgba(0, 168, 214, 0.14); stroke: rgba(0, 115, 178, 0.7); }
.map-state.active { fill: rgba(0, 168, 214, 0.62); stroke: #001B7E; stroke-width: 1.4; filter: drop-shadow(0 0 9px rgba(0, 178, 221, 0.85)); transition-duration: .4s; }

.map-band {
    --p: 0;
    position: sticky; top: calc(var(--nav-h, 76px) + 8px); z-index: 0;
    width: min(1320px, calc(100vw - 3rem), calc((100vh - var(--nav-h, 76px) - 3rem) * 1.598));
    max-width: none; margin: 0 calc((100% - min(1320px, calc(100vw - 3rem), calc((100vh - var(--nav-h, 76px) - 3rem) * 1.598))) / 2) 0;
    padding: 0;
}
.map-band #us-map {
    transform-origin: 50% 0;
    opacity: calc(1 - var(--p) * 0.85);
    transform: scale(calc(1 - var(--p) * 0.06));
    filter: blur(calc(var(--p) * 5px));
    -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
    will-change: opacity, transform, filter;
}
.map-band .map-chip { z-index: 1; opacity: calc(1 - var(--p) * 1.4); }
.map-band .map-chip.c1 { left: 2%; bottom: 24%; }
.map-band .map-chip.c2 { right: 2%; top: 2%; }
.services-cards-grid { position: relative; z-index: 2; margin-top: -7rem; }
@media (max-width: 768px) {
    .map-band { width: 100%; margin: 0; }
    .services-cards-grid { margin-top: -2.5rem; }
    .map-band .map-chip.c1 { bottom: 12%; }
}
@media (prefers-reduced-motion: reduce) {
    .map-band #us-map { transition: none; filter: none; transform: none; }
}

/* ---------- Hero con foto a la izquierda (página de Línea de Crédito) ---------- */
.service-hero--photo { padding: 0; text-align: left; }
.service-hero--photo .sh-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; min-height: 380px; }
.service-hero--photo .sh-photo { align-self: end; display: flex; justify-content: center; }
.service-hero--photo .sh-photo img { display: block; width: min(100%, 520px); height: auto; margin-bottom: -1px; filter: drop-shadow(0 16px 30px rgba(0, 27, 126, .18)); }
.service-hero--photo .sh-copy { align-self: center; padding: 4rem 0; }
.service-hero--photo .hero-ico { margin: 0 0 1.25rem; }
.service-hero--photo p { margin: 0; max-width: 560px; }
@media (max-width: 860px) {
    .service-hero--photo .sh-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
    .service-hero--photo .sh-copy { padding: 3rem 0 1.5rem; text-align: center; order: 1; }
    .service-hero--photo .hero-ico { margin: 0 auto 1.25rem; }
    .service-hero--photo p { margin: 0 auto; }
    .service-hero--photo .sh-photo { order: 2; }
    .service-hero--photo .sh-photo img { width: min(78%, 360px); }
}
.service-hero--photo h1 { line-height: 1.2; }

/* ---------- Hero de Línea de Crédito en azul del logo ---------- */
.service-hero--photo {
    color: #fff; border-bottom: 0;
    background:
        radial-gradient(620px 380px at 18% 100%, rgba(0, 198, 227, 0.45), transparent 70%),
        radial-gradient(560px 320px at 92% 0%, rgba(0, 178, 221, 0.35), transparent 70%),
        linear-gradient(135deg, #00A8D6 0%, #0073B2 45%, #001B7E 100%);
}
.service-hero--photo h1 { color: #fff; }
.service-hero--photo p { color: rgba(255, 255, 255, 0.9); }
.service-hero--photo .hero-ico { background: #fff; color: #0073B2; box-shadow: 0 12px 30px rgba(0, 27, 126, .35); }
.service-hero--photo .sh-photo img { filter: drop-shadow(0 18px 34px rgba(0, 20, 90, .45)); }
.service-hero--photo .hero-ico { background: linear-gradient(135deg, #3DDC84 0%, #16A34A 55%, #0F7A38 100%); color: #fff; box-shadow: 0 12px 30px rgba(10, 90, 40, .4); }
