/* ----------  DESIGN TOKENS  ---------- */
:root {
    --color-bg:          #272d37;
    --color-blue:        #4479d2;
    --color-beige:       #f3f0e7;
    --color-sage:        #a7cab9;
    --color-sage-text:   #7e998c;
    --color-dark-text:   #342e15;
    --color-white:       #ffffff;
    --color-white-70:    rgba(255, 255, 255, 0.7);
    --color-img-bg:      #d3d3d3;

    --font-display: 'Instrument Sans', sans-serif;
    --font-urbanist: 'Urbanist', sans-serif;
    /* Gilroy is a commercial font; Manrope used as visually-close fallback */
    --font-soft:    'Manrope', 'Urbanist', sans-serif;
}

/* ----------  RESET  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    width: 100%;
    scroll-behavior: smooth;
    overscroll-behavior: none;
}
body {
    background-color: var(--color-bg);
    background-image: linear-gradient(
            137.47deg,
            rgba(68, 121, 210, 0) 32.034%,
            rgba(68, 121, 210, 0.4) 90.13%
    );
    font-family: var(--font-display);
    color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;


}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ----------  LAYOUT WRAPPER  ---------- */
.home {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100vh;
}

/* ----------  LOGO (icon + wordmark)  ---------- */
.logo {
    position: relative;
    width: 284px;
    height: 68px;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform .3s ease;
    transform-origin: left center;
}
.navbar--scrolled .logo {
    transform: scale(0.7);
}
.logo__icon {
    position: absolute;
    top: 0; left: 0;
    width: 50.11%;          /* 100% - 49.89% */
    bottom: -86.67%;        /* extends past the clip */
}
.logo__text {
    position: absolute;
    left: 29.86%;
    right: 0;
    top: 60.41%;
    bottom: -0.02%;
}
.logo__icon img,
.logo__text img {
    width: 100%; height: 100%; object-fit: contain; display: block;
}

/* ----------  CONTAINER  ---------- */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ----------  NAVBAR  ---------- */
.navbar {
    position: sticky;
    top: 0;
    background-color: transparent;
    width: 100%;
    padding: 42px 0;
    z-index: 1;
    transition: .3s ease;
}
.navbar--scrolled {
    background-color: var(--color-bg);
    padding: 14px 0;
}
.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ----------  BUTTONS  ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 40px;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.2;
    color: var(--color-white);
    cursor: pointer;
    transition: background .2s ease, padding .3s ease, font-size .3s ease;
    white-space: nowrap;
}
.navbar--scrolled .btn {
    font-size: 16px;
    padding: 12px 24px;
}

.btn--outline {
    border: 1.5px solid var(--color-white);
    background: transparent;
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.06); }

.btn--primary {
    background: var(--color-blue);
    font-weight: 700;
}
.btn--primary:hover { background: #3d6cbe; }

.btn--pill {
    background: var(--color-sage);
    color: var(--color-dark-text);
    border-radius: 300px;
    padding: 18px 40px;
    font-family: var(--font-soft);
    font-weight: 300;
    font-size: 18px;
}
.btn--pill:hover { background: #98bfad; }

.btn .arrow {
    width: 36px;
    height: 24px;
    flex-shrink: 0;
    transition: width .3s ease, height .3s ease;
}
.navbar--scrolled .btn .arrow {
    width: 24px;
    height: 16px;
}

/* ----------  HEADING SECTION  ---------- */
.heading {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 42px;
    align-items: center;
    overflow: hidden;
    padding-bottom: 90px;
    width: 100%;
}

/* ----------  HERO TEXT  ---------- */
.hero-text {
    padding: 40px 0;
    width: 100%;
}
.hero-text__inner {
    border-left: 2px solid var(--color-blue);
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--color-white);
}
.hero-text__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 79px;
    line-height: 1.1;
    text-transform: uppercase;
}
.hero-text__subtitle {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1.08px;
    text-transform: uppercase;
    white-space: nowrap;
}
.hero-text__body {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    max-width: 800px;
}

