/* ============================================================
   STYLES.CSS - SITE BOILERPLATE
   ============================================================
   TABLE OF CONTENTS
   01. CSS Variables
   02. Reset & Base (modern-normalize)
   03. Global / Typography
   04. Reusable Components
       - Buttons
       - Section Headers
       - Hero (full + short variants)
       - Parallax Sections
       - Two-Column Layout
       - Cards
       - CTA Section
   05. Header & Nav
   06. Footer
   07. INDEX - Homepage
   08. SERVICES
   09. SERVICE TEMPLATE (Individual Service Pages)
   10. GALLERY
   11. REVIEWS
   12. CONTACT
   13. 404
   ============================================================ */

@view-transition {navigation: auto;}
/* ============================================================
   01. CSS VARIABLES - Gray Plumbing & Heating
   Replace the :root block in styles.css with this block.
   ============================================================ */

:root {
    /* Brand Colours */
    --color-dark:           #1f1f1f;        /* deep crimson dark - text, headings */
    --color-accent:         #72140d;        /* primary accent - crimson red */
    --color-accent-light:   #b8524a;        /* lighter tint - derived from accent */
    --color-accent-dark:    #4e0d08;        /* darker shade - derived from accent */

    /* Backgrounds */
    --color-bg:             #ffffff;        /* main site background */
    --color-bg-alt:         #f9f4f4;        /* alternating section background - warm white tint */

    /* --- Grays --- */
    --gray-100:             #f8f9fa;
    --gray-200:             #e9ecef;
    --gray-400:             #adb5bd;
    --gray-600:             #6c757d;
    --gray-800:             #343a40;
    --gray-900:             #212529;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Montserrat', sans-serif;

    /* --- Font Sizes (rem scale) --- */
    --text-sm:              0.875rem;   /* 14px */
    --text-base:            1rem;       /* 16px */
    --text-md:              1.125rem;   /* 18px */
    --text-lg:              1.25rem;    /* 20px */
    --text-xl:              1.5rem;     /* 24px */
    --text-2xl:             2rem;       /* 32px */
    --text-3xl:             2.75rem;    /* 44px */
    --text-4xl:             3.5rem;     /* 56px */

    /* --- Spacing --- */
    --section-padding:      5rem;
    --section-padding-sm:   3rem;

    /* --- Shadows --- */
    --shadow-sm:            0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:            0 4px 12px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.07);
    --shadow-lg:            0 10px 30px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.08);

    /* --- Gradients --- */
    --gradient-dark:        linear-gradient(135deg, #490b06 0%, #2a0704 100%);
    --gradient-accent:      linear-gradient(135deg, #72140d 0%, #4e0d08 100%);
    --gradient-overlay:     linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(49, 1, 1, 0.75) 100%);

    /* --- Border Radius --- */
    --radius-sm:            0.25rem;
    --radius-md:            0.5rem;
    --radius-lg:            1rem;
    --radius-xl:            1.5rem;

    /* --- Transitions --- */
    --transition-fast:      0.2s ease;
    --transition-base:      0.35s ease;
    --transition-slow:      0.6s ease;

    /* --- Layout --- */
    --container-max:        1200px;
    --container-wide:       1400px;
    --header-height:        75px;
}



/* ============================================================
   02. RESET & BASE (modern-normalize)
   ============================================================ */
/* * {
    outline: 1px dashed grey;
} */

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

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--gray-900);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    text-transform: uppercase;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.7;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 600;
}

a:hover {
    color: var(--color-accent-dark);
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

address {
    font-style: normal;
}

/* --- Accessibility --- */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.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;
}


/* ============================================================
   03. GLOBAL / TYPOGRAPHY
   ============================================================ */

