/* ================================================================
   SKIN-LANDING-HUB593.CSS — Landing público HUB593 (NUMDOM 4)
   Tema oscuro "kinetic" · Bootstrap 5 base · 100% responsive
   Adaptado de docs/hub593 (1).html — NO compartir con lan_mgazurich.
   ================================================================ */

/* ═══════════════════ DESIGN TOKENS ═══════════════════ */
:root {
    --primary:      #1f22c8;
    --secondary:    #4a55ff;
    --accent:       #00d4ff;
    --accent-soft:  #3cd7ff;
    --dark:         #050816;
    --dark-soft:    #0b1026;
    --dark-2:       #0e1330;
    --text:         #f5f7ff;
    --muted:        #b9bfd8;
    --muted-2:      #8a90b0;
    --white:        #ffffff;
    --border:       rgba(255, 255, 255, .14);
    --border-soft:  rgba(255, 255, 255, .08);
    --card:         rgba(255, 255, 255, .06);
    --card-2:       rgba(255, 255, 255, .09);
    --gradient:     linear-gradient(135deg, var(--secondary), var(--accent));
    --radius:       14px;
    --radius-lg:    24px;
    --radius-xl:    30px;
    --shadow:       0 24px 60px rgba(0, 0, 0, .35);
    --navbar-h:     76px;
    --ff-head:      "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
    --ff-body:      "Inter", "Segoe UI", system-ui, sans-serif;
    --transition:   all .25s cubic-bezier(.4, 0, .2, 1);
}

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

body {
    margin: 0;
    font-family: var(--ff-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-head);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.5px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.c-accent { color: var(--accent); }

/* ═══════════════════ BOTONES ═══════════════════ */
.btn-hub {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 12px;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-hub-accent {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(74, 85, 255, .35);
}
.btn-hub-accent:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 212, 255, .4);
}
.btn-hub-ghost {
    background: rgba(255, 255, 255, .05);
    border-color: var(--border);
    color: var(--white);
}
.btn-hub-ghost:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .1);
    border-color: var(--accent);
}
.btn-hub-light {
    background: var(--white);
    color: var(--dark);
}
.btn-hub-light:hover { color: var(--dark); transform: translateY(-2px); }

/* ═══════════════════ NAVBAR ═══════════════════ */
#site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}
.nav-topbar {
    background: rgba(3, 5, 15, .9);
    border-bottom: 1px solid var(--border-soft);
    font-size: 13px;
    color: var(--muted);
    padding: 8px 0;
}
.nav-topbar a { color: var(--muted); transition: var(--transition); }
.nav-topbar a:hover { color: var(--accent); }
.topbar-divider { color: rgba(255, 255, 255, .2); }

.nav-main {
    background: rgba(5, 8, 22, .55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    transition: var(--transition);
}
#site-nav.is-solid .nav-main {
    background: rgba(5, 8, 22, .96);
    border-bottom-color: var(--border);
}
.nav-main > .container {
    height: var(--navbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img { height: 42px; width: auto; object-fit: contain; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: var(--transition);
}
.nav-menu a:hover,
.nav-menu a.on { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav-menu a.nav-cta-btn {
    background: var(--gradient);
    color: var(--white);
    margin-left: 8px;
}
.nav-menu a.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 212, 255, .35); }

.nav-ham {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
}
.nav-mobile-panel {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0 0 16px;
}
.nav-mobile-panel.open { display: flex; }
.nav-mobile-panel a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
    background: rgba(255, 255, 255, .04);
}
.nav-mobile-panel a:hover { color: var(--white); background: rgba(255, 255, 255, .09); }

