:root {
    --ink: #111827;
    --muted: #52606d;
    --line: #dbe3ea;
    --paper: #ffffff;
    --mist: #f5f8fa;
    --deep: #07181f;
    --teal: #0e9f9a;
    --teal-dark: #08706d;
    --blue: #2563eb;
    --amber: #f2b441;
    --shadow: 0 24px 70px rgba(7, 24, 31, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 14px clamp(18px, 4vw, 56px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(7, 24, 31, 0.88);
    color: white;
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(14, 159, 154, 0.95), rgba(37, 99, 235, 0.95));
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1rem;
    letter-spacing: 0;
}

.brand small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

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

.site-nav a {
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 24, 31, 0.88) 0%, rgba(7, 24, 31, 0.58) 44%, rgba(7, 24, 31, 0.18) 100%),
        linear-gradient(0deg, rgba(7, 24, 31, 0.42), rgba(7, 24, 31, 0.02));
}

.hero-content {
    position: relative;
    width: min(720px, calc(100% - 36px));
    margin-left: clamp(18px, 6vw, 72px);
    padding: 72px 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow,
.page-hero .eyebrow {
    color: #7de5df;
}

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

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(3rem, 8vw, 6.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
    font-size: 1.25rem;
}

.hero-copy {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-band {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--teal);
    color: white;
    box-shadow: 0 16px 32px rgba(14, 159, 154, 0.25);
}

.button-primary:hover {
    background: var(--teal-dark);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.45);
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.button-outline {
    border-color: var(--line);
    color: var(--deep);
    background: white;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--deep);
    color: white;
}

.trust-strip div {
    min-height: 122px;
    padding: 24px clamp(18px, 3vw, 36px);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip strong {
    margin-bottom: 8px;
    font-size: 1rem;
}

.trust-strip span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.94rem;
}

.section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(64px, 9vw, 112px) 0;
}

.intro-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 6vw, 80px);
}

.section-copy h2,
.section-heading h2 {
    margin-bottom: 0;
}

.intro-grid {
    display: grid;
    gap: 20px;
    color: var(--muted);
    font-size: 1.08rem;
}

.gallery-section,
.services-preview,
.steps-section,
.testimonials-section,
.package-section,
.add-on-section,
.service-area-section,
.faq-section {
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
}

.gallery-card {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 24px;
    border-radius: 8px;
    color: white;
    overflow: hidden;
    background-color: var(--deep);
    background-image:
        linear-gradient(0deg, rgba(7, 24, 31, 0.88), rgba(7, 24, 31, 0.08)),
        url("./assets/mirrorfinish-hero.png");
    background-size: cover;
    box-shadow: var(--shadow);
}

.before-card {
    filter: saturate(0.75);
    background-position: 28% center;
}

.after-card {
    background-position: 62% center;
}

.shine-card {
    background-position: 86% center;
}

