/* ==========================================================================
   PEARCE PROPERTY SERVICES — style-custom.css
   FULL CUSTOM BUILD — Zero Bootstrap Dependency
   ─────────────────────────────────────────────────────────────────────────
   Design: Premium construction / architectural aesthetic.
   Dark confident surfaces, red + gold accents, glass-morphism cards,
   smooth micro-interactions, custom grid, custom accordion, custom nav.
   Fonts: Oswald (display, self-hosted) + Inter/system stack (body)
   ========================================================================== */


/* ==========================================================================
   0. SELF-HOSTED FONTS
   ========================================================================== */

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Light.woff2') format('woff2'),
         url('../fonts/Oswald-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Regular.woff2') format('woff2'),
         url('../fonts/Oswald-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Medium.woff2') format('woff2'),
         url('../fonts/Oswald-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-SemiBold.woff2') format('woff2'),
         url('../fonts/Oswald-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Bold.woff2') format('woff2'),
         url('../fonts/Oswald-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: optional;
}

/* Metric-adjusted fallback — matches Oswald's box so font-display:swap
   doesn't cause layout shift before Oswald loads. */
@font-face {
    font-family: 'Oswald Fallback';
    src: local('Arial'), local('Liberation Sans');
    size-adjust: 82.13%;
    ascent-override: 145.27%;
    descent-override: 36.53%;
    line-gap-override: 0%;
}


/* ==========================================================================
   1. RESET
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}
body {
    font-family: var(--font-body);
    color: #333;
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
}
img        { max-width: 100%; height: auto; display: block; }
a          { color: inherit; text-decoration: none; }
ul, ol     { list-style: none; }
address    { font-style: normal; }
button     { font: inherit; cursor: pointer; border: none; background: none; }
blockquote { margin: 0; }


/* ==========================================================================
   2. DESIGN TOKENS
   ========================================================================== */

:root {
    /* Brand */
    --red:            #cc0000;
    --red-dark:       #a00000;
    --red-glow:       rgba(204,0,0,0.4);
    --red-subtle:     rgba(204,0,0,0.08);
    --gold:           #FFC300;
    --gold-dark:      #e6b200;
    --gold-glow:      rgba(255,195,0,0.3);

    /* Surfaces */
    --dark:           #0f1113;
    --dark-surface:   #161a1d;
    --light:          #f2f2f2;
    --white:          #ffffff;

    /* Typography */
    --font-display:   'Oswald', 'Oswald Fallback', sans-serif;
    --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    /* Layout */
    --section-py:     clamp(3rem, 6vw, 5.5rem);
    --container-max:  1200px;
    --container-px:   clamp(1rem, 3vw, 2rem);
    --gap:            1.5rem;
    --header-overlay-height: 135px;

    /* Motion */
    --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition:     0.3s var(--ease);
    --transition-lift: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);

    /* Shadows */
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:      0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg:      0 14px 40px rgba(0,0,0,0.18);
    --shadow-dark:    0 4px 20px rgba(0,0,0,0.30);
    --shadow-dark-lg: 0 14px 40px rgba(0,0,0,0.45);

    /* Glass */
    --glass-bg:            rgba(255,255,255,0.07);
    --glass-bg-hover:      rgba(255,255,255,0.12);
    --glass-border:        rgba(255,255,255,0.10);
    --glass-border-hover:  rgba(255,255,255,0.25);
    --glass-blur:          blur(14px);

    /* Gradients */
    --grad-red:       linear-gradient(90deg, transparent, var(--red), transparent);
    --grad-red-soft:  linear-gradient(90deg, transparent, rgba(204,0,0,0.45), transparent);
    --grad-divider-v: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);

    /* Radii */
    --radius:      0.75rem;
    --radius-sm:   0.5rem;
    --radius-pill: 50rem;
}


/* ==========================================================================
   3. CUSTOM GRID SYSTEM
   ========================================================================== */

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

.container-fluid {
    width: 100%;
    padding-inline: var(--container-px);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: calc(var(--gap) / -2);
}

.row > * {
    padding-inline: calc(var(--gap) / 2);
    width: 100%;
    min-width: 0;
}

.row.g-3 { gap: 1rem 0; margin-inline: -0.5rem; }
.row.g-3 > * { padding-inline: 0.5rem; }
.row.g-4 { gap: 1.5rem 0; margin-inline: calc(var(--gap) / -2); }
.row.g-5 { gap: 2rem 0; }

.col-4   { width: 33.333%; }
.col-6   { width: 50%; }
.col-12  { width: 100%; }

@media (min-width: 576px) {
    .col-sm-4 { width: 33.333%; }
    .col-sm-6 { width: 50%; }
}

@media (min-width: 768px) {
    .col-md-4  { width: 33.333%; }
    .col-md-6  { width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-2  { width: 16.666%; }
    .col-lg-3  { width: 25%; }
    .col-lg-4  { width: 33.333%; }
    .col-lg-5  { width: 41.666%; }
    .col-lg-6  { width: 50%; }
    .col-lg-7  { width: 58.333%; }
    .col-lg-8  { width: 66.666%; }
    .col-lg-9  { width: 75%; }
    .col-lg-10 { width: 83.333%; }
}

@media (min-width: 1200px) {
    .col-xl-8 { width: 66.666%; }
}

.align-center    { align-items: center; }
.align-start     { align-items: flex-start; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }


/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.15;
    overflow-wrap: break-word;
}

.display-2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.display-5 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
.display-6 { font-size: clamp(1.35rem, 3vw, 2rem); }

.lead {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.65;
    font-weight: 400;
}

