/* ==========================================================================
   ANDRAOS CONSTRUCTION — Global Stylesheet
   --------------------------------------------------------------------------
   Author : Andraos Construction Web Team
   Stack  : HTML5 + Bootstrap 5.3 + jQuery 3.7
   Notes  : All design tokens are defined as CSS custom properties in :root.
            This file intentionally contains ALL styling for the site so that
            the HTML markup carries no inline styles (per code-review spec).

   TABLE OF CONTENTS
   -----------------
   1.  Design Tokens (:root)
   2.  Base / Reset
   3.  Typography helpers
   4.  Layout & spacing utilities
   5.  Media / image helpers
   6.  Buttons
   7.  Header — utility bar + main navigation
   8.  Page hero (interior pages)
   9.  Home hero (rotating slideshow)
   10. Cards — services, industries, projects
   11. Stats
   12. Service-area cards & location pages
   13. Reviews / pull-quote
   14. Forms
   15. Footer
   16. Mobile sticky CTA
   17. Scroll-reveal animation
   18. Responsive overrides
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    /* Brand colors — navy + brushed brass + slate neutrals */
    --color-navy-950: #060f1c;
    --color-navy-900: #0b1b2e;
    --color-navy-800: #102640;
    --color-accent: #c9a86a;
    --color-paper: #fafafa;
    --color-paper-warm: #f4f5f7;
    --color-slate-100: #e9ecf0;
    --color-slate-200: #d7dce3;
    --color-slate-300: #b8c0cb;
    --color-slate-400: #8993a3;
    --color-slate-500: #5f6b7e;
    --color-slate-600: #44505f;
    --color-slate-700: #2a323d;
    --color-ink: #0b1b2e;

    /* Typography */
    --font-display: "Newsreader", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

    /* Elevation */
    --shadow-lg: 0 24px 80px -20px rgba(11, 27, 46, 0.35);

    /* Layout */
    --header-offset: 140px;
    /* fixed-header clearance for anchored scrolling */
}


/* ==========================================================================
   2. BASE / RESET
   ========================================================================== */
body {
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-paper);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

::selection {
    background: var(--color-navy-900);
    color: #fff;
}

/* Visually-hidden helper for accessible labels (screen-reader only) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==========================================================================
   3. TYPOGRAPHY HELPERS
   ========================================================================== */
.ff-display {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.ff-mono {
    font-family: var(--font-mono);
}

/* Eyebrow — small mono label above headings */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-slate-500);
}

.eyebrow.on-dark {
    color: var(--color-slate-400);
}

/* Lede — intro paragraph */
.lede,
ul li {
    font-size: 17px;
    line-height: 1.55;
    color: var(--color-slate-600);
}

.lede.on-dark {
    color: var(--color-slate-300);
}

/* Display heading sizes (fluid) */
.display-2xl {
    font-size: clamp(40px, 6.4vw, 84px);
}

.display-xl {
    font-size: clamp(34px, 4.6vw, 60px);
}

.display-lg {
    font-size: clamp(28px, 3.4vw, 39px);
}

.display-md {
    font-size: clamp(22px, 2.6vw, 32px);
}

/* Color helpers */
.text-slate {
    color: var(--color-slate-500) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-ink {
    color: var(--color-ink) !important;
}

/* Numbered eyebrow used in service/industry cards */
.num-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--color-accent);
}


/* ==========================================================================
   4. LAYOUT & SPACING UTILITIES
   ========================================================================== */
/* Background helpers */
.bg-navy {
    background: var(--color-navy-900);
}

.bg-navy-deep {
    background: var(--color-navy-950);
}

.bg-warm {
    background: var(--color-paper-warm);
}

/* Standard vertical section rhythm */
.section {
    padding: 96px 0;
}

.section--tight {
    padding: 64px 0;
}

/* Max-width constraints for centered copy */
.maxw-18 {
    max-width: 18ch;
}

.maxw-20 {
    max-width: 20ch;
}

.maxw-22 {
    max-width: 22ch;
}

.maxw-46 {
    max-width: 46ch;
}

.maxw-48 {
    max-width: 48ch;
}

.maxw-50 {
    max-width: 50ch;
}

.maxw-56 {
    max-width: 56ch;
}

