/* ===== VARIABLES ===== */
:root {
    --blue:        #1B3A6B;
    --blue-dark:   #0f2347;
    --blue-mid:    #24508a;
    --blue-light:  #EEF3FB;
    --red:         #E8472E;
    --red-dark:    #c93a23;
    --red-light:   #fff1ee;
    --white:       #ffffff;
    --off-white:   #F8FAFD;
    --gray-light:  #f1f4f9;
    --text:        #1a2035;
    --text-mid:    #4a5568;
    --text-light:  #718096;
    --border:      #e2e8f0;
    --radius-sm:   8px;
    --radius:      16px;
    --radius-lg:   24px;
    --shadow-sm:   0 2px 8px rgba(27,58,107,0.07);
    --shadow:      0 8px 32px rgba(27,58,107,0.10);
    --shadow-lg:   0 20px 60px rgba(27,58,107,0.15);
    --shadow-red:  0 8px 24px rgba(232,71,46,0.30);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text); line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.text-center { text-align: center; }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ===== KEYFRAMES ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
@keyframes float-sm {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
@keyframes shine-sweep {
    0%   { left: -120%; }
    100% { left: 140%; }
}
@keyframes pulse-ring {
    0%   { transform: scale(.8); opacity: 1; }
    100% { transform: scale(2.6); opacity: 0; }
}
@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}
@keyframes badge-in {
    from { opacity: 0; transform: translateY(-12px) scale(.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}
@keyframes hero-title-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    50%       { box-shadow: 0 0 0 7px rgba(37,211,102,0); }
}

/* ===== ANNOUNCEMENT BAR ===== */
.announce-bar {
    background: linear-gradient(90deg, var(--blue-dark) 0%, #1B3A6B 100%);
    color: var(--white); text-align: center;
    padding: 11px 52px 11px 16px;
    font-size: 13.5px; font-weight: 500;
    position: relative; z-index: 1001;
    letter-spacing: .01em;
}
.announce-bar a { color: #ffd27d; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.announce-close {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,0.6); font-size: 20px;
    background: none; border: none; cursor: pointer; padding: 4px 8px;
    line-height: 1;
}
.announce-close:hover { color: var(--white); }
.announce-bar.hidden { display: none; }

/* ===== NAVBAR ===== */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: var(--blue);
    box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 4px 20px rgba(0,0,0,0.20);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px; gap: 12px;
}
.logo-img { height: 46px; width: auto; }
.logo-link { display: flex; align-items: center; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a:not(.nav-cta) {
    color: rgba(255,255,255,0.80); font-size: 14px; font-weight: 500;
    padding: 6px 12px; border-radius: var(--radius-sm);
    transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links > a:not(.nav-cta):hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links > a.active { color: var(--white); background: rgba(255,255,255,0.10); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 62px; height: 62px; border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.50), 0 0 0 0 rgba(37,211,102,0.30);
    transition: transform .25s, box-shadow .25s;
    animation: float-sm 4s ease-in-out infinite;
    will-change: transform;
}
.wa-float::before {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    background: rgba(37,211,102,0.20);
    animation: pulse-ring 2.5s ease infinite;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 10px 36px rgba(37,211,102,0.65); animation-play-state: paused; }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, var(--red) 0%, #c9391f 100%);
    color: var(--white); padding: 14px 32px; border-radius: 50px;
    font-size: 15px; font-weight: 700; border: none; cursor: pointer;
    box-shadow: 0 4px 16px rgba(232,71,46,0.35);
    transition: transform .25s, box-shadow .25s;
    letter-spacing: .01em; position: relative; overflow: hidden;
}
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -120%;
    width: 55%; height: 100%; pointer-events: none;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.30), transparent);
    transform: skewX(-18deg);
}
.btn-primary:hover::after { animation: shine-sweep .65s ease forwards; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(232,71,46,0.50); }

.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, var(--red) 0%, #c9391f 100%);
    color: var(--white); padding: 13px 26px; border-radius: 50px;
    font-size: 15px; font-weight: 700; white-space: nowrap;
    box-shadow: 0 4px 16px rgba(232,71,46,0.30);
    transition: transform .25s, box-shadow .25s;
    position: relative; overflow: hidden;
}
.btn-whatsapp::after {
    content: ''; position: absolute; top: 0; left: -120%;
    width: 55%; height: 100%; pointer-events: none;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-18deg);
}
.btn-whatsapp:hover::after { animation: shine-sweep .65s ease forwards; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(232,71,46,0.50); }
.btn-whatsapp.btn-large { padding: 16px 36px; font-size: 17px; }
.nav-cta { padding: 10px 20px !important; font-size: 14px !important; }

