.estimator-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(163, 255, 18, 0.14), transparent 32rem),
        radial-gradient(circle at top right, rgba(0, 229, 255, 0.10), transparent 30rem),
        linear-gradient(180deg, #f7f9f4 0%, #ffffff 54%, #f2f5ef 100%);
    color: #101614;
    padding: 8rem 1.5rem 5rem;
}

.estimator-hero {
    width: min(1100px, 100%);
    margin: 0 auto 4rem;
    text-align: center;
}

.estimator-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #4b6b18;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.estimator-hero h1 {
    max-width: 920px;
    margin: 0 auto;
    color: #080B0A;
    font-size: clamp(2.5rem, 6vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.075em;
}

.estimator-hero p {
    max-width: 760px;
    margin: 1.4rem auto 0;
    color: rgba(16, 22, 20, 0.72);
    font-size: 1.08rem;
    line-height: 1.7;
}

.estimator-messages {
    width: min(1180px, 100%);
    margin: 0 auto 2rem;
}

.estimator-message {
    border-radius: 1.2rem;
    padding: 1rem 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(16, 22, 20, 0.12);
    box-shadow: 0 18px 40px rgba(8, 11, 10, 0.08);
}

.estimator-layout {
    width: min(1420px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.4rem;
    align-items: start;
}

.estimator-panel {
    display: grid;
    gap: 1.4rem;
}

.estimator-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    padding: 1.2rem 1.3rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(16, 22, 20, 0.08);
    box-shadow: 0 18px 45px rgba(8, 11, 10, 0.06);
}

.estimator-section-heading p {
    margin: 0;
    color: #080B0A;
    font-size: 1.3rem;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.estimator-section-heading span {
    color: rgba(16, 22, 20, 0.62);
    font-size: 0.95rem;
}

.estimator-items {
    display: grid;
    gap: 2rem;
}

.estimator-group {
    display: grid;
    gap: 1rem;
}

.estimator-group-heading p {
    margin: 0;
    color: rgba(16, 22, 20, 0.72);
    font-weight: 850;
    letter-spacing: -0.03em;
}

.estimator-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.estimator-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.3rem;
    border-radius: 1.45rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(16, 22, 20, 0.10);
    box-shadow: 0 20px 45px rgba(8, 11, 10, 0.07);
    cursor: grab;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease,
        opacity 180ms ease;
}

.estimator-card:hover {
    transform: translateY(-4px);
    border-color: rgba(163, 255, 18, 0.72);
    box-shadow: 0 24px 60px rgba(8, 11, 10, 0.11);
}

.estimator-card.is-dragging {
    opacity: 0.55;
    transform: scale(0.98);
}

.estimator-card.is-selected {
    background: linear-gradient(135deg, #ffffff, rgba(163, 255, 18, 0.15));
    border-color: rgba(163, 255, 18, 0.9);
    box-shadow:
        0 24px 60px rgba(8, 11, 10, 0.11),
        0 0 0 4px rgba(163, 255, 18, 0.12);
}

.estimator-card h2 {
    margin: 0;
    color: #080B0A;
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.estimator-card p {
    margin: 0.8rem 0 0;
    color: rgba(16, 22, 20, 0.66);
    line-height: 1.55;
}

.estimator-add-btn,
.estimator-clear-btn,
.estimator-modal-close {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.estimator-add-btn {
    width: fit-content;
    border-radius: 999px;
    padding: 0.72rem 0.95rem;
    background: #101614;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 850;
}

.estimator-card.is-selected .estimator-add-btn {
    background: #A3FF12;
    color: #080B0A;
}

.estimator-cart {
    position: sticky;
    top: 7rem;
    padding: 1.45rem;
    border-radius: 1.6rem;
    background: #101614;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 80px rgba(8, 11, 10, 0.24);
}

.estimator-cart-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.estimator-cart-label {
    margin: 0;
    color: #A3FF12;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.estimator-clear-btn {
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 750;
}

.estimator-cart h2 {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.estimator-cart > p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.estimator-drop-zone {
    min-height: 170px;
    margin: 1.3rem 0;
    padding: 0.9rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.055);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.estimator-drop-zone.is-over {
    background: rgba(163, 255, 18, 0.1);
    border-color: rgba(163, 255, 18, 0.72);
    transform: scale(1.01);
}

.estimator-drop-zone.needs-attention {
    border-color: rgba(163, 255, 18, 0.95);
    animation: estimatorShake 420ms ease;
}

@keyframes estimatorShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.estimator-drop-empty {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.95rem;
    line-height: 1.5;
}

.estimator-cart-list {
    display: grid;
    gap: 0.7rem;
}

.estimator-cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    align-items: start;
    padding: 0.85rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.estimator-cart-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    letter-spacing: -0.025em;
}

.estimator-cart-item span {
    display: block;
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    line-height: 1.4;
}

.estimator-cart-item button {
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.76);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
}

.estimator-submit {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    background: #A3FF12;
    color: #080B0A;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        opacity 180ms ease;
}

.estimator-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(163, 255, 18, 0.28);
}

.estimator-submit:disabled {
    opacity: 0.58;
    cursor: wait;
}

.estimator-disclaimer {
    margin-bottom: 0;
    font-size: 0.88rem;
}

.estimator-modal-open {
    overflow: hidden;
}

.estimator-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 1.5rem;
    background: rgba(8, 11, 10, 0.72);
    backdrop-filter: blur(16px);
}