.container {
    width: 90%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.container--wide {
    width: 92%;
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: var(--section-padding) 0;
}

section.alt-bg {
    background-color: var(--color-bg-alt);
}

h1 { font-size: var(--text-4xl);}
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

.text-accent { color: var(--color-accent); }
.text-light  { color: var(--gray-100); }
.text-muted  { color: var(--gray-600); }
.text-center { text-align: center; }

.lead {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.8;
}


/* ============================================================
   04. REUSABLE COMPONENTS
   ============================================================ */

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.75em 1.75em;
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    text-decoration: none;
    transition: background-color var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                box-shadow var(--transition-fast),
                transform var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

/* Primary - filled */
.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
}

/* Secondary - outline */
.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* Secondary on dark backgrounds */
.btn-secondary--light {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary--light:hover {
    background-color: #fff;
    color: var(--color-dark);
}

/* Ghost - commented out, available if needed */
/*
.btn-ghost {
    background-color: transparent;
    color: var(--color-dark);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}
.btn-ghost:hover {
    color: var(--color-accent);
    box-shadow: none;
    transform: none;
}
*/

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}


/* --- Section Headers --- */

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

.section-header.centered {
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-600);
    font-size: var(--text-md);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Section header on dark/image backgrounds */
.section-header--light h2,
.section-header--light .section-label,
.section-header--light p {
    color: #fff;
}

.section-header--light .section-label {
    color: var(--color-accent-light);
}

.section-header--light p {
    color: rgba(255,255,255,0.75);
}


/* --- Hero Variants --- */

/* Full hero - homepage, 100dvh */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-dark);
}

/* Short hero - inner pages */
.hero--short {
    min-height: 40vh;
    padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* parallax */
    z-index: 0;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image-container img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 50% 50%;
       object-position: 50% 50%;
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 1s ease-in-out, scale 5s linear;
    -o-transition: opacity 1s ease-in-out, scale 5s linear;
    transition: opacity 1s ease-in-out, scale 5s linear;
}

.hero-image-container img.active {
    opacity: 1;
    scale: 1.1; 
}

.is-cms .hero-image-container img {
    filter: brightness(0.5);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.is-cms .hero__overlay {
    display: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: var(--header-height);
}

.hero h1 {
    color: #fff;
    font-size: var(--text-4xl);
    margin-bottom: 1rem;
    max-width: 19ch;
    text-shadow: 3px 3px 3px rgba(0,0,0,0.3);

}

.hero h1 b {
    font-weight: 400;
    /* color: var(--color-accent); */
}

.hero__sub {
    font-size: var(--text-xl);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 42ch;
    line-height: 1.5;
}

.hero__accreditations {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    justify-content: flex-end;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
}



.hero__accreditations img {
    height: 80px;
    width: auto;
    /* filter: brightness(0) invert(1) opacity(0.8); */
}


/* --- Parallax Sections --- */

.parallax-section {
    position: relative;
    overflow: hidden;
    padding: var(--section-padding) 0;
}

.parallax-section__bg {
    position: absolute;
    inset: -20%; /* extra to allow parallax movement */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.section-bg-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.section-bg-img-container img {
    display: block;
    min-width: 100%;
    height: 130%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    -webkit-transition: translate 0.3s;
    -o-transition: translate 0.3s;
    transition: translate 0.3s;
}

.is-cms .section-bg-img-container img {
    filter: brightness(0.5);
}

.parallax-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
    backdrop-filter: blur(0px);
}

.is-cms .parallax-section__overlay {
    display: none;
}

.parallax-section__content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.parallax-section__content h2 {
    text-shadow: 3px 3px 3px rgba(0,0,0,0.3);
}
/* --- Two-Column Layout --- */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col--reversed .two-col__image {
    order: -1;
}

.two-col__image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.two-col__text h2 {
    margin-bottom: 1rem;
}

.two-col__text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}


/* --- Cards --- */

.card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Service cards - image bg with overlay */
.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
    z-index: 0;
}

.service-card:hover .service-card__bg {
    transform: scale(1.05);
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(15,31,61,0.1) 100%);
    z-index: 1;
}

.service-card__content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    color: #fff;
}

