* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(244, 196, 48, .18), transparent 24%),
        linear-gradient(180deg, #f8fbfb 0%, #ffffff 32%, #f4f9f8 100%);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    line-height: 1.6;
}

:root {
    --primary: #087f8c;
    --secondary: #ff6b4a;
    --accent: #f4c430;
    --ink: #1f2933;
    --muted: #5b6673;
    --surface: #ffffff;
    --soft: #eef8f6;
    --line: #d7e4e2;
    --shadow: 0 24px 70px rgba(18, 38, 45, .12);
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 64px);
    color: var(--ink);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 36px rgba(31, 41, 51, .08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 800;
    text-decoration: none;
}

.brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    flex: 0 0 40px;
    border-radius: 12px;
    color: var(--ink);
    background: linear-gradient(135deg, var(--accent), #ffe38b);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 700;
}

.site-nav a {
    text-decoration: none;
}

.nav-cta,
.lock-note {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    font-weight: 800;
}

.nav-cta {
    color: #fff;
    background: var(--primary);
}

.lock-note {
    color: var(--secondary);
    background: rgba(255, 107, 74, .12);
}

.nav-toggle {
    display: none;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    color: #fff;
    background: var(--primary);
    font-weight: 800;
}

.wizard-hero {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(320px, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: start;
    padding: 34px clamp(18px, 5vw, 70px) 54px;
}

.wizard-hero--locked {
    grid-template-columns: minmax(320px, 760px);
    justify-content: center;
    min-height: 100vh;
    padding-top: 36px;
}

.wizard-copy {
    padding-top: 24px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--secondary);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(2.7rem, 8vw, 5.5rem);
    line-height: .94;
}

h2 {
    margin: 0;
    max-width: 17ch;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1;
}

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

.wizard-copy > p:not(.eyebrow) {
    max-width: 62ch;
    margin: 20px 0 0;
    font-size: 1.08rem;
    color: var(--muted);
}

.wizard-highlights,
.contact-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 32px 0 0;
    list-style: none;
}

.wizard-highlights li::before {
    content: "•";
    margin-right: 10px;
    color: var(--primary);
}

.contact-card {
    display: grid;
    gap: 8px;
    max-width: 420px;
    margin-top: 32px;
    padding: 22px;
    border: 1px solid rgba(8, 127, 140, .16);
    border-radius: 24px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 40px rgba(31, 41, 51, .06);
}

.contact-card a,
.contact-card span,
.wizard-highlights li,
.contact-list li,
.service-card p,
.split-section p,
.site-footer p,
.gallery-grid figcaption,
.locked-card p,
.step-heading p,
.quote-summary p {
    color: var(--muted);
}

.quote-form {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(8, 127, 140, .12);
    border-radius: 28px;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--shadow);
}

.wizard-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.wizard-progress span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: #eef3f3;
    font-size: .92rem;
    font-weight: 800;
}

.wizard-progress span.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0e6172);
}

.wizard-progress span.is-complete {
    color: #fff;
    background: linear-gradient(135deg, #2d8f66, #16744c);
}

.wizard-step {
    display: none;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #fbfdfd);
}

.wizard-step.is-active {
    display: grid;
}

.choice-group {
    display: grid;
    gap: 12px;
}

.choice-heading {
    display: grid;
    gap: 4px;
}

.choice-heading span {
    font-weight: 800;
}

.choice-heading small {
    color: var(--muted);
    font-size: .92rem;
}

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

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

.option-card {
    display: grid;
    gap: 8px;
    min-height: 104px;
    padding: 18px;
    border: 1px solid #cfe0dc;
    border-radius: 22px;
    color: var(--ink);
    text-align: left;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(243, 249, 248, .96));
    box-shadow: 0 14px 28px rgba(16, 33, 41, .05);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.option-card:hover {
    transform: translateY(-1px);
    border-color: #9ebdb7;
    box-shadow: 0 18px 34px rgba(16, 33, 41, .08);
}

.option-card strong {
    font-size: 1rem;
    line-height: 1.25;
}

.option-card span {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 600;
}

.option-card--compact {
    min-height: 74px;
    place-items: center start;
    padding: 16px;
}

.option-card.is-selected {
    border-color: var(--primary);
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0f6878);
    box-shadow: 0 18px 36px rgba(8, 127, 140, .22);
}

.option-card.is-selected span {
    color: rgba(255, 255, 255, .82);
}