/* ═══════════════════ CONTENIDO ═══════════════════ */
.page-content { padding-top: 0; }
section { padding: 90px 0; position: relative; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-title { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-title h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.section-title p { color: var(--muted); font-size: 18px; margin: 0; }

/* ═══════════════════ HERO ═══════════════════ */
.home-hero {
    min-height: 100vh;
    padding: calc(var(--navbar-h) + 90px) 0 90px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 82% 18%, rgba(0, 212, 255, .25), transparent 30%),
        radial-gradient(circle at 16% 32%, rgba(74, 85, 255, .32), transparent 32%),
        linear-gradient(135deg, #050816 0%, #0b1026 55%, #151a5f 100%);
    overflow: hidden;
}
.home-hero::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    max-width: 90vw;
    border-radius: 50%;
    right: -180px;
    bottom: -240px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 0 90px rgba(74, 85, 255, .35);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.02;
    margin-bottom: 24px;
}
.hero-lead {
    font-size: 19px;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 34px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}
.hero-card h3 { font-size: 22px; margin: 0 0 14px; }
.metric { padding: 18px 0; border-bottom: 1px solid var(--border); }
.metric:last-child { border-bottom: 0; padding-bottom: 0; }
.metric strong { display: block; font-size: 26px; color: var(--accent); font-family: var(--ff-head); }
.metric span { color: var(--muted); font-size: 14px; }

/* ═══════════════════ CARDS / GRIDS ═══════════════════ */
.hub-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    transition: var(--transition);
}
.hub-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, .45);
    background: var(--card-2);
}
.hub-card h3 { font-size: 21px; margin: 0 0 12px; }
.hub-card p, .hub-card li { color: var(--muted); margin: 0; }
.hub-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--gradient);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 22px;
}
.hub-list { list-style: none; margin: 0; padding: 0; }
.hub-list li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.hub-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-size: 13px;
}

/* Sección panel (más clara dentro del dark) */
.panel-section {
    background:
        radial-gradient(circle at 80% 0%, rgba(74, 85, 255, .12), transparent 40%),
        var(--dark-soft);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

/* Proceso numerado */
.process .hub-card { position: relative; overflow: hidden; }
.process .hub-card .step-num {
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: var(--ff-head);
    font-size: 40px;
    font-weight: 900;
    color: rgba(0, 212, 255, .22);
    line-height: 1;
}

/* Aseguradoras aliadas */
.partners { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.partner {
    min-width: 220px;
    text-align: center;
    padding: 26px 34px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    font-family: var(--ff-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
}
.partner:hover { border-color: rgba(0, 212, 255, .45); transform: translateY(-4px); }
.partner small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .05em; margin-top: 6px; }

/* ═══════════════════ CTA FINAL ═══════════════════ */
.cta-section {
    background:
        radial-gradient(circle at center, rgba(0, 212, 255, .2), transparent 38%),
        linear-gradient(135deg, #080c24, #151a5f);
    text-align: center;
}
.cta-section h2 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 18px; }
.cta-section p { max-width: 700px; margin: 0 auto 34px; color: var(--muted); font-size: 18px; }

/* ═══════════════════ HERO INTERIOR (subpáginas) ═══════════════════ */
.inner-hero {
    padding: calc(var(--navbar-h) + 70px) 0 60px;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 212, 255, .22), transparent 32%),
        linear-gradient(135deg, #050816 0%, #0b1026 60%, #11173f 100%);
    border-bottom: 1px solid var(--border-soft);
}
.inner-hero h1 { font-size: clamp(30px, 4.5vw, 48px); margin: 0; }
.inner-hero p { margin: 12px 0 0; }
.inner-hero .breadcrumb { margin-bottom: 14px; }
.inner-hero .breadcrumb-item,
.inner-hero .breadcrumb-item a { color: var(--muted-2); font-size: 14px; }
.inner-hero .breadcrumb-item.active { color: var(--accent); }
.inner-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .25); }