.service-card__content h3 {
    color: #fff;
    font-size: var(--text-lg);
    margin-bottom: 0.25rem;
}

.service-card__content p {
    color: rgba(255,255,255,0.8);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* Services carousel */
.services-carousel {
    position: relative;
    overflow: hidden;
}

.services-carousel__track-wrap {
    overflow: hidden;
    /* Peek: reveals a sliver of the next card */
    padding-right: 4rem;
    margin-right: -4rem;
}

.services-carousel__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem; /* prevents box-shadow clipping */
}

.services-carousel__track::-webkit-scrollbar {
    display: none;
}

/* Fixed width cards so peeking works predictably regardless of card count */
.services-carousel__track .service-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    min-height: 400px;
}

/* Arrow buttons */
.services-carousel__controls {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
    justify-content: flex-start;
}

.carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
    flex-shrink: 0;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}

.carousel-arrow:hover {
    background: var(--color-accent-dark);
    transform: scale(1.05);
}

.carousel-arrow:disabled {
    background: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

/* --- CTA Section --- */

.cta-section {
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 3px rgba(0,0,0,0.3);
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: var(--text-md);
    margin-bottom: 2rem;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}


/* --- Review Cards --- */

.review-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.review-card__stars {
    color: #f5a623;
    font-size: var(--text-lg);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.review-card__text {
    font-size: var(--text-md);
    color: var(--gray-800);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.review-card__footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
}

.review-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-base);
    color: #fff;
}

/* Avatar colour variants - assign based on reviewer initial for visual variety */
.avatar--a { background-color: var(--color-accent); }
.avatar--b { background-color: var(--color-accent-dark); }
.avatar--c { background-color: #2a7d4f; }
.avatar--d { background-color: #7c3aed; }
.avatar--e { background-color: #c2410c; }

.review-card__author {
    font-weight: 700;
    color: var(--color-dark);
    font-size: var(--text-base);
}


/* --- Areas / Map --- */

.areas-section #map {
    width: 100%;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    z-index: 0;
}

.google-map-wrapper {
    width: 100%;
    min-height: 400px;
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.google-map-wrapper iframe {
    width: 100% !important;
    height: 400px !important;
    border: none !important;
    outline: none !important;
    border-radius: var(--border-radius);
}

.leaflet-marker-icon {
    
}

.leaflet-tile-pane {

}

.leaflet-attribution-flag {
    width: 0 !important; /* Sorry, some clients don't want their site to be politicized
 */
}

.leaflet-marker-shadow {
    background-color: transparent;
}





/* ============================================================
   05. HEADER & NAV
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background-color var(--transition-base),
                box-shadow var(--transition-base);
}

.is-cms .site-header {
    position: absolute;
}

/* Transparent on load (hero pages) */
.site-header.transparent {
    background-color: transparent;
    box-shadow: none;
}

/* Scrolled state */
.site-header.scrolled {
    background-color: var(--color-bg);
    box-shadow: var(--shadow-md);
}

/* Solid header - inner pages with short hero */
.site-header.solid {
    background-color: var(--color-bg);
    box-shadow: var(--shadow-md);
}

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

/* --- Logo --- */

.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.3s;
}

.header__logo:hover {
    opacity: 0.7;
}

.header__logo img {
    height: calc(var(--header-height)*0.7);
    width: auto;
    transform-origin: top left;
    transition: scale 0.7s;
}

.big-logo {
    scale: 1.6;
}


/* If using CSS filter approach instead of two images, apply like:
   .site-header.transparent .header__logo img { filter: invert(1) hue-rotate(180deg); }
   .site-header.scrolled .header__logo img { filter: none; }
*/

/* --- Nav --- */

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    padding: 0.5em 1em;
    font-size: var(--text-md);
    font-weight: 600;
    color: #fff;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast),
                background-color var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.nav-list > li > a:hover {
    color: var(--color-accent-light);
}

.site-header.scrolled .nav-list > li > a {
    color: var(--color-dark);
}

.site-header.scrolled .nav-list > li > a:not(btn):hover {
    color: var(--color-accent);
    /* background-color: var(--gray-100); */
}

.site-header.scrolled .nav-list > li > .btn:hover {
    color: white;
}

.nav-list > li > a.active {
    text-decoration: underline;
    text-underline-offset: 0.3em;
    text-decoration-color: var(--color-accent-light);
    text-decoration-thickness: 2px;
}

.site-header.scrolled .nav-list > li > a.active {
    color: var(--color-accent);
}

/* CTA button in nav */
.nav-list > li > a.btn {
    margin-left: 0.75rem;
    color: #fff;
}

.site-header.scrolled .nav-list > li > a.btn {
    color: #fff;
}

/* --- Dropdown chevron - auto via :has(), no extra classes needed --- */

.nav-list > li:has(ul) > a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 0.4em;
    transition: transform var(--transition-base);
}

.nav-list > li:has(ul):hover > a::after,
.nav-list > li:has(ul):focus-within > a::after {
    transform: rotate(225deg) translateY(-2px);
}

/* --- Dropdown panel --- */

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    z-index: 100;
    list-style: none;
    margin: 0;
    /* Invisible bridge fills gap between trigger and panel
       so the dropdown doesn't close when moving the mouse down */
    padding-top: 1rem;
    margin-top: -0.5rem;
}