/* ----------  BEIGE INVESTMENT CARD  ---------- */
.card {
    background: var(--color-beige);
    border-radius: 12px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    gap: 42px;
    align-items: center;
    height: 1152px;
    width: calc(100% - 44px);
    max-width: 1300px;
}

.card__brand {
    display: flex;
    flex-direction: column;
    gap: 42px;
    align-items: flex-start;
    width: 100%;
}

.brand-mark {
    position: relative;
    width: 267px;
    height: 99px;
    flex-shrink: 0;
}
.brand-mark__icon {
    position: absolute;
    top: 0; left: 0;
    width: 70px;
    height: 99px;
}
.brand-mark__icon img {
    width: 100%; height: 100%; object-fit: contain;
}
.brand-mark__text {
    position: absolute;
    left: 80px;
    top: 35px;
    font-family: var(--font-soft);
    font-weight: 300;
    color: var(--color-sage-text);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.68px;
    text-transform: uppercase;
    white-space: nowrap;
}

.card__heading {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-transform: uppercase;
    width: 100%;
    max-width: 1200px;
}
.card__heading-title {
    font-family: var(--font-urbanist);
    font-weight: 300;
    font-size: 72px;
    line-height: 1.1;
    color: var(--color-sage-text);
    letter-spacing: -2.16px;
}
.card__heading-subtitle {
    font-family: var(--font-soft);
    font-weight: 300;
    font-size: 36px;
    line-height: 1.2;
    color: var(--color-dark-text);
    letter-spacing: -1.08px;
    white-space: nowrap;
}

.card__image {
    flex: 1 0 0;
    min-height: 0;
    width: 100%;
    background: var(--color-img-bg);
    border-radius: 32px;
    overflow: hidden;
}
.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ----------  CONTACT CARD  ---------- */
.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 22px;
    width: 100%;
}
.contact-card {
    background: var(--color-blue);
    border-radius: 32px;
    padding: 40px 100px;
    width: 100%;
    max-width: 1300px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
}
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 42px;
    justify-content: center;
    max-width: 648px;
    flex: 1;
}
.contact-headings {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-transform: uppercase;
    line-height: 1.2;
}
.contact-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 48px;
    letter-spacing: 0.48px;
}
.contact-subtitle {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 36px;
    letter-spacing: -1.8px;
}
.contact-block {
    border-left: 2px solid rgba(255, 255, 255, 0.7);
    padding: 0 42px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}
.contact-block__lead {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 28px;
    line-height: 1.2;
}
.contact-block__note {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-white-70);
}

/* ----------  AGENT  ---------- */
.agent {
    width: 379px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}
.agent__photo {
    width: 309px;
    height: 302px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-img-bg);
}
.agent__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.agent__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: center;
}
.agent__name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 38px;
    letter-spacing: -1.9px;
    text-transform: uppercase;
    line-height: 1.2;
}
.agent__role {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    color: var(--color-white-70);
    line-height: 1.2;
}
.agent__phone {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.2;
}

/* ----------  FOOTER  ---------- */
.footer {
    background: var(--color-bg);
    width: 100%;
}
.footer__row {
    display: flex;
    align-items: stretch;
    min-height: 326px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 22px;
}
.footer__brand {
    padding: 64px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    padding-right: 64px;
}
.footer__main {
    border-top: 1px solid var(--color-bg);
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 80px 0 64px;
    gap: 40px;
    min-width: 0;
}
.footer__address {
    display: flex;
    gap: 16px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-white);
    width: 470px;
    max-width: 100%;
}
.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    line-height: 1.5;
    padding-bottom: 16px;
    flex: 1 0 0;
    min-width: 0;
}
.footer__col p { line-height: 1.5; }
.footer__id {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.5;
    width: 151px;
    flex-shrink: 0;
}
.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}
.footer__nav {
    display: flex;
    gap: 16px;
}
.footer__nav a {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.5;
}
.footer__nav a:hover { opacity: .7; }
.footer__email {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    text-align: right;
}

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 1100px) {
    .btn { font-size: 17px; padding: 15px 26px; }
    .btn .arrow { width: 28px; height: 19px; }
}