@keyframes btn-pulse {
    0%,100% { box-shadow: 0 4px 16px rgba(232,71,46,0.40); }
    50%      { box-shadow: 0 4px 40px rgba(232,71,46,0.70), 0 0 0 10px rgba(232,71,46,0.07); }
}
.btn-pulse { animation: btn-pulse 2s infinite; }

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid rgba(255,255,255,0.80); color: var(--white);
    padding: 13px 30px; border-radius: 50px;
    font-size: 15px; font-weight: 700; background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.btn-outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); transform: translateY(-2px); }

.btn-outline-blue {
    display: inline-flex; align-items: center; gap: 6px;
    border: 2px solid var(--blue); color: var(--blue);
    padding: 11px 26px; border-radius: 50px;
    font-size: 14px; font-weight: 700;
    transition: background .25s, color .25s, transform .25s;
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.btn-outline-white {
    display: inline-flex; align-items: center; gap: 6px;
    border: 2px solid rgba(255,255,255,0.70); color: var(--white);
    padding: 12px 28px; border-radius: 50px;
    font-size: 14px; font-weight: 700;
    transition: background .25s, border-color .25s, transform .25s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); transform: translateY(-2px); }

.btn-red {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, var(--red) 0%, #c9391f 100%);
    color: var(--white); padding: 14px 36px; border-radius: 50px;
    font-size: 15px; font-weight: 700; border: none; cursor: pointer;
    box-shadow: 0 4px 16px rgba(232,71,46,0.30);
    transition: transform .25s, box-shadow .25s;
    position: relative; overflow: hidden;
}
.btn-red::after {
    content: ''; position: absolute; top: 0; left: -120%;
    width: 55%; height: 100%; pointer-events: none;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-18deg);
}
.btn-red:hover::after { animation: shine-sweep .65s ease forwards; }
.btn-red:hover { transform: translateY(-3px); box-shadow: var(--shadow-red); }
.btn-full { width: 100%; }

.btn-green {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, var(--red) 0%, #c9391f 100%);
    color: var(--white); padding: 16px 28px; border-radius: 12px;
    font-size: 17px; font-weight: 700; border: none; cursor: pointer;
    box-shadow: 0 4px 16px rgba(232,71,46,0.30);
    transition: transform .25s, box-shadow .25s;
    position: relative; overflow: hidden;
}
.btn-green::after {
    content: ''; position: absolute; top: 0; left: -120%;
    width: 55%; height: 100%; pointer-events: none;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-18deg);
}
.btn-green:hover::after { animation: shine-sweep .65s ease forwards; }
.btn-green:hover { transform: translateY(-3px); box-shadow: var(--shadow-red); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh;
    background: url('../img/hero.jpg') center 40% / cover no-repeat;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg,
        rgba(8,20,50,0.96) 0%,
        rgba(15,35,80,0.88) 40%,
        rgba(27,58,107,0.55) 70%,
        rgba(27,58,107,0.25) 100%);
}
.hero-overlay::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 30px 30px;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 430px;
    gap: 52px; align-items: center;
    padding-top: 32px; padding-bottom: 52px;
}
.hero-left { color: var(--white); }

/* ===== HERO BADGE ===== */
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(14px);
    color: rgba(255,255,255,0.93); padding: 8px 18px 8px 12px;
    border-radius: 50px; font-size: 13px; font-weight: 600;
    margin-bottom: 22px; letter-spacing: .01em;
    animation: badge-in .8s cubic-bezier(.22,1,.36,1) forwards;
}
.badge-dot {
    width: 9px; height: 9px; border-radius: 50%; background: #25d366;
    flex-shrink: 0; position: relative;
    animation: dot-pulse 2s ease-in-out infinite;
}
.badge-dot::before {
    content: ''; position: absolute; inset: -5px; border-radius: 50%;
    background: rgba(37,211,102,0.30);
    animation: pulse-ring 2s ease infinite;
}

