/* ============================================
   AUTOS JESÚS - Estilos principales
   Colores: Azul BMW (#003366) + Blanco (#FFFFFF)
   ============================================ */

/* === VARIABLES === */
:root {
    --bmw-blue: #003366;
    --bmw-blue-light: #004a99;
    --bmw-blue-dark: #002244;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f1f3;
    --gray-200: #e1e3e6;
    --gray-300: #c4c8cc;
    --gray-400: #8c929a;
    --gray-500: #6c727a;
    --gray-600: #4a4f57;
    --gray-700: #2d3138;
    --gray-800: #1a1d23;
    --success: #16a34a;
    --error: #dc2626;
    --warning: #f59e0b;
    --accent-yellow: #fcd116;
    --accent-yellow-dark: #e1b900;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* === RESET === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--bmw-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--bmw-blue-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === SUBHEADER MARQUEE === */
.subheader-marquee {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bmw-blue-dark);
    color: var(--white);
    z-index: 1001;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 500;
}

.marquee__content {
    display: flex;
    white-space: nowrap;
    gap: 50px;
    animation: marquee 60s linear infinite;
    padding-left: 100%;
}

.marquee__content:hover {
    animation-play-state: paused;
}

.marquee__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.marquee__icon {
    width: 16px;
    height: 16px;
    color: var(--accent-yellow);
}

.marquee__phone {
    color: var(--accent-yellow);
    font-weight: 700;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: var(--transition);
}

.navbar__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.navbar__logo-img {
    max-width: 170px;
}

.navbar__logo {
    flex-shrink: 0;
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.navbar__menu-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bmw-blue-dark);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: var(--border-radius-sm);
}

.navbar__menu-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--bmw-blue);
    transition: var(--transition);
    width: 0;
}

.navbar__menu-link:hover::after {
    width: calc(100% - 24px);
}

.navbar__menu-link:hover {
    color: var(--bmw-blue);
    background: rgba(0, 102, 177, 0.05);
}

/* El botón destacado no necesita subrayado adicional */
.navbar__menu li:first-child .navbar__menu-link::after {
    display: none;
}

/* Estilo destacado para el primer enlace */
.navbar__menu li:first-child .navbar__menu-link {
    color: var(--bmw-blue);
    background: rgba(0, 102, 177, 0.1);
}

.navbar__menu li:first-child .navbar__menu-link:hover {
    background: var(--bmw-blue);
    color: var(--white);
}

.navbar__menu-link--active {
    color: var(--bmw-blue);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(243, 244, 246, 0.5);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
}

.navbar__cta-btn {
    background: var(--accent-yellow);
    color: var(--gray-800);
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(252, 209, 22, 0.2);
}

