/* Landing coche accidentado - estilos específicos de la plantilla */

/* Landing: azul principal, verde secundario. Tipografía grande y espacio bajo navbar */
body.landing-v2 { background: var(--bg-page); font-size: 22px !important; }
/* Navbar: maquetación Bootstrap, texto centrado verticalmente */
.landing-v2 .nav-landing { background: var(--brand-white) !important; border-bottom: 1px solid #e0e6ec; padding: 1.25rem 0; box-shadow: 0 1px 3px rgba(0,0,0,0.04); min-height: 0 !important; }
.landing-v2 .nav-landing .navbar-header { float: left; display: flex; align-items: center; }
.landing-v2 .nav-landing .navbar-brand {
    font-size: 2rem !important;
    font-weight: 700;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    height: auto !important;
    display: flex;
    align-items: center;
    line-height: 1.1;
}
.landing-v2 .nav-landing .navbar-brand .nav-isotipo {
    display: inline-block;
    height: 34px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}
.landing-v2 .nav-landing .navbar-nav { margin: 0; }
.landing-v2 .nav-landing .navbar-nav > li > a.nav-phone {
    display: inline-block;
    background: var(--brand-green);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.7rem !important;
    padding: 0.95rem 1.4rem !important;
    border-radius: 10px;
    margin-top: 0;
    line-height: 1.1;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
    box-shadow: 0 6px 16px rgba(var(--brand-primary-rgb), 0.18);
}
.landing-v2 .nav-landing .nav-phone:hover,
.landing-v2 .nav-landing .nav-phone:focus {
    background: var(--brand-green-dark);
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(var(--brand-primary-rgb), 0.26);
    outline: none;
}
.landing-v2 .nav-landing .nav-phone:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(var(--brand-primary-rgb), 0.18); }
.landing-v2 .navbar-toggle .icon-bar { background: var(--brand-primary); }

/* Desktop: mantener layout Bootstrap (alineado con el body) */
@media (min-width: 768px) {
    .landing-v2 .nav-landing .container { display: block; }
    .landing-v2 .nav-landing .navbar-header { float: left; }
    .landing-v2 .nav-landing .navbar-collapse { float: right; width: auto; }
    .landing-v2 .nav-landing .navbar-nav,
    .landing-v2 .nav-landing .navbar-nav.navbar-right { float: right; }
}