.hero-bienvenido {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: 20px; opacity: .75;
    animation: fade-up .7s .15s ease both;
}
.hero-bienvenido::before { content: ''; display: block; width: 28px; height: 2px; background: var(--red); border-radius: 2px; }

.medios-img { height: 36px; margin-bottom: 22px; width: auto; opacity: .92; animation: fade-up .7s .25s ease both; }

.hero-title {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 900; line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -.02em;
    animation: hero-title-in .8s .35s cubic-bezier(.22,1,.36,1) both;
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, #ffd27d 0%, #ffb347 50%, #ffd27d 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 4s ease infinite;
}

.hero-bullets { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; animation: fade-up .7s .5s ease both; }
.hero-bullets li {
    font-size: 15px; font-weight: 500;
    display: flex; align-items: center; gap: 12px;
    opacity: .95;
}
.bullet-check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--red); color: var(--white);
    font-size: 11px; font-weight: 800; flex-shrink: 0;
}

.hero-stats {
    display: inline-flex; align-items: center; gap: 0;
    margin-bottom: 32px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 50px; overflow: hidden;
    backdrop-filter: blur(12px);
    animation: fade-up .7s .65s ease both;
    box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}
.hero-stat { padding: 12px 28px; text-align: center; }
.hero-stat strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.hero-stat span { font-size: 11px; opacity: .70; text-transform: uppercase; letter-spacing: .05em; }
.hero-stat-divider { width: 1px; align-self: stretch; background: rgba(255,255,255,0.20); }

/* form wrapper */
.hero-form-wrap {
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}
.form-trust-bar {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 14px; padding: 12px 20px;
    background: var(--blue-dark); border-radius: var(--radius) var(--radius) 0 0;
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.80);
    letter-spacing: .04em;
}
.form-trust-bar span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }

.form-card {
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 24px 26px 22px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.30);
}
.form-card-standalone {
    border-radius: var(--radius);
}
.form-card-dark { background: #ecf0f8; border-radius: var(--radius); padding: 28px; }

.form-group { margin-bottom: 14px; }
.form-group label {
    display: block; font-size: 11px; font-weight: 700;
    color: var(--blue); margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: .06em;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: 14px; font-family: 'Inter', inherit; color: var(--text);
    background: var(--white); transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27,58,107,0.10);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-card-dark .form-group input,
.form-card-dark .form-group textarea,
.form-card-dark .form-group select {
    background: var(--white); color: var(--text); border-color: var(--border);
}
.req { color: var(--red); }

.phone-wrap, .cupo-wrap {
    display: flex; align-items: center;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    overflow: hidden; background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.phone-wrap:focus-within,
.cupo-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,58,107,0.10); }
.phone-prefix, .cupo-prefix {
    padding: 11px 12px; font-size: 13px;
    background: #f8fafd; color: var(--blue); font-weight: 600; white-space: nowrap;
    border-right: 1.5px solid var(--border);
}
.phone-wrap input, .cupo-wrap input { border: none; border-radius: 0; flex: 1; margin: 0; box-shadow: none !important; }

