:root {
    /* Brand Colors (Refined) */
    --primary-color: #6b9dc4;
    --primary-dark: #507ea0;
    --primary-light: #daeaf5;
    --secondary-color: #2c3e50;
    /* Deep Blue for text */
    --accent-color: #e67e22;
    /* Warm accent if needed, kept subtle */

    /* Backgrounds */
    --bg-body: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-gradient: radial-gradient(circle at top left, #f6e9d9 0%, #fff 40%);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing System (8pt grid) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 80px;
    --space-3xl: 120px;

    /* Shadows & Glass */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --blur: blur(12px);

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    font-size: 16px;
    /* Base size */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    /* Soft mesh background implementation */
    background-image:
        radial-gradient(at 0% 0%, rgba(107, 157, 196, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(246, 233, 217, 0.4) 0px, transparent 50%);
    background-attachment: fixed;
}

/* --- TYPOGRAPHY (Fluid) --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    /* Massive responsive heading */
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: var(--space-md);
}

h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

p {
    color: #5d6d7e;
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
    /* 18px */
}

.text-sm {
    font-size: 0.95rem;
    color: #8899a6;
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-3xl) 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-2xl);
    align-items: center;
}

/* --- COMPONENTS --- */

/* Header (Glass) */
header {
    background: rgba(255, 255, 255, 0.85);
    /* Cleaner white glass */
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    /* Wider header */
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.logo img {
    height: 48px;
    /* Refined size */
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons (Premium) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--secondary-color);
    /* Dark sophisticated blue */
    color: white;
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(44, 62, 80, 0.35);
    background: #1a252f;
}

.btn-secondary {
    background: white;
    color: var(--secondary-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle border */
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    /* Almost full screen */
    display: flex;
    align-items: center;
    padding-top: 140px;
    /* Offset fixed header + visible text space */
}

.hero-text h2 {
    color: var(--primary-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    border-radius: 50%;
    /* Perfect circle */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 80%;
    /* Slightly smaller to fit better */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hero-visual img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.35);
}

.hero-text {
    animation: fadeInUp 1s ease-out;
    /* Entrance animation for text */
}

/* Background Decoration (Blobs) */
.blob-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 157, 196, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-slow 8s infinite alternate;
}

@keyframes pulse-slow {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}


/* Mission (Clean Text) */
.mission-box {
    background: white;
    border-radius: 24px;
    padding: var(--space-2xl);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.mission-highlight {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: var(--space-md);
    line-height: 1.5;
}


/* Services (Cards 2.0) */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 20px;
    padding: var(--space-xl);
    transition: all 0.4s var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(107, 157, 196, 0.3);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin-top: auto;
    /* Push to bottom */
}

.service-card li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.service-card li::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}


/* Diferencial (Feature Row) */
.diferencial-row {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.feature-pill {
    background: white;
    border-radius: 100px;
    /* Capsule shape */
    padding: 12px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--secondary-color);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.feature-pill:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.feature-pill i {
    color: var(--primary-color);
}


/* Footer */
footer {
    background: white;
    padding: var(--space-2xl) 0 var(--space-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Diferencial Interaction */
.feature-pill {
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle border */
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 500;
    color: var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-pill:hover {
    background: #f8f9fa;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.feature-pill.active {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

.diferencial-desc {
    margin-top: 30px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border-left: 4px solid var(--secondary-color);
    text-align: left;
    min-height: 100px;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.4s forwards;
}

.diferencial-desc p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Animations (Generic) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Mobile */
.hamburger {
    display: none;
}

.mobile-menu {
    display: none;
}

@media (max-width: 900px) {
    h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified for brevity, would use JS drawer */
    .hamburger {
        display: block;
        font-size: 1.5rem;
        border: none;
        background: none;
        cursor: pointer;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .mission-box {
        padding: var(--space-lg);
    }

    /* Mobile Menu Logic reuse from previous would go here styled */
    .mobile-menu {
        position: fixed;
        background: white;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .mobile-menu.open {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- FAQ / ACCORDION STYLES --- */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(107, 157, 196, 0.3);
}

.accordion-header {
    width: 100%;
    background: white;
    border: none;
    padding: 24px 32px;
    text-align: left;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.accordion-header i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

/* Active State */
.accordion-header.active {
    background-color: #fcfcfc;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-header.active h3 {
    color: var(--primary-dark);
}

.accordion-body {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: white;
}

.accordion-header.active+.accordion-body {
    padding-bottom: 24px;
}