/* =========================================================
   CARMIGO INVESTMENT WEBSITE
   GLOBAL STYLES
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #f6f9fc;
    color: #173b5d;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

:root {
    --blue: #174f7d;
    --blue-dark: #082f50;
    --blue-light: #236895;

    --orange: #f26522;
    --orange-light: #ff8b48;

    --text: #173b5d;
    --muted: #6c7d8c;

    --white: #ffffff;
    --light: #f6f9fc;

    --border: #e3eaf0;

    --shadow:
        0 20px 60px rgba(17, 54, 83, 0.09);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

section {
    padding: 100px 0;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 999;

    background: rgba(255,255,255,.96);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid rgba(15,60,90,.08);
}

.navbar {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 31px;
    font-weight: 900;

    color: #20557f;

    letter-spacing: -2px;
}

.logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #39566c;

    font-size: 14px;
    font-weight: 700;

    transition: .25s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
}

.nav-cta {
    color: white !important;

    background: var(--orange);

    padding: 11px 20px;

    border-radius: 50px;

    box-shadow:
        0 8px 20px rgba(242,101,34,.20);
}

.menu-btn {
    display: none;

    border: 0;

    background: transparent;

    font-size: 28px;

    cursor: pointer;

    color: var(--blue-dark);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 760px;

    padding-top: 150px;

    display: flex;
    align-items: center;

    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(5,34,57,.96),
            rgba(7,49,80,.78)
        ),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=85")
        center/cover no-repeat;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1.15fr
        .85fr;

    gap: 60px;

    align-items: center;
}

.badge {
    display: inline-flex;

    padding: 9px 17px;

    border-radius: 50px;

    background:
        rgba(242,101,34,.16);

    border:
        1px solid rgba(242,101,34,.30);

    color: #ff955c;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 25px;
}

.hero h1 {
    font-size:
        clamp(45px,6vw,75px);

    line-height: 1.02;

    letter-spacing: -3px;

    margin-bottom: 25px;

    font-weight: 900;
}

.hero h1 span {
    color: var(--orange-light);
}

.hero-text {
    max-width: 680px;

    color:
        rgba(255,255,255,.73);

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 27px;

    border-radius: 50px;

    font-weight: 800;

    transition: .3s;
}

.btn-primary {
    background: var(--orange);

    color: white;

    box-shadow:
        0 15px 30px rgba(242,101,34,.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-outline {
    color: white;

    border:
        1px solid rgba(255,255,255,.25);
}

.btn-outline:hover {
    background: white;
    color: var(--blue-dark);
}

/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    background:
        rgba(255,255,255,.09);

    border:
        1px solid rgba(255,255,255,.15);

    backdrop-filter: blur(15px);

    border-radius: 28px;

    padding: 40px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.20);
}

.hero-card small {
    color:
        rgba(255,255,255,.60);

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 11px;
}

.hero-card h2 {
    font-size: 60px;

    line-height: 1;

    color: var(--orange-light);

    margin: 15px 0 5px;
}

.hero-card h3 {
    font-size: 23px;

    margin-bottom: 25px;
}

.card-divider {
    height: 1px;

    background:
        rgba(255,255,255,.15);

    margin: 20px 0;
}

.card-row {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    color:
        rgba(255,255,255,.65);

    font-size: 14px;
}

.card-row strong {
    color: white;
}

/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    padding:
        170px 0 100px;

    color: white;

    background:
        linear-gradient(
            100deg,
            rgba(5,39,64,.96),
            rgba(7,53,85,.82)
        ),
        url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85")
        center/cover no-repeat;
}

.page-hero h1 {
    max-width: 800px;

    font-size:
        clamp(42px,6vw,68px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 20px;
}

.page-hero h1 span {
    color: var(--orange-light);
}

.page-hero p {
    max-width: 700px;

    color:
        rgba(255,255,255,.68);

    font-size: 17px;

    line-height: 1.8;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 850px;

    margin:
        0 auto 55px;

    text-align: center;
}

.section-label {
    display: block;

    color: var(--orange);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 12px;
}

.section-heading h2 {
    color: var(--blue-dark);

    font-size:
        clamp(35px,4.5vw,55px);

    line-height: 1.1;

    letter-spacing: -1.5px;

    margin-bottom: 18px;
}

.section-heading h2 span {
    color: var(--orange);
}

.section-heading p {
    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;
}

/* =========================================================
   FEATURE GRID
========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 18px;
}

.feature-card {
    background: white;

    border:
        1px solid var(--border);

    border-radius: 20px;

    padding: 28px 24px;

    transition: .3s;
}

.feature-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(20,55,85,.08);
}

.feature-icon {
    font-size: 30px;

    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--blue);

    font-size: 18px;

    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

/* =========================================================
   CONTENT GRID
========================================================= */

