/* ==========================================================================
   KVG Advisors LLP — style.css
   Single stylesheet. Mobile-first. Sections:
     01. Design tokens
     02. Reset & base
     03. Accessibility helpers
     04. Layout primitives
     05. Typography & section headings
     06. Buttons
     07. Navigation
     08. Hero
     09. Facts strip
     10. Cards & grids
     11. Dark bands & features
     12. CTA band
     13. Page header banner & breadcrumb
     14. About: entity list & partners
     15. Services: alternating rows
     16. Contact: details, form, map
     17. Footer
     18. Responsive breakpoints (~640px, ~960px)
     19. Motion & print preferences
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
    /* Palette */
    --navy:      #0B1F3A;
    --navy-800:  #12294d;
    --navy-700:  #1b3866;
    --gold:      #C9A24B;
    --gold-light:#e0c07a;
    --ink:       #1a1a1a;
    --muted:     #5b6472;
    --bg:        #ffffff;
    --bg-alt:    #f4f6f9;
    --border:    #e3e8ef;

    /* Light text used on navy — meets AA against --navy */
    --on-dark:        #f2f5f9;
    --on-dark-muted:  #c2cbd8;

    /* Typography */
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    --fs-kicker: 0.75rem;
    --fs-small:  0.875rem;
    --fs-body:   1rem;
    --fs-lead:   1.125rem;
    --fs-h3:     1.25rem;
    --fs-h2:     1.75rem;
    --fs-h1:     2.25rem;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 5.5rem;

    /* Structure */
    --container:      1180px;
    --container-narrow: 820px;
    --radius:   6px;
    --radius-lg: 10px;

    --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
    --shadow-md: 0 6px 20px rgba(11, 31, 58, 0.08);
    --shadow-lg: 0 14px 38px rgba(11, 31, 58, 0.12);

    --nav-height: 72px;
    --transition: 180ms ease;
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* Keeps deep-linked service sections clear of the sticky navbar */
    scroll-padding-top: calc(var(--nav-height) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    color: var(--navy);
    margin: 0 0 var(--space-4);
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a {
    color: var(--navy-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--transition);
}
a:hover { color: var(--gold); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

address { font-style: normal; }

img, iframe { max-width: 100%; }

/* Visible focus ring everywhere — never removed, only restyled */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-radius: 2px;
}


/* ==========================================================================
   03. ACCESSIBILITY HELPERS
   ========================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px; left: var(--space-4);
    z-index: 200;
    padding: var(--space-3) var(--space-5);
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    border-radius: 0 0 var(--radius) var(--radius);
    text-decoration: none;
    transition: top var(--transition);
}
.skip-link:focus { top: 0; color: var(--navy); }


/* ==========================================================================
   04. LAYOUT PRIMITIVES
   ========================================================================== */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1 0 auto; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section         { padding-block: var(--space-7); }
.section--tight  { padding-block: var(--space-6); }
.section--alt    { background: var(--bg-alt); }

.text-center { text-align: center; }

/* Line break shown only on wider screens (used in the hero headline) */
.br-md { display: none; }


/* ==========================================================================
   05. TYPOGRAPHY & SECTION HEADINGS
   ========================================================================== */
.kicker {
    font-family: var(--font-sans);
    font-size: var(--fs-kicker);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 var(--space-3);
}
.kicker--light { color: var(--gold-light); }
.kicker__dot   { margin-inline: var(--space-2); opacity: 0.7; }

.section__title { font-size: var(--fs-h2); margin-bottom: var(--space-4); }

.section__sub {
    color: var(--muted);
    font-size: var(--fs-lead);
    max-width: 60ch;
}

.section__head { margin-bottom: var(--space-6); }
.section__head--light .section__title { color: var(--on-dark); }
.section__head--light .section__sub   { color: var(--on-dark-muted); }

.prose {
    color: var(--muted);
    font-size: var(--fs-lead);
    max-width: 68ch;
}

.note {
    font-size: var(--fs-small);
    color: var(--muted);
    margin-top: var(--space-3);
}
.note--center { text-align: center; }


/* ==========================================================================
   06. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-sans);
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition),
                color var(--transition),
                border-color var(--transition),
                transform var(--transition),
                box-shadow var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn i { font-size: 0.8em; }

.btn--block { width: 100%; }

.btn--primary {
    background: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
}
.btn--primary:hover {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn--gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}
.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}
.btn--outline:hover {
    background: var(--navy);
    color: #ffffff;
}

.btn--outline-light {
    background: transparent;
    border-color: rgba(242, 245, 249, 0.5);
    color: var(--on-dark);
}
.btn--outline-light:hover {
    background: var(--on-dark);
    border-color: var(--on-dark);
    color: var(--navy);
}


/* ==========================================================================
   07. NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition), background-color var(--transition);
}
/* Applied by main.js once the page scrolls past the threshold */
.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: var(--nav-height);
    position: relative;
}