.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ===== TRUST STRIP ===== */
.trust-strip-section {
    background: linear-gradient(90deg, var(--white) 0%, #f8faff 50%, var(--white) 100%);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 22px 0;
}
.trust-strip-inner {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 12px 20px;
}
.trust-strip-label {
    font-size: 12px; font-weight: 700; color: var(--text-light);
    text-transform: uppercase; letter-spacing: .08em;
    white-space: nowrap; margin-right: 8px;
}
.trust-bank-chip {
    font-size: 13px; font-weight: 600; color: var(--blue);
    background: var(--blue-light); padding: 5px 14px; border-radius: 50px;
    border: 1px solid rgba(27,58,107,0.12);
}

/* ===== SECTIONS ===== */
.section-white   { padding: 96px 0; background: var(--white); }
.section-off     { padding: 96px 0; background: var(--off-white); }
.section-blue-light { padding: 96px 0; background: linear-gradient(160deg, #e8f0fb 0%, var(--blue-light) 50%, #dce8f9 100%); }
.section-dark    { padding: 96px 0; background: var(--blue-dark); }
.section-cta     { padding: 96px 0; background: var(--off-white); }
.section-faq     { padding: 96px 0; background: linear-gradient(135deg, var(--red) 0%, #c9391f 100%); }
.section-sim     { padding: 96px 0; background: linear-gradient(160deg, #f0f4fb 0%, var(--gray-light) 100%); }

.section-title {
    font-size: clamp(28px, 3.5vw, 46px); font-weight: 900;
    color: var(--blue); text-align: center; margin-bottom: 14px;
    letter-spacing: -.025em; line-height: 1.12;
}
.section-title.white { color: var(--white); }
.section-eyebrow {
    font-size: 11.5px; font-weight: 800; color: var(--red);
    text-transform: uppercase; letter-spacing: .14em;
    text-align: center; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: ''; display: block; width: 24px; height: 2px;
    background: currentColor; border-radius: 2px; opacity: .5;
}
.section-eyebrow.white { color: rgba(255,255,255,0.65); }
.section-subtitle { text-align: center; color: var(--text-mid); font-size: 17px; margin-bottom: 52px; line-height: 1.6; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-title-left { font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--blue); margin-bottom: 16px; letter-spacing: -.02em; line-height: 1.2; }

.divider { width: 40px; height: 3px; background: var(--red); border-radius: 2px; margin: 0 auto 48px; border: none; }
.divider-white { background: rgba(255,255,255,0.45); }
.divider-left  { margin: 0 0 24px 0; }

.cta-desc { font-size: 18px; color: var(--text-mid); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-note { font-size: 13px; color: var(--text-light); margin-top: 16px; }

/* ===== NOSOTROS CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-feature {
    background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
    position: relative; overflow: hidden;
}
.card-feature::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--red) 100%);
    transform: scaleX(0); transform-origin: left;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.card-feature:hover::before { transform: scaleX(1); }
.card-feature:hover { transform: translateY(-10px); box-shadow: 0 24px 64px rgba(27,58,107,0.14); border-color: rgba(27,58,107,0.12); }
.card-icon-wrap {
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(135deg, var(--blue-light) 0%, #dce8f9 100%);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: transform .3s;
    box-shadow: 0 4px 12px rgba(27,58,107,0.10);
}
.card-feature:hover .card-icon-wrap { transform: scale(1.08) rotate(-3deg); }
.card-icon { width: 32px; height: 32px; }
.card-feature h3 { font-size: 18px; font-weight: 800; color: var(--blue); margin-bottom: 10px; }
.card-feature p  { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

/* ===== TESTIMONIOS ===== */
.testimonios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
    position: relative;
    border-top: 4px solid var(--blue);
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(27,58,107,0.13); }
.testimonial-stars {
    color: #f59e0b; font-size: 17px; margin-bottom: 18px; letter-spacing: 3px;
    animation: fade-up .4s ease both;
}
.testimonial-quote {
    font-size: 15px; color: var(--text-mid); line-height: 1.80;
    margin-bottom: 24px; font-style: italic;
    position: relative; padding-left: 4px;
}
.testimonial-quote::before {
    content: '\201C';
    font-size: 72px; color: rgba(27,58,107,0.08);
    font-family: Georgia, serif; font-style: normal;
    position: absolute; top: -22px; left: -14px;
    line-height: 1; z-index: 0; pointer-events: none;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
    color: var(--white); font-size: 14px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27,58,107,0.25);
}
.author-name { font-size: 15px; font-weight: 700; color: var(--text); }
.author-city { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.testimonial-badge {
    position: absolute; top: 20px; right: 20px;
    background: linear-gradient(135deg, var(--red-light) 0%, #ffe8e4 100%); color: var(--red);
    font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px;
    border: 1px solid rgba(232,71,46,0.15);
}

/* ===== STATS ROW ===== */
.stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; background: var(--blue-dark); border-radius: var(--radius-lg);
    overflow: hidden; margin: 0 auto;
    box-shadow: 0 20px 56px rgba(0,0,0,0.40);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.stats-row::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--red) 0%, #ff7043 50%, var(--blue-mid) 100%);
    background-size: 200% auto;
    animation: gradient-flow 4s ease infinite;
}
.stat-item {
    padding: 44px 24px; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.07);
    transition: background .3s;
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.05); }
.stat-num { font-size: clamp(30px, 3vw, 44px); font-weight: 900; color: var(--white); letter-spacing: -.02em; margin-bottom: 8px; line-height: 1; }
.stat-num span { color: var(--red); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.50); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }

/* ===== QUÉ ES EL CUPO ===== */
.cupo-info-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; }
.cupo-info-text p { font-size: 16px; line-height: 1.80; color: var(--text-mid); margin-bottom: 16px; }
.cupo-info-text strong { color: var(--blue); font-weight: 700; }
.bancos-box {
    background: var(--white); border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.bancos-label { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 16px; line-height: 1.5; }
.bancos-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
    background: var(--blue-light); color: var(--blue);
    font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 50px;
    border: 1px solid rgba(27,58,107,0.15);
}
.bancos-note { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* ===== SIMULADOR ===== */
.sim-label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--red); text-transform: uppercase; margin-bottom: 12px; }
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }

