/* ═══════════════════════════════════════════════════════════════
   SKIN LANDING ZURICH — MGA SEGUROS 2026
   Centraliza todos los estilos de las páginas lan_mgazurich.
   ═══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════
   1. SISTEMA DE DISEÑO (base.html)
   ══════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
    /* Paleta MGA Seguros */
    --navy:        #213569;
    --blue:        #136eb4;
    --blue-hv:     #0f5a96;
    --blue-lt:     #1a82d4;
    --blue-pale:   #e8f3fc;
    --accent:      #136eb4;
    --accent-hv:   #0f5a96;
    --dark:        #0d1a2e;
    --surface:     #f0f5fb;
    --muted:       #5a6b82;
    --border:      #d4e2f0;
    --white:       #FFFFFF;

    /* Tipografía */
    --ff-head: 'Nunito', sans-serif;
    --ff-body: 'Open Sans', sans-serif;

    /* Sombras */
    --sh-xs: 0 1px 8px rgba(12,31,69,.06);
    --sh-sm: 0 4px 20px rgba(12,31,69,.10);
    --sh-md: 0 10px 40px rgba(12,31,69,.15);
    --sh-lg: 0 24px 80px rgba(12,31,69,.22);

    /* Bordes */
    --r:    12px;
    --r-lg: 22px;
    --r-xl: 32px;

    /* Transición */
    --tr: all .26s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-body);
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    font-size: 15.5px;
    line-height: 1.65;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--ff-head);
    line-height: 1.18;
    font-weight: 700;
}

a { transition: var(--tr); }
img { max-width: 100%; height: auto; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }


/* ─── Navbar ─── */
#site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1050;
}

.nav-topbar {
    background: var(--dark);
    height: 38px;
    display: flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: .01em;
    overflow: hidden;
    transition: height .3s ease, padding .3s ease;
}
.nav-topbar a {
    color: rgba(255,255,255,.68);
    text-decoration: none;
}
.nav-topbar a:hover { color: var(--blue-lt); }
.topbar-divider { color: rgba(255,255,255,.18); margin: 0 4px; }

.nav-main {
    padding: 14px 0;
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
    background: transparent;
}

#site-nav.is-solid .nav-topbar { height: 0; }
#site-nav.is-solid .nav-main {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(12,31,69,.10);
    padding: 8px 0;
}

.nav-logo img { height: 58px; transition: height .3s ease; }
#site-nav.is-solid .nav-logo img { height: 46px; }

.nav-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-menu > li > a {
    font-family: var(--ff-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    padding: 9px 15px;
    border-radius: 9px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 15px; right: 15px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s ease;
}
.nav-menu > li > a:hover, .nav-menu > li > a.on { color: var(--blue-lt); }
.nav-menu > li > a:hover::after, .nav-menu > li > a.on::after { transform: scaleX(1); }

#site-nav.is-solid .nav-menu > li > a { color: var(--navy); }
#site-nav.is-solid .nav-menu > li > a:hover,
#site-nav.is-solid .nav-menu > li > a.on { color: var(--accent); }

.nav-cta-btn {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 9px 22px !important;
    border-radius: 9px !important;
}
.nav-cta-btn:hover {
    background: var(--accent-hv) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(19,110,180,.35);
}
.nav-cta-btn::after { display: none !important; }
#site-nav.is-solid .nav-cta-btn { color: var(--white) !important; }

.nav-ham {
    background: none;
    border: 2px solid rgba(255,255,255,.45);
    border-radius: 9px;
    padding: 7px 11px;
    color: var(--white);
    font-size: 17px;
    cursor: pointer;
    line-height: 1;
    transition: var(--tr);
}
#site-nav.is-solid .nav-ham {
    border-color: var(--navy);
    color: var(--navy);
}

.nav-mobile-panel {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.06);
    display: none;
}
.nav-mobile-panel.open { display: block; }
.nav-mobile-panel a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-head);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: var(--tr);
}
.nav-mobile-panel a:hover { color: var(--blue-lt); background: rgba(255,255,255,.03); }
.nav-mobile-panel a:last-child { border-bottom: none; }
.nav-mobile-panel a i { width: 18px; color: var(--accent); }