.navbar__cta-btn:hover {
    background: var(--accent-yellow-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(252, 209, 22, 0.3);
}

.navbar__social {
    display: flex;
    gap: 8px;
    align-items: center;
    border-left: 1px solid var(--gray-300);
    padding-left: 8px;
}

.navbar__social-link {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar__social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar__social-link--whatsapp {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.2);
}

.navbar__social-link--whatsapp:hover {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.navbar__social-link--instagram {
    color: #e4405f;
    border-color: rgba(228, 64, 95, 0.2);
}

.navbar__social-link--instagram .navbar__icon {
    fill: url(#instagram-gradient);
}

.navbar__social-link--instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    border-color: transparent;
}

.navbar__social-link--phone {
    color: var(--bmw-blue);
    border-color: rgba(0, 102, 177, 0.2);
}

.navbar__social-link--phone:hover {
    background: var(--bmw-blue);
    color: var(--white);
    border-color: var(--bmw-blue);
}

.navbar__icon {
    width: 18px;
    height: 18px;
    display: block;
}

.navbar__icon {
    width: 20px;
    height: 20px;
}

.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar__hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.9) 0%, rgba(0, 51, 102, 0.8) 50%, rgba(0, 74, 153, 0.7) 100%), url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 200px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero__side-images {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.hero__side-img {
    position: absolute;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    transition: var(--transition);
    opacity: 0.9;
}

.hero__side-img--left {
    left: -50px;
    top: 50%;
    transform: translateY(-50%) perspective(1000px) rotateY(15deg);
}

.hero__side-img--right {
    right: -50px;
    top: 50%;
    transform: translateY(-50%) perspective(1000px) rotateY(-15deg);
}

/* Ocultar imágenes en móvil para Priorizar el texto */
@media (max-width: 1200px) {
    .hero__side-img {
        max-width: 300px;
    }

    .hero__side-img--left {
        left: -80px;
    }

    .hero__side-img--right {
        right: -80px;
    }
}

@media (max-width: 1024px) {
    .hero__side-images {
        display: block;
        height: 100%;
        width: 100%;
    }

    .hero__side-img {
        max-width: 220px;
        opacity: 0.6;
        z-index: -1;
    }

    .hero__side-img--left {
        left: -60px;
        top: auto;
        bottom: 0;
        transform: rotate(5deg);
    }

    .hero__side-img--right {
        right: -60px;
        top: auto;
        bottom: 0;
        transform: rotate(-5deg);
    }
}

@media (max-width: 480px) {
    .hero__side-img {
        max-width: 150px;
        opacity: 0.5;
    }

    .hero__side-img--left {
        left: -30px;
    }

    .hero__side-img--right {
        right: -30px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero__container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__highlight {
    background: linear-gradient(90deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    opacity: 1;
    margin-bottom: 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero__subtitle strong {
    color: var(--accent-yellow);
    font-weight: 800;
}

.hero__cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--bmw-blue);
    padding: 16px 40px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.hero__cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: var(--bmw-blue);
}

/* === TRUST BAR === */
.trust-bar {
    background: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.trust-bar__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 0 24px;
}

.trust-bar__icon {
    width: 28px;
    height: 28px;
    color: var(--bmw-blue);
    flex-shrink: 0;
    transition: var(--transition);
    animation: icon-subtle-pulse 3s ease-in-out infinite;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    padding: 8px;
    border-radius: var(--border-radius-sm);
}

/* Efecto Brillo (Shine) automático para móviles */
.trust-bar__item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shine-auto 6s infinite;
}

/* Escalonar las animaciones para que no brillen todos a la vez */
.trust-bar__item:nth-child(2)::after {
    animation-delay: 1.5s;
}

.trust-bar__item:nth-child(3)::after {
    animation-delay: 3s;
}

.trust-bar__item:nth-child(4)::after {
    animation-delay: 4.5s;
}

@keyframes shine-auto {
    0% {
        left: -60%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

@keyframes icon-subtle-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.trust-bar__text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bmw-blue-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === CATEGORIES SECTION === */
.categories {
    padding: 100px 24px;
    background: linear-gradient(rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.60)),
        url('../img/examples/money_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.categories__container {
    max-width: 1200px;
    margin: 0 auto;
}

.categories__header {
    text-align: center;
    margin-bottom: 60px;
}

.categories__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bmw-blue);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section__subtitle,
.categories__subtitle {
    font-size: 1.15rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.6;
}

.section__subtitle strong,
.categories__subtitle strong {
    color: var(--bmw-blue);
    font-weight: 700;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.categories__card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.categories__card:hover {
    transform: translateY(-8px);
    border-color: var(--bmw-blue);
    box-shadow: var(--shadow-lg);
}

.categories__icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--gray-50);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.categories__card:hover .categories__icon-wrapper {
    background: var(--bmw-blue);
    color: var(--white);
}

.categories__icon {
    width: 32px;
    height: 32px;
    color: var(--bmw-blue);
    transition: var(--transition);
}

.categories__card:hover .categories__icon {
    color: var(--white);
}

.categories__card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
}

/* Update responsive for new sections */
@media (max-width: 992px) {
    .trust-bar__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .trust-bar__container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .categories__title {
        font-size: 2rem;
    }

    .categories__grid {
        grid-template-columns: 1fr;
    }
}

/* === FORMULARIO SECTION === */
.formulario-section {
    padding: 80px 24px;
    background: var(--gray-50);
}

.formulario__container {
    max-width: 720px;
    margin: 0 auto;
}

.formulario__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bmw-blue);
    text-align: center;
    margin-bottom: 8px;
}

