/* ===== IMPORTS Y TIPOGRAFÍAS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Inter Tight - Tipografía principal */
@font-face {
    font-family: 'Inter Tight';
    src: url('WEB/fonts/Inter-tight-esta en google fonts/InterTight-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('WEB/fonts/Inter-tight-esta en google fonts/InterTight-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('WEB/fonts/Inter-tight-esta en google fonts/InterTight-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('WEB/fonts/Inter-tight-esta en google fonts/InterTight-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('WEB/fonts/Inter-tight-esta en google fonts/InterTight-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('WEB/fonts/Inter-tight-esta en google fonts/InterTight-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('WEB/fonts/Inter-tight-esta en google fonts/InterTight-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('WEB/fonts/Inter-tight-esta en google fonts/InterTight-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('WEB/fonts/Inter-tight-esta en google fonts/InterTight-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Ivy Presto Display - Tipografía para títulos */
@font-face {
    font-family: 'Ivy Presto Display';
    src: url('WEB/fonts/Ivy-presto-display/fonnts.com-Ivy-Presto-Display-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ivy Presto Display';
    src: url('WEB/fonts/Ivy-presto-display/fonnts.com-Ivy-Presto-Display-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ivy Presto Display';
    src: url('WEB/fonts/Ivy-presto-display/fonnts.com-Ivy-Presto-Display-Semi-Bold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIABLES CSS ===== */
:root {
    /* Tipografías */
    --font-primary: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Ivy Presto Display', Georgia, 'Times New Roman', serif;
    
    /* Colores */
    --primary-green: #22c55e;
    --primary-green-dark: #16a34a;
    --forest-green-dark: #0f172a;
    --text-light: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    --spacing-4xl: 8rem;
    
    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 24px;
    --border-radius-full: 9999px;
    
    /* Transiciones */
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --transition-fast: 0.15s ease-in-out;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== RESET Y ESTILOS BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Aplicar tipografía de display para títulos principales */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

/* Títulos específicos con diferentes pesos */
.hero-content h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.section-text h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.2;
}

/* Texto del cuerpo con Inter Tight */
p, span, div, a, button, input, textarea {
    font-family: var(--font-primary);
}

/* Logo con pinwheel y texto */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.pinwheel {
    width: 100%;
    height: 100%;
    position: relative;
    animation: spin 20s linear infinite;
}

.blade {
    position: absolute;
    width: 20px;
    height: 40px;
    border-radius: 20px 0 0 20px;
    transform-origin: 0 50%;
    transition: var(--transition-normal);
}

.blade-1 {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: rotate(0deg);
}

.blade-2 {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
    transform: rotate(90deg);
}

.blade-3 {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transform: rotate(180deg);
}

.blade-4 {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    transform: rotate(270deg);
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text h1 {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--text-light);
    margin: 0;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-nature);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(45, 90, 39, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80px;
    gap: 3rem;
}

/* Logo solo con imagen */
.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    margin-right: 2rem;
    margin-left: -5rem;
}

.logo-image {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
    filter: brightness(1.4) contrast(1.3) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}


.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    z-index: 1001;
    margin-left: -5rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    position: relative;
    padding: var(--spacing-sm) var(--spacing-md);
    white-space: nowrap;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition-normal);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #ffffff;
    opacity: 1;
}

.btn-ingresa {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.btn-ingresa:hover {
    background: var(--primary-green-dark);
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn:hover span {
    background: white;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: var(--spacing-3xl) 0;
    margin-top: 0;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, 
        transparent 0%,
        rgba(248, 249, 250, 0.1) 20%,
        rgba(248, 249, 250, 0.3) 40%,
        rgba(248, 249, 250, 0.6) 60%,
        rgba(248, 249, 250, 0.8) 80%,
        rgba(248, 249, 250, 1) 100%
    );
    z-index: 5;
    pointer-events: none;
    animation: fadeInUp 2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* ===== PARALLAX CONTAINER ===== */
.parallax-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
}

.parallax-img {
    width: 100%;
    height: 100%;
    user-select: none;
    pointer-events: none;
}

/* ESTRATEGIA DIFERENTE: Cada capa ocupa un área específica */
.layer-bg {
    z-index: 1;
    top: 0;
    height: 100%;
}

.layer-bg .parallax-img {
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.8) contrast(1.2);
}

.layer-mountains {
    z-index: 2;
    top: 15%;
    height: 85%;
}

.layer-mountains .parallax-img {
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.9) contrast(1.1);
}

.layer-mountains-close {
    z-index: 3;
    top: 30%;
    height: 70%;
}

.layer-mountains-close .parallax-img {
    object-fit: cover;
    object-position: center center;
    filter: brightness(1.0) contrast(1.0);
}

.layer-foreground {
    z-index: 4;
    top: 45%;
    height: 55%;
}

.layer-foreground .parallax-img {
    object-fit: cover;
    object-position: center bottom;
    filter: brightness(1.3) contrast(1.2);
}

/* Overlay completamente transparente para no ocultar nada */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 6;
}

/* Overlay de transición en la sección del mapa */
.map-transition-overlay {
    position: absolute;
    top: -400px;
    left: 0;
    right: 0;
    height: 1000px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 32, 63, 0.05) 5%,
        rgba(0, 32, 63, 0.15) 15%,
        rgba(0, 32, 63, 0.4) 35%,
        rgba(0, 32, 63, 0.7) 60%,
        rgba(0, 32, 63, 0.9) 85%,
        rgba(0, 32, 63, 1) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 7;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(132, 204, 22, 0.3);
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
    background: rgba(16, 185, 129, 0.3);
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    background: rgba(14, 165, 233, 0.3);
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
    background: rgba(234, 179, 8, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Mejoras para el contenido del hero */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-full);
    padding: 0.75rem 2rem;
    margin-bottom: var(--spacing-lg);
    display: inline-block;
}

.hero-badge span {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-content h1 {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.hero-content h1 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    color: var(--primary-green);
}

.hero-content p {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--forest-green-dark);
}

.btn-primary {
    background: var(--primary-green);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Estilos específicos para enlaces con clase btn-primary */
a.btn-primary {
    text-decoration: none;
    color: var(--text-light);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    transition: var(--transition-normal);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--primary-green);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== CAPITAL NATURAL SECTION ===== */
.capital-natural-section {
    padding: 40px 0;
    background: #ffffff;
    position: relative;
}

.capital-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.capital-content h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 32px;
    line-height: 1.3;
}

.capital-content h2 em {
    color: var(--primary-green);
    font-style: italic;
    font-weight: 700;
}

.capital-content p {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== INTERACTIVE IMAGES SECTION ===== */
.interactive-images-section {
    position: relative;
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.images-background {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    transform: scale(0.8);
    transition: transform 0.01s ease-out;
    will-change: transform;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.floating-images {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    z-index: 2;
    pointer-events: none;
}

.floating-images .floating-image {
    pointer-events: auto;
}

.floating-image {
    position: absolute;
    transition: transform 0.01s ease-out;
    cursor: pointer;
    will-change: transform;
}

.floating-image img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
}

.image-ranita {
    top: 10%;
    left: -75px;
    transform: scale(0.5);
}

.image-senora {
    bottom: 10%;
    left: -75px;
    transform: scale(0.5);
}

.image-pajaro {
    top: 50%;
    right: -75px;
    transform: translateY(-50%) scale(0.5);
}

.image-info {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    max-width: 200px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.image-ranita .image-info {
    top: 100%;
    left: 0;
    margin-top: 15px;
}

.image-senora .image-info {
    bottom: 100%;
    left: 0;
    margin-bottom: 15px;
}

.image-pajaro .image-info {
    top: 50%;
    right: 100%;
    margin-right: 15px;
    transform: translateY(-50%) translateX(-10px);
}

.image-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.image-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 15px;
}

.info-button {
    width: 30px;
    height: 30px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    margin-left: auto;
}

.floating-image:hover .image-info {
    opacity: 1;
    transform: translateY(0);
}

.floating-image:hover .image-pajaro .image-info {
    transform: translateY(-50%) translateX(0);
}

.floating-image:hover img {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Scroll Animation Effects */
.floating-image.scroll-animate {
    transform: scale(1.2);
}

/* ===== CIFRAS SECTION ===== */
.cifras-section {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
}

.cifras-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cifras-content h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 32px;
    line-height: 1.3;
}

.cifras-content h2 em {
    color: var(--primary-green);
    font-style: italic;
    font-weight: 700;
}

.cifras-content p {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.cifras-cta {
    margin-top: 40px;
}

.btn-cifras {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-cifras:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* ===== DASHBOARD STATS SECTION ===== */
.dashboard-stats-section {
    padding: 10px 0; /* antes 0 */
    margin: 0;
    background: linear-gradient(100deg, #1A2D29    0%, #1A2D29    90%);
    display: flex;
    align-items: center;
    min-height: 200px; /* define altura mínima */
}


.dashboard-stats-section .container {
    padding: 0 var(--spacing-lg);
    margin: 0 auto;
    width: 90%;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    align-items: start; /* evita que se alarguen */
}



/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 480px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.stat-card-large {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 12px;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0;
}

.stat-card-large:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon-large {
    width: 35px;
    height: 35px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    font-size: 1rem;
    color: white;
}

.stat-number-large {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label-large {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
}

/* Dashboard Preview */
.dashboard-preview {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.laptop-container {
    position: relative;
    width: 480px;
    transform: translateX(240px) translateY(-40%);
    z-index: 10;
}

.laptop-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

/* Responsive */
@media (min-width: 1440px) {
    .laptop-container {
        transform: translateX(350px) translateY(-40%);
    }
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .stat-card-large {
        padding: 30px 20px;
    }
    
    .stat-number-large {
        font-size: 2.5rem;
    }
}

/* ===== TÍTULO EMPRESAS Y TERRITORIOS SECTION ===== */
.empresas-titulo-section {
    padding: 80px 0 40px 0;
    background: #ffffff;
    position: relative;
}

.empresas-titulo-section .section-header {
    text-align: center;
}

section.empresas-titulo-section .container .section-header h2 {
    font-family: var(--font-display) !important;
    font-size: 2.8rem !important;
    font-weight: 600 !important;
    color: #000000 !important;
    margin-bottom: 30px !important;
    line-height: 1.3 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* ===== COMUNIDAD DE PRÁCTICA SECTION ===== */
.comunidad-practica-section {
    padding: 40px 0 80px 0;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8) 0%, rgba(74, 124, 89, 0.7) 100%), url('imagenes/rio.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

section.empresas-titulo-section .container .section-header h2 em {
    color: var(--primary-green) !important;
    font-style: italic !important;
    font-weight: 700 !important;
}

.btn-conoce {
    background: var(--primary-green) !important;
    color: rgb(20, 20, 20) !important;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-conoce:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
}

.empresas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Imágenes del lado izquierdo */
.empresas-images {
    position: relative;
    height: 500px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.stack-image {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.img-1 {
    width: 200px;
    height: 250px;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 3;
}

.img-2 {
    width: 180px;
    height: 220px;
    object-fit: cover;
    top: 60px;
    left: 120px;
    z-index: 2;
}

.img-3 {
    width: 200px;
    height: 250px;
    object-fit: cover;
    bottom: 0;
    left: 50px;
    z-index: 1;
}

.stack-image:hover {
    transform: scale(1.05);
}

/* Tarjeta del lado derecho */
.empresas-card {
    background: rgba(45, 90, 39, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.card-header p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 25px;
}

.card-content p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-footer {
    margin-top: 30px;
}

.btn-unete {
    background: #90EE90;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(144, 238, 144, 0.3);
}

.btn-unete:hover {
    background: #7CCD7C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(144, 238, 144, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .empresas-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .empresas-images {
        height: 400px;
    }
    
    .img-1, .img-2, .img-3 {
        width: 150px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .empresas-territorios-section h2 {
        font-size: 2rem;
    }
    
    .empresas-card {
        padding: 25px;
    }
    
    .empresas-images {
        height: 300px;
    }
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-green-light));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-primary);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-green);
    border-color: rgba(34, 197, 94, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--forest-green);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== TOOLS SECTION ===== */
.tools {
    background: var(--bg-primary);
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.glass-card {
    background: rgba(34, 197, 94, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    opacity: 0;
    transition: var(--transition-normal);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-green);
    border-color: rgba(34, 197, 94, 0.4);
}

.tool-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.tool-icon {
    margin-bottom: var(--spacing-xl);
}

.icon-bg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-green);
    transition: var(--transition-normal);
}

.tool-card:hover .icon-bg {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-forest);
}

.quadrant-icon {
    width: 60px;
    height: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    border-radius: 50%;
    overflow: hidden;
}

.quadrant {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.q1 { background: var(--accent-green); }
.q2 { background: var(--ocean-blue); }
.q3 { background: var(--secondary-green); }
.q4 { background: var(--sun-yellow); }

.tool-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: var(--spacing-lg);
}

.tool-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.tool-features {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--gradient-success);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== DASHBOARD PREVIEW ===== */
.dashboard-preview {
    background: var(--bg-green-light);
    padding: var(--spacing-3xl) 0;
}

.dashboard-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-top: var(--spacing-2xl);
}

.dashboard-mockup {
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.dashboard-header {
    background: var(--gradient-forest);
    color: white;
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
}

.dashboard-controls {
    display: flex;
    gap: var(--spacing-sm);
}

.control-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-content {
    padding: var(--spacing-2xl);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-placeholder {
    text-align: center;
}

.chart-animation {
    width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-lg);
    border: 3px solid var(--primary-green);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.dashboard-cta {
    text-align: center;
}

.dashboard-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: var(--spacing-lg);
}

.dashboard-cta p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-forest);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo .logo-icon.small {
    width: 40px;
    height: 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.footer-section ul li i {
    margin-right: var(--spacing-sm);
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-bottom p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-green);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-primary);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius-xl);
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.modal-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.close:hover {
    transform: scale(1.1);
}

.login-form {
    padding: var(--spacing-2xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: var(--spacing-md);
    color: var(--sage-green);
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--bg-primary);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.toggle-password {
    position: absolute;
    right: var(--spacing-md);
    background: none;
    border: none;
    color: var(--sage-green);
    cursor: pointer;
    z-index: 1;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-wrapper input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 3px;
    position: relative;
    transition: var(--transition-normal);
}

.checkbox-wrapper input:checked + .checkmark {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.checkbox-wrapper input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
}

.forgot-password {
    color: var(--forest-green);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.forgot-password:hover {
    color: var(--primary-green);
}

.btn-login {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
    background: var(--gradient-primary);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
    background: var(--gradient-primary);
}

.social-login {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.social-login p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.social-btn {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-lg);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.social-btn:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.social-btn.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.social-btn.microsoft:hover {
    border-color: #00a4ef;
    color: #00a4ef;
}

.form-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.register-link {
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.register-link:hover {
    color: var(--primary-green);
}

/* ===== NOTIFICATIONS ===== */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
}

.notification {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-green);
    transform: translateX(100%);
    animation: slideIn 0.3s ease-out forwards;
}

.notification.success {
    border-left-color: var(--primary-green);
}

.notification.error {
    border-left-color: #ef4444;
}

.notification.warning {
    border-left-color: var(--sun-yellow);
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

/* ===== LOGIN PAGE STYLES ===== */
.login-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Left Side - Branding */
.login-branding {
    background: linear-gradient(135deg, #172526 0%, #1a2d2e 100%);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-branding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(34, 197, 94, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.branding-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.logo-icon.large {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon.large .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
    transition: var(--transition-normal);
}

.logo-icon.large .logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.3) contrast(1.2);
}

.logo-text h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.branding-text {
    margin-bottom: 40px;
}

.branding-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.branding-text h2 em {
    color: #22c55e;
    font-style: italic;
}

.branding-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(23, 37, 38, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(23, 37, 38, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(23, 37, 38, 0.5);
    border-color: rgba(23, 37, 38, 0.7);
    transform: translateX(10px);
}

.feature-item i {
    color: #22c55e;
    font-size: 1.2rem;
    width: 20px;
}

.feature-item span {
    color: white;
    font-weight: 500;
}

/* Right Side - Login Form */
.login-form-section {
    background: white;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.form-header p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-form label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.login-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-form .input-wrapper i {
    position: absolute;
    left: 15px;
    color: #9ca3af;
    z-index: 1;
    font-size: 0.9rem;
}

.login-form .input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.login-form .input-wrapper input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.login-form .input-wrapper input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    z-index: 1;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #22c55e;
}

.field-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.4;
    margin: 0;
}

.terms-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    background: white;
    display: block;
}

.terms-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #22c55e;
    border-color: #22c55e;
}

.terms-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.terms-checkbox input[type="checkbox"]:focus + .checkmark {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.forgot-password {
    color: #22c55e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #16a34a;
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.2);
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-login.loading {
    background: #9ca3af;
}

.btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #9ca3af;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.social-btn:hover {
    border-color: #22c55e;
    color: #22c55e;
    transform: translateY(-2px);
}

.social-btn.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.social-btn.microsoft:hover {
    border-color: #00a4ef;
    color: #00a4ef;
}

.form-footer {
    text-align: center;
}

.form-footer p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.register-link {
    color: #22c55e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #16a34a;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-home:hover {
    color: #22c55e;
}

/* Responsive para Login */
/* Tablet Large (1024px - 1199px) */
@media (max-width: 1199px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        box-shadow: none;
    }
    
    .login-branding {
        padding: 50px 40px;
        min-height: 45vh;
    }
    
    .login-form-section {
        padding: 50px 40px;
        min-height: 55vh;
    }
    
    .branding-text h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .branding-text p {
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .features-list {
        margin-top: 2rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .login-branding {
        padding: 40px 30px;
        min-height: 40vh;
    }
    
    .login-form-section {
        padding: 40px 30px;
        min-height: 60vh;
    }
    
    .branding-text h2 {
        font-size: 1.6rem;
    }
    
    .branding-text p {
        font-size: 0.95rem;
    }
    
    .form-container {
        max-width: 500px;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-branding {
        display: none;
    }
    
    .login-form-section {
        padding: 30px 20px;
        min-height: 100vh;
    }
    
    .branding-content {
        text-align: center;
        max-width: 100%;
    }
    
    .logo-section {
        margin-bottom: 1rem;
    }
    
    .logo-icon.large {
        width: 60px;
        height: 60px;
    }
    
    .branding-text h2 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .branding-text p {
        font-size: 0.8rem;
        margin-top: 0.5rem;
        display: none; /* Ocultar texto descriptivo en móviles */
    }
    
    .features-list {
        margin-top: 1rem;
        gap: 0.5rem;
        display: none; /* Ocultar lista de características en móviles */
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
    
    .form-header p {
        font-size: 0.85rem;
    }
    
    .login-form .input-wrapper input {
        padding: 8px 8px 8px 35px;
        font-size: 0.9rem;
    }
    
    .login-form .input-wrapper i {
        left: 10px;
        font-size: 0.85rem;
    }
    
    .toggle-password {
        right: 10px;
        padding: 4px;
    }
    
    .login-form .form-group {
        margin-bottom: 15px;
    }
    
    .btn-login {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .form-footer {
        margin-top: 1rem;
    }
    
    .form-footer p {
        font-size: 0.85rem;
    }
    
    .back-home {
        font-size: 0.85rem;
        margin-top: 1rem;
    }
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-branding {
        display: none;
    }
    
    .login-form-section {
        padding: 25px 15px;
        min-height: 100vh;
    }
    
    .logo-icon.large {
        width: 45px;
        height: 45px;
    }
    
    .branding-text h2 {
        font-size: 0.9rem;
        line-height: 1.1;
        margin-bottom: 0.2rem;
    }
    
    .branding-text p {
        display: none; /* Ocultar texto descriptivo */
    }
    
    .features-list {
        display: none; /* Ocultar lista de características */
    }
    
    .form-header h3 {
        font-size: 1.2rem;
    }
    
    .form-header p {
        font-size: 0.8rem;
    }
    
    .login-form .form-group {
        margin-bottom: 15px;
    }
    
    .login-form label {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .login-form .input-wrapper input {
        padding: 8px 8px 8px 32px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .login-form .input-wrapper i {
        left: 8px;
        font-size: 0.8rem;
    }
    
    .toggle-password {
        right: 8px;
        padding: 3px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .checkbox-wrapper {
        font-size: 0.85rem;
    }
    
    .forgot-password {
        font-size: 0.8rem;
    }
    
    .btn-login {
        padding: 8px 16px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .form-footer p {
        font-size: 0.8rem;
    }
    
    .back-home {
        font-size: 0.8rem;
        margin-top: 0.6rem;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-branding {
        display: none;
    }
    
    .login-form-section {
        padding: 20px 10px;
        min-height: 100vh;
    }
    
    .logo-icon.large {
        width: 35px;
        height: 35px;
    }
    
    .branding-text h2 {
        font-size: 0.8rem;
        line-height: 1.0;
        margin-bottom: 0.1rem;
    }
    
    .branding-text p {
        display: none; /* Ocultar texto descriptivo */
    }
    
    .features-list {
        display: none; /* Ocultar lista de características */
    }
    
    .form-header h3 {
        font-size: 1.1rem;
    }
    
    .login-form .form-group {
        margin-bottom: 12px;
    }
    
    .login-form label {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }
    
    .login-form .input-wrapper input {
        padding: 6px 6px 6px 28px;
        font-size: 0.8rem;
    }
    
    .login-form .input-wrapper i {
        left: 6px;
        font-size: 0.75rem;
    }
    
    .toggle-password {
        right: 6px;
        padding: 2px;
    }
    
    .btn-login {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .form-footer {
        margin-top: 0.8rem;
    }
    
    .form-footer p {
        font-size: 0.75rem;
    }
    
    .back-home {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
}

/* ===== REGISTER PAGE STYLES ===== */
.register-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px 0;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 40px);
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow-y: visible;
    overflow-x: hidden;
}

/* Left Side - Branding */
.register-branding {
    background: linear-gradient(135deg, #172526 0%, #1a2d2e 100%);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.register-branding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(34, 197, 94, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateX(8px);
}

.benefit-item i {
    color: #22c55e;
    font-size: 1rem;
    width: 16px;
}

.benefit-item span {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Right Side - Register Form */
.register-form-section {
    background: white;
    padding: 20px 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow-y: visible;
    overflow-x: hidden;
    min-height: calc(100vh - 40px);
}

.form-container {
    width: 100%;
    max-width: 500px;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.section-title i {
    color: #22c55e;
    font-size: 1rem;
}

.register-form .form-group {
    margin-bottom: 20px;
}

.register-form label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.register-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.register-form .input-wrapper i {
    position: absolute;
    left: 15px;
    color: #9ca3af;
    z-index: 1;
    font-size: 0.9rem;
}

.register-form .input-wrapper input,
.register-form .input-wrapper select,
.register-form .input-wrapper textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    font-family: var(--font-primary);
}

.register-form .input-wrapper input:focus,
.register-form .input-wrapper select:focus,
.register-form .input-wrapper textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.register-form .input-wrapper input.error,
.register-form .input-wrapper select.error,
.register-form .input-wrapper textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.register-form .input-wrapper textarea {
    resize: vertical;
    min-height: 80px;
    padding-top: 12px;
}

.register-form .input-wrapper select {
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    color: #374151;
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.radio-option:hover {
    border-color: #53523a;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 82, 58, 0.15);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 3px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    background: #ffffff;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #53523a;
    background: #53523a;
    box-shadow: 0 0 0 3px rgba(83, 82, 58, 0.1);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: radioCheck 0.3s ease;
}

.radio-option input[type="radio"]:checked ~ .radio-label {
    color: #53523a;
    font-weight: 600;
}

.radio-option input[type="radio"]:checked {
    border-color: #53523a;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 4px 15px rgba(83, 82, 58, 0.2);
}

.radio-label {
    font-weight: 500;
    font-size: 1rem;
    user-select: none;
    transition: all 0.3s ease;
}

@keyframes radioCheck {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Estilos mejorados para labels de radio buttons */
.form-label-enhanced {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    display: block;
    line-height: 1.4;
}

.form-description {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.3;
}

/* Estilos para selección de planes */
.plan-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.plan-option {
    cursor: pointer;
    position: relative;
}

.plan-option input[type="radio"] {
    display: none;
}

.plan-card-mini {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-card-mini:hover {
    border-color: #53523a;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(83, 82, 58, 0.15);
}

.plan-option input[type="radio"]:checked + .plan-card-mini {
    border-color: #53523a;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 10px 25px rgba(83, 82, 58, 0.2);
    transform: translateY(-5px);
}

.plan-card-mini.featured {
    border-color: #53523a;
    background: linear-gradient(135deg, #53523a 0%, #4b6252 100%);
    color: white;
}

.plan-card-mini.featured:hover {
    background: linear-gradient(135deg, #4b6252 0%, #53523a 100%);
}

.plan-icon-mini {
    width: 50px;
    height: 50px;
    background: rgba(83, 82, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: #53523a;
}

.plan-card-mini.featured .plan-icon-mini {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.plan-title-mini {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    font-family: 'Ivy Presto Display', serif;
}

.plan-card-mini.featured .plan-title-mini {
    color: white;
}

.plan-description-mini {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.4;
}

.plan-card-mini.featured .plan-description-mini {
    color: rgba(255, 255, 255, 0.8);
}

.plan-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #53523a;
    margin-bottom: 15px;
    padding: 8px 16px;
    background: rgba(83, 82, 58, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.plan-card-mini.featured .plan-price {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.plan-features-mini {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.plan-features-mini li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #6b7280;
}

.plan-card-mini.featured .plan-features-mini li {
    color: rgba(255, 255, 255, 0.8);
}

.plan-features-mini i {
    color: #53523a;
    font-size: 0.8rem;
}

.plan-card-mini.featured .plan-features-mini i {
    color: #8fbc8f;
}

/* Estilos para checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-option:hover {
    background-color: #f8fafc;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #53523a;
    background: #53523a;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label {
    font-weight: 500;
    color: #374151;
    user-select: none;
}

.btn-register {
    width: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.btn-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-register.loading {
    background: #9ca3af;
}

.btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
}

.terms-link {
    color: #22c55e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #16a34a;
}

.login-link {
    color: #22c55e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #16a34a;
}

/* Responsive para Register */
/* Mejoras adicionales para formulario de registro */
.register-container {
    overflow-x: hidden;
}

.register-form-section {
    overflow-x: hidden;
}

/* Asegurar que el body no tenga restricciones en móviles */
@media (max-width: 767px) {
    body.register-page {
        overflow-x: hidden;
        overflow-y: auto;
        min-height: auto;
        height: auto;
    }
    
    .register-container {
        min-height: auto;
        height: auto;
        overflow-y: visible;
    }
    
    .register-form-section {
        min-height: auto;
        height: auto;
        overflow-y: visible;
    }
}

/* Tablet Large (1024px - 1199px) */
@media (max-width: 1199px) {
    .register-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        box-shadow: none;
    }
    
    .register-branding {
        padding: 50px 40px;
        min-height: 40vh;
    }
    
    .register-form-section {
        padding: 50px 40px;
        min-height: 60vh;
    }
    
    .branding-text h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .branding-text p {
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .benefits-list {
        margin-top: 2rem;
    }
    
    .benefit-item {
        font-size: 0.9rem;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .register-branding {
        padding: 40px 30px;
        min-height: 35vh;
    }
    
    .register-form-section {
        padding: 40px 30px;
        min-height: 65vh;
    }
    
    .branding-text h2 {
        font-size: 1.6rem;
    }
    
    .branding-text p {
        font-size: 0.95rem;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .form-section {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .register-container {
        min-height: auto;
        box-shadow: none;
        grid-template-columns: 1fr;
    }
    
    .register-branding {
        display: none;
    }
    
    .register-form-section {
        padding: 30px 20px;
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .branding-content {
        text-align: center;
        max-width: 100%;
    }
    
    .logo-section {
        margin-bottom: 1rem;
    }
    
    .logo-icon.large {
        width: 60px;
        height: 60px;
    }
    
    .branding-text h2 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .branding-text p {
        font-size: 0.8rem;
        margin-top: 0.5rem;
        display: none; /* Ocultar texto descriptivo en móviles */
    }
    
    .benefits-list {
        margin-top: 1rem;
        gap: 0.5rem;
        display: none; /* Ocultar lista de beneficios en móviles */
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
    
    .form-header p {
        font-size: 0.85rem;
    }
    
    .form-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .register-form .form-group {
        margin-bottom: 15px;
    }
    
    .register-form label {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .register-form .input-wrapper input,
    .register-form .input-wrapper select,
    .register-form .input-wrapper textarea {
        padding: 8px 8px 8px 35px;
        font-size: 0.9rem;
    }
    
    .register-form .input-wrapper i {
        left: 10px;
        font-size: 0.85rem;
    }
    
    .toggle-password {
        right: 10px;
        padding: 4px;
    }
    
    .radio-group {
        gap: 12px;
        margin-top: 12px;
        flex-direction: column;
    }
    
    .radio-option {
        font-size: 0.9rem;
        padding: 10px 16px;
        min-width: 100px;
    }
    
    .radio-custom {
        width: 18px;
        height: 18px;
        border-width: 2px;
    }
    
    .radio-option input[type="radio"]:checked + .radio-custom::after {
        width: 6px;
        height: 6px;
    }
    
    .btn-register {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .form-footer {
        margin-top: 1rem;
    }
    
    .form-footer p {
        font-size: 0.85rem;
    }
    
    .back-home {
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
    .register-container {
        min-height: auto;
        box-shadow: none;
        grid-template-columns: 1fr;
    }
    
    .register-branding {
        display: none;
    }
    
    .register-form-section {
        padding: 25px 15px;
        min-height: auto;
        padding-bottom: 100px;
    }
    
    .logo-icon.large {
        width: 50px;
        height: 50px;
    }
    
    .branding-text h2 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.3rem;
    }
    
    .branding-text p {
        display: none; /* Ocultar texto descriptivo */
    }
    
    .benefits-list {
        display: none; /* Ocultar lista de beneficios */
    }
    
    .form-header h3 {
        font-size: 1.2rem;
    }
    
    .form-header p {
        font-size: 0.8rem;
    }
    
    .form-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .register-form .form-group {
        margin-bottom: 12px;
    }
    
    .register-form label {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }
    
    .register-form .input-wrapper input,
    .register-form .input-wrapper select,
    .register-form .input-wrapper textarea {
        padding: 6px 6px 6px 30px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    .register-form .input-wrapper i {
        left: 8px;
        font-size: 0.8rem;
    }
    
    .toggle-password {
        right: 8px;
        padding: 3px;
    }
    
    .radio-group {
        gap: 8px;
        margin-top: 10px;
        flex-direction: column;
    }
    
    .radio-option {
        font-size: 0.85rem;
        padding: 8px 12px;
        min-width: 80px;
    }
    
    .radio-custom {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }
    
    .radio-option input[type="radio"]:checked + .radio-custom::after {
        width: 5px;
        height: 5px;
    }
    
    /* Estilos responsivos para selección de planes */
    .plan-selection-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .plan-card-mini {
        padding: 15px;
    }
    
    .plan-icon-mini {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .plan-title-mini {
        font-size: 1rem;
    }
    
    .plan-description-mini {
        font-size: 0.8rem;
    }
    
    .plan-features-mini li {
        font-size: 0.75rem;
    }
    
    .btn-register {
        padding: 8px 16px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    .form-footer p {
        font-size: 0.8rem;
    }
    
    .back-home {
        font-size: 0.8rem;
        margin-top: 0.6rem;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
    .register-branding {
        padding: 10px 8px;
        min-height: 15vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .register-container {
        min-height: auto;
        box-shadow: none;
        grid-template-columns: 1fr;
    }
    
    .register-branding {
        display: none;
    }
    
    .register-form-section {
        padding: 20px 10px;
        min-height: auto;
        padding-bottom: 120px;
    }
    
    .logo-icon.large {
        width: 40px;
        height: 40px;
    }
    
    .branding-text h2 {
        font-size: 0.9rem;
        line-height: 1.1;
        margin-bottom: 0.2rem;
    }
    
    .branding-text p {
        display: none; /* Ocultar texto descriptivo */
    }
    
    .benefits-list {
        display: none; /* Ocultar lista de beneficios */
    }
    
    .form-header h3 {
        font-size: 1.1rem;
    }
    
    .form-section {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .register-form .form-group {
        margin-bottom: 10px;
    }
    
    .register-form label {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }
    
    .register-form .input-wrapper input,
    .register-form .input-wrapper select,
    .register-form .input-wrapper textarea {
        padding: 5px 5px 5px 25px;
        font-size: 0.8rem;
    }
    
    .register-form .input-wrapper i {
        left: 6px;
        font-size: 0.75rem;
    }
    
    .toggle-password {
        right: 6px;
        padding: 2px;
    }
    
    .btn-register {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .form-footer {
        margin-top: 0.8rem;
    }
    
    .form-footer p {
        font-size: 0.75rem;
    }
    
    .back-home {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav {
        gap: var(--spacing-lg);
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .dashboard-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 var(--spacing-md);
        min-height: 70px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-green-light);
    position: relative;
    width: 100%;
}

.map-section .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.map-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    padding: 0 var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.map-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.map-container {
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    height: 80vh;
    position: relative;
    width: 100%;
    margin: 0;
}

/* ===== HERO MAP ===== */
.hero-map {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.hero-map .leaflet-container {
    width: 100% !important;
    height: 100% !important;
    background: var(--gradient-nature);
}

/* Personalizar controles del mapa */
.hero-map .leaflet-control-zoom {
    display: block;
    margin: 20px;
}

.hero-map .leaflet-control-attribution {
    display: block;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* Estilo personalizado para el mapa */
.hero-map .leaflet-tile-pane {
    opacity: 1;
}

.hero-map .leaflet-overlay-pane {
    opacity: 1;
}

/* Responsive para el mapa */
@media (max-width: 768px) {
    .map-container {
        height: 60vh;
    }
    
    .map-section .section-header h2 {
        font-size: 2rem;
    }
    
    .map-section .section-header p {
        font-size: 1rem;
    }
}

/* ===== ICONOS DEL MENÚ LATERAL ===== */

/* Estilos base para los iconos del menú */
.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

/* 1. Icono de paisaje (Incentivos a la Conservación) */
.landscape-icon {
    position: relative;
}

.icon-hills {
    width: 20px;
    height: 8px;
    background: var(--earth-brown);
    border-radius: 4px 4px 0 0;
    position: absolute;
    bottom: 2px;
    left: 2px;
}

.icon-sun {
    width: 8px;
    height: 8px;
    background: var(--sun-yellow);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
}

.icon-sun::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 3px;
    width: 2px;
    height: 2px;
    background: var(--sun-yellow);
    border-radius: 50%;
}

.icon-sun::after {
    content: '';
    position: absolute;
    top: 3px;
    left: -2px;
    width: 2px;
    height: 2px;
    background: var(--sun-yellow);
    border-radius: 50%;
}

.icon-trees {
    position: absolute;
    bottom: 6px;
    right: 2px;
}

.icon-trees::before,
.icon-trees::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 6px;
    background: var(--forest-green);
    border-radius: 2px 2px 0 0;
}

.icon-trees::before {
    left: 0;
    bottom: 0;
}

.icon-trees::after {
    right: 0;
    bottom: 0;
}

/* 2. Icono de ábaco (Actividades y Áreas) */
.abacus-icon {
    position: relative;
}

.icon-beads {
    width: 20px;
    height: 16px;
    position: relative;
}

.bead-row {
    width: 100%;
    height: 2px;
    background: var(--sage-green);
    margin: 2px 0;
    position: relative;
}

.bead-row::before,
.bead-row::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 50%;
    top: -0.5px;
}

.bead-row::before {
    left: 2px;
}

.bead-row::after {
    right: 2px;
}

/* 3. Icono de cartelera (Valoración Socioeconómica) */
.billboard-icon {
    position: relative;
}

.icon-panel {
    width: 16px;
    height: 10px;
    background: var(--ocean-blue);
    border-radius: 2px;
    position: absolute;
    top: 2px;
    left: 4px;
}

.icon-posts {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.icon-posts::before,
.icon-posts::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 6px;
    background: var(--earth-brown);
    bottom: 0;
}

.icon-posts::before {
    left: -4px;
}

.icon-posts::after {
    right: -4px;
}

.icon-decorations {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.icon-decorations::before,
.icon-decorations::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 3px solid var(--ocean-blue);
    bottom: 0;
}

.icon-decorations::before {
    left: -6px;
}

.icon-decorations::after {
    right: -6px;
}

/* 4. Icono de carpeta con lupa (Índices de Conservación) */
.folder-search-icon {
    position: relative;
}

.icon-folder {
    width: 16px;
    height: 12px;
    background: var(--sage-green);
    border-radius: 2px 2px 0 0;
    position: absolute;
    top: 4px;
    left: 2px;
}

.icon-folder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 2px;
    width: 6px;
    height: 2px;
    background: var(--sage-green);
    border-radius: 2px 0 0 2px;
}

.icon-magnifier {
    width: 8px;
    height: 8px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
}

.icon-magnifier::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 4px;
    background: var(--primary-green);
    transform: rotate(45deg);
    bottom: -2px;
    right: -2px;
}

/* 5. Icono de apertura de cámara (Contabilidad del Capital Natural) */
.aperture-icon {
    position: relative;
}

.icon-blades {
    width: 20px;
    height: 20px;
    position: relative;
}

.icon-blades .blade {
    position: absolute;
    width: 8px;
    height: 2px;
    background: var(--sage-green);
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.icon-blades .blade:nth-child(1) {
    transform: translate(-50%, -50%) rotate(0deg);
}

.icon-blades .blade:nth-child(2) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.icon-blades .blade:nth-child(3) {
    transform: translate(-50%, -50%) rotate(90deg);
}

.icon-blades .blade:nth-child(4) {
    transform: translate(-50%, -50%) rotate(135deg);
}

.icon-blades .blade:nth-child(5) {
    transform: translate(-50%, -50%) rotate(180deg);
}

/* 6. Icono de lupa con gráfico (Proyectos de Desarrollo) */
.chart-magnifier-icon {
    position: relative;
}

.chart-magnifier-icon .icon-magnifier {
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
}

.chart-magnifier-icon .icon-magnifier::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 4px;
    background: var(--accent-green);
    transform: rotate(45deg);
    bottom: -2px;
    right: -2px;
}

.chart-magnifier-icon .icon-chart {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
}

.chart-magnifier-icon .icon-chart::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 3px;
    background: var(--accent-green);
    bottom: 0;
    left: 0;
}

.chart-magnifier-icon .icon-chart::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 5px;
    background: var(--accent-green);
    bottom: 0;
    right: 0;
}

/* 7. Icono de red/estrella (Comunidad de Práctica) - ACTIVO */
.network-icon {
    position: relative;
}

.network-icon .icon-center {
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.network-icon .icon-connections {
    position: absolute;
    width: 100%;
    height: 100%;
}

.network-icon .connection {
    position: absolute;
    width: 2px;
    height: 6px;
    background: var(--primary-green);
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.network-icon .connection:nth-child(1) {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-8px);
}

.network-icon .connection:nth-child(2) {
    transform: translate(-50%, -50%) rotate(72deg) translateY(-8px);
}

.network-icon .connection:nth-child(3) {
    transform: translate(-50%, -50%) rotate(144deg) translateY(-8px);
}

.network-icon .connection:nth-child(4) {
    transform: translate(-50%, -50%) rotate(216deg) translateY(-8px);
}

.network-icon .connection:nth-child(5) {
    transform: translate(-50%, -50%) rotate(288deg) translateY(-8px);
}

/* Estilos para el menú lateral con los nuevos iconos */
.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    margin-bottom: var(--spacing-xs);
}

.sidebar-nav .nav-item:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.sidebar-nav .nav-item.active {
    background: var(--primary-green);
    color: var(--text-light);
}

.sidebar-nav .nav-item.active .nav-icon {
    filter: brightness(0) invert(1);
}

.sidebar-nav .nav-item span {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}

/* Responsive para el menú lateral */
@media (max-width: 768px) {
    .sidebar-nav .nav-item span {
        font-size: 0.8rem;
    }
    
    .nav-icon {
        width: 20px;
        height: 20px;
    }
}

/* ===== MAPA MUNDI COMO FONDO ===== */
.world-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.world-map-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.4;
    filter: brightness(0.7) contrast(1.2);
    animation: slowZoom 30s ease-in-out infinite alternate;
}

.map-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(21, 128, 61, 0.3) 0%,
        rgba(34, 197, 94, 0.2) 50%,
        rgba(16, 185, 129, 0.3) 100%
    );
    z-index: 2;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Ajustar el z-index de otros elementos para que estén sobre el mapa */
.hero-content {
    position: relative;
    z-index: 10;
}

.gradient-overlay {
    z-index: 3;
}

.floating-shapes {
    z-index: 4;
}

.scroll-indicator {
    z-index: 10;
}

/* Responsive para el mapa mundi de fondo */
@media (max-width: 768px) {
    .world-map-background {
        opacity: 0.3;
        filter: brightness(0.6) contrast(1.3);
    }
    
    .map-overlay-dark {
        background: linear-gradient(
            135deg,
            rgba(21, 128, 61, 0.4) 0%,
            rgba(34, 197, 94, 0.3) 50%,
            rgba(16, 185, 129, 0.4) 100%
        );
    }
}

/* ===== GLOBAL MAP SECTION ===== */
.global-map-section {
    padding: 120px 0;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.global-map-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.8) 50%, transparent 100%);
    z-index: 2;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.topographic-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, 
            rgba(15, 23, 42, 0.3) 0%, 
            transparent 20%, 
            transparent 80%, 
            rgba(15, 23, 42, 0.3) 100%
        ),
        linear-gradient(180deg, 
            rgba(15, 23, 42, 0.2) 0%, 
            transparent 30%, 
            rgba(15, 23, 42, 0.1) 100%
        );
    opacity: 0.8;
}

.section-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    gap: 40px;
}

.section-text {
    flex: 1;
    max-width: 600px;
}

.section-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-text h2 em {
    color: var(--primary-green);
    font-style: italic;
}

.section-text p {
    font-size: 1.2rem;
    color: #e2e8f0;
    line-height: 1.6;
    opacity: 0.9;
}

.section-cta {
    flex-shrink: 0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== WORLD MAP CONTAINER ===== */
.world-map-container {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.world-map {
    width: 100%;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estilos para el mapa de Leaflet */
#worldMap {
    background: #1e293b;
}

#worldMap .leaflet-container {
    background: #1e293b;
}

#worldMap .leaflet-control-container {
    display: none;
}

/* Marcadores de proyectos personalizados */
.project-marker {
    background: #22c55e;
    border: 2px solid #16a34a;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.project-marker::after {
    content: '↑';
    color: white;
    font-weight: bold;
}

/* Asegurar que el mapa se muestre correctamente */
.world-map {
    min-height: 600px;
}

.world-map .leaflet-pane {
    z-index: 1;
}

.world-map .leaflet-overlay-pane {
    z-index: 2;
}

.world-map .leaflet-marker-pane {
    z-index: 3;
}

.world-map .leaflet-popup-pane {
    z-index: 4;
}

/* ===== MONITOREO SECTION ===== */
.monitoreo-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.monitoreo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(34, 197, 94, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.monitoreo-section .container {
    position: relative;
    z-index: 2;
}

.monitoreo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.monitoreo-card {
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.monitoreo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transition: left 0.6s ease;
}

.monitoreo-card:hover::before {
    left: 100%;
}

.monitoreo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.monitoreo-icon {
    margin-bottom: 24px;
}

.monitoreo-icon .icon-bg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.monitoreo-card:hover .monitoreo-icon .icon-bg {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.4);
}

.monitoreo-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
    line-height: 1.3;
}

.monitoreo-card p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.9;
}

.monitoreo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.monitoreo-features .feature-tag {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.monitoreo-actions {
    margin-top: 24px;
}

.monitoreo-actions .btn-primary,
.monitoreo-actions .btn-secondary,
.monitoreo-actions .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.monitoreo-actions .btn-primary:hover,
.monitoreo-actions .btn-secondary:hover,
.monitoreo-actions .btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.monitoreo-cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.monitoreo-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
}

.monitoreo-cta p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 32px;
    opacity: 0.9;
}

.monitoreo-cta .cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.monitoreo-cta .cta-actions .btn-primary,
.monitoreo-cta .cta-actions .btn-secondary {
    min-width: 200px;
}

/* Responsive para monitoreo */
@media (max-width: 768px) {
    .monitoreo-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .monitoreo-card {
        padding: 32px 24px;
    }
    
    .monitoreo-cta {
        padding: 40px 24px;
    }
    
    .monitoreo-cta .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .monitoreo-cta .cta-actions .btn-primary,
    .monitoreo-cta .cta-actions .btn-secondary {
        min-width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .monitoreo-section {
        padding: 80px 0;
    }
    
    .monitoreo-card {
        padding: 24px 20px;
    }
    
    .monitoreo-icon .icon-bg {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .monitoreo-card h3 {
        font-size: 1.3rem;
    }
}

/* Navegación de usuario autenticado */
.user-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-navigation {
    display: block;
}

.user-navigation .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-navigation .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.user-navigation .admin-link {
    background: linear-gradient(135deg, #00203F, #4a7c59) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
}

.user-navigation .admin-link:hover {
    background: linear-gradient(135deg, #001a33, #3d6b4a) !important;
    transform: translateY(-2px);
}

/* Responsive para navegación de usuario */
@media (max-width: 768px) {
    .user-navigation {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .user-navigation .nav-link {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    
    .guest-navigation {
        width: 100%;
        text-align: center;
    }
}

/* Estilos para secciones del dashboard */
.dashboard-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.dashboard-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-section .section-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 400px;
}

/* Responsive para secciones del dashboard */
@media (max-width: 768px) {
    .dashboard-section .section-header h1 {
        font-size: 2.5rem !important;
    }
    
    .dashboard-section .section-content {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .stats-container {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .stat-card {
        padding: 1.5rem !important;
    }
    
    .stat-card h3 {
        font-size: 2rem !important;
    }
}