.fw-bold      { font-weight: 700; }
.fw-semibold  { font-weight: 600; }
.text-upper   { text-transform: uppercase; }
.ls-1         { letter-spacing: 1px; }
.ls-2         { letter-spacing: 2px; }
.ls-wide      { letter-spacing: 0.15em; }
.text-center  { text-align: center; }
.text-muted   { color: #6c757d; }
.text-dark    { color: var(--dark); }
.text-white   { color: var(--white); }
.text-red     { color: var(--red); }
.text-gold    { color: var(--gold); }
.small        { font-size: 0.875rem; }
.max-w-600    { max-width: 600px; }
.max-w-700    { max-width: 700px; }
.max-w-750    { max-width: 750px; }
.mx-auto      { margin-inline: auto; }


/* ==========================================================================
   5. SECTION & LAYOUT UTILITIES
   ========================================================================== */

section {
    padding-block: var(--section-py);
    overflow-x: hidden;
}

.bg-dark     { background-color: var(--dark); }
.bg-light    { background-color: var(--light); }
.bg-white    { background-color: var(--white); }
.border-top-subtle { border-top: 1px solid rgba(255,255,255,0.08); }

.section-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.section-heading-wrap {
    position: relative;
    display: inline-block;
}

.section-rule {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--grad-red);
}

.section-intro {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.65;
    opacity: 0.85;
}

.section-header { margin-bottom: 2.5rem; }


/* ==========================================================================
   6. ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes revealLine {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   7. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.btn:hover::before { width: 400px; height: 400px; }

.btn-red {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
}
.btn-red:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--red-glow);
}

.btn-red-lg {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
}
.btn-red-lg:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--red-glow);
}

.btn-gold {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
}
.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    background: transparent;
    backdrop-filter: blur(5px);
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
}
.btn-outline-white:hover {
    background: var(--white);
    color: #000;
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.btn-outline-white-sm {
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    background: transparent;
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
}
.btn-outline-white-sm:hover {
    background: var(--white);
    color: #000;
    border-color: var(--white);
    transform: translateY(-2px);
}


/* ==========================================================================
   8. MOBILE STICKY CTA
   ========================================================================== */

.mobile-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1040;
    display: flex;
    height: 58px;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.4);
}

.mobile-cta__call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--dark);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background var(--transition);
}
.mobile-cta__call:hover { background: #000; }
.mobile-cta__call i     { color: var(--red); }

.mobile-cta__quote {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background var(--transition);
}
.mobile-cta__quote:hover { background: var(--red-dark); }

@media (min-width: 992px) {
    .mobile-cta { display: none; }
}
@media (max-width: 991.98px) {
    body { padding-bottom: 58px; }
}


/* ==========================================================================
   9. TOP BAR
   ========================================================================== */

/* Fixed header overlay — top bar + nav float over the hero */
.site-header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: background 0.3s ease;
}

/* On scroll the whole header gets the frosted fill, edge to edge,
   so there is no seam between the folding top bar and the nav, and
   nothing can bleed through the top */
.site-header-overlay.is-scrolled {
    background: rgba(15,17,19,0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

/* Light top scrim — glass nav now does most of the legibility work,
   so this is just a subtle safety gradient */
.site-header-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.site-header-overlay.is-scrolled::before {
    opacity: 0;
}

.top-bar {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-block: 0.5rem;
    font-size: 0.85rem;
    position: relative;
    z-index: 1031;
    transition: background 0.3s ease, border-color 0.3s ease, max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

/* Once scrolled, fold the top bar away so only the frosted nav remains */
.top-bar.is-hidden {
    max-height: 0;
    padding-block: 0;
    opacity: 0;
    overflow: hidden;
    border-color: transparent;
    pointer-events: none;
}

.top-bar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .top-bar__inner { justify-content: space-between; }
}

.top-bar__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar__social a {
    color: #fff;
    opacity: 0.55;
    transition: all var(--transition);
}
.top-bar__social a:hover { opacity: 1; color: var(--red); }

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    opacity: 0.8;
    transition: all var(--transition);
}
.top-bar__link:hover { opacity: 1; color: var(--red); }
.top-bar__link i     { color: var(--red); }

/* Reserve icon box width so Font Awesome icons don't shift layout when the
   async FA stylesheet loads (CLS guard for above-the-fold icons). */
.top-bar__social a,
.top-bar__link i,
.trust-bar__label i { display: inline-block; width: 1em; text-align: center; }

.top-bar__link--email { display: none; }
@media (min-width: 768px) {
    .top-bar__link--email { display: flex; }
}


/* ==========================================================================
   10. NAVIGATION
   ========================================================================== */

.site-nav {
    position: relative;
    z-index: 1030;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav.is-scrolled {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-nav__logo img { height: 70px; width: auto; }

.site-nav__menu {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 992px) {
    .site-nav__menu { display: flex; }
}

.site-nav__menu > a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    transition: color var(--transition);
}

.site-nav__menu > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--red);
    transition: width var(--transition);
}

.site-nav__menu > a:hover { color: var(--red); }
.site-nav__menu > a:hover::after { width: 100%; }
.site-nav__menu > a.active { color: var(--red); }
.site-nav__menu > a.active::after { width: 100%; }

.nav-dropdown { position: relative; }

.nav-dropdown__toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color var(--transition);
    cursor: pointer;
}
.nav-dropdown__toggle:hover { color: var(--red); }
.nav-dropdown__toggle.active { color: var(--red); }

.nav-dropdown__toggle .caret {
    font-size: 0.55rem;
    transition: transform var(--transition);
}

.nav-dropdown__menu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 280px;
    background: var(--dark-surface);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s var(--ease);
    z-index: 1050;
    box-shadow: var(--shadow-dark-lg);
}

.nav-dropdown.open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown.open .caret { transform: rotate(180deg); }