/* Espacio bajo navbar: todo con padding para que el gradiente llene el hueco (sin franja blanca) */
.landing-v2 .landing-banner { padding-top: 25rem !important; padding-bottom: 18rem !important; }
.landing-banner {
    background-image:
        linear-gradient(160deg, rgba(232, 238, 245, 0.70) 0%, rgba(214, 224, 235, 0.64) 50%, rgba(226, 234, 242, 0.70) 100%),
        url('../images/landing-coche-accidentado/hero-fondo.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    overflow: hidden;
}
.banner-intro { font-size: 3rem !important; font-weight: 700; color: var(--brand-primary); margin: 0 0 0.75rem; text-align: center; line-height: 1.2; }
.banner-intro-desc { font-size: 1.7rem !important; color: var(--text-footer); text-align: center; margin: 0 0 2.5rem; line-height: 1.5; }
.landing-banner-row { align-items: center; }
@media (min-width: 992px) {
    .landing-banner-row { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 5.5rem; }
    .landing-banner-row > [class*="col-"] { float: none; }
    .landing-banner-row > .col-md-6 { flex: 0 0 calc(50% - 2.75rem); max-width: calc(50% - 2.75rem); }
    .banner-right { padding-left: 0; }
}
.landing-form-card { background: var(--brand-white); border-radius: 20px; box-shadow: 0 12px 40px rgba(var(--brand-primary-rgb), 0.15), 0 0 0 1px rgba(var(--brand-primary-rgb), 0.06); padding: 2.5rem; max-width: 560px; margin: 0 auto; }
.banner-right { padding-left: 0; max-width: 560px; margin: 0 auto; text-align: center; }
.banner-right-title { font-size: 3rem !important; font-weight: 700; color: var(--brand-primary); margin-bottom: 1.25rem; line-height: 1.25; }
.banner-right-desc { font-size: 1.7rem !important; color: var(--text-main); line-height: 1.65; margin: 0; text-shadow: 0 1px 0 rgba(255,255,255,0.55); }
@media (max-width: 991px) {
    .banner-intro { font-size: 2rem !important; }
    .banner-intro-desc { font-size: 1.35rem !important; margin-bottom: 1.5rem; }
    .banner-right { padding-left: 15px; padding-top: 2rem; text-align: left; }
    .banner-right-title { font-size: 2.2rem !important; }
    .banner-right-desc { font-size: 1.35rem !important; }
}
@media (max-width: 991px) { .landing-banner { background-attachment: scroll; } }

/* Formulario simple y limpio dentro de la tarjeta */
.landing-v2 .landing-form-modern { display: block; }
.landing-v2 .landing-form-modern .form-section { width: 100%; margin: 0 0 0.4rem; }
.landing-v2 .landing-form-modern .form-section-vehicle,
.landing-v2 .landing-form-modern .form-section-contact { background: transparent; border-radius: 0; padding: 0; }
.landing-v2 .landing-form-modern .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column-gap: 1.5rem; grid-row-gap: 0.45rem; margin-top: 0; }
.landing-v2 .landing-form-modern .field { width: 100%; }
@media (max-width: 767px) {
    .landing-v2 .landing-form-modern .field-grid { grid-template-columns: 1fr; }
}
.landing-v2 .landing-form-modern .form-section-contact { margin-top: 0; }
.landing-v2 .landing-form-modern .form-section-cta { margin-top: 0.5rem; }
.landing-v2 .landing-form-modern .form-section-privacy { border-top: 1px dashed #dde4ec; margin-top: 0.5rem; padding-top: 0.5rem; font-size: 0.85em; color: var(--text-muted); }

/* Ocultamos cabeceras numeradas (ya no se usan) */
.landing-v2 .landing-form-modern .form-section-header { display: none; }

.landing-v2 .landing-form-card .form-group { margin-bottom: 0.4rem; }
.landing-v2 .landing-form-card .form-control {
    border-radius: 10px;
    border-color: #d4dde8;
    box-shadow: none;
    background-color: #ffffff;
}
.landing-v2 .landing-form-card .form-control:focus { border-color: var(--brand-green); box-shadow: 0 0 0 2px rgba(var(--brand-green-rgb), 0.25); }

/* Selects del formulario: usamos el estilo base .form-control (bordes redondeados y foco verde) */
.landing-v2 .landing-form-card select.form-control {
    background-color: #ffffff;
}
.landing-v2 .landing-form-card select.form-control option,
.landing-v2 .landing-form-card select.form-control optgroup {
    font-size: 1.3rem;
    font-family: var(--font-brand);
}

.landing-v2 .landing-form-card .btn-primary {
    background: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    font-weight: 700;
    font-size: 1.5rem !important;
    padding: 1rem 2.2rem;
    border-radius: 999px;
}
.landing-v2 .landing-form-card .btn-primary:hover { background: var(--brand-green-dark) !important; border-color: var(--brand-green-dark) !important; }
.landing-v2 .landing-form-card label { font-size: 1.35rem !important; }
.landing-v2 .landing-form-card .form-control { font-size: 1.3rem !important; padding: 0.7rem 0.75rem; min-height: 3rem; }
.landing-v2 .landing-form-card .table-rgpd { font-size: 1rem !important; margin-top: 0.25rem; }
.landing-v2 .landing-form-card .table-rgpd td,
.landing-v2 .landing-form-card .table-rgpd th { color: var(--text-footer); padding: 0.3em 0.5em 0.3em 0; }
.landing-v2 .landing-form-card .form-check-label,
.landing-v2 .landing-form-card input[type="checkbox"] + label { font-size: 1.1rem !important; }

.landing-v2 .landing-form-card .phone-composite {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
}
.landing-v2 .landing-form-card .phone-composite .phone-country {
    flex: 0 0 44px;
    /* Solo bandera, sin flecha del select */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
    text-align: center;
    font-size: 1.45rem !important;
    line-height: 1;
    /* Fuerza a un font que renderice emojis/banderas en Windows */
    font-family: "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji","Twemoji Mozilla",sans-serif !important;
    min-width: 44px;
    max-width: 44px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Nuevo picker de país con banderas */
.landing-v2 .landing-form-card .phone-composite .phone-country-picker {
    flex: 0 0 38px;
    position: relative;
}
.landing-v2 .landing-form-card .phone-composite .phone-country-display {
    width: 38px;
    height: 100%;
    border: 1px solid #d4dde8;
    border-right: 0;
    background: #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}
.landing-v2 .landing-form-card .phone-composite .phone-country-display:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--brand-green-rgb), 0.25);
}
.landing-v2 .landing-form-card .phone-composite .phone-country-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 9999;
    width: 40px;
    max-height: 280px;
    overflow: auto;
    border: 1px solid #d4dde8;
    border-radius: 10px;
    background: #fff;
    padding: 6px 0;
    display: none;
}
.landing-v2 .landing-form-card .phone-composite .phone-country-options.is-open {
    display: block;
}
.landing-v2 .landing-form-card .phone-composite .phone-country-option {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.landing-v2 .landing-form-card .phone-composite .phone-country-option:hover,
.landing-v2 .landing-form-card .phone-composite .phone-country-option[aria-selected="true"] {
    background: #f5f5f5;
}
.landing-v2 .landing-form-card .phone-composite .phone-country-option .fi {
    font-size: 1.15rem;
}

.landing-v2 .landing-form-card .phone-composite .phone-country-display .fi {
    font-size: 1.15rem;
}

.landing-v2 .landing-form-card .phone-composite .phone-country option {
    font-family: "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji","Twemoji Mozilla",sans-serif !important;
    font-size: 1.45rem !important;
}
.landing-v2 .landing-form-card .phone-composite .phone-region {
    flex: 0 0 6ch;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 0 !important;
    border-left: 0 !important;
    padding-left: 0.6rem;
}
.landing-v2 .landing-form-card .phone-composite .phone-local {
    flex: 1 1 auto;
    min-width: 0;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 0 !important;
}
@media (max-width: 767px) {
    .landing-v2 .landing-form-card .phone-composite {
        flex-direction: column;
        gap: 0.5rem;
    }
    .landing-v2 .landing-form-card .phone-composite .phone-country,
    .landing-v2 .landing-form-card .phone-composite .phone-local {
        flex: 0 0 auto;
        width: 100%;
    }
    .landing-v2 .landing-form-card .phone-composite .phone-country-picker { flex: 0 0 auto; width: 100%; }
    .landing-v2 .landing-form-card .phone-composite .phone-country-display { width: 100%; border-right: 1px solid #d4dde8; border-left: 1px solid #d4dde8; border-radius: 10px !important; }
    .landing-v2 .landing-form-card .phone-composite .phone-local { border-radius: 10px !important; border-left: 1px solid #d4dde8 !important; }
}

.landing-v2 .landing-form-card .phone-hint {
    margin-top: 0.35rem;
    font-size: 1.05rem !important;
    line-height: 1.35;
    color: var(--text-soft);
}
.landing-v2 .landing-form-card .phone-hint.is-warning { color: #8a5a00; }
.landing-v2 .landing-form-card .phone-hint.is-error { color: #b00020; }

.landing-v2 .landing-form-card input[type="checkbox"] {
    accent-color: var(--brand-red);
}

/* Evita que mensajes de error visibles de reCAPTCHA v3 ensucien la UI en dev */
.rc-anchor-error-message,
#rc-anchor-error-message {
    display: none !important;
}

.landing-wave { display: block; width: 100%; height: 60px; position: absolute; left: 0; bottom: -1px; }
.landing-steps { padding: 8.5rem 0; background: var(--brand-primary); }
.landing-steps .step { text-align: center; padding: 0 1rem; }
.landing-steps .steps-head { margin-bottom: 4.5rem !important; }
.landing-steps .step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.6rem;
    position: relative;
    overflow: visible;
    transform: translateY(6px);
    transition: transform 160ms ease-out;
}
.landing-steps .container.reveal-section .step .step-icon {
    opacity: 0;
    transform: translateY(24px) scale(0.9);
}
.landing-steps .container.reveal-section.is-visible .step .step-icon {
    animation: stepIconIn 520ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}
.landing-steps .container.reveal-section.is-visible .step:nth-child(1) .step-icon { animation-delay: 120ms; }
.landing-steps .container.reveal-section.is-visible .step:nth-child(2) .step-icon { animation-delay: 320ms; }
.landing-steps .container.reveal-section.is-visible .step:nth-child(3) .step-icon { animation-delay: 520ms; }
.landing-steps .container.reveal-section.is-visible .step:nth-child(4) .step-icon { animation-delay: 720ms; }
@keyframes stepIconIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(6px) scale(1);
    }
}
/* Círculo blanco de fondo */
.landing-steps .step-icon::before {
    /* Fondo circular desactivado: dejamos solo la silueta de la persona */
    display: none;
}
/* Persona que sobresale del círculo (tipo Looney Tunes) */
.landing-steps .step-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 110%;
    height: 110%;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}