/* ─── Inner page hero ─── */
.inner-hero {
    background: linear-gradient(140deg, var(--dark) 0%, var(--navy) 55%, #1a5490 100%);
    padding: 148px 0 64px;
    position: relative;
    overflow: hidden;
}
.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(19,110,180,.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26,130,212,.12) 0%, transparent 50%);
}
.inner-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.inner-hero h1 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 46px);
    position: relative;
}
.inner-hero .breadcrumb {
    background: none;
    padding: 0; margin: 10px 0 0;
    position: relative;
}
.inner-hero .breadcrumb-item { font-size: 13.5px; color: rgba(255,255,255,.55); }
.inner-hero .breadcrumb-item.active { color: var(--blue-lt); }
.inner-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.25); }


/* ─── Sistema de diseño ─── */
.eyebrow {
    font-family: var(--ff-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.eyebrow::after {
    content: '';
    width: 32px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.display-title {
    font-family: var(--ff-head);
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}
.display-title em { font-style: normal; color: var(--accent); }

.lead-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
}

/* Botones */
.btn-mga {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--ff-head);
    font-size: 13.5px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: var(--r);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--tr);
}
.btn-mga-accent {
    background: var(--accent);
    color: var(--white);
}
.btn-mga-accent:hover {
    background: var(--accent-hv);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(19,110,180,.38);
}
.btn-mga-blue {
    background: var(--blue);
    color: var(--white);
}
.btn-mga-blue:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26,75,156,.35);
}
.btn-mga-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.5);
    padding: 11px 26px;
}
.btn-mga-ghost:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn-mga-outline-accent {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 11px 26px;
}
.btn-mga-outline-accent:hover {
    background: var(--accent);
    color: var(--white);
}

/* Tarjetas */
.mga-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 34px 30px;
    box-shadow: var(--sh-xs);
    border: 1.5px solid var(--border);
    transition: var(--tr);
    height: 100%;
}
.mga-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--sh-lg);
    border-color: transparent;
}
.mga-icon-box {
    width: 62px; height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
    transition: var(--tr);
    background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%);
    color: white;
}
.mga-card:hover .mga-icon-box {
    background: linear-gradient(140deg, var(--blue) 0%, var(--blue-lt) 100%);
    transform: rotate(-6deg) scale(1.06);
}


/* ─── Footer ─── */
.site-footer { background: var(--dark); }
.footer-top { padding: 70px 0 48px; }
.footer-brand-logo img {
    height: 52px;
    filter: brightness(0) invert(1);
    opacity: .8;
}
.footer-desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: rgba(255,255,255,.45);
    margin: 16px 0 22px;
    max-width: 275px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.6);
    font-size: 14px;
    text-decoration: none;
    margin-right: 6px;
    transition: var(--tr);
}
.footer-social a:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-col-title {
    font-family: var(--ff-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-nav {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-nav a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--tr);
}
.footer-nav a i { color: var(--blue); font-size: 11px; width: 14px; flex-shrink: 0; }
.footer-nav a:hover { color: var(--blue-lt); padding-left: 4px; }

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}
.footer-ci {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 13px;
}
.footer-ct small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.28);
    margin-bottom: 1px;
}
.footer-ct a, .footer-ct span {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: 13px;
}
.footer-ct a:hover { color: var(--blue-lt); }
.footer-sep {
    border: none;
    border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom {
    padding: 16px 0;
    font-size: 12.5px;
    color: rgba(255,255,255,.3);
}
.footer-bottom a { color: var(--blue-lt); text-decoration: none; }


/* ─── WhatsApp flotante ─── */
#wa-float {
    position: fixed;
    bottom: 26px; left: 26px;
    z-index: 9997;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 22px rgba(37,211,102,.48);
    transition: var(--tr);
}
#wa-float:hover {
    color: var(--white);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37,211,102,.6);
}
#wa-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: wa-pulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes wa-pulse {
    0%   { transform: scale(1); opacity: .55; }
    100% { transform: scale(1.65); opacity: 0; }
}