.nav-dropdown__menu a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.25rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition);
    position: relative;
}
.nav-dropdown__menu a::after { display: none; }
.nav-dropdown__menu a:hover { color: var(--red); background: rgba(204,0,0,0.06); }
.nav-dropdown__menu a.dropdown-active { color: var(--red); background: rgba(204,0,0,0.08); }
.nav-dropdown__menu a i { font-size: 0.8rem; color: var(--red); width: 1.2em; text-align: center; }

.nav-dropdown__divider { height: 1px; background: rgba(255,255,255,0.08); margin: 0.35rem 0; }
.nav-dropdown__menu .all-services { color: var(--gold); }

.nav-cta { margin-left: 1rem; }
.nav-cta .btn { padding: 0.6rem 1.5rem; font-size: 0.8rem; }

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px; height: 28px;
    cursor: pointer;
    z-index: 1060;
}

.hamburger span {
    display: block;
    width: 100%; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 992px) { .hamburger { display: none; } }

.mobile-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(85vw, 380px);
    height: 100vh;
    height: 100dvh;
    background: var(--dark-surface);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0,0,0,0.5);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
}

.mobile-nav__overlay.open { opacity: 1; visibility: visible; }

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.mobile-nav__logo img { height: 40px; width: auto; }

.mobile-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    transition: all var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav__close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.mobile-nav__links { flex: 1; padding: 0.75rem 0; overflow-y: auto; }

.mobile-nav__links > a,
.mobile-nav__submenu-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-nav__links > a i,
.mobile-nav__submenu-toggle > span > i {
    color: var(--red);
    width: 1.4em;
    text-align: center;
    font-size: 0.85rem;
}

.mobile-nav__links > a:hover,
.mobile-nav__submenu-toggle:hover { color: #fff; background: rgba(255,255,255,0.04); }
.mobile-nav__links > a.active,
.mobile-nav__submenu-toggle.active { color: var(--red); }

.mobile-nav__submenu-toggle { justify-content: space-between; }
.mobile-nav__submenu-toggle > span { display: flex; align-items: center; gap: 0.75rem; }

.mobile-nav__caret {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.4);
    transition: transform 0.3s var(--ease);
}
.mobile-nav__submenu-toggle[aria-expanded="true"] .mobile-nav__caret { transform: rotate(180deg); }

.mobile-nav__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
    background: rgba(0,0,0,0.15);
}
.mobile-nav__submenu.open { max-height: 600px; }

.mobile-nav__submenu a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.5rem 0.65rem 2.5rem;
    color: rgba(255,255,255,0.65);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all var(--transition);
}

.mobile-nav__submenu a i { color: rgba(204,0,0,0.6); width: 1.3em; text-align: center; font-size: 0.75rem; }
.mobile-nav__submenu a:hover { color: #fff; background: rgba(255,255,255,0.03); }
.mobile-nav__submenu a.active { color: var(--red); }
.mobile-nav__submenu a.active i { color: var(--red); }

.mobile-nav__all-services {
    color: var(--gold) !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 0.25rem;
    padding-top: 0.75rem !important;
}
.mobile-nav__all-services i { color: var(--gold) !important; }

.mobile-nav__footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.mobile-nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.65rem;
}

.mobile-nav__social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.mobile-nav__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    transition: all var(--transition);
}
.mobile-nav__social a:hover { background: var(--red); border-color: var(--red); color: #fff; }


/* ==========================================================================
   11. HERO
   ========================================================================== */

.hero {
    position: relative;
    min-height: calc(92vh + var(--header-overlay-height, 110px));
    background: var(--dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-top: calc(-1 * var(--header-overlay-height, 110px));
    padding-top: var(--header-overlay-height, 110px);
}

@media (max-width: 575.98px) {
    :root { --header-overlay-height: 112px; }
}

.hero__img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.30) 40%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-block: 0;
    text-align: center;
}

/* Stats sit directly on the hero image — no background, just text */
.hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.hero-stat {
    padding: 0 clamp(1rem, 2.5vw, 1.9rem);
    position: relative;
    text-align: center;
}

.hero-stat + .hero-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(255,255,255,0.28);
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display, inherit);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    line-height: 1;
    color: #fff;
    font-weight: 700;
    text-shadow: 1px 2px 10px rgba(0,0,0,0.85);
}

.hero-stat span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-top: 0.35rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.85);
}

@media (max-width: 575.98px) {
    .hero-stat { flex: 0 0 33.33%; padding-block: 0.5rem; }
}

@media (min-width: 992px) {
    .hero__content { text-align: left; max-width: 70%; }
    .hero__stats { justify-content: flex-start; }
    .hero-stat:first-child { padding-left: 0; }
}

.hero__heading {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.8);
}

.hero-gold { color: #FFD700; }

.hero__lead {
    max-width: 600px;
    font-weight: 500;
    color: #fff;
    opacity: 0.95;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.9);
    margin-bottom: 2rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.65;
}

@media (min-width: 992px)  { .hero__lead { margin-inline: 0; } }
@media (max-width: 991.98px) { .hero__lead { margin-inline: auto; } }

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 992px) { .hero__buttons { justify-content: flex-start; } }


/* ==========================================================================
   12. TRUST BAR
   ========================================================================== */

.trust-bar {
    background: #fff;
    padding-block: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow-sm);
}

.trust-bar__inner {
    display: flex;
    align-items: center;
    text-align: center;
}

.trust-bar__item {
    flex: 1;
    padding: 0.5rem 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-bar__item:not(:last-child) { border-right: 1px solid rgba(0,0,0,0.08); }

.trust-bar__item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition);
}

.trust-bar__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-transform: uppercase;
    font-weight: 700;
    color: #6c757d;
    font-size: 0.55rem;
    letter-spacing: 0.02rem;
    white-space: nowrap;
    transition: color var(--transition);
}

