﻿/*
Theme Name: Orthopedic Land
Author: Orthopedic Land
Description: Custom WordPress Theme
Version: 1.0
*/


/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    direction: rtl;

    background: #ffffff;
    color: #222222;

    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: 88%;
    max-width: 1180px;

    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    width: 100%;
    height: 96px;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    position: relative;
    z-index: 100;
}

.header-container {
    width: 88%;
    max-width: 1180px;

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* LOGO */

.site-logo {
    width: 190px;
    flex-shrink: 0;
}

.site-logo a {
    display: inline-block;

    font-size: 20px;
    font-weight: 600;

    letter-spacing: 0.2px;

    color: #273f42;
}

.site-logo a:hover {
    color: #344f52;
}


/* NAVIGATION */

.main-navigation {
    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;
}

.main-menu {
    display: flex;

    align-items: center;

    justify-content: center;

    list-style: none;

    margin: 0;
    padding: 0;

    gap: 38px;
}

.main-menu li {
    margin: 0;
    padding: 0;

    position: relative;
}

.main-menu li a {
    position: relative;

    display: block;

    padding: 38px 2px 34px;

    font-size: 15px;

    font-weight: 500;

    color: #333333;

    white-space: nowrap;

    transition: color 0.25s ease;
}

.main-menu li a::after {
    content: "";

    position: absolute;

    right: 0;
    left: 0;

    bottom: 0;

    height: 2px;

    background: #344f52;

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.25s ease;
}

.main-menu li a:hover {
    color: #344f52;
}

.main-menu li a:hover::after {
    transform: scaleX(1);
}

.main-menu li:first-child a {
    color: #344f52;
}

.main-menu li:first-child a::after {
    transform: scaleX(1);
}


/* SEARCH */

.header-search {
    width: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: flex-end;
}

.search-icon {
    width: 17px;
    height: 17px;

    border: 1.8px solid #333333;

    border-radius: 50%;

    position: relative;

    display: block;
}

.search-icon::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 1.8px;

    background: #333333;

    right: -5px;
    bottom: -3px;

    transform: rotate(45deg);
}


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

.hero-section {
    width: 100%;

    overflow: hidden;

    position: relative;
}

.hero-image {
    width: 100%;

    height: 560px;

    position: relative;

    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center center;

    transform: scale(1.01);
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.18),
            rgba(0, 0, 0, 0.32)
        );

    display: flex;

    align-items: center;

    justify-content: center;
}

.hero-content {
    width: 90%;

    max-width: 850px;

    text-align: center;

    color: #ffffff;

    padding: 30px;

    margin-top: 10px;
}

.hero-content h1 {
    margin: 0 0 20px;

    font-size: 44px;

    font-weight: 700;

    line-height: 1.4;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.20);
}

.hero-content p {
    margin: 0 auto 32px;

    max-width: 650px;

    font-size: 19px;

    line-height: 2;

    color: #ffffff;

    text-shadow:
        0 1px 5px rgba(0, 0, 0, 0.20);
}

.hero-button {
    display: inline-block;

    padding: 14px 34px;

    background: #ffffff;

    color: #273f42;

    border: 1px solid #ffffff;

    font-size: 15px;

    font-weight: 500;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.hero-button:hover {
    background: #344f52;

    border-color: #344f52;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================
   ABOUT
========================= */

.about-section {
    width: 100%;

    padding: 115px 0;

    background: #ffffff;
}

.about-container {
    display: flex;

    align-items: center;

    gap: 85px;
}


/* IMAGE */

.about-image {
    width: 50%;

    position: relative;

    overflow: hidden;
}

.about-image img {
    width: 100%;

    height: 450px;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.025);
}


/* CONTENT */

.about-content {
    width: 50%;

    padding-left: 20px;
}

.about-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #344f52;

    font-size: 14px;

    font-weight: 600;

    position: relative;

    padding-right: 38px;
}

.about-label::before {
    content: "";

    position: absolute;

    right: 0;

    top: 50%;

    width: 28px;

    height: 1px;

    background: #344f52;
}

