/* =========================================================================
   Precipice Marketing — Full Site Stylesheet
   Modeled on the live precipice.marketing site (Peony Pro WP theme)
   Accent color swapped: green #8bc03c → violet #410073
   ========================================================================= */

/* --- 0. Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote {
    margin: 0;
    padding: 0;
}
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; }

/* --- 1. Design tokens --- */
:root {
    --accent: #410073;
    --accent-dark: #2d0050;
    --accent-light: #6a25a3;
    --accent-glow: rgba(65, 0, 115, 0.35);

    --ink: #1a1a1a;
    --text: #555555;
    --text-light: #777777;
    --mist: #e5e5e5;
    --snow: #f4f4f4;
    --paper: #ffffff;

    --font-display: 'Palanquin Dark', 'Open Sans', Helvetica, Arial, sans-serif;
    --font-body: 'Open Sans', Helvetica, Arial, sans-serif;

    --header-height: 80px;
    --container: 1170px;
    --section-pad: 90px;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.18);
    --transition: 240ms ease;
}

/* --- 2. Base --- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}
h1 { font-size: 48px; letter-spacing: 0.5px; }
h2 { font-size: 36px; letter-spacing: 1px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p { margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }

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

strong, b { font-weight: 700; color: var(--ink); }
em, i { font-style: italic; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================================
   3. HEADER (fixed, violet background)
   ========================================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(65, 0, 115, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}
.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.brand__tag {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    font-style: italic;
}
.brand:hover .brand__name { color: #fff; }

.nav__list { display: flex; align-items: center; gap: 32px; }
.nav__link {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 8px 0;
    position: relative;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

/* Dropdown menu */
.nav__item--has-sub { position: relative; }
.nav__sub {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 240px;
    background: rgba(45, 0, 80, 0.98);
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav__sub a {
    display: block;
    padding: 10px 22px;
    font-size: 13px;
    color: #fff;
    text-transform: none;
    letter-spacing: 0.3px;
    font-weight: 500;
}
.nav__sub a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Mobile nav toggle */
.nav__toggle {
    display: none;
    width: 36px;
    height: 36px;
    color: #fff;
}
.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px auto;
    transition: all var(--transition);
}

/* =========================================================================
   4. BUTTONS (modeled on Peony theme — uppercase, sharp corners, two styles)
   ========================================================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}
.btn--primary {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
}
.btn--primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff !important;
}
.btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: #fff;
}
.btn--ghost:hover {
    background: #fff;
    color: var(--accent) !important;
}
.btn + .btn { margin-left: 10px; }

/* =========================================================================
   5. HOMEPAGE HERO CAROUSEL (full-bleed, 3 slides, dots)
   ========================================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }

/* The slide content overlays the bg via the same slide container */
.hero__slide-content {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    z-index: 2;
}
.hero__slide-content.is-active {
    display: flex;
    animation: heroFade 1.2s ease-out;
}
@keyframes heroFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero__sub {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 20px);
    color: #fff;
    margin-bottom: 40px;
    max-width: 700px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}
.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Carousel dot indicators */
.hero__dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.hero__dot.is-active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.7); }

/* =========================================================================
   6. SUB-PAGE HEROES (smaller, with title overlay on parallax image)
   ========================================================================= */
.page-hero {
    position: relative;
    padding: 180px 20px 120px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}
.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.page-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.page-hero__sub {
    font-size: clamp(16px, 1.4vw, 18px);
    color: #fff;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.page-hero__actions {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* =========================================================================
   7. SECTIONS (general)
   ========================================================================= */
section { padding: var(--section-pad) 0; }

.section-head {
    text-align: center;
    margin-bottom: 60px;
}
.section-head__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 18px;
}
.section-head__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}
.section-head__sub {
    font-size: 16px;
    color: var(--text);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =========================================================================
   8. SERVICES GRID (6 cards with icons — homepage + services page)
   ========================================================================= */
.services { background: var(--snow); }

/* Parallax variant of services section (used for related-services blocks) */
.services--parallax {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: var(--ink); /* fallback under image */
}
.services--parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--related-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}
.services--parallax .container { position: relative; z-index: 2; }
.services--parallax .section-head__title {
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.services--parallax .section-head__sub {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}
.services--parallax .service-card__title a { color: #fff; }
.services--parallax .service-card__title a:hover { color: var(--accent-light); }
.services--parallax .service-card__desc { color: rgba(255, 255, 255, 0.9); }
.services--parallax .service-card__icon { background: var(--accent); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }

/* Related-services variant: flexbox so the last row (with 5 cards = 3+2) centers */
.services--related .services__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 30px;
}
.services--related .service-card {
    flex: 0 0 calc((100% - 60px) / 3);  /* 3 across on desktop, accounting for 30px gaps */
    max-width: calc((100% - 60px) / 3);
}
@media (max-width: 992px) {
    .services--related .service-card {
        flex-basis: calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }
}
@media (max-width: 768px) {
    .services--related .service-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.service-card {
    text-align: center;
    padding: 30px 20px;
    background: transparent;
    transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-5px); }

.service-card__icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 38px;
    color: #fff;
    transition: all var(--transition);
}
.service-card:hover .service-card__icon {
    background: var(--accent-dark);
    transform: scale(1.05);
}
.service-card__title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.service-card__title a { color: var(--ink); }
.service-card__title a:hover { color: var(--accent); }
.service-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
}

