/* ==========================================================================
   Bar Max Services — Home Page styles (mobile-first)
   ========================================================================== */

:root {
    /* Brand palette */
    --primary: #0B2559;
    --navy: #0B1D30;
    --steel: #172B40;
    --orange: #F58220;
    --orange-ink: #A8530B;   /* darker brand orange for small text on white (AA) */
    --orange-soft: #FEF1E6;
    --white: #FFFFFF;
    --grey: #E9EDF1;
    --grey-soft: #F5F7F9;
    --slate: #343F4B;
    --muted: #5A6675;
    --border: #D9E0E7;

    --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(11, 29, 48, .06);
    --shadow: 0 10px 30px -12px rgba(11, 29, 48, .18);
    --container: 1200px;
    --gutter: 16px;
    --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--slate);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    color: var(--primary);
    font-family: var(--font-head);
    line-height: 1.2;
    letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.85rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }

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

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 46px;
    padding: .7rem 1.35rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: .975rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }

/* Navy label on orange keeps button text above WCAG AA contrast */
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #E8730F; box-shadow: 0 8px 18px -8px rgba(245, 130, 32, .65); }
.btn-primary:active { transform: translateY(1px); }

.btn-outline { background: var(--white); border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem 0;
    color: var(--primary);
    font-family: var(--font-head);
    font-weight: 700;
    text-decoration: none;
}
.link-arrow .icon { color: var(--orange); transition: transform .2s; }
.link-arrow:hover { color: var(--orange-ink); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .9rem;
    color: var(--orange-ink);
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 24px; height: 3px;
    border-radius: 2px;
    background: var(--orange);
}

.hl { color: var(--primary); box-shadow: inset 0 -.32em 0 rgba(245, 130, 32, .35); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }

@supports (backdrop-filter: blur(8px)) {
    .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand { display: inline-flex; padding: 6px 0; border-radius: 6px; }
.brand img { width: 170px; height: auto; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu panel */
.site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    padding: .75rem var(--gutter) 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }

.nav-list { display: flex; flex-direction: column; }
.nav-link {
    display: block;
    padding: .8rem .25rem;
    border-bottom: 1px solid var(--grey);
    color: var(--slate);
    font-family: var(--font-head);
    font-weight: 600;
    text-decoration: none;
}
.nav-link:hover { color: var(--primary); }
.nav-link.is-active { color: var(--primary); }
.nav-link.is-active::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    margin-right: .5rem;
    border-radius: 50%;
    background: var(--orange);
    vertical-align: middle;
}
.nav-cta { width: 100%; margin-top: 1rem; }

/* Services dropdown — mobile: accordion inside the menu panel */
.site-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.nav-item-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--grey); }
.nav-item-row .nav-link { flex: 1; border-bottom: 0; }
.sub-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
}
.sub-toggle:hover { background: var(--grey-soft); }
.sub-toggle .icon { transition: transform .2s; }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }

.sub-menu { display: none; padding: .5rem 0 1rem; }
.has-sub.is-open .sub-menu { display: block; }
.sub-group + .sub-group { margin-top: .75rem; }
.sub-label {
    margin: .5rem .25rem .35rem;
    color: var(--orange-ink);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.sub-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem .5rem;
    border-radius: 10px;
    color: var(--navy);
    text-decoration: none;
}
.sub-link:hover, .sub-link.is-active { background: var(--grey-soft); }
.sub-link strong { display: block; font-family: var(--font-head); font-size: .925rem; font-weight: 700; line-height: 1.3; }
.sub-link small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.sub-link.is-active strong { color: var(--orange-ink); }
.sub-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px; height: 36px;
    border-radius: 9px;
    background: var(--orange-soft);
    color: var(--orange-ink);
}
.sub-icon .icon { width: 18px; height: 18px; }
.sub-all {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: .75rem .5rem 0;
    color: var(--primary);
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}
.sub-all .icon { color: var(--orange); }
.sub-all:hover { color: var(--orange-ink); }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section--tight { padding-block: 48px; }
.section--grey { background: var(--grey-soft); }

.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head p:last-child { margin-bottom: 0; }
.section-head > p:not(.eyebrow) { font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-block: 40px 64px;
    background:
        radial-gradient(900px 420px at 100% 0%, rgba(11, 37, 89, .06), transparent 70%),
        var(--white);
}

.hero-grid { display: grid; gap: 48px; align-items: center; }

.hero h1 { margin-bottom: 1.1rem; color: var(--navy); }
.lead { max-width: 560px; margin-bottom: 1.75rem; font-size: 1.1rem; color: var(--slate); }