/* ─── Utilidades generales ─── */
.c-accent   { color: var(--accent); }
.c-navy     { color: var(--navy); }
.c-blue-lt  { color: var(--blue-lt); }
.c-muted    { color: var(--muted); }
.bg-surface { background: var(--surface); }
.bg-navy    { background: var(--navy); }
.bg-dark-mga { background: var(--dark); }

.diagonal-top {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -40px;
    padding-top: 80px;
}
.diagonal-bottom {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    padding-bottom: 80px;
}


/* ─── Responsive base ─── */
@media (max-width: 991.98px) {
    .nav-menu { display: none !important; }
}
@media (min-width: 992px) {
    .nav-ham { display: none !important; }
    .nav-mobile-panel { display: none !important; }
}
@media (max-width: 767.98px) {
    .inner-hero { padding: 130px 0 50px; }
}


/* ══════════════════════════════════════════
   2. HOME PAGE
   ══════════════════════════════════════════ */

.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.hero-carousel-wrap {
    position: relative;
    flex: 1;
    min-height: 100vh;
}
.hero-carousel-wrap .carousel,
.hero-carousel-wrap .carousel-inner,
.hero-carousel-wrap .carousel-item {
    height: 100vh;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(7,14,28,.85) 0%,
        rgba(12,31,69,.70) 45%,
        rgba(12,31,69,.30) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 5;
    height: 100vh;
    display: flex;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(19,110,180,.2);
    border: 1px solid rgba(19,110,180,.4);
    color: #89c8f5;
    font-family: var(--ff-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-family: var(--ff-head);
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 22px;
}
.hero-title em {
    font-style: normal;
    color: var(--blue-lt);
}
.hero-slide-text {
    font-size: 17px;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.45);
    font-size: 11px;
    font-family: var(--ff-head);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.scroll-hint span {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}
.scroll-hint span::after {
    content: '';
    width: 4px; height: 8px;
    background: rgba(255,255,255,.6);
    border-radius: 999px;
    animation: scroll-dot 1.5s ease-in-out infinite;
}
@keyframes scroll-dot {
    0%,100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(8px); opacity: .4; }
}

.carousel-control-prev,
.carousel-control-next {
    width: 52px; height: 52px;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 50%;
    top: 50%; transform: translateY(-50%);
    position: absolute;
    display: flex; align-items: center; justify-content: center;
    transition: var(--tr);
    backdrop-filter: blur(8px);
}
.carousel-control-prev { left: 28px; }
.carousel-control-next { right: 28px; }
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--blue);
    border-color: var(--blue);
}
.carousel-indicators { bottom: 28px; }
.carousel-indicators [data-bs-target] {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    margin: 0 4px;
    transition: var(--tr);
}
.carousel-indicators .active {
    background: var(--blue);
    transform: scale(1.3);
}