.formulario__subtitle {
    text-align: center;
    color: var(--gray-800);
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.formulario__subtitle strong {
    color: var(--bmw-blue);
    font-weight: 700;
}

.formulario__form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.formulario__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.formulario__group {
    display: flex;
    flex-direction: column;
}

.formulario__group--full {
    margin-bottom: 20px;
}

.formulario__label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.formulario__input,
.formulario__textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.formulario__input:focus,
.formulario__textarea:focus {
    border-color: var(--bmw-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.formulario__input.error,
.formulario__textarea.error {
    border-color: var(--error);
}

.formulario__error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 4px;
    min-height: 18px;
}

.formulario__char-count {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-align: right;
    margin-top: 4px;
}

/* Upload area */
.formulario__upload {
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.formulario__upload:hover {
    border-color: var(--bmw-blue);
    background: rgba(0, 51, 102, 0.02);
}

.formulario__file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.formulario__upload-icon {
    width: 40px;
    height: 40px;
    color: var(--gray-400);
    margin: 0 auto 12px;
}

.formulario__upload-content p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.formulario__upload-content small {
    color: var(--gray-400);
    font-size: 0.8rem;
}

.formulario__upload-link {
    color: var(--bmw-blue);
    font-weight: 500;
}

.formulario__preview {
    margin-top: 12px;
    position: relative;
    display: inline-block;
}

.formulario__preview img {
    max-height: 200px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

.formulario__preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--error);
    color: var(--white);
    border: none;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: var(--font-family);
}

/* Legal / Checkboxes */
.formulario__legal {
    margin: 28px 0;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-200);
}

.formulario__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.formulario__checkbox {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--bmw-blue);
    cursor: pointer;
    flex-shrink: 0;
}

.formulario__check-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    cursor: pointer;
}

.formulario__check-label a {
    font-weight: 500;
    text-decoration: underline;
}

.formulario__legal-text {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 12px;
    line-height: 1.5;
}

/* Submit button */
.formulario__photos-section {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.formulario__photos-title {
    font-size: 1.2rem;
    color: var(--bmw-blue);
    margin-bottom: 8px;
    font-weight: 700;
}

.formulario__photos-subtitle {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.5;
}

.formulario__photos-subtitle strong {
    color: var(--bmw-blue);
    font-weight: 700;
}

.formulario__photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.formulario__photo-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.formulario__photo-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.formulario__photo-example {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--gray-200);
}

.formulario__photo-example img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition);
}

.formulario__photo-example span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 51, 102, 0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
}

.formulario__photo-upload {
    position: relative;
    height: 100px;
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.formulario__photo-upload:hover {
    border-color: var(--bmw-blue);
    background: rgba(0, 51, 102, 0.02);
}

.formulario__photo-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.formulario__photo-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray-400);
    gap: 4px;
}

.formulario__photo-preview svg {
    width: 24px;
    height: 24px;
}

.formulario__photo-preview span {
    font-size: 0.8rem;
    font-weight: 500;
}

.formulario__photo-preview.has-image {
    padding: 0;
}

.formulario__photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Submit button */
.formulario__submit {
    width: 100%;
    padding: 16px;
    background: var(--bmw-blue);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.formulario__submit:hover:not(:disabled) {
    background: var(--bmw-blue-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.formulario__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.formulario__spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success message */
.formulario__success {
    text-align: center;
    padding: 60px 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.formulario__success-icon {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin: 0 auto 20px;
}

.formulario__success h3 {
    font-size: 1.5rem;
    color: var(--bmw-blue);
    margin-bottom: 12px;
}

.formulario__success p {
    color: var(--gray-500);
}

/* === FOOTER === */
.footer {
    background: var(--bmw-blue-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 24px 0;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer__title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer__text {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 8px;
}

.footer__list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__list a:hover {
    color: var(--white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* === COOKIES BANNER === */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
}

.cookies-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookies-banner__content p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.cookies-banner__buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookies-banner__btn {
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.cookies-banner__btn--accept {
    background: var(--bmw-blue);
    color: var(--white);
}

.cookies-banner__btn--accept:hover {
    background: var(--bmw-blue-light);
}

.cookies-banner__btn--reject {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.cookies-banner__btn--reject:hover {
    background: var(--gray-200);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .navbar__nav {
        display: none;
    }

    .navbar__social {
        display: none;
    }

    .navbar__hamburger {
        display: flex;
    }
}

.navbar__nav.is-active {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.navbar__nav.is-active .navbar__menu {
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 768px) {
    .hero {
        padding: 130px 20px 70px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .formulario__form {
        padding: 24px;
    }

    .formulario__row {
        grid-template-columns: 1fr;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cookies-banner__content {
        flex-direction: column;
        text-align: center;
    }
}

/* === MODAL PARA IMÁGENES === */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal__content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0.1)
    }

    to {
        transform: scale(1)
    }
}

.modal__close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.modal__close:hover,
.modal__close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal__caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Hacer clicable el ejemplo */
.formulario__photo-example {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.formulario__photo-example:hover {
    transform: scale(1.02);
    border-color: var(--bmw-blue);
}

.formulario__photo-example span {
    transition: background 0.2s ease;
}

.formulario__photo-example:hover span {
    background: var(--bmw-blue);
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .formulario__form {
        padding: 20px 16px;
    }

    .formulario-section {
        padding: 40px 16px;
    }
}