:root {
    --azul-profundo: #07142f;
    --azul-continental: #1237a2;
    --azul-electrico: #2557ff;
    --verde-vida: #1ed760;
    --naranja-energia: #ff6d00;
    --amarillo-meta: #ffd166;
    --gris-carbon: #17212b;
    --gris-texto: #516070;
    --gris-suave: #eef3f7;
    --blanco: #ffffff;
    --sombra-suave: 0 20px 50px rgba(7, 20, 47, 0.12);
    --sombra-media: 0 24px 70px rgba(7, 20, 47, 0.2);
    --radio-xl: 30px;
    --radio-lg: 22px;
    --radio-md: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gris-carbon);
    background: #fbfdff;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    background: var(--azul-profundo);
    color: var(--blanco);
    padding: 10px 14px;
    border-radius: 10px;
    z-index: 9999;
}

.skip-link:focus {
    left: 12px;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(18, 55, 162, 0.08);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--azul-profundo);
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--naranja-energia), var(--amarillo-meta));
    color: var(--azul-profundo);
    box-shadow: 0 12px 30px rgba(255, 109, 0, 0.28);
}

.brand-text {
    font-size: 1.35rem;
    text-transform: uppercase;
}

.brand-text strong {
    color: var(--naranja-energia);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.nav-link {
    font-weight: 800;
    color: var(--azul-profundo);
    padding: 10px 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--naranja-energia), #ff8d2b);
    color: var(--blanco);
    box-shadow: 0 14px 34px rgba(255, 109, 0, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 18px 44px rgba(255, 109, 0, 0.36);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--blanco);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-large {
    padding: 15px 24px;
}

.hero-pro {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    color: var(--blanco);
    background:
        radial-gradient(circle at 20% 25%, rgba(30, 215, 96, 0.35), transparent 28%),
        linear-gradient(135deg, rgba(7, 20, 47, 0.92), rgba(18, 55, 162, 0.72)),
        url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1920&q=80') center/cover;
    overflow: hidden;
}

.hero-pro::after {
    content: '';
    position: absolute;
    inset: auto -10% -90px -10%;
    height: 180px;
    background: #fbfdff;
    transform: rotate(-2deg);
    transform-origin: left top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 92%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 48px;
    padding: 90px 0 130px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--amarillo-meta);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 18px;
}

.eyebrow.dark {
    background: rgba(18, 55, 162, 0.08);
    color: var(--azul-continental);
}

.hero-content h1,
.section-heading h2,
.cta-pro-card h2 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-content h1 {
    font-size: clamp(2.55rem, 6vw, 5.45rem);
    max-width: 850px;
    margin-bottom: 22px;
}

.hero-content p {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    max-width: 720px;
    color: rgba(255,255,255,0.86);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.92);
    font-weight: 800;
}

.hero-card {
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radio-xl);
    padding: 30px;
    box-shadow: var(--sombra-media);
    backdrop-filter: blur(18px);
}

.hero-card-label {
    color: var(--amarillo-meta);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.service-pills span {
    padding: 12px 15px;
    border-radius: 16px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.15);
    font-weight: 800;
}

.hero-card-footer {
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 20px;
    color: rgba(255,255,255,0.92);
    font-size: 1.1rem;
}

.search-section {
    position: relative;
    z-index: 3;
    margin-top: -70px;
    padding-bottom: 46px;
}

.section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 28px;
}

.section-heading.compact {
    margin-bottom: 34px;
}

.section-heading h2,
.cta-pro-card h2 {
    color: var(--azul-profundo);
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 14px;
}

.section-heading p,
.cta-pro-card p {
    color: var(--gris-texto);
    font-size: 1.05rem;
}

.pro-search-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    background: var(--blanco);
    padding: 18px;
    border-radius: var(--radio-xl);
    box-shadow: var(--sombra-suave);
    border: 1px solid rgba(18, 55, 162, 0.08);
}

.pro-search-form label {
    display: grid;
    gap: 8px;
}

.pro-search-form span {
    color: var(--azul-profundo);
    font-weight: 900;
    font-size: 0.86rem;
}

