/*
Theme Name: Lavados Seyma
Theme URI: https://lavadosseyma.com
Author: Jose Fernandez Raton
Author URI: https://lavadosseyma.com
Description: Tema personalizado para Lavados Seyma - Servicio profesional de lavado de coches y recambio de ruedas en Chantada, Lugo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lavados-seyma
Tags: one-column, two-columns, responsive-layout, custom-menu, featured-images
*/

/* ===================================
   CSS VARIABLES / VARIABLES CSS
   =================================== */
:root {
    --primary-color: #1E3A8A;
    --primary-light: #3B82F6;
    --white: #FFFFFF;
    --gray-light: #F3F4F6;
    --gray-medium: #9CA3AF;
    --gray-dark: #4B5563;
    --text-dark: #1F2937;
    --success: #10B981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

/* ===================================
   ACCESSIBILITY / ACCESIBILIDAD
   =================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

*:focus {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   TYPOGRAPHY / TIPOGRAFIA
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* ===================================
   LAYOUT / ESTRUCTURA
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-dark);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ===================================
   HEADER / CABECERA
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.site-logo .logo-text span {
    color: var(--primary-light);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu li a {
    display: block;
    padding: 10px 20px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a:focus,
.nav-menu li.current-menu-item a {
    color: var(--primary-color);
    background-color: rgba(30, 58, 138, 0.1);
}

.nav-cta {
    margin-left: 20px;
}

.nav-cta .btn {
    padding: 10px 24px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===================================
   BUTTONS / BOTONES
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(59, 130, 246, 0.9)),
                url('assets/images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.hero-feature i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

/* ===================================
   SERVICES / SERVICIOS
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before,
.service-card:focus-within::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    color: var(--gray-dark);
    margin-bottom: 24px;
}

.service-price {
    display: inline-block;
    background: var(--gray-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Service Detail Page */
.service-detail {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.service-detail-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 40px;
}

.service-detail-header h3 {
    color: var(--white);
    margin-bottom: 8px;
}

.service-detail-body {
    padding: 40px;
}

.service-features {
    display: grid;
    gap: 16px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 2px;
}

/* ===================================
   WHY CHOOSE US / POR QUE ELEGIRNOS
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h4 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* ===================================
   GALLERY / GALERIA
   =================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.8), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
    transform: scale(1.1);
}

.gallery-item:hover::after,
.gallery-item:focus-within::after {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: var(--white);
    z-index: 2;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
    transform: translateY(0);
}

/* ===================================
   CONTACT / CONTACTO
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(10px);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact-card-content h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-card-content p {
    margin-bottom: 0;
    color: var(--gray-dark);
}

.contact-card-content a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-card-content a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group label .required {
    color: #EF4444;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: var(--gray-medium);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 10px;
}

.form-submit .btn {
    width: 100%;
}

/* Schedule */
.schedule-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.schedule-card h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.schedule-card h4 i {
    color: var(--primary-color);
}

.schedule-list {
    display: grid;
    gap: 12px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item .day {
    font-weight: 500;
}

.schedule-item .hours {
    color: var(--gray-dark);
}

/* ===================================
   MAP / MAPA
   =================================== */
.map-section {
    padding: 0;
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 300px;
}

/* ===================================
   FOOTER / PIE DE PAGINA
   =================================== */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand .logo-text span {
    color: var(--primary-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover,
.footer-social a:focus {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-social a i {
    font-size: 1.125rem;
}

.footer-column h5 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--primary-light);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary-light);
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover,
.whatsapp-float a:focus {
    background: #128C7E;
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-cta {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transform: translateX(-100%);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-menu li a {
        padding: 16px 20px;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--gray-light);
        border-radius: 0;
    }
    
    .nav-cta {
        display: block;
        margin: 30px 0 0;
        width: 100%;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0D47A1;
        --primary-light: #1976D2;
    }
    
    .btn-primary {
        background: var(--primary-color);
    }
    
    .service-card,
    .contact-card,
    .contact-form {
        border: 2px solid var(--text-dark);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ===================================
   FOOTER SPONSORS / LOGOS PATROCINADORES
   =================================== */
.footer-sponsors {
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sponsors-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.sponsor-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.sponsor-logo:hover {
    opacity: 1;
}

.sponsor-logo-banner {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.sponsors-placeholder {
    padding: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
}

.sponsors-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Footer Legal Links */
.footer-legal-links {
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-legal-links ul li a:hover,
.footer-legal-links ul li a:focus {
    color: var(--white);
    text-decoration: underline;
}

/* Legal Pages Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 10px;
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.legal-content table th,
.legal-content table td {
    padding: 12px;
    border: 1px solid var(--gray-light);
    text-align: left;
}

.legal-content table th {
    background: var(--gray-light);
    font-weight: 600;
}

.legal-content .contact-data {
    background: var(--gray-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.legal-content .last-update {
    font-size: 0.875rem;
    color: var(--gray-dark);
    font-style: italic;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

/* Sitemap Styles */
.sitemap-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.sitemap-section {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.sitemap-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-section ul {
    padding-left: 0;
}

.sitemap-section ul li {
    list-style: none;
    margin-bottom: 8px;
}

.sitemap-section ul li a {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sitemap-section ul li a:hover {
    color: var(--primary-color);
}

.sitemap-section ul li a i {
    color: var(--primary-light);
    font-size: 0.75rem;
}

/* Responsive Footer Sponsors */
@media (max-width: 768px) {
    .sponsors-logos {
        gap: 20px;
    }
    
    .sponsor-logo {
        height: 35px;
        max-width: 120px;
    }
    
    .footer-legal-links ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .sponsors-text {
        font-size: 0.75rem;
        padding: 0 15px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .whatsapp-float,
    .cta-section,
    .menu-toggle,
    .footer-sponsors {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
        background: var(--gray-light) !important;
        color: var(--text-dark) !important;
    }
    
    .hero h1 {
        color: var(--text-dark) !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}
