/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/*==================== VARIABLES CSS ====================*/
:root {
    --header-height: 4rem;

    /*========== Colors ==========*/
    --primary-color: #0EA5E9; /* Cyan / Light Blue */
    --primary-dark: #0F172A; /* Navy */
    --title-color: #0F172A;
    --text-color: #475569;
    --text-color-light: #94A3B8;
    --body-color: #FFFFFF;
    --container-color: #F8FAFC;
    --border-color: rgba(15, 23, 42, 0.08);
    --white-color: #FFFFFF;

    /*========== Font and typography ==========*/
    --body-font: 'Inter', sans-serif;
    --title-font: 'Playfair Display', serif;
    
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 3.5rem;
        --h1-font-size: 2.5rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button, input, textarea, select {
    border: none;
    outline: none;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

/*==================== REUSABLE CSS CLASSES ====================*/
.container {
    max-width: 1124px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding: 6rem 0 2rem;
}

.section__title {
    font-size: var(--h1-font-size);
    text-align: center;
    margin-bottom: 3rem;
}

.main {
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*==================== BUTTONS ====================*/
.button {
    display: inline-block;
    background-color: var(--primary-dark);
    color: var(--white-color);
    padding: 1.1rem 2.2rem;
    border-radius: .5rem;
    font-weight: var(--font-semi-bold);
    transition: .3s;
}

.button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.button--ghost {
    background-color: transparent;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
}

.button--ghost:hover {
    background-color: rgba(15, 23, 42, 0.05);
}

/*==================== HEADER ====================*/
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: .4s;
    border-bottom: 1px solid var(--border-color);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    column-gap: .75rem;
    color: var(--title-color);
    font-weight: var(--font-bold);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.nav__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-accent {
    color: var(--primary-color);
}

.nav__btns {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.nav__toggle, .nav__close {
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

.btn-wa {
    background-color: var(--primary-dark);
    color: var(--white-color);
    padding: .6rem 1.2rem;
    border-radius: .4rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    display: flex;
    align-items: center;
    column-gap: .5rem;
    transition: .3s;
}

.btn-wa:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

@media screen and (max-width: 767px) {
    /* Side Drawer Premium */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100dvh;
        background-color: var(--white-color);
        z-index: var(--z-fixed);
        display: flex;
        flex-direction: column;
        transition: right .4s cubic-bezier(.4, 0, .2, 1);
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
        overflow: hidden;
    }

    .show-menu {
        right: 0 !important;
    }

    /* Menu Header */
    .nav__menu-header {
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav__menu-header .nav__logo {
        font-size: 1rem;
    }

    /* Menu Content */
    .nav__menu-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        overflow-y: auto;
    }

    .nav__list {
        display: flex;
        flex-direction: column;
        row-gap: .85rem;
        margin-bottom: 2.5rem;
    }

    .nav__list li {
        opacity: 0;
        transform: translateX(15px);
        transition: .35s cubic-bezier(.4, 0, .2, 1);
    }

    .show-menu .nav__list li {
        opacity: 1;
        transform: none;
    }

    /* Staggered delay */
    .show-menu .nav__list li:nth-child(1) { transition-delay: .1s; }
    .show-menu .nav__list li:nth-child(2) { transition-delay: .16s; }
    .show-menu .nav__list li:nth-child(3) { transition-delay: .22s; }
    .show-menu .nav__list li:nth-child(4) { transition-delay: .28s; }
    .show-menu .nav__list li:nth-child(5) { transition-delay: .34s; }

    .nav__link {
        display: flex;
        align-items: center;
        column-gap: 1.5rem;
        padding: 1.15rem 1rem;
        border-radius: 1rem;
        transition: all .3s ease;
        color: var(--title-color);
        border: 1px solid transparent;
    }

    .nav__link i {
        font-size: 1.6rem;
        color: var(--primary-color);
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0.04) 100%);
        width: 3.25rem;
        height: 3.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 1rem;
        transition: transform .3s ease, background .3s ease, color .3s ease;
        flex-shrink: 0;
    }

    .nav__link span {
        display: flex;
        flex-direction: column;
    }

    .nav__link strong {
        font-size: 1.15rem;
        font-weight: 700;
        line-height: 1.2;
        color: var(--title-color);
    }

    .nav__link small {
        font-size: .85rem;
        color: var(--text-color-light);
        margin-top: .25rem;
        font-weight: 400;
    }

    .nav__link:hover, .nav__link:active {
        background: rgba(14, 165, 233, 0.06);
        transform: translateX(8px);
        border-color: rgba(14, 165, 233, 0.1);
    }

    .nav__link:hover i {
        background: var(--primary-color);
        color: var(--white-color);
        transform: scale(1.05) rotate(-5deg);
    }

    /* Footer */
    .nav__menu-footer {
        margin-top: auto;
        padding: 2rem 1.5rem;
        background: linear-gradient(to bottom, var(--container-color), var(--white-color));
        border-radius: 1.5rem;
        border: 1px solid var(--border-color);
        text-align: center;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    }

    .nav__menu-footer-text {
        font-size: .95rem;
        margin-bottom: 1.25rem;
        font-weight: 500;
        color: var(--text-color);
    }

    .btn-wa--full {
        width: 100%;
        justify-content: center;
        padding: 1.25rem;
        border-radius: 1rem;
        font-size: 1.05rem;
        background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
        box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2);
    }

    /* Close */
    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: var(--container-color);
        border: 1px solid var(--border-color);
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        color: var(--title-color);
        cursor: pointer;
        transition: transform .3s;
    }

    .nav__close:hover {
        transform: rotate(90deg);
        background: var(--border-color);
    }

    /* Overlay refinement */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.4);
        z-index: calc(var(--z-fixed) - 1);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .4s ease;
    }

    .nav-overlay.show-overlay {
        opacity: 1;
        pointer-events: all;
    }

    .nav__btns span { display: none; }

    /* --- Spacing fixes for Mobile --- */
    .section {
        padding: 4.5rem 0 2rem;
    }

    .hero__container {
        padding-top: 1rem;
        row-gap: 2rem;
    }

    .hero__buttons {
        margin-bottom: 2rem;
    }

    .prisma-effect {
        width: 180px;
        height: 180px;
        filter: blur(40px);
    }
}