.carousel-item.active .hero-badge    { animation: fadeSlideUp .7s .1s both; }
.carousel-item.active .hero-title    { animation: fadeSlideUp .7s .25s both; }
.carousel-item.active .hero-slide-text { animation: fadeSlideUp .7s .4s both; }
.carousel-item.active .hero-actions  { animation: fadeSlideUp .7s .55s both; }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.products-strip {
    position: relative;
    z-index: 10;
    margin-top: -64px;
    padding-bottom: 0;
}
.product-pill {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 22px 20px;
    box-shadow: var(--sh-md);
    border: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--navy);
    transition: var(--tr);
    cursor: pointer;
}
.product-pill:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: var(--blue);
    color: var(--navy);
}
.product-pill:hover .pp-icon { background: var(--navy); }
.pp-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--blue);
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 22px;
    transition: var(--tr);
}
.pp-label {
    font-family: var(--ff-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.why-section {
    padding: 90px 0;
    background: var(--surface);
}
.why-section .icon-check {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(19,110,180,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

/* Aseguradoras — sección nombre (sin logos) */
.insurers-section {
    padding: 56px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.insurer-name-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: var(--r);
    border: 1.5px solid var(--border);
    background: var(--white);
    transition: var(--tr);
    height: 60px;
    font-family: var(--ff-head);
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.insurer-name-pill:hover {
    border-color: var(--blue);
    box-shadow: var(--sh-sm);
    transform: translateY(-2px);
    color: var(--blue);
    background: var(--blue-pale);
}

.stats-section {
    background: linear-gradient(140deg, var(--navy) 0%, #1a5490 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(19,110,180,.2) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 50%, rgba(26,130,212,.15) 0%, transparent 50%);
}
.stat-box {
    text-align: center;
    position: relative;
    padding: 28px 20px;
}
.stat-box::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,.1);
}
.stat-box:last-child::after { display: none; }
.stat-number {
    font-family: var(--ff-head);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-number span { color: var(--blue-lt); }
.stat-label {
    font-size: 13.5px;
    color: rgba(255,255,255,.55);
    font-weight: 500;
    letter-spacing: .02em;
}

.testimonials-section {
    padding: 90px 0;
    background: var(--surface);
}
.testi-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 36px 32px 30px;
    box-shadow: var(--sh-sm);
    border: 1.5px solid var(--border);
    position: relative;
    transition: var(--tr);
    height: 100%;
}
.testi-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-4px);
}
.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 18px; left: 28px;
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 1;
    color: rgba(19,110,180,.1);
    pointer-events: none;
}
.testi-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 24px;
    position: relative;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testi-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--blue);
    flex-shrink: 0;
}
.testi-name {
    font-family: var(--ff-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}
.testi-role {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
}
.testi-stars { color: var(--blue); font-size: 12px; letter-spacing: 2px; }

.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -60%; right: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -5%;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}

@media (max-width: 991.98px) {
    .products-strip { margin-top: 0; padding: 32px 0; background: var(--surface); }
    .stat-box::after { display: none; }
    .stat-box { padding: 20px; }
}
@media (max-width: 575.98px) {
    .hero-title { font-size: 32px; }
    .hero-slide-text { font-size: 15px; }
    .scroll-hint { display: none; }
}


/* ══════════════════════════════════════════
   3. BROKERS PAGE
   ══════════════════════════════════════════ */

.broker-grid { padding: 72px 0 90px; background: var(--surface); }

.broker-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-xs);
    border: 1.5px solid var(--border);
    transition: var(--tr);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.broker-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-lg);
    border-color: transparent;
}

.broker-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--surface);
}
.broker-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: var(--tr);
}
.broker-card:hover .broker-img { transform: scale(1.04); }

.broker-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(12,31,69,.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: var(--tr);
}
.broker-card:hover .broker-overlay { opacity: 1; }

.broker-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}
.broker-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 9px;
    font-family: var(--ff-head);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--tr);
    border: none;
    cursor: pointer;
}
.broker-btn-primary {
    background: var(--accent);
    color: white;
}
.broker-btn-primary:hover { background: var(--accent-hv); color: white; }
.broker-btn-secondary {
    background: rgba(255,255,255,.15);
    color: white;
    border: 1.5px solid rgba(255,255,255,.3);
    backdrop-filter: blur(8px);
}
.broker-btn-secondary:hover { background: white; color: var(--navy); }

.broker-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.broker-name {
    font-family: var(--ff-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
}
.broker-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(19,110,180,.08);
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--ff-head);
    letter-spacing: .02em;
    align-self: flex-start;
}


/* ══════════════════════════════════════════
   4. CONTACTO PAGE
   ══════════════════════════════════════════ */

.contact-section { padding: 72px 0 90px; background: var(--surface); }

.contact-info-card {
    background: linear-gradient(140deg, var(--navy) 0%, var(--dark) 100%);
    border-radius: var(--r-xl);
    padding: 40px 36px;
    color: white;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(19,110,180,.08);
    pointer-events: none;
}
.contact-info-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}
.contact-info-card p {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 32px;
}
.ci-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.ci-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 15px;
    flex-shrink: 0;
}
.ci-text small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin-bottom: 3px;
}
.ci-text a, .ci-text span {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: 14px;
}
.ci-text a:hover { color: var(--blue-lt); }

.contact-map-wrap {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    height: 100%;
    min-height: 400px;
}
.contact-map-wrap iframe { display: block; }


/* ══════════════════════════════════════════
   5. ASISTENCIA PAGE
   ══════════════════════════════════════════ */

