/* THEME: dark */
:root {
    color-scheme: dark;
    --bg:           #0b0f19;
    --bg-alt:       #111725;
    --surface:      #171e2d;
    --band:         #05080f;
    --strong:       #f4f6fa;
    --text:         #c3c9d4;
    --muted:        #98a1b0;
    --line:         #283041;
    --brand-text:   color-mix(in srgb, var(--brand) 58%, #ffffff);
    --brand-on-dark: color-mix(in srgb, var(--brand) 62%, #ffffff);
    --brand-soft:   color-mix(in srgb, var(--brand) 24%, #171e2d);
    --card-dark:    #171e2d;
    --card-dark-line: #283041;
    --shadow:       0 14px 34px -22px rgba(0,0,0,0.85);
    --shadow-lg:    0 30px 70px -26px rgba(0,0,0,0.9);
}
/* /THEME */

/* ==============================================
   BRAND & SHARED VARIABLES
=============================================== */
:root {
    --brand:      hsl(202,90%,64%);
    --ff-head:    'Figtree', sans-serif;
    --ff-body:    'Figtree', sans-serif;
    --r:          3px;
    --r-lg:       6px;
    --ease:       all 0.25s ease;
}

/* ==============================================
   RESET & BASE
=============================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--ff-body); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 900; color: var(--strong); line-height: 1.1; text-transform: uppercase; overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
section[id]:not(#top) { scroll-margin-top: 80px; }

/* ==============================================
   LAYOUT & TYPE UTILITIES
=============================================== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.band { background: var(--band); color: rgba(255,255,255,0.82); }
.band h2, .band h3 { color: #fff; }
.eyebrow, .tag { display: block; font-size: 0.875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 10px; }
.band .eyebrow, .eyebrow-light, .band .tag, .tag-light { color: var(--brand-on-dark); }
.section-title { font-size: clamp(1.875rem, 4vw, 3rem); }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 16px; }
.lead { color: var(--muted); font-size: 1.125rem; }
.band .lead { color: rgba(255,255,255,0.75); }
.lead a { color: var(--brand-text); font-weight: 700; white-space: nowrap; }

/* ==============================================
   BUTTONS
=============================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; padding: 16px 28px; border: 2px solid transparent; border-radius: var(--r); cursor: pointer; transition: var(--ease); white-space: nowrap; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover { filter: brightness(0.9); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.85); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--band); }
.btn-line { background: transparent; border-color: var(--strong); color: var(--strong); }
.btn-line:hover { background: var(--strong); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==============================================
   HEADER (transparent over the hero, solid on scroll)
=============================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 250; color: #fff; transition: background 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled { background: var(--band); box-shadow: 0 10px 30px -14px rgba(0,0,0,0.7); }
.topbar { background: rgba(0,0,0,0.45); font-size: 0.875rem; font-weight: 600; max-height: 50px; overflow: hidden; transition: max-height 0.3s ease; }
.site-header.is-scrolled .topbar { max-height: 0; }
.topbar-inner { display: flex; justify-content: flex-end; align-items: center; gap: 26px; min-height: 40px; }
.topbar i { color: var(--brand-on-dark); margin-right: 7px; }
.topbar a:hover { color: var(--brand-on-dark); }
.header-inner { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; transition: padding 0.3s ease; }
.site-header.is-scrolled .header-inner { padding-top: 9px; padding-bottom: 9px; }

/* Logos made for a light background get a white plate so they read over the photo */
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: var(--r-lg); transition: var(--ease); }
.brand-logo img { max-height: 96px; max-width: 280px; width: auto; transition: max-height 0.3s ease; }
.brand-logo.light-nav:has(img) { background: #fff; padding: 10px 16px; }
.brand-logo h1 { color: #fff; font-size: 1.5rem; max-width: 380px; }
.site-header.is-scrolled .brand-logo img { max-height: 50px; }
.site-header.is-scrolled .brand-logo.light-nav:has(img) { padding: 5px 10px; }
.site-header.is-scrolled .brand-logo h1 { font-size: 1.125rem; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { font-weight: 700; font-size: 0.9375rem; text-transform: uppercase; padding: 10px 14px; border-radius: var(--r); text-shadow: 0 1px 8px rgba(0,0,0,0.45); transition: var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--brand-on-dark); }
.nav-links .nav-cta { background: var(--brand); color: #fff; text-shadow: none; margin-left: 10px; padding: 11px 20px; }
.nav-links .nav-cta:hover, .nav-links .nav-cta.is-active { color: #fff; filter: brightness(0.9); }
.header-mobile { display: none; margin-left: auto; gap: 10px; }
.icon-btn { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--strong); display: flex; align-items: center; justify-content: center; font-size: 1.0625rem; cursor: pointer; }
.icon-btn.brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.site-header .icon-btn:not(.brand) { background: rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.4); color: #fff; }

/* ==============================================
   HERO
=============================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--band); color: #fff; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,6,15,0.88) 0%, rgba(3,6,15,0.6) 55%, rgba(3,6,15,0.25) 100%), linear-gradient(180deg, rgba(3,6,15,0.55), transparent 35%); }
.hero .container { position: relative; z-index: 1; }
.hero-body { max-width: 760px; padding: 200px 0 110px; }
.hero-title { color: #fff; font-size: clamp(2.5rem, 6.2vw, 4.5rem); line-height: 1.02; margin-bottom: 22px; }
.hero-lead { font-size: 1.1875rem; font-weight: 500; color: rgba(255,255,255,0.9); max-width: 620px; margin-bottom: 34px; }

/* ==============================================
   TRUST BADGES
=============================================== */
.badges { background: var(--band); border-top: 1px solid rgba(255,255,255,0.08); }
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.badge { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-right: 1px solid rgba(255,255,255,0.08); color: #fff; }
.badge:last-child { border-right: none; }
.badge i { font-size: 1.5rem; color: var(--brand-on-dark); width: 30px; text-align: center; flex-shrink: 0; }
.badge strong { display: block; font-weight: 800; text-transform: uppercase; font-size: 0.9375rem; line-height: 1.3; }
.badge small { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* ==============================================
   SERVICES
=============================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; display: flex; flex-direction: column; background: var(--card-dark); border: 1px solid var(--card-dark-line); color: rgba(255,255,255,0.78); border-radius: var(--r-lg); padding: 34px 30px; overflow: hidden; transition: var(--ease); }
.service-card::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--brand); transform: scaleX(0.25); transform-origin: left; transition: transform 0.35s ease; }
.service-card:hover { transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-num { font-weight: 900; font-size: 2.75rem; line-height: 1; color: rgba(255,255,255,0.12); margin-bottom: 18px; }
.service-card h3 { color: #fff; font-size: 1.375rem; margin-bottom: 22px; }
.service-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-transform: uppercase; font-size: 0.875rem; color: var(--brand-on-dark); background: none; border: 0; padding: 0; cursor: pointer; }
.service-link:hover { gap: 12px; }

/* ==============================================
   ABOUT (navy band)
=============================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.about-copy p { margin-top: 18px; }
.about-copy p:first-of-type { font-size: 1.1875rem; font-weight: 600; color: #fff; }
.about-copy .btn-row { margin-top: 34px; }
.about-media { position: relative; }
.about-media::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--brand); border-radius: var(--r-lg); }
.about-media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }

/* ==============================================
   LATEST PROJECTS
=============================================== */
.projects-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.project-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 440px; }
.project-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.project-photos img:first-child { grid-row: 1 / 3; }
.projects-copy .btn-row { margin-top: 30px; }

/* ==============================================
   WHY US
=============================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow); }
.why-icon { width: 46px; height: 46px; border-radius: var(--r); background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; margin-bottom: 20px; }
.why-card h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); }

/* ==============================================
   AREAS (navy band)
=============================================== */
.areas-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.areas-copy p { margin-top: 16px; }
.areas-copy .btn-row { margin-top: 30px; }
.areas-map { height: 420px; border-radius: var(--r-lg); overflow: hidden; border: 3px solid rgba(255,255,255,0.08); }
.areas-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==============================================
   REVIEWS
=============================================== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow); }
.stars { color: #f5a623; letter-spacing: 3px; font-size: 0.875rem; margin-bottom: 14px; }
.review-body { flex: 1; font-style: italic; margin-bottom: 18px; }
.review-author { font-weight: 800; color: var(--strong); text-transform: uppercase; font-size: 0.875rem; }

/* ==============================================
   PHOTO CALL TO ACTION
=============================================== */
.cta { position: relative; overflow: hidden; background: var(--band); color: #fff; padding: 110px 0; text-align: center; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(3,6,15,0.78); }
.cta .container { position: relative; z-index: 2; max-width: 820px; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.25rem); }
.cta p { font-size: 1.1875rem; font-weight: 500; color: rgba(255,255,255,0.88); margin: 16px 0 32px; }
.cta .btn-row { justify-content: center; }

/* ==============================================
   FOOTER
=============================================== */
.site-footer { background: var(--band); color: rgba(255,255,255,0.72); padding-top: 72px; border-top: 4px solid var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 56px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 1.0625rem; margin-bottom: 18px; }
.footer-links, .footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-links a:hover, .footer-contacts a:hover { color: var(--brand-on-dark); }
.footer-contact-item { display: flex; gap: 12px; }
.footer-contact-item i { width: 18px; margin-top: 6px; text-align: center; color: var(--brand-on-dark); }
.footer-contact-item a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.875rem; }
.back-to-top { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r); border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; cursor: pointer; transition: var(--ease); }
.back-to-top:hover { background: var(--brand); border-color: var(--brand); }

/* fixed call / quote bar, phones only */
.call-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 240; grid-template-columns: 1fr 1fr; background: var(--band); box-shadow: 0 -8px 24px -10px rgba(0,0,0,0.5); padding-bottom: env(safe-area-inset-bottom); }
.call-bar .btn { border-radius: 0; border: 0; padding: 17px 8px; font-size: 0.9375rem; }
.call-bar .btn:hover { transform: none; }
.call-bar .btn:first-child { background: var(--band); color: #fff; }

/* ==============================================
   PAGE HEADER (inner pages)
=============================================== */
.page-header { position: relative; overflow: hidden; background: var(--band); color: #fff; }
.page-header > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,6,15,0.9), rgba(3,6,15,0.5)), linear-gradient(180deg, rgba(3,6,15,0.5), transparent 45%); }
.page-header .container { position: relative; z-index: 1; }
.page-header-body { max-width: 720px; padding: 220px 0 84px; }
.page-title { color: #fff; font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 12px; }
.page-lead { font-size: 1.125rem; font-weight: 500; color: rgba(255,255,255,0.88); }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: var(--brand-on-dark); }
.breadcrumb i { font-size: 0.625rem; }


