/* =========================================
   1. VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    /* Colors */
    --clr-primary: #F15D4F;
    --clr-secondary: #01B9C1;
    --clr-dark: #242424;
    --clr-light-bg: #F6F7F8;
    --clr-gray-alt: #F5F5F5;
    --clr-white: #FFFFFF;
    --clr-text-muted: rgba(0, 0, 0, 0.7);
    --clr-text-light: #D3D3D3;

    /* Gradients */
    --grad-primary: linear-gradient(90deg, #C22900 0%, #FF5528 100%);
    --grad-glass: linear-gradient(133deg, rgba(172, 252, 255, 0.48) 0%, rgba(187, 223, 224, 0.36) 100%);

    /* Layout & Spacing */
    --container-max: 1248px;
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-sm: 6px;

    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-float: 0px 20px 40px rgba(0, 0, 0, 0.12);
}
/* ==========================================================================
   INTER VARIABLE (Weight 100-900 + Optical Sizing)
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter/Inter-VariableFont_opsz,wght.woff2') format('woff2-variations'),
    url('../fonts/inter/Inter-VariableFont_opsz,wght.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/montserrat/Montserrat-VariableFont_wght.woff2') format('woff2-variations'),
    url('../fonts/montserrat/Montserrat-VariableFont_wght.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/roboto/Roboto-VariableFont_wdth,wght.woff2') format('woff2-variations'),
    url('../fonts/roboto/Roboto-VariableFont_wdth,wght.woff2') format('woff2');
}
/* =========================================
   2. RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--clr-gray-alt);
    color: var(--clr-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: opacity 0.2s ease;
    color: inherit;
}

a:hover {
    opacity: 0.8;
}

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

/* =========================================
   3. LAYOUT COMPONENTS
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px; /* Added slight padding for mobile safety */
}

/* =========================================
   4. BUTTON COMPONENTS
   ========================================= */