@media (max-width: 1024px) {
    .footer__row { flex-direction: column; min-height: auto; }
    .footer__brand { padding: 40px 0 0; }
    .footer__main {
        flex-direction: row;
        align-items: flex-start;
        padding: 32px 0 48px;
        gap: 40px;
    }
    .footer__address { width: auto; flex: 1; }
    .footer__right { align-items: flex-end; flex-shrink: 0; }
}

@media (max-width: 1280px) {
    .hero-text__inner { padding: 0 32px; }
    .hero-text__title { font-size: 60px; }
    .card__heading-title { font-size: 56px; }
    .contact-card { padding: 40px 48px; }
    .footer__brand { padding-right: 40px; }
    .footer__main { padding: 48px 0 32px; }
}

@media (max-width: 900px) {
    /* navbar — lock to compact, disable scroll effects (already small) */
    .navbar,
    .navbar--scrolled          { padding: 14px 0; }
    .logo,
    .navbar--scrolled .logo    { transform: none; width: 200px; height: 100%; }
    .navbar__inner             { flex-wrap: nowrap; gap: 12px; }
    .nav-actions               { flex-wrap: nowrap; gap: 8px; }
    .btn                       { font-size: 14px; padding: 10px 16px; }
    .btn .arrow,
    .navbar--scrolled .btn .arrow { width: 20px; height: 14px; }
    .navbar--scrolled .btn     { font-size: 14px; padding: 10px 16px; }

    .hero-text { padding: 24px 0; }
    .hero-text__inner { padding: 0 20px; gap: 18px; }
    .hero-text__title { font-size: 42px; }
    .hero-text__subtitle {
        font-size: 22px;
        white-space: normal;
        letter-spacing: -0.5px;
    }

    .card {
        height: auto;
        padding: 28px;
        gap: 28px;
    }
    .card__image { min-height: 320px; }
    .card__heading-title { font-size: 36px; letter-spacing: -1.2px; }
    .card__heading-subtitle {
        font-size: 22px;
        white-space: normal;
        letter-spacing: -0.5px;
    }

    .contact-card {
        flex-direction: column;
        padding: 28px;
        gap: 32px;
    }
    .contact-title { font-size: 32px; }
    .contact-subtitle { font-size: 22px; letter-spacing: -0.5px; }
    .contact-block { padding: 0 20px; }
    .contact-block__lead { font-size: 20px; }
    .agent { width: 100%; }
    .agent__photo { width: 240px; height: 240px; }
    .agent__name { font-size: 28px; letter-spacing: -0.8px; }

    .footer__row {
        flex-direction: column;
        min-height: auto;
        padding: 0 22px;
    }
    .footer__brand { padding: 32px 0; padding-right: 0; }
    .footer__main {
        flex-direction: column;
        align-items: stretch;
        padding: 0 0 32px;
        gap: 32px;
    }
    .footer__address { flex-wrap: wrap; width: 100%; }
    .footer__right { align-items: flex-start; }
    .footer__email { text-align: left; }
}

@media (max-width: 650px) {
    .btn--outline { display: none; }
    .logo,
    .navbar--scrolled .logo    { transform: none; width: 160px; height: 100%; }
}

@media(max-width: 500px){
    .btn--primary {
        font-size: 14px;
        padding: 8px 8px;
        gap: 4px;
    }
}

@media (max-width: 420px) {
    .logo,
    .navbar--scrolled .logo { width: 150px; height: 36px; }
    .btn { font-size: 13px; padding: 9px 14px; }
    .btn .arrow,
    .navbar--scrolled .btn .arrow { width: 16px; height: 11px; }
}