.trust-bar__label .check { color: #28a745; font-size: 0.65rem; }

.trust-bar__logo {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-bar__logo img {
    height: 35px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

@media (min-width: 768px) {
    .trust-bar__label { font-size: 0.65rem; }
    .trust-bar__logo  { height: 50px; }
    .trust-bar__logo img { height: 50px; }
}

@media (hover: hover) {
    .trust-bar__item a:hover img { transform: scale(1.08); }
    .trust-bar__item a:hover .trust-bar__label { color: #212529; }
}


/* ==========================================================================
   13. BREADCRUMB
   ========================================================================== */

.breadcrumb-bar {
    background: var(--light);
    padding-block: 0.6rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.breadcrumb a { color: #555; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { color: #aaa; font-size: 0.7rem; }
.breadcrumb__current { color: var(--red); font-weight: 600; }


/* ==========================================================================
   14. INTRO SECTION
   ========================================================================== */

.intro .intro__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .intro .intro__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
}

.intro__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.intro__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
}

.intro__feature i { color: var(--red); font-size: 0.85rem; width: 1.2em; }

.intro__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}


/* ==========================================================================
   15. BEFORE / AFTER COMPARISON SLIDER
   ========================================================================== */

.ba-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    background: var(--dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.ba-slider--wide { aspect-ratio: 16 / 9; }

.ba-slider--square { aspect-ratio: 1 / 1; }

/* Wrapper for the square before/after slider — kept narrower than the wide
   sliders so the 1:1 image fits the viewport without scrolling. */
.ba-square-wrap { max-width: 560px; margin: 0 auto; }

@media (max-width: 767.98px) {
    .ba-slider--wide { aspect-ratio: 4 / 3; }
    .ba-square-wrap { max-width: 320px; }
}

.ba-slider__after {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.ba-slider__before-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    clip-path: polygon(0 0, 25% 0, 25% 100%, 0 100%);
    will-change: clip-path;
}

.ba-slider__before {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Straight vertical divider line */
.ba-slider__divider {
    position: absolute;
    top: 0; bottom: 0;
    left: 25%;
    width: 3px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.4), 0 0 20px rgba(255,255,255,0.1);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
    display: none;
}

@media (max-width: 767.98px) { .ba-slider__divider { display: block; } }
@media (pointer: coarse)      { .ba-slider__divider { display: block; } }

/* Handle */
.ba-slider__handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 25%;
    width: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    cursor: ew-resize;
    outline: none;
}

.ba-slider__handle-line {
    flex: 1;
    width: 3px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.4), 0 0 20px rgba(255,255,255,0.1);
    border-radius: 2px;
}

.ba-slider__handle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--red);
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4), 0 0 20px rgba(204,0,0,0.3);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-slider__handle-btn i { font-size: 0.65rem; color: #fff; }

.ba-slider__handle:hover .ba-slider__handle-btn,
.ba-slider--active .ba-slider__handle-btn {
    transform: scale(1.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 30px rgba(204,0,0,0.5);
}

.ba-slider__handle:focus-visible .ba-slider__handle-btn {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Bottom track bar */
.ba-slider__track { display: none; }

@media (max-width: 767.98px) { .ba-slider__track { display: block; } }
@media (pointer: coarse)      { .ba-slider__track { display: block; } }

.ba-slider__track {
    position: relative;
    width: 100%;
    height: 44px;
    background: var(--dark-surface);
    border-radius: 0 0 var(--radius) var(--radius);
    margin-top: -1px;
    touch-action: none;
    cursor: ew-resize;
    z-index: 6;
    overflow: hidden;
}

.ba-slider__track::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.04), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.ba-slider__track-groove {
    position: absolute;
    top: 50%;
    left: 1.5rem; right: 1.5rem;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.ba-slider__track-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 25%;
    background: linear-gradient(90deg, var(--red-dark), var(--red));
    border-radius: 2px;
    transition: none;
    box-shadow: 0 0 6px rgba(204,0,0,0.25);
}

.ba-slider__track-thumb {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--red);
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4), 0 0 12px rgba(204,0,0,0.2);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.ba-slider__track-thumb i { font-size: 0.5rem; color: #fff; }

.ba-slider__track-thumb:active {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 25px rgba(204,0,0,0.4);
}

.ba-slider__track-hint {
    position: absolute;
    top: 50%; right: 1.5rem;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    z-index: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ba-slider__track.touched .ba-slider__track-hint { opacity: 0; }

@media (max-width: 767.98px), (pointer: coarse) {
    .ba-slider__divider { width: 2px; box-shadow: 0 0 8px rgba(255,255,255,0.5), 0 0 20px rgba(225,225,225,0.15); }
}

@media (max-width: 767.98px) {
    .ba-slider__handle-line { display: none; }
    .ba-slider__handle-btn  { display: none; }
    .ba-slider__handle { pointer-events: none; }
    .ba-slider { border-radius: var(--radius) var(--radius) 0 0; }
}

@media (pointer: coarse) {
    .ba-slider__handle-line { display: none; }
    .ba-slider__handle-btn  { display: none; }
    .ba-slider__handle { pointer-events: none; }
    .ba-slider { border-radius: var(--radius) var(--radius) 0 0; }
}

.ba-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.ba-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
    background: var(--dark-surface);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ba-card__tag {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
}

.ba-card__tag--before {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.1);
}

.ba-card__tag--after {
    background: rgba(255,195,0,0.15);
    color: var(--gold);
    border: 1px solid rgba(255,195,0,0.25);
}

.ba-card__divider-text { color: rgba(255,255,255,0.2); font-size: 0.65rem; }

.ba-card .ba-slider { border-radius: 0; box-shadow: none; position: relative; }

.ba-card .ba-slider::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.15), inset 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 3;
    pointer-events: none;
}

.ba-card .ba-slider__track { border-radius: 0; margin-top: 0; }

.ba-card__info {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: var(--white);
}

.ba-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.6rem;
}

