﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --color-primary: #0a1930;
    /* Azul más profundo y premium */
    --color-secondary: #ff9f1c;
    --color-text-dark: #1e293b;
    /* Gris oscuro azulado para mejor legibilidad */
    --color-text-light: #f8fafc;
    --color-light-bg: #f1f5f9;
    /* Fondo muy suave azulado */
    --spacing-large: 100px;
    /* Más aire entre secciones */
    --border-radius: 12px;
    /* Bordes ligeramente más redondeados */
    --transition-speed: 0.3s;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: white;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Botón oculto para accesibilidad que aparece al recibir foco (TAB), permite saltar al contenido principal */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-secondary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color var(--transition-speed);
}

a:focus {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
    border-radius: 2px;
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

.section-padding {
    padding: var(--spacing-large) 0;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1em;
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.cta-button,
.call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    outline: 2px solid transparent;
}

.cta-button i,
.call-button i {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button::after,
.call-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 0 0 calc(var(--border-radius) - 2px) calc(var(--border-radius) - 2px);
    transition: all 0.2s ease;
    z-index: -1;
}

.cta-button:hover,
.call-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Simula efecto 3D aumentando la altura del seudo-elemento inferior */
.cta-button:hover::after,
.call-button:hover::after {
    height: 6px;
}

.cta-button:active,
.call-button:active {
    transform: translateY(2px) !important;
    filter: brightness(0.9) !important;
    transition: all 0.1s ease;
    transform: none;
}

.cta-button:active::after,
.call-button:active::after {
    height: 2px !important;
}

.primary-cta {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
    font-weight: 700;
}

.primary-cta::after {
    background-color: #e58700;
}

.primary-cta:hover {
    box-shadow: 0 6px 15px rgba(255, 159, 28, 0.5);
    color: var(--color-primary);
    background-color: #ffb555;
}

.primary-cta:focus {
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.5);
    outline: 2px solid transparent;
}

.secondary-cta {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.secondary-cta::after {
    background-color: #e58700;
    opacity: 0;
}

.secondary-cta:hover {
    background-color: var(--color-secondary);
    color: white;
    box-shadow: 0 6px 18px rgba(255, 159, 28, 0.3);
    border-color: var(--color-secondary);
}

.secondary-cta:hover::after {
    opacity: 1;
}

.secondary-cta:focus {
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.5);
    outline: 2px solid transparent;
}

.call-button {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 700;
    gap: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
}

.call-button::after {
    background-color: #e58700;
}

.call-button:hover {
    background-color: #ffb555;
    box-shadow: 0 6px 18px rgba(255, 159, 28, 0.4);
}

.call-button:focus {
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.5);
    outline: 2px solid transparent;
}

#header {
    background-color: rgba(255, 255, 255, 0.98);
    position: fixed;
    /* Header fijo en la parte superior */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Asegura que esté por encima de todo el contenido */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Sombra más sutil y difusa */
    backdrop-filter: blur(10px);
    /* Efecto vidrio esmerilado */
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Borde más sutil */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu a {
    color: var(--color-primary);
    font-weight: 600;
    margin-left: 25px;
    padding: 5px 0;
    position: relative;
    font-size: 1.05em;
}

