:root {
    --primary-dark: #001a4d;
    --primary-electric: #0066ff;
    --primary-light: #e6f0ff;
    --secondary-green: #00d084;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --gray-medium: #d0d5dd;
    --gray-dark: #1f2937;
    --text-dark: #111827;
    --text-light: #6b7280;
    --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.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body.dark-mode {
    --text-dark: #f5f7fa;
    --text-light: #d0d5dd;
    --gray-light: #1f2937;
    --gray-dark: #f5f7fa;
    --white: #111827;
}

body.font-large {
    font-size: 18px !important;
}

body.font-extra-large {
    font-size: 20px !important;
}

body.font-small {
    font-size: 14px !important;
}

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

/* Garantiza que el atributo hidden SIEMPRE oculte el elemento, sin importar
   qué regla de "display" le pongamos después en alguna clase (ej. display:
   flex en un botón). Sin esto, cualquier elemento con hidden="" y una clase
   que fije su display se sigue mostrando, aunque JavaScript lo marque como
   oculto. */
[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* SOLO PARA LECTORES DE PANTALLA */
.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;
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -60px;
    left: 10px;
    background: var(--primary-electric);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top var(--transition-fast);
}

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

/* AVISO DE SIN CONEXIÓN A INTERNET */
.offline-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: var(--white);
    animation: offlineBannerPulse 2.4s ease-in-out infinite;
}

@keyframes offlineBannerPulse {
    0%, 100% { box-shadow: inset 0 0 0 rgba(220, 53, 69, 0); }
    50% { box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.15); }
}

.offline-icon-wrap {
    position: relative;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.offline-icon-wrap > i {
    font-size: 24px;
    color: var(--white);
}

.offline-x-badge {
    position: absolute;
    bottom: -3px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #dc3545;
}

.offline-x-badge i {
    font-size: 10px;
    color: #dc3545;
    font-weight: 900;
}

.offline-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.offline-text strong {
    font-size: 15px;
}

.offline-text span {
    font-size: 12.5px;
    opacity: 0.92;
}

/* SPLASH ANIMADO DE CONEXIÓN (aparece un momento al perder/recuperar internet) */
.connectivity-splash {
    position: fixed;
    inset: 0;
    z-index: 8500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.connectivity-splash.show {
    opacity: 1;
    pointer-events: auto;
}

.connectivity-splash.is-offline {
    background: linear-gradient(135deg, rgba(120, 0, 10, 0.94), rgba(220, 53, 69, 0.94));
}

.connectivity-splash.is-online {
    background: linear-gradient(135deg, rgba(0, 70, 55, 0.94), rgba(0, 208, 132, 0.94));
}

.connectivity-splash-card {
    text-align: center;
    color: var(--white);
    max-width: 340px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.connectivity-splash.show .connectivity-splash-card {
    transform: scale(1);
}

.connectivity-splash-icon-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connectivity-splash-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    animation: connectivityPulse 1.8s ease-out infinite;
}

@keyframes connectivityPulse {
    0% { transform: scale(0.7); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

.connectivity-splash-icon {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 3px solid rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    animation: connectivityBob 1.6s ease-in-out infinite;
}

@keyframes connectivityBob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

.connectivity-splash-x,
.connectivity-splash-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    align-items: center;
    justify-content: center;
    font-size: 15px;
    display: none;
}

.connectivity-splash-x { color: #dc3545; }
.connectivity-splash-check { color: #00d084; }

.connectivity-splash.is-offline .connectivity-splash-x { display: flex; }
.connectivity-splash.is-online .connectivity-splash-check { display: flex; }

.connectivity-splash-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.connectivity-splash-card p {
    font-size: 15px;
    opacity: 0.92;
}

/* VISIBLE FOCUS STATES (KEYBOARD NAVIGATION) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary-electric);
    outline-offset: 2px;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-electric);
    border-radius: 5px;
}

/* SPLASH SCREEN */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-electric) 100%);
    background-size: 200% 200%;
    animation: splashGradientShift 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes splashGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Elementos decorativos de fondo */
.splash-bg-decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.splash-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
}

.splash-orb-1 {
    width: 340px;
    height: 340px;
    background: var(--secondary-green);
    top: -100px;
    left: -80px;
    animation: splashOrbDrift 10s ease-in-out infinite;
}

.splash-orb-2 {
    width: 260px;
    height: 260px;
    background: #4dabf7;
    bottom: -80px;
    right: -60px;
    animation: splashOrbDrift 12s ease-in-out infinite reverse;
}

.splash-orb-3 {
    width: 180px;
    height: 180px;
    background: var(--secondary-green);
    bottom: 15%;
    left: 8%;
    animation: splashOrbDrift 9s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes splashOrbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -25px) scale(1.15); }
}

