/* =========================================
   CSS صفحه خدمات (قالب تخصصی مقالات)
   ========================================= */

/* ---------- ریست ---------- */
@font-face {
    font-family: Vazir;
    src: url(./fonts/Vazirmatn-Black.woff2);
}
@font-face {
    font-family: Sahel;
    src: url(./fonts/Sahel.woff);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Vazir, sans-serif;
    color: #1C2B33;
    background-color: #FFFFFF;
    line-height: 1.8;
}

/* ===== پیام خطا ===== */
.alert-box {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: #ea4937;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.alert-box__content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
}

.alert-box__icon {
    font-size: 1.3rem;
}

.alert-box__message {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.alert-box__progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.alert-box__bar {
    display: block;
    height: 100%;
    width: 100%;
    background: #fff;
}

@keyframes alertProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ===== پیام موفقیت ===== */
.success-box {
    position: fixed;
    top: -110px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: linear-gradient(135deg, #1F5F5B 0%, #154743 100%);
    box-shadow: 0 12px 32px rgba(21, 92, 67, 0.35);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 99;
    overflow: hidden;
    transition: top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.success-box.show {
    top: 80px;
}

.success-box__content {
    padding: 14px 18px;
}

.success-box__row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.success-box__icon {
    font-size: 1.3rem;
}

.success-box__message {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.success-box__progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.success-box__bar {
    display: block;
    height: 100%;
    width: 100%;
    background: #fff;
}

@keyframes successProgress {
    from { width: 100%; }
    to { width: 0%; }
}
/* ---------- هدر ---------- */
#right_menu{
    width: 40%;
    height: 100vh;
    background-color: white;
    border-top-left-radius: 90px;
    border: 1px solid rgb(230, 230, 230);
    position: fixed;
    right: -40%;
    top: -1px;
    padding-top: 0;
    z-index: 999;
    overflow: hidden;
    transition: 0.45s;
}
#logo_burger{
    display: flex;
    gap: 18px;
    align-items: center;
}
#burger{
    font-size: 25px;
    display: none;
}
#div_menu{
    width: 100%;
    height: 100px;
    background: linear-gradient(to right, rgb(120, 174, 255),rgb(38, 119, 218));
    margin-top: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#menu_hero{
    font-size: 25px;
    color: white;
}
.menu_nav{
    display: flex;
    flex-direction: column;
    margin-right: 30px;
    margin-top: 20px;
}
.menu_link{
    text-decoration: none;
    color: black;
    width: 97%;
    margin-top: -5px;
}

.menu_link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: #0E7C7B;
    transition: width 0.3s ease;
}
#btn_close{
    background: none;
    border: none;
}

#out_menu{
    width: 100%;
    height: 100vh;
    z-index: 998;
    position: fixed;
    background-color: rgba(218, 218, 218,0.4);
    backdrop-filter: blur(2.5px);
    display: none;
}
/* ===== هدر ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14, 124, 123, 0.08);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header__logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
}

.header__logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0E7C7B;
}

.header__nav {
    display: flex;
    gap: 28px;
}

.header__link {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1C2B33;
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: #0E7C7B;
    transition: width 0.3s ease;
}

.header__link:hover {
    color: #0E7C7B;
}

.header__link:hover::after {
    width: 100%;
}

.header__btn {
    padding: 10px 18px;
    background: linear-gradient(135deg, #0E7C7B, #0A5C5B);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(14, 124, 123, 0.25);
}
/* ---------- بنر معرفی خدمت ---------- */
.service-hero {
    max-width: 1200px;
    margin: 25px auto;
    padding: 50px 40px;
    background: linear-gradient(135deg, #F2FAF9 0%, #FFFFFF 60%, #FDF8F6 100%);
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(14, 124, 123, 0.08);
}

.service-hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(14, 124, 123, 0.08);
    color: #0E7C7B;
    border: 1px solid rgba(14, 124, 123, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.service-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #1C2B33;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.service-hero p {
    font-size: 1.15rem;
    font-family: Sahel;
    color: #535e66;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 500px;
}

.service-hero__btn {
    display: inline-block;
    padding: 15px 36px;
    background: linear-gradient(135deg, #0E7C7B 0%, #0A5C5B 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(14, 124, 123, 0.3);
    transition: all 0.35s ease;
}

.service-hero__btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(14, 124, 123, 0.4);
}

.service-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    margin-top: -20px;
}

