/* ============================================================
   BASE — Reset · Global Rules · Shared Utilities
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    color: var(--c-text-body);
    background: #fff;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* ── Accent Bar (appears above every h2) ── */
.accent-bar {
    width: var(--accent-bar-w);
    height: var(--accent-bar-h);
    background: var(--g-primary);
    margin-bottom: 19px;
    flex-shrink: 0;
}

.accent-bar--center {
    margin-inline: auto;
}

/* ── Section Heading ── */
.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 56px;
    line-height: 50px;
    color: var(--c-text-dark);
}

/* ── Gradient Text ── */
.text-gradient {
    background: var(--g-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ════════════════════════════════════════════════════════════
   NAV  (Figma node 159:661)
   Shared across all pages via base.html.
   Height: 124px · Logo: 240×112px · Links: Poppins 18px
   .nav--solid  → use on non-hero pages (white from top, no JS needed)
   ════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 124px;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

/* Scrolled state (added by JS) — and permanent on non-hero pages */
.nav.scrolled,
.nav--solid {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: var(--sh-nav);
}

.nav__inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav__logo {
    flex-shrink: 0;
    width: 240px;
    height: 112px;
    margin-left: -19px;
}

.nav__logo img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 38px;
    margin-left: auto;
    font-family: var(--font-ui);
    font-size: 18px;
    color: var(--c-text-dark);
}

.nav__links a {
    position: relative;
    padding-bottom: 6px;
    transition: color 0.2s;
}

.nav__links a:hover {
    color: var(--c-primary-end);
}

.nav__links a.active {
    font-weight: 700;
}

/* Active underline — 90px gradient bar, 4px height (Figma node 369:139) */
.nav__links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--g-primary);
}

/* Hamburger — hidden desktop, shown mobile */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    margin-left: auto;
}

.nav__burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--c-text-dark);
    transition: transform 0.3s;
}

/* ── Nav responsive ── */
@media (max-width: 1024px) {
    .nav__links {
        gap: 22px;
        font-size: 15px;
    }

    .nav__logo {
        width: 180px;
        height: 86px;
    }
}

@media (max-width: 768px) {
    .nav {
        height: 70px;
    }

    .nav__logo {
        width: 130px;
        height: 62px;
        margin-left: 0;
    }

    .nav__links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--sh-nav);
    }

    .nav__links.open {
        display: flex;
    }

    .nav__burger {
        display: flex;
    }
}


/* ════════════════════════════════════════════════════════════
   FOOTER  (Figma node 332:365 / 542:501)
   Shared across all pages — dark gradient, 4-col grid
   ════════════════════════════════════════════════════════════ */
.footer {
    display: grid;
    grid-template-columns: 312px repeat(3, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    gap: 0 40px;
    padding: 80px var(--container-pad) 0;
    min-height: 514px;
    background: var(--g-footer);
    box-shadow: var(--sh-nav);
    color: #fff;
}

.footer__logo-wrap {
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 40px;
}

.footer__logo {
    width: 312px;
    height: 145px;
    object-fit: contain;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    padding-top: 32px;
    padding-bottom: 32px;
}

.footer__col a,
.footer__col p {
    color: #fff;
}

.footer__col a:hover {
    text-decoration: underline;
}

.footer__copy {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
    color: #fff;
    padding-bottom: 30px;
    padding-top: 20px;
}

@media (max-width: 1024px) {
    .footer {
        grid-template-columns: 1fr 1fr;
        padding: 60px 40px 0;
        gap: 0 20px;
    }

    .footer__logo-wrap {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer {
        grid-template-columns: 1fr;
        padding: 40px 20px 0;
    }

    .footer__logo-wrap {
        margin-bottom: 16px;
    }
}


/* ════════════════════════════════════════════════════════════
   CONTACT INFO BAR  (Figma nodes 458:144–458:158 / 159:1700–159:1721)
   Shared by home contact section + about CTA section.
   Layout: icon centered above · text centered below (column).
   ════════════════════════════════════════════════════════════ */
/* Band wrapping the contact-info — sits between CTA/contact section and footer.
   Solid #1C1B17 ensures the row is always on a dark floor, not mid-gradient. */
.contact-info-band {
    background: #1C1B17;
    width: 100%;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    padding: 60px var(--container-pad);
    max-width: var(--container-max);
    margin-inline: auto;
}

/* Each item: column — icon on top, text below, all centered */
.contact-info__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    transition: opacity 0.2s;
    max-width: 320px;
}

.contact-info__item:hover {
    opacity: 0.8;
}

/* Icon — fixed size, gradient fill (SVG should have currentColor or gradient) */
.contact-info__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Text label — Montserrat Medium 24px · centered */
.contact-info__label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    color: #fff;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-info {
        gap: 40px;
    }

    .contact-info__label {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        padding: 32px var(--container-pad);
    }

    .contact-info__label {
        font-size: 16px;
    }
}


/* ── Primary CTA Button ── */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 67px;
    background: var(--g-cta);
    box-shadow: var(--sh-cta);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 28px;
    color: var(--c-text-white);
    white-space: nowrap;
    border-radius: var(--r-btn);
    transition: filter 0.2s;
}

.btn-cta:hover {
    filter: brightness(1.1);
}

.btn-cta--sm {
    font-size: 26px;
    padding: 20px 40px;
}

.socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.socials img {
    display: block;
    width: 18px; /* adjust if needed */
    height: 18px; /* adjust if needed */
}

.form-field-error-msg {
    color: #fff;
}

.home-form-message--success {
    color: #fff;
}


@media (max-width: 768px) {
    .btn-cta {
        font-size: 12px;
    }


    .footer__logo {
        width: 180px;
        height: auto;
    }

}