/* ==============================================
   MOBILE MENU
=============================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 88vw);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}
.mobile-menu.is-open .mobile-panel { transform: translateX(0); }
.mobile-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.mobile-title { font-family: var(--ff-head); font-weight: 600; font-size: 1.25rem; color: var(--strong); line-height: 1.2; }
.mobile-links { display: flex; flex-direction: column; flex: 1; }
.mobile-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--ff-head);
    font-weight: 500;
    font-size: 1.3125rem;
    color: var(--strong);
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.mobile-links a::after { content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.875rem; color: var(--brand); }
.mobile-foot { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }

/* ==============================================
   ACCREDITATIONS
=============================================== */
.accred-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.accred-grid .columns { display: contents; }
.cred {
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    text-align: center;
    transition: var(--ease);
}
.cred:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.cred img { width: 60px; height: 60px; object-fit: contain; }
.cred p { font-family: var(--ff-head); font-size: 0.75rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.3; }

/* ==============================================
   CONTACT
=============================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .lead { margin: 14px 0 30px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.ci-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.ci-label { display: block; font-family: var(--ff-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ci-value { display: block; font-weight: 700; font-size: 1.0625rem; color: var(--strong); overflow-wrap: anywhere; }
a.ci-value:hover { color: var(--brand); }
.hours { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.hours h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 0.9375rem; border-bottom: 1px dashed var(--line); }
.hours-row:last-child { border-bottom: none; }
.hours-row b, .hours-row strong { color: var(--strong); }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.contact-form { padding: 34px; }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 20px; }
.contact-map { height: 220px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* forms (contact + quote) */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.full { grid-column: 1 / -1; }
.fg label { font-family: var(--ff-head); font-size: 0.875rem; font-weight: 500; color: var(--strong); }
.fg input, .fg select, .fg textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--bg-alt);
    font-family: var(--ff-body);
    font-size: 1rem;
    color: var(--strong);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.fg textarea { min-height: 120px; resize: vertical; }