.landing-steps .step:hover .step-icon {
    transform: translateY(0);
}
.landing-steps .step:hover .step-icon::before {
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
/* Imágenes por paso (1 y 2 un poco más grandes) */
.landing-steps .step-icon-1::after {
    width: 118%;
    height: 118%;
    background-image: url('../images/landing-coche-accidentado/steps-persona-1.svg');
}
.landing-steps .step-icon-2::after {
    width: 118%;
    height: 118%;
    background-image: url('../images/landing-coche-accidentado/steps-persona-2.svg');
}
.landing-steps .step-icon-3::after {
    bottom: 10px;
    background-image: url('../images/landing-coche-accidentado/steps-persona-3.svg');
}
.landing-steps .step-icon-4::after {
    background-image: url('../images/landing-coche-accidentado/steps-persona-4.svg');
}
.landing-steps .step h3 { font-size: 1.6rem !important; font-weight: 800; color: var(--brand-white); margin-bottom: 0.5rem; }
.landing-steps .step p { font-size: 1.4rem !important; color: rgba(255,255,255,0.88); line-height: 1.55; }
.landing-benefits { padding: 18rem 0; background: var(--brand-white); position: relative; overflow: hidden; }
.landing-benefits h2 { font-size: 2.25rem !important; font-weight: 700; color: var(--brand-primary); margin-bottom: 1rem; }
.landing-benefits p, .landing-benefits li { font-size: 1.4rem !important; color: var(--text-footer); line-height: 1.6; }
.landing-benefits .check { color: var(--brand-green); font-weight: 700; }
/* Misma altura imagen y texto: flex iguala columnas; imagen rellena su columna */
.landing-benefits-row { display: flex; flex-wrap: wrap; }
.landing-benefits-row .col-md-6 { display: flex; flex-direction: column; }
.landing-benefits-col-img { min-height: 0; }
.landing-benefits-img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 4px 20px rgba(var(--brand-primary-rgb), 0.12); }
.landing-wave-bottom { display: block; width: 100%; height: 70px; margin: 0; position: absolute; left: 0; bottom: -1px; }
.landing-cta {
    background: linear-gradient(to bottom, var(--brand-green) 0%, rgba(96,161,60,0.8) 35%, #f5faf5 75%, #ffffff 100%);
    color: #fff;
    padding: 3.5rem 0 4rem;
    text-align: center;
}
.landing-cta h2 { font-size: 2.25rem !important; font-weight: 700; margin-bottom: 0.5rem; }
.landing-cta p { opacity: 0.95; font-size: 1.45rem !important; }
.landing-cta .btn { background: #fff; color: var(--brand-primary); font-weight: 800; font-size: 1.5rem !important; margin-top: 1.25rem; padding: 1rem 2rem; border: none; border-radius: 10px; }
.landing-cta .btn:hover { background: rgba(255,255,255,0.92); color: var(--brand-primary); }
.img-placeholder { background: var(--bg-placeholder); border: 2px dashed #b8c5d4; color: var(--text-soft); min-height: 200px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border-radius: 12px; }

/* Animación de aparición por scroll (reveal) */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .landing-steps .container.reveal-section .step .step-icon,
    .landing-steps .container.reveal-section.is-visible .step .step-icon {
        animation: none !important;
        opacity: 1 !important;
        transform: translateY(6px) !important;
    }
}

.landing-testimonial { background: var(--brand-green); padding: 7rem 0 8rem; }
.landing-testimonial .testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    overflow: hidden;
}
.landing-testimonial .testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.landing-testimonial .testimonial-quote {
    font-size: 1.6rem !important;
    color: var(--brand-white);
    line-height: 1.7;
    margin: 0 0 0.75rem;
}
.landing-testimonial .testimonial-name {
    font-size: 1.4rem !important;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    margin: 0;
}

/* Sección extra de contenido + CTA al formulario */
.landing-extra-content {
    background: #f5faf5;
    padding: 9rem 0 10rem;
}
.landing-extra-row {
    display: flex;
    align-items: center;
    gap: 5.5rem;
}
.landing-extra-row > .col-md-6:first-child {
    padding-right: 1.2rem;
}
.landing-extra-row > .col-md-6:last-child {
    padding-left: 1.2rem;
}
.landing-extra-title {
    font-size: 2.2rem !important;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1.4rem;
}
.landing-extra-text {
    font-size: 1.4rem !important;
    color: var(--text-footer);
    line-height: 1.7;
    margin-bottom: 0.9rem;
}
.landing-extra-btn {
    margin-top: 1.8rem;
    font-size: 1.5rem !important;
    padding: 1rem 2.2rem;
    border-radius: 999px;
}
.landing-extra-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 480px;
    margin: 0 auto;
}
.landing-extra-image-card {
    width: 220px;
    height: 140px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 34px rgba(var(--brand-primary-rgb), 0.18);
}
.landing-extra-content .container.reveal-section .landing-extra-image-card {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
}
.landing-extra-content .container.reveal-section.is-visible .landing-extra-image-card {
    animation: extraImageIn 480ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}