.hero-points {
    display: grid;
    gap: .55rem;
    margin-top: 1.75rem;
    font-size: .95rem;
    font-weight: 500;
}
.hero-points li { display: flex; align-items: center; gap: .55rem; }
.hero-points .icon {
    width: 22px; height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--orange-soft);
    color: var(--orange-ink);
    stroke-width: 2.5;
}

.hero-visual { position: relative; padding-bottom: 28px; }
.hero-sheet {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 30px 60px -30px rgba(11, 29, 48, .35), 0 0 0 1px rgba(11, 29, 48, .04);
    overflow: hidden;
}
.hero-sheet img { width: 100%; }

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: .85rem;
    line-height: 1.3;
}
.float-card strong { display: block; color: var(--navy); font-family: var(--font-head); }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-icon {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
}
.float-card--title { left: 12px; bottom: 0; }
.float-card--bbs { display: none; right: -12px; top: -18px; }
.float-card--bbs .float-icon { background: var(--orange); color: var(--navy); }

/* ---------- Services ---------- */
.service-group + .service-group { margin-top: 2.5rem; }

.group-label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .75rem;
    margin-bottom: 1.1rem;
    font-size: 1rem;
    color: var(--navy);
}
.group-label span { display: inline-flex; align-items: center; gap: .6rem; }
.group-label span::before {
    content: "";
    width: 10px; height: 10px;
    border-radius: 2px;
    background: var(--orange);
}
.group-label small { color: var(--muted); font-family: var(--font-body); font-size: .875rem; font-weight: 500; }

.card-grid { display: grid; gap: 1.25rem; }

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card::after {
    content: "";
    position: absolute;
    left: 1.6rem; right: 1.6rem; top: -1px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}
.service-card:hover { border-color: #C3CDD8; box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card:hover::after { transform: scaleX(1); }
.service-card h4 { color: var(--navy); }
.service-card p { color: var(--slate); font-size: .95rem; }

.card-icon {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    background: var(--orange-soft);
    color: var(--orange-ink);
}
.card-icon .icon { width: 24px; height: 24px; }

.card-meta {
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px dashed var(--border);
    color: var(--muted) !important;
    font-size: .8rem !important;
    font-weight: 600;
    letter-spacing: .02em;
}
.service-card .link-arrow { align-self: flex-start; font-size: .925rem; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-copy p { font-size: 1.025rem; }
.about-copy .link-arrow { margin-top: .5rem; }

.about-visual { position: relative; }

.exp-badge {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1rem;
    padding: .9rem 1.25rem;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}
.exp-badge strong { color: var(--orange); font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.exp-badge span { max-width: 7.5rem; font-size: .9rem; font-weight: 600; line-height: 1.3; }

.model-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--grey-soft);
}
.model-heading {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.model-row {
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}
.model-row h3 { margin-bottom: .35rem; font-size: 1.05rem; color: var(--navy); }
.model-row p { margin: 0; font-size: .925rem; }
.model-tag {
    display: inline-block;
    margin-bottom: .5rem;
    padding: .15rem .6rem;
    border-radius: 999px;
    background: var(--orange-soft);
    color: var(--orange-ink);
    font-size: .75rem;
    font-weight: 700;
}
.model-tag--alt { background: rgba(11, 37, 89, .08); color: var(--primary); }
.model-link {
    width: 2px; height: 22px;
    margin-left: 2rem;
    background: repeating-linear-gradient(var(--orange) 0 4px, transparent 4px 8px);
}

/* ---------- Highlights ---------- */
.highlights {
    border-block: 1px solid var(--border);
    background: var(--white);
}
.highlights-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.highlight {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.75rem 1rem;
    border-bottom: 1px solid var(--border);
}
.highlight:nth-child(odd) { border-right: 1px solid var(--border); }
.highlight:nth-last-child(-n + 2) { border-bottom: 0; }
.highlight strong {
    color: var(--primary);
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
}
.highlight strong::after {
    content: "";
    display: block;
    width: 28px; height: 3px;
    margin-top: .55rem;
    border-radius: 2px;
    background: var(--orange);
}
.highlight span { color: var(--muted); font-size: .9rem; line-height: 1.4; }

/* ---------- Why choose ---------- */
.why-grid { display: grid; gap: 1rem; }
.why-item {
    display: flex;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}
.why-item:hover { border-color: #C3CDD8; box-shadow: var(--shadow); }
.why-item h3 { margin-bottom: .35rem; font-size: 1.05rem; color: var(--navy); }
.why-item p { margin: 0; font-size: .95rem; }
.why-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
}
.why-icon .icon { width: 22px; height: 22px; }

/* ---------- Structures & industries ---------- */
.expertise-grid { display: grid; gap: 1.25rem; }
.panel {
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
}
.panel-title {
    margin-bottom: 1rem;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
}
.panel-title--spaced { margin-top: 2rem; }

.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-list li {
    padding: .45rem .85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--grey-soft);
    font-size: .875rem;
    font-weight: 500;
}

.format-list { display: grid; gap: .5rem; }
.format-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .25rem 1rem;
    padding: .7rem .9rem;
    border-left: 3px solid var(--orange);
    border-radius: 0 8px 8px 0;
    background: var(--grey-soft);
    font-size: .925rem;
}
.format-list strong { color: var(--navy); font-weight: 600; }
.format-list span { color: var(--muted); }

