:root {
    --primary: #0f766e;
    --primary-dark: #0d5c56;
    --primary-light: #14b8a6;
    --background: #f8fafc;
    --card: #fff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #d7e0ea;
    --danger: #b42318;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(15, 23, 42, .07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

button, input, select, textarea { font: inherit; }

.site-header {
    position: relative;
    overflow: hidden;
    padding: 28px 20px 38px;
    background: linear-gradient(135deg, var(--primary), #0d9488);
    color: #fff;
    text-align: center;
}

.site-header::before {
    position: absolute;
    top: -170px;
    right: -80px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    content: "";
}

.logo { position: relative; font-size: 1.7rem; font-weight: 700; letter-spacing: -.04em; }
.logo span { font-weight: 500; opacity: .9; }
.site-header p { position: relative; margin: 5px auto 0; font-size: .94rem; opacity: .92; }
.compact-header { padding-bottom: 35px; }
.logo-link { display: block; color: #fff; text-decoration: none; }

.container { position: relative; z-index: 1; width: min(100% - 32px, 560px); margin: -21px auto 0; padding-bottom: 8px; }
.card { margin-bottom: 16px; padding: 24px 20px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }

.card-title { display: flex; align-items: center; gap: 9px; margin: 0 0 4px; font-size: 1.08rem; font-weight: 650; }
.card-title svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.card-subtitle { margin: 0 0 19px; color: var(--muted); font-size: .875rem; }

.field { margin-bottom: 17px; }
.field:last-child { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row-address { grid-template-columns: 1fr 100px; }
.location-row { grid-template-columns: 1fr 72px 100px; }

label, legend {
    display: block;
    margin-bottom: 6px;
    color: #526176;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .035em;
    text-transform: uppercase;
}

label span { color: var(--muted); font-weight: 400; text-transform: none; }

input, select, textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}

textarea { min-height: 105px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%); background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px; background-repeat: no-repeat; background-size: 5px 5px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,118,110,.14); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: block; margin: 5px 2px 0; color: var(--danger); font-size: .78rem; font-weight: 500; }
.field-note { margin: 6px 2px 0; color: var(--muted); font-size: .78rem; }

.service-grid, .time-slots { display: grid; gap: 11px; }
.service-area-note { margin: -8px 0 17px; padding: 10px 12px; border-radius: 10px; background: #f1f5f9; color: var(--muted); font-size: .79rem; }
.service-option {
    position: relative;
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.service-option:hover, .service-option:focus-visible { border-color: var(--primary-light); outline: 0; }
.service-option.active { border-color: var(--primary); background: linear-gradient(90deg, rgba(15,118,110,.04), rgba(20,184,166,.07)); box-shadow: 0 0 0 1px var(--primary); }
.service-option > span, .service-option > strong, .service-option > em { display: block; }
.service-option .service-icon { margin-bottom: 5px; font-size: 1.45rem; }
.service-option strong { margin-bottom: 3px; font-size: 1rem; }
.service-option > span:not(.service-icon):not(.check-mark) { color: var(--muted); font-size: .81rem; text-transform: none; }
.service-option em { width: fit-content; margin-top: 8px; padding: 4px 10px; border-radius: 99px; background: rgba(15,118,110,.1); color: var(--primary); font-size: .83rem; font-style: normal; font-weight: 650; }
.check-mark { display: none !important; position: absolute; top: 14px; right: 14px; width: 23px; height: 23px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary); color: #fff !important; font-size: .75rem !important; }
.service-option.active .check-mark { display: flex !important; }

.info-box { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #99f6e4; border-radius: 12px; background: #f0fdfa; color: var(--primary); font-size: .86rem; }
.time-field { padding: 0; border: 0; }
.time-slot { display: flex; align-items: center; gap: 12px; min-height: 65px; margin: 0; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: 12px; color: var(--text); cursor: pointer; letter-spacing: 0; text-transform: none; }
.time-slot.active { border-color: var(--primary); background: rgba(15,118,110,.06); }
.time-slot input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.time-slot .radio { display: block; width: 20px; height: 20px; flex: 0 0 auto; border: 2px solid var(--border); border-radius: 50%; }
.time-slot.active .radio { border: 5px solid var(--primary); background: #fff; }
.time-slot strong, .time-slot small { display: block; }
.time-slot strong { font-size: .94rem; }
.time-slot small { margin-top: 1px; color: var(--muted); font-size: .79rem; font-weight: 400; }

.submit-button { display: block; width: 100%; padding: 16px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 4px 14px rgba(15,118,110,.32); color: #fff; cursor: pointer; font-size: 1.03rem; font-weight: 650; text-align: center; text-decoration: none; }
.submit-button:hover { box-shadow: 0 6px 20px rgba(15,118,110,.4); transform: translateY(-1px); }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.form-response { margin: 0 0 14px; padding: 13px 15px; border: 1px solid #fda29b; border-radius: 12px; background: #fef3f2; color: #912018; font-size: .88rem; }
.success-card { padding: 38px 24px; text-align: center; }
.success-icon { display: grid; width: 72px; height: 72px; margin: 0 auto 19px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 24px rgba(16,185,129,.3); color: #fff; font-size: 2rem; }
.success-card h2 { margin: 0 0 8px; font-size: 1.4rem; }
.success-card p { margin: 0 0 24px; color: var(--muted); }
.success-card .request-reference { margin: -14px 0 22px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .76rem; }
.new-request { max-width: 250px; margin: 0 auto; }
.trust-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 19px 0 0; color: var(--muted); font-size: .79rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
footer { padding: 2px 16px 8px; color: var(--muted); font-size: .8rem; line-height: 1.3; text-align: center; }
footer a { color: var(--primary); font-weight: 600; text-decoration: none; }
footer p { margin: 0; }
footer nav { display: flex; justify-content: center; gap: 8px; }
.legal-container { max-width: 760px; }
.legal-card { padding: 34px clamp(20px, 5vw, 48px); }
.legal-card h1 { margin: 0 0 18px; font-size: clamp(1.65rem, 4vw, 2.1rem); }
.legal-card h2 { margin: 28px 0 8px; font-size: 1.08rem; }
.legal-card p { color: #334155; }
.legal-card address { color: #334155; font-style: normal; }
.legal-card a { color: var(--primary); }
.eyebrow { margin: 0 0 7px !important; color: var(--primary) !important; font-size: .75rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.back-link { display: inline-block; margin-top: 30px; font-weight: 650; text-decoration: none; }
[hidden] { display: none !important; }

@media (max-width: 520px) {
    .field-row, .field-row-address { grid-template-columns: 1fr; gap: 0; }
    .location-row { grid-template-columns: 1fr 1fr; gap: 12px; }
    .location-row .field-grow { grid-column: 1 / -1; margin-bottom: 5px; }
}

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