:root {
    /* Brand colors (from your brief) */
    --color-main: #39739d;
    --color-secondary: #39739d;
    --color-sub-0: #afc6d8;
    --color-sub-1: #c0ddf5;
    --color-sub-2: #c4c4c4;

    /* Neutrals */
    --color-bg: #f5f6f9;
    --color-white: #ffffff;
    --color-text: #222222;
    --color-border: #dfdfdf;

    /* Feedback */
    --color-success: #2f855a;
    --color-warning: #b7791f;
    --color-error: #b54a4a;

    /* Layout */
    --container-width: 100%;
    --radius-md: 8px;
    --radius-lg: 16px;
    --btn-radius: 999px;

    /* Spacing (4/8px scale) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --space-8: 48px;
    --space-9: 50px;
    --space-10: 100px;
    --space-11: 200px;

    /* fonts */
    --buttton-1: 1.2rem;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.site-main {
    padding-top: 0 !important;
}
/* Offset anchor scroll for fixed header */
:target {
    scroll-margin-top: 140px; /* adjust to your header height */
}
.bg{
    position: absolute;
    z-index: -2;
}
body.site-body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}
/* body {
    overflow-x: hidden;
} */

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
 
}
.logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Header & Nav */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    position: fixed;
    z-index: 5;
}
.header-inner {
    width: 80%;
    margin-left: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
}
.main-nav {
    position: relative;
}
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}
.nav-item {
    display: block;
}
.nav-link {
    display: block;
    padding: var(--space-2) var(--space-3);
    text-decoration: none;
    color: var(--color-secondary);
    font-size: 0.95rem;
}
.nav-link:hover,
.nav-link.is-active {
    color: var(--color-main);
    text-decoration: underline;
}
/* Mobile nav toggle */
.nav-toggle {
    background: none;
    /* border: 1px solid var(--color-border);
    border-radius: var(--radius-md); */
    border: none;
    /* padding: var(--space-1) var(--space-2); */
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    /* margin-top: -5px; */
    position: relative;
    top: -6px; /* adjust if needed */
}
.nav-toggle-bar {
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background-color: var(--color-secondary);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* When nav is open on mobile */
.nav-list.nav-open {
    display: block;
}

/* Main */
.site-main {
    padding-top: var(--space-6);
    /* padding-bottom: var(--space-6); */
}


/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg);
}
.footer-inner {
    width: 80%;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
    font-size: 0.85rem;
}
.footer-copy {
    margin: 0;
    color: #555555;
    font-size: 1rem;
}
.footer-links {
    margin: 0;
}
.footer-links a {
    color: var(--color-main);
    text-decoration: none;
    font-size: 1rem;
}
.footer-links a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {

    .nav-list {
        display: flex;
    }

    .nav-item {
        display: inline-block;
    }

    .nav-toggle {
        display: none;
    }

    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Buttons */
/* .cta-container{
    text-align: center;
} */
.cta-actions, .hero-actions {
    display: inline-flex;
    gap: var(--space-1);
    margin-bottom: 50px;
    text-transform: uppercase;
}
.btn {
    /* font-family: 'Anta','Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-4);
    /* border-radius: var(--btn-radius); */
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 140ms ease-out, box-shadow 140ms ease-out, filter 140ms ease-out;
    
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-main);    
    border-color: var(--color-sub-1);
    border-width: 1px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    font-weight: 500;
    font-size: var(--buttton-1) ;
    box-shadow: 0 5px 15px rgba(36, 47, 99, 0.45);
    z-index: 1;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(36, 47, 99, 0.45);
    filter: brightness(1.03);
}

.btn-outline {
    background: var(--color-secondary);
    color: var(--color-white);
    transition: transform 140ms ease-out, box-shadow 140ms ease-out, filter 140ms ease-out;
    font-weight: 500;
    font-size: var(--buttton-1) ;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    box-shadow: 0 5px 15px rgba(36, 47, 99, 0.45);
}
.btn-outline:hover {
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(36, 47, 99, 0.45);
}

.bi-whatsapp{
    padding-right: 10px;
}

@media (max-width: 768px) {
    .cta-actions{
        display: flex;
        flex-direction: column;
        
    }
    .btn-primary img{
        display: none;
    }
}
/* Fonts & Text */
/* === Custom Font === */
/* @font-face {
    font-family: 'Anta';
    src: url('../assets/fonts/Anta-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */
h1, h2, h3, h4{
    /* font-family: 'Anta', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; */
    text-transform: uppercase;
    /* Italic = forward motion */
    /* display: inline-block;
    transform: skewX(-10deg); */
}
h1 {
    font-size: 3rem;
    color: var(--color-main);
}
h2 {
    font-size: 2.5rem;
    color: var(--color-main);
}
h3 {
    font-size: 1.3rem;
    color: var(--color-main) ;
}
p{
    font-size: 1.1rem;
    color: var(--color-secondary);
}
a{
    color: var(--color-main);
}


/* Hero styles */
.hero-kicker{
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.767);
}
.hero-title{
    color: var(--color-white);
    font-size: 3.5rem;
    margin-top: 0;
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.65);
}
.hero-lead{
    color: var(--color-white);
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.85);
    font-size: 1.5rem;
}
@media (max-width: 768px) {
    /* Overlay */
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--color-secondary);
        z-index: 1;
        opacity: 40%;
    }
        .hero-logo{
        display: none;
    }
    .hero-lead{
        text-shadow: 0 1px 3px rgb(0, 0, 0);
    }
    .hero-title{
        font-size: 2rem;
    }
    .hero-actions{
        display: flex;
        flex-direction: column;
    }
    h1 {
    font-size: 3rem;
    color: var(--color-main);
    }
    h2 {
        font-size: 2rem;
        color: var(--color-main);
    }
    h3 {
        font-size: 1.2rem;
        color: var(--color-main) ;
    }
    p{
        font-size: 1.1rem;
        color: var(--color-secondary);
        max-width: 43ch;
    }
}
@media (max-width: 380px) {

    h1 {
    font-size: 1.8rem;
    color: var(--color-main);
    }
    h2 {
        font-size: 1.4rem;
        color: var(--color-main);
    }
    h3 {
        font-size: 1.2rem;
        color: var(--color-main) ;
    }
    p{
        font-size: 1rem;
        color: var(--color-secondary);
        max-width: 100%;
    }
}

/* General Layout */
.container{
    width: 80%;
    margin-left: 10%;

}
@media (max-width: 768px) and (max-width: 450px) {
    .container{
        width: 90%;
        margin-left: 5%;

    }


}

.alt-section{
    background-color: var(--color-main);
    padding-bottom: var(--space-10);
}
.alt-section p{
    color: #c0ddf5;
}
.alt-section h2, .alt-section h3{
    color: var(--color-white);
}
.alt-section .bi{
    color: var(--color-sub-0);
}
.alt-section li{
    color: var(--color-white);
}
.alt-section .bi{
    color: #c0ddf5;
}
@media (min-width: 400px) and (max-width: 480px) {
    p{
        max-width: 100%;
    }
    .alt-section{
        padding-bottom: var(--space-7);
    }

}