/* ==========================================================
   HOMEDEN — FREE DESIGN CONSULTATION
========================================================== */

.consultation-page,
.consultation-page *,
.consultation-page *::before,
.consultation-page *::after {
    box-sizing: border-box;
}

.consultation-page {
    overflow: hidden;
    background: #ffffff;
    color: #6b6b6b;
}

.consultation-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* ==========================================================
   HERO
========================================================== */

.consultation-hero {
    position: relative;
    padding: 54px 0 74px;
    overflow: hidden;
    border-bottom: 1px solid #eaeaea;
}

.consultation-hero::before {
    position: absolute;
    top: -160px;
    right: -120px;
    width: 390px;
    height: 390px;
    content: "";
    border: 75px solid rgba(15, 110, 86, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

.consultation-breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 42px;
    color: #9a9a9a;
    font-size: 12px;
}

.consultation-breadcrumb a {
    color: #6b6b6b;
    text-decoration: none;
}

.consultation-breadcrumb a:hover {
    color: #0f6e56;
}

.consultation-breadcrumb i {
    font-size: 9px;
}

.consultation-breadcrumb span {
    color: #0f6e56;
    font-weight: 700;
}

.consultation-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 78px;
}

.consultation-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #e07a3f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.consultation-hero-content h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: #1a1a1a;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 750;
    line-height: 1.07;
    letter-spacing: -2.2px;
}

.consultation-hero-content > p {
    max-width: 710px;
    margin: 0;
    color: #6b6b6b;
    font-size: 17px;
    line-height: 1.8;
}

.consultation-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 23px;
    margin-top: 28px;
}

.consultation-benefits div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3d3d3d;
    font-size: 13px;
    font-weight: 650;
}

.consultation-benefits i {
    color: #4c8c3c;
    font-size: 14px;
}

.consultation-hero-panel {
    padding: 32px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 110, 86, 0.12);
    border-radius: 20px;
    box-shadow: 0 24px 55px rgba(22, 55, 43, 0.09);
    backdrop-filter: blur(12px);
}

.consultation-panel-icon,
.consultation-sidebar-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 110, 86, 0.1);
    border-radius: 14px;
    color: #0f6e56;
    font-size: 23px;
}

.consultation-panel-label {
    display: block;
    margin: 21px 0 7px;
    color: #e07a3f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.consultation-hero-panel h2 {
    margin: 0 0 11px;
    color: #1a1a1a;
    font-size: 26px;
    font-weight: 750;
    line-height: 1.3;
}

.consultation-hero-panel p {
    margin: 0 0 19px;
    font-size: 14px;
    line-height: 1.7;
}

.consultation-hero-panel > a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 0;
    border-top: 1px solid #eaeaea;
    color: #0f6e56;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.consultation-hero-panel > a:hover {
    color: #e07a3f;
}


/* ==========================================================
   FORM LAYOUT
========================================================== */

.consultation-form-section {
    padding: 82px 0 100px;
    background: #faf8f5;
}

.consultation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 34px;
}

.consultation-form-card {
    padding: 40px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(27, 48, 40, 0.06);
}

.consultation-form-header {
    margin-bottom: 32px;
    padding-bottom: 27px;
    border-bottom: 1px solid #eaeaea;
}

.consultation-form-header > span {
    display: block;
    margin-bottom: 8px;
    color: #e07a3f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.consultation-form-header h2 {
    margin: 0 0 9px;
    color: #1a1a1a;
    font-size: clamp(28px, 3vw, 37px);
    font-weight: 750;
    line-height: 1.25;
}

.consultation-form-header p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   FORM GROUPS
========================================================== */

.consultation-form-group {
    min-width: 0;
    padding: 0;
    margin: 0 0 38px;
    border: 0;
}

.consultation-form-group legend {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    padding: 0;
}