/* --- Brand mark: text monogram, no image dependency --- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--navy);
}
.brand__mark {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: var(--radius);
    flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: inherit;
}
.brand__sub {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

/* --- Mobile toggle --- */
.nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--navy);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition);
}
.nav__toggle:hover { background: var(--bg-alt); border-color: var(--navy); }

/* Swap bars/cross icon based on the expanded state */
.nav__toggle .fa-xmark { display: none; }
.nav__toggle[aria-expanded="true"] .fa-bars   { display: none; }
.nav__toggle[aria-expanded="true"] .fa-xmark  { display: inline-block; }

/* --- Menu (mobile: collapsed panel below the bar) --- */
.nav__menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) 0 var(--space-5);
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.nav__menu.is-open { display: flex; }

.nav__link {
    display: block;
    padding: var(--space-3) var(--space-1);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.nav__link:hover        { color: var(--navy); border-bottom-color: var(--gold); }
.nav__link.active {
    color: var(--navy);
    font-weight: 600;
    border-bottom-color: var(--gold);
}

/* --- Contact link rendered as a filled navy button ---
   Declared after .nav__link.active so it wins on equal specificity and the
   button keeps its fill on the Contact page instead of the gold underline. */
.nav__link--btn,
.nav__link--btn.active {
    margin-top: var(--space-3);
    padding: 0.6rem 1.35rem;
    background: var(--navy);
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--navy);
    border-radius: var(--radius);
    transition: background-color var(--transition),
                border-color var(--transition),
                box-shadow var(--transition);
}
.nav__link--btn:hover,
.nav__link--btn.active:hover {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}
/* The active button is marked with a gold rule rather than a colour change */
.nav__link--btn.active { box-shadow: inset 0 -3px 0 var(--gold); }


/* ==========================================================================
   08. HERO
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 55%, #16325c 100%);
    color: var(--on-dark);
    padding-block: var(--space-8);
    position: relative;
    overflow: hidden;
}
/* Gold accent rule along the top edge */
.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(201, 162, 75, 0) 70%);
}

.hero__inner { max-width: 860px; }

.hero__title {
    font-size: var(--fs-h1);
    color: #ffffff;
    margin-bottom: var(--space-5);
    letter-spacing: -0.01em;
}

.hero__lead {
    font-size: var(--fs-lead);
    color: var(--on-dark-muted);
    max-width: 62ch;
    margin-bottom: var(--space-6);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}
/* Gold primary reads better than navy-on-navy inside the hero */
.hero .btn--primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}
.hero .btn--primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}


/* ==========================================================================
   09. FACTS STRIP
   ========================================================================== */
.intro__text {
    font-size: var(--fs-lead);
    color: var(--muted);
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}
.facts__item { display: flex; flex-direction: column; gap: var(--space-1); }
.facts__value {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
}
.facts__label {
    font-size: var(--fs-kicker);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}


/* ==========================================================================
   10. CARDS & GRIDS
   ========================================================================== */
.grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }

.card {
    display: flex;
    flex-direction: column;
    padding: var(--space-5);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 162, 75, 0.5);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    margin-bottom: var(--space-4);
    background: var(--bg-alt);
    color: var(--navy);
    border-radius: var(--radius);
    font-size: 1.2rem;
    transition: background-color var(--transition), color var(--transition);
}
.card:hover .card__icon { background: var(--navy); color: var(--gold); }

.card__title { font-size: var(--fs-h3); margin-bottom: var(--space-3); }

.card__text {
    color: var(--muted);
    font-size: var(--fs-small);
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    align-self: flex-start;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
}
.card__link i { transition: transform var(--transition); }
.card__link:hover { color: var(--gold); }
.card__link:hover i { transform: translateX(4px); }


/* ==========================================================================
   11. DARK BANDS & FEATURES
   ========================================================================== */