.nav-list > li:hover .nav-dropdown,
.nav-list > li:focus-within .nav-dropdown {
    display: block;
}

.nav-dropdown li a {
    display: block;
    padding: 0.6em 0.75em;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-dark);
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition-fast),
                color var(--transition-fast);
}

.nav-dropdown li a:hover {
    background: var(--color-bg-alt);
    color: var(--color-accent);
}

/* --- Mobile nav --- */

@media (max-width: 768px) {
    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .nav-list > li > a {
        color: var(--color-dark);
        padding: 0.75em 1em;
    }

    .nav-list > li > a:hover {
        background-color: var(--gray-100);
        color: var(--color-accent);
    }

    .nav-list > li > a.btn {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
        color: #fff;
    }

    /* Mobile dropdown - inline below trigger */
    .nav-dropdown {
        position: static;
        box-shadow: none;
        background: var(--color-bg-alt);
        border-radius: var(--radius-md);
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        padding: 0.5rem;
    }

    /* Show dropdown on mobile when parent li has .open */
    .nav-list > li .nav-dropdown {
        display: none;
    }

    .nav-list > li.open .nav-dropdown {
        display: block;
    }

    .nav-list > li.open > a::after {
        transform: rotate(225deg) translateY(-2px);
    }
}

/* --- Mobile menu toggle --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: background-color var(--transition-fast),
                transform var(--transition-base),
                opacity var(--transition-fast);
}

.site-header.scrolled .nav-toggle span {
    background-color: var(--color-dark);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* ============================================================
   06. FOOTER
   ============================================================ */

.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand .footer__logo img {
    height: 70px;
    width: auto;
    margin-bottom: 1.25rem;
    transition: opacity 0.3s;
    /* Uses light logo by default */
}

.footer__brand .footer__logo img:hover {
    opacity: 0.7;
}

.footer__tagline {
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.6);
}

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

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.08);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer__social a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.footer__social img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}


.footer__col h4 {
    color: #fff;
    font-size: var(--text-base);
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a {
    color: rgba(255,255,255,0.65);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-accent-light);
}

.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--text-sm);
    color: rgba(255,255,255,1);
    line-height: 1.5;
    font-weight: 700;
}

.footer-contact-icon {
    flex-shrink: 0;
    padding: 4px;
    width: 24px;
    height: 24px;
    color: white;
    margin-top: 0em;
    background-color: var(--color-accent);;
    border-radius: var(--radius-sm);
}

.footer-contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer__contact-list a {
    color: rgba(255,255,255,1);
    font-size: 1.1rem;
}