/* Hide floating WhatsApp when menu is open */
body.menu-open .floating-wa {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8) translateY(20px);
}

/* No changes here, just removing the misplaced global styles below */

/*==================== HERO ====================*/
.hero__container {
    padding-top: 3rem;
    row-gap: 3rem;
}

.hero__title {
    font-size: var(--biggest-font-size);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero__description {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    margin-bottom: 3rem;
}

.hero__trust-band {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    padding: 1.25rem;
    background-color: var(--container-color);
    border-left: 4px solid var(--primary-color);
    border-radius: .5rem;
    font-size: var(--small-font-size);
}

.hero__trust-band i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.prisma-effect {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent);
    filter: blur(50px);
    border-radius: 50%;
    margin: 0 auto;
    animation: float 6s infinite ease-in-out;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/*==================== PROBLEM ====================*/
.problem__data {
    text-align: center;
    margin-bottom: 4rem;
}

.problem__description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.problem__conclusion {
    text-align: center;
    margin-top: 4rem;
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    font-size: 1.2rem;
}

/*==================== CARDS ====================*/
.card {
    background-color: var(--container-color);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: .4s;
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.card__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card__title {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
}

/*==================== METHODOLOGY ====================*/
.methodology__subtitle {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color-light);
}

.methodology__grid {
    gap: 2.5rem;
}

.method-step {
    display: flex;
    column-gap: 2rem;
    align-items: flex-start;
}

.method-step__number {
    font-size: 3rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
    opacity: 0.15;
    line-height: .8;
}

/*==================== TRUST ====================*/
.trust__grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    text-align: center;
}

.trust__item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/*==================== FAQ ====================*/
.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background-color: var(--container-color);
    padding: 1.25rem 1.5rem;
    border-radius: .75rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.faq__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq__question {
    font-size: 1rem;
}