.nav-menu a:hover {
    color: var(--color-secondary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    bottom: 0;
    left: 0;
    transition: width var(--transition-speed);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5em;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(12, 36, 97, 0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    transform: translateY(0);
}

.nav-menu.active a {
    color: var(--color-text-light);
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.nav-menu.active a:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 80px;
    /* Espacio reservado para compensar el header fijo */
    /* Gradiente más moderno y profundo */
    background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: var(--color-text-light);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.8em;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.4em;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-usps {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    padding: 0;
}

.hero-usps li {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-usps li:nth-child(1) {
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.85), rgba(255, 159, 28, 0.65));
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-usps li:nth-child(2) {
    background: linear-gradient(135deg, rgba(12, 36, 97, 0.45), rgba(12, 36, 97, 0.35));
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-usps li:nth-child(3) {
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.75), rgba(255, 159, 28, 0.55));
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-usps li:nth-child(4) {
    background: linear-gradient(135deg, rgba(12, 36, 97, 0.45), rgba(12, 36, 97, 0.35));
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-usps li:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cars-listing .cars-grid {
    gap: 20px;
}

.car-card {
    display: flex;
    flex-direction: column;
}

.car-card .cta-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.car-card .cta-button {
    margin-top: 8px;
    padding: 8px 12px;
    font-size: 0.95rem;
    border-radius: 8px;
    min-width: 110px;
}

.car-card .cta-row {
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .car-card .cta-row {
        flex-direction: column;
        gap: 8px;
    }

    .car-card .cta-button {
        width: 100%;
        margin-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .car-card .cta-button {
        padding: 10px 12px;
        font-size: 1rem;
    }
}

.emergency-banner {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #e74c3c;
    color: white;
    text-align: center;
    padding: 12px 20px;
    z-index: 15;
    font-weight: 600;
    font-size: 1.1em;
}

.emergency-banner a {
    color: white;
    text-decoration: none;
    display: inline-block;
}

.emergency-banner a:hover {
    text-decoration: underline;
}

.emergency-banner i {
    margin-right: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Borde sutil */
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-top-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-secondary);
}

.service-icon {
    font-size: 3em;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.service-features {
    margin-top: 15px;
    padding-left: 0;
}

.service-features li {
    font-size: 0.95em;
    padding: 5px 0;
    color: var(--color-text-dark);
}

.service-features li .fa-check {
    color: #27ae60;
    margin-right: 8px;
}

.service-card img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-top: 15px;
}

.bg-light {
    background-color: var(--color-light-bg);
}

.gallery-filters {
    text-align: center;
    margin-bottom: 30px;
}

.filter-button {
    background: white;
    border: 2px solid #ddd;
    padding: 10px 22px;
    margin: 5px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background-color: #f8f8f8;
    color: #333;
}

.filter-button:hover {
    border-color: var(--color-secondary);
    background-color: rgba(255, 159, 28, 0.1);
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.2);
}

.filter-button.active {
    background-color: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
    box-shadow: 0 6px 16px rgba(255, 159, 28, 0.3);
    transform: translateY(-2px);
}

.filter-button:focus {
    outline: 3px solid rgba(255, 159, 28, 0.5);
    outline-offset: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.35s ease;
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 36, 97, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.image-hover h4 {
    color: var(--color-secondary);
    font-size: 1.4em;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
}

.image-hover p {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

.gallery-item:hover .image-hover {
    opacity: 1;
}

.gallery-item:hover .image-hover h4 {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.8);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form-block {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-block {
    padding: 40px;
    background-color: var(--color-light-bg);
    border-radius: var(--border-radius);
}

.block-title {
    font-size: 1.4em;
    color: var(--color-primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 5px;
}

.info-list li,
.footer-contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1em;
}

.info-list li i,
.footer-contact-info i {
    color: var(--color-secondary);
    margin-right: 10px;
    font-size: 1.1em;
}

.info-list li strong,
.footer-contact-info strong {
    margin-right: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-secondary);
    outline: 3px solid rgba(255, 159, 28, 0.5);
    outline-offset: 2px;
    box-shadow: 0 0 8px rgba(255, 159, 28, 0.4);
}

.form-group textarea {
    resize: vertical;
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.875em;
    color: #666;
    font-style: italic;
}

.emergency-callout {
    margin-top: 30px;
    padding: 20px;
    background-color: #fcebeb;
    border-left: 5px solid #e74c3c;
    border-radius: var(--border-radius);
    text-align: center;
}

.emergency-callout h4 {
    color: #e74c3c;
    margin-bottom: 5px;
}

.emergency-callout p {
    margin-bottom: 15px;
    font-style: italic;
}

.full-width {
    width: 100%;
}

.map-container {
    margin-top: 30px;
}

.map-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.form-message {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.form-message.success {
    background-color: #e6f6ec;
    color: #1a7f37;
    border: 1px solid #b6e6c1;
}

.form-message.error {
    background-color: #fff0f0;
    color: #b93a3a;
    border: 1px solid #f1c7c7;
}

#footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding-top: var(--spacing-large);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-footer .logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
    opacity: 1;
}

.footer-col p {
    font-size: 0.9em;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact-info a {
    color: var(--color-text-light);
    font-size: 0.95em;
}

.footer-links a:hover,
.footer-contact-info a:hover {
    color: var(--color-secondary);
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: var(--color-text-light);
    font-size: 1.4em;
    margin-right: 15px;
}

.social-icons a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8em;
    background-color: #081a44;
}

.mini-header {
    background-color: var(--color-primary);
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mini-header .container {
    display: flex;
    align-items: center;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.modal-rating .stars {
    color: #ffa500;
    font-size: 1.3em;
}

.modal-rating .rating-count {
    color: #666;
    font-size: 0.9em;
}

.modal-review {
    background-color: var(--color-light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-secondary);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviewer-info h4 {
    margin: 0 0 4px 0;
    color: var(--color-primary);
    font-size: 1.1em;
}

.review-date {
    color: #999;
    font-size: 0.85em;
}

.review-rating {
    color: #ffa500;
    font-weight: 700;
    font-size: 1.1em;
}

.review-text {
    color: #333;
    line-height: 1.6;
    font-style: italic;
}

.info-extended {
    background-color: white;
    border-top: 1px solid #e0e0e0;
}

.info-extended h2,
.info-extended h3 {
    color: var(--color-primary);
}

.info-extended p,
.info-extended ul,
.info-extended ol,
.info-extended dl {
    color: #555;
    line-height: 1.6;
}

.sitemap-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.sitemap-section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sitemap-section h2 {
    color: var(--color-primary);
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-secondary);
}

.sitemap-section h3 {
    color: var(--color-primary);
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.sitemap-list {
    list-style: none;
    padding: 0;
}

.sitemap-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #444;
}

.sitemap-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

.sitemap-list a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sitemap-list a:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.sitemap-list a i {
    font-size: 0.9em;
}

.sitemap-intro {
    background: var(--color-light-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
}

.sitemap-intro h1 {
    color: var(--color-primary);
    font-size: 2.5em;
    margin-bottom: 15px;
}

.sitemap-intro p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-ctas {
        margin-bottom: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-block {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-about {
        grid-column: span 2;
    }
}

@media (max-height: 720px) and (min-width: 769px) {
    .hero-section {
        min-height: 520px;
        padding-top: 60px;
    }

    .hero-logo-img {
        height: 70px;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: 2.2em;
        margin-bottom: 5px;
    }

    .hero-subtitle {
        font-size: 1em;
        margin-bottom: 15px;
    }

    .hero-usps {
        margin-top: 10px;
        margin-bottom: 15px;
        gap: 10px;
    }

    .hero-usps li {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .hero-ctas {
        margin-bottom: 50px;
        gap: 10px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    #header {
        background-color: rgba(255, 255, 255, 0.98);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }

    .header-content {
        height: 70px;
        gap: 10px;
        padding: 0 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    @media (max-width: 480px) {
        .header-content .cta-button.primary-cta {
            padding: 10px;
            width: 45px;
            height: 45px;
            flex-shrink: 0;
            font-size: 0;
        }

        .header-content .cta-button.primary-cta i {
            font-size: 1.2rem;
            margin: 0;
        }

        .header-content #auth-controls {
            gap: 5px;
        }

        .login-icon-btn {
            margin-right: 5px;
            margin-left: 5px;
        }
    }

    .logo-img {
        height: 35px;
    }

    .hamburger {
        display: flex !important;
        font-size: 1.6em;
        padding: 8px;
        color: var(--color-primary);
        background: rgba(12, 36, 97, 0.05);
        border: 2px solid var(--color-primary);
        border-radius: 6px;
        cursor: pointer;
        z-index: 1001;
        min-width: 45px;
        min-height: 45px;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .hamburger:hover {
        background: var(--color-primary);
        color: white;
        border-color: var(--color-primary);
    }

    .hamburger:active {
        transform: scale(0.95);
    }

    .hamburger svg {
        width: 24px;
        height: 24px;
        display: block;
    }

    /* Lógica para ocultar el menú de navegación en móvil hasta que se active */
    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex !important;
        top: 70px;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        padding-top: 70px;
    }

    .hero-content {
        padding: 40px 20px 30px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-logo {
        margin-bottom: 20px;
    }

    .hero-logo-img {
        height: 80px;
    }

    .hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .hero-usps {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 25px;
    }

    .hero-usps li {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
        margin-bottom: 40px;
    }

    .hero-ctas .cta-button {
        padding: 14px 24px;
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
        justify-content: center;
    }

    .emergency-banner {
        padding: 15px;
        font-size: 0.9em;
        width: 100%;
        flex-shrink: 0;
    }

    .emergency-banner a {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.5;
        gap: 8px;
    }

    .emergency-banner i {
        font-size: 1.4em;
        margin: 0;
    }

    .emergency-banner strong {
        display: inline;
    }

    .section-title {
        font-size: 2em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-col {
        margin-bottom: 20px;
    }
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--color-primary);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 1200;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top:focus {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}

.back-to-top i {
    font-size: 1.2rem;
    font-weight: 900;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

@media (max-width: 480px) {
    .hero-logo-img {
        height: 65px;
    }

    .hero-logo {
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 1.8em;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.85em;
        line-height: 1.4;
    }

    .hero-usps {
        gap: 6px;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .hero-usps li {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .hero-ctas .cta-button {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 260px;
    }

    .emergency-banner {
        padding: 10px 8px;
        font-size: 0.75em;
        line-height: 1.3;
    }

    .emergency-banner i {
        font-size: 1.1em;
    }

    .emergency-banner strong {
        font-size: 1em;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* Banner de cookies oculto por defecto con transformación fuera de pantalla */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 15px 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
    z-index: 5000;
    visibility: hidden;
}

.cookie-banner.show {
    transform: translateY(0);
    visibility: visible;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-buttons .cta-button {
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        padding-left: 20px;
        padding-right: 20px;
    }

    .cookie-banner p {
        text-align: center;
        margin-bottom: 10px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: space-around;
    }
}

/* Clases de utilidad para mostrar/ocultar formularios con animación suave */
.form-hidden {
    display: none !important;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

#vehiculos-disponibles {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#vender-coche-form {
    transition: all 0.3s ease;
    opacity: 1;
    max-height: 3000px;
}

#vender-coche-form.form-hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

#btn-iniciar-venta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.cars-grid {
    display: grid !important;
    visibility: visible !important;
}

.cars-section {
    margin-top: 20px;
}

#vender-coche-form~* {
    position: relative;
    z-index: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

#vender-coche-form:not(.form-hidden) {
    animation: slideDown 0.3s ease forwards;
}

.cars-section .section-title {
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.car-card {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    #vender-coche-form {
        padding: 20px !important;
    }

    #vender-coche-form.form-hidden {
        padding: 0 !important;
    }

    .cars-grid {
        grid-template-columns: 1fr !important;
    }
}

#btn-iniciar-venta {
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.form-message {
    margin: 0 0 25px 0;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    animation: slideInDown 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 5px solid;
    position: relative;
    z-index: 1000;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
    border: 2px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
    border: 2px solid #f5c6cb;
}

.form-message {
    scroll-margin-top: 100px;
}

.form-hidden {
    display: none !important;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

#vehiculos-disponibles {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#vender-coche-form {
    transition: all 0.3s ease;
    opacity: 1;
    max-height: 3000px;
}

#vender-coche-form.form-hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

#btn-iniciar-venta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.cars-grid {
    display: grid !important;
    visibility: visible !important;
}

.cars-section {
    margin-top: 20px;
}

#vender-coche-form~* {
    position: relative;
    z-index: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

#vender-coche-form:not(.form-hidden) {
    animation: slideDown 0.3s ease forwards;
}

.cars-section .section-title {
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.car-card {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    #vender-coche-form {
        padding: 20px !important;
    }

    #vender-coche-form.form-hidden {
        padding: 0 !important;
    }

    .cars-grid {
        grid-template-columns: 1fr !important;
    }
}

#btn-iniciar-venta {
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: var(--color-light-bg);
}

.auth-container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.auth-title {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 30px;
    font-size: 2em;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.error-message {
    color: #e74c3c;
    background-color: #fceceb;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}

.admin-dashboard {
    padding: 50px 0;
    background-color: #f4f7f9;
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
}

.tab-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.admin-section {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.admin-section.active {
    display: block;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.action-btn {
    padding: 5px 10px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    margin-right: 5px;
}

.btn-edit {
    background-color: #3498db;
    color: white;
}

.btn-delete {
    background-color: #e74c3c;
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5em;
    cursor: pointer;
}

.login-icon-btn {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-left: 15px;
    margin-right: 10px;
    padding: 8px 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-icon-btn:hover {
    background-color: rgba(12, 36, 97, 0.1);
    color: var(--color-secondary);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .login-icon-btn {
        margin-left: auto;
        margin-right: 15px;
    }
}

*:focus-visible {
    outline: 3px solid var(--color-secondary) !important;
    outline-offset: 2px !important;
}

body.dark-mode {
    --color-primary: #ffffff;
    --color-secondary: #ff9f1c;
    --color-text-dark: #e0e0e0;
    background-color: #121212 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .hero-section {
    background: linear-gradient(135deg, #0a1a47 0%, #000000 100%) !important;
}

body.dark-mode .hero-overlay {
    background-color: rgba(0, 0, 0, 0.6) !important;
}

body.dark-mode header,
body.dark-mode #header,
body.dark-mode footer,
body.dark-mode #footer,
body.dark-mode .sitemap-section,
body.dark-mode .auth-section,
body.dark-mode .auth-container,
body.dark-mode .admin-dashboard,
body.dark-mode .car-card,
body.dark-mode .product-card,
body.dark-mode .service-card,
body.dark-mode .gallery-item,
body.dark-mode .section-padding.bg-light,
body.dark-mode .bg-light {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #333 !important;
    box-shadow: none !important;
}

body.dark-mode .service-card i {
    color: #ff9f1c !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode span,
body.dark-mode label,
body.dark-mode small,
body.dark-mode td {
    color: #e0e0e0 !important;
}

body.dark-mode a {
    color: #ff9f1c !important;
}

body.dark-mode .nav-menu a {
    color: #e0e0e0 !important;
}

body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active {
    color: #ff9f1c !important;
}

body.dark-mode .cta-button,
body.dark-mode button,
body.dark-mode input[type='submit'],
body.dark-mode .primary-cta {
    background-color: #ff9f1c !important;
    color: #121212 !important;
    border: 2px solid #ff9f1c !important;
    font-weight: 700;
}

body.dark-mode .cta-button:hover,
body.dark-mode button:hover,
body.dark-mode .primary-cta:hover {
    background-color: #e58e00 !important;
    color: #000 !important;
    border-color: #e58e00 !important;
}

body.dark-mode .secondary-cta {
    background-color: transparent !important;
    border: 2px solid #ff9f1c !important;
    color: #ff9f1c !important;
}

body.dark-mode .secondary-cta:hover {
    background-color: #ff9f1c !important;
    color: #121212 !important;
}

body.dark-mode .hamburger {
    background: transparent !important;
    color: #ff9f1c !important;
    border: none !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #2d2d2d !important;
    color: #fff !important;
    border: 1px solid #555 !important;
}

body.dark-mode ::placeholder {
    color: #888;
}

body.dark-mode table {
    background-color: #1e1e1e;
}

body.dark-mode th {
    background-color: #2d2d2d !important;
    color: #fff !important;
    border-bottom: 2px solid #555;
}

body.dark-mode td {
    border-bottom: 1px solid #444 !important;
}

body.dark-mode tr:hover {
    background-color: #252525 !important;
}

body.font-large {
    font-size: 120% !important;
}

body.font-xlarge {
    font-size: 140% !important;
}

body.font-large .header-content,
body.font-xlarge .header-content {
    height: auto !important;
    min-height: 80px;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 15px;
}

body.font-large #header,
body.font-xlarge #header {
    height: auto !important;
    position: relative !important;
}

body.font-large .hero-section,
body.font-xlarge .hero-section {
    height: auto !important;
    min-height: 100vh;
    padding-top: 40px !important;
    padding-bottom: 100px;
}

body.font-large #header,
body.font-xlarge #header {
    position: fixed !important;
}

body.font-large .hero-section,
body.font-xlarge .hero-section {
    padding-top: 180px !important;
}

body.font-large .hero-title,
body.font-xlarge .hero-title {
    font-size: 3em !important;
    line-height: 1.2;
}

body.font-large .hero-logo-img,
body.font-xlarge .hero-logo-img {
    height: 100px;
}

body.font-large .hero-usps,
body.font-xlarge .hero-usps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

body.font-large .hero-usps li,
body.font-xlarge .hero-usps li {
    width: auto;
    margin-bottom: 10px;
}

.accessibility-bar {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accessibility-bar button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: white;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.accessibility-bar button:hover {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
    transform: scale(1.1);
}

body.dark-mode .accessibility-bar button {
    background: #2d2d2d !important;
    color: #fff !important;
    border-color: #555 !important;
}

body.dark-mode .accessibility-bar button:hover {
    background: #ff9f1c !important;
    color: #121212 !important;
}

body.dark-mode .footer-title {
    color: #ff9f1c !important;
}

body.dark-mode .tab-btn {
    background-color: transparent !important;
    border: 1px solid #ff9f1c !important;
    color: #ff9f1c !important;
}

body.dark-mode .tab-btn.active {
    background-color: #ff9f1c !important;
    color: #121212 !important;
}

body.dark-mode .contact-info-block,
body.dark-mode .info-box,
body.dark-mode .contact-form-container {
    background-color: #1e1e1e !important;
    border: 1px solid #333 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .profile-card {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #333 !important;
}

body.dark-mode .profile-card>div {
    border-bottom-color: #333 !important;
}

body.dark-mode .cart-total,
body.dark-mode .cart-summary,
body.dark-mode .checkout-actions {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
}

body.dark-mode .table-responsive {
    background-color: #1e1e1e !important;
}

body.dark-mode .lightbox-content,
body.dark-mode .modal-content,
body.dark-mode .gallery-overlay {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
}

body.dark-mode .close-lightbox,
body.dark-mode .close-modal {
    color: #ff9f1c !important;
}

body.dark-mode .admin-header,
body.dark-mode .sidebar,
body.dark-mode .main-content {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
}

body.dark-mode .profile-card h1,
body.dark-mode .profile-card h2,
body.dark-mode .contact-info-block h3,
body.dark-mode .modal-content h3 {
    color: #ffffff !important;
}

body.dark-mode .profile-avatar {
    background-color: #ff9f1c !important;
    color: #121212 !important;
}

body.dark-mode .emergency-banner {
    color: #ffffff !important;
}

body.dark-mode .emergency-banner h4,
body.dark-mode .emergency-banner p,
body.dark-mode .emergency-banner strong,
body.dark-mode .emergency-banner i {
    color: #ffffff !important;
}

body.dark-mode .emergency-banner a {
    color: #ffffff !important;
    text-decoration: underline;
}

body.dark-mode .contact-section h2,
body.dark-mode .section-title {
    color: #ffffff !important;
}

body.dark-mode label {
    color: #e0e0e0 !important;
}

body.dark-mode #cart-content table,
body.dark-mode #cart-content tbody,
body.dark-mode #cart-content tr,
body.dark-mode #cart-content td {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border-color: #333 !important;
}

body.dark-mode #cart-content .cart-total {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #333 !important;
}

body.dark-mode #orders-list>div {
    background: #1e1e1e !important;
    border-color: #333 !important;
    color: #e0e0e0 !important;
}

body.dark-mode #orders-list h3 {
    color: #ffffff !important;
}

body.dark-mode #orders-list span {
    color: #e0e0e0 !important;
}

body.dark-mode {
    min-height: 100vh;
    margin: 0;
    background-color: #121212 !important;
}

body.dark-mode .emergency-banner {
    background-color: #e74c3c !important;
    color: #ffffff !important;
}

body.dark-mode .contact-section,
body.dark-mode #contacto,
body.dark-mode .contact-grid {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
}

body.dark-mode .contact-form-container,
body.dark-mode .auth-section,
body.dark-mode form {
    background-color: transparent !important;
}

body.dark-mode .emergency-callout {
    background-color: #e74c3c !important;
    color: #ffffff !important;
    border: none !important;
}

body.dark-mode .emergency-callout h4,
body.dark-mode .emergency-callout p,
body.dark-mode .emergency-callout strong {
    color: #ffffff !important;
}

body.dark-mode .emergency-callout a {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

body.dark-mode .info-extended,
body.dark-mode .work-grid {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
}

body.dark-mode .info-extended p,
body.dark-mode .info-extended ul,
body.dark-mode .info-extended ol,
body.dark-mode .info-extended dl,
body.dark-mode .info-extended dt,
body.dark-mode .info-extended dd {
    color: #ffffff !important;
}

body.dark-mode .modal-review {
    background-color: #1e1e1e !important;
    border: 1px solid #333 !important;
}

body.dark-mode .role-badge {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .role-admin {
    background-color: rgba(211, 84, 0, 0.2) !important;
    color: #ff9f1c !important;
    border-color: #ff9f1c !important;
}

body.dark-mode .role-cliente {
    background-color: rgba(39, 174, 96, 0.2) !important;
    color: #2ecc71 !important;
    border-color: #2ecc71 !important;
}

body.dark-mode .admin-section {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #333 !important;
    padding: 20px;
    border-radius: 8px;
}

body.dark-mode .contact-grid>div {
    background-color: #1e1e1e !important;
    border: 1px solid #333 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .contact-form-block {
    background-color: #1e1e1e !important;
    border: 1px solid #333 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .cart-container,
body.dark-mode .form-section,
body.dark-mode .order-summary {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #333 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .cart-container h1,
body.dark-mode .cart-container h2,
body.dark-mode .form-section h2,
body.dark-mode .order-summary h3 {
    color: #ffffff !important;
}

body.dark-mode .cart-table,
body.dark-mode .cart-table th,
body.dark-mode .cart-table td {
    color: #e0e0e0 !important;
    border-color: #333 !important;
}

body.dark-mode .cart-table th {
    background-color: #2d2d2d !important;
}

body.dark-mode .cart-total {
    background-color: #2d2d2d !important;
    color: #fff !important;
}

body.dark-mode .input-group label {
    color: #e0e0e0 !important;
}

body.dark-mode #paypal-details {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
    border: 1px solid #444 !important;
}

body.dark-mode #paypal-details i {
    color: #3b7bbf !important;
}

body.dark-mode #paypal-details .text-muted {
    color: #aaa !important;
}

#global-verification-banner {
    background-color: #ff9f1c;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 50px;
    z-index: 999999;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

body.user-unverified {
    padding-top: 50px;
}

body.user-unverified #header {
    top: 50px !important;
    transition: top 0.3s ease;
}

#global-verification-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
}

#global-verification-banner button {
    background: white;
    color: #ff9f1c;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

#global-verification-banner button:hover {
    transform: scale(1.05);
}

.main-content-padded {
    padding-top: 100px !important;
}

body.dark-mode .legal-content,
body.dark-mode .sitemap-container,
body.dark-mode .sitemap-intro,
body.dark-mode .sitemap-section {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border-color: #333 !important;
}

body.dark-mode .legal-content h1,
body.dark-mode .legal-content h2,
body.dark-mode .sitemap-intro h1,
body.dark-mode .sitemap-section h2,
body.dark-mode .sitemap-section h3 {
    color: #ffffff !important;
}

body.dark-mode .legal-content h3 {
    color: #ff9f1c !important;
}

body.dark-mode .legal-content p,
body.dark-mode .legal-content li,
body.dark-mode .sitemap-intro p,
body.dark-mode .sitemap-list li {
    color: #cccccc !important;
}

body.dark-mode .section-subtitle {
    color: #aaaaaa !important;
}

body.dark-mode .legal-content a,
body.dark-mode .sitemap-list a {
    color: #ff9f1c !important;
}

body.dark-mode .data-table {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    box-shadow: none !important;
    border: 1px solid #333 !important;
}

body.dark-mode .data-table th {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
}

body.dark-mode .data-table td {
    border-bottom: 1px solid #333 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .data-table tr:hover {
    background-color: #2a2a2a !important;
}

body.dark-mode .rights-box,
body.dark-mode .cookie-type-box,
body.dark-mode .browser-links {
    background-color: #252525 !important;
    color: #e0e0e0 !important;
    border-left-color: #ff9f1c !important;
}

body.dark-mode .rights-box h3,
body.dark-mode .cookie-type-box h3 {
    color: #ff9f1c !important;
}

body.dark-mode .sitemap-section {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .last-update {
    color: #777 !important;
    border-top-color: #333 !important;
}

body.dark-mode .sitemap-cta-box,
body.dark-mode .sitemap-container>div[style*="background: var(--color-light-bg)"] {
    background-color: #1e1e1e !important;
    border: 1px solid #333 !important;
}

body.dark-mode .sitemap-cta-box h3,
body.dark-mode .sitemap-container>div h3 {
    color: #ffffff !important;
}

body.dark-mode .sitemap-cta-box p {
    color: #cccccc !important;
}

.checkout-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.checkout-grid .form-section {
    flex: 2;
    min-width: 300px;
}

.checkout-grid .order-summary {
    flex: 1;
    min-width: 280px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.checkout-row {
    display: flex;
    gap: 15px;
}

@media (max-width: 600px) {
    .checkout-row {
        flex-direction: column;
        gap: 10px;
    }

    .checkout-grid {
        flex-direction: column;
    }

    .checkout-grid .form-section,
    .checkout-grid .order-summary {
        width: 100%;
        min-width: auto;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background: white;
}

.profile-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 200px;
}

.profile-avatar {
    background: var(--color-primary);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    flex-shrink: 0;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details h1 {
    margin: 0;
    font-size: 2em;
    color: var(--color-primary);
}

.profile-details p {
    margin: 5px 0 0;
    color: #666;
}

#user-role {
    display: inline-block;
    background: #e0e0e0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-top: 5px;
}

@media (max-width: 650px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .profile-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .profile-actions button {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .profile-info {
        flex-direction: column;
        gap: 15px;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-details h1 {
        font-size: 1.5em;
    }
}

.php-badge {
    display: inline-block;
    background: #4F5B93;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

body.dark-mode .php-badge {
    background: #5f6daf;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.accessibility-bar {
    position: fixed;
    right: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1200;
}

.accessibility-bar button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.accessibility-bar button:hover {
    transform: scale(1.1);
    background: var(--color-primary);
    color: white;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.product-img-container {
    height: 220px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.product-price {
    font-size: 1.4em;
    color: var(--color-secondary);
    font-weight: 800;
    margin-bottom: 12px;
}

.filters {
    margin-bottom: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: white;
    border: 2px solid #eee;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--color-primary);
}

.filter-btn:hover {
    border-color: var(--color-secondary);
    background: rgba(255, 159, 28, 0.05);
}

.filter-btn.active {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
}

.add-cart-btn {
    width: 100%;
    margin-top: auto;
    background: var(--color-secondary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-cart-btn:hover {
    background: #e67e22;
    transform: scale(1.02);
}

.add-cart-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

body.dark-mode .filter-btn {
    background: #2d2d2d;
    border-color: #444;
    color: #fff;
}

body.dark-mode .filter-btn:hover {
    border-color: var(--color-secondary);
}

body.dark-mode .filter-btn.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

body.dark-mode {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .bg-light {
    background-color: #1a1a1a !important;
}

body.dark-mode .service-card {
    background-color: #1e1e1e !important;
    border-top-color: #ff9f1c !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    color: #e0e0e0 !important;
}

body.dark-mode .service-card .card-title {
    color: #ffffff !important;
}

body.dark-mode .service-features li {
    color: #cccccc !important;
}

body.dark-mode .product-card {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .calc-container {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .calc-header h1 {
    color: #ffffff !important;
}

body.dark-mode .calc-header p {
    color: #aaaaaa !important;
}

body.dark-mode .product-img-container {
    background-color: #fff;
}

body.dark-mode .product-title {
    color: #ffffff !important;
}

body.dark-mode .product-category {
    color: #aaaaaa !important;
}

body.dark-mode .accessibility-bar button {
    background: #2d2d2d;
    color: #ff9f1c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background-color: #2d2d2d !important;
    border-color: #444 !important;
    color: #ffffff !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #888 !important;
}

body.dark-mode #footer {
    background-color: #080808 !important;
    border-top: 1px solid #222;
}

@media (max-width: 768px) {
    body.dark-mode .nav-menu {
        background-color: #1a1a1a !important;
        border-bottom: 1px solid #333;
    }
}

body.dark-mode .section-title {
    color: #ffffff !important;
}

body.dark-mode .section-subtitle {
    color: #aaaaaa !important;
}

body.dark-mode .form-group label {
    color: #e0e0e0 !important;
}

body.dark-mode .form-hint {
    color: #999999 !important;
}

body.dark-mode .footer-contact-info p,
body.dark-mode .footer-contact-info a {
    color: #cccccc !important;
}

body.dark-mode .footer-title {
    color: #ffffff !important;
}

body.dark-mode .bg-white,
body.dark-mode .section-padding:not(.bg-light) {
    background-color: #121212 !important;
}

body.dark-mode #header {
    background-color: rgba(18, 18, 18, 0.95) !important;
    border-bottom: 1px solid #333;
    backdrop-filter: blur(10px);
}

body.dark-mode .nav-menu a {
    color: #ffffff !important;
}

body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active {
    color: var(--color-secondary) !important;
}