.splash-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 34px 34px;
    opacity: 0.5;
}

.splash-float-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.18);
    font-size: 26px;
    animation: splashIconFloat 6s ease-in-out infinite;
}

.splash-float-1 { top: 18%; left: 12%; font-size: 30px; animation-duration: 7s; }
.splash-float-2 { top: 68%; left: 18%; font-size: 20px; animation-duration: 5.5s; animation-delay: -1.5s; }
.splash-float-3 { top: 22%; right: 14%; font-size: 24px; animation-duration: 6.5s; animation-delay: -2.5s; }
.splash-float-4 { top: 72%; right: 10%; font-size: 28px; animation-duration: 8s; animation-delay: -4s; }
.splash-float-5 { top: 45%; right: 22%; font-size: 16px; animation-duration: 5s; animation-delay: -1s; }

@keyframes splashIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.18; }
    50% { transform: translateY(-22px) rotate(12deg); opacity: 0.32; }
}

.splash-container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.splash-logo-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.55), transparent 70%);
    filter: blur(12px);
    animation: splashGlowPulse 2.4s ease-in-out infinite;
}

@keyframes splashGlowPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.08); }
}

.splash-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: splashRingPing 2.4s ease-out infinite;
}

@keyframes splashRingPing {
    0% { transform: scale(0.75); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

.splash-logo {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    animation: splashLogoPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both, wheelchairBounce 2.2s 0.8s ease-in-out infinite;
}

@keyframes splashLogoPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes wheelchairBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-6deg); }
}

.splash-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease;
}

.splash-title span {
    background: linear-gradient(100deg, var(--white) 40%, var(--secondary-green) 50%, var(--white) 60%);
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: splashTitleShine 2.5s 0.9s ease-in-out infinite;
}

@keyframes splashTitleShine {
    0% { background-position: 150% 0; }
    60%, 100% { background-position: -50% 0; }
}

.splash-words {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.splash-word {
    font-size: 20px;
    font-weight: 600;
    opacity: 0;
    animation: wordFadeIn 0.6s ease forwards;
    animation-delay: calc(0.5s + var(--i) * 0.35s);
}

.splash-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--secondary-green);
    opacity: 0;
    animation: wordFadeIn 0.4s ease forwards;
    animation-delay: calc(0.5s + var(--i, 0) * 0.35s + 0.3s);
}

@keyframes wordFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.splash-loading {
    position: relative;
    width: 220px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 40px auto;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 208, 132, 0.35);
}

.loading-bar {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-green), #6df0b7);
    width: 0;
    border-radius: 3px;
    animation: loadingBar 3s ease-in-out;
    box-shadow: 0 0 10px var(--secondary-green);
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: loadingBarShimmer 1.2s ease-in-out infinite;
}

@keyframes loadingBarShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes loadingBar {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

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

.splash-subtitle {
    opacity: 0;
    animation: wordFadeIn 0.6s 1.9s ease forwards;
}

.splash-skip-btn {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    animation: wordFadeIn 0.6s 2.2s ease forwards;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.splash-skip-btn:hover,
.splash-skip-btn:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-light);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 0 20px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 200px;
}

.navbar-scope-badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary-green);
    background: rgba(0, 208, 132, 0.12);
    padding: 4px 10px;
    border-radius: 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    /* Reset de estilos nativos de <button> */
    background: none;
    border: none;
    padding: 4px;
    font-family: inherit;
    border-radius: 8px;
    transition: opacity var(--transition-fast);
}