.maxw-58 {
    max-width: 58ch;
}

.maxw-60 {
    max-width: 60ch;
}

.maxw-62 {
    max-width: 62ch;
}

.maxw-30em {
    max-width: 30ch;
}

/* Hairline divider that respects dark sections */
.divider-top {
    border-top: 1px solid var(--color-slate-200);
}

.section.bg-navy .divider-top,
.bg-navy .divider-top {
    border-color: rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   5. MEDIA / IMAGE HELPERS
   ========================================================================== */
/* Subtle photographic treatment applied site-wide for tonal consistency */
.img-treat {
    filter: contrast(1.04) saturate(0.92);
}

/* Object-fit cover image that fills its container */
.media-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fixed aspect-ratio image wrappers */
.ratio-4-3 {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.ratio-4-5 {
    aspect-ratio: 4 / 5;
    object-fit: fill;
    width: 100%;
}

.ratio-16-9 {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

/* Focus the subject slightly above center (used on team photo) */
.obj-pos-top {
    object-position: center 30%;
}

/* Gradient caption bar overlaid on the bottom of a figure */
.about-caption {
    background: linear-gradient(180deg, transparent, rgba(6, 15, 28, 0.92));
}

/* Warranty badge (overlaid on the About / Why imagery) */
.warranty-badge-num {
    font-size: 40px;
}

.warranty-badge-unit {
    font-size: 0.5em;
    margin-left: 4px;
}

.warranty-badge-label {
    font-size: 10px;
    letter-spacing: 0.14em;
}


/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
    border-radius: 2px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 26px;
    transition: all 0.2s ease;
}

/* Solid navy — primary action on light backgrounds */
.btn-navy {
    background: var(--color-navy-900);
    color: #fff;
}

.btn-navy:hover {
    background: var(--color-navy-800);
    color: #fff;
}

/* White — primary action on dark backgrounds */
.btn-light-navy {
    background: #fff;
    color: var(--color-navy-900);
}

.btn-light-navy:hover {
    background: var(--color-accent);
    color: var(--color-navy-900);
}

/* Outline — secondary action on dark backgrounds */
.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Outline — secondary action on light backgrounds */
.btn-outline-navy {
    border: 1px solid var(--color-slate-300);
    color: var(--color-navy-900);
}

.btn-outline-navy:hover {
    border-color: var(--color-navy-900);
    color: var(--color-navy-900);
}

/* Trailing arrow that nudges right on hover */
.btn-arrow::after {
    content: "\2192";
    /* → */
    font-family: var(--font-body);
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}


/* ==========================================================================
   7. HEADER — UTILITY BAR + MAIN NAVIGATION
   ========================================================================== */
.main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    transition: background 0.3s ease;
}

/* Top utility strip — hours, phone, call-back */
.utility-bar {
    background: rgba(6, 15, 28, 0.95);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.utility-bar a {
    color: #fff;
}

.utility-bar .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #58c97e;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(88, 201, 126, 0.2);
}

.utility-cta {
    color: var(--color-accent) !important;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 11px;
}

/* Main bar */
.main-nav .navbar {
    padding: 14px 0;
}

.main-nav.is-solid,
.main-nav.is-scrolled {
    background: rgba(11, 27, 46, 0.97);
    backdrop-filter: blur(20px);
}

.main-nav.is-scrolled .utility-bar {
    display: none;
}

.brand-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    /* render navy logo as white on dark nav */
    transition: transform 0.2s ease;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 14px !important;
    text-shadow: 0 1px 12px rgba(6, 15, 28, 0.5);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-accent) !important;
}

/* Dropdown menus */
.dropdown-menu {
    border: 0;
    border-radius: 2px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    max-height: 70vh;
    overflow: auto;
}

.dropdown-item {
    font-size: 13px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 2px;
    color: var(--color-slate-700);
}

.dropdown-item:hover {
    background: var(--color-paper-warm);
    color: var(--color-navy-900);
}

/* Hamburger toggler */
.navbar-toggler {
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}