.about-content h2 {
    margin: 0 0 25px;

    color: #273f42;

    font-size: 35px;

    font-weight: 600;

    line-height: 1.55;
}

.about-content p {
    margin: 0 0 18px;

    color: #666666;

    font-size: 16px;

    line-height: 2.1;
}

.about-button {
    display: inline-block;

    margin-top: 17px;

    padding: 13px 30px;

    background: #344f52;

    color: #ffffff;

    border: 1px solid #344f52;

    font-size: 14px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.about-button:hover {
    background: #ffffff;

    color: #344f52;

    transform: translateY(-2px);
}


```css
/* =========================
   SERVICES
========================= */

.services-intro-section {
    width: 100%;
    padding: 100px 0;
    background: #f7f7f7;
}


/* =========================
   SERVICES GRID
========================= */

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 70px;
}


/* =========================
   SERVICE CARD
========================= */

.service-card {
    width: 100%;
    min-height: 360px;

    background: #ffffff;

    display: grid;
    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    border: 0;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.09);
}


/* =========================
   SERVICE IMAGE
========================= */

.service-image {
    width: 100%;
    height: 100%;
    min-height: 360px;

    overflow: hidden;

    background: #eeeeee;
}

.service-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.03);
}


/* =========================
   SERVICE BODY
========================= */

.service-card-body {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 55px 65px;

    background: #ffffff;
}


/* =========================
   NUMBER
========================= */

.service-number {
    margin-bottom: 18px;

    color: #344f52;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 2px;
}


/* =========================
   CONTENT
========================= */

.service-card-content {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.service-card-content h3 {
    margin: 0 0 20px;

    color: #273f42;

    font-size: 30px;

    font-weight: 600;

    line-height: 1.6;
}

.service-card-content p {
    max-width: 520px;

    margin: 0 0 28px;

    color: #666666;

    font-size: 16px;

    line-height: 2.1;
}


/* =========================
   LINK
========================= */

.service-card-content a {
    display: inline-block;

    color: #344f52;

    font-size: 14px;

    font-weight: 500;

    position: relative;

    padding-bottom: 6px;
}

.service-card-content a::after {
    content: "";

    position: absolute;

    right: 0;
    left: 0;

    bottom: 0;

    height: 1px;

    background: #344f52;

    transform: scaleX(0);

    transform-origin: right;

    transition:
        transform 0.25s ease;
}

.service-card-content a:hover::after {
    transform: scaleX(1);
}


/* =========================
   ALTERNATING SERVICES
========================= */

/* 01 - عکس راست / متن چپ */

.service-card:nth-child(odd) {
    grid-template-areas:
        "content image";
}

.service-card:nth-child(odd) .service-image {
    grid-area: image;
}

.service-card:nth-child(odd) .service-card-body {
    grid-area: content;
}


/* 02 - عکس چپ / متن راست */

.service-card:nth-child(even) {
    grid-template-areas:
        "image content";
}

.service-card:nth-child(even) .service-image {
    grid-area: image;
}

.service-card:nth-child(even) .service-card-body {
    grid-area: content;
}

/* ALTERNATING LAYOUT */

.service-card:nth-child(even) {
    grid-template-columns: 57% 43%;
}

.service-card:nth-child(even) .service-image {
    order: 2;
}

.service-card:nth-child(even) .service-card-body {
    order: 1;
}


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

@media (max-width: 900px) {

    .service-card {
        grid-template-columns: 45% 55%;
    }

    .service-card:nth-child(even) {
        grid-template-columns: 55% 45%;
    }

    .service-image {
        height: 270px;
    }

    .service-card-body {
        padding: 35px 35px;
    }

    .service-card-content h3 {
        font-size: 22px;
    }

    .service-card-content p {
        font-size: 14px;
        line-height: 2;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .services-intro-section {
        padding: 70px 0 80px;
    }

    .services-grid {
        gap: 25px;
    }

    .service-card,
    .service-card:nth-child(even) {
        display: flex;

        flex-direction: column;

        grid-template-columns: none;

        border: 1px solid #e8e8e8;

        background: #ffffff;
    }

    .service-card:first-child {
        border-top: 1px solid #e8e8e8;
    }

    .service-card:nth-child(even) .service-image,
    .service-card:nth-child(even) .service-card-body {
        order: initial;
    }

    .service-image {
        width: 100%;
        height: 230px;
    }

    .service-card-body {
        width: 100%;

        padding: 25px 22px 28px;

        justify-content: flex-start;
    }

    .service-number {
        margin-bottom: 10px;
    }

    .service-card-content h3 {
        margin-bottom: 14px;

        font-size: 20px;

        line-height: 1.6;
    }

    .service-card-content p {
        margin-bottom: 20px;

        font-size: 14px;

        line-height: 2;
    }

}
```

=========================
   SECTION HEADING
========================= */

.section-heading {
    text-align: center;

    margin-bottom: 45px;
}

.section-heading span {
    display: block;

    margin-bottom: 10px;

    color: #777777;

    font-size: 14px;
}

.section-heading h2 {
    margin: 0;

    font-size: 32px;

    font-weight: 600;

    line-height: 1.5;
}


/* =========================
   CLIENTS
========================= */

.clients-section {
    width: 100%;

    padding: 90px 0 105px;

    background: #ffffff;
}

.clients-section .section-heading {
    margin-bottom: 40px;
}

.clients-slider-wrapper {
    width: 100%;

    position: relative;

    padding: 0 42px;
}

.clients-window {
    width: 100%;

    overflow: hidden;

    direction: ltr;
}

.clients-track {
    display: flex;

    gap: 24px;

    width: max-content;

    direction: ltr;

    transition: transform 0.7s ease;

    will-change: transform;
}

.client-slide {
    width: 350px;

    height: 450px;

    flex: 0 0 350px;

    overflow: hidden;

    background: #f3f3f3;

    position: relative;
}

.client-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

/* تمرکز روی قسمت بالایی عکس برای مشخص بودن سر */ object-position: center top; transition: transform 0.5s ease; } .client-slide:hover img { transform: scale(1.025); }