.navbar-logo:hover {
    opacity: 0.8;
}

.navbar-logo:focus-visible {
    outline: 3px solid var(--primary-electric);
    outline-offset: 3px;
}

.navbar-logo i {
    font-size: 28px;
    color: var(--primary-electric);
}

.navbar-search {
    flex: 1;
    min-width: 150px;
    max-width: 400px;
}

.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 2px solid var(--gray-medium);
    border-radius: 25px;
    font-size: 16px;
    transition: all var(--transition-fast);
    background: var(--white);
    color: var(--text-dark);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-electric);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.search-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.search-result-item:hover {
    background-color: var(--primary-light);
}

.search-result-item.search-result-empty {
    cursor: default;
    color: var(--text-light);
    text-align: center;
}

.search-result-item.search-result-empty:hover {
    background-color: transparent;
}

.search-results-group-label {
    padding: 10px 15px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    background: var(--gray-light);
}

.search-result-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 15px;
    font-size: 14px;
    color: var(--text-light);
}

.navbar-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary-electric);
}

.navbar-right {
    display: flex;
    gap: 15px;
}

.floating-help {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-help:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* MAIN CONTENT */
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-container.hidden {
    display: none;
}

.main-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 20px;
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeInSection 0.5s ease;
}

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

/* HERO SECTION */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 60px 0;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon-container {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 208, 132, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    color: var(--primary-electric);
    animation: floatingIcon 6s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

@keyframes floatingIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* BUTTONS */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-electric), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-electric);
    border: 2px solid var(--primary-electric);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

/* STATS */
.stats-section {
    margin: 80px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--white), var(--gray-light));
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    animation: slideInUp 0.6s ease;
}

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

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-electric);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--white);
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.stat-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* FEATURES */
.features-section {
    margin: 80px 0;
}

.features-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(230, 240, 255, 0.5));
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--primary-light);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    /* Reset de estilos nativos de <button> para que se vea como una tarjeta */
    font-family: inherit;
    width: 100%;
    cursor: pointer;
    display: block;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-electric);
}

.feature-card:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card:focus-visible {
    outline: 3px solid var(--primary-electric);
    outline-offset: 4px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* MAP */
.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.map-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.map-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.map-add-place-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 15px;
    white-space: nowrap;
}

.map-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 14px;
}

.map-hint i {
    color: #ffc107;
    flex-shrink: 0;
}

.select-with-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.select-with-icon > i {
    position: absolute;
    left: 16px;
    color: var(--primary-electric);
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
}

.select-with-icon > select {
    width: 100%;
    padding-left: 42px !important;
}

/* ============================================
   MENÚ DESPLEGABLE PERSONALIZADO (reemplaza el
   <select> nativo, cuyo panel de opciones no se
   puede re-diseñar de forma consistente entre
   navegadores).
   ============================================ */
.custom-select {
    position: relative;
    width: 100%;
}

/* El <select> real sigue existiendo (guarda el valor, valida el formulario,
   funciona si JavaScript falla) pero se oculta visualmente. */
.custom-select-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    text-align: left;
}

.custom-select-trigger > i:first-child {
    color: var(--primary-electric);
    font-size: 15px;
    flex-shrink: 0;
}

.custom-select-value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-arrow {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-light);
    transition: transform var(--transition-fast);
}

.custom-select-trigger:hover {
    border-color: var(--primary-electric);
    box-shadow: var(--shadow-md);
}

.custom-select-trigger:focus-visible {
    outline: none;
    border-color: var(--primary-electric);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--primary-electric);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
    padding: 8px;
    max-height: 320px;
    overflow-y: auto;
    list-style: none;
    animation: customSelectOpen 0.15s ease;
}

@keyframes customSelectOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.custom-select-option::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dot-color, transparent);
    flex-shrink: 0;
}

.custom-select-option.is-placeholder::before {
    background: transparent;
    border: 2px dashed var(--gray-medium);
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
    background: var(--primary-light);
    outline: none;
}

.custom-select-option.is-selected {
    background: var(--primary-light);
    color: var(--primary-electric);
    font-weight: 700;
}