.ba-card__project-type,
.ba-card__location {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ba-card__project-type { color: var(--red); }
.ba-card__project-type i { font-size: 0.6rem; }
.ba-card__location { color: #999; }
.ba-card__location i { color: var(--red); font-size: 0.55rem; }

.ba-card__desc { font-size: 0.82rem; line-height: 1.6; color: #666; margin: 0; }

/* Case-file additions — slim meta header + Brief/Result lines */
.ba-card__casefile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.9rem;
    padding: 0.7rem 1.25rem;
    background: var(--dark-surface);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ba-card__projtitle {
    margin-right: auto;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white);
}

.ba-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
}

.ba-card__pill i { color: var(--gold); font-size: 0.6rem; }

.ba-card__line {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #666;
    margin: 0 0 0.45rem;
}

.ba-card__line:last-of-type { margin-bottom: 0; }

.ba-card__line b {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-right: 0.45rem;
}

/* Stack View Full Project and Instagram link vertically */
.ba-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.ba-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    transition: all var(--transition);
}

.ba-card__cta:hover { color: var(--red-dark); gap: 0.6rem; }
.ba-card__cta i { font-size: 0.6rem; transition: transform var(--transition); }
.ba-card__cta:hover i { transform: translateX(3px); }

/* Instagram follow link on ba-card */
.ba-card__instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c13584;
    transition: all var(--transition);
}

.ba-card__instagram i { font-size: 0.8rem; }
.ba-card__instagram:hover { opacity: 0.75; gap: 0.6rem; }

/* Facebook link — same layout, Facebook brand blue */
.ba-card__facebook {
    color: #1877F2;
}

@media (pointer: coarse) { .ba-card .ba-slider { border-radius: 0; } }

@media (max-width: 767.98px) {
    .ba-card .ba-slider { border-radius: 0; }
    .ba-card__header { padding: 0.5rem 0.85rem; }
    .ba-card__info { padding: 0.85rem 1rem; }
    .ba-card__desc { font-size: 0.78rem; }
    .ba-card__line { font-size: 0.78rem; }
    .ba-card__casefile { padding: 0.6rem 0.85rem; }
    .ba-card__projtitle { flex: 1 1 100%; margin-right: 0; font-size: 0.9rem; }
    .ba-card__meta { gap: 0.35rem 0.75rem; margin-bottom: 0.5rem; }
}


/* ==========================================================================
   15b. MID-PAGE CTA BAND
   ========================================================================== */

.mid-cta__band {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.mid-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .mid-cta__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 2rem;
    }
}

.mid-cta__heading {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.mid-cta__copy p { color: #666; font-size: 0.95rem; line-height: 1.5; margin: 0; }

.mid-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
    justify-content: center;
}

@media (min-width: 768px) { .mid-cta__actions { justify-content: flex-end; } }

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--dark);
    color: var(--dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
}
.btn-outline-dark:hover { background: var(--dark); color: #fff; }


/* ==========================================================================
   16. GLASS CARDS
   ========================================================================== */

.card-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition-lift), background var(--transition), border-color var(--transition);
    will-change: transform;
    position: relative;
    z-index: 1;
    padding: 1.5rem;
}

.card-glass:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-dark-lg);
    z-index: 2;
}


/* ==========================================================================
   17. ICON BUBBLE
   ========================================================================== */

.icon-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--red-subtle);
    margin-bottom: 0.75rem;
}

.icon-bubble i { font-size: 1.75rem; color: var(--red); }


/* ==========================================================================
   18. TYPES OF REFURBISHMENT GRID
   ========================================================================== */

.types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .types-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (min-width: 768px) {
    .types-grid { grid-template-columns: repeat(4, 1fr); }
}

.type-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    /* Vertically centre icon and heading */
    align-items: center;
}

.type-card .icon-bubble {
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 0;
    padding: 0.55rem;
    /* Keep icon bubble vertically centred against heading */
    align-self: center;
}

.type-card .icon-bubble i { font-size: 1.3rem; }

.type-card h3,
.type-card h4 {
    grid-row: 1;
    grid-column: 2;
    margin-bottom: 0;
    align-self: center;
    /* Prevent any inherited margin pushing it off-centre */
    padding: 0;
    line-height: 1.2;
}

.type-card p {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 1.25rem;
}

.type-card .card-accent-bottom {
    grid-column: 1 / -1;
}

.type-card h3,
.type-card h4 {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.type-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    opacity: 0.82;
    color: #fff;
    margin: 0;
	padding-top: 0.35rem;
}

.card-accent-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background: var(--grad-red);
    opacity: 0.5;
    pointer-events: none;
}


/* ==========================================================================
   19. PROCESS SECTION
   ========================================================================== */

.process-section {
    padding-block: var(--section-py);
    background: var(--light);
    position: relative;
    overflow: hidden;
}

/* Ghost watermark */
.process-section__ghost {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(6rem, 18vw, 16rem);
    font-weight: 900;
    color: rgba(0,0,0,0.028);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    line-height: 1;
}

.process-section > .container { position: relative; z-index: 1; }

/* Process card grid */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
    list-style: none;
    padding: 0;
}

@media (min-width: 576px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.process-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-lift);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    column-gap: 0.75rem;
    align-items: center;
}

/* Diagonal corner ribbon with step number */
.process-card__num {
    position: absolute;
    top: 0; left: 0;
    width: 52px; height: 52px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
    font-size: 0;
}

.process-card__num::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 52px 52px 0 0;
    border-color: var(--gold-dark) transparent transparent transparent;
}

.process-card__num::after {
    content: attr(data-step);
    position: absolute;
    top: 6px; left: 4px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: 0.5px;
    transform: rotate(-45deg);
    transform-origin: center;
    width: 24px;
    text-align: center;
}

