/* ========================================
   VARIABLES Y RESET
   ======================================== */
:root {
    --color-primary: #22c55e;
    --color-dark: #000000;
    --color-footer-bg: #7d93fb;
    --color-white: #ffffff;
    --color-gray-light: #f3f4f6;
    --color-gray: #6b7280;
    --font-primary: 'Poppins', sans-serif;
    --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========================================
   ACCESIBILIDAD - SKIP LINK MÓVIL
   ======================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: top 0.2s;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* ========================================
   BREADCRUMB MÓVIL - NUEVO
   ======================================== */
.breadcrumb {
    background: var(--color-gray-light);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.breadcrumb-link {
    color: var(--color-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-default);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.breadcrumb-link:hover,
.breadcrumb-link:focus {
    color: var(--color-primary);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--color-gray);
}

.breadcrumb-current {
    color: var(--color-dark);
    font-weight: 600;
}

/* ========================================
   HEADER - MOBILE FIRST
   ======================================== */
.site-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition-default);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex-shrink: 0;
    width: 200px;
    height: 40px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.logo img {
    height: 40px;
    width: 200px;
    max-width: 200px;
    object-fit: contain;
}

.logo-svg {
    width: 120px;
    height: 35px;
}

.logo-text {
    fill: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 20px;
}

.header-spacer {
    flex-grow: 1;
}

/* Navegación móvil */
.main-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition-default);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-default);
    list-style: none;
    z-index: 9999;
}

.nav-menu.active {
    right: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition-default);
    position: relative;
    padding: 0.5rem 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-default);
}

.nav-link:hover::after {
    width: 100%;
}

/* Estado activo para página actual */
.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition-default);
    text-align: center;
    margin-top: 1rem;
}

.nav-cta:hover {
    background: #1ea34f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-cta::after {
    display: none;
}

/* ========================================
   CONTENIDO PRINCIPAL - MOBILE FIRST
   ======================================== */
#main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Páginas que no son home */
.page-content {
    flex: 1;
    padding: 1rem 0;
}

/* Hero section para home */
.hero-section {
    text-align: center;
    padding: 2rem 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

/* Sección de características adicionales para móvil */
.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 400px;
    width: 100%;
}

.feature-item {
    background: var(--color-gray-light);
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-default);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 1.4;
}

/* Botones de acción móvil */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-default);
    text-decoration: none;
    font-family: var(--font-primary);
    width: 100%;
    max-width: 350px;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
    background: #1ea34f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--color-gray-light);
    color: var(--color-dark);
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Stats móvil */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-gray);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* ========================================
   ESTADOS DE CARGA Y TRANSICIONES - MÓVIL
   ======================================== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.page-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    color: var(--color-gray);
}

/* Estados de error móvil */
.error-message {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin: 1rem 0;
}

.success-message {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin: 1rem 0;
}

/* ========================================
   FOOTER - MOBILE FIRST  
   ======================================== */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-white);
    padding: 2rem 0 1rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-text {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Social Links móvil */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition-default);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

/* Footer Links móvil */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: var(--transition-default);
    padding: 0.25rem 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

/* Newsletter móvil */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 100%;
}

.newsletter-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-default);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.newsletter-btn:hover {
    background: #1ea34f;
    transform: translateY(-2px);
}

/* Footer Bottom móvil */
.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ========================================
   SECCIÓN DE CIUDADES EN FOOTER - MOBILE FIRST
   ======================================== */
.footer-cities-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cities-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.footer-cities-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 2rem;
    font-family: var(--font-primary);
    font-weight: 400;
}

.footer-cities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.footer-cities-column {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-default);
}

.footer-cities-column:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.footer-community-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: var(--font-primary);
    border-bottom: 2px solid var(--color-white);
    padding-bottom: 0.4rem;
}

.footer-cities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-city-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.4rem 0.5rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 400;
    font-family: var(--font-primary);
    transition: var(--transition-default);
    position: relative;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-city-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    font-weight: 500;
}