.estimator-modal.is-active {
    display: grid;
}

.estimator-modal-card {
    position: relative;
    width: min(760px, 100%);
    max-height: 90vh;
    overflow: auto;
    padding: 2rem;
    border-radius: 1.7rem;
    background: #ffffff;
    color: #101614;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}

.estimator-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    background: #f2f5ef;
    color: rgba(16, 22, 20, 0.72);
    font-weight: 850;
}

.estimator-modal-card h2 {
    margin: 0;
    color: #080B0A;
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.estimator-modal-card > p {
    color: rgba(16, 22, 20, 0.7);
    line-height: 1.65;
}

.estimator-selected-list {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 1.2rem;
    background: #f4f6f1;
    border: 1px solid rgba(16, 22, 20, 0.08);
}

.estimator-selected-list h3 {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.estimator-selected-list p {
    margin: 0.35rem 0;
}

.estimator-enquiry-form {
    display: grid;
    gap: 1rem;
}

.estimator-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.estimator-enquiry-form label {
    display: grid;
    gap: 0.45rem;
    color: rgba(16, 22, 20, 0.72);
    font-size: 0.9rem;
    font-weight: 750;
}

.estimator-enquiry-form input,
.estimator-enquiry-form textarea {
    width: 100%;
    border: 1px solid rgba(16, 22, 20, 0.14);
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    background: #f7f9f4;
    color: #101614;
    font: inherit;
}

.estimator-enquiry-form textarea {
    resize: vertical;
}

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

    .estimator-cart {
        position: static;
    }
}

@media (max-width: 700px) {
    .estimator-page {
        padding: 6.5rem 1rem 4rem;
    }

    .estimator-section-heading {
        align-items: start;
        flex-direction: column;
    }

    .estimator-card-grid,
    .estimator-form-grid {
        grid-template-columns: 1fr;
    }

    .estimator-card {
        min-height: auto;
    }

    .estimator-modal-card {
        padding: 1.35rem;
    }
}

.estimator-seo-section {
    width: min(1380px, 100%);
    margin: 6rem auto 0;
    padding: 5rem 0 1rem;
    border-top: 1px solid rgba(16, 22, 20, 0.1);
}

.estimator-seo-inner {
    width: 100%;
    margin: 0 auto;
}

.estimator-seo-intro {
    max-width: 860px;
    margin-bottom: 2.4rem;
}

.estimator-seo-intro h2,
.estimator-seo-content h2 {
    margin: 0 0 1rem;
    color: #080B0A;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.estimator-seo-intro p,
.estimator-seo-content p {
    margin: 0;
    color: rgba(16, 22, 20, 0.72);
    line-height: 1.8;
    font-size: 1rem;
}

.estimator-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 2.2rem;
}

.estimator-seo-card {
    min-height: 230px;
    padding: 1.6rem;
    border-radius: 1.6rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(243, 248, 238, 0.88)),
        radial-gradient(circle at top right, rgba(163, 255, 18, 0.16), transparent 18rem);
    border: 1px solid rgba(16, 22, 20, 0.09);
    box-shadow: 0 22px 55px rgba(8, 11, 10, 0.08);
}

