
/* ======================================
   NAMAYANDE MAN - MAIN DESIGN
   ====================================== */

:root {
    --primary: #243f73;
    --accent: #f28c28;
    --text: #24324a;
    --muted: #667085;
    --line: #e9edf2;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: Tahoma, sans-serif;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */

.main-header {
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--line);
}

.main-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand-name {
    color: var(--primary);
    font-size: 25px;
    font-weight: 800;
    white-space: nowrap;
}

.header-location {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    color: var(--muted);
}

.header-links a:hover,
.account-link:hover {
    color: var(--primary);
}

.header-actions {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.account-link {
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
}

.primary-action {
    background: var(--primary);
    color: white;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

/* MAIN */

.home-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 24px 70px;
}

/* HERO */

.hero-section {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero-intro h1 {
    font-size: 30px;
    color: var(--primary);
    margin: 10px 0;
}

.hero-intro p {
    color: var(--muted);
    font-size: 15px;
    line-height: 2;
    margin: 8px 0 20px;
}

/* REQUEST FORM */

.request-panel {
    width: 100%;
    padding: 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    text-align: right;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.025);
}

.request-panel label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 12px;
}

.request-panel textarea {
    display: block;
    width: 100%;
    min-height: 95px;
    padding: 15px;
    border: 1px solid #dfe4eb;
    border-radius: 12px;
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    line-height: 2;
    direction: rtl;
    resize: vertical;
    outline: none;
}

.request-panel textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(36, 63, 115, 0.07);
}

.request-panel textarea::placeholder {
    color: #98a2b3;
}

.submit-request {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 13px 18px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.submit-request:hover {
    background: #e67d17;
}

/* SERVICES */

.main-services {
    margin-top: 42px;
}

.section-heading {
    text-align: center;
    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: 24px;
    color: var(--primary);
    margin: 0 0 8px;
}

.section-heading p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.main-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.main-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 145px;
    padding: 20px 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
    transition: 0.2s ease;
}

.main-service-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.04);
}

.main-service-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.main-service-card h3 {
    color: var(--primary);
    font-size: 16px;
    margin: 5px 0;
}

.main-service-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin: 4px 0 0;
}

/* HOW IT WORKS */

.how-section {
    margin-top: 55px;
    text-align: center;
}

.how-section h2 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 25px;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.how-item {
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.how-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #eef2f8;
    color: var(--primary);
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
}

.how-item h3 {
    font-size: 16px;
    color: var(--primary);
}

.how-item p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* TABLET */