.band-dark {
    background: var(--navy);
    color: var(--on-dark);
}
.band-dark h2, .band-dark h3 { color: #ffffff; }

.feature__icon {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(201, 162, 75, 0.45);
    border-radius: var(--radius);
    color: var(--gold);
    font-size: 1.1rem;
}
.feature__title { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.feature__text  { color: var(--on-dark-muted); font-size: var(--fs-small); }


/* ==========================================================================
   12. CTA BAND
   ========================================================================== */
.cta {
    background: var(--navy-800);
    color: var(--on-dark);
    padding-block: var(--space-6);
    border-top: 3px solid var(--gold);
}
.cta__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    align-items: flex-start;
}
.cta__title { color: #ffffff; font-size: 1.5rem; margin-bottom: var(--space-2); }
.cta__text  { color: var(--on-dark-muted); margin: 0; }


/* ==========================================================================
   13. PAGE HEADER BANNER & BREADCRUMB
   ========================================================================== */
.page-header {
    background: var(--navy);
    color: var(--on-dark);
    padding-block: var(--space-6);
    border-bottom: 3px solid var(--gold);
}
.page-header__title { color: #ffffff; font-size: var(--fs-h1); margin: 0; }

.breadcrumb { margin-bottom: var(--space-3); }
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-size: var(--fs-small);
    color: var(--on-dark-muted);
}
.breadcrumb li + li::before {
    content: "/";
    margin-right: var(--space-2);
    color: var(--gold);
}
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #ffffff; }


/* ==========================================================================
   14. ABOUT: PARTNER CARDS
   ========================================================================== */
/* --- Partner cards: monogram avatars, no photography --- */
.partner {
    padding: var(--space-6) var(--space-5);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.partner__avatar {
    display: grid;
    place-items: center;
    width: 76px; height: 76px;
    margin: 0 auto var(--space-4);
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.partner__name { font-size: var(--fs-h3); margin-bottom: var(--space-1); }
.partner__role {
    font-size: var(--fs-kicker);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-3);
}
.partner__text { font-size: var(--fs-small); color: var(--muted); margin: 0; }


/* ==========================================================================
   15. SERVICES: ALTERNATING ROWS
   ========================================================================== */
.service { padding-block: var(--space-6); border-bottom: 1px solid var(--border); }
.service--alt { background: var(--bg-alt); }
.services-list .service:last-child { border-bottom: 0; }

.service__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    align-items: start;
}

.service__aside { display: flex; align-items: center; gap: var(--space-4); }

.service__icon {
    display: grid;
    place-items: center;
    width: 64px; height: 64px;
    background: var(--navy);
    color: var(--gold);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Step number: decorative, but kept dark enough to read clearly on both
   the white and --bg-alt row backgrounds. */
.service__index {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--muted);
    margin: 0;
}

.service__title { font-size: 1.5rem; margin-bottom: var(--space-3); }

.service__short {
    font-size: var(--fs-lead);
    font-weight: 500;
    color: var(--navy-700);
    margin-bottom: var(--space-3);
}
.service__long { color: var(--muted); margin-bottom: var(--space-4); max-width: 68ch; }


/* ==========================================================================
   16. CONTACT: DETAILS, FORM, MAP
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-7);
    align-items: start;
}

/* --- Detail list --- */
.detail-list { margin-top: var(--space-5); display: grid; gap: var(--space-5); }
.detail-list__item { display: flex; gap: var(--space-4); align-items: flex-start; }

.detail-list__icon {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    flex-shrink: 0;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--navy);
}
.detail-list__label {
    font-family: var(--font-sans);
    font-size: var(--fs-kicker);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 var(--space-1);
}
.detail-list p, .detail-list address { margin: 0; color: var(--ink); }

.hours { margin: 0; display: grid; gap: var(--space-1); }
.hours__row { display: flex; justify-content: space-between; gap: var(--space-4); max-width: 320px; }
.hours dt { color: var(--ink); }
.hours dd { margin: 0; color: var(--muted); }

/* --- Static form (no handler; mailto: fallback only) --- */
.contact-form-wrap {
    padding: var(--space-6) var(--space-5);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.form__title { font-size: 1.4rem; margin-bottom: var(--space-3); }
.form__intro { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--space-5); }

.form__row { margin-bottom: var(--space-4); }

.form__label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--navy);
}

.form__control {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: var(--fs-body);
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form__control::placeholder { color: #97a0ae; }
.form__control:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.08);
}
textarea.form__control { resize: vertical; min-height: 140px; }

/* --- Responsive map embed --- */
.map-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 300px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
}


/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.site-footer {
    background: var(--navy);
    color: var(--on-dark-muted);
    padding-top: var(--space-7);
    margin-top: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-6);
}