.process-card__icon {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,195,0,0.10);
    border: 1px solid rgba(255,195,0,0.25);
    transition: all var(--transition);
    align-self: center;
    flex-shrink: 0;
}

.process-card__icon i { font-size: 1rem; color: var(--gold-dark); }

.process-card:hover .process-card__icon {
    background: var(--red);
    border-color: var(--red);
}

.process-card:hover .process-card__icon i { color: #fff; }

.process-card__title {
    grid-row: 1;
    grid-column: 1;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 0;
    align-self: center;
}

.process-card__text {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #666;
    margin: 0;
    margin-top: 0.6rem;
}

/* Tags row — steps 1 & 6 only */
.process-card__tags {
    grid-row: 3;
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.tag-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255,195,0,0.12);
    border: 1px solid rgba(255,195,0,0.4);
    color: #8a6a00;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
}
.tag-gold i { color: var(--gold-dark); font-size: 0.55rem; }

/* Red gradient bottom bar on hover */
.process-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-red);
    opacity: 0;
    transition: opacity var(--transition);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.process-card:hover::after { opacity: 1; }


/* ==========================================================================
   20. USP CARDS
   ========================================================================== */

.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

.usp-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    align-items: center;
    text-align: left;
    overflow: hidden;
}

.usp-card__icon {
    grid-row: 1;
    grid-column: 1;
    font-size: 1.3rem;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 0;
}

.usp-card h3 {
    grid-row: 1;
    grid-column: 2;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 0;
}

.usp-card p {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 0.85rem;
    line-height: 1.55;
    opacity: 0.82;
    color: #fff;
    margin: 0;
    margin-top: 0.5rem;
}

/* Red bottom gradient — restored */
.usp-card .card-accent-bottom {
    grid-column: 1 / -1;
    display: block;
}

@media (max-width: 575.98px) {
    .usp-card__icon { width: 42px; height: 42px; }
    .usp-card h3    { font-size: 0.78rem; }
    .usp-card p     { font-size: 0.82rem; line-height: 1.5; }
}


/* ==========================================================================
   20b. MEMBERSHIP CARD — redesigned with logos at top
   ========================================================================== */

.membership-card {
    padding: 1.25rem !important;
}

/* Top section: logo badges */
.membership-card__badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-bottom: 1.25rem;
}

.membership-badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0 1rem;
}

.membership-badge__label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
}

.membership-badge a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), opacity var(--transition);
}

.membership-badge a:hover { transform: scale(1.06); opacity: 1; }

.membership-badge img {
    height: 40px;
    width: auto;
    filter: brightness(1.4);
    opacity: 0.85;
    transition: opacity var(--transition);
}

.membership-badge a:hover img { opacity: 1; }

/* Google logo needs white pill background */
.membership-badge__google {
    background: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    height: 40px !important;
}

.membership-badge__divider {
    width: 1px;
    height: 60px;
    background: var(--grad-divider-v);
    flex-shrink: 0;
}

/* Divider rule between badges and explanatory copy */
.membership-card__divider-rule {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 1rem;
}

/* Header row: icon + heading */
.membership-card__header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.membership-card__header i {
    font-size: 1.1rem;
    color: var(--gold);
}

.membership-card__header h3 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin: 0;
}

.membership-card__text {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0 0 1rem;
}

/* Find out more links */
.membership-card__links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.membership-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    transition: all var(--transition);
}

.membership-card__link i {
    font-size: 0.6rem;
    transition: transform var(--transition);
}

.membership-card__link:hover { opacity: 0.75; }
.membership-card__link:hover i { transform: translateX(3px); }


/* ==========================================================================
   21. AFFILIATIONS STRIP
   ========================================================================== */

.affiliations-strip {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    position: relative;
    padding: 0.25rem;
}

.affiliations-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.5rem;
}

.affiliations-strip__item { flex: 1; text-align: center; padding: 0 0.5rem; }

.affiliation-label {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.45);
    margin-top: 0.5rem;
}

.affiliations-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.affiliations-header__line { width: 40px; height: 1px; flex-shrink: 0; }
.affiliations-header__line--left  { background: linear-gradient(270deg, var(--red), transparent); }
.affiliations-header__line--right { background: linear-gradient(90deg, var(--red), transparent); }

.affiliations-header__text {
    margin: 0 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 2px;
    opacity: 0.8;
    white-space: nowrap;
}

.affiliation-logo { transition: all var(--transition); display: inline-block; }
.affiliation-logo:hover { transform: scale(1.07); }
.affiliation-logo--fmb { max-height: 40px; width: auto; height: auto; filter: drop-shadow(0 0 8px rgba(255,255,255,0.1)); }
.affiliation-logo--google {
    max-height: 40px;
    width: auto;
    height: auto;
    background: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.affiliation-logo--checkatrade    { max-height: 30px; width: auto; height: auto; }
.affiliation-logo--checkatrade-sm { max-height: 22px; width: auto; height: auto; }
.affiliation-logo--checkatrade-md { width: 75px; height: auto; opacity: 0.8; }
.affiliation-logo--checkatrade-lg { width: 90px; height: auto; }

.grad-divider-v {
    width: 1px; height: 45px;
    background: var(--grad-divider-v);
    flex-shrink: 0;
}

.grad-rule-affiliations-bottom {
    position: absolute;
    bottom: 0; left: 10%;
    width: 80%; height: 1px;
    background: var(--grad-red-soft);
    pointer-events: none;
}


/* ==========================================================================
   22. LOCATION PILLS
   ========================================================================== */

/* Service area section — pier background */
.service-area-section {
    position: relative;
    background: var(--light);
    border-top: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

.service-area-section__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('https://www.pearcepropertyservices.co.uk/custom/assets/img/brighton-pier.jpg');
    background-size: cover;
    background-position: center 40%;
    opacity: 0.30;
    pointer-events: none;
}

.location-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.45);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: var(--transition-lift);
}