@media (max-width: 900px) {
    .main-header-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .main-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .main-header-inner {
        padding: 14px;
        gap: 12px;
    }

    .brand-name {
        font-size: 20px;
    }

    .header-location,
    .account-link {
        font-size: 12px;
    }

    .header-actions {
        gap: 8px;
    }

    .primary-action {
        padding: 10px;
        font-size: 12px;
    }

    .header-links {
        gap: 15px;
        font-size: 12px;
    }

    .home-main {
        padding: 24px 14px 45px;
    }

    .hero-intro h1 {
        font-size: 23px;
    }

    .hero-intro p {
        font-size: 13px;
    }

    .request-panel {
        padding: 15px;
    }

    .main-services {
        margin-top: 35px;
    }

    .section-heading h2 {
        font-size: 20px;
    }

    .main-services-grid {
        gap: 10px;
    }

    .main-service-card {
        min-height: 130px;
        padding: 14px 8px;
    }

    .main-service-icon {
        font-size: 25px;
    }

    .main-service-card h3 {
        font-size: 13px;
    }

    .main-service-card p {
        font-size: 11px;
    }

    .how-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact Red Homepage */

:root {
    --accent: #d92332;
}

/* Red buttons */
.primary-action,
.submit-request {
    background: #d92332;
    color: #ffffff;
}

.primary-action:hover,
.submit-request:hover {
    background: #b91c2b;
}

/* More compact layout */
.home-main {
    max-width: 1440px;
    padding-top: 18px;
    padding-bottom: 25px;
}

.hero-section {
    max-width: 1050px;
}

.request-panel {
    padding: 18px;
}

.request-panel textarea {
    min-height: 75px;
}

/* Services on one row */
.main-services {
    margin-top: 24px;
}

.section-heading {
    margin-bottom: 16px;
}

.main-services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.main-service-card {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 12px 8px;
}

.main-service-icon {
    font-size: 26px;
}

.main-service-card h3 {
    font-size: 14px;
}

.main-service-card p {
    font-size: 11px;
    line-height: 1.6;
}

/* Compact how-it-works section */
.how-section {
    margin-top: 28px;
}

.how-section h2 {
    margin-bottom: 14px;
}

.how-item {
    padding: 12px;
}

/* Tablet */
@media (max-width: 1000px) {
    .main-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .main-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-service-card {
        aspect-ratio: 1 / 1;
    }

    .home-main {
        padding: 14px 12px;
    }
}

/* Compact Desktop Layout */

@media (min-width: 1001px) {

    .main-header-inner {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .home-main {
        padding-top: 14px;
        padding-bottom: 18px;
    }

    .request-panel {
        padding: 14px 18px;
    }

    .request-panel label {
        margin-bottom: 8px;
    }

    .request-panel textarea {
        min-height: 65px;
        height: 65px;
        resize: none;
    }

    .submit-request {
        margin-top: 8px;
        padding: 11px;
    }

    .main-services {
        margin-top: 20px;
    }

    .main-service-card {
        padding: 10px 8px;
    }

    .how-section {
        margin-top: 20px;
    }

    .how-section h2 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .how-item {
        padding: 10px;
    }

    .how-item h3 {
        margin: 8px 0;
    }

    .how-item p {
        margin: 5px 0;
    }
}

/* Customer Phone Field */

.customer-fields[hidden] {
    display: none !important;
}

.customer-fields {
    display: block;
    width: 100%;
    margin-top: 14px;
}

.customer-fields input {
    display: block;
    width: 100%;
    height: 52px;
    padding: 12px 16px;
    border: 1px solid #dfe4eb;
    border-radius: 12px;
    background: #ffffff;
    color: #24324a;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
    direction: ltr;
    text-align: right;
    outline: none;
    transition: border-color 0.2s ease;
}

.customer-fields input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.07);
}

.customer-fields input::placeholder {
    color: #98a2b3;
}

/* Final Customer Phone Layout */

.request-panel .customer-fields {
    display: block;
    width: 100%;
    margin: 14px 0 0;
}

.request-panel .customer-fields[hidden] {
    display: none !important;
}

.request-panel .customer-fields input[name="customer_phone"] {
    display: block;
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 12px 18px;
    border: 1px solid #dfe4eb;
    border-radius: 12px;
    background: #ffffff;
    color: #24324a;
    font-family: Tahoma, sans-serif;
    font-size: 16px;
    direction: ltr;
    text-align: right;
    box-sizing: border-box;
    outline: none;
}

.request-panel .customer-fields input[name="customer_phone"]:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.07);
}

/* Request Success Message */

.request-messages {
    max-width: 1050px;
    margin: 0 auto 20px;
}

.request-success {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #b7e4c7;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.025);
    color: #176b43;
    direction: rtl;
}

.request-success span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8f7ee;
    color: #198754;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.request-success p {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.9;
}

@media (max-width: 600px) {
    .request-success {
        padding: 14px;
        gap: 10px;
    }

    .request-success p {
        font-size: 13px;
    }
}

/* Selected Service Card */

.main-service-card.selected {
    border: 2px solid #dc2626;
    background: #fff8f8;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.06);
}

.main-service-card.selected h3 {
    color: #dc2626;
}

/* Selected Service Label */

.selected-service[hidden] {
    display: none !important;
}

.selected-service {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 14px;
    padding: 11px 15px;
    background: #fff7f7;
    border: 1px solid #f4cccc;
    border-radius: 10px;
    color: #667085;
    font-size: 14px;
}

.selected-service strong {
    color: #dc2626;
    font-weight: 700;
}


/* ===== RABOR? No - Namayande Man: Service-first layout ===== */

/* چیدمان بخش‌های صفحه اصلی */
.home-main {
    display: flex;
    flex-direction: column;
}

/* نمایش کارت‌های خدمات قبل از فرم درخواست */
.home-main > #services {
    order: -1;
}

/* نمایش پیام‌های موفقیت بالای بخش‌ها */
.home-main > .request-messages {
    order: -2;
}

/* فرم درخواست بعد از کارت‌های خدمات */
.home-main > #quick-request {
    order: 0;
}