.faq__icon {
    font-size: 1.25rem;
    transition: .3s;
}

.faq__content {
    height: 0;
    overflow: hidden;
    transition: .3s;
}

.faq-open .faq__content {
    height: auto;
    padding-top: 1.25rem;
}

.faq-open .faq__icon {
    transform: rotate(45deg);
}

/*==================== CONTACT ====================*/
.contact__container {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
}

.contact__data {
    text-align: center;
}

.contact__calendly {
    width: 100%;
    background-color: var(--white-color);
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

@media screen and (min-width: 768px) {
    .contact__container {
        grid-template-columns: 2fr 1fr;
        column-gap: 4rem;
        align-items: flex-start;
    }
    .contact__data {
        text-align: left;
    }
}

.contact__actions {
    margin: 2rem 0;
}

.btn-wa--large {
    padding: 1.25rem 2rem;
    font-size: 1rem;
    border-radius: .75rem;
    display: inline-flex;
    justify-content: center;
}

.btn-wa--large i {
    font-size: 1.5rem;
}

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

.contact__content {
    margin-bottom: 1.5rem;
}

.contact__label {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: .5rem;
    font-weight: var(--font-medium);
}

.contact__input {
    width: 100%;
    background-color: var(--container-color);
    padding: 1rem 1.25rem;
    border-radius: .5rem;
    border: 1px solid var(--border-color);
    transition: .3s;
}

.contact__input:focus {
    border-color: var(--primary-color);
    background-color: var(--white-color);
}

/*==================== FOOTER ====================*/
.footer__container {
    grid-template-columns: 1fr;
    row-gap: 3rem;
}

.footer__title {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer__links {
    display: flex;
    flex-direction: column;
    row-gap: .75rem;
}

.footer__link {
    color: var(--text-color);
    transition: .3s;
}

.footer__link:hover {
    color: var(--primary-color);
}

.footer__copy {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: var(--smaller-font-size);
}

/*==================== REVEAL ====================*/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/*==================== BREAKPOINTS ====================*/
@media screen and (min-width: 768px) {
    .nav__menu {
        width: initial;
    }
    .nav__list {
        display: flex;
        flex-direction: row;
        column-gap: 2.5rem;
    }
    .nav__link {
        color: var(--title-color);
        font-weight: var(--font-medium);
        transition: .3s;
    }
    .nav__link:hover {
        color: var(--primary-color);
    }
    .nav__toggle, .nav__close {
        display: none;
    }

    .hero__container {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }
    .hero__buttons {
        flex-direction: row;
        column-gap: 1.5rem;
    }

    .problem__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .methodology__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__container {
        grid-template-columns: 2fr 1fr;
        column-gap: 4rem;
    }
    .contact__inputs {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 968px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
    .areas__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*==================== FLOATING WHATSAPP WIDGET ====================*/
.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    background-color: #25D366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fixed);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: wa-bounce 3s infinite ease-in-out;
}

.floating-wa:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    background-color: #20b858;
    animation-play-state: paused;
}

.floating-wa__icon {
    width: 44px;
    height: 44px;
    background-color: #fff;
    color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.floating-wa__icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: wa-pulse-ring 2s infinite ease-out;
    z-index: 1;
}

.floating-wa__text {
    margin: 0 1.2rem 0 0.8rem;
    display: flex;
    flex-direction: column;
}

.floating-wa__text span {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.2;
}

.floating-wa__text strong {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Animations */
@keyframes wa-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes wa-pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Mobile First Adjustments */
@media screen and (max-width: 480px) {
    .floating-wa {
        bottom: 1.5rem;
        right: 1rem;
        padding: 0.4rem;
        animation: wa-bounce-mobile 3s infinite ease-in-out;
    }
    .floating-wa__icon {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .floating-wa__text {
        margin: 0 0.8rem 0 0.6rem;
    }
    .floating-wa__text span {
        font-size: 0.7rem;
    }
    .floating-wa__text strong {
        font-size: 0.85rem;
    }
}

@keyframes wa-bounce-mobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
