:root {
    /* Corporate Dark Theme */
    --color-bg: #050505;
    --color-bg-alt: #121212;
    /* Dark grey for sections */
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;

    --color-primary: #B08D57;
    /* New Gold Tone */
    --color-secondary: #D4AF37;
    /* Slightly lighter gold for gradients */
    --color-accent: #ffffff;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --glass-bg: rgba(20, 20, 20, 0.95);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 10px;

    --transition-smooth: all 0.4s ease-in-out;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
    scroll-margin-top: 110px;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.center {
    text-align: center;
}

/* Gradients/Text Colors */
.text-gradient {
    color: var(--color-primary);
}

.text-gradient-accent {
    color: var(--color-secondary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.nav-link:hover {
    color: var(--color-secondary);
}

.btn-glow {
    /* Replaced with standard Corporate Button */
    padding: 0.6rem 1.5rem;
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    /* Squarer buttons for corporate look */
    color: #fff;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.btn-glow:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-soft);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    overflow: hidden;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    /* Lighter overlay for dark theme */
    opacity: 0.7;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay: Dark fade */
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.6));
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
    position: relative;
}

.hero-title {
    color: var(--color-primary);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 2.5rem;
    color: var(--color-text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    /* Standard corporate radius */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

/* Typing Cursor */
.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--color-primary);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.glass-card {
    /* Solid dark cards */
    background: #121212;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align text to bottom */
    min-height: 300px;
    /* Ensure height for image visibility */
    position: relative;
    z-index: 1;
    background-color: #000;
    /* Ensure background is dark */
    flex: 1 1 300px;
    max-width: 380px;
}

/* Background Image Layer (Dimmed) */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    /* 50% opacity as requested */
    z-index: -2;
    transition: var(--transition-smooth);
}

/* Gradient Overlay Layer */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.7;
    /* Brighten on hover */
    transform: scale(1.05);
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 2;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.service-card p {
    color: #e0e0e0;
    /* Lighter text for overlay credentials */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Removed .service-icon-img and .service-icon styles */

/* Team Section */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.team-card {
    text-align: center;
    padding: 0;
    border: none;
    box-shadow: none;
    box-shadow: none;
    background: transparent;
    flex: 1 1 300px;
    max-width: 350px;
}

.team-card:hover {
    transform: none;
    /* No lift on team cards, maybe just image zoom if implemented */
    box-shadow: none;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background-color: #222;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.photo-placeholder::after {
    content: '👤';
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    color: #fff;
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-visual {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 800;
    color: #f0f0f0;
    background: var(--color-primary);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.about-visual::after {
    display: none;
    /* Remove neon blob */
}

.visual-placeholder {
    z-index: 2;
    color: rgba(255, 255, 255, 0.2);
}

/* Contact */
.contact-wrapper {
    max-width: 800px;
    /* Increased width for better spacing */
    margin: 4rem auto 0;
    padding: 3rem;
    background: #121212;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #333;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group:nth-child(3) {
    /* Message textarea spans full width */
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    background: #1e1e1e;
    border: 1px solid #444;
    color: var(--color-text-main);
    padding: 1rem;
    border-radius: 4px;
    width: 100%;
}

.contact-form button {
    grid-column: span 2;
    justify-self: center;
    /* Centers the button */
    min-width: 200px;
    margin-top: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: #252525;
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.25);

}

/* Footer */
/* Footer */
/* Footer */
.footer {
    padding: 6rem 0 3rem;
    background: #f9f9f9;
    /* Light background based on reference (or keep dark if preferred, user said "follow model" which is white/light, but site is dark mode. I will stick to site theme (Dark) but use the layout). Wait, user said "improve design", referencing the MODEL. The model is WHITE. But the site is DARK. I will use DARK theme but with the LAYOUT of the model. */
    background: #050505;
    color: #b0b0b0;
    border-top: 1px solid #222;
}

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

/* Left Column Styles */
.footer-tagline {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: #000;
    border-radius: 50%;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    background: #fff;
}

.footer-block {
    margin-bottom: 2rem;
}

.footer-block h4 {
    font-size: 0.9rem;
    color: #666;
    /* Muted header color like reference */
    color: var(--color-primary);
    /* Actually stick to gold for visibility on dark */
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.footer-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 0.2rem;
}

.copyright-text {
    margin-top: 3rem;
    font-size: 0.85rem;
    color: #666;
}

/* Right Column Styles */
.company-name {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
}


@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-links,
    .footer-contact p {
        align-items: center;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animation States */
.hidden-initial {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

@keyframes pulse-green {
    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);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .nav {
        position: fixed;
        top: 86px;
        right: -100%;
        width: 78%;
        height: calc(100vh - 86px);
        padding: 2rem 1.5rem;
        transition: right 0.3s ease;
        z-index: 999;
        background: #050505;
        border-left: 1px solid #333;
    }

    .nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.2rem;
        align-items: flex-start;
    }

    .nav-link {
        color: var(--color-text-main);
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }

    .mobile-toggle span {
        height: 2px;
        width: 26px;
        border-radius: 2px;
        display: block;
        background: var(--color-primary);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form button {
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }
}


.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Image Zoom Adjustment */
.team-img-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* transform: scale(1.2) - moved to IDs */
    display: block;
}

#team-alessandra {
    transform: scale(1.2) translate(-6px, 4px);
}

#team-ataualpa {
    transform: scale(1.2) translate(2px, 12px);
}

#team-joyce {
    transform: scale(1.1) translate(0px, 5px);
}

#team-erica {
    transform: scale(1.2) translate(-2px, 5px);
}

#team-flavia {
    transform: scale(1.24) translate(-3px, 8px);
}