/* فاصله مناسب بین کارت‌ها و فرم */
.home-main > #services {
    margin-bottom: 20px;
}

.home-main > #quick-request {
    width: 100%;
}


/* ===== Namayande Man - Minimal Service Filters ===== */

.new-home .smart-service-form {
    display: block;
    width: 100%;
    margin: 20px 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.new-home .smart-service-form[hidden] {
    display: none !important;
}

.new-home .smart-service-form h3 {
    font-size: 17px;
    font-weight: 700;
    color: #172b4d;
    margin: 0 0 8px;
}

.new-home .smart-service-description {
    font-size: 12px;
    line-height: 1.9;
    color: #64748b;
    margin: 0 0 18px;
}

.new-home .smart-question {
    padding: 13px 0;
    margin: 0;
    border-bottom: 1px solid #edf0f3;
    background: transparent;
}

.new-home .smart-question h4 {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    margin: 0 0 12px;
    line-height: 1.8;
}

.new-home .smart-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 0;
    margin: 0;
}

.new-home .smart-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: auto;
    padding: 6px 4px;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #64748b;
    font-family: Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
    cursor: pointer;
    transition: color 0.15s ease;
}

.new-home .smart-option:hover {
    color: #dc2626;
    background: transparent;
}

.new-home .smart-option.active {
    color: #dc2626;
    background: transparent;
    border: none;
    box-shadow: none;
    font-weight: 700;
}

.new-home .smart-option.active::before {
    content: "✓";
    margin-left: 6px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .new-home .smart-service-form {
        margin: 14px 0;
    }

    .new-home .smart-question {
        padding: 12px 0;
    }

    .new-home .smart-options {
        gap: 6px 12px;
    }

    .new-home .smart-option {
        font-size: 12px;
    }
}

/* ===== Namayande Man - Minimal date & time inputs ===== */

.new-home .smart-date-input {
    width: 100% !important;
    max-width: 220px;
    height: 40px;
    padding: 0 12px !important;
    margin-top: 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-family: Tahoma, sans-serif !important;
    font-size: 12px !important;
    color: #334155 !important;
    direction: ltr;
}

.new-home .smart-date-input:focus {
    outline: none;
    border-color: #dc2626 !important;
}

.new-home .smart-time-wrapper {
    display: grid;
    grid-template-columns: auto 130px auto 130px;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
    padding-top: 4px;
}

.new-home .smart-time-wrapper label {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
}

.new-home .smart-time-wrapper input {
    height: 40px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    font-family: Tahoma, sans-serif;
    font-size: 12px;
    color: #334155;
    direction: ltr;
}

.new-home .smart-time-wrapper input:focus {
    outline: none;
    border-color: #dc2626;
}

@media (max-width: 600px) {
    .new-home .smart-date-input {
        max-width: 100%;
    }

    .new-home .smart-time-wrapper {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .new-home .smart-time-wrapper label {
        margin-top: 2px;
    }
}


/* ===== Compact time picker ===== */

.new-home .smart-time-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 12px 0 8px auto !important;
    padding: 0 !important;
    direction: rtl !important;
}

.new-home .smart-time-wrapper label {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    white-space: nowrap !important;
}

.new-home .smart-time-wrapper input[type="time"] {
    width: 125px !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    font-size: 13px !important;
    direction: ltr !important;
    cursor: pointer !important;
}

.new-home .smart-time-wrapper input[type="time"]:focus {
    outline: none !important;
    border-color: #dc2626 !important;
}

@media (max-width: 600px) {
    .new-home .smart-time-wrapper {
        width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    .new-home .smart-time-wrapper input[type="time"] {
        width: 105px !important;
    }
}


/* ===== Minimal time picker - Namayande Man ===== */

.new-home .smart-time-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: fit-content !important;
    max-width: 100%;
    margin: 12px 0 10px auto !important;
    direction: rtl;
}

.new-home .smart-time-picker {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 145px;
}

.new-home .smart-time-label {
    font-size: 12px;
    color: #64748b;
    text-align: right;
}

.new-home .smart-time-current {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    direction: ltr;
}

.new-home .smart-time-current:hover,
.new-home .smart-time-current:focus {
    border-color: #dc2626;
    outline: none;
}

.new-home .smart-time-panel {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 295px;
    max-width: calc(100vw - 40px);
    max-height: 320px;
    overflow-y: auto;
    padding: 14px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    z-index: 50;
    direction: rtl;
}