.content-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 25px;
}

.content-card {
    background: white;

    border:
        1px solid var(--border);

    border-radius: 25px;

    padding: 40px;
}

.content-card h3 {
    color: var(--blue-dark);

    font-size: 28px;

    margin-bottom: 15px;
}

.content-card h3 span {
    color: var(--orange);
}

.content-card p {
    color: var(--muted);

    line-height: 1.8;

    margin-bottom: 18px;
}

.content-card ul {
    margin-left: 20px;
}

.content-card li {
    color: var(--muted);

    margin-bottom: 10px;

    font-size: 14px;
}

/* =========================================================
   IMAGE CARDS
========================================================= */

.image-card {
    min-height: 430px;

    border-radius: 28px;

    overflow: hidden;

    position: relative;

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: flex-end;

    padding: 40px;
}

.image-card:after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(4,35,58,.94),
            rgba(4,35,58,.05)
        );
}

.image-card-content {
    position: relative;

    z-index: 2;

    color: white;
}

.image-card-content h3 {
    font-size: 30px;

    margin-bottom: 10px;
}

.image-card-content p {
    color:
        rgba(255,255,255,.70);

    font-size: 14px;

    line-height: 1.8;
}

/* =========================================================
   DARK SECTION
========================================================= */

.dark-section {
    background:
        linear-gradient(
            145deg,
            #0d4776,
            #082f50
        );

    color: white;
}

.dark-section .section-heading h2 {
    color: white;
}

.dark-section .section-heading p {
    color:
        rgba(255,255,255,.65);
}

/* =========================================================
   INVESTMENT CARDS
========================================================= */

.investment-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 18px;
}

.investment-card {
    background: white;

    padding: 30px 25px;

    border:
        1px solid var(--border);

    border-radius: 20px;
}

.investment-card h3 {
    color: var(--blue);

    font-size: 18px;

    margin-bottom: 8px;
}

.investment-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.investment-highlight {
    background:
        linear-gradient(
            145deg,
            #0d4776,
            #082f50
        );

    color: white;

    padding: 45px;

    border-radius: 27px;
}

.investment-highlight small {
    color:
        rgba(255,255,255,.60);

    letter-spacing: 2px;
}

.investment-highlight h2 {
    font-size: 65px;

    color: var(--orange-light);

    line-height: 1;

    margin: 20px 0;
}

.investment-highlight p {
    color:
        rgba(255,255,255,.68);

    line-height: 1.8;
}

/* =========================================================
   STEPS
========================================================= */

