:root {
    --ink: #17212b;
    --muted: #637083;
    --line: #d9e0e8;
    --surface: #ffffff;
    --wash: #f4f7f9;
    --deep: #0f3b50;
    --teal: #087f8c;
    --green: #2f7d57;
    --coral: #d95d39;
    --gold: #d49b2a;
    --shadow: 0 18px 50px rgba(23, 33, 43, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--wash);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

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

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--surface);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 224, 232, 0.8);
    backdrop-filter: blur(14px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: 76px;
    height: 42px;
    object-fit: contain;
    border-radius: 6px;
}

.brand-name {
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--ink);
    font-size: 22px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 10px 12px;
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--deep);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--coral);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.site-nav .nav-cta {
    color: #fff;
}

.button.secondary {
    background: var(--surface);
    color: var(--deep);
    border-color: var(--line);
}

.hero {
    min-height: min(680px, calc(100svh - 124px));
    display: grid;
    align-items: end;
    padding: 88px 0 54px;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(8, 36, 49, 0.84), rgba(8, 36, 49, 0.42), rgba(8, 36, 49, 0.14)), url("/images/IMG_3213.JPG");
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #bde8e4;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(2.4rem, 7vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    width: min(920px, 100%);
    overflow: hidden;
    border-radius: 8px;
    background: var(--line);
    box-shadow: var(--shadow);
}

.hero-facts div {
    padding: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
}

.hero-facts strong {
    display: block;
    font-size: 1.35rem;
}

.hero-facts span {
    color: var(--muted);
    font-size: 0.9rem;
}

.section {
    padding: 84px 0;
}

.highlights {
    position: relative;
    z-index: 2;
    margin-top: -26px;
}

.section.tight {
    padding: 56px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.trust-grid,
.services-grid,
.gallery-grid {
    display: grid;
    gap: 20px;
}

.trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item,
.service-card,
.project-card,
.contact-panel,
.form-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(23, 33, 43, 0.03);
}

.trust-item {
    padding: 22px;
}

.trust-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.trust-item p {
    margin: 0;
    color: var(--muted);
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    overflow: hidden;
}

.service-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.service-content p {
    min-height: 74px;
    margin: 0 0 16px;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus {
    color: var(--coral);
}

.band {
    background: var(--deep);
    color: #fff;
}

.band .section-heading p,
.band .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.service-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-areas span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
}

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

.project-card {
    overflow: hidden;
}

.project-card[hidden] {
    display: none;
}

.project-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-card figcaption {
    padding: 16px;
}

.project-card strong {
    display: block;
}

.project-card span {
    color: var(--muted);
    font-size: 0.93rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.form-panel,
.contact-panel {
    padding: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.field textarea {
    min-height: 142px;
    resize: vertical;
}

.field-error {
    min-height: 18px;
    color: #b42318;
    font-size: 0.86rem;
}

.field input:invalid:not(:focus):not(:placeholder-shown),
.field textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #d92d20;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 22px;
}

.form-note,
.fine-print {
    color: var(--muted);
    font-size: 0.92rem;
}

.alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #fff3f0;
    color: #9f351f;
    font-weight: 700;
}

.contact-panel h3 {
    margin-top: 0;
}

.privacy-panel h1 {
    margin-top: 0;
}

.privacy-panel h2 {
    margin: 28px 0 8px;
    font-size: 1.35rem;
}

.contact-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
}

.contact-list span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.membership {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.membership img {
    max-width: 180px;
}

.site-footer {
    padding: 36px 0;
    color: rgba(255, 255, 255, 0.78);
    background: #17212b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.footer-grid a {
    color: #fff;
    font-weight: 700;
}

.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: auto;
    z-index: 60;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    width: min(440px, calc(100% - 40px));
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-copy strong {
    display: block;
    margin-bottom: 4px;
}

.cookie-copy p {
    margin: 0;
    color: var(--muted);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .site-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .section-heading,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-facts,
    .trust-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .brand-name {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 72px 0 36px;
    }

    .hero-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-facts,
    .trust-grid,
    .services-grid,
    .gallery-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

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

    .cookie-banner {
        grid-template-columns: 1fr;
        position: static;
        width: min(100% - 28px, 520px);
        max-height: none;
        margin: 14px auto 0;
        overflow: visible;
        padding: 14px;
    }

    .hero .cookie-banner {
        width: 100%;
        margin: 18px 0 0;
    }

    .cookie-copy p {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .cookie-actions {
        align-items: center;
        flex-direction: row;
        gap: 8px;
    }

    .cookie-actions .button {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        min-height: 38px;
        padding: 7px 8px;
        font-size: 0.88rem;
    }

    .cookie-actions .text-link {
        min-height: 32px;
        align-items: center;
    }
}