.captcha { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; background: var(--brand-soft); border-radius: var(--r); padding: 14px 16px; }
.captcha-q { font-family: var(--ff-head); font-weight: 600; color: var(--strong); }
.captcha-q span { color: var(--brand); }
.captcha input[type="text"] { width: 90px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--strong); font-size: 1rem; outline: none; }
.captcha input[type="text"]:focus { border-color: var(--brand); }
.fg input.sendForm {
    width: auto;
    margin-left: auto;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--r);
    padding: 13px 24px;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--ease);
}
.fg input.sendForm:hover { filter: brightness(0.9); }
.fg input.sendForm.disabled { opacity: 0.45; cursor: not-allowed; filter: none; }

/* ==============================================
   QUOTE MODAL
=============================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--brand);
    transform: translateY(16px);
    transition: transform 0.3s ease;
}
.modal.is-open .modal-box { transform: translateY(0); }
.modal-head { padding: 32px 34px 0; }
.modal-head h2 { font-size: 1.875rem; }
.modal-head p { color: var(--muted); margin-top: 6px; }
.modal-form { padding: 24px 34px 34px; }
.fg input.modal-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--r);
    background: var(--brand);
    color: #fff;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--ease);
}
.fg input.modal-submit:hover { filter: brightness(0.9); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-alt); color: var(--strong); cursor: pointer; }

/* ==============================================
   GALLERY + LIGHTBOX
=============================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border: none; padding: 0; border-radius: var(--r-lg); background: var(--line); cursor: pointer; }
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: var(--r);
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--ease);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 84px;
    background: rgba(8,10,13,0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox-img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; border-radius: var(--r); transition: opacity 0.25s ease; }
.lightbox-img.is-loading { opacity: 0; }
.lightbox-caption { margin-top: 16px; color: rgba(255,255,255,0.85); font-family: var(--ff-head); text-align: center; }
.lightbox-counter { position: absolute; top: 24px; left: 26px; color: rgba(255,255,255,0.7); font-family: var(--ff-head); font-weight: 600; letter-spacing: 0.08em; }
.lightbox-btn { position: absolute; width: 50px; height: 50px; border-radius: var(--r); border: none; background: rgba(255,255,255,0.1); color: #fff; font-size: 1.0625rem; cursor: pointer; transition: var(--ease); }
.lightbox-btn:hover { background: var(--brand); }
.lightbox-close { top: 14px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ==============================================
   SUCCESS (enquiry sent)
=============================================== */
.success-card { max-width: 720px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 60px 44px; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 22px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 0 0 10px var(--brand-soft); }
.success-card .section-title { margin-bottom: 14px; }
.success-card .lead { margin-bottom: 10px; }
.success-card .btn-row { justify-content: center; margin-top: 30px; }