.custom-select-option.is-selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 12px;
    color: var(--primary-electric);
}

.filter-select {
    padding: 12px 42px 12px 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.filter-select:hover {
    border-color: var(--primary-electric);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-electric);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* MARCADORES DEL MAPA (pin con ícono de silla de ruedas) */
.map-marker-pin-wrapper {
    background: transparent;
    border: none;
}

.map-marker-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker-pin i {
    transform: rotate(45deg);
    color: var(--white);
    font-size: 16px;
}

/* Pin de recomendaciones de la comunidad: borde punteado para distinguirlo
   de un establecimiento ya verificado. */
.map-marker-pin-community {
    border-style: dashed;
    border-width: 3px;
}

.map-marker-pin-community i {
    font-size: 14px;
}

/* Pin para negocios encontrados por búsqueda (Mapbox), que no forman parte
   todavía de la base de datos de Ruedas Libres. */
.map-marker-pin-external {
    background-color: #6c757d;
}

/* Marcador de "tu ubicación actual": la silla de ruedas se mece suavemente
   hacia arriba y abajo, con un anillo que pulsa hacia afuera detrás. */
.user-location-marker {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-location-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.35);
    animation: userLocationPulse 2.2s ease-out infinite;
}

@keyframes userLocationPulse {
    0% { transform: scale(0.55); opacity: 0.85; }
    100% { transform: scale(1.9); opacity: 0; }
}

.user-location-badge {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    animation: userLocationBob 1.8s ease-in-out infinite;
}

@keyframes userLocationBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.popup-community-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--secondary-green);
    background: rgba(0, 208, 132, 0.12);
    padding: 3px 8px;
    border-radius: 10px;
    margin-bottom: 6px;
}

.popup-external-badge {
    color: #6c757d;
    background: rgba(108, 117, 125, 0.14);
}

.popup-approx-note {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 6px;
}

.map-wrapper {
    position: relative;
}

.map-locate-btn {
    position: absolute;
    bottom: 26px;
    right: 12px;
    z-index: 400;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    color: var(--primary-electric);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.map-locate-btn:hover {
    transform: scale(1.08);
    color: var(--secondary-green);
}

.map-locate-btn:focus-visible {
    outline: 3px solid var(--primary-electric);
    outline-offset: 2px;
}

.map-locate-btn.is-loading i {
    animation: spin 0.8s linear infinite;
}

.map-container {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    /* Evita que "mantener presionado" en el celular seleccione texto o abra
       el menú nativo (copiar/guardar imagen) en vez de activar nuestra
       acción de "agregar aquí". */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.map-container * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.map-container.map-placement-active {
    cursor: crosshair;
    outline: 3px solid var(--secondary-green);
    outline-offset: 3px;
}

.map-placement-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(0, 208, 132, 0.12);
    color: #0a7a54;
    border: 1px solid var(--secondary-green);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
}

.map-placement-banner i {
    font-size: 16px;
    flex-shrink: 0;
}

.map-placement-banner span {
    flex: 1;
    min-width: 200px;
}

.map-placement-confirm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--secondary-green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.map-placement-confirm-btn:hover {
    background: #00b473;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.map-placement-confirm-btn:focus-visible {
    outline: 3px solid #0a7a54;
    outline-offset: 2px;
}

/* Pin arrastrable de "Recomendar Otro Lugar": se mece igual que el marcador
   de ubicación, con una sombrita que "respira" debajo para dar sensación de
   que flota sobre el punto exacto. */
.pin-selection-marker {
    position: relative;
    width: 44px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: grab;
}

.pin-selection-marker:active {
    cursor: grabbing;
}

.pin-selection-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff922b, #ffc078);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 17px;
    animation: pinSelectionBob 1.6s ease-in-out infinite;
}

@keyframes pinSelectionBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.pin-selection-shadow {
    width: 16px;
    height: 6px;
    margin-top: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    filter: blur(1px);
    animation: pinSelectionShadowPulse 1.6s ease-in-out infinite;
}

