/* =============================================================================
   MTLBCG — style.css
   Brand: navy #042b4c (dominant) + gold #f4c551 (accent). Montserrat only.
   Aesthetic: clean, refined, corporate. Generous whitespace, quiet motion.
   ============================================================================= */

/* ----------------------------------------------------------------------------
   Tokens
   ---------------------------------------------------------------------------- */
:root {
    --navy:        #042b4c;
    --navy-700:    #063761;
    --navy-600:    #0a4577;
    --gold:        #f4c551;
    --gold-deep:   #e3ad2f;

    --ink:         #0e1c2b;
    --body:        #45596b;
    --muted:       #8194a3;
    --line:        #e6ebf0;
    --surface:     #ffffff;
    --surface-alt: #f5f7fa;
    --light-blue:  #f5f7fa;   /* alternating section colour (matches About) */

    --container: 1180px;
    --radius:    14px;
    --radius-sm: 10px;

    --shadow-sm: 0 2px 10px rgba(4, 43, 76, 0.06);
    --shadow-md: 0 18px 50px rgba(4, 43, 76, 0.10);
    --shadow-lg: 0 30px 70px rgba(4, 43, 76, 0.16);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --header-h: 92px;
    --header-h-scrolled: 70px;

    font-family: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--body);
    background: var(--surface);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--navy); }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 28px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gold);
    color: var(--navy);
    padding: 12px 20px;
    font-weight: 700;
    z-index: 1000;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.35s var(--ease), background 0.3s var(--ease),
                color 0.3s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
    will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn--solid {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 12px 30px rgba(244, 197, 81, 0.35);
}
.btn--solid:hover { background: var(--gold-deep); box-shadow: 0 16px 38px rgba(244, 197, 81, 0.45); }

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--lg { padding: 18px 40px; font-size: 1rem; }

/* ----------------------------------------------------------------------------
   Header / nav
   ---------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    z-index: 900;
    transition: height 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled {
    height: var(--header-h-scrolled);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--line);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo img {
    height: 42px;
    width: auto;
    transition: height 0.35s var(--ease);
}
.site-header.is-scrolled .header__logo img { height: 36px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; align-items: center; gap: 30px; }

.nav__link {
    position: relative;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.01em;
    padding: 6px 0;
    transition: color 0.25s var(--ease);
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--navy-600); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { padding: 12px 24px; font-size: 0.85rem; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle__bar {
    width: 26px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 96%, var(--light-blue) 100%);
    color: var(--navy);
    overflow: hidden;
    isolation: isolate;
}
/* faint gold geometric accent, top-left, echoing the logo mark */
.hero::before {
    content: '';
    position: absolute;
    top: -180px; left: -150px;
    width: 520px; height: 520px;
    background: var(--gold);
    opacity: 0.16;
    transform: rotate(45deg);
    border-radius: 80px;
    z-index: 0;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: stretch;
    gap: 48px;
    min-height: 100svh;
}

.hero__content {
    position: relative;
    z-index: 2;
    align-self: center;
    max-width: 560px;
    padding: calc(var(--header-h) + 48px) 0 64px;
}

/* image bleeds to the right edge of the viewport */
.hero__media {
    position: relative;
    align-self: stretch;              /* fill the full hero height */
    margin-right: calc(50% - 50vw);   /* bleed to the right edge of the screen */
    z-index: 1;
}
.hero__media img {
    position: absolute;
    inset: 0;                         /* span top (behind menu) to bottom of hero */
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;      /* keep the head + top of the head in view */
    margin: 0;
    /* fade the bottom of the image so it dissolves into the next section */
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
}
/* overlay slot — used only on mobile to soften the background image */
.hero__media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: none;
    pointer-events: none;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 24px;
}
.hero__eyebrow::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.hero__title {
    position: relative;
    font-size: clamp(2.8rem, 5.9vw, 4.9rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--gold);
    margin-bottom: 30px;
}
.hero__title span { display: block; }
.hero__title--accent {
    color: var(--gold);
    font-weight: 600;
}