.estimator-seo-card h3 {
    margin: 0 0 0.85rem;
    color: #080B0A;
    font-size: 1.08rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.estimator-seo-card p {
    margin: 0;
    color: rgba(16, 22, 20, 0.66);
    line-height: 1.7;
    font-size: 0.95rem;
}

.estimator-seo-content {
    margin-top: 3.5rem;
    padding: 2.2rem;
    border-radius: 1.8rem;
    background:
        linear-gradient(135deg, rgba(16, 22, 20, 0.97), rgba(8, 11, 10, 0.95)),
        radial-gradient(circle at top right, rgba(163, 255, 18, 0.16), transparent 20rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 75px rgba(8, 11, 10, 0.18);
}

.estimator-seo-content h2 {
    color: #ffffff;
}

.estimator-seo-content p {
    color: rgba(255, 255, 255, 0.72);
}

.estimator-seo-content p + p {
    margin-top: 1.1rem;
}

.estimator-faq-section {
    margin-top: 3.5rem;
}

.estimator-faq-section .estimator-section-heading {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(16, 22, 20, 0.08);
}

.estimator-faq-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.3rem;
}

.estimator-faq-item {
    padding: 1.25rem 1.35rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(16, 22, 20, 0.09);
    box-shadow: 0 18px 45px rgba(8, 11, 10, 0.06);
}

.estimator-faq-item summary {
    cursor: pointer;
    color: #080B0A;
    font-weight: 850;
    letter-spacing: -0.03em;
    list-style: none;
}

.estimator-faq-item summary::-webkit-details-marker {
    display: none;
}

.estimator-faq-item summary::after {
    content: "+";
    float: right;
    color: #4b6b18;
    font-size: 1.25rem;
    line-height: 1;
}

.estimator-faq-item[open] summary::after {
    content: "–";
}

.estimator-faq-item p {
    margin: 0.9rem 0 0;
    color: rgba(16, 22, 20, 0.68);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 980px) {
    .estimator-seo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .estimator-seo-section {
        margin-top: 4rem;
        padding-top: 3.5rem;
    }

    .estimator-seo-grid {
        grid-template-columns: 1fr;
    }

    .estimator-seo-card {
        min-height: auto;
    }

    .estimator-seo-content {
        padding: 1.5rem;
    }

    .estimator-faq-item {
        padding: 1.1rem;
    }
}

.estimator-work-preview {
    width: min(100%, 1420px);
    margin: 34px auto 38px;
}

.estimator-work-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: center;
    padding: 26px;
    border: 1px solid rgba(8, 11, 10, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(8, 11, 10, 0.045), transparent 36%),
        #ffffff;
    box-shadow: 0 20px 58px rgba(8, 11, 10, 0.08);
}

.estimator-work-kicker {
    margin-bottom: 12px;
    color: rgba(8, 11, 10, 0.52);
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.estimator-work-copy h2 {
    max-width: 680px;
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.072em;
}

.estimator-work-copy p:not(.estimator-work-kicker) {
    max-width: 720px;
    color: rgba(8, 11, 10, 0.66);
    font-size: 1rem;
    line-height: 1.62;
}

.estimator-work-side {
    display: grid;
    gap: 16px;
}

.estimator-work-points {
    display: grid;
    gap: 8px;
}

.estimator-work-points span {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 13px;
    border: 1px solid rgba(8, 11, 10, 0.075);
    border-radius: 999px;
    background: rgba(8, 11, 10, 0.035);
    color: rgba(8, 11, 10, 0.68);
    font-size: 0.86rem;
    font-weight: 850;
}

.estimator-work-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid var(--color-bg-dark);
    border-radius: 999px;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    font-weight: 950;
    box-shadow: 0 14px 34px rgba(8, 11, 10, 0.16);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.estimator-work-link:hover {
    transform: translateY(-1px);
    border-color: #000000;
    background: #000000;
    box-shadow: 0 18px 42px rgba(8, 11, 10, 0.22);
}

.estimator-work-link span {
    transition: transform 0.2s ease;
}

.estimator-work-link:hover span {
    transform: translateX(3px);
}

@media (max-width: 860px) {
    .estimator-work-card {
        grid-template-columns: 1fr;
        padding: 24px;
        border-radius: 24px;
    }

    .estimator-work-side {
        max-width: 100%;
    }

    .estimator-work-link {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .estimator-work-preview {
        width: min(100% - 28px, 1120px);
        margin: 26px auto 30px;
    }

    .estimator-work-copy h2 {
        font-size: clamp(2rem, 11vw, 3rem);
    }
}