.asistencia-section { padding: 72px 0 90px; background: var(--surface); }

.emergency-card {
    background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: var(--r-xl);
    padding: 36px 32px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(33,53,105,.4);
}
.emergency-card::before {
    content: '';
    position: absolute;
    top: -40%; right: -20%;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.emergency-card .ec-label {
    font-family: var(--ff-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    margin-bottom: 16px;
}
.emergency-card h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 8px;
}
.emergency-phone {
    font-family: var(--ff-head);
    font-size: 42px;
    font-weight: 800;
    color: white;
    letter-spacing: .02em;
    line-height: 1;
    display: block;
    margin: 12px 0;
}
.emergency-phone a { color: white; text-decoration: none; }
.emergency-phone a:hover { opacity: .85; }

.service-chip {
    background: var(--white);
    border-radius: var(--r);
    padding: 20px 18px;
    box-shadow: var(--sh-xs);
    border: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transition: var(--tr);
    height: 100%;
}
.service-chip:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-md);
    border-color: var(--blue);
}
.service-chip img {
    width: 56px; height: 56px;
    object-fit: contain;
}
.service-chip-label {
    font-family: var(--ff-head);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.sinister-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.sinister-step:last-child { border-bottom: none; }
.step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    font-family: var(--ff-head);
    font-size: 18px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.step-content h5 {
    font-family: var(--ff-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}
.step-content p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}

.asistencia-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--sh-md);
}


/* ══════════════════════════════════════════
   6. RENOVACIÓN PAGE
   ══════════════════════════════════════════ */

.renovacion-section { padding: 72px 0 90px; background: var(--surface); }

.poliza-detail-card {
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xs);
    border: 1.5px solid var(--border);
    overflow: hidden;
}
.poliza-detail-card .card-header-mga {
    background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.poliza-detail-card .card-header-mga h5 {
    color: white;
    font-family: var(--ff-head);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}
.poliza-detail-card .card-header-mga i { color: var(--blue-lt); }

.poliza-table {
    width: 100%;
    border-collapse: collapse;
}
.poliza-table td {
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.poliza-table tr:last-child td { border-bottom: none; }
.poliza-table td:first-child {
    font-family: var(--ff-head);
    font-weight: 600;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    width: 42%;
    background: var(--surface);
}
.poliza-table td:last-child {
    color: var(--navy);
    font-weight: 500;
}

.renovacion-form-card {
    background: var(--white);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-sm);
    border: 1.5px solid var(--border);
    padding: 36px 32px;
}
.form-label-mga {
    font-family: var(--ff-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 6px;
    display: block;
}
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    padding: 11px 14px;
    font-size: 14.5px;
    color: var(--dark);
    background: var(--surface);
    transition: var(--tr);
}
.form-control:focus, .form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
    background: var(--white);
    outline: none;
}