.landing-extra-content .container.reveal-section.is-visible .landing-extra-image-card:nth-child(1) { animation-delay: 120ms; }
.landing-extra-content .container.reveal-section.is-visible .landing-extra-image-card:nth-child(2) { animation-delay: 320ms; }
.landing-extra-content .container.reveal-section.is-visible .landing-extra-image-card:nth-child(3) { animation-delay: 520ms; }
@keyframes extraImageIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.landing-extra-image-1 {
    background-image: url('../images/landing-coche-accidentado/extra-section-1.webp');
}
.landing-extra-image-2 {
    background-image: url('../images/landing-coche-accidentado/extra-section-2.webp');
}
.landing-extra-image-3 {
    background-image: url('../images/landing-coche-accidentado/extra-section-3.webp');
}
@media (max-width: 991px) {
    .landing-extra-row {
        display: block;
    }
    .landing-extra-content {
        padding: 4.5rem 0 5.5rem;
    }
    .landing-extra-row > .col-md-6:first-child,
    .landing-extra-row > .col-md-6:last-child {
        padding-left: 15px;
        padding-right: 15px;
    }
    .landing-extra-images {
        margin-top: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-extra-content .container.reveal-section .landing-extra-image-card,
    .landing-extra-content .container.reveal-section.is-visible .landing-extra-image-card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Páginas de contenido (vistas desde el footer): imagen y texto bajo el título */
.landing-page-content h1 {
    text-align: center;
    margin-bottom: 10rem !important; /* Más separación entre título e imagen */
}
.landing-page-figure {
    margin: 0 auto 7rem; /* Más separación entre imagen y contenido */
    text-align: center;
}
.landing-page-img {
    width: 100%;
    max-width: 720px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(var(--brand-primary-rgb), 0.12);
}
.landing-page-content p {
    text-align: justify;
}
.landing-page-figcaption {
    font-size: 1.2rem;
    color: var(--text-soft);
    line-height: 1.5;
    margin-top: 0.75rem;
}
.landing-page-text-below {
    font-size: 1.4rem !important;
    color: var(--text-footer);
    line-height: 1.7;
    margin-top: 0;
}
@media (max-width: 991px) {
    .landing-page-content h1 {
        margin-bottom: 3rem !important;
    }
    .landing-page-figure {
        margin: 0 auto 4.5rem;
    }
}

/* Footer: columnas centradas, un enlace por línea (sin doble línea) */
.landing-v2 #footer .space100 .row [class*="col-"] { text-align: center !important; }
.landing-v2 .footerP { text-align: center !important; display: flex; flex-direction: column; align-items: center; }
.landing-v2 .footerP h2,
.landing-v2 .footerP h3 { font-size: 1.5rem !important; margin-bottom: 0.75rem; text-align: center !important; width: 100%; color: var(--brand-green) !important; }
.landing-v2 .footerP ul { margin: 0; padding-left: 0; list-style: none; text-align: center !important; display: flex; flex-direction: column; align-items: center; width: 100%; }
.landing-v2 .footerP li { font-size: 1.5rem !important; line-height: 1.5; text-align: center !important; display: flex; justify-content: center; width: 100%; }
.landing-v2 .footerP li a { white-space: nowrap; display: inline-block; text-align: center; }
.landing-v2 #footer .list-inline > li > a { font-size: 1.5rem !important; }

/* Bloque copyright + legales: separación sobre los links DANA */
.landing-v2 #footer .footer-bottom {
    margin-top: 4.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.landing-v2 #footer .footer-copyright { margin: 0 0 0.25rem; font-size: 1.5rem !important; color: var(--text-footer); }
.landing-v2 #footer .footer-rights { margin: 0; font-size: 1.35rem !important; color: var(--text-soft); }
.landing-v2 #footer .footer-legal { margin: 0; }
.landing-v2 #footer .footer-legal li { display: inline-block; margin-left: 0.5rem; }
.landing-v2 #footer .footer-legal li:first-child { margin-left: 0; }

/* Footer en blanco (sin fondo azul ni ondas) sólo para esta landing */
.landing-v2 #footer.footer { background: var(--brand-white); color: var(--text-footer); padding: 4rem 0; }
.landing-v2 #footer .separator { display: none; }
.landing-v2 #footer a { color: var(--brand-primary); }
.landing-v2 #footer a:hover { color: var(--brand-green); text-decoration: none; }

/* Modal flotante de WhatsApp (adaptado desde inundados) */
#modal-whatsapp-open {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: none !important;
    cursor: pointer;
    background: var(--brand-green);
    color: #fff;
    border-radius: 100%;
    position: fixed;
    right: 18px;
    bottom: 18px;
    transition: ease-in-out 0.3s;
    z-index: 99;
}
#modal-whatsapp-open .fa {
    line-height: 60px;
    font-size: 2.8rem;
}
#modal-whatsapp-open:hover {
    transform: translate(0px, -6px);
    transition: ease-in-out 0.3s;
}
#modal-whatsapp-open.show {
    opacity: 0;
    visibility: hidden !important;
    pointer-events: auto;
    margin-bottom: 40px;
    transition: all ease-in-out 0.6s;
}
#modal-whatsapp-content {
    visibility: hidden;
    position: fixed;
    background: var(--background-grey);
    border-radius: 18px;
    right: 12px;
    bottom: 20px;
    opacity: 0;
    transition: all ease-in-out 0.6s;
    z-index: 99;
    box-shadow: 0px 40px 80px -40px rgba(0,0,0,.5) !important;
}
#modal-whatsapp-content.show {
    opacity: 1;
    visibility: visible !important;
    pointer-events: auto;
    transition: all ease-in-out 0.6s;
}
#modal-whatsapp-content .title {
    background: var(--brand-green);
    color: #fff;
    margin: 0;
    padding: 10px 18px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    position: relative;
}
#modal-whatsapp-content .title h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #fff;
}
#modal-whatsapp-content .title p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    opacity: .9;
}
#modal-whatsapp-content .content {
    padding: 14px 18px 16px;
}
#modal-whatsapp-content .content p {
    font-size: 1.15rem;
    color: var(--color-text);
}
.modal-whatsapp-input-wrapper {
    position: relative;
}
#modal-whatsapp-input {
    width: 100%;
    height: 36px;
    line-height: 36px;
    border-radius: 18px;
    margin: 0;
    padding: 0 52px 0 15px;
    font-size: 1.1rem;
}
#modal-whatsapp-submit {
    position: absolute;
    right: 10px;
    top: 3px;
    background: transparent;
    color: inherit;
    text-decoration: none !important;
    padding: 0;
    border: none !important;
    cursor: pointer;
}
#modal-whatsapp-submit:hover {
    background: transparent;
}