.gallery-card span {
    width: fit-content;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gallery-card h3 {
    margin-bottom: 0;
}

.package-row,
.package-grid,
.add-on-grid,
.testimonial-grid {
    display: grid;
    gap: 18px;
}

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

.package-grid {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    align-items: stretch;
    overflow-x: auto;
    padding-bottom: 8px;
}

.package-card,
.service-card,
.add-on-grid article,
blockquote,
.workflow-card,
.quote-form,
[id^="webformafy-embed-"] {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 18px 45px rgba(7, 24, 31, 0.07);
}

.package-card,
.service-card,
.add-on-grid article {
    padding: 26px;
}

.package-kicker {
    margin: 0 0 8px;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.package-card p:not(.package-kicker),
.service-card p:not(.package-kicker),
.add-on-grid p,
.workflow-card span,
.faq-list p,
.quote-note p {
    color: var(--muted);
}

.package-card strong,
.service-card strong {
    display: block;
    margin-top: 22px;
    font-size: 1.08rem;
}

.featured-card {
    border-color: rgba(14, 159, 154, 0.7);
    box-shadow: 0 24px 70px rgba(14, 159, 154, 0.16);
}

.text-link {
    display: inline-flex;
    margin-top: 24px;
    color: var(--teal-dark);
    font-weight: 900;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 0;
    list-style: none;
}

.steps li {
    min-height: 210px;
    padding: 24px;
    border-top: 4px solid var(--teal);
    background: white;
    border-radius: 8px;
}

.steps span {
    display: block;
    margin-bottom: 28px;
    color: var(--teal-dark);
    font-weight: 900;
}

.steps strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.steps p {
    color: var(--muted);
}

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

blockquote {
    margin: 0;
    padding: 28px;
}

blockquote p {
    margin-top: 0;
    font-size: 1.15rem;
}

cite {
    color: var(--muted);
    font-style: normal;
    font-weight: 800;
}

.cta-band {
    justify-content: space-between;
    margin: 0 auto clamp(42px, 8vw, 86px);
    padding: clamp(28px, 5vw, 48px);
    width: min(1180px, calc(100% - 36px));
    border-radius: 8px;
    color: white;
    background:
        linear-gradient(135deg, rgba(7, 24, 31, 0.94), rgba(14, 159, 154, 0.82)),
        url("./assets/mirrorfinish-hero.png") center / cover;
    box-shadow: var(--shadow);
}

.cta-band h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.page-hero {
    display: grid;
    align-items: end;
    min-height: 420px;
    padding: clamp(70px, 11vw, 128px) clamp(18px, 6vw, 72px) clamp(56px, 8vw, 86px);
    color: white;
    background:
        linear-gradient(90deg, rgba(7, 24, 31, 0.94), rgba(7, 24, 31, 0.68), rgba(7, 24, 31, 0.3)),
        url("./assets/mirrorfinish-hero.png") center / cover;
}

.compact-hero {
    min-height: 390px;
}

.page-hero div {
    max-width: 880px;
}

.page-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.page-hero p:last-child {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

.service-card {
    display: flex;
    min-width: 220px;
    flex-direction: column;
}

.service-card .button {
    margin-top: auto;
}

.add-on-grid {
    grid-template-columns: repeat(4, 1fr);
}

.service-area-panel {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 28px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: 8px;
    color: white;
    background: var(--deep);
}

.service-area-panel p {
    color: rgba(255, 255, 255, 0.72);
}

.area-list {
    display: grid;
    gap: 12px;
    align-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.area-list li {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

summary {
    padding: 20px;
    font-weight: 900;
    cursor: pointer;
}

details p {
    margin: 0;
    padding: 0 20px 20px;
}

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

.quote-form {
    display: grid;
    gap: 0;
    overflow: hidden;
}

.form-section {
    padding: clamp(22px, 4vw, 34px);
    border-bottom: 1px solid var(--line);
}

.form-section:last-child {
    border-bottom: 0;
}

.form-section-heading {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-bottom: 22px;
}

.form-section-heading span {
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: var(--deep);
    color: white;
    font-weight: 900;
}

.form-section-heading h2 {
    margin: 0 0 4px;
    font-size: 1.35rem;
}

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

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

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

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    background: white;
    color: var(--ink);
    font: inherit;
    padding: 12px 13px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(14, 159, 154, 0.2);
    border-color: var(--teal);
}

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

.checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.checkbox-grid legend {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    font-weight: 900;
}

.checkbox-grid label,
.consent-field {
    display: flex;
    align-items: start;
    gap: 10px;
    font-weight: 700;
}

.checkbox-grid input,
.consent-field input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.upload-field {
    min-height: 154px;
    margin-bottom: 16px;
    place-items: center;
    border: 1px dashed #9fb0be;
    border-radius: 8px;
    background: #f8fbfc;
    text-align: center;
    cursor: pointer;
}

.upload-field:hover {
    border-color: var(--teal);
    background: #f1fbfa;
}

.upload-field input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.upload-field span {
    font-size: 1.08rem;
}

.upload-field small {
    display: block;
    max-width: 460px;
    color: var(--muted);
    font-weight: 600;
}

.consent-field {
    margin: 18px 0;
    color: var(--muted);
}

.form-submit {
    width: 100%;
}

.form-message {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--teal-dark);
    font-weight: 900;
}

.workflow-card {
    position: sticky;
    top: 96px;
    padding: 26px;
}

.workflow-card h2 {
    font-size: 1.7rem;
}

.workflow-card ol {
    display: grid;
    gap: 16px;
    margin: 22px 0;
    padding-left: 20px;
}

.workflow-card strong,
.workflow-card span {
    display: block;
}

.workflow-card strong {
    margin-bottom: 4px;
}

.quote-note {
    padding: 16px;
    border-radius: 8px;
    background: #eefaf9;
}

.quote-note p {
    margin-bottom: 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 34px clamp(18px, 4vw, 56px);
    color: white;
    background: var(--deep);
}

.site-footer p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.64);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
}

@media (max-width: 980px) {
    .trust-strip,
    .intro-section,
    .package-row,
    .steps,
    .testimonial-grid,
    .add-on-grid,
    .service-area-panel,
    .quote-layout {
        grid-template-columns: 1fr 1fr;
    }

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

    .quote-layout {
        grid-template-columns: 1fr;
    }

    .workflow-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .site-header {
        align-items: start;
        min-height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 70px;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 8px;
        background: rgba(7, 24, 31, 0.98);
        box-shadow: var(--shadow);
    }

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

    .hero {
        min-height: 760px;
    }

    .hero-content {
        width: min(100% - 36px, 620px);
        margin: 0 auto;
        padding: 58px 0;
    }

    .trust-strip,
    .intro-section,
    .package-row,
    .steps,
    .testimonial-grid,
    .add-on-grid,
    .service-area-panel,
    .form-grid,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

    .gallery-card {
        min-height: 270px;
    }

    .site-footer,
    .cta-band {
        display: grid;
    }
}