.consultation-step-number {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #0f6e56;
    border-radius: 10px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.consultation-form-group legend strong {
    display: block;
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.4;
}

.consultation-form-group legend small {
    display: block;
    margin-top: 1px;
    color: #9a9a9a;
    font-size: 11px;
}


/* Consultation Type Cards */

.consultation-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.consultation-type-card {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.consultation-type-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.consultation-type-content {
    min-height: 104px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.consultation-type-card:hover .consultation-type-content {
    border-color: rgba(15, 110, 86, 0.35);
}

.consultation-type-card input:checked + .consultation-type-content {
    background: rgba(15, 110, 86, 0.055);
    border-color: #0f6e56;
    box-shadow: 0 0 0 3px rgba(15, 110, 86, 0.07);
}

.consultation-type-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf8f5;
    border-radius: 10px;
    color: #0f6e56;
    font-size: 19px;
}

.consultation-type-content strong,
.consultation-type-content small {
    display: block;
}

.consultation-type-content strong {
    color: #3d3d3d;
    font-size: 13px;
    line-height: 1.4;
}

.consultation-type-content small {
    margin-top: 4px;
    color: #9a9a9a;
    font-size: 10px;
    line-height: 1.45;
}

.consultation-type-check {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    color: transparent;
    font-size: 14px;
}

.consultation-type-card input:checked
+ .consultation-type-content
.consultation-type-check {
    background: #0f6e56;
    border-color: #0f6e56;
    color: #ffffff;
}


/* Fields */

.consultation-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px;
}

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

.consultation-field label {
    display: block;
    margin-bottom: 8px;
    color: #3d3d3d;
    font-size: 12px;
    font-weight: 750;
}

.consultation-field label span {
    color: #b5352e;
}

.consultation-input-wrapper,
.consultation-select-wrapper {
    position: relative;
}

.consultation-input-wrapper > i,
.consultation-select-wrapper > i:first-child {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    color: #9a9a9a;
    font-size: 15px;
    transform: translateY(-50%);
    pointer-events: none;
}

.consultation-input-wrapper input,
.consultation-select-wrapper select,
.consultation-field textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    color: #3d3d3d;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.consultation-input-wrapper input,
.consultation-select-wrapper select {
    height: 52px;
    padding: 0 43px;
}

.consultation-input-wrapper input[type="date"] {
    padding-right: 14px;
}

.consultation-select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.consultation-field textarea {
    min-height: 148px;
    padding: 15px;
    line-height: 1.65;
    resize: vertical;
}

.consultation-input-wrapper input::placeholder,
.consultation-field textarea::placeholder {
    color: #b1b1b1;
}

.consultation-input-wrapper input:focus,
.consultation-select-wrapper select:focus,
.consultation-field textarea:focus {
    border-color: #0f6e56;
    box-shadow: 0 0 0 4px rgba(15, 110, 86, 0.08);
}

.consultation-select-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    color: #9a9a9a;
    font-size: 11px;
    transform: translateY(-50%);
    pointer-events: none;
}


/* Consent and Submit */

.consultation-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 21px;
    padding: 14px;
    background: rgba(76, 140, 60, 0.055);
    border-radius: 9px;
}

.consultation-consent i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #4c8c3c;
    font-size: 16px;
}

.consultation-consent p {
    margin: 0;
    color: #6b6b6b;
    font-size: 11px;
    line-height: 1.65;
}

.consultation-submit-button {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 13px 22px;
    background: #e07a3f;
    border: 1px solid #e07a3f;
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(224, 122, 63, 0.2);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.consultation-submit-button:hover {
    background: #c96932;
    border-color: #c96932;
    transform: translateY(-2px);
}

.consultation-submit-button i {
    transition: transform 0.2s ease;
}

.consultation-submit-button:hover i {
    transform: translateX(4px);
}


/* ==========================================================
   SIDEBAR
========================================================== */

.consultation-sidebar {
    display: grid;
    gap: 20px;
}

.consultation-sidebar-card,
.consultation-sidebar-action {
    padding: 27px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
}

.consultation-sidebar-card h2,
.consultation-sidebar-action h2 {
    margin: 18px 0 17px;
    color: #1a1a1a;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.35;
}

.consultation-sidebar-card ol {
    display: grid;
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.consultation-sidebar-card ol li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.consultation-sidebar-card ol li > span {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 110, 86, 0.09);
    border-radius: 50%;
    color: #0f6e56;
    font-size: 10px;
    font-weight: 800;
}

.consultation-sidebar-card ol strong {
    display: block;
    color: #3d3d3d;
    font-size: 12px;
}

.consultation-sidebar-card ol p {
    margin: 4px 0 0;
    color: #6b6b6b;
    font-size: 11px;
    line-height: 1.55;
}

.consultation-sidebar-trust h2 {
    margin-top: 0;
}

.consultation-sidebar-trust ul {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.consultation-sidebar-trust li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #3d3d3d;
    font-size: 12px;
    line-height: 1.5;
}

.consultation-sidebar-trust li i {
    margin-top: 2px;
    color: #4c8c3c;
}

.consultation-sidebar-action {
    background: #0f6e56;
    border-color: #0f6e56;
}

.consultation-sidebar-action > span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.consultation-sidebar-action h2 {
    margin: 8px 0 10px;
    color: #ffffff;
}

.consultation-sidebar-action p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    line-height: 1.65;
}