.new-home .smart-time-panel[hidden] {
    display: none !important;
}

.new-home .smart-time-heading {
    margin: 5px 0 9px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.new-home .smart-time-hours,
.new-home .smart-time-minutes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 14px;
}

.new-home .smart-time-minutes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 0;
}

.new-home .smart-time-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 34px;
    padding: 0;
    background: #f8fafc;
    color: #475569;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

.new-home .smart-time-choice:hover {
    background: #f1f5f9;
}

.new-home .smart-time-choice.active {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #dc2626;
    font-weight: 700;
}

@media (max-width: 600px) {
    .new-home .smart-time-wrapper {
        gap: 12px !important;
    }

    .new-home .smart-time-picker {
        width: 132px;
    }

    .new-home .smart-time-panel {
        width: 270px;
    }
}


.new-home .smart-address-input {
    display: block;
    width: 100%;
    min-height: 95px;
    margin-top: 12px;
    padding: 13px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font: inherit;
    font-size: 13px;
    line-height: 1.9;
    direction: rtl;
    resize: vertical;
    box-sizing: border-box;
}

.new-home .smart-address-input:focus {
    outline: none;
    border-color: #dc2626;
}

/* Independent Custom Service */

.new-home .custom-service-section {
    margin-top: 18px;
}

.new-home .custom-service-section .main-service-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;

    width: 100%;
    min-height: 90px;
    aspect-ratio: auto;
    padding: 18px 24px;

    background: #f8faff;
    border: 1px solid #dce5f2;
    border-radius: 16px;
    text-align: right;
}

.new-home .custom-service-section .main-service-icon {
    font-size: 30px;
    margin: 0;
}

.new-home .custom-service-section h3 {
    font-size: 16px;
    margin: 0;
}

.new-home .custom-service-section p {
    font-size: 12px;
    margin: 0;
}

@media (max-width: 600px) {
    .new-home .custom-service-section {
        margin-top: 12px;
    }

    .new-home .custom-service-section .main-service-card {
        flex-wrap: wrap;
        gap: 8px 12px;
        min-height: 75px;
        padding: 14px 16px;
    }
}

/* Mobile Services - 3 Columns */

@media (max-width: 600px) {
    .new-home .main-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .new-home .main-services-grid .main-service-card {
        aspect-ratio: auto;
        min-height: 112px;
        padding: 10px 5px;
        border-radius: 13px;
    }

    .new-home .main-services-grid .main-service-icon {
        font-size: 27px;
        margin-bottom: 5px;
    }

    .new-home .main-services-grid .main-service-card h3 {
        font-size: 11px;
        line-height: 1.5;
    }

    .new-home .main-services-grid .main-service-card p {
        display: none;
    }
}

/* Mobile Smart Form - Selectable Options */

@media (max-width: 600px) {
    .new-home .smart-question {
        padding: 16px 0;
    }

    .new-home .smart-question h4 {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .new-home .smart-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .new-home .smart-option {
        min-height: 42px;
        padding: 9px 13px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        background: #ffffff;
        font-size: 12px;
        color: #475569;
    }

    .new-home .smart-option.active {
        background: #fff1f2;
        border: 1px solid #d92332;
        color: #d92332;
        font-weight: 700;
    }

    .new-home .smart-option.active::before {
        content: "✓";
        margin-left: 6px;
    }
}

/* Namayande Man - Unified Green & Black Theme */

.new-home {
    --primary: #181818;
    --accent: #24C76A;
    --text: #181818;
}

/* Main service cards */
.new-home .main-service-card h3 {
    color: #181818;
}

.new-home .main-service-card.selected {
    border-color: #24C76A;
    background: #F0FFF5;
    box-shadow: 0 0 0 3px rgba(36, 199, 106, 0.08);
}

.new-home .main-service-card.selected h3 {
    color: #181818;
}

/* Selected service information */
.new-home .selected-service {
    background: #F0FFF5;
    border-color: #BCEACF;
    color: #181818;
}

.new-home .selected-service strong {
    color: #181818;
}

/* Smart form headings and text */
.new-home .smart-service-form h3,
.new-home .smart-question h4,
.new-home .request-panel label {
    color: #181818;
}

/* Smart form selectable options */
.new-home .smart-option {
    color: #181818;
}

.new-home .smart-option:hover {
    color: #181818;
}

.new-home .smart-option.active {
    color: #181818;
    background: #F0FFF5;
    border-color: #24C76A;
}

/* Mobile selectable options */
@media (max-width: 600px) {
    .new-home .smart-option.active {
        background: #F0FFF5;
        border: 1px solid #24C76A;
        color: #181818;
    }
}

/* Main actions */
.new-home .primary-action,
.new-home .submit-request {
    background: #24C76A;
    color: #181818;
}

.new-home .primary-action:hover,
.new-home .submit-request:hover {
    background: #1DA957;
}

/* Inputs focus */
.new-home .request-panel textarea:focus,
.new-home .smart-date-input:focus,
.new-home .smart-address-input:focus,
.new-home .smart-time-current:focus,
.new-home .smart-time-wrapper input:focus {
    border-color: #24C76A !important;
}

/* Time picker */
.new-home .smart-time-choice.active {
    background: #F0FFF5;
    border-color: #24C76A;
    color: #181818;
}

/* Section headings */
.new-home .section-heading h2,
.new-home .how-section h2,
.new-home .how-item h3 {
    color: #181818;
}

.new-home #smart-service-title {
    display: none !important;
}