.choice-select {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.wizard-actions,
.hero-actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wizard-actions {
    justify-content: space-between;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 800;
    font: inherit;
}

.button.primary {
    color: #fff;
    background: var(--primary);
}

.button.secondary {
    color: #fff;
    background: var(--secondary);
}

.button.light {
    color: var(--ink);
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(31, 41, 51, .12);
}

.quote-summary {
    padding: 18px;
    border-radius: 22px;
    background: var(--soft);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.summary-grid div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
}

.summary-grid strong {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

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

label {
    display: grid;
    gap: 8px;
    font-weight: 800;
    color: var(--ink);
}

input,
select,
textarea {
    width: 100%;
    min-height: 58px;
    border: 1px solid #bfd2ce;
    border-radius: 20px;
    padding: 16px 18px;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    background: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .7),
        0 10px 24px rgba(16, 33, 41, .04);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(8, 127, 140, .14);
    border-color: var(--primary);
    box-shadow:
        0 0 0 4px rgba(8, 127, 140, .12),
        0 16px 34px rgba(8, 127, 140, .08);
}

textarea {
    min-height: 132px;
    resize: vertical;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 54px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--primary) 50%),
        linear-gradient(135deg, var(--primary) 50%, transparent 50%),
        linear-gradient(180deg, rgba(8, 127, 140, .08), rgba(8, 127, 140, .02));
    background-position:
        calc(100% - 24px) calc(50% - 3px),
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 46px) 50%;
    background-size:
        7px 7px,
        7px 7px,
        1px 28px;
    background-repeat: no-repeat;
}

select:hover,
input:hover,
textarea:hover {
    border-color: #9ebdb7;
}

label span,
.alert.error {
    color: #b42318;
}

.alert {
    border-radius: 18px;
    padding: 14px 16px;
    font-weight: 800;
}

.alert.success {
    color: #05603a;
    background: #d1fadf;
}

.alert.error {
    background: #fee4e2;
}

.is-hidden,
.hp-field {
    position: absolute;
    left: -9999px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 clamp(18px, 5vw, 70px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(31, 41, 51, .04);
}

.trust-strip span {
    padding: 18px;
    text-align: center;
    font-weight: 800;
    border-right: 1px solid var(--line);
}

.trust-strip span:last-child {
    border-right: 0;
}

.section {
    padding: 82px clamp(18px, 5vw, 70px);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 260px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 34px rgba(31, 41, 51, .05);
}

.service-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 16px;
    color: #fff;
    background: var(--primary);
    font-weight: 900;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    margin: 0 clamp(18px, 5vw, 70px);
    padding: clamp(26px, 5vw, 44px);
    border-radius: 32px;
    color: #fff;
    background: linear-gradient(135deg, #16333c, #0e4d59);
}

.split-section img {
    width: 100%;
    height: min(56vw, 440px);
    object-fit: cover;
    border-radius: 24px;
}

.gallery-section {
    background: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(31, 41, 51, .05);
}

.gallery-grid img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.gallery-grid figcaption {
    padding: 14px 16px 18px;
    font-weight: 800;
}

.locked-shell {
    padding: 0 clamp(18px, 5vw, 70px) 82px;
}

.locked-card {
    padding: 28px;
    border: 1px dashed rgba(31, 41, 51, .14);
    border-radius: 28px;
    background: rgba(255, 255, 255, .72);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 36px clamp(18px, 5vw, 70px);
    color: #fff;
    background: #102129;
}

.site-footer p {
    margin: 6px 0 0;
}

@media (max-width: 1040px) {
    .wizard-hero,
    .service-grid,
    .gallery-grid,
    .split-section,
    .site-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 20px;
        color: var(--ink);
        background: #fff;
        box-shadow: 0 18px 50px rgba(31, 41, 51, .16);
    }

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

    .trust-strip,
    .summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-heading,
    .site-footer,
    .wizard-progress {
        display: grid;
    }

    .wizard-progress {
        grid-template-columns: 1fr;
    }

    .option-grid,
    .option-grid--compact {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: clamp(2.4rem, 14vw, 4rem);
    }

    .wizard-hero,
    .section,
    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .form-row,
    .option-grid,
    .option-grid--compact,
    .trust-strip,
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .quote-form,
    .wizard-step,
    .split-section {
        padding: 18px;
    }

    .split-section,
    .trust-strip {
        margin-left: 18px;
        margin-right: 18px;
    }
}