.footer__contact-list a:hover {
    color: var(--color-accent-light);
}

address {
    font-style: normal;
    color: rgba(255,255,255,0.65);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer__bottom a {
    color: rgba(255,255,255,0.4);
}

.footer__bottom a:hover {
    color: var(--color-accent-light);
}

.seo-keywords {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
}

.seo-keywords:empty {
    display: none;
}


/* ============================================================
   07. INDEX - HOMEPAGE
   ============================================================ */

/* Hero handled by global .hero styles above */

/* --- Trust Badges --- */
.trust-badges {
    background: var(--color-accent-dark);
    padding: 1.5rem 0;
}

.trust-badges__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.trust-badge__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-light);
}

.trust-badge__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.trust-badge strong {
    display: block;
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.trust-badge span {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.65);
}

/* --- Work Grid (Latest Work) --- */
.work-grid {
    columns: 4;
    position: relative;
}

/* .work-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(0,0,0,0) 60%, var(--color-bg-alt) 90%);
} */

.work-grid a {
    display: block;
    overflow: hidden;

    break-inside: avoid;;
}

.work-grid img {
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: transform var(--transition-base), filter var(--transition-base);
}

.work-grid a:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

/* --- Intro Section --- */
.intro-section {
    padding: var(--section-padding) 0;
}

/* --- Services Section --- */
.home-services {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-alt);
}

/* --- Optional Text Section (parallax) --- */
.text-parallax-section {
    /* Uses .parallax-section styles */
    text-align: center;
}

.text-parallax-section h2 {
    color: #fff;
    font-size: var(--text-3xl);
    margin-bottom: 1rem;
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
}

.text-parallax-section p {
    color: rgba(255,255,255,0.8);
    font-size: var(--text-md);
    max-width: 60ch;
    margin: 0 auto 2rem;
}

/* --- Areas Covered Section --- */
.areas-section {
    padding: var(--section-padding) 0;
}

.areas-section__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.areas-section__text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* --- Latest Work (carousel) --- */
.latest-work {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.latest-work__carousel {
    position: relative;
    margin-top: 2.5rem;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track img {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    scroll-snap-align: start;
}

.carousel-controls {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
    align-items: center;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    border: none;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--color-accent-dark);
    transform: scale(1.05);
}

/* --- Reviews Section (homepage - 2 cards) --- */
.home-reviews {
    padding: var(--section-padding) 0;
}

.reviews-grid--home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* --- CTA Section (homepage) --- */
.home-cta {
    /* Uses .parallax-section + .cta-section styles */
}

/* ============================================================
   07. MEDIA QUERIES - HOMEPAGE
   ============================================================ */

@media (max-width: 1024px) {
    /* Carousel needs no change at 1024px - cards stay fixed width, peeking still works */
    .areas-section__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem;
        --header-height: 70px;
    }

    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }

    .hero h1 {
        font-size: clamp(0.1rem, 8vw, 2rem);
    }

    .hero__sub {
        font-size: var(--text-lg);
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .two-col--reversed .two-col__image {
        order: 0;
    }

    .two-col__image img {
       
    }

    /* Slightly narrower cards on mobile so peeking still works */
    .services-carousel__track .service-card {
        flex: 0 0 240px;
        min-height: 360px;
    }

    .reviews-grid--home {
        grid-template-columns: 1fr;
    }

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

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

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .header__nav {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 0.25rem;
        /* Hidden state */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    }

    .header__nav.open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
    }

    .header__nav a {
        color: var(--color-dark);
        padding: 0.75em 1em;
    }

    .header__nav a:hover {
        background-color: var(--gray-100);
        color: var(--color-accent);
    }

    .header__nav .btn {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .work-grid {
        columns: 2;
    }

    .text-parallax-section h2 {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2.5rem;
        --header-height: 60px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-badges__list {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* ============================================================
   08. SERVICES PAGE
   ============================================================ */

/* Short hero handled by .hero--short */

.services-intro {
    padding: var(--section-padding) 0;
}

/* Services list - big <ul> variant */
.services-list {
    columns: 300px;
    column-gap: 3rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: var(--radius-md);
}

.services-list li {
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
    break-inside: avoid;
    font-weight: 600;
}

.services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-color: var(--color-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
    border-radius: var(--radius-sm);
}

/* Service blocks - individual anchored sections */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: var(--section-padding) 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-block:last-child {
    border-bottom: none;
}

.service-block:nth-child(even) .service-block__image {
    order: -1;
}

.service-block__image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.service-block__text h3 {
    margin-bottom: 1rem;
}

.service-block__text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* Services blocks wrapper */
.services-blocks {
    padding: var(--section-padding) 0;
}

.services-blocks .section-header.centered {
    margin-bottom: 0;
}
/* Services CTA blurb */
.services-cta-blurb {
    padding: 0;
}

.services-cta-blurb .container {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        background-color: var(--color-dark);
        box-shadow: var(--shadow-lg); 
        text-align: center;
}

.services-cta-blurb h3 {
    color: white;
}
.services-cta-blurb p {
    max-width: 700px;
    margin-inline: auto;
    color: rgba(255,255,255,0.8);
}

.services-list-section {
    padding: var(--section-padding) 0;
}

/* Why choose us section */
.why-us {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-alt);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.why-us__item {
    padding: 1.75rem;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.why-us__icon {
    width: 52px;
    height: 52px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #fff;
}

.why-us__icon svg {
    width: 26px;
    height: 26px;
    display: block;
}
.why-us__item h4 {
    margin-bottom: 0.5rem;
    font-size: var(--text-lg);
}

.why-us__item p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.7;
}

/* --- FAQ Accordion --- */

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-dark);
    text-align: left;
    transition: color var(--transition-fast);
    list-style: none; /* removes native marker in Firefox */
}

/* Removes native marker in Chrome/Safari */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--color-accent);
}