/* Homepage - Compact Service Layout */

.new-home .main-services {
    margin-bottom: 10px;
}

.new-home .custom-service-section {
    margin-top: 12px;
}

.new-home .hero-section {
    margin-top: 0;
}

.new-home .smart-service-form {
    margin-top: 8px;
}

.new-home .request-panel {
    padding-top: 14px;
}

/* Smart Form - Clean Typography */

.new-home .smart-question h4 {
    color: #181818;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 10px;
}

.new-home .smart-question {
    padding: 14px 0;
}

.new-home .smart-option {
    color: #181818;
    font-size: 13px;
}

@media (max-width: 600px) {
    .new-home .smart-question h4 {
        font-size: 13px;
    }

    .new-home .smart-question {
        padding: 12px 0;
    }
}

/* Mobile Bottom Navigation */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 600px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;

        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));

        width: 100%;
        padding: 9px 8px calc(9px + env(safe-area-inset-bottom, 0px));

        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -3px 16px rgba(0, 0, 0, 0.06);
    }

    .mobile-bottom-nav .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        min-height: 48px;
        color: #181818;
        font-size: 11px;
        text-align: center;
    }

    .mobile-bottom-nav .bottom-nav-icon {
        font-size: 24px;
        line-height: 1;
    }

    .mobile-bottom-nav .bottom-nav-item.active {
        color: #159447;
        font-weight: 700;
    }

    .new-home {
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px));
    }
}

/* Clean Mobile Header */

@media (max-width: 600px) {
    .new-home .header-links,
    .new-home .header-actions {
        display: none;
    }

    .new-home .main-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 14px 16px;
        gap: 12px;
    }

    .new-home .brand-name {
        font-size: 21px;
        font-weight: 800;
        color: #181818;
    }

    .new-home .header-location {
        font-size: 12px;
        color: #555555;
    }
}

/* Hide Location in Mobile Header */

@media (max-width: 600px) {
    .new-home .header-location {
        display: none;
    }
}

/* Desktop Header - Clean Layout */

@media (min-width: 1001px) {
    .new-home .main-header {
        background: #ffffff;
        border-bottom: 1px solid #ececec;
    }

    .new-home .main-header-inner {
        max-width: 1360px;
        min-height: 76px;
        margin: 0 auto;
        padding: 12px 32px;
        display: flex;
        align-items: center;
        gap: 42px;
    }

    .new-home .brand-name {
        color: #181818;
        font-size: 25px;
        font-weight: 800;
    }

    .new-home .header-location {
        display: none;
    }

    .new-home .header-links {
        display: flex;
        align-items: center;
        gap: 32px;
        color: #333333;
        font-size: 14px;
    }

    .new-home .header-links a:hover {
        color: #159447;
    }

    .new-home .header-actions {
        margin-right: auto;
    }

    .new-home .account-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 18px;
        border: 1px solid #dce5df;
        border-radius: 10px;
        color: #181818;
        font-weight: 600;
        background: #ffffff;
    }

    .new-home .account-link:hover {
        border-color: #24C76A;
        background: #f0fff5;
    }
}