/* ==========================================================================
   8. PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
    position: relative;
    background: var(--color-navy-950);
    color: #fff;
    padding: 180px 0 80px;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: contrast(1.04) saturate(0.92);
}

.page-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 15, 28, 0.7), rgba(6, 15, 28, 0.92));
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(34px, 5vw, 68px);
    letter-spacing: -0.025em;
    line-height: 1.04;
    max-width: 18ch;
}

/* Breadcrumb */
.breadcrumb-mono {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb-mono a {
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb-mono a:hover {
    color: #fff;
}


/* ==========================================================================
   9. HOME HERO (rotating slideshow)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--color-navy-950);
    overflow: hidden;
    color: #fff;
}

/* Cross-fading background slides with slow Ken-Burns zoom */
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.6s ease;
    filter: contrast(1.04) saturate(0.92);
}

.hero__slide.is-active {
    opacity: 1;
    animation: heroKenBurns 9s ease-out forwards;
}

@keyframes heroKenBurns {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 15, 28, 0.45) 0%, rgba(6, 15, 28, 0.2) 40%, rgba(6, 15, 28, 0.95) 100%),
        linear-gradient(90deg, rgba(6, 15, 28, 0.55) 0%, rgba(6, 15, 28, 0) 70%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 160px;
    padding-bottom: 220px;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(38px, 5.6vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    max-width: 15ch;
}

/* 5-star rating chip */
.hero__rating {
    position: absolute;
    top: 130px;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero__stars {
    color: var(--color-accent);
    font-size: 14px;
    letter-spacing: 1px;
}

/* Bottom strip: tagline + quick service cards */
.hero__foot {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 3;
    padding-top: 28px;
    padding-bottom: 40px;
    background: linear-gradient(0deg, rgba(6, 15, 28, 0.7), transparent);
}

.hero__tag-line {
    width: 56px;
    height: 1px;
    background: var(--color-accent);
}

.hero__quick {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: #fff;
    transition: all 0.2s ease;
}

.hero__quick:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #fff;
}

.hero__quick img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    flex-shrink: 0;
    filter: contrast(1.05) saturate(0.92);
}

.hero__quick-label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
}

.hero__quick-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.65);
}


/* ==========================================================================
   10. CARDS — SERVICES, INDUSTRIES, PROJECTS
   ========================================================================== */
/* Service card */
.svc-card {
    background: transparent;
    height: 100%;
}

.svc-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    filter: contrast(1.04) saturate(0.92);
}

.svc-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 26px;
    letter-spacing: -0.02em;
    margin-top: 20px;
}

/* Keyword tag chip */
.tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 9px;
    border: 1px solid;
    display: inline-block;
}

.bg-navy .tag,
.page-hero .tag {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

body:not(.is-dark-page) .section:not(.bg-navy) .tag {
    background: var(--color-paper-warm);
    border-color: var(--color-slate-200);
    color: var(--color-slate-600);
}

/* Industry tile */
.industry {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.industry img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.04) saturate(0.92);
}

.industry__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(180deg, transparent, rgba(11, 27, 46, 0.9));
    color: #fff;
}

.industry h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 0;
}

/* Project tile */
.proj {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.proj img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: contrast(1.04) saturate(0.92);
}

.proj:hover img {
    transform: scale(1.05);
}

.proj__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(180deg, transparent 45%, rgba(6, 15, 28, 0.9));
    color: #fff;
}

.proj__cat {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.proj__name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.02em;
    margin-top: 4px;
}

/* Gallery filter buttons */
.filter-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: #fff;
    color: var(--color-navy-900);
    border-color: #fff;
}

body:not(.is-dark-page) .filter-btn {
    border-color: var(--color-slate-300);
    color: var(--color-slate-600);
}

body:not(.is-dark-page) .filter-btn.active {
    background: var(--color-navy-900);
    color: #fff;
    border-color: var(--color-navy-900);
}


/* ==========================================================================
   11. STATS
   ========================================================================== */
.stat-num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(40px, 4.4vw, 60px);
    letter-spacing: -0.025em;
    line-height: 1;
}

.stat-num .unit {
    color: var(--color-accent);
    font-size: 0.5em;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-slate-500);
    margin-top: 12px;
}


/* ==========================================================================
   12. SERVICE-AREA CARDS & LOCATION PAGES
   ========================================================================== */
.area-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px;
    height: 100%;
    background: #fff;
    border: 1px solid var(--color-slate-200);
    transition: all 0.2s ease;
}