#modal-whatsapp-submit i {
    font-size: 2.3rem;
    color: var(--brand-green);
}

#modal-whatsapp-close {
    background: var(--brand-primary);
    color: #fff;
    text-decoration: none !important;
    border-radius: 50%;
    border: none !important;
    cursor: pointer;
    margin: 0;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 22px;
    padding: 0;
    top: 5px;
    right: 5px;
    transform: none;
    font-size: 0.9rem;
}
#modal-whatsapp-close:hover {
    background: var(--brand-primary);
    opacity: 0.9;
}

/* Modal de cookies */
.cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease-out;
    z-index: 1040;
}
.cookie-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}
.cookie-modal {
    position: fixed;
    /* Altura proporcional a la ventana */
    top: 10vh;
    right: 0;
    bottom: auto;
    width: auto;
    max-width: 430px;
    height: 80vh;
    max-height: 80vh;
    /* Solo bordes izquierdos redondeados para que parezca una tarjeta que entra desde la derecha */
    border-radius: 20px 0 0 20px;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0,0,0,0.25);
    transform: translateX(100%);
    transition: transform 260ms ease-out;
    z-index: 1050;
    display: flex;
    flex-direction: column;
}
.cookie-modal.show {
    transform: translateX(0);
}
.cookie-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e0e6ec;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--brand-primary);
}
.cookie-modal-close {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-soft);
}
.cookie-modal-body {
    padding: 16px 20px 12px;
    overflow-y: auto;
    font-size: 1.3rem;
    color: var(--text-footer);
}
.cookie-modal-body h4 {
    margin-top: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-primary);
}
.cookie-modal-body p {
    margin-bottom: 0.7rem;
}
.cookie-modal-privacy-link {
    margin-top: 1.2rem;
    font-size: 1.2rem;
}
.cookie-modal-footer {
    padding: 10px 20px 18px;
    border-top: 1px solid #e0e6ec;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}
.cookie-modal-footer .btn,
.cookie-modal-footer .btn-default,
.cookie-modal-footer .btn-primary {
    border-radius: 999px !important;
    padding: 1rem 2.2rem !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}
.cookie-btn-secondary {
    background: #f5f5f5;
    border-color: #d3d9e2;
    color: var(--text-main);
}
.cookie-btn-secondary:hover {
    background: #e9edf3;
    border-color: #c4ccd8;
}
.cookie-btn-primary {
    background: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    font-weight: 600;
}
.cookie-btn-primary:hover {
    background: var(--brand-green-dark) !important;
    border-color: var(--brand-green-dark) !important;
}
.cookie-settings-open {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.24);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1030;
}
.cookie-settings-icon {
    font-size: 2rem;
    color: var(--brand-primary);
}