.sim-left {
    background: var(--white); border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.sim-field-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--text-light); text-transform: uppercase; margin-bottom: 10px; }

.sim-input-wrap {
    display: flex; align-items: center;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    overflow: hidden; margin-bottom: 14px; transition: border-color .2s, box-shadow .2s;
}
.sim-input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,58,107,0.10); }
.sim-prefix { padding: 12px 14px; font-size: 16px; color: var(--text-light); font-weight: 600; background: #f8fafd; border-right: 1px solid var(--border); }
.sim-suffix { padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--text-light); background: #f8fafd; border-left: 1px solid var(--border); }
#sim-usd { flex: 1; border: none; outline: none; font-size: 20px; font-weight: 800; padding: 12px 14px; color: var(--text); font-family: inherit; box-shadow: none; }

.sim-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.sim-preset {
    padding: 8px 16px; border-radius: 50px;
    border: 1.5px solid var(--border); background: var(--white);
    font-size: 13px; font-weight: 700; color: var(--text-mid);
    cursor: pointer; transition: all .2s;
}
.sim-preset:hover { border-color: var(--blue); color: var(--blue); }
.sim-preset.active { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: 0 4px 12px rgba(27,58,107,0.25); }

.sim-slider-box { background: #f8fafd; border-radius: var(--radius-sm); padding: 18px; margin-bottom: 4px; border: 1px solid var(--border); }
.sim-slider-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sim-tasa-badge { background: rgba(232,71,46,0.10); color: var(--red); font-size: 13px; font-weight: 800; padding: 5px 14px; border-radius: 50px; border: 1px solid rgba(232,71,46,0.25); }

.sim-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 5px; border-radius: 3px; outline: none;
    background: linear-gradient(to right, var(--red) 0%, var(--red) 100%);
    cursor: pointer;
}
.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--red); border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(232,71,46,0.45); cursor: pointer;
}
.sim-slider::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--red); border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(232,71,46,0.45); cursor: pointer;
}
.sim-slider-marks { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-light); margin-top: 8px; font-weight: 600; }

.sim-select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: 15px; font-family: inherit; color: var(--text);
    background: var(--white); outline: none; cursor: pointer; margin-top: 10px;
    transition: border-color .2s;
}
.sim-select:focus { border-color: var(--blue); }

.sim-right {
    background: linear-gradient(160deg, #0f2347 0%, #1B3A6B 100%);
    color: var(--white); border-radius: var(--radius); padding: 36px 32px;
    display: flex; flex-direction: column; gap: 14px;
    box-shadow: 0 12px 40px rgba(27,58,107,0.35);
}
.sim-right-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--red); text-transform: uppercase; }
.sim-right-sub { font-size: 15px; color: rgba(255,255,255,0.65); }
.sim-result { font-size: clamp(36px, 5vw, 54px); font-weight: 900; color: var(--white); line-height: 1; letter-spacing: -.02em; }
.sim-detail { font-size: 13px; color: rgba(255,255,255,0.50); }
.sim-note {
    background: rgba(255,255,255,0.07); border-radius: var(--radius-sm);
    padding: 12px 16px; font-size: 13px; color: rgba(255,255,255,0.60); line-height: 1.5;
    border: 1px solid rgba(255,255,255,0.08);
}
.sim-cta { margin-top: 4px; }
.sim-trust { font-size: 12px; color: rgba(255,255,255,0.40); text-align: center; }
.sim-tier-note {
    display: none; margin-top: 16px;
    background: rgba(232,71,46,0.10); border: 1px solid rgba(232,71,46,0.25);
    color: var(--red); font-size: 13px; font-weight: 700;
    padding: 10px 16px; border-radius: var(--radius-sm);
    animation: badge-in .4s ease both;
}