.area-card:hover {
    border-color: var(--color-navy-900);
    transform: translateY(-2px);
}

.area-card__name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.01em;
    color: var(--color-navy-900);
}

.area-card__meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-slate-500);
    margin-top: 3px;
}

.area-card__arrow {
    color: var(--color-slate-400);
    transition: transform 0.2s ease;
}

.area-card:hover .area-card__arrow {
    color: var(--color-navy-900);
    transform: translateX(4px);
}

/* Nearby-cities cards sit on a dark section — invert colors */
.bg-navy .area-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.bg-navy .area-card:hover {
    border-color: #fff;
}

.bg-navy .area-card__name {
    color: #fff;
}

/* Location-page service checklist */
.location-services {
    list-style: none;
    padding: 0;
    columns: 2;
}

.location-services li {
    font-size: 14px;
    color: var(--color-slate-700);
    padding-left: 16px;
    position: relative;
    margin-bottom: 8px;
    break-inside: avoid;
}

.location-services li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 1.5px;
    background: var(--color-accent);
}

/* Location-page service link card */
.svc-link-card {
    display: block;
    text-decoration: none;
    padding: 28px;
    height: 100%;
    background: #fff;
    border: 1px solid var(--color-slate-200);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.svc-link-card:hover {
    border-color: var(--color-navy-900);
    transform: translateY(-2px);
}

.svc-link-card h3 {
    font-family: var(--font-display);
    margin-top: 8px;
    font-size: 20px;
    color: var(--color-ink);
}

/* Anchored sections clear the fixed header */
.anchor-offset {
    scroll-margin-top: var(--header-offset);
}


/* ==========================================================================
   13. REVIEWS / PULL-QUOTE
   ========================================================================== */
.pullquote {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.32;
    letter-spacing: -0.015em;
    color: #fff;
}

.review-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.review-dot {
    width: 28px;
    height: 2px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease;
}

.review-dot.is-active {
    background: #fff;
}


/* ==========================================================================
   14. FORMS
   ========================================================================== */
.form-control,
.form-select {
    border-radius: 2px;
    border: 1px solid var(--color-slate-200);
    padding: 12px 14px;
    font-size: 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-navy-900);
    box-shadow: none;
}

.field-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-slate-500);
    margin-bottom: 6px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--color-accent);
    font-size: 16px;
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
    background: var(--color-navy-950);
    color: #fff;
    padding: 80px 0 32px;
}

.site-footer h2 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-bottom: 18px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    display: block;
    padding: 5px 0;
}

.footer-link:hover {
    color: #fff;
}

.footer-legal {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   16. MOBILE STICKY CTA
   ========================================================================== */
.mobile-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1040;
    display: none;
    /* shown < 768px via responsive block */
}

.mobile-cta a {
    flex: 1;
    padding: 14px;
    text-align: center;
    color: #fff;
    background: var(--color-navy-900);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
}

.mobile-cta a.is-primary {
    background: var(--color-accent);
    color: var(--color-navy-900);
}


/* ==========================================================================
   17. SCROLL-REVEAL ANIMATION
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

ul.dropdown-menu.service-area-dropdown.show hr {
    margin: 8px 0px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero__slide.is-active {
        animation: none;
    }
}


/* ==========================================================================
   18. SERVICE DETAIL / BLOG / FAQ COMPONENTS
   ========================================================================== */

/* ---- Generic content sidebar (shared) ---- */
.sidebar-card {
    background: #fff;
    border: 1px solid var(--color-slate-200);
    padding: 28px;
    margin-bottom: 24px;
}

.sidebar-card__title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-slate-500);
    margin-bottom: 18px;
}

/* Sidebar CTA card (dark) */
.sidebar-cta {
    background: var(--color-navy-900);
    color: #fff;
    padding: 32px 28px;
}

.sidebar-cta h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -0.015em;
    line-height: 1.1;
    color: #ffffff;
}

/* ---- Service-detail: service nav list ---- */
.service-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-slate-200);
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--color-slate-600);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.service-nav-link:last-child {
    border-bottom: 0;
}

.service-nav-link span {
    color: var(--color-slate-300);
    transition: transform 0.2s ease;
}