.consultation-sidebar-action a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.consultation-sidebar-action a i {
    transition: transform 0.2s ease;
}

.consultation-sidebar-action a:hover i {
    transform: translateX(4px);
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1099px) {

    .consultation-hero-grid {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 45px;
    }

    .consultation-layout {
        grid-template-columns: minmax(0, 1fr) 315px;
    }

}


@media (max-width: 991px) {

    .consultation-hero {
        padding: 44px 0 60px;
    }

    .consultation-hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .consultation-hero-panel {
        max-width: 600px;
    }

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

    .consultation-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .consultation-sidebar-card:first-child {
        grid-row: span 2;
    }

}


@media (max-width: 767px) {

    .consultation-container {
        width: min(100% - 28px, 680px);
    }

    .consultation-hero {
        padding: 32px 0 48px;
    }

    .consultation-breadcrumb {
        margin-bottom: 29px;
        font-size: 11px;
    }

    .consultation-hero-content h1 {
        font-size: clamp(37px, 10vw, 50px);
        letter-spacing: -1.4px;
    }

    .consultation-hero-content > p {
        font-size: 15px;
        line-height: 1.75;
    }

    .consultation-benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .consultation-form-section {
        padding: 52px 0 78px;
    }

    .consultation-form-card {
        padding: 27px;
        border-radius: 16px;
    }

    .consultation-field-grid,
    .consultation-type-grid {
        grid-template-columns: 1fr;
    }

    .consultation-field-full {
        grid-column: auto;
    }

    .consultation-sidebar {
        grid-template-columns: 1fr;
    }

    .consultation-sidebar-card:first-child {
        grid-row: auto;
    }

}


@media (max-width: 575px) {

    .consultation-container {
        width: calc(100% - 22px);
    }

    .consultation-hero-content h1 {
        font-size: 36px;
        line-height: 1.12;
    }

    .consultation-hero-panel {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .consultation-form-card {
        padding: 23px 17px;
        border-radius: 14px;
    }

    .consultation-form-header h2 {
        font-size: 28px;
    }

    .consultation-form-group legend {
        align-items: flex-start;
    }

    .consultation-type-content {
        min-height: 96px;
    }

    .consultation-sidebar-card,
    .consultation-sidebar-action {
        padding: 23px 20px;
    }

}

/* =========================================================
   CONSULTATION HERO PANEL CONTACTS
========================================================= */

.consultation-panel-contacts {
    display: grid;
    gap: 9px;

    margin-top: 22px;
}

.consultation-panel-phone {
    min-height: 44px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 13px;

    border:
        1px solid
        rgba(15, 110, 86, 0.16);

    border-radius: 9px;

    background:
        rgba(15, 110, 86, 0.07);

    color: #0f6e56 !important;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.consultation-panel-phone i {
    width: 29px;
    height: 29px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 29px;

    border-radius: 7px;

    background: #0f6e56;
    color: #ffffff !important;

    font-size: 12px;
}

.consultation-panel-phone span {
    color: #0f6e56 !important;
}

.consultation-panel-phone:hover,
.consultation-panel-phone:focus-visible {
    border-color: #0f6e56;

    background: #0f6e56;
    color: #ffffff !important;

    transform: translateY(-2px);
}

.consultation-panel-phone:hover i,
.consultation-panel-phone:focus-visible i {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.consultation-panel-phone:hover span,
.consultation-panel-phone:focus-visible span {
    color: #ffffff !important;
}


input[data-customer-account-field="true"] {
    background-color: #f5f7f6;
    border-color: #d9e2de;
    color: #45534e;
    cursor: not-allowed;
}

input[data-customer-account-field="true"]:focus {
    border-color: #0f6e56;
    box-shadow: 0 0 0 3px rgba(15, 110, 86, 0.1);
}

.estimate-account-prefill-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 0;
    color: #5f6f68;
    font-size: 0.82rem;
    line-height: 1.5;
}

.estimate-account-prefill-note i {
    color: #0f6e56;
}