.steps {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.step {
    display: flex;

    gap: 15px;
}

.step-number {
    min-width: 40px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #fff0e8;

    color: var(--orange);

    font-size: 12px;

    font-weight: 900;
}

.step p {
    color: var(--muted);

    font-size: 14px;

    padding-top: 6px;

    line-height: 1.7;
}

/* =========================================================
   TERMS
========================================================= */

.terms-box {
    max-width: 1000px;

    margin: auto;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 25px;

    padding: 40px;
}

.term {
    padding: 20px 0;

    border-bottom:
        1px solid #e1e8ed;
}

.term:last-child {
    border-bottom: 0;
}

.term h3 {
    color: var(--blue);

    font-size: 17px;

    margin-bottom: 7px;
}

.term p,
.term li {
    color: #687a89;

    font-size: 13px;

    line-height: 1.8;
}

.term ul {
    margin-left: 20px;
}

/* =========================================================
   DISCLAIMER
========================================================= */

.disclaimer-box {
    max-width: 1000px;

    margin: auto;

    border:
        1px solid #f2d8c8;

    border-radius: 22px;

    padding: 35px;

    background: #fff8f4;
}

.disclaimer-box h3 {
    color: #a84918;

    font-size: 20px;

    margin-bottom: 12px;
}

.disclaimer-box p {
    color: #735f53;

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 12px;
}

/* =========================================================
   CTA
========================================================= */

.cta {
    text-align: center;

    background:
        linear-gradient(
            135deg,
            #0b416d,
            #072f50
        );

    color: white;
}

.cta h2 {
    max-width: 850px;

    margin: auto;

    font-size:
        clamp(35px,5vw,60px);

    line-height: 1.08;
}

.cta h2 span {
    color: var(--orange-light);
}

.cta p {
    max-width: 700px;

    margin:
        20px auto 30px;

    color:
        rgba(255,255,255,.68);

    line-height: 1.8;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 25px;

    max-width: 1050px;

    margin: auto;
}

.contact-card {
    padding: 40px;

    border-radius: 25px;

    background: white;

    border:
        1px solid var(--border);
}

.contact-card.dark {
    color: white;

    background:
        linear-gradient(
            145deg,
            #0d4776,
            #082f50
        );
}

.contact-card h2 {
    font-size: 36px;

    line-height: 1.15;

    margin-bottom: 15px;
}

.contact-card h2 span {
    color: var(--orange-light);
}

.contact-card p {
    color: var(--muted);

    line-height: 1.8;

    margin-bottom: 25px;
}

.contact-card.dark p {
    color:
        rgba(255,255,255,.68);
}

.contact-links {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-links a {
    font-size: 17px;

    font-weight: 700;
}

.contact-card.dark .contact-links a {
    color: white;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #062c49;

    color: white;

    padding:
        50px 0 25px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.3fr
        .7fr
        .7fr;

    gap: 50px;
}

.footer-logo {
    font-size: 30px;

    font-weight: 900;

    letter-spacing: -1px;

    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--orange);
}

footer p {
    color:
        rgba(255,255,255,.52);

    font-size: 13px;

    line-height: 1.8;
}

footer h4 {
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 8px;
}

footer li a {
    color:
        rgba(255,255,255,.55);

    font-size: 13px;
}

.footer-bottom {
    max-width: 1200px;

    margin:
        40px auto 0;

    padding:
        20px;

    border-top:
        1px solid rgba(255,255,255,.10);

    color:
        rgba(255,255,255,.38);

    font-size: 11px;

    display: flex;

    justify-content: space-between;
}

/* =========================================================
   FLOATING BUTTONS
========================================================= */

.floating-buttons {
    position: fixed;

    right: 18px;
    bottom: 18px;

    z-index: 800;

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.float-btn {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    box-shadow:
        0 10px 25px rgba(0,0,0,.20);

    font-size: 20px;
}

.float-call {
    background: var(--blue);
}

.float-wa {
    background: #20b858;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1000px) {

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .investment-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

}

@media(max-width:800px) {

    .nav-links {
        display: none;

        position: absolute;

        top: 76px;
        left: 0;
        right: 0;

        padding: 25px;

        background: white;

        flex-direction: column;

        box-shadow:
            0 20px 35px rgba(0,0,0,.10);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

}

@media(max-width:600px) {

    section {
        padding: 70px 0;
    }

    .hero {
        padding:
            130px 0 70px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-card {
        padding: 30px 24px;
    }

    .feature-grid,
    .investment-grid {
        grid-template-columns: 1fr;
    }

    .content-card,
    .contact-card,
    .terms-box,
    .disclaimer-box,
    .investment-highlight {
        padding: 30px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }

}





/* =====================================================
   CARMIGO LOGO — GLOBAL HEADER & FOOTER
   ===================================================== */

.site-header .navbar {
    min-height: 82px !important;
}

.site-header .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 160px !important;
    min-width: 160px !important;
    height: 68px !important;
    flex: 0 0 160px !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-decoration: none !important;
}

.site-header .brand img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: 62px !important;
    object-fit: contain !important;
    object-position: left center !important;
}


/* FOOTER LOGO */

footer .footer-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 175px !important;
    height: 65px !important;
    margin-bottom: 15px !important;
}

footer .footer-logo a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
}

footer .footer-logo img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 165px !important;
    min-width: 165px !important;
    max-width: 165px !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
    object-position: left center !important;
}


/* TABLET */

@media (max-width: 950px) {

    .site-header .navbar {
        min-height: 72px !important;
        height: 72px !important;
    }

    .site-header .brand {
        width: 140px !important;
        min-width: 140px !important;
        height: 60px !important;
        flex-basis: 140px !important;
    }

    .site-header .brand img {
        width: 135px !important;
        min-width: 135px !important;
        max-width: 135px !important;
        max-height: 58px !important;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    footer .footer-logo {
        width: 145px !important;
        height: 58px !important;
    }

    footer .footer-logo img {
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        max-height: 55px !important;
    }
}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .site-header .brand {
        width: 125px !important;
        min-width: 125px !important;
        height: 58px !important;
        flex-basis: 125px !important;
    }

    .site-header .brand img {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        max-height: 55px !important;
    }
}


/* EXTRA SMALL MOBILE */

@media (max-width: 380px) {

    footer .footer-logo {
        width: 130px !important;
        height: 55px !important;
    }

    footer .footer-logo img {
        width: 125px !important;
        min-width: 125px !important;
        max-width: 125px !important;
        max-height: 52px !important;
    }
}