.hero__text {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    font-weight: 300;
    color: var(--body);
    max-width: 480px;
    margin-bottom: 38px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* button with sliding arrow */
.hero__btn { gap: 12px; }
.hero__btn-arrow {
    transition: transform 0.35s var(--ease);
}
.hero__btn:hover .hero__btn-arrow { transform: translateX(5px); }

/* dark-on-light secondary button for the now-light hero */
.hero .btn--ghost {
    color: var(--navy);
    border-color: rgba(4, 43, 76, 0.25);
}
.hero .btn--ghost:hover {
    border-color: var(--gold);
    color: var(--navy);
}

/* ----------------------------------------------------------------------------
   Section scaffolding
   ---------------------------------------------------------------------------- */
.section { padding: 110px 0; }

.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 18px;
}
.eyebrow--light { color: var(--gold); }

.section__title {
    font-size: clamp(1.9rem, 3.6vw, 2.85rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--navy);
    max-width: 720px;
    margin-bottom: 20px;
}
.section__intro {
    font-size: 1.08rem;
    font-weight: 300;
    color: var(--body);
    max-width: 620px;
    margin-bottom: 58px;
}

/* ----------------------------------------------------------------------------
   How We Help — numbered cards
   ---------------------------------------------------------------------------- */
.help { background: var(--navy); }
.help .eyebrow { color: var(--gold); }
.help .section__title { color: #fff; }
.help .section__intro { color: rgba(255, 255, 255, 0.78); }

/* ----------------------------------------------------------------------------
   Our Tools section
   ---------------------------------------------------------------------------- */
.tools { background: var(--light-blue); }
.tools__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    /* break out of the centered container to span the full screen width */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-inline: 280px;
    margin-top: 16px;
    align-items: stretch;
}
.tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 28px 30px;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.tool-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.tool-card:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}
.tool-card:hover::before { transform: scaleX(1); }

/* small index number, top-right corner */
.tool-card__num {
    position: absolute;
    top: 22px; right: 24px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--line);
    line-height: 1;
    letter-spacing: 0.02em;
    transition: color 0.4s var(--ease);
}
.tool-card:hover .tool-card__num { color: var(--gold); }

/* gold icon badge representing the tool's function */
.tool-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(244, 197, 81, 0.16);
    color: var(--gold-deep);
    margin-bottom: 20px;
    transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.tool-card__icon svg { width: 28px; height: 28px; }
.tool-card:hover .tool-card__icon {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.tool-card__title {
    font-size: 1.16rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}
.tool-card__text { font-size: 0.95rem; font-weight: 400; color: var(--body); margin-bottom: 22px; }

/* "Click to Launch" cue, pinned to the bottom of the card */
.tool-card__launch {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-deep);
    transition: color 0.4s var(--ease), gap 0.4s var(--ease);
}
.tool-card__launch-icon {
    width: 16px; height: 16px;
    transition: transform 0.4s var(--ease);
}
.tool-card:hover .tool-card__launch { color: var(--navy); gap: 12px; }
.tool-card:hover .tool-card__launch-icon { transform: translateX(4px); }
.help__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    /* break out of the centered container to span the full screen width */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-inline: 180px;
    align-items: stretch;
}
.card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 34px 24px 30px;
    height: 100%;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.card::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 197, 81, 0.5);
    background: rgba(255, 255, 255, 0.08);
}
.card:hover::before { transform: scaleX(1); }

.card__num {
    display: block;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}
.card__title {
    font-size: 1.28rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.card__text { font-size: 0.98rem; font-weight: 400; color: rgba(255, 255, 255, 0.78); }
.card__list {
    margin-top: 14px;
    display: grid;
    gap: 9px;
}
.card__list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
}
.card__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5em;
    width: 9px; height: 9px;
    background: var(--gold);
    border-radius: 2px;
    transform: rotate(45deg);
}

/* ----------------------------------------------------------------------------
   Our Experience — dark band
   ---------------------------------------------------------------------------- */