@keyframes pinSelectionShadowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(0.6); opacity: 0.25; }
}

/* RUTAS SECTION */
.rutas-header {
    margin-bottom: 40px;
}

.rutas-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.rutas-header p {
    font-size: 18px;
    color: var(--text-light);
}

.rutas-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.filter-btn i {
    font-size: 15px;
}

.filter-btn:hover {
    border-color: var(--primary-electric);
    color: var(--primary-electric);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-electric), var(--primary-dark));
    border-color: var(--primary-electric);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.rutas-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.route-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.route-logo {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-electric);
}

.route-card.route-accessible {
    border-color: var(--secondary-green);
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.05), rgba(0, 208, 132, 0.02));
}

.route-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.route-id {
    background: var(--primary-light);
    color: var(--primary-electric);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.route-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary-green), #00a86b);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.route-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-view-route {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-electric), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-view-route:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* MODALS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal.show {
    display: flex !important;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-electric);
    transform: scale(1.2);
}

.modal-header {
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 6px;
}

/* CALIFICACIONES Y RESEÑAS */
.ratings-modal-content {
    max-width: 920px;
}

.ratings-list-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ratings-category-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ratings-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}

.ratings-category-title i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary-electric);
    font-size: 14px;
}

.ratings-category-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    background: var(--gray-light);
    padding: 3px 10px;
    border-radius: 20px;
}

.ratings-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.rating-item-card {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.rating-item-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.rating-item-stars {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
}

.rating-item-stars i {
    color: #ffc107;
}

.rating-item-stars strong {
    color: var(--text-dark);
}

.rating-item-community-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-green);
    background: rgba(0, 208, 132, 0.12);
    padding: 4px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.rating-item-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.rating-item-address i {
    margin-top: 3px;
    color: var(--primary-electric);
    flex-shrink: 0;
}

.rating-item-no-features {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

.rating-item-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rating-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary-green);
    background: rgba(0, 208, 132, 0.1);
    padding: 4px 9px;
    border-radius: 10px;
}

.rating-item-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-electric);
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.rating-item-cta:hover {
    background: var(--primary-electric);
    color: var(--white);
}

.help-body {
    color: var(--text-dark);
}

.help-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-electric);
}

.help-section ul {
    list-style: none;
    padding: 0;
}

.help-section li {
    padding: 10px 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gray-light);
}

.help-section li:last-child {
    border-bottom: none;
}

/* RECOMENDACIONES: ENCABEZADO */
.recomendaciones-header {
    margin-bottom: 40px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-green);
    background: rgba(0, 208, 132, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.recomendaciones-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.recomendaciones-header > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.recomendaciones-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ENCABEZADO DE PÁGINAS DE CATEGORÍA (Talleres / Tiendas de Sillas) */
.category-page-header {
    margin-bottom: 40px;
}

.category-page-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.category-page-header > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 22px;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 14px;
    padding: 14px 22px;
    box-shadow: var(--shadow-sm);
}

.mini-stat i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    color: var(--white);
    font-size: 18px;
}

.mini-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.mini-stat span {
    font-size: 13px;
    color: var(--text-light);
}

/* RECOMENDACIONES: LAYOUT DE DOS COLUMNAS */
.recomendaciones-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
    margin-bottom: 20px;
}

/* FORMULARIO POR PASOS */
.recommendation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-step {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.form-step:focus-within {
    border-color: var(--primary-electric);
    box-shadow: var(--shadow-md);
}

.form-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    background: var(--gray-light);
    border-bottom: 1px solid var(--gray-medium);
}

.form-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-dark);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

.form-step-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.form-step-header p {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 2px;
}

.form-step-body {
    padding: 26px;
}

.form-step-body .form-group:last-child {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: all var(--transition-fast);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 42px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-electric);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-hint {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
}

/* SUBIR FOTO (cámara o galería) */
.photo-upload {
    position: relative;
}

.photo-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.photo-upload-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.photo-upload-btn {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 26px 16px;
    border: 2px dashed var(--gray-medium);
    border-radius: 14px;
    text-align: center;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: var(--gray-light);
    transition: all var(--transition-fast);
}

