:root {
    --brand-red: #e91e29;
    --brand-dark-red: #c91620;
    --ink: #242424;
    --muted: #707070;
    --soft: #f8f8f9;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    line-height: 1.65;
}

h1,
h2,
h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.16;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e8e8eb;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.brand-logo {
    width: 185px;
    height: 68px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.nav-link {
    font-weight: 600;
}

.btn-brand {
    background: var(--brand-red);
    color: white;
    border: 2px solid var(--brand-red);
    font-weight: 700;
    border-radius: 10px;
    padding: 11px 20px;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-dark-red);
    color: white;
    border-color: var(--brand-dark-red);
}

.hero-section {
    background: #f8f8f9;
    padding: 105px 0;
}

.eyebrow {
    display: inline-block;
    color: var(--brand-red);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero-section h1 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    letter-spacing: -1.7px;
}

.hero-section h1 span {
    color: var(--brand-red);
}

.hero-section .lead {
    max-width: 650px;
    color: var(--muted);
    margin-top: 22px;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-panel {
    background: white;
    border: 1px solid #e8e8eb;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 70px rgba(25, 25, 25, 0.04);
}

.panel-top {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 25px;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: var(--brand-red);
    border-radius: 50%;
    margin-right: 7px;
}

.hero-panel h2 {
    font-size: 1.7rem;
    margin-bottom: 24px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8eb;
    font-weight: 600;
}

.process-step strong {
    color: var(--brand-red);
    font-size: 1.2rem;
}

.panel-footer {
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.8rem;
}

.section-space {
    padding: 95px 0;
}

.section-heading {
    max-width: 750px;
}

.section-heading p,
.muted-section p {
    color: var(--muted);
}

.feature-card {
    height: 100%;
    padding: 32px;
    border: 1px solid #e8e8eb;
    border-radius: 16px;
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(30, 30, 45, 0.08);
}

.feature-number {
    color: var(--brand-red);
    font-weight: 800;
    font-size: 1.1rem;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-top: 15px;
}

.feature-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.muted-section {
    background: var(--soft);
}

.benefit-list {
    background: white;
    border-radius: 16px;
    padding: 20px 30px;
}

.benefit-list div {
    padding: 17px 0;
    border-bottom: 1px solid #e8e8eb;
    font-weight: 600;
}

.benefit-list div:last-child {
    border-bottom: 0;
}

.benefit-list span {
    color: var(--brand-red);
    margin-right: 10px;
}

.audience-card {
    height: 100%;
    padding: 25px 16px;
    border: 1px solid #e8e8eb;
    border-radius: 14px;
    font-weight: 700;
    background: white;
}

.cta-section {
    background: linear-gradient(120deg, var(--brand-dark-red), var(--brand-red));
    color: white;
    padding: 80px 0;
}

.cta-section p {
    margin: 20px 0 30px;
}

.cta-section .btn {
    color: var(--brand-dark-red);
    border-radius: 12px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.site-footer {
    background: #16171b;
    color: #e2e2e4;
    padding: 25px 0;
    font-size: 0.85rem;
}

.site-footer a {
    color: white;
}

@media (max-width: 767px) {
    .hero-section {
        padding: 65px 0;
    }

    .section-space {
        padding: 65px 0;
    }

    .hero-panel {
        padding: 22px;
    }

    .brand-logo {
        width: 155px;
        height: 60px;
    }

    .feature-card {
        padding: 25px;
    }
}

/* Cómo funciona */
.how-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e8e8eb;
    border-radius: 16px;
    padding: 28px;
}

.how-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff0f1;
    color: var(--brand-red);
    font-weight: 700;
    font-size: 1.15rem;
}

.how-card h3 {
    font-size: 1.2rem;
    margin: 20px 0 12px;
}

.how-card p {
    color: var(--muted);
    margin: 0;
}

/* Preguntas frecuentes */
.vr-faq {
    max-width: 860px;
}

.vr-faq .accordion-item {
    border-color: #e8e8eb;
}

.vr-faq .accordion-button {
    font-weight: 700;
    color: var(--ink);
    padding: 20px 22px;
}

.vr-faq .accordion-button:not(.collapsed) {
    background: #fff0f1;
    color: #c91620;
    box-shadow: none;
}

.vr-faq .accordion-button:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 .2rem rgba(233, 30, 41, .12);
}

.vr-faq .accordion-body {
    color: #555555;
    padding: 20px 22px;
}

/* Navegación móvil y accesibilidad */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 14px 0 8px;
    }

    .navbar-nav .btn-brand {
        display: inline-block;
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .feature-card {
        transition: none;
    }
}