.pro-search-form select {
    width: 100%;
    min-height: 56px;
    border-radius: 18px;
    border: 1px solid #d8e1ea;
    background: #f8fbff;
    color: var(--gris-carbon);
    padding: 0 16px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pro-search-form select:focus {
    border-color: var(--azul-electrico);
    background: var(--blanco);
    box-shadow: 0 0 0 4px rgba(37, 87, 255, 0.12);
}

.pro-search-form select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.results-wrapper {
    padding: 8px 0 42px;
}

.results-section {
    min-height: 180px;
    width: 100%;
}

.result-card,
.pro-card {
    background: var(--blanco);
    border-radius: var(--radio-lg);
    padding: 26px;
    margin-bottom: 18px;
    border: 1px solid rgba(18, 55, 162, 0.1);
    box-shadow: 0 12px 34px rgba(7, 20, 47, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: rise 0.35s ease both;
}

.result-card:hover,
.pro-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 109, 0, 0.55);
    box-shadow: 0 22px 46px rgba(7, 20, 47, 0.12);
}

.result-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.result-text {
    flex: 1;
    min-width: 240px;
}

.result-category,
.pro-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 109, 0, 0.11);
    color: #c94f00;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.result-title,
.pro-card h3 {
    color: var(--azul-profundo);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 8px;
}

.result-location,
.pro-card p {
    color: var(--gris-texto);
}

.btn-ficha,
.result-card .btn-primary,
.pro-card .btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    padding: 12px 18px;
    background: var(--azul-continental);
    color: var(--blanco);
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(18, 55, 162, 0.22);
}

.no-results {
    text-align: center;
    padding: 42px 24px;
    background: linear-gradient(135deg, #ffffff, #f5f9ff);
    border: 1px dashed rgba(18, 55, 162, 0.25);
    border-radius: var(--radio-lg);
    color: var(--gris-texto);
}

.benefits-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #fbfdff, #eef5ff);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.benefit-card {
    background: var(--blanco);
    border: 1px solid rgba(18, 55, 162, 0.08);
    border-radius: var(--radio-lg);
    padding: 28px;
    box-shadow: 0 14px 38px rgba(7, 20, 47, 0.07);
}

.benefit-card i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.16), rgba(37, 87, 255, 0.14));
    color: var(--azul-continental);
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.benefit-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--azul-profundo);
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--gris-texto);
}

.cta-pro-section {
    padding: 76px 0;
}

.cta-pro-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    color: var(--blanco);
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 209, 102, 0.28), transparent 24%),
        linear-gradient(135deg, var(--azul-profundo), var(--azul-continental));
    border-radius: var(--radio-xl);
    padding: clamp(28px, 5vw, 52px);
    box-shadow: var(--sombra-media);
    overflow: hidden;
    position: relative;
}

.cta-pro-card::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border: 38px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    right: -70px;
    bottom: -80px;
}

.cta-pro-card > * {
    position: relative;
    z-index: 1;
}

.cta-pro-card h2,
.cta-pro-card p {
    color: var(--blanco);
}

.cta-pro-card p {
    color: rgba(255,255,255,0.82);
    max-width: 720px;
}

.legal-note {
    padding: 0 0 62px;
}

.legal-note .container {
    background: #fff8ed;
    border: 1px solid rgba(255, 109, 0, 0.16);
    border-radius: var(--radio-lg);
    padding: 18px 22px;
    color: #684019;
    text-align: center;
}

.site-footer {
    background: var(--azul-profundo);
    color: rgba(255,255,255,0.78);
    padding: 46px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: start;
}

.footer-brand {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--blanco);
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
    font-weight: 800;
}

.footer-links a:hover {
    color: var(--amarillo-meta);
}

.copyright {
    grid-column: 1 / -1;
    color: rgba(255,255,255,0.55);
    font-size: 0.92rem;
}

.float-whatsapp {
    position: fixed;
    width: 62px;
    height: 62px;
    right: 24px;
    bottom: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: var(--blanco);
    font-size: 2rem;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.32);
    z-index: 100;
    transition: transform 0.25s ease, background 0.25s ease;
}

.float-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px) scale(1.04);
}

.separador {
    height: 18px;
}

/* =========================================================
   RUNTRIA PRO - FICHAS MODERNIZADAS
   Agregar este bloque al final del CSS principal.
   Mantiene la lógica JS y mejora solo la presentación visual.
========================================================= */