/* ==============================================
   FORM BUTTONS (stronger than the input styles)
=============================================== */
.fg input.modal-submit, .fg input.sendForm { background: var(--brand); border: 0; border-radius: var(--r); color: #fff; font-family: var(--ff-body); font-weight: 800; text-transform: uppercase; font-size: 1rem; padding: 16px 28px; cursor: pointer; }
.fg input.sendForm { width: auto; margin-left: auto; }
.fg input.sendForm.disabled { cursor: not-allowed; }
.captcha-q span { color: var(--brand-text); }
.hours strong { font-weight: 700; color: var(--strong); }


/* ==============================================
   RESPONSIVE
=============================================== */
@media (max-width: 1100px) {
    .nav-links a { padding: 10px 10px; }
    .badge-grid { grid-template-columns: repeat(2, 1fr); }
    .badge:nth-child(2) { border-right: none; }
    .badge:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 1024px) {
    .service-grid, .why-grid, .review-grid { grid-template-columns: 1fr 1fr; }
    .about-grid, .projects-grid, .areas-grid, .contact-grid { gap: 48px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 900px) {
    .section { padding: 76px 0; }
    .nav-links { display: none; }
    .header-mobile { display: flex; }
    .brand-logo img { max-height: 76px; max-width: 210px; }
    .about-grid, .projects-grid, .areas-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 520px; margin-right: 22px; }
    .project-photos { height: 360px; }
    .areas-map { height: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 34px; }
    .topbar-email { display: none; }
    .topbar-inner { justify-content: center; gap: 18px; }
    .header-inner { gap: 14px; padding-top: 12px; padding-bottom: 12px; }
    .brand-logo img { max-height: 64px; max-width: 170px; }
    .brand-logo h1 { font-size: 1.125rem; }
    .site-header.is-scrolled .brand-logo img { max-height: 42px; }
    .hero-body { padding: 170px 0 72px; }
    .hero .btn, .cta .btn, .about-copy .btn, .areas-copy .btn, .projects-copy .btn, .success-card .btn { width: 100%; }
    .badge-grid { grid-template-columns: 1fr; }
    .badge { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 18px 4px; }
    .badge:last-child { border-bottom: none; }
    .service-grid, .why-grid, .review-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .project-photos { height: 280px; gap: 8px; }
    .areas-map { height: 260px; }
    .cta { padding: 80px 0; }
    .contact-form, .modal-form { padding: 24px; }
    .modal-head { padding: 28px 24px 0; }
    .fg input.sendForm { margin-left: 0; width: 100%; }
    .footer-grid { gap: 36px; }
    .call-bar { display: grid; }
    .success-card { padding: 44px 22px; }
    .page-header-body { padding: 160px 0 56px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
    .lightbox { padding: 64px 12px 96px; }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 24px; transform: none; }
    .lightbox-prev { left: calc(50% - 62px); }
    .lightbox-next { right: calc(50% - 62px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* ==============================================
   SURREAL CMS (editable regions)
   Guide colours for the editor, and styles for anything an
   editor can add inside a region: aligned or captioned images,
   quotes, tables and lists.
=============================================== */
:root {
    --cms-guide-color: color-mix(in srgb, var(--brand) 80%, #000000);
    --cms-repeatable-color: #c2410c;
}
.cms-editable img { max-width: 100%; height: auto; }
.cms-editable figure.image { margin: 1.5em 0; }
.cms-editable figure.image img { display: block; }
.cms-editable figcaption { font-size: 0.875em; opacity: 0.8; margin-top: 0.5em; }
.cms-editable .align-left { float: left; max-width: 50%; margin: 0.25em 1.5em 1em 0; }
.cms-editable .align-right { float: right; max-width: 50%; margin: 0.25em 0 1em 1.5em; }
.cms-editable .align-center { width: fit-content; margin-inline: auto; }
.cms-editable blockquote { margin: 1.25em 0; padding-left: 1em; border-left: 3px solid currentColor; font-style: italic; }
.cms-editable table { width: 100%; border-collapse: collapse; margin: 1.25em 0; }
.cms-editable th, .cms-editable td { padding: 0.5em 0.75em; border: 1px solid rgba(127,127,127,0.35); text-align: left; }
.cms-editable hr { border: 0; border-top: 1px solid rgba(127,127,127,0.35); margin: 1.5em 0; }
.cms-editable pre { overflow-x: auto; padding: 1em; background: rgba(127,127,127,0.12); }
div.cms-editable ul:not([class]), div.cms-editable ol:not([class]) { margin: 0 0 1em 1.25em; }
div.cms-editable ul:not([class]) { list-style: disc; }
div.cms-editable ol:not([class]) { list-style: decimal; }
@media (max-width: 640px) {
    .cms-editable .align-left, .cms-editable .align-right { display: block; float: none !important; max-width: 100%; margin-inline: auto; }
}