/* Quiénes somos */
.about-section {
    background: #ffffff;
}

.about-card {
    border: 1px solid #e8e8eb;
    border-radius: 20px;
    background: #f8f8f9;
    padding: clamp(26px, 5vw, 55px);
}

.about-card h2 {
    max-width: 800px;
    margin-bottom: 22px;
}

.about-card p {
    color: #555555;
    margin-bottom: 17px;
}

.about-card .about-lead {
    color: #242424;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 26px;
}

/* Datos de contacto del pie de página */
.site-footer .footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.site-footer address {
    font-style: normal;
    line-height: 1.7;
}

.site-footer a {
    overflow-wrap: anywhere;
}


/* Contacto V4 */
.contact-section { background: #ffffff; }
.contact-card, .contact-side-card { background: #fff; border: 1px solid var(--vr-line, #e8e8eb); border-radius: 18px; padding: clamp(22px, 3vw, 36px); }
.contact-card { box-shadow: 0 12px 35px rgba(25,25,25,.04); }
.contact-card .form-label { font-weight: 600; }
.contact-card .form-control, .contact-card .form-select { padding: 12px 14px; border-radius: 10px; border-color: #dedee2; }
.contact-card .form-control:focus, .contact-card .form-select:focus { border-color: #e91e29; box-shadow: 0 0 0 .2rem rgba(233,30,41,.1); }
.contact-privacy { font-size: .85rem; color: #666; }
.contact-side-card { background: #f8f8f9; }
.contact-side-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.contact-side-card p { line-height: 1.7; margin-bottom: 24px; }
.contact-side-card a { color: #c91620; overflow-wrap: anywhere; }

/* WhatsApp flotante V4 */
.vr-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 1080; font-family: 'DM Sans', sans-serif; }
.vr-whatsapp-toggle { width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; margin-left: auto; border: 0; border-radius: 50%; background: #25d366; color: white; box-shadow: 0 5px 20px rgba(0,0,0,.22); cursor: pointer; }
.vr-whatsapp-toggle:hover { background: #1ebc59; }
.vr-whatsapp-toggle:focus-visible, .vr-whatsapp-close:focus-visible { outline: 3px solid #242424; outline-offset: 3px; }
.vr-whatsapp-panel { width: min(340px, calc(100vw - 36px)); margin-bottom: 14px; border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 8px 35px rgba(0,0,0,.22); border: 1px solid #e8e8eb; }
.vr-whatsapp-panel[hidden] { display: none; }
.vr-whatsapp-header { background: #128c7e; color: white; display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; }
.vr-whatsapp-close { border: 0; background: transparent; color: white; font-size: 27px; line-height: 1; cursor: pointer; }
.vr-whatsapp-body { padding: 20px; color: #242424; }
.vr-whatsapp-body p { margin: 0 0 12px; line-height: 1.5; }
.vr-whatsapp-link { display: block; background: #25d366; color: #fff; text-align: center; text-decoration: none; border-radius: 9px; padding: 12px; font-weight: 700; margin: 18px 0 10px; }
.vr-whatsapp-link:hover { background: #1ebc59; color: white; }
.vr-whatsapp-body span { display: block; text-align: center; color: #666; font-size: .85rem; }
@media(max-width: 575px) { .vr-whatsapp { right: 14px; bottom: 14px; } .vr-whatsapp-toggle { width: 56px; height: 56px; } }

/* V5: portada en orden informativo, también en móviles */
.hero-intro { max-width: 850px; margin: 0 auto 1.7rem; text-align: center; }
.hero-intro .lead { max-width: 740px; margin-left: auto; margin-right: auto; }
.hero-panel-wide { max-width: 920px; margin: 0 auto; }
.hero-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
.hero-panel-wide .process-step { display: flex; align-items: center; gap: .8rem; }
.hero-panel-wide .process-step strong { flex: 0 0 78px; font-size: .86rem; white-space: nowrap; }
.hero-panel-wide .process-step span { flex: 1; }
.hero-actions { margin: 2rem auto 0; }
.hero-actions h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); margin-bottom: 1rem; }
@media (max-width: 767.98px) {
    .hero-intro { text-align: left; margin-bottom: 1.2rem; }
    .hero-steps { grid-template-columns: 1fr; }
    .hero-panel-wide .process-step { gap: .55rem; }
    .hero-panel-wide .process-step strong { flex-basis: 64px; font-size: .8rem; }
    .hero-panel-wide .process-step span { font-size: .9rem; }
    .hero-actions { margin-top: 1.4rem; }
    .hero-actions .btn { width: 100%; }
}