.footer-city-link:focus {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* ========================================
   SISTEMA DE AUTENTICACIÓN - MOBILE FIRST
   ======================================== */
#authContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.auth-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.auth-content {
    padding: 1.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-subtitle {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* Botones de login social móvil */
.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-default);
    color: var(--color-dark);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.social-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-login-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Estilos específicos por red social */
.social-login-btn.google:hover {
    background: #f8f9fa;
    border-color: #4285f4;
}

.social-login-btn.apple {
    background: #000;
    color: white;
    border-color: #000;
}

.social-login-btn.apple:hover {
    background: #333;
    border-color: #333;
}

.social-login-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.social-login-btn.x-twitter:hover {
    background: #000;
    color: white;
    border-color: #000;
}

.social-login-btn.tiktok:hover {
    background: #000;
    color: white;
    border-color: #ff0050;
}

/* Divider móvil */
.auth-divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: var(--color-gray);
    font-size: 0.85rem;
}

/* Formulario de email móvil */
.email-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.email-login-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: var(--transition-default);
}

.email-login-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-email-login {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-default);
}

.btn-email-login:hover {
    background: #1ea34f;
    transform: translateY(-2px);
}

/* ========================================
   NOTIFICACIONES MÓVIL
   ======================================== */
.notification {
    position: fixed;
    top: 20px;
    right: -400px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    max-width: 350px;
    font-size: 0.9rem;
}

.notification.show {
    right: 20px;
}

.notification.error {
    background: #ef4444;
}

.notification.success {
    background: var(--color-primary);
}

.notification-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.notification-close:hover {
    opacity: 0.8;
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   ESTADOS DE LOADING Y TRANSICIONES
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Estados de error en formularios */
.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1) !important;
}

/* Lazy loading de imágenes */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img.loaded {
    opacity: 1;
}

/* ========================================
   MEJORAS TÁCTILES Y MÓVILES
   ======================================== */
.touch-device .btn:hover,
.touch-device .social-login-btn:hover,
.touch-device .footer-cities-column:hover,
.touch-device .footer-city-link:hover {
    transform: none;
}

.touch-device .btn:active {
    transform: scale(0.95);
}

.touch-device .social-login-btn:active {
    transform: scale(0.95);
}

.touch-device .footer-city-link:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.15);
}

/* Estados scrolled para header */
.scrolled .site-header {
    box-shadow: var(--shadow-md);
}

/* ========================================
   FOCUS STATES PARA ACCESIBILIDAD
   ======================================== */
.skip-link:focus,
.breadcrumb-link:focus,
.nav-link:focus,
.btn:focus,
.social-login-btn:focus,
.btn-email-login:focus,
.newsletter-btn:focus,
.footer-city-link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ========================================
   MEDIA QUERIES - TABLET (768px+)
   ======================================== */