.client-slide:hover img {
    transform: scale(1.025);
}


/* =========================
   SLIDER BUTTONS
========================= */

.slider-button {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    border: 1px solid #dddddd;

    border-radius: 50%;

    background: #ffffff;

    color: #333333;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);

    z-index: 20;

    cursor: pointer;

    font-size: 25px;

    line-height: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

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

.slider-button:hover {
    background: #344f52;

    color: #ffffff;

    transform: translateY(-50%) scale(1.05);
}

.slider-prev {
    right: 0;
}

.slider-next {
    left: 0;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    width: 100%;

    padding: 30px 0;

    text-align: center;

    background: #f5f5f5;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1200px) {

    .container,
    .header-container {
        width: 92%;
    }

    .main-menu {
        gap: 28px;
    }

    .about-container {
        gap: 55px;
    }

    .about-content {
        padding-left: 0;
    }

    .client-slide {
        width: 300px;

        flex-basis: 300px;

        height: 260px;
    }

}


@media (max-width: 900px) {

    .site-header {
        height: 88px;
    }

    .main-menu {
        gap: 18px;
    }

    .main-menu li a {
        font-size: 14px;

        padding-top: 34px;
        padding-bottom: 31px;
    }

    .site-logo {
        width: 150px;
    }

    .site-logo a {
        font-size: 18px;
    }

    .hero-image {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .about-section {
        padding: 90px 0;
    }

    .about-container {
        gap: 45px;
    }

    .about-image img {
        height: 380px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .client-slide {
        width: 300px;

        flex-basis: 300px;

        height: 250px;
    }

    .clients-track {
        gap: 20px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .site-header {
        height: auto;
    }

    .header-container {
        min-height: 80px;

        flex-wrap: wrap;

        padding: 15px 0;
    }

    .site-logo {
        width: auto;
    }

    .main-navigation {
        order: 3;

        width: 100%;

        overflow-x: auto;

        justify-content: flex-start;

        margin-top: 8px;
    }

    .main-menu {
        gap: 20px;
    }

    .main-menu li a {
        padding: 10px 2px;

        font-size: 14px;
    }

    .header-search {
        width: 35px;
    }


    /* HERO */

    .hero-image {
        height: 430px;
    }

    .hero-content {
        width: 94%;

        padding: 20px;
    }

    .hero-content h1 {
        margin-bottom: 15px;

        font-size: 30px;

        line-height: 1.5;
    }

    .hero-content p {
        margin-bottom: 25px;

        font-size: 16px;

        line-height: 1.9;
    }

    .hero-button {
        padding: 12px 27px;

        font-size: 14px;
    }


    /* ABOUT */

    .about-section {
        padding: 70px 0;
    }

    .about-container {
        flex-direction: column;

        gap: 40px;
    }

    .about-image,
    .about-content {
        width: 100%;
    }

    .about-image img {
        height: 320px;
    }

    .about-content {
        padding: 0;
    }

    .about-content h2 {
        margin-bottom: 20px;

        font-size: 27px;
    }

    .about-content p {
        font-size: 15px;

        line-height: 2;
    }


    /* SERVICES */

.services-intro-section {
    padding: 70px 0;
}

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

    gap: 25px;
}

.service-image {
    height: 230px;
}

.service-card-body {
    padding: 23px 22px 25px;
}

.service-card-content h3 {
    font-size: 20px;
}

.service-card-content p {
    font-size: 14px;
}   /* CLIENTS */

    .clients-section {
        padding: 70px 0 80px;
    }

    .clients-slider-wrapper {
        padding: 0 30px;
    }

    .client-slide {
        width: calc(100vw - 70px);

        flex-basis: calc(100vw - 70px);

        height: 340px;
    }

    .clients-track {
        gap: 15px;
    }

    .slider-button {
        width: 38px;
        height: 38px;

        font-size: 22px;
    }

    .slider-prev {
        right: 0;
    }

    .slider-next {
        left: 0;
    }

}

/* =========================
   CONTACT / LOCATION
========================= */

.contact-section {
    width: 100%;
    padding: 90px 0 105px;
    background: #ffffff;
}

.contact-location {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 360px;
    margin-bottom: 35px;
}

.contact-location-info {
    width: 52%;
    padding: 35px 55px 35px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.contact-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #777777;
    font-size: 14px;
}

.contact-location-info h2 {
    margin: 0 0 18px;
    color: #2f7d7e;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.6;
}

.contact-location-info p {
    margin: 0 0 18px;
    color: #555555;
    font-size: 15px;
    line-height: 2.05;
}

.contact-location-info .contact-address {
    margin-bottom: 0;
}

.contact-map {
    width: 48%;
    min-height: 360px;
    overflow: hidden;
    background: #eef2f3;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    border: 0;
}

.contact-connect-box {
    width: 100%;
    padding: 35px 35px 30px;
    background: #f8f8f8;
    border: 1px solid #eeeeee;
    border-radius: 6px;
}

.contact-connect-heading {
    text-align: center;
    margin-bottom: 35px;
}

.contact-connect-heading h2 {
    margin: 0 0 15px;
    color: #222222;
    font-size: 28px;
    font-weight: 500;
}

.contact-connect-heading p {
    margin: 0 auto;
    max-width: 900px;
    color: #555555;
    font-size: 16px;
    line-height: 2;
}

.contact-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    align-items: start;
}

.contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #333333;
    font-size: 14px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.contact-social-symbol {
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    font-size: 48px;
    line-height: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-social:hover {
    transform: translateY(-4px);
    color: #2f7d7e;
}

.contact-social:hover .contact-social-symbol {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.contact-social-telegram .contact-social-symbol {
    color: #229ed9;
}

.contact-social-instagram .contact-social-symbol {
    color: #c13584;
}

.contact-social-phone .contact-social-symbol {
    color: #111111;
}

.contact-social-whatsapp .contact-social-symbol {
    color: #20b858;
}

@media (max-width: 900px) {
    .contact-location {
        min-height: 0;
    }

    .contact-location-info,
    .contact-map {
        width: 50%;
    }

    .contact-location-info {
        padding: 30px;
    }

    .contact-location-info h2 {
        font-size: 25px;
    }

    .contact-social-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 70px 0 80px;
    }

    .contact-location {
        flex-direction: column;
    }

    .contact-location-info,
    .contact-map {
        width: 100%;
    }

    .contact-location-info {
        padding: 25px 0 30px;
    }

    .contact-location-info h2 {
        font-size: 25px;
    }

    .contact-location-info p {
        font-size: 14px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 300px;
        height: 300px;
    }

    .contact-connect-box {
        padding: 30px 18px 25px;
    }

    .contact-connect-heading h2 {
        font-size: 25px;
    }

    .contact-connect-heading p {
        font-size: 14px;
    }

    .contact-social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .contact-social-symbol {
        width: 85px;
        height: 85px;
        font-size: 38px;
    }
}
/* =========================
   CONTACT DIRECTION FIX
========================= */

.contact-location {
    direction: ltr;
}

.contact-location-info {
    direction: rtl;
    text-align: right;
}

.contact-social-grid {
    direction: ltr;
}

.contact-social {
    direction: rtl;
}
/* =========================
   FOOTER
========================= */

.site-footer {
    width: 100%;
    padding: 70px 0 0;
    background: #273f42;
    color: #ffffff;
    direction: rtl;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 55px;
    padding-bottom: 55px;
}

.footer-column {
    text-align: right;
}

.footer-about {
    padding-left: 20px;
}

.footer-logo {
    width: 150px;
    height: auto;
    display: block;
    margin-bottom: 22px;
}

.footer-about p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 2.2;
}

.footer-column h3 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-contact li {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
}


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

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

}

@media (max-width: 600px) {

    .site-footer {
        padding-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }

    .footer-about {
        padding-left: 0;
    }

    .footer-column {
        text-align: right;
    }

}
/* =========================
   MOBILE HAMBURGER MENU
========================= */

.mobile-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    margin: 0;
    width: 42px;
    height: 42px;
    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    position: relative;
    z-index: 9999;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #273f42;
    border-radius: 2px;
}