/* Service Cards - Interactive SVG Icons */

.new-home .main-service-card .main-service-icon {
    color: #333333;
    transition: color 0.2s ease;
}

@media (hover: hover) {
    .new-home .main-service-card:hover .main-service-icon {
        color: #24C76A;
    }
}

.new-home .main-service-card.selected .main-service-icon,
.new-home .main-service-card.active .main-service-icon {
    color: #24C76A;
}

.new-home .main-service-icon svg {
    stroke: currentColor;
}

/* Service SVG Icons - Color Fix */

body.new-home .main-service-card .main-service-icon svg {
    stroke: #333333 !important;
    transition: stroke 0.2s ease;
}

@media (hover: hover) {
    body.new-home .main-service-card:hover .main-service-icon svg {
        stroke: #24C76A !important;
    }
}

body.new-home .main-service-card.selected .main-service-icon svg,
body.new-home .main-service-card.active .main-service-icon svg {
    stroke: #24C76A !important;
}

/* Custom Request - Minimal Search Style */

body.new-home .custom-service-section {
    width: 100%;
    max-width: 760px;
    margin: 26px auto 32px;
    display: block;
    text-align: center;
}

body.new-home .custom-service-section .custom-request-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 260px;
    padding: 32px 28px;
    gap: 12px;
    background: linear-gradient(145deg, #ffffff, #f4fbf6);
    border: 1px solid #d7ebdd;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(20, 85, 45, 0.04);
    text-align: center;
    text-decoration: none;
    color: #181818;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

body.new-home .custom-request-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #24C76A;
}

body.new-home .custom-request-entry h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.5;
    color: #181818;
}

body.new-home .custom-request-description {
    max-width: 500px;
    margin: 0;
    font-size: 13px;
    line-height: 2;
    color: #68756d;
}

body.new-home .custom-request-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 530px;
    min-height: 54px;
    margin-top: 9px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #cfe7d6;
    border-radius: 30px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
    color: #8a9690;
    font-size: 13px;
    text-align: right;
}

body.new-home .custom-request-search-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #168b49;
    background: #e9f8ee;
    font-size: 19px;
}

body.new-home .custom-request-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #e6f7ec;
    color: #19864b;
    font-size: 11px;
    font-weight: 600;
}

@media (hover: hover) {
    body.new-home .custom-service-section .custom-request-entry:hover {
        border-color: #86dca6;
        box-shadow: 0 12px 35px rgba(36, 199, 106, 0.10);
        transform: translateY(-2px);
    }

    body.new-home .custom-request-entry:hover .custom-request-search {
        border-color: #24C76A;
    }
}

body.new-home .custom-service-section .custom-request-entry.selected,
body.new-home .custom-service-section .custom-request-entry.active {
    border-color: #24C76A;
    box-shadow: 0 0 0 2px rgba(36, 199, 106, 0.08);
}

@media (max-width: 600px) {
    body.new-home .custom-service-section {
        max-width: 100%;
        margin: 18px auto 24px;
    }

    body.new-home .custom-service-section .custom-request-entry {
        min-height: 230px;
        padding: 25px 16px;
        border-radius: 20px;
    }

    body.new-home .custom-request-entry h3 {
        font-size: 19px;
    }

    body.new-home .custom-request-description {
        font-size: 12px;
    }

    body.new-home .custom-request-search {
        min-height: 50px;
        padding: 9px 14px;
        font-size: 11px;
    }
}

/* Compact Custom Request */

body.new-home .custom-service-section .custom-request-entry {
    min-height: 0;
    padding: 22px 28px;
    gap: 8px;
    border-color: #d9eae0;
    box-shadow: 0 4px 20px rgba(20, 85, 45, 0.035);
}

body.new-home .custom-request-symbol svg {
    width: 23px;
    height: 23px;
}

body.new-home .custom-request-entry h3 {
    font-size: 20px;
    line-height: 1.5;
}

body.new-home .custom-request-description {
    font-size: 12px;
    line-height: 1.8;
}

body.new-home .custom-request-search {
    min-height: 46px;
    margin-top: 5px;
    padding: 7px 16px;
}

@media (max-width: 600px) {
    body.new-home .custom-service-section .custom-request-entry {
        min-height: 0;
        padding: 18px 14px;
        gap: 7px;
    }

    body.new-home .custom-request-entry h3 {
        font-size: 18px;
    }

    body.new-home .custom-request-search {
        min-height: 44px;
    }
}