@media (min-width: 768px) {
    body {
        font-size: 16px;
    }

    .skip-link {
        left: 20px;
    }

    .breadcrumb {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .site-header {
        padding: 1rem 0;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .logo img {
        height: 40px;
        max-width: 200px;
    }

    .logo-svg {
        width: 140px;
        height: 38px;
    }

    .logo-text {
        font-size: 22px;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        flex-direction: row;
        justify-content: flex-end;
        gap: 1.5rem;
        padding: 0;
        box-shadow: none;
        right: 0;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0;
    }

    .nav-cta {
        margin-top: 0;
        padding: 0.5rem 1.5rem;
    }

    #main-content {
        padding: 1.5rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .hero-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 800px;
    }

    .action-buttons {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 3.5rem;
    }

    .btn {
        font-size: 1.1rem;
        padding: 1.25rem 2rem;
        min-width: 280px;
    }

    .hero-stats {
        gap: 3rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Footer tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    .newsletter-form {
        flex-direction: row;
        gap: 0.5rem;
        max-width: 300px;
    }

    .newsletter-input,
    .newsletter-btn {
        width: auto;
    }

    .newsletter-input {
        flex: 1;
    }

    /* Ciudades footer tablet */
    .footer-cities-section {
        margin-bottom: 3.5rem;
        padding-bottom: 2.5rem;
    }

    .footer-cities-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .footer-cities-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .footer-cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .footer-cities-column {
        padding: 1.25rem;
    }

    .footer-community-title {
        font-size: 1.1rem;
        margin-bottom: 0.875rem;
    }

    .footer-city-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.6rem;
        white-space: normal;
    }

    /* Auth modal tablet */
    .auth-content {
        padding: 2rem;
    }

    .auth-title {
        font-size: 1.6rem;
    }

    .auth-subtitle {
        font-size: 1rem;
    }

    .social-login-btn {
        font-size: 1rem;
        padding: 0.875rem;
    }

    .social-login-btn svg {
        width: 24px;
        height: 24px;
    }

    .email-login-form input {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }

    .btn-email-login {
        font-size: 1rem;
        padding: 0.875rem;
    }

    /* Notificaciones tablet */
    .notification {
        left: auto;
        right: -400px;
        max-width: 400px;
    }

    .notification.show {
        right: 20px;
        left: auto;
    }
}

/* ========================================
   MEDIA QUERIES - DESKTOP (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    .header-container {
        padding: 0 2rem;
    }

    .logo img {
        height: 40px;
        max-width: 200px;
    }

    .logo-svg {
        width: 150px;
        height: 40px;
    }

    .logo-text {
        font-size: 24px;
    }

    .nav-menu {
        gap: 2rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    #main-content {
        padding: 2rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .action-buttons {
        margin-bottom: 4rem;
    }

    .hero-stats {
        gap: 4rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Footer desktop */
    .site-footer {
        padding: 3rem 0 1rem;
    }

    .footer-container {
        padding: 0 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
    }

    .footer-title {
        font-size: 1.5rem;
    }

    .footer-subtitle {
        font-size: 1.1rem;
    }

    .footer-description {
        font-size: 0.95rem;
    }

    .footer-text {
        font-size: 0.9rem;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    /* Ciudades footer desktop */
    .footer-cities-section {
        margin-bottom: 4rem;
        padding-bottom: 3rem;
    }

    .footer-cities-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .footer-cities-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .footer-cities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-cities-column {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .footer-community-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-city-link {
        font-size: 0.95rem;
        padding: 0.6rem 0.75rem;
    }

    /* Auth modal desktop */
    .auth-modal {
        max-width: 450px;
    }

    .auth-content {
        padding: 2.5rem;
    }

    .auth-title {
        font-size: 1.8rem;
    }

    .social-login-buttons {
        gap: 1rem;
    }

    .email-login-form {
        gap: 1rem;
    }
}

/* ========================================
   MEDIA QUERIES - LARGE DESKTOP (1200px+)
   ======================================== */
@media (min-width: 1200px) {
    .footer-cities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }

    .footer-cities-title {
        font-size: 2rem;
    }

    .footer-cities-subtitle {
        font-size: 1.2rem;
    }

    .footer-community-title {
        font-size: 1.25rem;
    }

    .footer-city-link {
        font-size: 1rem;
    }
}

/* ========================================
   MEDIA QUERIES - EXTRA LARGE (1440px+)
   ======================================== */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .btn {
        min-width: 300px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   MEJORAS DE ACCESIBILIDAD
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}
/* Stats móvil */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-gray);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* Sección de medios móvil */
.media-section {
    margin-top: 3rem;
    padding-top: 6rem;
    border-top: 1px solid var(--color-gray-light);
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.media-slogan {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7d93fb;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.media-logo-link {
    display: block;
    transition: var(--transition-default);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    opacity: 0.8;
}

.media-logo-link:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.media-logo-link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.media-logo {
    width: 250px;
    height: 45;
    max-height: 45px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition-default);
}

.media-logo-link:hover .media-logo {
    filter: grayscale(0%);
}