.brand--footer { color: #ffffff; margin-bottom: var(--space-4); }
.brand--footer .brand__mark { background: var(--gold); color: var(--navy); }
.brand--footer .brand__sub  { color: var(--on-dark-muted); }

.footer__blurb { font-size: var(--fs-small); margin-bottom: var(--space-4); max-width: 42ch; }
.footer__meta  { font-size: var(--fs-small); color: var(--on-dark-muted); opacity: 0.85; }

.footer__heading {
    font-family: var(--font-sans);
    font-size: var(--fs-kicker);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-4);
}

.footer__links { display: grid; gap: var(--space-2); }
.footer__links a {
    font-size: var(--fs-small);
    color: var(--on-dark-muted);
    text-decoration: none;
}
.footer__links a:hover { color: var(--gold); text-decoration: underline; }

.footer__contact { display: grid; gap: var(--space-3); font-size: var(--fs-small); }
.footer__contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer__contact i  { color: var(--gold); margin-top: 0.3rem; width: 1em; text-align: center; }
.footer__contact a  { color: var(--on-dark-muted); text-decoration: none; }
.footer__contact a:hover { color: var(--gold); text-decoration: underline; }

.footer__bar {
    padding-block: var(--space-4);
    border-top: 1px solid rgba(242, 245, 249, 0.15);
    font-size: var(--fs-small);
}
.footer__bar p { margin: 0 0 var(--space-2); }
.footer__dot { margin-inline: var(--space-2); color: var(--gold); }
.footer__disclaimer { font-size: 0.8125rem; opacity: 0.75; max-width: 70ch; }


/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ---------- ≥ 640px : small tablets ---------- */
@media (min-width: 640px) {
    :root {
        --fs-h1: 2.75rem;
        --fs-h2: 2rem;
    }

    .section        { padding-block: var(--space-8); }
    .section--tight { padding-block: var(--space-7); }

    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .facts             { grid-template-columns: repeat(4, 1fr); }

    .cta__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- ≥ 960px : desktop ---------- */
@media (min-width: 960px) {
    :root {
        --fs-h1: 3.25rem;
        --fs-h2: 2.25rem;
    }

    .container { padding-inline: var(--space-6); }

    .section        { padding-block: var(--space-9); }
    .section--tight { padding-block: var(--space-7); }

    .br-md { display: inline; }

    .hero { padding-block: var(--space-9); }

    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }

    /* --- Desktop navigation: horizontal, toggle hidden --- */
    .nav__toggle { display: none; }
    .nav__menu {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: var(--space-6);
        padding: 0;
        background: transparent;
        border-top: 0;
        box-shadow: none;
    }
    .nav__link       { padding: var(--space-2) 0; }

    /* Restore the button's own box once .nav__link's desktop padding resets it */
    .nav__link--btn,
    .nav__link--btn.active {
        margin-top: 0;
        padding: 0.6rem 1.35rem;
    }

    /* --- Services: two-column alternating rows --- */
    .service { padding-block: var(--space-8); }
    .service__inner {
        grid-template-columns: 320px 1fr;
        gap: var(--space-8);
        align-items: center;
    }
    .service__aside { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
    .service__icon  { width: 84px; height: 84px; font-size: 2rem; }
    .service__index { font-size: 3.5rem; }

    /* Flip the visual order on alternate rows without changing DOM order */
    .service--flip .service__aside { order: 2; align-items: flex-end; }
    .service--flip .service__body  { order: 1; }
    .service--flip .service__inner { grid-template-columns: 1fr 320px; }

    /* --- Contact: details + form side by side --- */
    .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
    .contact-form-wrap { padding: var(--space-7) var(--space-6); }

    /* --- Footer: 4 columns, brand column wider --- */
    .footer__grid { grid-template-columns: 1.5fr 1fr 1.4fr 1.3fr; gap: var(--space-7); }

    .footer__bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-5);
    }
    .footer__bar p { margin: 0; }
    .footer__disclaimer { text-align: right; max-width: 46ch; }
}


/* ==========================================================================
   19. MOTION & PRINT PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .btn:hover, .card:hover, .partner:hover { transform: none; }
}

@media print {
    .site-header, .nav, .cta, .skip-link, .map-wrap { display: none; }
    body { color: #000; background: #fff; }
    .hero, .page-header, .band-dark, .site-footer {
        background: #fff !important;
        color: #000 !important;
    }
    .hero__title, .page-header__title, .band-dark h2, .band-dark h3 { color: #000 !important; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