/* ===== GARANTÍAS ===== */
.garantias-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.garantia-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius); padding: 36px 24px; text-align: center;
    transition: background .35s, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
}
.garantia-card:hover {
    background: rgba(255,255,255,0.11);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.30);
    border-color: rgba(232,71,46,0.25);
}
.garantia-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: rgba(232,71,46,0.14); border: 1px solid rgba(232,71,46,0.28);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    transition: transform .3s, background .3s;
}
.garantia-card:hover .garantia-icon { transform: scale(1.10); background: rgba(232,71,46,0.22); }
.garantia-card h3 { font-size: 15px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.garantia-card p  { font-size: 13px; color: rgba(255,255,255,0.58); line-height: 1.70; }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card {
    background: linear-gradient(160deg, #1B3A6B 0%, #0f2347 100%);
    color: var(--white); border-radius: var(--radius); padding: 48px 32px; text-align: center;
    box-shadow: 0 8px 32px rgba(27,58,107,0.25);
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
    position: relative; overflow: hidden;
}
.step-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(232,71,46,0.08) 0%, transparent 60%);
    opacity: 0; transition: opacity .4s;
}
.step-card:hover::before { opacity: 1; }
.step-card:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(27,58,107,0.45), 0 0 0 1px rgba(255,255,255,0.07); }
.step-number {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red) 0%, #c9391f 100%);
    color: var(--white); font-size: 22px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px; box-shadow: 0 6px 20px rgba(232,71,46,0.40);
    transition: transform .3s;
}
.step-card:hover .step-number { transform: scale(1.12); }
.step-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.step-card p  { font-size: 14px; opacity: .78; line-height: 1.75; }

/* ===== CTA SECTION ===== */
.cta-section-inner {
    background: linear-gradient(135deg, var(--blue-dark) 0%, #1a3f77 50%, var(--blue) 100%);
    background-size: 200% 200%;
    animation: gradient-flow 8s ease infinite;
    border-radius: var(--radius-lg); padding: 80px 48px;
    text-align: center; color: var(--white);
    box-shadow: 0 24px 72px rgba(27,58,107,0.30);
    position: relative; overflow: hidden;
}
.cta-section-inner::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-list-wide { max-width: 900px; }
.faq-item {
    background: rgba(255,255,255,0.10); border-radius: 50px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
    transition: border-color .25s, background .25s;
}
.faq-item:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.18); }
.faq-item.open { border-radius: var(--radius); border-color: rgba(255,255,255,0.20); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 28px; color: var(--white);
    font-size: 15px; font-weight: 600; text-align: left;
    background: transparent; gap: 16px; transition: background .25s;
}
.faq-question:hover { background: rgba(255,255,255,0.06); }
.faq-icon {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.20);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 400; transition: transform .35s cubic-bezier(.22,1,.36,1), background .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(255,255,255,0.22); }
.faq-answer { display: none; padding: 0 28px 24px; background: rgba(255,255,255,0.97); color: var(--text-mid); }
.faq-answer p { font-size: 15px; line-height: 1.80; padding-top: 18px; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { background: rgba(255,255,255,0.15); border-radius: var(--radius) var(--radius) 0 0; }
.section-faq-page { background: var(--red); padding: 72px 0; }

/* ===== CONTACTO ===== */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contacto-title { font-size: clamp(26px, 3vw, 40px); font-weight: 900; color: var(--blue); margin-bottom: 8px; letter-spacing: -.02em; }
.contacto-subtitle { color: var(--text-mid); font-size: 15px; margin-bottom: 32px; }
.contacto-details { display: flex; flex-direction: column; gap: 22px; }
.contacto-details li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--text); }
.contacto-details li svg { flex-shrink: 0; margin-top: 1px; }
.contacto-details a { color: var(--blue); font-weight: 600; }
.contacto-details a:hover { text-decoration: underline; }
.horario-box { background: var(--blue-light); border-radius: var(--radius-sm); padding: 20px; margin-top: 24px; border: 1px solid rgba(27,58,107,0.12); }
.horario-box strong { display: block; color: var(--blue); margin-bottom: 8px; font-size: 14px; }
.horario-box p { font-size: 14px; color: var(--text-mid); margin-bottom: 4px; }

