.estimate-hero {
    background: linear-gradient(135deg, #1c7838, #1a8c58);
    color: #fff;
    border-radius: 24px;
    padding: 3rem clamp(1.5rem, 3vw, 3.5rem);
    margin-bottom: 2.5rem;
}

.estimate-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.estimate-hero__lead {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1rem 0 1.25rem;
}

.estimate-hero__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.estimate-hero__list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.estimate-hero__list i {
    color: #b5f2cd;
}

.estimate-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.estimate-section {
    margin-bottom: 3rem;
}

.estimate-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1.2fr);
    gap: 1.5rem;
}

.estimate-panel,
.estimate-summary,
.tips-card {
    background: #fff;
    border-radius: 20px;
    padding: clamp(1.5rem, 2vw, 2rem);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.estimate-panel__heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.estimate-panel__heading h2 {
    font-size: 1.3rem;
    margin: 0;
}

.estimate-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #1a5230;
    border: 1px solid rgba(26, 82, 48, 0.3);
    border-radius: 30px;
    padding: 0.35rem 0.75rem;
    background-color: rgba(26, 82, 48, 0.1);
}

.estimate-step--accent {
    color: #fff;
    background: #1a8c58;
    border-color: transparent;
}

.estimate-form {
    display: grid;
    gap: 1.25rem;
}

.estimate-field label,
.estimate-field .label-block {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.field-meta {
    font-size: 0.9rem;
    color: #5f6b7b;
    margin-bottom: 0.5rem;
}

.estimate-field input[type="number"] {
    width: 100%;
    border: 1px solid #d6dbe2;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.estimate-field input[type="number"]:focus {
    border-color: #1a8c58;
    box-shadow: 0 0 0 3px rgba(26, 140, 88, 0.15);
    outline: none;
}

.field-input-group {
    position: relative;
    display: flex;
    align-items: stretch;
}

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

.field-addon {
    display: inline-flex;
    align-items: center;
    padding: 0 1rem;
    background: #f3f6fb;
    border: 1px solid #d6dbe2;
    border-left: none;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    font-weight: 600;
    color: #1a8c58;
}

.option-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.option-pill {
    border: 1px solid #d6dbe2;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    font-weight: 600;
    color: #1a5230;
    padding: 0;
}

.option-pill input {
    display: none;
}

.option-pill span {
    display: inline-flex;
    padding: 0.6rem 1rem;
    border-radius: inherit;
}

.option-pill input:checked + span {
    background: #1a8c58;
    color: #fff;
}

.estimate-summary {
    position: sticky;
    top: 1.25rem;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-card {
    border: 1px solid rgba(26, 82, 48, 0.12);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    background: #fdfefe;
}

.summary-card--accent {
    background: #1a5230;
    color: #fff;
    border-color: #1a5230;
}

.summary-label {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: inherit;
    opacity: 0.8;
}

.summary-value {
    margin: 0.2rem 0;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.summary-card--accent .summary-subtext {
    color: rgba(255, 255, 255, 0.75);
}

.summary-subtext {
    margin: 0;
    color: #5f6b7b;
    font-size: 0.9rem;
}

.summary-subtext span {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.estimate-breakdown h3 {
    margin-top: 1rem;
    font-size: 1rem;
}

.breakdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.breakdown-list li {
    display: flex;
    justify-content: space-between;
    font-variant-numeric: tabular-nums;
}

.estimate-note {
    font-size: 0.9rem;
    color: #1f2933;
    margin: 0.5rem 0 0;
}

.button--full {
    width: 100%;
    text-align: center;
}

.estimate-tips {
    margin-bottom: 4rem;
}

.tips-card h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.tips-grid article {
    background: #f7fafc;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(26, 82, 48, 0.06);
}

.tips-grid h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.tips-grid p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .estimate-layout {
        grid-template-columns: 1fr;
    }

    .estimate-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .estimate-hero {
        border-radius: 16px;
        padding: 2rem 1.5rem;
    }

    .estimate-hero__actions {
        flex-direction: column;
    }

    .option-pill {
        width: 100%;
        justify-content: center;
    }

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