/* Widget flotante "Te llamamos gratis" */
.call-widget-toggle {
    position: fixed;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.28);
    overflow: hidden;
    white-space: nowrap;
    transition:
        width 200ms ease-out,
        padding 200ms ease-out,
        border-radius 200ms ease-out,
        box-shadow 200ms ease-out,
        background-color 200ms ease-out;
    z-index: 1030;
}
.call-widget-toggle .call-widget-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}
.call-widget-toggle .call-widget-icon .fa {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
}
.call-widget-toggle .call-widget-label {
    opacity: 0;
    margin-left: 0;
    max-width: 0;
    overflow: hidden;
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    transition: opacity 140ms ease-out, margin-left 140ms ease-out, max-width 160ms ease-out;
}
.call-widget-toggle:hover,
.call-widget-toggle:focus {
    width: 230px;
    padding: 0 22px 0 18px;
    border-radius: 30px;
    background: var(--brand-primary);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    outline: none;
}
.call-widget-toggle:hover .call-widget-label,
.call-widget-toggle:focus .call-widget-label {
    opacity: 1;
    margin-left: 10px;
    max-width: 220px;
}

/* Sidebar "Te llamamos gratis" (izquierda, similar al de cookies) */
.call-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease-out;
    z-index: 1040;
}
.call-sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
}
.call-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    bottom: auto;
    width: auto;
    max-width: 430px;
    height: 70vh;
    max-height: 70vh;
    background: #fff;
    box-shadow: 12px 0 40px rgba(0,0,0,0.25);
    transform: translate(-100%, -50%);
    transition: transform 260ms ease-out;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    border-radius: 0 20px 20px 0;
}
.call-sidebar.show {
    transform: translate(0, -50%);
}
.call-sidebar-header {
    padding: 10px 14px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}
