/* Globals & Tokens */
:root {
    /* Pastel Palette */
    --color-lilac: #EADAFF;
    --color-lilac-dark: #6750A4;
    --color-green: #D7F0DB;
    --color-green-dark: #2E6B34;
    --color-blue: #D6E8F6;
    --color-blue-dark: #2B5C82;

    /* Neutrals */
    --color-neutral-100: #FAFAFC;
    --color-neutral-800: #2C2C35;
    --color-neutral-500: #6B6B76;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Animations & Others */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--color-neutral-800);
    background-color: var(--color-neutral-100);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-neutral-800);
    margin-bottom: 0.5em;
    line-height: 1.25;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { font-size: 1.15rem; margin-bottom: 1rem; color: var(--color-neutral-500); }

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.pt-4 { padding-top: 3rem; }
.large-text { font-size: 1.4rem; color: var(--color-neutral-800); }
.text-subtle { font-style: italic; font-size: 1.2rem; color: var(--color-lilac-dark); }
.lilac-text { color: var(--color-lilac-dark); }
.rounded-image { max-width: 100%; border-radius: 24px; object-fit: cover; }
.shadow-lg { box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.mentorship-image { width: 100%; margin: 3rem 0; overflow: hidden; }
.mentorship-image img { width: 100%; height: 450px; max-width: none; border: 6px solid rgba(255,255,255,0.7); object-fit: cover; object-position: center 70%; }

/* Buttons */
a { text-decoration: none; color: inherit; }
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-lilac-dark);
    color: #fff;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(103, 80, 164, 0.3);
}
.btn-primary:hover {
    background-color: #554089;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(103, 80, 164, 0.4);
}
.btn-outline {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border: 2px solid var(--color-lilac-dark);
    color: var(--color-lilac-dark);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.btn-outline:hover {
    background-color: var(--color-lilac-dark);
    color: #fff;
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.glass-hover {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}
.glass-hover:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(255, 255, 255, 1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5vw;
    background: rgba(250, 250, 252, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
}
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--color-lilac-dark);
}
.navbar nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.navbar a:not(.btn-outline) {
    font-weight: 500;
    color: var(--color-neutral-800);
    transition: var(--transition-smooth);
}
.navbar a:not(.btn-outline):hover {
    color: var(--color-lilac-dark);
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1010;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-neutral-800);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(circle at top left, var(--color-lilac) 0%, transparent 45%),
                radial-gradient(circle at bottom right, var(--color-blue) 0%, transparent 40%);
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}
.hero-image img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    height: 600px;
    object-position: center 70%;
}
.hero-content {
    text-align: left;
}
@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-content { text-align: center; }
    .hero-image { order: -1; }
    .hero-image img { height: 400px; }
}
.badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: white;
    color: var(--color-lilac-dark);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: var(--color-neutral-800);
}

/* About Section */
.about {
    padding: 8rem 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}
.valores-list {
    list-style: none;
    margin-top: 2.5rem;
}
.valores-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--color-neutral-800);
}
.about-image-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle at center, var(--color-green) 0%, transparent 75%);
}
.profile-photo {
    width: 100%;
    max-width: 380px;
    border-radius: 200px 200px 24px 24px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    margin-bottom: -40px;
    z-index: 2;
    position: relative;
    border: 6px solid #fff;
    aspect-ratio: 3/4;
}
.float-card {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Services */
.bg-pastel-blue {
    background-color: var(--color-blue);
    background: linear-gradient(135deg, rgba(214,232,246,0.35) 0%, rgba(250,250,252,1) 100%);
}
.services {
    padding: 8rem 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.service-icon.lilac { background: var(--color-lilac); color: var(--color-lilac-dark); }
.service-icon.green { background: var(--color-green); color: var(--color-green-dark); }
.service-icon.blue { background: var(--color-blue); color: var(--color-blue-dark); }

/* Diferencial */
.bg-pastel-green {
    background-color: var(--color-green);
    background: linear-gradient(135deg, rgba(215,240,219,0.35) 0%, rgba(250,250,252,1) 100%);
}
.diferencial {
    padding: 8rem 0;
}
.diferencial-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact */
.contact {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, var(--color-lilac) 0%, transparent 65%);
    z-index: -1;
    opacity: 0.5;
}
.contact-card {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: #fff;
}
footer p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--color-neutral-500);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .navbar { padding: 1.2rem; }
    
    .hamburger {
        display: block;
    }

    /* Mobile Nav */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background: rgba(250, 250, 252, 0.95);
        backdrop-filter: blur(12px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 100px;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        margin: 16px 0;
        font-size: 1.5rem;
        display: block;
    }
    
    /* Hamburger Animation to X */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero { padding-top: 7rem; min-height: 80vh; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
}