.service-hero__image:hover img {
    transform: scale(1.02);
}

/* ---------- فهرست مطالب ---------- */
.toc {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px 35px;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(14, 124, 123, 0.12);
    box-shadow: 0 6px 24px rgba(14, 124, 123, 0.06);
}

.toc h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0E7C7B;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E0F2F1;
}

.toc ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0;
}

.toc li {
    font-size: 0.95rem;
}

.toc a {
    display: block;
    padding: 10px 16px;
    background: #F8FAF9;
    border-radius: 12px;
    color: #2C3E4C;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 2.5px solid transparent;
}

.toc a:hover {
    background: #E0F2F1;
    color: #0E7C7B;
    border-right-color: #0E7C7B;
    transform: translateX(-4px);
}
/* ---------- سرتیتر بالای فهرست مطالب ---------- */
.equipment__header {
    text-align: center;
    margin-bottom: 30px;
}

.equipment__badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0E7C7B;
    padding: 6px 16px;
    border: 1px solid rgba(14, 124, 123, 0.3);
    border-radius: 50px;
    background: rgba(14, 124, 123, 0.05);
    margin-bottom: 14px;
}

.equipment__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1C2B33;
    margin-bottom: 10px;
}

.equipment__desc {
    font-size: 1rem;
    font-weight: 300;
    color: #5B6B76;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.9;
    text-align: center;
    font-family: Vazir;
}
/* ---------- محتوای مقاله ---------- */
.service-article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0px 80px;
}

.article-section,
.service-article section {
    margin-bottom: 60px;
    scroll-margin-top: 95px;
}
.booking {
    scroll-margin-top: 95px;
}

.faq {
    scroll-margin-top: 95px;
}
.service-article p.faq_p {
    font-family: Vazir;
}
.service-article section p {
    font-family: Sahel;
    font-size: 1.05rem;
    line-height: 2;
    color: #38434b;
    text-align: justify;
    margin-top: -5px;
}

.service-article h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1C2B33;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #E0F2F1;
    position: relative;
}

.service-article h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0E7C7B, #12c6bd);
    border-radius: 3px;
}

/* پله ۱ */
.service-article section:nth-of-type(1) h2::after {
    width: 5%;
}

/* پله ۲ */
.service-article section:nth-of-type(2) h2::after {
    width: 22%;
}

/* پله ۳ */
.service-article section:nth-of-type(3) h2::after {
    width: 29%;
}

/* پله ۴ */
.service-article section:nth-of-type(4) h2::after {
    width: 36%;
}

/* پله ۵ */
.service-article section:nth-of-type(5) h2::after {
    width: 43%;
}

/* پله ۶ */
.service-article section:nth-of-type(6) h2::after {
    width: 50%;
}

/* پله ۷ */
.service-article section:nth-of-type(7) h2::after {
    width: 57%;
}

/* پله ۸ */
.service-article section:nth-of-type(8) h2::after {
    width: 64%;
}

/* پله ۹ */
.service-article section:nth-of-type(9) h2::after {
    width: 71%;
}

/* پله ۱۰ */
.service-article section:nth-of-type(10) h2::after {
    width: 78%;
}

/* پله ۱۱ */
.service-article section:nth-of-type(11) h2::after {
    width: 85%;
}

/* پله ۱۲ */
.service-article section:nth-of-type(12) h2::after {
    width: 90%;
}