.status-registered {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: var(--r-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.status-registered i { font-size: 28px; color: #059669; }
.status-registered h5 {
    font-family: var(--ff-head);
    color: #065f46;
    margin: 0 0 4px;
    font-size: 16px;
}
.status-registered p { color: #047857; font-size: 13.5px; margin: 0; }


/* ══════════════════════════════════════════
   7. CONSULTA PRE-LIQUIDACIÓN PAGE
   ══════════════════════════════════════════ */

.cpl-wrap {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: #1a1a2e;
}

.cpl-header { margin-bottom: 32px; }
.cpl-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.cpl-header h1 span.accent { color: #2563eb; }
.cpl-header p { color: #64748b; font-size: 14px; margin: 0; }

.cpl-search-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}
.cpl-search-card label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
    display: block;
}
.cpl-input {
    width: 100%;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 15px;
    color: #0f172a;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #f8fafc;
}
.cpl-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
    background: #fff;
}
.cpl-btn {
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: .2s;
}
.cpl-btn-primary { background: #2563eb; color: #fff; }
.cpl-btn-primary:hover { background: #1d4ed8; }
.cpl-btn-ghost { background: #f1f5f9; color: #475569; margin-left: 8px; }
.cpl-btn-ghost:hover { background: #e2e8f0; }

.cpl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.cpl-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: .15s;
}
.cpl-chip input[type=radio] { display: none; }
.cpl-chip.all { background: #0f172a; color: #fff; border-color: #0f172a; }
.cpl-chip.all:hover { background: #1e293b; }
.cpl-chip.ppagar { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.cpl-chip.ppagar:hover, .cpl-chip.ppagar.active { background: #c2410c; color: #fff; border-color: #c2410c; }

.cpl-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    align-items: center;
}
.cpl-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.cpl-stat img { height: 22px; object-fit: contain; filter: none; }
.cpl-stat .num { color: #0f172a; font-size: 14px; }
.cpl-stat.total { background: #0f172a; color: #fff; border-color: #0f172a; }
.cpl-stat.total .num { color: #fff; }
.cpl-stat.pending { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.cpl-stat.pending .num { color: #9a3412; }

.cpl-year-tabs {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
    display: flex;
    gap: 4px;
}
.cpl-year-tab {
    padding: 9px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: .15s;
}
.cpl-year-tab:hover { color: #2563eb; background: #f0f7ff; }
.cpl-year-tab.active { color: #2563eb; border-bottom-color: #2563eb; background: #eff6ff; }

.cpl-month-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.cpl-month-btn {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    transition: .15s;
    position: relative;
}
.cpl-month-btn:hover { border-color: #94a3b8; color: #1e293b; }
.cpl-month-btn.active { background: #0f172a; color: #fff; border-color: #0f172a; }
.cpl-month-btn .dot-pending {
    position: absolute;
    top: -3px; right: -3px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #f97316;
    border: 1.5px solid #fff;
}

.cpl-insurer-block { margin-bottom: 24px; }
.cpl-insurer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.cpl-insurer-header img { height: 28px; object-fit: contain; }
.cpl-insurer-meta { font-size: 12px; color: #94a3b8; font-weight: 500; }
.cpl-insurer-meta strong { color: #334155; }

.cpl-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.cpl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.cpl-table thead tr { background: #f8fafc; }
.cpl-table th {
    padding: 10px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid #e2e8f0;
}
.cpl-table th.r { text-align: right; }
.cpl-table th.c { text-align: center; }
.cpl-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
}
.cpl-table td.r { text-align: right; font-weight: 600; }
.cpl-table td.c { text-align: center; }
.cpl-table tbody tr:last-child td { border-bottom: none; }
.cpl-table tbody tr:hover { background: #f8fafc; }

.cpl-table tbody tr.last-record {
    background: linear-gradient(90deg, #fffbeb 0%, #fff 100%);
    border-left: 3px solid #f59e0b;
}
.cpl-table tbody tr.last-record td:first-child { padding-left: 9px; }

.cpl-table tfoot td {
    background: #f8fafc;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
}
.cpl-table tfoot td.amt { color: #0f172a; font-size: 14px; }

.badge-paid {
    background: #dcfce7; color: #15803d;
    padding: 3px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
}
.badge-ppagar {
    background: #fff7ed; color: #c2410c;
    padding: 3px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
}
.badge-pending {
    background: #f0f9ff; color: #0369a1;
    padding: 3px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
}

.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: .15s;
}
.btn-pdf:hover { background: #e11d48; color: #fff; border-color: #e11d48; }

.pill-id {
    background: #f1f5f9; color: #64748b;
    padding: 2px 8px; border-radius: 4px;
    font-size: 11px; font-family: monospace;
}
.pill-grupo {
    background: #e0f2fe; color: #0369a1;
    padding: 3px 8px; border-radius: 4px;
    font-size: 11px; font-weight: 600;
}

.cpl-empty { text-align: center; padding: 60px 20px; color: #94a3b8; }
.cpl-empty i { font-size: 40px; opacity: .3; display: block; margin-bottom: 14px; }
.cpl-empty p { font-size: 15px; }

.pending-badge {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 6px;
}

@media (max-width: 768px) {
    .cpl-header h1 { font-size: 22px; }
    .cpl-search-card { padding: 18px; }
    .cpl-year-tab { padding: 8px 13px; font-size: 13px; }
    .cpl-stat img { height: 18px; }
}