.photo-upload-btn i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 19px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
}

.photo-upload-btn:hover {
    border-color: var(--primary-electric);
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.photo-upload-input:focus-visible + .photo-upload-btn {
    outline: 3px solid var(--primary-electric);
    outline-offset: 2px;
    border-color: var(--primary-electric);
}

.photo-preview {
    position: relative;
    display: inline-block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.photo-preview img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 14px;
}

.photo-remove-fab {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.92);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.photo-remove-fab:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.photo-remove-fab:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* Miniatura de foto en tarjetas de lugar (Calificaciones, Talleres, Tiendas, lista de recomendaciones) */
.place-card-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.popup-photo {
    width: 100%;
    max-width: 220px;
    border-radius: 8px;
    margin-top: 6px;
    display: block;
}

.form-input[readonly],
.form-input:disabled {
    background: var(--gray-light);
    color: var(--text-light);
    cursor: not-allowed;
}

.btn-submit-recommendation {
    align-self: flex-start;
    padding: 16px 36px;
    font-size: 16px;
}

.btn-submit-recommendation.is-loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.btn-submit-recommendation.is-loading i {
    animation: spin 0.8s linear infinite;
}

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

/* CHIPS DE ACCESIBILIDAD */
.accessibility-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.chip-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--gray-medium);
    border-radius: 12px;
    cursor: pointer;
    background: var(--white);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.chip-checkbox input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.chip-icon {
    font-size: 18px;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.chip-check {
    margin-left: auto;
    font-size: 14px;
    color: var(--secondary-green);
    opacity: 0;
    transform: scale(0.6);
    transition: all var(--transition-fast);
}

.chip-checkbox:hover {
    border-color: var(--primary-electric);
}

.chip-checkbox.selected {
    border-color: var(--secondary-green);
    background: rgba(0, 208, 132, 0.08);
}

.chip-checkbox.selected .chip-icon {
    color: var(--secondary-green);
}

.chip-checkbox.selected .chip-check {
    opacity: 1;
    transform: scale(1);
}

.chip-checkbox:has(input:focus-visible) {
    outline: 3px solid var(--primary-electric);
    outline-offset: 2px;
}

/* PANEL LATERAL */
.recomendaciones-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.aside-card {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 16px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.aside-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-electric);
    font-size: 20px;
    margin-bottom: 16px;
}

.aside-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.aside-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aside-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.aside-list li i {
    color: var(--secondary-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.aside-card-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary-dark), #003399);
    border: none;
    color: var(--white);
}

.aside-card-stat i {
    font-size: 26px;
    flex-shrink: 0;
}

.aside-card-stat p {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.aside-card-stat strong {
    font-size: 20px;
    color: var(--white);
}

/* RECOMMENDATIONS LIST */
.recommendations-section {
    margin-top: 50px;
}

.recommendations-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.recommendations-section-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.recommendations-count-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-electric);
    background: var(--primary-light);
    padding: 6px 14px;
    border-radius: 20px;
}

.recommendations-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}


.recommendation-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 2px solid var(--primary-light);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-electric);
}

.recommendation-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.rec-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--white);
    font-size: 17px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}

.category-badge,
.state-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-right: 6px;
}

.category-badge {
    background: var(--primary-light);
    color: var(--primary-electric);
}

.state-badge {
    background: #e0f7f4;
    color: var(--secondary-green);
}

.recommendation-card .rec-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13.5px;
    color: var(--text-light);
}

.recommendation-card .rec-meta i {
    color: var(--primary-electric);
    font-size: 12px;
}

.recommendation-card .rec-description {
    margin: 12px 0;
    color: var(--text-dark);
    font-size: 14.5px;
    line-height: 1.65;
}

.recommendation-card .rec-info-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-light);
    padding: 10px 12px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 13.5px;
}

.recommendation-card .rec-info-box i {
    color: var(--primary-electric);
    flex-shrink: 0;
}

.recommendation-card .rec-features-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(0, 208, 132, 0.1);
    color: #0a7a54;
    padding: 10px 12px;
    border-radius: 10px;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.recommendation-card .rec-features-box i {
    margin-top: 2px;
    flex-shrink: 0;
}