/* پله ۱۳ */
.service-article section:nth-of-type(13) h2::after {
    width: 94%;
}

/* پله ۱۴ */
.service-article section:nth-of-type(14) h2::after {
    width: 100%;
}

.service-article p {
    font-size: 1.05rem;
    color: #38434b;
    line-height: 2.2;
    margin-bottom: 18px;
    text-align: justify;
}

.service-article ul,
.service-article ol {
    margin-right: 24px;
    margin-bottom: 20px;
}

.service-article li {
    font-size: 1.05rem;
    color: #38434b;
    line-height: 2;
    margin-bottom: 10px;
}
.service-article section#faq h2,
.equipment__header h2 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 10px !important;
}

.equipment__header h2::after {
    display: none !important;
}
.service-article section#faq h2::after {
    display: none;
}
/* جدول مقایسه */
.compare-table {
    overflow-x: auto;
}

.compare-table table {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.compare-table th {
    background: linear-gradient(135deg, #0E7C7B, #0A5C5B);
    color: #fff;
    font-weight: 700;
    padding: 16px 18px;
    font-size: 1rem;
    text-align: right;
}

.compare-table td {
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid #F0F0F0;
    font-size: 0.95rem;
    color: #38434b;
    text-align: right;
    line-height: 1.8;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:hover td {
    background: #F8FAF9;
}
.device-block {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 35px;
    align-items: center;
    background: #FFFFFF;
    border-radius: 28px;
    padding: 30px;
    margin-bottom: 35px;
    box-shadow: 0 8px 30px rgba(14, 124, 123, 0.08);
    border: 1px solid rgba(14, 124, 123, 0.1);
    transition: all 0.4s ease;
    direction: ltr;
}

.device-block:hover {
    box-shadow: 0 18px 50px rgba(14, 124, 123, 0.15);
    border-color: rgba(14, 124, 123, 0.25);
}

.device-image {
    position: relative;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 50px;
    align-self:normal;
}

.cool_img{
    width: 90%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease;
    margin: auto;
}

.device-block:hover .cool_img {
    transform: scale(1.02);
}
.first_cool{
    width: 90%;
    height: 190px;
    object-fit: cover;
    border-radius: 14px;
}
.device-text p {
    font-family: Sahel;
    font-size: 1.05rem;
    line-height: 2.2;
    color: #38434b;
    text-align: justify;
    margin-bottom: 18px;
    direction: rtl;
}

.device-text p:last-child {
    margin-bottom: 0;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 900px) {
    .device-block {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .device-image img {
        aspect-ratio: 3 / 4;
        max-height: 450px;
    }

    .service-devices {
        grid-template-columns: 1fr;
    }
}
/* ---------- آکاردئون سوالات ---------- */
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.faq__item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(14, 124, 123, 0.12);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__item:hover {
    border-color: rgba(14, 124, 123, 0.3);
}

.faq__question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    font-family: Vazir;
    font-size: 1rem;
    font-weight: 700;
    color: #1C2B33;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq__icon {
    width: 28px;
    height: 28px;
    background: #E0F2F1;
    color: #0E7C7B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
    background: #0E7C7B;
    color: #fff;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq__answer p {
    padding: 0 20px 18px;
    font-size: 0.95rem;
    color: #5B6B76;
    line-height: 2;
}

.faq__item.active .faq__answer {
    max-height: 300px;
}

/* ---------- دعوت به تماس ---------- */
.service-cta {
    background: linear-gradient(135deg, #0E7C7B 0%, #0A5C5B 100%);
    color: #fff;
    text-align: center;
    padding: 50px 30px;
    border-radius: 28px;
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(14, 124, 123, 0.25);
}

.service-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    border: none;
}

.service-cta h2::after {
    display: none;
}

.service-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.call-btn-wrapper {
    width: 215px;
    height: 68px;
    border: 1px solid #0eb48b;
    border-radius: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
    
    margin: auto;
    margin-top: 30px;
    margin-bottom: 20px;
}

.call-btn {
    display: flex;
    width: 205px;
    height: 58px;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0E7C7B, #0A5C5B);
    color: #fff;
    border: none;
    border-radius: 26px;
    font-weight: 600;
    font-size: 1rem;
    font-family: Vazir;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(14, 124, 123, 0.25);
    margin: auto;
    position: relative;
    text-decoration: none;
}

.call-btn__shine {
    position: absolute;
    width: 50px;
    height: 140%;
    border-radius: 2px;
    background-color: rgba(238, 238, 238, 0.4);
    left: -55px;
    transition: 0.43s;
    transform: rotate(15deg);
    box-shadow: -5px 3px 20px rgba(187, 187, 187, 0.45);
}

.call-btn:hover .call-btn__shine {
    left: 110%;
}
/* ===== بخش رزرو نوبت ===== */
.booking {
    padding: 20px 24px;
    margin-top: -65px;
}

.booking__free {
    background: linear-gradient(135deg, #13e7e3, #0c8583, #096c6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-booking {
    position: relative;
    width: 1050px;
    max-width: 95%;
    height: 500px;
    margin: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.7s;
}

.contact-panel {
    background: linear-gradient(135deg, #0b6291 0%, #0D4543 100%);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 0 30px rgba(0, 0, 0, 0.15);
    left: 25%;
    opacity: 0;
}

.booking-panel {
    background: #ffffff;
    right: 0;
}

.panel-content {
    text-align: center;
    width: 100%;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.contact-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.contact-card__phone {
    font-size: 1.5rem;
    font-weight: 700;
    direction: ltr;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 24px;
    border-radius: 14px;
    transition: 0.3s;
}
.contact-card__phone:hover {
    background: rgba(255, 255, 255, 0.25);
}
.contact-card__info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.booking-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.booking-form h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1C2B33;
    text-align: center;
    margin-bottom: 6px;
}

.booking-form input,
.booking-form select {
    padding: 13px 16px;
    border: 1.5px solid #E0E0E0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    text-align: right;
    color: #1C2B33;
    background: #F8F8F6;
}

.booking-form input::placeholder {
    font-family: Sahel;
    font-size: 16px;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: #0E7C7B;
    box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.1);
    background: #fff;
}

.booking-form button {
    padding: 14px;
    background: #0E7C7B;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.booking-form button:hover {
    background: #0A5C5B;
}

.overlay {
    position: absolute;
    top: 0;
    right: 50%;
    width: 50%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 235, 210, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(0, 0, 0, 0.20) 0%, transparent 60%),
        linear-gradient(135deg, #1A6E6B 0%, #0F4C4A 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 0 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: right 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    padding: 30px;
    border-left: 1px solid rgba(14, 124, 123, 0.08);
}

.overlay__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-top: -50px;
    margin-bottom: 20px;
}

.overlay__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.overlay__btn {
    padding: 13px 32px;
    background: #FFFFFF;
    border: none;
    border-radius: 18px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    color: #0F4C4A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.overlay__btn:hover {
    background: #F2FAF9;
    color: #0A5C5B;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}


/* ===== فوتر ===== */
.footer {
    background: #0F1115;
    color: #AAB4BD;
    padding: 60px 24px 0;
    direction: rtl;
    margin-top: 50px;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4 , 1fr);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.links{
    margin-top: 10px;
}
.quick_action{
    margin-right: 50px;
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer__logo-img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: contain;
}

.footer__logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.footer__about {
    font-size: 0.9rem;
    line-height: 2;
    color: #8B95A0;
    max-width: 350px;
}

.footer__social {
    gap: 12px;
    margin-top: 5px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: #1A1E24;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AAB4BD;
    transition: all 0.3s ease;
    border: none;
}

.footer__social-link:hover {
    background: #0E7C7B;
    color: #fff;
    transform: translateY(-2px);
}
.social_div{
    display: flex;
    gap: 10px;
    align-items: center;
}
.copy{
    width: 55px;
    height: 30px;
    background-color: rgb(22, 22, 22);
    font-size: 12px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    margin-right: -7px;
    transition: 0.4s;
    opacity: 0;
}
.footer__social:has(.footer__social-link:hover) .copy {
    opacity: 1;
}
.footer__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.footer__links {
    list-style: none;
    width: 100px;
}

.footer__links li {
    margin-top: 10px;
}

.footer__links a {
    color: #8B95A0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer__links a:hover {
    color: #12c6bd;
    margin-right: 10px;
}

.footer__contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #8B95A0;
}

.footer__contact-label {
    color: rgb(227, 227, 227);
}

.footer__contact a {
    color: #8B95A0;
    text-decoration: none;
}

.footer__contact a:hover {
    color: #12c6bd;
}

.footer__bottom {
    margin-top: 50px;
    padding: 20px 24px;
    border-top: 1px solid #1A1E24;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: #6B7680;
}

/* =============================================
   ریسپانسیو صفحه خدمات
   ============================================= */

/* تبلت و لپ‌تاپ کوچک */
@media (max-width: 1024px) {
    .service-article {
        max-width: 100%;
        padding: 20px 24px 60px;
    }

    .service-hero {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 40px 30px;
    }

    .toc {
        max-width: 100%;
    }

    .contact-booking {
        width: 100%;
    }
}
@media (max-width: 1130px) {
    /* هدر */
    #burger {
        display: block;
    }

    .header__nav {
        display: none;
    }

    .menu_nav {
        display: flex;
    }
}
/* تبلت */
@media (max-width: 1000px) {


    .header__container {
        padding: 0 20px;
    }

    /* بنر */
    .service-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
        margin: 20px 12px;
    }

    .service-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .service-hero__image img {
        max-width: 400px;
        margin: 0 auto;
    }

    /* فهرست مطالب */
    .toc {
        margin: 30px 16px;
        padding: 20px;
    }

    .toc ul {
        grid-template-columns: 1fr;
    }

    /* محتوای مقاله */
    .service-article {
        padding: 20px 16px 50px;
    }

    .service-article h2 {
        font-size: 1.7rem;
    }

    /* دستگاه‌ها */
    .device-block {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .device-image {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cool_img,
    .first_cool {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        max-height: 400px;
    }

    /* جدول */
    .compare-table table {
        min-width: 500px;
    }

    /* رزرو و تماس */
    .contact-booking {
        height: auto;
        min-height: 600px;
    }

    .panel {
        position: static;
        width: 100%;
        height: auto;
    }

    .contact-panel,
    .booking-panel {
        left: 0;
        right: 0;
        opacity: 1;
    }

    .overlay {
        display: none;
    }

    /* فوتر */
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* موبایل بزرگ */
@media (max-width: 600px) {
    /* بنر */
    .service-hero {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .service-hero h1 {
        font-size: 1.8rem;
    }

    .service-hero p {
        font-size: 0.95rem;
    }

    .service-hero__btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    /* فهرست */
    .toc {
        padding: 16px;
        margin: 20px 10px;
    }

    .toc h2 {
        font-size: 1.3rem;
    }

    .toc a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    /* محتوا */
    .service-article {
        padding: 15px 12px 40px;
    }

    .service-article h2 {
        font-size: 1.5rem;
    }

    .service-article p,
    .service-article li {
        font-size: 0.95rem;
    }

    /* جدول */
    .compare-table table {
        min-width: 400px;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    /* سوالات */
    .faq__question {
        font-size: 0.9rem;
        padding: 14px 12px;
    }

    .faq__answer p {
        font-size: 0.85rem;
    }

    /* رزرو */
    .booking {
        padding: 10px 8px;
    }

    .contact-booking {
        min-height: 700px;
    }

    .panel {
        padding: 25px 15px;
    }

    .booking-form input,
    .booking-form select {
        padding: 11px 12px;
        font-size: 0.9rem;
    }

    .booking-form input::placeholder {
        font-size: 14px;
    }

    /* فوتر */
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    .quick_action{
        margin-right: 0px;
    }
    .footer__col {
        align-items: center;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__links,
    .footer__contact {
        align-items: center;
    }
}
@media (max-width: 490px) {
    #right_menu{
        width: 60%;
        right: -60%;
        border-top-left-radius: 70px;
    }
}
/* موبایل کوچک */
@media (max-width: 440px) {
    /* هدر */
    .header__container {
        height: 60px;
        padding: 0 12px;
    }

    .header__logo-img {
        width: 45px;
        height: 45px;
    }

    .header__logo-text {
        font-size: 1.1rem;
    }

    /* بنر */
    .service-hero h1 {
        font-size: 1.5rem;
    }

    .service-hero p {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    /* محتوا */
    .service-article h2 {
        font-size: 1.35rem;
    }

    .service-article p,
    .service-article li {
        font-size: 0.9rem;
    }

    /* جدول */
    .compare-table table {
        min-width: 350px;
    }

    /* دکمه تماس */
    .call-btn {
        width: 180px;
        height: 52px;
        font-size: 0.9rem;
    }

    .call-btn-wrapper {
        width: 190px;
        height: 58px;
    }

    /* رزرو */
    .contact-booking {
        min-height: 650px;
        border-radius: 16px;
    }

    .contact-card h2,
    .booking-form h2 {
        font-size: 1.4rem;
    }

    .contact-card__phone {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 360px) {
    .header__btn {
        font-size: 0.8rem;
    }
    .service-hero h1 {
        font-size: 1.3rem;
    }

    .service-hero p {
        font-size: 0.85rem;
    }

    .service-article h2 {
        font-size: 1.2rem;
    }

    .service-article p,
    .service-article li {
        font-size: 0.85rem;
        line-height: 1.9;
    }

    .toc a {
        font-size: 0.8rem;
    }

    .compare-table table {
        min-width: 300px;
    }

    .compare-table th,
    .compare-table td {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .faq__question {
        font-size: 0.8rem;
    }

    .call-btn {
        width: 160px;
        height: 48px;
        font-size: 0.85rem;
    }

    .call-btn-wrapper {
        width: 170px;
        height: 54px;
    }
}

/* موبایل بسیار کوچک */
@media (max-width: 320px) {
    .header__btn {
        font-size: 0.7rem;
    }
    .service-hero {
        padding: 18px 10px;
    }

    .service-hero h1 {
        font-size: 1.15rem;
    }

    .service-hero p {
        font-size: 0.8rem;
    }

    .service-article h2 {
        font-size: 1.1rem;
    }

    .service-article p,
    .service-article li {
        font-size: 0.8rem;
    }

    .toc {
        padding: 12px 8px;
    }

    .compare-table table {
        min-width: 280px;
    }

    .contact-booking {
        min-height: 600px;
    }

    .footer__bottom p {
        font-size: 0.72rem;
    }
}

@media (max-width: 300px) {
    .header__btn {
        font-size: 0.65rem;
    }
    .header__container {
        height: 50px;
        padding: 0 8px;
    }

    .header__logo-img {
        width: 35px;
        height: 35px;
    }

    .header__logo-text {
        font-size: 0.9rem;
    }

    #burger {
        font-size: 20px;
    }

    #right_menu {
        width: 70%;
        right: -70%;
        border-top-left-radius: 50px;
    }

    #div_menu {
        height: 70px;
    }

    #menu_hero {
        font-size: 20px;
    }

    .menu_nav {
        margin-right: 15px;
        margin-top: 10px;
    }

    .menu_link {
        font-size: 0.85rem;
        width: 100%;
    }
}

@media (max-width: 260px) {
    .header__btn {
        font-size: 0.6rem;
    }
}