.pro-card-premium {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(26, 35, 126, 0.10);
    border-radius: 26px;
    background:
        radial-gradient(circle at top left, rgba(255, 109, 0, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.pro-card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 109, 0, 0.45);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

.pro-card-topline {
    height: 7px;
    width: 100%;
    background: linear-gradient(90deg, #ff6d00 0%, #ff9f1c 42%, #1a237e 100%);
}

.pro-card-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 26px 26px 12px;
}

.pro-avatar {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1a237e, #283593);
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 12px 28px rgba(26, 35, 126, 0.28);
}

.pro-card-heading {
    min-width: 0;
}

.pro-card-premium .pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    background: rgba(255, 109, 0, 0.10);
    color: #d95d00;
    border: 1px solid rgba(255, 109, 0, 0.25);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 800;
}

.pro-card-premium h3 {
    margin: 12px 0 4px;
    color: #111827;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.12;
    font-family: 'Montserrat', sans-serif;
}

.pro-tagline {
    margin: 0;
    color: #1a237e;
    font-weight: 700;
    line-height: 1.35;
}

.pro-summary {
    padding: 0 26px;
    margin: 8px 0 20px;
    color: #4b5563;
    font-size: 0.96rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-meta {
    display: grid;
    gap: 10px;
    padding: 0 26px 24px;
}

.pro-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5b6472;
    font-size: 0.9rem;
    text-decoration: none;
}

.pro-meta-item i {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: #eef2ff;
    color: #1a237e;
}

.pro-location:hover span {
    color: #ff6d00;
    text-decoration: underline;
}

.pro-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 18px 26px 26px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.pro-profile-btn,
.pro-whatsapp-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pro-profile-btn {
    background: #1a237e;
    color: #ffffff;
    padding: 12px 16px;
}

.pro-profile-btn:hover {
    background: #11185f;
    transform: translateY(-2px);
}

.pro-whatsapp-btn {
    padding: 12px 15px;
    background: #eafff3;
    color: #128c7e;
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.pro-whatsapp-btn:hover {
    background: #25d366;
    color: #ffffff;
    transform: translateY(-2px);
}

.pro-empty-state {
    max-width: 820px;
    margin: 10px auto 30px;
    padding: 46px 28px;
    text-align: center;
    border-radius: 28px;
    border: 1px solid rgba(26, 35, 126, 0.12);
    background:
        radial-gradient(circle at top, rgba(255, 109, 0, 0.10), transparent 42%),
        #ffffff;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.pro-empty-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 22px;
    background: #fff4e8;
    font-size: 1.8rem;
}

.pro-empty-kicker {
    display: inline-block;
    color: #ff6d00;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pro-empty-state h3 {
    margin: 0 auto 12px;
    max-width: 680px;
    color: #1a237e;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.15;
}

.pro-empty-state p {
    max-width: 680px;
    margin: 0 auto;
    color: #5b6472;
    line-height: 1.7;
}

.pro-empty-btn {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 24px !important;
    padding: 15px 24px !important;
    background: #ff6d00 !important;
}

.pro-empty-btn:hover {
    background: #e66200 !important;
}

@media (max-width: 640px) {
    .pro-card-header {
        padding: 22px 20px 10px;
    }

    .pro-summary,
    .pro-meta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pro-actions {
        grid-template-columns: 1fr;
        padding: 16px 20px 22px;
    }

    .pro-avatar {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 16px;
    }
}


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

@media (max-width: 980px) {
    .hero-grid,
    .cta-pro-card {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 620px;
    }

    .pro-search-form,
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1140px);
    }

    .header-inner {
        min-height: auto;
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu,
    .nav-menu .btn,
    .nav-link {
        width: 100%;
    }

    .nav-menu .btn,
    .nav-link {
        justify-content: center;
        text-align: center;
    }

    .hero-pro {
        min-height: auto;
    }

    .hero-grid {
        padding: 70px 0 118px;
        gap: 30px;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-badges {
        display: grid;
    }

    .pro-search-form,
    .benefit-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .search-section {
        margin-top: -54px;
    }

    .footer-links {
        justify-content: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .float-whatsapp {
        width: 56px;
        height: 56px;
        right: 16px;
        bottom: 16px;
        font-size: 1.8rem;
    }
}