.recommendation-card .rec-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-light);
    font-size: 12px;
    color: var(--text-light);
}

.recommendation-card .rating-item-cta {
    margin-top: 14px;
    width: 100%;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
}

/* DETAIL MODAL (establecimientos) */
.detail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.detail-col-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.detail-col-title.accent-blue { color: var(--primary-electric); }
.detail-col-title.accent-green { color: var(--secondary-green); }

.detail-level-badge {
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: capitalize;
    font-weight: 600;
}

.detail-level-badge.level-alto { background: #d4edda; color: #155724; }
.detail-level-badge.level-medio { background: #fff3cd; color: #664d03; }
.detail-level-badge.level-bajo { background: #f8d7da; color: #721c24; }

.detail-rating-box {
    background: var(--primary-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-rating-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-electric);
}

.detail-rating-stars {
    font-size: 16px;
    color: #ffc107;
}

.detail-rating-count {
    color: var(--text-light);
    font-size: 14px;
}

.detail-description {
    color: var(--text-light);
}

.detail-content .rating-item-cta {
    margin-top: 22px;
    width: 100%;
}

/* ROUTE DETAIL MODAL */
.route-detail-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 20px;
}

.route-detail-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.route-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.route-accessible-banner {
    background: #d4edda;
    border-left: 4px solid var(--secondary-green);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #155724;
    font-weight: 600;
}

.route-detail-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.route-path-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.route-info-box {
    background: var(--gray-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.route-info-box h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.route-info-box ul {
    list-style-type: none;
}

.route-info-box li {
    padding: 8px 0;
}

.route-info-box li i {
    margin-right: 10px;
}

.route-info-box li.available i { color: var(--secondary-green); }
.route-info-box li.unavailable { color: var(--text-light); }
.route-info-box li.unavailable i { color: #ff6b6b; }
.route-info-box li.pending i { color: #ffc107; }

.route-contact-box {
    background: var(--primary-light);
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.route-contact-box i {
    color: var(--primary-electric);
    margin-right: 8px;
}

/* ABOUT SECTION */
.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.about-header p {
    font-size: 18px;
    color: var(--text-light);
}

.about-container {
    display: grid;
    gap: 50px;
}

.about-intro {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    align-items: center;
}

.about-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--white);
}

.about-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-card {
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 208, 132, 0.1));
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--primary-light);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    margin: 0 auto 20px;
}

.about-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* SECCIÓN DEL FUNDADOR */
.founder-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 44px;
    align-items: start;
    background: var(--white);
    border-radius: 24px;
    padding: 44px;
    box-shadow: var(--shadow-lg);
    margin-top: 50px;
}

.founder-photo-wrap {
    position: sticky;
    top: 20px;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    border-radius: 22px;
}

.founder-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 17px;
}

.founder-name {
    font-family: 'Poppins', sans-serif;
    font-size: 27px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 12px 0 4px;
}

.founder-title {
    color: var(--primary-electric);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 22px;
}

.founder-bio p {
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 15.5px;
}

.founder-quote {
    border-left: 4px solid var(--secondary-green);
    padding: 4px 0 4px 18px;
    font-style: italic;
    font-weight: 600;
    font-size: 17px;
    color: var(--primary-dark) !important;
    margin-top: 22px !important;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CONTACT SECTION */
.contacto-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacto-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacto-info {
    display: grid;
    gap: 30px;
}

.info-card {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-electric);
}

.info-card i {
    font-size: 30px;
    color: var(--primary-electric);
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
}

.info-card-sub {
    font-size: 13px;
    margin-top: 4px;
    font-style: italic;
}

.info-card a {
    color: var(--primary-electric);
    text-decoration: none;
    font-weight: 600;
}

.contact-form {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 15px;
}

/* CONFIGURACIÓN SECTION */
.configuracion-header {
    text-align: center;
    margin-bottom: 50px;
}

.configuracion-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.configuracion-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.config-card {
    background: linear-gradient(135deg, var(--white), var(--gray-light));
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--gray-light);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.config-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.config-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    margin: 0 auto 20px;
}