@media (max-width: 768px) {

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        min-height: 80px;
        position: relative;
    }

    .site-logo {
        flex: 1;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;

        width: 100%;
        margin: 0;

        background: #ffffff;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);

        z-index: 9998;
    }

    .main-navigation.mobile-menu-open {
        display: block;
    }

    .main-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 8px 0;
    }

    .main-menu li {
        width: 100%;
    }

    .main-menu li a {
        display: block;
        width: 100%;
        padding: 15px 25px;
        text-align: right;
        box-sizing: border-box;
    }

    .main-menu li a::after {
        display: none;
    }

    .header-search {
        display: none;
    }


    /* Hamburger → X */

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .header-container {
        position: relative;
        flex-wrap: nowrap;
        min-height: 80px;
        padding: 15px 0;
    }

    .site-logo {
        flex: 1;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;

        top: 100%;
        right: 0;
        left: 0;

        width: 100%;

        margin: 0;

        background: #ffffff;

        border-top: 1px solid #eeeeee;
        border-bottom: 1px solid #eeeeee;

        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

        display: none;

        z-index: 1001;
    }

    .main-navigation.mobile-menu-open {
        display: block;
    }

    .main-menu {
        width: 100%;

        display: flex;
        flex-direction: column;

        align-items: stretch;
        justify-content: flex-start;

        gap: 0;

        padding: 8px 0;
    }

    .main-menu li {
        width: 100%;
    }

    .main-menu li a {
        width: 100%;

        padding: 16px 25px;

        text-align: right;

        font-size: 15px;
    }

    .main-menu li a::after {
        display: none;
    }

    .main-menu li a:hover {
        background: #f7f7f7;
    }

    .header-search {
        width: 35px;
        margin-left: 5px;
    }


    /* HAMBURGER → X */

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}