/* ================================
   FOUNDRY4F — GLOBAL STYLES
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #050505;
    --black-soft: #0b0b0b;
    --dark: #111111;
    --white: #ffffff;
    --muted: #a4a4a4;
    --gold: #c9a45c;
    --gold-light: #e3c98b;
    --border: rgba(255, 255, 255, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* ================================
   HEADER
================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(201, 164, 92, 0.14);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-name {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1;
}

.logo-name span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    position: relative;
    color: #d6d6d6;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-button {
    padding: 11px 20px;
    border: 1px solid rgba(201, 164, 92, 0.65);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    transform: translateY(-1px);
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 78% 35%,
            rgba(201, 164, 92, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(255, 255, 255, 0.025),
            transparent 30%
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 80px;
    padding: 110px 0;
}

.eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(52px, 6.2vw, 88px);
    line-height: 0.96;
    letter-spacing: -4.5px;
    font-weight: 700;
}

.hero h1 span {
    color: var(--gold);
}

.hero-description {
    max-width: 610px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.button-primary {
    background: var(--gold);
    color: var(--black);
}

.button-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.button-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}


/* ================================
   HERO LIFECYCLE CARD
================================ */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lifecycle-card {
    width: 100%;
    max-width: 410px;
    padding: 38px 36px;

    border: 1px solid rgba(201, 164, 92, 0.20);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.012)
        );

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    position: relative;
    overflow: hidden;
}

.lifecycle-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(201, 164, 92, 0.08),
            transparent 35%
        );

    pointer-events: none;
}

.lifecycle-line {
    position: absolute;
    left: 58px;
    top: 58px;
    bottom: 58px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(201, 164, 92, 0.8),
            transparent
        );
}

.lifecycle-item {
    position: relative;

    display: grid;
    grid-template-columns: 44px 1fr;

    padding: 16px 0;
}

.lifecycle-item span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.lifecycle-item strong {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.2px;
    line-height: 1.4;
}

.lifecycle-item small {
    grid-column: 2;

    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;

    margin-top: 3px;
}


/* ================================
   SECTIONS
================================ */

.section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border);
}

.section-heading {
    max-width: 750px;
    margin-bottom: 60px;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -2.5px;
}

.section-heading > p:last-child {
    margin-top: 22px;
    color: var(--muted);
    max-width: 650px;
}


/* ================================
   SERVICES
================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;

    background: rgba(201, 164, 92, 0.14);
    border: 1px solid rgba(201, 164, 92, 0.14);
}

.service-card {
    position: relative;

    background: var(--black);
    min-height: 290px;
    padding: 34px;

    transition:
        background 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;

    overflow: hidden;
}

.service-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.35s ease;
}

.service-card::after {
    content: "";

    position: absolute;
    width: 150px;
    height: 150px;

    right: -80px;
    bottom: -80px;

    border-radius: 50%;

    background: rgba(201, 164, 92, 0.045);

    transition: transform 0.4s ease;
}

.service-card:hover {
    background: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover::after {
    transform: scale(1.5);
}

.service-number {
    position: relative;
    z-index: 2;

    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-card h3 {
    position: relative;
    z-index: 2;

    margin-top: 48px;

    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.service-card p {
    position: relative;
    z-index: 2;

    margin-top: 14px;

    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.service-card a {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;

    margin-top: 25px;

    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;

    transition: gap 0.3s ease;
}

.service-card a:hover {
    color: var(--gold-light);
}
@media (min-width: 901px) {

    .services-grid::after {
        content: "";
        background: var(--black);
    }

}


/* ================================
   BUSINESS LIFECYCLE
================================ */

.lifecycle-section {
    background: #080808;
}

.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.lifecycle-grid > div {
    padding: 35px;
    min-height: 190px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lifecycle-grid strong {
    color: var(--gold);
    font-size: 12px;
}

.lifecycle-grid h3 {
    margin-top: 35px;
    font-size: 20px;
    letter-spacing: 2px;
}

.lifecycle-grid p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}


/* ================================
   ABOUT
================================ */

.about-section {
    background: #0a0a0a;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.about-grid > div:last-child {
    padding-top: 50px;
}

.about-grid p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 25px;
}


/* ================================
   LEARNING CENTER
================================ */

.learning-section {
    text-align: center;
}

.learning-section .section-heading {
    margin-left: auto;
    margin-right: auto;
}

.learning-section .button {
    margin-top: 10px;
}


/* ================================
   CONTACT
================================ */

.contact-section {
    padding: 120px 0;
    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(201, 164, 92, 0.08),
            transparent 35%
        );
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 100px;
}

.contact-details {
    border-left: 1px solid var(--gold);
    padding-left: 30px;
}

.contact-details p {
    color: var(--muted);
    margin-bottom: 28px;
    font-size: 14px;
}

.contact-details strong {
    color: var(--white);
}


/* ================================
   FOOTER
================================ */

.site-footer {
    padding: 60px 0 25px;
    background: #030303;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-content p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    color: #666;
    font-size: 11px;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

    .nav-menu {
        display: none;
    }

    .hero-content,
    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lifecycle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 30px;
    }

    .about-grid > div:last-child {
        padding-top: 0;
    }

    .contact-content {
        gap: 50px;
    }
}


@media (max-width: 600px) {

    .navbar {
        min-height: 70px;
    }

    .nav-button {
        display: none;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid,
    .lifecycle-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
/* =================================
   SERVICE PAGE HEADER FIX
================================= */

@media (min-width: 901px) {

    .site-header .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        flex-wrap: nowrap;
    }

    .site-header .nav-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 34px;
        flex: 1;
    }

    .site-header .nav-menu a {
        white-space: nowrap;
    }

    .site-header .nav-button {
        flex-shrink: 0;
        white-space: nowrap;
    }

}