.experience {
    background: var(--light-blue);
    position: relative;
}
.experience .eyebrow { color: var(--gold-deep); }
.experience .section__title { color: var(--navy); }
.experience .section__intro { color: var(--body); }
.experience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
}
.experience__stat {
    display: block;
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    color: var(--gold-deep);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.experience__title {
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}
.experience__text {
    font-size: 0.96rem;
    font-weight: 300;
    color: var(--body);
}

/* ----------------------------------------------------------------------------
   About
   ---------------------------------------------------------------------------- */
.about { background: var(--navy); }
.about .eyebrow { color: var(--gold); }
.about .section__title { color: #fff; }
.about__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: stretch;
}
.about__visual { position: relative; min-height: 440px; }
/* gold geometric accent sitting behind the photo, echoing the logo mark */
.about__visual::before {
    content: '';
    position: absolute;
    top: -26px; right: -26px;
    width: 62%; height: 62%;
    background: var(--gold);
    opacity: 0.9;
    border-radius: 28px;
    transform: rotate(3deg);
    z-index: 0;
}
.about__frame {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.about__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s var(--ease);
}
/* subtle navy tint that deepens the photo and ties it to the brand */
.about__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(4, 43, 76, 0.28) 0%, rgba(4, 43, 76, 0) 55%);
    pointer-events: none;
}
.about__visual:hover .about__frame {
    transform: translateY(-6px);
    box-shadow: 0 40px 80px rgba(4, 43, 76, 0.22);
}
.about__visual:hover .about__frame img { transform: scale(1.04); }

.about__badge {
    position: absolute;
    bottom: -22px; left: -22px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.15rem;
    padding: 20px 28px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.about__para { font-size: 1rem; margin-bottom: 18px; color: rgba(255, 255, 255, 0.78); }
.about__para:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------------------
   Why Work With Us
   ---------------------------------------------------------------------------- */
.why { background: var(--light-blue); }
.why .eyebrow { color: var(--gold-deep); }
.why .section__title { color: var(--navy); }
.why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.why__item {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 34px;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.why__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.why__mark {
    flex: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--navy);
    position: relative;
}
.why__mark::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 9px;
    border-left: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    transform: translate(-50%, -65%) rotate(-45deg);
}

.why__title {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.why__text { font-size: 0.96rem; color: var(--body); }

/* ----------------------------------------------------------------------------
   Testimonials — dark band
   ---------------------------------------------------------------------------- */
.testimonials { background: var(--navy); }
.testimonials .eyebrow { color: var(--gold); }
.testimonials .section__title { color: #fff; }
.testimonials .section__intro { color: rgba(255, 255, 255, 0.78); }
.testimonials__intro {
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    font-weight: 300;
    color: #fff;
    max-width: 700px;
    margin-bottom: 58px;
}
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    /* break out of the centered container to span the full screen width */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-inline: 180px;
    align-items: stretch;
}
.quote {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.quote:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 197, 81, 0.5);
    background: rgba(255, 255, 255, 0.08);
}
.quote__stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; margin-bottom: 20px; }
.quote__text {
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 26px;
}
.quote__author { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 22px; }
.quote__name { font-weight: 600; color: #fff; font-size: 1.02rem; }
.quote__role { font-size: 0.82rem; color: var(--gold); letter-spacing: 0.04em; }

/* ----------------------------------------------------------------------------
   CTA band
   ---------------------------------------------------------------------------- */
.cta {
    background: var(--light-blue);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -90px; left: -70px;
    width: 340px; height: 340px;
    background: rgba(244, 197, 81, 0.16);
    transform: rotate(45deg);
    border-radius: 60px;
}
.cta__inner {
    position: relative;
    text-align: center;
    padding: 96px 0;
}
.cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.cta__text {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--body);
    max-width: 560px;
    margin: 0 auto 36px;
}
.cta .btn--solid {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 14px 34px rgba(4, 43, 76, 0.18);
}
.cta .btn--solid:hover { background: var(--gold-deep); }

/* ----------------------------------------------------------------------------
   Footer — flows directly out of the CTA into a deeper navy
   ---------------------------------------------------------------------------- */