.btn {
    /* Layout & Sizing */
    height: 50px;
    padding: 16px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* Matching your 'gap: 12px' from Figma */

    /* Border & Shape */
    border: none;
    border-radius: 6px; /* Explicitly 6px per your remodel */
    cursor: pointer;
    text-decoration: none;

    /* Typography */
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500; /* Updated from 500 to 600 */
    line-height: 24px;
    color: var(--clr-white);

    /* Interaction */
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn svg {
    height: 16px;
    width: 16px;
}

/* Hover & Active States */
.btn:hover {
    opacity: 0.9;
}

.btn:active {
    transform: scale(0.98);
}

/* Color Variants */
.btn--cyan {
    background-color: #01B9C1;
}

.btn--red {
    background-color: #F15D4E;
}

/* Icon Support inside Buttons */
.btn i {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   5. UTILITY CLASSES
   ========================================= */
.text-red {
    color: var(--clr-primary);
}

.text-cyan {
    color: var(--clr-secondary);
}

.text-white {
    color: var(--clr-white);
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mb-2 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.section-title {
    color: #010205;
    font-family: Roboto, sans-serif;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 50.4px */
}

.section-description {
    color: #4A5565;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }
}
@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    .section-description {
        font-size: 14px;
        line-height: 21px;
    }
}


/* =========================================
   SECTION SPECIFIC: TOP BAR
   ========================================= */
.top-bar {
    width: 100%;
    background-color: #F5F5F5;
    padding: 10px 0;
    min-height: 47px;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Group */
.top-bar__contact {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-bar__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(1, 1, 1, 0.7);
}

.top-bar__link,
.top-bar__text {
    font-size: 14px;
    color: inherit;
}

.top-bar__link:hover {
    text-decoration: underline;
}

/* Social Group */
.top-bar__social {
    display: flex;
    gap: 21px;
    align-items: center;
}

.top-bar__social-link {
    width: 20px;
    height: 20px;
    color: #010101B2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   COMPONENT: MAIN NAV (The Overlap Logic)
   ========================================= */
.main-nav {
    position: absolute; /* Floating over the hero */
    top: 24px; /* Offset from the very top */
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it stays above hero content */
    transition: background-color 0.3s ease;
}

.is-sticky {
    position: fixed;
    top: 0;
    background-color: #FFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.is-sticky .navbar-container {
    box-shadow: none;
}

.navbar-container {
    background: white;
    border-radius: 10px;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    /*width: 130px;*/
    /*height: auto;*/
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

/* Dropdown container */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    gap: 6px;
}

.nav-dropdown-toggle svg {
    height: 18px;
    width: 18px;
    transition: transform 0.3s ease;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 40px; /* bridge area */
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 50px;
    left: -50%;
    transform: translateY(30px);

    width: 220px;
    margin-top: 10px;

    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;

    opacity: 0;
    visibility: hidden;
    /*transform: translateY(10px);*/
    transition: all 0.25s ease;

    z-index: 1000;
    overflow: hidden;
}

/* Dropdown item */
.dropdown-item {
    padding: 12px 16px;
    font-size: 16px;

    border-bottom: 1px rgba(0, 0, 0, 0.1) solid;

    display: block;
    text-align: center;

    color: #1F1F1F;
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Hover state */
.dropdown-item:hover {
    background: #F5F5F5;
}

/* SHOW dropdown */
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-link {
    color: #1F1F1F;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 162.5% */
}

.nav-dropdown:hover .nav-link svg {
    transform: rotate(180deg);
}

.nav-menu .is-current {
    color: #878787 !important;
}

.nav-cta {
    margin-left: 30px;
    font-size: 16px;
    font-weight: 400;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #01B9C1;
    display: block;
    transition: all 0.3s ease;
}

/* =========================================
   HEADER RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 1024px) {
    .top-bar {
        display: none;
    }

    .main-nav {
        position: sticky;
        top: 0;
        background-color: #FFF;
    }

    .navbar-container {
        box-shadow: none;
    }

    .nav-logo {
        width: 110px;
    }
}

/* MOBILE NAV */
@media (max-width: 992px) {
    /* container context */
    .navbar-container {
        position: relative;
        box-shadow: none;
    }

    /* hamburger */
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1100;
    }

    .nav-logo {
        position: relative;
        z-index: 1100;
        width: 90px;

    }

    /* FULLSCREEN MENU */
    .nav-menu {
        position: fixed;
        inset: 0;
        background: #fff;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        padding: 100px 30px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: 0.3s ease;

        z-index: 1000;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        justify-content: start;
        gap: 8px;
    }

    /* links */
    .nav-link, .nav-dropdown {
        width: 100%;
        padding: 10px 0;
    }

    .dropdown-item {
        border: none;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
    }

    .dropdown-menu {
        display: none !important;
        position: static;
        box-shadow: none;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .nav-dropdown.active .dropdown-menu {
        display: flex !important;
        flex-direction: column;
    }

    .nav-dropdown:hover .nav-link svg {
        transform: none;
    }

    .nav-dropdown.active .nav-link svg {
        transform: rotate(180deg);
    }

    .dropdown-menu .dropdown-item{
        text-align: left;
    }

    /* remove hover bridge */
    .nav-dropdown::after {
        display: none;
    }
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .top-bar__inner {
        flex-direction: column;
        gap: 10px;
    }

    .top-bar__contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.footer {
    padding: 30px 0 20px;
    background-color: #fff;
    border-top: 1px solid #E2E8F0;
    font-family: 'Inter', sans-serif;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 20px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__logo {
    height: 50px;
}

.footer__brand-text {
    font-size: 14px;
    line-height: 21px;
    color: #45556C;
    max-width: 330px;
    margin-bottom: 20px;
}

.footer__socials {
    display: flex;
    gap: 15px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: #F5F5F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F15D4E;
    transition: all 0.3s ease;
}

.footer__social-link svg {
    height: 22px;
    width: 22px;
}

.footer__social-link:hover {
    /*background: #F15D4E;*/
    /*color: #fff;*/
    background-color: rgba(241, 93, 78, 0.10);
    color: #F15D4E;
}

/* Links Columns */
.footer__title {
    font-size: 18px;
    font-weight: 600;
    color: #0F172B;
    margin-bottom: 20px;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    text-decoration: none;
    color: #45556C;
    font-size: 16px;
    transition: color 0.3s;
}

.footer__link:hover {
    color: #F15D4E;
}

/* Newsletter */
.footer__newsletter-text {
    font-size: 14px;
    color: #45556C;
    margin-bottom: 20px;
    line-height: 20px;
}

.footer__form {
    display: flex;
    max-width: 400px;
}

.footer__input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid #E2E8F0;
    border-right: none;
    border-radius: 8px 0 0 8px;
    background: #fff;
}

.footer__input {
    border: none;
    padding: 12px 10px;
    width: 100%;
    font-size: 16px;
    outline: none;
    color: #45556C;
}

.footer__input::placeholder {
    color: #90A1B9;
}

.footer__submit {
    font-size: 16px;
    background: #F15D4E;
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__submit:hover {
    background: #d94d3f;
}

/* Bottom Bar */
.footer__bottom {
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #45556C;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    /* Row 1 */
    .footer__brand {
        grid-column: 1;
        grid-row: 1;
    }

    .footer__newsletter__column {
        grid-column: 2;
        grid-row: 1;
    }

    /* Row 2 */
    .footer__links__column:nth-of-type(1) {
        grid-column: 1;
        grid-row: 2;
    }

    .footer__links__column:nth-of-type(2) {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Row 1 → full width */
    .footer__brand {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    /* Row 2 → two links columns */
    .footer__links__column:nth-of-type(1) {
        grid-column: 1;
        grid-row: 2;
    }

    .footer__links__column:nth-of-type(2) {
        grid-column: 2;
        grid-row: 2;
    }

    /* Row 3 → full width newsletter */
    .footer__newsletter__column {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
@media (max-width: 480px) {

    .footer__grid {
        grid-template-columns: 1fr;
    }
    .footer__brand-text {
        max-width: 100%;
    }

    /* Reset all manual placement */
    .footer__brand,
    .footer__links__column,
    .footer__newsletter__column {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}


/* =========================================
   WHATSAPP FLOAT
   ========================================= */

.whatsapp-float {
    position: fixed;

    right: 30px;
    bottom: 60px;

    display: flex;
    align-items: center;
    gap: 12px;

    z-index: 9999;
}

/* =========================================
   MESSAGE
   ========================================= */

.whatsapp-message {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #FFF;
    padding: 12px 16px;

    border-radius: 999px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);

    opacity: 1;
    transform: translateX(0);
    visibility: visible;

    transition:
            opacity 0.35s ease,
            transform 0.85s ease,
            visibility 0s linear 0.35s;
}

/* TEXT */
.whatsapp-message__text {
    color: #121212;

    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;
}

/* CLOSE */
.whatsapp-message__close {
    border: none;
    background: transparent;

    cursor: pointer;

    font-size: 18px;
    line-height: 1;

    color: #666;

    padding: 0;
}

/* =========================================
   BUTTON
   ========================================= */

.whatsapp-float__button {
    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: #25D366;
    color: #FFF;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    text-decoration: none;

    box-shadow:
            0 8px 24px rgba(37, 211, 102, 0.35);

    animation:
            whatsappPulse 3s ease-in-out infinite;
}

/* ICON */
.whatsapp-float__button svg {
    width: 36px;
    height: 36px;
}

/* RING */
.whatsapp-float__button::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background: rgba(37, 211, 102, 0.35);

    z-index: -1;

    animation:
            whatsappRing 3s ease-out infinite;
}

/* =========================================
   HIDE STATE
   ========================================= */

.whatsapp-message.is-hidden {
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    visibility: hidden;
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes whatsappRing {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/*@keyframes whatsappMessageIn {*/
/*    from {*/
/*        opacity: 0;*/
/*        transform: translateX(20px);*/
/*    }*/

/*    to {*/
/*        opacity: 1;*/
/*        transform: translateX(0);*/
/*    }*/
/*}*/

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 576px) {

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-float__button {
        width: 56px;
        height: 56px;
    }

    .whatsapp-float__button svg {
        width: 28px;
        height: 28px;
    }
}