.config-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.config-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* TOGGLE SWITCH */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-input:checked + .toggle-label {
    background-color: var(--primary-electric);
}

.toggle-input:checked + .toggle-label:before {
    transform: translateX(26px);
}

/* FONT SIZE CONTROL */
.font-size-control,
.language-select {
    display: inline-flex;
    background: var(--gray-light);
    border: 1px solid var(--gray-medium);
    border-radius: 16px;
    padding: 5px;
    gap: 4px;
}

.size-btn,
.lang-btn {
    padding: 10px 18px;
    border: none;
    background: transparent;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.size-btn:hover,
.lang-btn:hover {
    color: var(--primary-electric);
}

.size-btn.active,
.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-electric), var(--secondary-green));
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.size-btn[data-size="small"] {
    font-size: 12px;
}

.size-btn[data-size="large"] {
    font-size: 20px;
}

.size-btn[data-size="extra-large"] {
    font-size: 24px;
}

/* NOTIFICATION TOAST */
/* SPLASH DE ÉXITO AL ENVIAR UNA RECOMENDACIÓN */
.success-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 26, 77, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-card {
    background: var(--white);
    border-radius: 24px;
    padding: 46px 40px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-overlay.show .success-card {
    transform: scale(1);
}

.success-check-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto;
}

.success-check {
    width: 100%;
    height: 100%;
}

.success-check-circle {
    stroke: var(--secondary-green);
    stroke-width: 3;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
}

.success-overlay.show .success-check-circle {
    animation: successCircleDraw 0.5s ease forwards;
}

.success-check-mark {
    stroke: var(--secondary-green);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
}

.success-overlay.show .success-check-mark {
    animation: successCheckDraw 0.35s 0.4s ease forwards;
}

@keyframes successCircleDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes successCheckDraw {
    to { stroke-dashoffset: 0; }
}

.success-wheelchair {
    font-size: 34px;
    color: var(--primary-electric);
    margin: 12px 0 18px;
    opacity: 0;
}

.success-overlay.show .success-wheelchair {
    animation: wheelchairRoll 1s 0.75s ease-out forwards;
}

@keyframes wheelchairRoll {
    0% { transform: translateX(-70px) rotate(0deg); opacity: 0; }
    55% { opacity: 1; }
    100% { transform: translateX(0) rotate(360deg); opacity: 1; }
}

.success-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.success-card p {
    font-size: 15px;
    color: var(--text-light);
}

.notification-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-electric), var(--primary-dark));
    color: var(--white);
    padding: 16px 30px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: bottom 0.3s ease;
}

.notification-toast.show {
    bottom: 30px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1300px) {
    .navbar-menu span {
        display: none;
    }

    .navbar-menu {
        gap: 5px;
    }

    .navbar-search {
        max-width: 240px;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .recomendaciones-layout {
        grid-template-columns: 1fr;
    }
    
    .recomendaciones-aside {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .recomendaciones-aside .aside-card {
        flex: 1 1 260px;
    }
    
    .accessibility-chips {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .map-container {
        height: 440px;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        flex-wrap: wrap;
        row-gap: 10px;
    }
    
    .navbar-search {
        display: none;
    }
    
    .navbar-menu {
        display: flex;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        order: 3;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .founder-section {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
    
    .founder-photo-wrap {
        position: static;
        max-width: 220px;
        margin: 0 auto;
    }
    
    .hero-section {
        padding: 30px 0;
        margin-bottom: 40px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .rutas-container {
        grid-template-columns: 1fr;
    }
    
    .form-step-header {
        padding: 18px 20px;
    }
    
    .form-step-body {
        padding: 20px;
    }
    
    .recomendaciones-stats {
        flex-direction: column;
    }
    
    .recomendaciones-aside {
        flex-direction: column;
    }

    .map-header h2 {
        font-size: 24px;
    }

    .map-filters {
        width: 100%;
    }

    .map-filters .custom-select {
        flex: 1 1 100%;
        min-width: 0;
    }

    .map-add-place-btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    .map-container {
        height: 360px;
    }
}
