:root {
    --ink: #1f2724;
    --muted: #66736c;
    --line: #d8dfda;
    --surface: #ffffff;
    --surface-soft: #f4f7f5;
    --brand: #149b83;
    --brand-dark: #0d6557;
    --accent: #d78b2a;
    --danger: #b33a3a;
    --shadow: 0 18px 45px rgba(31, 39, 36, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface-soft);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(31, 39, 36, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 72px;
}

.navbar-brand {
    max-width: 68%;
    white-space: normal;
}

.navbar-brand strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1;
}

.navbar-brand small {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.2;
}

.brand-mark {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(20, 155, 131, 0.25);
    border-radius: 8px;
    background: #2fc7aa;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 8px;
    font-weight: 700;
}

.btn-primary {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: #08483f;
    background: #08483f;
}

.quote-band {
    padding: 28px 0 36px;
    background:
        linear-gradient(180deg, rgba(20, 155, 131, 0.10), rgba(244, 247, 245, 0)),
        var(--surface-soft);
}

.intro-panel {
    min-height: 280px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2.4rem, 12vw, 4.5rem);
    line-height: 0.95;
    font-weight: 900;
}

.lead {
    margin: 18px 0 0;
    color: #35413c;
    font-size: 1.05rem;
}

.price-strip {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding: 14px;
    border: 1px solid rgba(215, 139, 42, 0.45);
    border-radius: 8px;
    background: #fff8ed;
}

.price-strip span {
    color: #725321;
    font-weight: 700;
}

.price-strip strong {
    color: #5f3d09;
    font-size: 1.35rem;
}

.pricing-table {
    display: grid;
    gap: 0;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #e1d3c0;
    border-radius: 8px;
    background: #fff;
}

.pricing-table div {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-top: 1px solid #eee4d6;
}

.pricing-table div:first-child {
    border-top: 0;
}

.pricing-table span {
    color: #4a554f;
    font-size: 0.9rem;
    font-weight: 750;
}

.pricing-table strong {
    color: var(--ink);
    font-size: 0.9rem;
    text-align: right;
    white-space: nowrap;
}

.quote-form {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-section {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.form-section:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-title span {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.service-option {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    min-height: 92px;
    align-items: center;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-option.active {
    border-color: var(--brand);
    background: #eefaf6;
    box-shadow: 0 0 0 3px rgba(20, 155, 131, 0.14);
}

.service-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 1.2rem;
}

.service-option strong {
    display: block;
    font-size: 1rem;
}

.service-option small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.3;
}

.form-label {
    margin-bottom: 6px;
    font-weight: 750;
}

.optional {
    color: var(--muted);
    font-size: 0.84em;
    font-weight: 600;
}

.form-control,
.form-select,
.input-group-text {
    min-height: 46px;
    border-color: #cfd8d3;
    border-radius: 8px;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

textarea.form-control {
    min-height: 96px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(20, 155, 131, 0.18);
}

.estimate-box {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #cfd8d3;
    border-radius: 8px;
    background: #fbfcfb;
    color: var(--brand-dark);
    font-weight: 850;
}

.estimate-total {
    border-color: rgba(20, 155, 131, 0.38);
    background: #eefaf6;
    font-size: 1.08rem;
}

.route-base-note {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(20, 155, 131, 0.28);
    border-radius: 8px;
    background: #eefaf6;
    color: #24443c;
    font-weight: 700;
}

.route-base-note i {
    color: var(--brand-dark);
    font-size: 1.1rem;
}

.rate-note {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(215, 139, 42, 0.42);
    border-radius: 8px;
    background: #fff8ed;
    color: #60460f;
    font-weight: 800;
}

.rate-note i {
    color: var(--accent);
    font-size: 1.1rem;
}

.form-check-input:checked {
    border-color: var(--brand-dark);
    background-color: var(--brand-dark);
}

.consent-line {
    padding: 12px 12px 12px 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfb;
}

.submit-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
    padding-top: 4px;
}

.submit-row .btn {
    min-height: 52px;
}

.submit-note {
    color: var(--muted);
    font-size: 0.86rem;
    text-align: center;
}

.alert {
    border-radius: 8px;
}

.details-band {
    padding: 28px 0 42px;
    background: #fff;
}

.info-card {
    min-height: 170px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.info-card i {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 8px;
    background: #eefaf6;
    color: var(--brand-dark);
    font-size: 1.15rem;
}

.info-card h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 850;
}

.info-card p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--ink);
    color: #fff;
    font-size: 0.92rem;
}

@media (min-width: 768px) {
    .quote-band {
        padding: 48px 0 58px;
    }

    .quote-form {
        padding: 24px;
    }

    .service-grid {
        grid-template-columns: 1.08fr 0.92fr;
    }

    .submit-row {
        grid-template-columns: minmax(220px, 300px) 1fr;
    }

    .submit-note {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .intro-panel {
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 380px) {
    .navbar .btn {
        width: 44px;
        height: 44px;
        padding: 0;
        font-size: 0;
    }

    .navbar .btn i {
        font-size: 1.1rem;
    }

    .navbar-brand {
        max-width: calc(100% - 58px);
    }
}