.service-nav-link:hover {
    color: var(--color-navy-900);
    padding-left: 6px;
}

.service-nav-link:hover span {
    color: var(--color-accent);
    transform: translateX(4px);
}

.service-nav-link.active {
    color: var(--color-navy-900);
    font-weight: 600;
}

.service-nav-link.active span {
    color: var(--color-accent);
}

/* ---- Service-detail: "what's included" checklist ---- */
.included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.included-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--color-slate-700);
}

.included-list li::before {
    content: "\2713";
    /* check */
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 13px;
}

/* ---- Service-detail: process steps ---- */
.process-step {
    background: #fff;
    border: 1px solid var(--color-slate-200);
    border-top: 3px solid var(--color-accent);
    padding: 28px 24px;
}

/* ---- Blog cards ---- */
.blog-card {
    background: #fff;
    border: 1px solid var(--color-slate-200);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.blog-card__media {
    position: relative;
    display: block;
    overflow: hidden;
}

.blog-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: contrast(1.04) saturate(0.92);
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.05);
}

.blog-card__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-navy-900);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 10px;
}

.blog-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.018em;
    line-height: 1.15;
    margin: 8px 0 12px;
}

.blog-card__title a {
    color: var(--color-ink);
}

.blog-card__title a:hover {
    color: var(--color-navy-800);
}

.blog-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-slate-500);
    margin: 0;
}

.read-more {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-navy-900);
    font-weight: 600;
    margin-top: auto;
    padding-top: 8px;
}

.read-more::after {
    content: " \2192";
    transition: all 0.2s ease;
}

.read-more:hover {
    color: var(--color-accent);
}

/* ---- Blog sidebar: recent posts ---- */
.recent-post {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-slate-200);
}

.recent-post:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.recent-post:first-child {
    padding-top: 0;
}

.recent-post img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
    filter: contrast(1.04) saturate(0.92);
}

.recent-post__title {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.25;
    color: var(--color-ink);
    transition: color 0.2s ease;
}

.recent-post:hover .recent-post__title {
    color: var(--color-navy-800);
}

.recent-post__date {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-slate-500);
    margin-top: 4px;
}

/* ---- Blog sidebar: categories ---- */
.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-slate-200);
    font-size: 15px;
    color: var(--color-slate-700);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.category-link:last-child {
    border-bottom: 0;
}

.category-link:hover {
    color: var(--color-navy-900);
    padding-left: 6px;
}

.category-count {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-slate-500);
    background: var(--color-paper-warm);
    padding: 2px 9px;
    border-radius: 10px;
}

/* ---- Blog detail: article body typography ---- */
.post-body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-slate-700);
}

.post-body p {
    margin-bottom: 24px;
}

.post-body h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 28px;
    letter-spacing: -0.018em;
    color: var(--color-ink);
    margin: 40px 0 16px;
}

.post-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: contrast(1.04) saturate(0.92);
    margin-bottom: 32px;
}

.post-category-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-navy-900);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 12px;
}

/* ---- FAQ accordion ---- */
.faq-group {
    margin-bottom: 56px;
}

.faq-group:last-child {
    margin-bottom: 0;
}

.faq-group__title {
    letter-spacing: -0.02em;
}

.accordion-item {
    border: 1px solid var(--color-slate-200);
    border-radius: 0 !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-button {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--color-ink);
    padding: 22px 24px;
    background: #fff;
}

.accordion-button:not(.collapsed) {
    color: var(--color-navy-900);
    background: var(--color-paper-warm);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--color-slate-300);
}

.accordion-button::after {
    width: 1.1rem;
    height: 1.1rem;
    background-size: 1.1rem;
}

.accordion-body {
    padding: 4px 24px 24px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--color-slate-600);
}

/* ---- FAQ category quick-links ---- */
.faq-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--color-slate-300);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-slate-700);
    transition: all 0.2s ease;
}

.faq-jump:hover {
    border-color: var(--color-navy-900);
    color: var(--color-navy-900);
}

/* ==========================================================================
   19. TEAM BIOS (About page)
   ========================================================================== */
.team-card {
    background: #fff;
    border: 1px solid var(--color-slate-200);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Real headshot */
.team-card__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: contrast(1.04) saturate(0.92);
}

