:root {
            --primary-green: #2d5a3d;
            --secondary-green: #4a7c59;
            --accent-orange: #ff6b35;
            --light-green: #7fb069;
            --cream: #faf9f6;
            --dark-gray: #2c2c2c;
            --light-gray: #f8f9fa;
            --white: #ffffff;
            --shadow: rgba(0, 0, 0, 0.1);
            --shadow-dark: rgba(0, 0, 0, 0.2);
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
            background-color: var(--cream);
            overflow-x: hidden;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

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

        ::-webkit-scrollbar-thumb {
            background: var(--secondary-green);
            border-radius: 4px;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(45, 90, 61, 0.1);
        }

        .header.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 20px var(--shadow);
        }

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

        .logo {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-green);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo::before {
            content: '🌱';
            font-size: 1.5rem;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-menu a {
            color: var(--dark-gray);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            transition: all 0.3s ease;
            padding: 0.5rem 0;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-orange);
            transition: width 0.3s ease;
        }

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

        .nav-menu a:hover {
            color: var(--primary-green);
        }

        .cta-nav {
            background: var(--accent-orange);
            color: white !important;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .cta-nav:hover {
            background: #e55a2b;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
        }

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

        .chile-flag-btn {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 30px;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .chile-flag-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .nav-actions {
            display: flex;
            align-items: center;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            background: linear-gradient(135deg, 
                rgba(45, 90, 61, 0.9), 
                rgba(74, 124, 89, 0.8), 
                rgba(127, 176, 105, 0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%234a7c59" width="1200" height="800"/></svg>');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
            padding-top: 80px;
        }

        .hero-content {
            max-width: 900px;
            padding: 4rem 2rem;
            position: relative;
            z-index: 2;
            margin-top: -60px;
        }

        .hero-content h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            margin-bottom: 2rem;
            opacity: 0.95;
            font-weight: 300;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        .btn-primary {
            background: var(--accent-orange);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
        }

        .btn-primary:hover {
            background: #e55a2b;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            padding: 1rem 2rem;
            border: 2px solid white;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background: white;
            color: var(--primary-green);
            transform: translateY(-3px);
        }

        /* Services Section */
        .services {
            padding: 6rem 2rem;
            background: var(--white);
            position: relative;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            color: var(--primary-green);
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: #666;
            max-width: 600px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .service-card {
            background: var(--white);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px var(--shadow);
            transition: all 0.3s ease;
            border: 1px solid rgba(45, 90, 61, 0.1);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px var(--shadow-dark);
        }

        .service-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--light-green), var(--secondary-green));
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .service-card h3 {
            font-size: 1.5rem;
            color: var(--primary-green);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .service-card p {
            color: #666;
            line-height: 1.7;
        }

        /* Advisor Section */
        .advisor-section {
            background: linear-gradient(135deg, var(--light-gray), var(--cream));
            padding: 6rem 2rem;
        }

        .advisor-container {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 4rem;
            align-items: center;
        }

        .advisor-image {
            position: relative;
        }

        .advisor-photo {
            width: 300px;
            height: 400px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(45, 90, 61, 0.2);
            position: relative;
        }

        .advisor-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .advisor-photo:hover img {
            transform: scale(1.05);
        }

        .advisor-content h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .advisor-roles {
            display: flex;
            flex-direction: column;
            gap: 2px; /* espacio muy reducido */
            margin: 0 0 10px;
        }

        .advisor-main-title {
            font-size: 1.3rem;
            color: var(--accent-orange);
            margin: 0;
            font-weight: 500;
            line-height: 1.1;
        }

        .advisor-secondary-title {
            font-size: 1rem;
            color: #555;
            margin: 0;
            font-weight: 500;
            line-height: 1.1;
        }

        .advisor-description {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 2rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            transform: translateX(10px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--secondary-green), var(--light-green));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.1rem;
        }

        .contact-text {
            flex: 1;
        }

        .contact-text a {
            color: var(--primary-green);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .contact-text a:hover {
            color: var(--accent-orange);
        }

        /* Chile Director Section */
        .chile-director-section {
            background: linear-gradient(135deg, var(--cream), var(--light-gray));
            padding: 6rem 2rem;
            border-top: 3px solid var(--accent-orange);
        }

        .chile-header {
            text-align: left;
            margin-bottom: 2rem;
        }

        .chile-tagline {
            font-size: 1.1rem;
            color: #666;
            margin: 0 0 4px;
            font-weight: 300;
        }

        .chile-name {
            font-size: clamp(2.5rem, 5vw, 3rem);
            font-weight: 800;
            color: var(--primary-green);
            margin: 0.25rem 0 0.25rem;
            line-height: 1.1;
        }

        .chile-role {
            font-size: 1.75rem;
            color: var(--accent-orange);
            margin: 0;
            font-weight: 600;
            line-height: 1.1;
        }

        /* About Section */
        .about {
            padding: 6rem 2rem;
            background: var(--white);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 2rem;
            font-weight: 700;
        }

        .about-text p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 1.5rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1.5rem;
            background: var(--light-gray);
            border-radius: 15px;
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            background: var(--cream);
            transform: translateY(-5px);
        }

        .feature-icon {
            width: 30px;
            height: 30px;
            background: var(--light-green);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
            flex-shrink: 0;
            margin-top: 0.2rem;
        }

        .feature-text {
            color: var(--dark-gray);
            font-weight: 500;
        }

        .about-visual {
            position: relative;
        }

        .about-card {
            background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
            color: white;
            padding: 3rem;
            border-radius: 25px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .about-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
            transform: rotate(45deg);
        }

        .about-card h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
            position: relative;
            z-index: 2;
        }

        .about-card p {
            font-size: 1.1rem;
            opacity: 0.9;
            position: relative;
            z-index: 2;
        }

        /* Footer */
        .footer {
            background: var(--primary-green);
            color: white;
            padding: 3rem 2rem 2rem;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer p {
            margin-bottom: 0.5rem;
            opacity: 0.9;
        }

        .footer-tagline {
            font-size: 1.1rem;
            font-weight: 500;
            color: var(--accent-orange);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .advisor-container {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .nav-actions {
                gap: 0.5rem;
            }

            .chile-flag-btn {
                width: 35px;
                height: 25px;
                margin-left: 0.5rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .advisor-photo {
                width: 250px;
                height: 320px;
                margin: 0 auto;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

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

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

/* Utility when only mission exists: single column and centering */
.about-content.single-column {
    grid-template-columns: 1fr;
    justify-content: center;
}