.location-pill:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.38);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.6);
}

.location-pill i { font-size: 0.8rem; color: var(--red); }
.location-pill span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
}

/* Primary coverage areas — dark glass pill */
.location-pill--primary {
    background: rgba(15,17,19,0.52);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 3px 14px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.08);
    padding: 0.6rem 1.25rem;
}

.location-pill--primary span { color: #fff; }
.location-pill--primary i { color: var(--gold); }

.location-pill--primary:hover {
    background: rgba(15,17,19,0.68);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Primary pill — centred on mobile */
@media (max-width: 575.98px) {
    .location-pill--primary {
        justify-content: center;
    }
}


/* ==========================================================================
   23. TESTIMONIALS & RATING BADGES
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
    color: #fff;
    font-style: italic;
    flex: 1;
}

.testimonial-card footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-card cite {
    font-style: normal;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    display: block;
}

.testimonial-card .location-label { font-size: 0.78rem; opacity: 0.6; color: #fff; }

.review-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    margin-top: 0.2rem;
    letter-spacing: 0.04em;
}

.review-date i {
    font-size: 0.6rem;
    opacity: 0.8;
}

.verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    color: var(--dark);
    border-radius: var(--radius-pill);
    padding: 0.3rem 0.75rem;
    font-weight: 700;
    font-size: 0.7rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-lift);
}
.verify-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.verify-badge i { color: var(--red); }

.card-accent-full {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-red);
    opacity: 0.4;
    pointer-events: none;
}


/* Review score cards — side by side above testimonials */
.review-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}

.review-score-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.review-score-card img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
}

.review-score-card__img--checkatrade {
    height: 26px !important;
    width: auto;
}

.review-score-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.review-score-card__stars {
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.review-score-card__score {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.review-score-card__denom {
    font-size: 0.9rem;
    opacity: 0.5;
}

.review-score-card__label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
}

.review-score-card__divider {
    width: 1px;
    height: 60px;
    background: var(--grad-divider-v);
    flex-shrink: 0;
    margin: 0 1.5rem;
}

@media (max-width: 575.98px) {
    .review-scores { padding: 1.25rem 1rem; gap: 0; }
    .review-score-card { gap: 0.75rem; }
    .review-score-card__divider { margin: 0 1rem; }
    .review-score-card__score { font-size: 1.3rem; }
}

/* View all buttons below reviews */
.review-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.btn-review-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-pill);
    color: rgba(255,255,255,0.75);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255,255,255,0.04);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-review-platform img {
    height: 18px;
    width: auto;
    flex-shrink: 0;
}

.btn-review-platform__checkatrade {
    height: 14px !important;
    width: auto;
}

.btn-review-platform i {
    font-size: 0.6rem;
    transition: transform var(--transition);
    opacity: 0.6;
}

.btn-review-platform:hover {
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.btn-review-platform:hover i { transform: translateX(3px); opacity: 1; }


.footer-cookie-btn {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.7;
    transition: opacity var(--transition);
}
.footer-cookie-btn:hover { opacity: 1; }

/* ==========================================================================
   24. CUSTOM ACCORDION / FAQ
   ========================================================================== */

.faq-list {
    max-width: 750px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-lift);
    background: #fff;
}

.faq-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-2px); }

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    text-align: left;
    background: #fff;
    cursor: pointer;
    transition: all var(--transition);
}

.faq-trigger:hover { color: var(--red); }

.faq-trigger .faq-icon {
    font-size: 0.75rem;
    color: var(--red);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-trigger { background: #f8f9fa; color: var(--red); }
.faq-item.open .faq-trigger .faq-icon { transform: rotate(180deg); }

.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }

.faq-body__inner {
    padding: 1rem 1.5rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    background: #f9f9f9;
    border-top: 2px solid var(--red);
}

.faq-body__inner a { color: var(--red); font-weight: 600; transition: opacity var(--transition); }
.faq-body__inner a:hover { opacity: 0.7; }


/* ==========================================================================
   25. OTHER SERVICES GRID
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 576px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(6, 1fr); } }

.service-link-card { text-align: center; display: block; overflow: hidden; }

.service-link-card .service-icon {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 0.75rem;
    transition: all var(--transition);
}

.service-link-card:hover .service-icon { transform: scale(1.15); color: var(--gold); }

.service-link-card h3 {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.service-cta-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; color: #fff; }

.grad-rule-service-bottom {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 1px;
    background: var(--grad-red-soft);
    pointer-events: none;
}


/* ==========================================================================
   26. CTA SECTION
   ========================================================================== */

.cta-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--section-py);
    padding-bottom: 7rem;
    background: var(--dark);
}

.cta-section__img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.cta-section__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(rgba(0,0,0,0.10), rgba(0,0,0,0.85));
    z-index: 1;
}

.cta-section__content { position: relative; z-index: 2; text-align: center; color: var(--white); }
.cta-section__affiliations { position: relative; z-index: 2; margin-top: 3rem; }


/* ==========================================================================
   27. FOOTER
   ========================================================================== */

.site-footer {
    background: var(--dark);
    color: #fff;
    padding-top: 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

@media (max-width: 767.98px) {
    .footer-grid > div:first-child {
        text-align: center;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .footer-grid > div:first-child .footer-social { justify-content: center; }
    .footer-grid > div:first-child .footer-logo { margin-inline: auto; }
    .footer-links-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 2.5fr 2fr; }
    .footer-links-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; }
}