.call-sidebar-close {
    position: absolute;
    right: 16px;
    top: 14px;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-soft);
}
.call-sidebar-body {
    padding: 36px 24px 18px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.call-sidebar-title-block {
    margin-bottom: 1.6rem;
}
.call-sidebar-title-block h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin: 0 0 1.1rem;
    text-align: center;
}
.call-sidebar-title-block .call-modal-subtitle {
    margin: 0 0 1.8rem;
    font-size: 1.35rem;
    color: var(--text-footer);
    text-align: center;
}
.call-sidebar-body .form-group label {
    font-size: 1.25rem;
}
.call-sidebar-body .form-control {
    border-radius: 10px;
    border-color: #d4dde8;
    box-shadow: none;
}
.call-sidebar-body .form-control:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(var(--brand-green-rgb), 0.25);
}
.call-sidebar-body .checkbox label {
    font-size: 1.1rem;
    color: var(--text-footer);
    display: flex;
    align-items: center;
}
.call-sidebar-body .checkbox input[type="checkbox"] {
    accent-color: var(--brand-red);
    margin-right: 0.5rem;
    flex-shrink: 0;
}
.call-sidebar-body .btn-primary {
    margin-top: 1.2rem;
    border-radius: 999px;
    background: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    font-weight: 700;
    font-size: 1.5rem !important;
    padding: 0.9rem 2.2rem;
}
.call-sidebar-body .btn-primary:hover {
    background: var(--brand-green-dark) !important;
    border-color: var(--brand-green-dark) !important;
}
.call-sidebar-feedback {
    margin: 0.9rem 0 0;
    min-height: 1.8rem;
    font-size: 1.2rem;
    line-height: 1.3;
}
.call-sidebar-feedback.is-error {
    color: #c62828;
}
.call-sidebar-feedback.is-success {
    color: #2e7d32;
}

/* Tabla RGPD dentro del sidebar de llamada: texto más pequeño */
.call-sidebar-body .table-rgpd {
    font-size: 0.95rem !important;
    margin-top: 1.8rem;
    margin-bottom: 1.8rem;
}
.call-sidebar-body .table-rgpd td,
.call-sidebar-body .table-rgpd th {
    font-size: 0.95rem !important;
}

/* Bloque "O si lo prefieres" + botón de llamada directa */
.call-sidebar-or-block {
    margin-top: 0.4rem;
    padding-top: 0;
    text-align: center;
}
.call-sidebar-or-text {
    margin: 0 0 1.2rem;
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 1.4rem;
}
.call-sidebar-phone-btn {
    display: block;
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.3rem !important;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(90deg, var(--brand-primary) 0%, #5b7cff 100%) !important;
    border-color: transparent !important;
}
.call-sidebar-phone-btn:hover {
    background: linear-gradient(90deg, #234a7a 0%, #4b6cf0 100%) !important;
}

