/* Homepage — clean & professional */

@keyframes boschFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bosch-home {
    direction: rtl;
    background: var(--bosch-bg, #f8fafc);
}

.bosch-section {
    padding: 48px 0;
    animation: boschFadeUp 0.55s ease both;
}

/* Quick request banner — مثل اردبیل سرویس */
.bosch-quick-section {
    padding-top: 36px;
    padding-bottom: 40px;
}

.bosch-quick-banner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, #005691 0%, #003b6f 100%);
    border-radius: 20px;
    padding: 32px 34px;
    box-shadow: 0 16px 48px rgba(0, 59, 111, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.bosch-quick-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 45%);
    pointer-events: none;
}

.bosch-quick-banner__intro {
    position: relative;
    z-index: 1;
    color: #fff;
}

.bosch-quick-banner__intro .bosch-section__eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 10px;
}

.bosch-service-theme .bosch-quick-banner h2.bosch-quick-banner__title,
.bosch-quick-banner__title {
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 12px;
    line-height: 1.55;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.bosch-service-theme .bosch-quick-banner p.bosch-quick-banner__text,
.bosch-quick-banner__text {
    color: #f8fafc !important;
    line-height: 1.9;
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 500;
}

.bosch-quick-banner__points {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bosch-quick-banner__points li {
    position: relative;
    padding: 7px 22px 7px 0;
    font-size: 14px;
    color: #ffffff !important;
    line-height: 1.65;
    font-weight: 500;
}

.bosch-quick-banner__points li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 7px;
    color: #fecdd3;
    font-weight: 800;
}

.bosch-quick-contact-form {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.9);
    animation: boschFadeUp 0.6s ease 0.08s both;
}

.bosch-quick-contact-form__title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #003b6f;
    text-align: center;
}

.bosch-quick-contact-form__hint {
    margin: 0 0 18px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

.bosch-quick-contact-form__form {
    direction: rtl;
}

.bosch-quick-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.bosch-quick-contact-form__row .bosch-quick-field,
.bosch-quick-contact-form__row input,
.bosch-quick-contact-form__row select {
    width: 100%;
    box-sizing: border-box;
    display: block;
    height: 48px !important;
    min-height: 48px;
    margin: 0;
    padding: 0 14px !important;
    line-height: 46px !important;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    direction: rtl;
    text-align: right;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bosch-quick-contact-form__row select.bosch-quick-field,
.bosch-quick-contact-form__row select {
    padding: 0 14px 0 32px !important;
    -webkit-appearance: menulist;
    appearance: menulist;
    background-color: #fff;
    background-image: none;
    cursor: pointer;
}

.bosch-quick-contact-form__row input.bosch-quick-field::placeholder,
.bosch-quick-contact-form__row input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.bosch-quick-contact-form__row .bosch-quick-field:focus,
.bosch-quick-contact-form__row input:focus,
.bosch-quick-contact-form__row select:focus {
    outline: none;
    border-color: #005691;
    box-shadow: 0 0 0 3px rgba(0, 86, 145, 0.15);
}

.bosch-quick-contact-form__submit {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #e20015, #b80012);
    box-shadow: 0 8px 22px rgba(226, 0, 21, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bosch-quick-contact-form__submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(226, 0, 21, 0.34);
}

.bosch-quick-contact-form__submit:disabled {
    opacity: 0.75;
    cursor: wait;
}

.bosch-quick-contact-form__message {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.bosch-quick-contact-form__message.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.bosch-quick-contact-form__message.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.bosch-section__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 32px;
}

.bosch-section__eyebrow {
    display: inline-block;
    color: var(--bosch-red, #e20015);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.bosch-section__title {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: var(--bosch-heading, #003b6f);
    margin: 0 0 10px;
}

.bosch-section__subtitle {
    color: var(--bosch-text-muted, #64748b);
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

/* Services */
.bosch-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bosch-service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--bosch-border, #e2e8f0);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    animation: boschFadeUp 0.55s ease both;
}

.bosch-service-card:nth-child(1) { animation-delay: 0.06s; }
.bosch-service-card:nth-child(2) { animation-delay: 0.12s; }
.bosch-service-card:nth-child(3) { animation-delay: 0.18s; }

.bosch-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 86, 145, 0.12);
    border-color: #005691;
}

.bosch-service-card__media {
    height: 200px;
    overflow: hidden;
    background: #e2e8f0;
}

.bosch-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.bosch-service-card:hover .bosch-service-card__media img {
    transform: scale(1.05);
}

.bosch-service-card__body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bosch-service-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #003b6f;
    margin: 0 0 8px;
}

.bosch-service-card__text {
    color: #64748b;
    line-height: 1.75;
    font-size: 14px;
    margin: 0 0 14px;
    flex: 1;
}

.bosch-service-card__cta {
    color: #e20015;
    font-weight: 700;
    font-size: 13px;
}

.bosch-home-links {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
}

.bosch-home-links a {
    color: #005691;
    font-weight: 700;
    text-decoration: none;
    margin: 0 8px;
}

.bosch-home-links a:hover {
    color: #e20015;
}

.bosch-portfolio-section {
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.bosch-portfolio-more {
    text-align: center;
    margin: 28px 0 0;
}

.bosch-portfolio-more__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #005691, #003b6f);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 86, 145, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bosch-portfolio-more__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 86, 145, 0.28);
}

/* Form section */
.bosch-form-section {
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.bosch-form-wrap {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(0, 59, 111, 0.06);
    overflow: hidden;
}

.bosch-form-wrap__head {
    background: linear-gradient(135deg, #005691, #003b6f);
    color: #fff;
    padding: 24px 28px;
    border-bottom: 3px solid #e20015;
}

.bosch-form-wrap__head h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.bosch-form-wrap__head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    font-size: 14px;
}

.bosch-form-wrap__body {
    padding: 24px 28px 28px;
}

.bosch-form-wrap .service-request-container,
.bosch-form-wrap .service-request-form {
    max-width: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.bosch-form-wrap .form-header {
    display: none;
}

@media (max-width: 991px) {
    .bosch-quick-banner {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .bosch-quick-contact-form__row {
        grid-template-columns: 1fr;
    }

    .bosch-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .bosch-section {
        padding: 36px 0;
    }

    .bosch-form-wrap__head,
    .bosch-form-wrap__body {
        padding: 18px;
    }
}