details[open] .faq-question {
    color: var(--color-accent);
}

/* Animated +/× icon */
.faq-icon {
    flex-shrink: 0;
    position: relative;
    width: 16px;
    height: 16px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

/* Horizontal bar */
.faq-icon::before {
    width: 100%;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Vertical bar */
.faq-icon::after {
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Rotate vertical bar to form × when open */
details[open] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* Answer panel - height animated by JS */
.faq-answer {
    overflow: hidden;
    height: 0;
    transition: height var(--transition-base);
}

.faq-answer__inner {
    padding-bottom: 1.25rem;
}

.faq-answer__inner p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0;
}
/* ============================================================
   08. MEDIA QUERIES - SERVICES PAGE
   ============================================================ */

@media (max-width: 768px) {
    .services-list {
        column-count: 1;
    }

    .service-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-block:nth-child(even) .service-block__image {
        order: 0;
    }

    .service-block__image img {
        height: 260px;
    }

    .why-us__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .why-us__grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   09. SERVICE TEMPLATE (Individual Service Pages)
   ============================================================ */

.service-page {
    padding: var(--section-padding) 0;
}

.service-page__inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-page__content h2 {
    margin-bottom: 1rem;
}

.service-page__content h3 {
    font-size: var(--text-xl);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.service-page__content p {
    color: var(--gray-600);
    line-height: 1.8;
}

.service-page__content ul {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5rem;
}

.service-page__content ul li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    padding-left: 0.25em;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-nav {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.sidebar-nav h4 {
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav a {
    display: block;
    padding: 0.6em 0.75em;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-dark);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--color-accent);
    color: #fff;
}

.sidebar-cta {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    color: #fff;
}

.sidebar-cta h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.sidebar-cta p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.25rem;
}

.sidebar-cta .phone {
    font-size: var(--text-xl);
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
}

/* Service page reviews nudge */
.service-reviews-nudge {
    padding: var(--section-padding-sm) 0;
}

/* ============================================================
   09. MEDIA QUERIES - SERVICE TEMPLATE
   ============================================================ */

@media (max-width: 900px) {
    .service-page__inner {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }
}


/* ============================================================
   10. GALLERY PAGE
   ============================================================ */

.gallery-page {
    padding: var(--section-padding) 0;
}

.gallery-grid {
    columns: 3;
    column-gap: 1rem;
}

.gallery-grid a {
    display: block;
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-base), filter var(--transition-base);
}

.gallery-grid a:hover img {
    transform: scale(1.03);
    filter: brightness(0.9);
}

/* Multiple galleries with headings */
.gallery-category {
    margin-bottom: 4rem;
}

.gallery-category h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.gallery-socials {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.gallery-socials a {
    font-weight: 600;
}

/* Uniform grid - all images same aspect ratio (4:3) */
.gallery-grid--uniform {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.gallery-grid--uniform a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 4 / 3;
}

.gallery-grid--uniform img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base), filter var(--transition-base);
}

.gallery-grid--uniform a:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

/* ============================================================
   10. MEDIA QUERIES - GALLERY
   ============================================================ */

@media (max-width: 900px) {
    .gallery-grid {
        columns: 2;
    }

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

@media (max-width: 480px) {
    .gallery-grid {
        columns: 1;
    }

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


/* ============================================================
   11. REVIEWS PAGE
   ============================================================ */

.reviews-page {
    padding: var(--section-padding) 0;
}

/* Masonry layout */
.reviews-masonry {
    columns: 3;
    column-gap: 1.5rem;
}

.reviews-masonry .review-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.reviews-sources {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.reviews-sources a {
    font-weight: 600;
}

/* ============================================================
   11. MEDIA QUERIES - REVIEWS
   ============================================================ */

@media (max-width: 900px) {
    .reviews-masonry {
        columns: 2;
    }
}

@media (max-width: 480px) {
    .reviews-masonry {
        columns: 1;
    }
}


/* ============================================================
   12. CONTACT PAGE
   ============================================================ */

.contact-page {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.contact-details h3 {
    margin-bottom: 1.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.contact-info-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: var(--text-lg);
    color: var(--gray-700);
    line-height: 1.5;
}

.contact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    margin-top: 0.15rem;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-info-list li a {
    color: var(--gray-700);
    font-weight: 600;
}

.contact-info-list li a:hover {
    color: var(--color-accent);
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h4 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.contact-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-social__links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5em 1em;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-800);
    transition: border-color var(--transition-fast),
                color var(--transition-fast),
                background var(--transition-fast);
}

.contact-social__links a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--gray-100);
}

.contact-social__links img {
    width: 18px;
    height: 18px;
}

/* Contact form */
.contact-form {
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form h3 {
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75em 1em;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    color: var(--gray-900);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(29,111,216,0.12);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group--checkbox {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7rem;
}

.form-group--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
    padding: 0;
    border-radius: var(--radius-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-areas {
    margin-top: var(--section-padding);
}

.contact-page {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Right column sidebar boxes */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-sidebar__box {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.contact-sidebar__box h4 {
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.contact-sidebar__box p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Map box - no padding around the map itself */
.contact-sidebar__box--map {
    overflow: hidden;
}

.contact-sidebar__box--map #map {
    width: 100%;
    height: 260px;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    z-index: 0;
}

/* ============================================================
   12. MEDIA QUERIES - CONTACT
   ============================================================ */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}


/* ============================================================
   13. 404 PAGE
   ============================================================ */

.page-404 {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.page-404__inner {
    max-width: 520px;
}

.page-404__code {
    font-size: 8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.page-404 h1 {
    font-size: var(--text-3xl);
    margin-bottom: 1rem;
}

.page-404 p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: var(--text-md);
}


/* ============================================================
   14. SUCCESS & FAILURE PAGES
   ============================================================ */

.page-status {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.page-status__inner {
    max-width: 520px;
}

.page-status__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    color: #fff;
}

.page-status__icon--success {
    background-color: #2a7d4f;
}

.page-status__icon--failure {
    background-color: #c2410c;
}

.page-status h1 {
    font-size: var(--text-3xl);
    margin-bottom: 1rem;
}

.page-status p {
    color: var(--gray-600);
    font-size: var(--text-md);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Direct contact details on failure page */
.page-status__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.page-status__contact a {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-dark);
}

.page-status__contact a:hover {
    color: var(--color-accent);
}


/* ============================================================
   15. PRIVACY POLICY PAGE
   ============================================================ */

.policy-page {
    padding: var(--section-padding) 0;
}

.policy-content {
    max-width: 780px;
    margin: 0 auto;
}

.policy-updated {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin-bottom: 2.5rem;
}

.policy-content h2 {
    font-size: var(--text-2xl);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.policy-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.policy-content h3 {
    font-size: var(--text-lg);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-content ul {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 1.25rem;
}

.policy-content ul li {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 0.4rem;
    padding-left: 0.25em;
}

.policy-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-content a:hover {
    color: var(--color-accent-dark);
}

.policy-contact {
    margin-top: 1rem;
    font-style: normal;
    color: var(--gray-600);
    line-height: 2;
}

.policy-contact strong {
    color: var(--color-dark);
}


/*=============== SCROLL ANIMATIONS ===============*/
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-left {
    from { transform: translateX(-40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-right {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-down {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slide-up {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { scale: 1; }
    50% { scale: 1.1; }
    100% { scale: 1; }
}

@media (prefers-reduced-motion: no-preference) {

    /* FADE IN --------------------------------- */
    .fade-in { opacity: 0; }
    .is-cms .fade-in { opacity: 1; }
    .fade-in-animation { animation: fade-in 1s ease forwards; }
    .is-cms .fade-in-animation { animation: none; }

    /* SLIDE LEFT ------------------------------ */
    .slide-left { opacity: 0; }
    .is-cms .slide-left { opacity: 1; }
    .slide-left-animation { animation: slide-left 1s ease forwards; }
    .is-cms .slide-left-animation { animation: none; }

    /* SLIDE RIGHT ----------------------------- */
    .slide-right { opacity: 0; }
    .is-cms .slide-right { opacity: 1; }
    .slide-right-animation { animation: slide-right 1s ease forwards; }
    .is-cms .slide-right-animation { animation: none; }

    /* SLIDE DOWN ------------------------------ */
    .slide-down { opacity: 0; }
    .is-cms .slide-down { opacity: 1; }
    .slide-down-animation { animation: slide-down 1s ease forwards; }
    .is-cms .slide-down-animation { animation: none; }

    /* SLIDE UP -------------------------------- */
    .slide-up { opacity: 0; }
    .is-cms .slide-up { opacity: 1; }
    .slide-up-animation { animation: slide-up 1s ease forwards; }
    .is-cms .slide-up-animation { animation: none; }

    /* PULSE ----------------------------------- */
    .pulse-animation { animation: pulse 0.7s ease forwards; }
    .is-cms .pulse-animation { animation: none; }

    /* ANIMATION DELAYS ------------------------ */
    .delay-200ms  { animation-delay: 200ms;  animation-fill-mode: both; }
    .delay-300ms  { animation-delay: 300ms;  animation-fill-mode: both; }
    .delay-400ms  { animation-delay: 400ms;  animation-fill-mode: both; }
    .delay-500ms  { animation-delay: 500ms;  animation-fill-mode: both; }
    .delay-600ms  { animation-delay: 600ms;  animation-fill-mode: both; }
    .delay-700ms  { animation-delay: 700ms;  animation-fill-mode: both; }
    .delay-800ms  { animation-delay: 800ms;  animation-fill-mode: both; }
    .delay-900ms  { animation-delay: 900ms;  animation-fill-mode: both; }
    .delay-1000ms { animation-delay: 1000ms; animation-fill-mode: both; }
}