.footer { background: #021d34; color: rgba(255, 255, 255, 0.7); }
.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 56px;
    align-items: start;
    padding: 72px 0 60px;
}
.footer__logo img {
    height: 38px;
    width: auto;
}
.footer__tagline {
    margin-top: 18px;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
    line-height: 1.6;
}
.footer__cols {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 36px;
}
.footer__heading {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.footer__text { font-size: 0.95rem; font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, 0.72); }
.footer__addr-line { display: block; white-space: nowrap; }
.footer__link { color: inherit; transition: color 0.25s var(--ease); }
.footer__link:hover { color: var(--gold); }

.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__bar p {
    padding: 26px 0;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    letter-spacing: 0.02em;
}

/* ----------------------------------------------------------------------------
   Back-to-top
   ---------------------------------------------------------------------------- */
.to-top {
    position: fixed;
    right: 26px; bottom: 26px;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gold);
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease), background 0.3s var(--ease);
    z-index: 800;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-deep); }
.to-top:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ----------------------------------------------------------------------------
   Standalone pages (no hero) — clear the fixed header
   ---------------------------------------------------------------------------- */
main.subpage { padding-top: var(--header-h); }

/* ----------------------------------------------------------------------------
   Contact page
   ---------------------------------------------------------------------------- */
.contact-section { background: var(--surface); }
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact__list {
    margin-top: 32px;
    display: grid;
    gap: 22px;
}
.contact__list li { display: grid; gap: 4px; }
.contact__label {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
}
.contact__list span:not(.contact__label) { color: var(--body); font-weight: 300; }

.contact__form {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    display: grid;
    gap: 18px;
}
.contact__field { display: grid; gap: 8px; }
.contact__field > span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
}
.contact__form input,
.contact__form textarea {
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 13px 15px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
    width: 100%;
}
.contact__form input:focus,
.contact__form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(244, 197, 81, 0.25);
}
.contact__form textarea { resize: vertical; min-height: 120px; }
.contact__form .btn { justify-self: start; margin-top: 4px; }

/* visually hidden honeypot */
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact__notice {
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
}
.contact__notice--ok  { background: rgba(34, 139, 84, 0.1); color: #1c7a4a; border: 1px solid rgba(34, 139, 84, 0.25); }
.contact__notice--err { background: rgba(190, 50, 50, 0.08); color: #9c2b2b; border: 1px solid rgba(190, 50, 50, 0.25); }

/* ----------------------------------------------------------------------------
   Reveal-on-scroll
   ---------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------------- */
@media (max-width: 960px) {
    .experience__grid { grid-template-columns: 1fr; }
    .testimonials__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .help__grid { grid-template-columns: repeat(2, 1fr); }
    .tools__grid { grid-template-columns: repeat(2, 1fr); padding-inline: 40px; }
    .about__inner { grid-template-columns: 1fr; gap: 56px; }
    .about__visual { min-height: 320px; }
    .why__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 40px; }
    .contact__inner { grid-template-columns: 1fr; gap: 40px; }

    /* Hero stacks: image becomes a soft full-bleed background behind the text */
    .hero__inner { grid-template-columns: 1fr; min-height: 100svh; }
    .hero__content {
        max-width: 640px;
        padding: calc(var(--header-h) + 56px) 0 64px;
    }
    .hero__media {
        position: absolute;
        inset: 0;
        margin: 0;
        z-index: 0;
    }
    .hero__media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: 60% top;
        margin: 0;
    }
    .hero__media::before {
        background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.93) 0%,
            rgba(255, 255, 255, 0.62) 50%,
            rgba(255, 255, 255, 0.40) 100%);
    }
}

@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        padding: 16px 28px 28px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s var(--ease), opacity 0.35s var(--ease);
    }
    .site-header.is-scrolled .nav { inset-block-start: var(--header-h-scrolled); }
    .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__link { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
    .nav__link::after { display: none; }
    .nav__cta { margin-top: 18px; width: 100%; }

    .section { padding: 80px 0; }
    .hero__content { padding: calc(var(--header-h) + 48px) 0 56px; }
    .help__grid { grid-template-columns: 1fr; }
    .tools__grid { grid-template-columns: 1fr; }
    .testimonials__grid { grid-template-columns: 1fr; }
    .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 420px) {
    .container { padding-inline: 20px; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
}

/* ----------------------------------------------------------------------------
   Reduced motion
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