/* Custom Request - Input & Arrow Refinement */

body.new-home .custom-request-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 530px;
    min-height: 54px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #cfe7d6;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.025);
}

body.new-home .custom-request-search .custom-request-input {
    display: block;
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    height: 38px;
    margin: 0;
    padding: 9px 4px;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: #181818;
    font-family: inherit;
    font-size: 13px;
    line-height: 20px;
    text-align: right;
    resize: none;
    overflow-y: auto;
}

body.new-home .custom-request-input::placeholder {
    color: #9aa6a0;
}

body.new-home .custom-request-search:focus-within {
    border-color: #24C76A;
    box-shadow: 0 0 0 3px rgba(36, 199, 106, 0.08);
}

body.new-home .custom-request-search .custom-request-search-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #e7f8ed;
    color: #168b49;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background .2s, color .2s;
}

body.new-home .custom-request-search .custom-request-search-arrow:hover {
    background: #24C76A;
    color: #ffffff;
}

@media (max-width: 600px) {
    body.new-home .custom-request-search {
        padding: 7px 10px;
        gap: 8px;
    }

    body.new-home .custom-request-search .custom-request-input {
        font-size: 12px;
    }
}

/* Minimal Request Submit Button */

body.new-home .request-panel .submit-request {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: fit-content;
    min-width: 190px;
    max-width: 100%;
    min-height: 44px;
    margin: 22px auto 0;
    padding: 11px 26px;

    background: #169B55;
    color: #ffffff;
    border: 1px solid #169B55;
    border-radius: 11px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;

    box-shadow: 0 3px 10px rgba(22, 155, 85, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
}

body.new-home .request-panel .submit-request:hover {
    background: #128447;
    border-color: #128447;
    box-shadow: 0 5px 14px rgba(22, 155, 85, 0.15);
}

body.new-home .request-panel .submit-request:focus-visible {
    outline: 3px solid rgba(36, 199, 106, 0.3);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    body.new-home .request-panel .submit-request {
        width: 100%;
        min-height: 46px;
        margin-top: 18px;
    }
}

/* How It Works - Modern Minimal Design */

body.new-home .how-section {
    max-width: 1200px;
    margin: 65px auto 45px;
    padding: 0 20px;
}

body.new-home .how-header {
    text-align: center;
    margin-bottom: 28px;
}

body.new-home .how-header h2 {
    margin: 0 0 9px;
    color: #181818;
    font-size: 25px;
    font-weight: 800;
}

body.new-home .how-header p {
    margin: 0;
    color: #748078;
    font-size: 13px;
}

body.new-home .how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.new-home .how-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    min-height: 0;
    padding: 22px 20px;
    background: #ffffff;
    border: 1px solid #e8ece9;
    border-radius: 14px;
    text-align: right;
    box-shadow: none;
    transition: border-color 0.2s;
}

body.new-home .how-step-number {
    position: absolute;
    top: 18px;
    left: 18px;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #9ba6a0;
    font-size: 12px;
    font-weight: 500;
}

body.new-home .how-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 0;
    background: transparent;
    border-radius: 0;
    color: #17964f;
    font-size: 20px;
}

body.new-home .how-item h3 {
    margin: 0;
    color: #181818;
    font-size: 16px;
    font-weight: 700;
}

body.new-home .how-item p {
    margin: 0;
    color: #69776f;
    font-size: 12px;
    line-height: 2;
}

@media (hover: hover) {
    body.new-home .how-item:hover {
        border-color: #9bd9b1;
        transform: translateY(-3px);
    }
}

@media (max-width: 600px) {
    body.new-home .how-section {
        margin: 38px auto 30px;
        padding: 0 12px;
    }

    body.new-home .how-header h2 {
        font-size: 20px;
    }

    body.new-home .how-header p {
        font-size: 12px;
    }

    body.new-home .how-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.new-home .how-item {
        min-height: 0;
        padding: 22px 16px;
        gap: 9px;
    }
}

/* About Page - Modern Minimal Design */

body.about-page {
    margin: 0;
    background: #ffffff;
    color: #181818;
    font-family: Tahoma, sans-serif;
}

.about-page .about-header {
    max-width: 1160px;
    margin: 0 auto;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf0ed;
}