/* Initials monogram fallback (used until a real headshot is supplied) */
.team-card__monogram {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: var(--color-navy-900);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(48px, 7vw, 72px);
    letter-spacing: -0.02em;
}

/* Subtle striped texture so the monogram reads as an intentional placeholder */
.team-card__monogram {
    background-image:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px);
    background-color: var(--color-navy-900);
}

.team-card__body {
    padding: 24px;
}

.team-card__name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.018em;
    color: var(--color-ink);
    margin: 0;
}

.team-card__role {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 6px 0 14px;
}

.team-card__bio {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--color-slate-600);
    margin: 0;
}


/* ==========================================================================
   20. BRAND / CLIENT STRIP ("Companies We've Worked With" — home)
   ========================================================================== */
.brand-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 110px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--color-slate-200);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.brand-tile:hover {
    border-color: var(--color-navy-900);
    transform: translateY(-2px);
}

/* Real client logo */
.brand-logo-img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.brand-tile:hover .brand-logo-img {
    filter: grayscale(0);
    opacity: 1;
}

/* Wordmark fallback (used until a real logo file is supplied) */
.brand-wordmark {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--color-slate-500);
    text-align: center;
    line-height: 1.15;
    transition: color 0.2s ease;
}

.brand-tile:hover .brand-wordmark {
    color: var(--color-navy-900);
}



/* ==========================================================================
   18. RESPONSIVE OVERRIDES
   ========================================================================== */

/* Tablet & below — collapse the home hero from absolute to natural flow */
@media (max-width: 991.98px) {

    .hero,
    .hero__inner {
        min-height: auto;
    }

    .hero__inner {
        padding-top: 150px;
        padding-bottom: 60px;
    }

    .hero__rating {
        position: static;
        margin-bottom: 24px;
        display: inline-flex;
    }

    .hero__foot {
        position: static;
        padding-top: 36px;
        background: linear-gradient(180deg, transparent, rgba(6, 15, 28, 0.5));
    }
}

/* Mobile — section padding + sticky CTA + body padding for the CTA bar */
@media (max-width: 767.98px) {
    .section {
        padding: 64px 0;
    }

    .mobile-cta {
        display: flex;
    }

    body {
        padding-bottom: unset;
    }

    .location-services {
        columns: 1;
    }
}

@media screen and (max-width:575px) {

    .g-5,
    .gx-5 {
        --bs-gutter-x: 1rem;
    }
}

@media (max-width: 767.98px) {
    .mobile-cta {
        display: flex !important;
    }
}

@media screen and (max-width: 991px) {
    .abt-img img {
        height: 50vh !important;
        object-fit: cover;
    }

    .and-abt img {
        min-height: 500px !important;
    }
}

@media screen and (max-width: 600px) {

    .and-abt img,
    .abt-img img {
        height: 39vh !important;
    }
}

@media screen and (max-width: 481px) {

    .and-abt img,
    .abt-img img {
        height: 30vh !important;
    }

    .and-abt img {
        min-height: 267px !important;
        object-fit: cover !important;
    }

    .team-card__monogram img {
        height: 460px !important;
    }
}

@media screen and (max-width: 1440px) {
    .and-abt img {
        min-height: 645px;
    }
}

@media screen and (max-width: 1200px) {
    .team-card__monogram img {
        height: 40vh !important;
    }
}

@media screen and (max-width: 1199px) {
    .built-abt {
        display: block;
    }

    .abt-img,
    .abt-content {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .team-card__monogram img {
        height: 62vh !important;
    }
}

.mobile-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1040;
    display: none;
}

.team-card__monogram img {
    height: 53vh;
    object-fit: cover;
    object-position: top center;
}

.and-abt img {
    aspect-ratio: unset;
}

@media screen and (max-width:375px) {
    .and-abt {
        height: 271px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .company {
        margin: unset;
        height: 490px;
    }

    .company img {
        height: 100% !important;
    }

    .abt-content {
        margin-top: 5px;
    }

    .stat-num {
        font-size: clamp(40px, 3.2vw, 60px);
    }

    .display-lg {
        font-size: clamp(28px, 2.1vw, 39px);
    }

    .divider-top {
        padding-top: 0rem !important;
    }
}