.industry-list { display: grid; gap: .6rem; }
.industry-list li {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .75rem .9rem;
    border: 1px solid var(--grey);
    border-radius: 10px;
    color: var(--navy);
    font-weight: 600;
    font-size: .95rem;
}
.industry-icon {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    flex: none;
    border-radius: 10px;
    background: var(--orange-soft);
    color: var(--orange-ink);
}

/* ---------- Process ---------- */
.process { display: grid; gap: 1rem; counter-reset: step; }
.process-step {
    position: relative;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}
.process-step h3 { margin-bottom: .4rem; font-size: 1.05rem; color: var(--navy); }
.process-step p { margin: 0; font-size: .95rem; }
.step-num {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    margin-bottom: 1rem;
    border: 2px solid var(--orange);
    border-radius: 50%;
    color: var(--primary);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .95rem;
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 2rem; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-grid .section-head .btn { margin-top: 1.25rem; }

.faq-list { display: grid; gap: .75rem; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: #C3CDD8; box-shadow: var(--shadow-sm); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 1rem 1.25rem;
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
    width: 30px; height: 30px;
    padding: 6px;
    border-radius: 50%;
    background: var(--orange-soft);
    color: var(--orange-ink);
    transition: transform .25s, background-color .2s;
}
.faq-item[open] summary .icon { transform: rotate(45deg); background: var(--orange); color: var(--navy); }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq-item p { margin: 0; padding: 0 1.25rem 1.2rem; font-size: .975rem; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    display: grid;
    gap: 1.5rem;
    padding: 2.25rem 1.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--navy) 0%, var(--primary) 100%);
    color: #DCE3EC;
    overflow: hidden;
}
.cta-band::before {
    /* subtle rebar-line motif */
    content: "";
    position: absolute;
    right: -40px; bottom: -40px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: repeating-linear-gradient(-45deg, rgba(245, 130, 32, .22) 0 3px, transparent 3px 16px);
    pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 700px; color: var(--white); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.cta-band p { margin: 0; max-width: 600px; }
.cta-band .btn { justify-self: start; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-grid .section-head { margin-bottom: 0; }

.send-list {
    margin-top: 1.75rem;
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}
.send-list h3 { margin-bottom: .8rem; font-size: 1rem; color: var(--navy); }
.send-list ul { display: grid; gap: .55rem; }
.send-list li { display: flex; gap: .6rem; font-size: .95rem; }
.send-list .icon { margin-top: .2rem; color: var(--orange-ink); stroke-width: 2.25; }

.contact-cards { display: grid; gap: .9rem; align-content: start; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}
.contact-card p { margin: 0; }
.contact-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--orange-soft);
    color: var(--orange-ink);
}
.contact-label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.contact-value {
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    word-break: break-word;
}
a.contact-value:hover { color: var(--orange-ink); text-decoration: underline; }

/* Shown until real details are added in includes/config.php */
.contact-card--placeholder { border-style: dashed; background: transparent; }
.contact-card--placeholder .contact-value { color: var(--muted); font-weight: 600; font-style: italic; }


/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B9C4D0; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.25rem; padding-block: 56px 40px; }

.footer-logo {
    display: inline-block;
    margin-bottom: 1.1rem;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--white);   /* logo has a white background — keep it on a white plate */
}
.footer-logo img { width: 190px; }
.footer-brand p { max-width: 360px; margin: 0; }