.about-page .about-brand {
    font-size: 22px;
    font-weight: 800;
    color: #181818;
    text-decoration: none;
}

.about-page .about-back {
    color: #168b49;
    font-size: 12px;
    text-decoration: none;
}

.about-page .about-main {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Introduction */

.about-page .about-hero {
    max-width: 750px;
    margin: 0 auto;
    padding: 76px 0 54px;
    text-align: center;
}

.about-page .about-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #168b49;
    font-size: 13px;
    font-weight: 600;
}

.about-page .about-hero h1 {
    margin: 0 0 20px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.6;
    color: #181818;
}

.about-page .about-hero p {
    max-width: 610px;
    margin: 0 auto;
    color: #68756d;
    font-size: 15px;
    line-height: 2.2;
}

/* Two Main Audiences */

.about-page .about-audience {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 35px 0 55px;
    border-top: 1px solid #edf0ed;
}

.about-page .about-audience-item {
    padding: 14px 12px;
}

.about-page .about-audience-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #169b55;
}

.about-page .about-audience-icon svg {
    width: 26px;
    height: 26px;
}

.about-page .about-audience-item h2 {
    margin: 0 0 14px;
    color: #181818;
    font-size: 19px;
    font-weight: 700;
}

.about-page .about-audience-item p {
    margin: 0;
    color: #68756d;
    font-size: 13px;
    line-height: 2.4;
}

/* Our Vision */

.about-page .about-vision {
    padding: 34px 42px;
    background: #f5fbf7;
    border: 1px solid #e0eee5;
    border-radius: 18px;
}

.about-page .about-vision-label {
    display: block;
    margin-bottom: 12px;
    color: #168b49;
    font-size: 12px;
    font-weight: 600;
}

.about-page .about-vision h2 {
    margin: 0 0 12px;
    font-size: 21px;
    color: #181818;
}

.about-page .about-vision p {
    margin: 0;
    color: #596b61;
    font-size: 13px;
    line-height: 2.3;
}

/* Mobile */

@media (max-width: 600px) {
    .about-page .about-header {
        padding: 16px;
    }

    .about-page .about-brand {
        font-size: 19px;
    }

    .about-page .about-main {
        padding: 0 18px 90px;
    }

    .about-page .about-hero {
        padding: 48px 0 36px;
    }

    .about-page .about-hero h1 {
        font-size: 25px;
    }

    .about-page .about-hero p {
        font-size: 13px;
    }

    .about-page .about-audience {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 0 35px;
    }

    .about-page .about-audience-item {
        padding: 10px 0;
    }

    .about-page .about-audience-item h2 {
        font-size: 17px;
    }

    .about-page .about-vision {
        padding: 25px 22px;
        border-radius: 14px;
    }

    .about-page .about-vision h2 {
        font-size: 19px;
    }
}

/* Mobile About Link */

.new-home .mobile-about-link {
    display: none;
}

@media (max-width: 600px) {
    .new-home .mobile-about-link {
        display: flex;
        justify-content: center;
        margin: 20px auto 28px;
    }

    .new-home .mobile-about-link a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #168b49;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
    }

    .new-home .mobile-about-link a:active {
        opacity: 0.7;
    }
}


/* Be Ja To - Header Logo */
.new-home .brand-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    text-decoration: none;
}

.new-home .brand-logo {
    display: block;
    width: 125px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .new-home .brand-logo {
        width: 95px;
    }
}


/* Be Ja To - About Page Logo */
.about-page .about-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
    text-decoration: none;
}

.about-page .about-brand-logo {
    display: block;
    width: 125px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .about-page .about-brand-logo {
        width: 95px;
    }
}


/* Be Ja To - Service Cards SVG Hover */

body.new-home .main-service-card .main-service-icon svg,
body.new-home .main-service-card .main-service-icon svg * {
    stroke: #333333 !important;
    transition: stroke 0.25s ease;
}

body.new-home .main-service-card:hover .main-service-icon svg,
body.new-home .main-service-card:hover .main-service-icon svg * {
    stroke: #24C76A !important;
}

body.new-home .main-service-card.selected .main-service-icon svg,
body.new-home .main-service-card.selected .main-service-icon svg *,
body.new-home .main-service-card.active .main-service-icon svg,
body.new-home .main-service-card.active .main-service-icon svg * {
    stroke: #24C76A !important;
}