/* =========================================================================
   9. ABOUT SPLIT (50/50 — image left, dark text right, NOT parallax)
   ========================================================================= */
.about-split {
    background: var(--paper);
    padding: 0;
}
.about-split__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}
.about-split__media {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.about-split__body {
    background: var(--ink);
    color: #fff;
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-split__body h2 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.about-split__body .section-head__title::after { left: 0; transform: none; }
.about-split__body .lead {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.6;
}
.about-split__body p,
.about-split__body li {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14.5px;
}
.about-split__body strong { color: #fff; }
.about-split__body ul {
    margin: 18px 0;
    padding: 0;
}
.about-split__body li {
    padding: 5px 0 5px 24px;
    position: relative;
}
.about-split__body li::before {
    content: "◦";
    color: var(--accent-light);
    font-size: 22px;
    position: absolute;
    left: 0;
    top: -2px;
    line-height: 1;
}
.about-split__body .btn { margin-top: 16px; align-self: flex-start; }

/* =========================================================================
   10. GALLERY / MARKETING OPPORTUNITIES (parallax bg with thumbnail grid)
   ========================================================================= */
.gallery {
    position: relative;
    color: #fff;
    overflow: hidden;
}
.gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/icicles.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}
.gallery .container { position: relative; z-index: 2; }
.gallery .section-head__title {
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}
.gallery .section-head__sub {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}
.gallery__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    background: var(--ink);
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}
.gallery__item:hover img {
    transform: scale(1.08);
}
.gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(65, 0, 115, 0.55) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item__overlay {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 1;
    transform: translateY(10px);
    opacity: 0;
    transition: all var(--transition);
}
.gallery__item:hover .gallery__item__overlay {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================================================
   11. WHY CHOOSE US — SPEEDOMETER GAUGES (red, blue, green, yellow)
   ========================================================================= */
.stats { background: var(--paper); }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.stat { text-align: center; }
.gauge {
    width: 160px;
    height: 160px;
    margin: 0 auto 22px;
    position: relative;
}
.gauge svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.gauge__track {
    fill: none;
    stroke: var(--mist);
    stroke-width: 8;
}
.gauge__fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 0 1000;
    transition: stroke-dasharray 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gauge--red    .gauge__fill { stroke: #f33b3d; }
.gauge--blue   .gauge__fill { stroke: #33c2ca; }
.gauge--green  .gauge__fill { stroke: #8bc03c; }
.gauge--yellow .gauge__fill { stroke: #f5b942; }
.gauge__number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    color: var(--ink);
}
.gauge__number::after {
    content: "%";
    font-size: 22px;
    color: var(--text-light);
    margin-left: 2px;
    align-self: flex-start;
    margin-top: 8px;
}
.stat__label {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.stat__desc {
    color: var(--text);
    font-size: 14px;
    line-height: 1.65;
    padding: 0 10px;
}

/* =========================================================================
   12. CTA BANNER (purple section before footer)
   ========================================================================= */
.cta-banner {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 70px 20px;
}
.cta-banner h2 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 16px;
}
.cta-banner .btn--primary {
    background: #fff;
    color: var(--accent) !important;
    border-color: #fff;
}
.cta-banner .btn--primary:hover {
    background: var(--ink);
    color: #fff !important;
    border-color: var(--ink);
}

/* =========================================================================
   13. SERVICE DETAIL PAGES — content + image patterns
   ========================================================================= */
.service-detail { padding: var(--section-pad) 0; background: var(--paper); }
.service-detail__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.service-detail__image {
    width: 100%;
    box-shadow: var(--shadow);
}
.service-detail__image img {
    width: 100%;
    height: auto;
    display: block;
}
.service-detail__body {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.service-detail__body h3 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.service-detail__body p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 20px;
}
.service-detail__body ul {
    margin: 24px 0;
    padding: 0;
}
.service-detail__body ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.7;
}
.service-detail__body ul li::before {
    content: "⦿";
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 16px;
}
.service-detail__cta {
    text-align: center;
    margin-top: 40px;
}

/* Side-by-side variant: portrait/landscape image alongside text */
.service-side {
    padding: var(--section-pad) 0;
    background: var(--paper);
}
.service-side__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: center;
}
.service-side--reverse .service-side__inner {
    grid-template-columns: 1.4fr 1fr;
}
.service-side--reverse .service-side__media { order: 2; }
.service-side--reverse .service-side__body { order: 1; }
.service-side__media img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow);
}
.service-side__body h2 {
    margin-bottom: 14px;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.service-side__body .sub {
    color: var(--accent);
    font-style: italic;
    font-size: 16px;
    margin-bottom: 24px;
}
.service-side__body p { margin-bottom: 18px; }

/* =========================================================================
   14. CONTACT FORM
   ========================================================================= */
.contact-section { background: var(--accent); }
.contact-section .section-head__title {
    color: #fff;
}
.contact-section .section-head__title::after {
    background: #fff;
}
.contact-section .section-head__sub {
    color: #fff;
}
.contact-form {
    background: #fff;
    padding: 50px;
    box-shadow: var(--shadow);
    max-width: 680px;
    margin: 0 auto;
}
.contact-form h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.field input,
.field textarea {
    width: 100%;
    padding: 12px 16px;
    font: inherit;
    background: var(--snow);
    border: 1px solid var(--mist);
    color: var(--ink);
    transition: all var(--transition);
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--required label::after { content: " *"; color: var(--accent); }
.form-submit { text-align: center; margin-top: 30px; }
.form-note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 20px;
}

/* =========================================================================
   15. PROSE (for Privacy Policy etc.)
   ========================================================================= */
.prose {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.prose h2, .prose h3, .prose h4 {
    margin-top: 36px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.prose p { margin-bottom: 18px; line-height: 1.8; }
.prose ul {
    margin: 18px 0;
    padding-left: 0;
}
.prose ul li {
    padding: 6px 0 6px 24px;
    position: relative;
}
.prose ul li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 6px;
    top: 6px;
}
.prose a { color: var(--accent); text-decoration: underline; }
.prose a:hover { color: var(--accent-dark); }

/* =========================================================================
   16. FOOTER
   ========================================================================= */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}
.site-footer__grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.site-footer__brand-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}
.site-footer__brand-tag {
    font-style: italic;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}
.site-footer h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li {
    margin-bottom: 8px;
    font-size: 14px;
}
.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}
.site-footer a:hover { color: var(--accent-light); }
.site-footer__location p {
    margin: 0 0 6px;
    font-size: 14px;
}
.site-footer__bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.site-footer__bottom a:hover { color: #fff; }

/* =========================================================================
   17. MOBILE
   ========================================================================= */
@media (max-width: 992px) {
    section { padding: 60px 0; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .about-split__inner { grid-template-columns: 1fr; }
    .about-split__media { min-height: 350px; }
    .about-split__body { padding: 50px 30px; }
    .service-side__inner,
    .service-side--reverse .service-side__inner {
        grid-template-columns: 1fr;
    }
    .service-side--reverse .service-side__media { order: 1; }
    .service-side--reverse .service-side__body { order: 2; }
}

@media (max-width: 768px) {
    .nav__list { display: none; }
    .nav__toggle { display: inline-block; }

    .nav__list.is-mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(45, 0, 80, 0.98);
        padding: 14px 0;
    }
    .nav__list.is-mobile-open .nav__link {
        padding: 12px 20px;
        display: block;
    }
    .nav__list.is-mobile-open .nav__sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        padding: 0;
        box-shadow: none;
    }
    .nav__list.is-mobile-open .nav__sub a { padding-left: 40px; }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    .hero { min-height: 500px; }
    .services__grid { grid-template-columns: 1fr; gap: 40px; }
    .stats__grid { grid-template-columns: 1fr; gap: 50px; }
    .gallery__grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-form { padding: 30px 20px; }
    .gauge { width: 140px; height: 140px; }
    .gauge__number { font-size: 38px; }

    /* iOS Safari & small screens: disable parallax */
    .hero__slide,
    .page-hero__bg,
    .gallery::before,
    .services--parallax::before {
        background-attachment: scroll;
    }
}

/* iOS Safari can't handle fixed backgrounds reliably */
@supports (-webkit-touch-callout: none) {
    .hero__slide,
    .page-hero__bg,
    .gallery::before,
    .services--parallax::before {
        background-attachment: scroll;
    }
}

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 700ms ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