/* ═══════════════════ BROKERS GRID ═══════════════════ */
.broker-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}
.broker-card:hover { transform: translateY(-6px); border-color: rgba(0, 212, 255, .45); }
.broker-img-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--dark-2); }
.broker-img { width: 100%; height: 100%; object-fit: cover; }
.broker-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 22, .9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: var(--transition);
}
.broker-card:hover .broker-overlay { opacity: 1; }
.broker-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.broker-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}
.broker-btn-primary { background: var(--gradient); color: var(--white); }
.broker-btn-secondary { background: rgba(255, 255, 255, .12); color: var(--white); border: 1px solid var(--border); }
.broker-body { padding: 20px; text-align: center; }
.broker-name { font-size: 17px; margin: 0 0 8px; color: var(--white); }
.broker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
}

/* ═══════════════════ ASISTENCIA ═══════════════════ */
.emergency-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    padding: 34px;
    color: var(--white);
    overflow: hidden;
}
.emergency-card .ec-label { font-size: 13px; opacity: .85; margin-bottom: 8px; }
.emergency-card h2 { margin: 0 0 14px; }
.emergency-phone a { color: var(--white); font-family: var(--ff-head); font-weight: 800; }
.service-chip {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 10px;
    text-align: center;
    height: 100%;
}
.service-chip img { height: 40px; object-fit: contain; margin-bottom: 10px; }
.service-chip-label { display: block; font-size: 12px; color: var(--muted); }
.sinister-step { display: flex; gap: 16px; margin-bottom: 18px; }
.sinister-step:last-child { margin-bottom: 0; }
.step-num {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    display: grid;
    place-items: center;
    font-family: var(--ff-head);
    font-weight: 800;
}
.step-content h5 { margin: 0 0 4px; color: var(--white); font-size: 16px; }
.step-content p { margin: 0; color: var(--muted); font-size: 14px; }
.asistencia-img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; min-height: 360px; }

/* ═══════════════════ CONTACTO ═══════════════════ */
.contact-info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    height: 100%;
}
.contact-info-card h3 { margin: 0 0 12px; }
.contact-info-card > p { color: var(--muted); }
.ci-row { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; }
.ci-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--accent);
}
.ci-text small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.ci-text a, .ci-text span { color: var(--text); }
.contact-map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); height: 100%; }

/* ═══════════════════ FOOTER ═══════════════════ */
.site-footer { background: #03050f; border-top: 1px solid var(--border); color: var(--muted); }
.footer-top { padding: 64px 0 40px; }
.footer-brand-logo img { height: 46px; margin-bottom: 18px; }
.footer-desc { font-size: 14px; color: var(--muted); line-height: 1.8; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: var(--transition);
}
.footer-social a:hover { color: var(--white); background: var(--gradient); border-color: transparent; }
.footer-col-title { font-family: var(--ff-head); font-weight: 700; color: var(--white); margin-bottom: 18px; font-size: 16px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 11px; }
.footer-nav a { color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 9px; transition: var(--transition); }
.footer-nav a:hover { color: var(--accent); }
.footer-contact-row { display: flex; gap: 13px; align-items: center; margin-bottom: 16px; }
.footer-ci {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--accent);
}
.footer-ct small { display: block; font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; }
.footer-ct a, .footer-ct span { color: var(--text); font-size: 14px; }
.footer-sep { border-color: var(--border-soft); margin: 0; }
.footer-bottom { padding: 22px 0; font-size: 13px; }
.footer-bottom a { color: var(--accent); }

/* ═══════════════════ WHATSAPP FLOTANTE ═══════════════════ */
#wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 28px;
    z-index: 1200;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
    transition: var(--transition);
}
#wa-float:hover { transform: scale(1.08); color: var(--white); }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 991.98px) {
    .nav-menu { display: none; }
    section { padding: 70px 0; }
    .home-hero { min-height: auto; }
    .hero-card { margin-top: 36px; }
}
@media (max-width: 575.98px) {
    .btn-hub { width: 100%; justify-content: center; }
    .hero-actions { flex-direction: column; }
    .partner { min-width: 100%; }
}
