:root {
    --c-green: #72BC68;
    --c-purple: #570260;
    --bg-cream: #F1EFE0;
    --bg-white: #FFFFFF;
    --bg-gray: #F4F4F4;
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(87, 2, 96, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: var(--c-purple); border-radius: 5px; }

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: var(--bg-cream);
    box-shadow: var(--shadow-light);
    padding: 15px 5%;
}

.logo img {
    height: 45px;
    position: relative;
    z-index: 2;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
    z-index: 2;
}

nav a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

header.scrolled nav a, header.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--c-purple);
    transition: var(--transition);
}

nav a:hover::after { width: 100%; }

.lang-dropdown-wrapper {
    position: relative;
    user-select: none;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

header.scrolled .lang-toggle {
    background: var(--c-green);
    border-color: var(--c-green);
    color: var(--bg-white);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: var(--bg-white);
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.lang-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-option {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.2s;
}

.lang-option:hover { background: #f0f0f0; }
.lang-option.active { background: var(--c-purple); color: var(--bg-white); }

.mobile-menu-btn {
    display: none;
    color: var(--bg-white);
    cursor: pointer;
    z-index: 101;
}

.hero {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--c-green);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

#bg-w-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.w-path {
    stroke-dasharray: 5000;
    stroke-dashoffset: 5000;
    animation: drawW 3.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes drawW { to { stroke-dashoffset: 0; } }

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--bg-white);
    font-weight: 900;
}

section {
    padding: 80px 5%;
    position: relative;
}

.case-container {
    max-width: 1200px;
    margin: 0 auto;
}

.green-line {
    width: 60px;
    height: 4px;
    background-color: var(--c-green);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--text-dark);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.case-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 900px;
}

.results-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--c-purple);
    font-weight: 900;
    margin: 50px 0 25px 0;
}

.results-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.results-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.results-list svg {
    stroke: var(--c-green);
    min-width: 28px;
    height: 28px;
}

.case-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 80px;
}

.gallery-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.gallery-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-right img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

footer {
    background: var(--c-purple);
    color: var(--bg-cream);
    padding: 80px 5% 40px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.social-links {
    display: flex; gap: 15px;
}

.social-links a {
    width: 45px; height: 45px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--bg-white); transition: var(--transition);
}

.social-links a:hover {
    background: var(--c-green); transform: translateY(-5px);
}

.footer-bottom {
    display: flex; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px; font-size: 0.9rem;
}

.footer-bottom a { color: var(--bg-cream); text-decoration: none; transition: var(--transition); }
.footer-bottom a:hover { color: var(--c-green); }

.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background: #25D366; color: white; border-radius: 50px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000; animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.reveal {
    opacity: 0; transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .case-gallery {
        grid-template-columns: 1fr;
    }
    .gallery-right {
        flex-direction: row;
    }
    .gallery-right img {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    nav {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: var(--bg-cream); flex-direction: column; justify-content: center; transition: 0.5s;
    }
    nav a { color: var(--text-dark); font-size: 1.2rem; }
    nav.active { right: 0; }
    header.scrolled .mobile-menu-btn { color: var(--text-dark); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
    .gallery-right { flex-direction: column; }
    .gallery-right img { width: 100%; max-height: none; }
}