/* ===== FOOTER ===== */
.footer { background: linear-gradient(160deg, #0a1628 0%, var(--blue-dark) 100%); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer-desc { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.75; max-width: 320px; }
.footer-links-col h4 { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-links-col li, .footer-links-col li a { color: rgba(255,255,255,0.50); font-size: 14px; line-height: 1.5; }
.footer-links-col li a:hover { color: rgba(255,255,255,0.90); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.30); }
.footer-bottom-inner a { color: rgba(255,255,255,0.40); }
.footer-bottom-inner a:hover { color: rgba(255,255,255,0.80); }

/* ===== PAGE HERO SIMPLE ===== */
.page-hero-simple {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    color: var(--white); padding: 72px 0 60px; text-align: center;
}
.page-hero-simple h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; margin-bottom: 12px; letter-spacing: -.02em; }
.page-hero-simple p  { font-size: 17px; opacity: .75; max-width: 560px; margin: 0 auto; line-height: 1.6; }
.breadcrumb { font-size: 13px; opacity: .55; margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.70); }
.breadcrumb a:hover { color: var(--white); }

/* ===== NOSOTROS PAGE ===== */
.nosotros-intro-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.nosotros-intro-grid p { font-size: 16px; line-height: 1.80; color: var(--text-mid); margin-bottom: 16px; }
.nosotros-stats-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white); border-radius: var(--radius); padding: 26px 20px; text-align: center;
    box-shadow: var(--shadow);
}
.stat-box strong { display: block; font-size: 26px; font-weight: 900; margin-bottom: 6px; letter-spacing: -.01em; }
.stat-box span { font-size: 11px; opacity: .65; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; font-weight: 600; color: var(--blue); }
.trust-item svg { flex-shrink: 0; margin-top: 1px; }

/* ===== SERVICIOS PAGE ===== */
.service-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.service-list li { font-size: 15px; font-weight: 700; color: var(--blue); }
.no-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.no-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--off-white); border-radius: var(--radius); border: 1px solid var(--border); }
.no-icon { font-size: 22px; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.no-item strong { display: block; font-size: 15px; color: var(--blue); margin-bottom: 6px; font-weight: 800; }
.no-item p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: 36px; }
    .hero-form-wrap { max-width: 500px; }
    .cards-grid, .steps-grid, .testimonios-grid { grid-template-columns: 1fr; }
    .cupo-info-grid { grid-template-columns: 1fr; gap: 28px; }
    .contacto-grid { grid-template-columns: 1fr; gap: 36px; }
    .garantias-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stats-row .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nosotros-intro-grid { grid-template-columns: 1fr; }
    .trust-strip { grid-template-columns: 1fr 1fr; }
    .no-list-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .sim-grid { grid-template-columns: 1fr; }
    .cta-section-inner { padding: 52px 28px; }
    .hero-stats { width: 100%; }
}
@media (max-width: 700px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: var(--blue-dark); flex-direction: column;
        padding: 20px 24px 28px; gap: 4px; align-items: stretch;
        box-shadow: 0 16px 40px rgba(0,0,0,0.30);
    }
    .nav-links > a:not(.nav-cta) { padding: 12px 14px; }
    .nav-links.open { display: flex; }
    .nav-cta { margin-top: 8px; justify-content: center; }
    .section-white, .section-off, .section-blue-light, .section-dark,
    .section-cta, .section-faq, .section-sim { padding: 60px 0; }
    .announce-bar { font-size: 12px; padding-right: 40px; }
    .trust-strip { grid-template-columns: 1fr; }
    .nosotros-stats-col { grid-template-columns: 1fr 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
    .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
    .garantias-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; border-radius: var(--radius); }
    .hero-stats { flex-direction: column; gap: 0; border-radius: var(--radius); }
    .hero-stat { width: 100%; padding: 14px 20px; }
    .hero-stat-divider { width: 100%; height: 1px; }
    .cta-section-inner { border-radius: var(--radius); padding: 44px 22px; }
    .sim-presets { gap: 6px; }
    .sim-preset { padding: 7px 12px; font-size: 12px; }
}