.footer-title {
    margin-bottom: 1rem;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.footer-title::after {
    content: "";
    display: block;
    width: 24px; height: 2px;
    margin-top: .5rem;
    background: var(--orange);
}
.footer-col ul { display: grid; gap: .5rem; }
.footer-col a { color: #D3DBE4; text-decoration: none; }
.footer-col a:hover { color: var(--orange); text-decoration: underline; }
.footer-col p { margin-bottom: 1rem; }
.footer-col .btn { color: var(--navy); text-decoration: none; }
.footer-col .btn:hover { color: var(--navy); text-decoration: none; }

.footer-contact { margin-bottom: 1.25rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer-contact .icon { margin-top: .2rem; color: var(--orange); }

.site-footer :focus-visible { outline-color: var(--orange); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: var(--steel); }
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding-block: 1.1rem;
    font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll (enhancement only) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 600px) {
    :root { --gutter: 24px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); }
    .industry-list { grid-template-columns: repeat(2, 1fr); }
    .hero-points { grid-template-columns: repeat(auto-fit, minmax(200px, auto)); gap: .6rem 1.5rem; }
    .float-card--bbs { display: flex; right: 12px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
    .cta-band { padding: 2.75rem; }
}

@media (min-width: 900px) {
    .section { padding-block: 88px; }
    .hero { padding-block: 64px 88px; }
    .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
    .hero-points { grid-template-columns: 1fr; }
    .float-card--title { left: -28px; bottom: -4px; }
    .float-card--bbs { right: -18px; }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
    .highlights-grid { grid-template-columns: repeat(4, 1fr); }
    .highlight { padding: 2.25rem 1.5rem; border-bottom: 0; border-right: 1px solid var(--border); }
    .highlight:last-child { border-right: 0; }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .expertise-grid { grid-template-columns: 1.2fr 1fr; }
    .process { grid-template-columns: repeat(4, 1fr); }
    .process-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 2.8rem;
        left: calc(1.5rem + 50px);
        right: -1rem;
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 12px);
    }
    .industry-list { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
    .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
    .cta-band { grid-template-columns: 1fr auto; align-items: center; gap: 2.5rem; padding: 3.25rem; }
    .contact-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; gap: 2.5rem; }
}

/* Desktop navigation */
@media (min-width: 1024px) {
    :root { --header-h: 80px; }
    .brand img { width: 250px; }
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 1.75rem;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }
    .nav-list { flex-direction: row; gap: .35rem; }
    .nav-link {
        position: relative;
        padding: .5rem .8rem;
        border: 0;
        border-radius: 8px;
        font-size: .95rem;
    }
    .nav-link:hover { background: var(--grey-soft); }
    .nav-link.is-active::before { display: none; }
    .nav-link.is-active::after {
        content: "";
        position: absolute;
        left: .8rem; right: .8rem; bottom: .15rem;
        height: 2px;
        border-radius: 2px;
        background: var(--orange);
    }
    .nav-cta { width: auto; margin: 0; }

    /* Services dropdown — desktop: panel on hover / focus / toggle */
    .site-nav { max-height: none; overflow: visible; }
    .has-sub { position: relative; }
    .nav-item-row { border: 0; }
    .nav-item-row .nav-link { padding-right: .2rem; }
    .sub-toggle { width: 28px; height: 32px; margin-left: -.1rem; }
    .has-sub:hover .sub-toggle .icon,
    .has-sub:focus-within .sub-toggle .icon { transform: rotate(180deg); }
    .sub-menu {
        position: absolute;
        top: calc(100% + 14px);
        left: 50%;
        display: grid;
        grid-template-columns: 1fr 1.35fr;
        gap: 1.25rem;
        width: 640px;
        padding: 1.25rem;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--white);
        box-shadow: 0 24px 48px -16px rgba(11, 29, 48, .28);
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px);
        transition: opacity .18s, transform .18s, visibility .18s;
    }
    .sub-menu::before { /* hover bridge between link and panel */
        content: "";
        position: absolute;
        left: 0; right: 0; top: -16px;
        height: 16px;
    }
    .has-sub:hover .sub-menu,
    .has-sub:focus-within .sub-menu,
    .has-sub.is-open .sub-menu {
        display: grid;
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
    .sub-group + .sub-group { margin-top: 0; }
    .sub-group:first-child { padding-right: 1.25rem; border-right: 1px solid var(--grey); }
    .sub-all { grid-column: 1 / -1; margin: 0; padding-top: .9rem; border-top: 1px solid var(--grey); }
}

@media (min-width: 1100px) {
    .industry-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}

/* Footer credit */
.credit-link { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.credit-link:hover { color: var(--orange); }
.footer-support strong { color: var(--white); font-family: var(--font-head); }
.footer-support .icon { color: var(--orange); }
.footer-person { display: grid; }
.footer-person small { color: #93A3B5; font-size: .8rem; }
.footer-person a { white-space: nowrap; }