.site-footer h2,
.site-footer .footer-heading {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.site-footer p { font-size: 0.88rem; opacity: 0.7; line-height: 1.65; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; opacity: 1; }

.footer-links a {
    display: block;
    padding: 0.3rem 0;
    font-size: 0.88rem;
    opacity: 0.7;
    color: #fff;
    transition: all var(--transition);
}
.footer-links a:hover { opacity: 1; color: var(--red); }

.footer-contact p { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.footer-contact i { color: var(--red); width: 1em; }

@media (max-width: 767.98px) {
    .footer-contact { padding-top: 0; border-top: none; }
    .footer-grid > div:last-child {
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.82rem;
    opacity: 0.5;
}

@media (max-width: 575.98px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.25rem;
        padding-bottom: 5rem;
    }
}

.footer-bottom a { color: #fff; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--red); }
.site-footer .footer-logo { height: 60px; width: auto; margin-bottom: 1rem; }


/* ==========================================================================
   28. COOKIE BANNER FIX
   ========================================================================== */

.cky-modal {
    max-width: calc(100vw - 20px) !important;
    margin-inline: 10px !important;
    overflow-x: hidden !important;
}


/* ==========================================================================
   29. PRINT STYLES
   ========================================================================== */

@media print {
    .mobile-cta, .site-nav, .top-bar { display: none !important; }
    body { padding-bottom: 0 !important; }
    section { page-break-inside: avoid; }
}


/* ==========================================================================
   30. ACCESSIBILITY — Focus & Reduced Motion
   ========================================================================== */

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-radius: 2px;
}

:focus:not(:focus-visible) { outline: none; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus { top: 0; outline: 3px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .card-glass:hover,
    .location-pill:hover,
    .btn:hover,
    .process-card:hover { transform: none !important; }
    .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   31. SELECTION & SCROLLBAR
   ========================================================================== */

::selection { background: var(--red); color: #fff; }

@media (min-width: 992px) {
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: var(--dark); }
    ::-webkit-scrollbar-thumb { background: rgba(204,0,0,0.5); border-radius: 5px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--red); }
}


/* ==========================================================================
   MERGED FROM homepage-additions.css
   ========================================================================== */

/* ==========================================================================
   32. HOMEPAGE — SERVICE CARDS GRID
   ========================================================================== */

.hp-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .hp-services-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (min-width: 768px) {
    .hp-services-grid { grid-template-columns: repeat(4, 1fr); }
}

.hp-service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 0.75rem;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hp-service-card .icon-bubble {
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 0;
    padding: 0.55rem;
    align-self: center;
}

.hp-service-card .icon-bubble i { font-size: 1.3rem; }

.hp-service-card h3 {
    grid-row: 1;
    grid-column: 2;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 0;
    align-self: center;
}

.hp-service-card p {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 0.85rem;
    line-height: 1.55;
    opacity: 0.78;
    color: #fff;
    margin: 0;
    padding-top: 0.35rem;
}

.hp-service-card__cta {
    grid-row: 3;
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    transition: all var(--transition);
}

.hp-service-card__cta i {
    font-size: 0.55rem;
    transition: transform var(--transition);
}

.hp-service-card:hover .hp-service-card__cta { opacity: 1; }
.hp-service-card:hover .hp-service-card__cta i { transform: translateX(3px); }

.hp-service-card .card-accent-bottom {
    grid-column: 1 / -1;
}

/* "All Services" gold variant */
.hp-service-card--all .icon-bubble {
    background: rgba(255,195,0,0.12);
}

.hp-service-card--all .icon-bubble i {
    color: var(--gold);
}

.hp-service-card--all h3 {
    color: var(--gold);
}

.hp-service-card--all .hp-service-card__cta {
    color: var(--gold);
}

.hp-service-card--all .card-accent-bottom {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}


/* ==========================================================================
   34. HOMEPAGE — ABOUT PREVIEW
   ========================================================================== */

.about-preview {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-preview {
        grid-template-columns: 5fr 7fr;
        gap: 3.5rem;
    }
}

.about-preview__img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-preview__img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-red);
}

.about-preview__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 5 / 6;
}

@media (max-width: 991.98px) {
    .about-preview__img {
        aspect-ratio: 16 / 9;
        max-height: 350px;
    }
}

.about-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}


/* ==========================================================================
   ALL SERVICES HUB (general-building-services.html)
   ========================================================================== */

/* Type cards rendered on light (bg-white) sections — the All Services page is
   the only place type-cards sit on a white background, so they need a light
   treatment instead of the default dark-glass look. */
.bg-white .card-glass.type-card {
    background: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.08);
}

.bg-white .card-glass.type-card:hover {
    background: #ededee;
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.bg-white .type-card h3,
.bg-white .type-card h4 {
    color: var(--red);
}

.bg-white .type-card p {
    color: #3a3a3a;
    opacity: 1;
}

.bg-white .type-card .icon-bubble {
    background: var(--red-subtle);
}

.bg-white .type-card .icon-bubble i {
    color: var(--red);
}

.bg-white .types-grid {
    gap: 1.25rem;
}

/* "View Service" label on linked cards sitting in light sections */
.bg-white .type-card .service-cta-label {
    color: var(--red);
    opacity: 0.85;
}

/* Even out mixed rows: let the description fill so linked and plain cards
   keep matching internal spacing and bottom alignment within a row. */
.bg-white .type-card {
    grid-template-rows: auto 1fr auto;
}

/* Category jump-nav at the top of the Additional Services section */
.cat-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    max-width: 820px;
    margin: 1.75rem auto 0;
}

.cat-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
}

.cat-nav a:hover,
.cat-nav a:focus-visible {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.cat-nav a i { color: var(--red); }
.cat-nav a:hover i,
.cat-nav a:focus-visible i { color: #fff; }

/* Category groupings within the Additional Services section */
.cat-group {
    margin-top: 3rem;
    /* Clear the sticky header when reached via a jump-nav anchor */
    scroll-margin-top: 100px;
}

.cat-group--first {
    margin-top: 2.5rem;
}

.cat-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.cat-rule {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    border-radius: 2px;
    margin-bottom: 1.75rem;
}
