:root {
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', Arial, sans-serif;
    --gold: #c8a75a;
    --gold-soft: #ead8a2;
    --ink: #171514;
    --muted: #76706a;
    --line: rgba(200, 167, 90, 0.22);
    --radius: 8px;
    --speed: 240ms ease;
}

body {
    --bg: #0d0c0b;
    --bg-soft: #171512;
    --surface: rgba(27, 24, 20, 0.88);
    --surface-solid: #181512;
    --text: #f6efe2;
    --text-muted: #c7bdad;
    --header: rgba(13, 12, 11, 0.78);
    --hero-overlay: linear-gradient(90deg, rgba(7, 6, 5, 0.86), rgba(7, 6, 5, 0.36), rgba(7, 6, 5, 0.74));
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    transition: background-color var(--speed), color var(--speed);
}

body.light-mode {
    --bg: #f7f3ec;
    --bg-soft: #eee5d8;
    --surface: rgba(255, 252, 247, 0.9);
    --surface-solid: #fffaf2;
    --text: #1c1915;
    --text-muted: #6f665c;
    --header: rgba(247, 243, 236, 0.82);
    --hero-overlay: linear-gradient(90deg, rgba(247, 243, 236, 0.9), rgba(247, 243, 236, 0.48), rgba(247, 243, 236, 0.7));
    --shadow: 0 24px 70px rgba(64, 45, 20, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img,
video {
    max-width: 100%;
    display: block;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 0.98;
    letter-spacing: 0;
}

#main-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: var(--header);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    transition: box-shadow var(--speed), background-color var(--speed);
}

#main-header.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.header-container {
    width: min(1180px, calc(100% - 32px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand span,
.footer-logo span {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.header-logo,
.footer-logo img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.nav-menu ul {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: inline-flex;
    padding: 10px 14px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--speed), background-color var(--speed);
}

.nav-menu a:hover {
    color: var(--text);
    background: rgba(200, 167, 90, 0.1);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 42px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(200, 167, 90, 0.16), transparent 42%),
        var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.language-switcher::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(200, 167, 90, 0.58), transparent 38%, rgba(234, 216, 162, 0.28));
    opacity: 0.42;
}

.language-btn {
    min-width: 42px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    transition: background-color var(--speed), color var(--speed), transform var(--speed);
}

.language-btn:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.language-btn.active {
    background: var(--gold);
    color: #15120d;
    box-shadow: 0 8px 22px rgba(200, 167, 90, 0.22);
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 98px;
    height: 42px;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 700;
    transition: transform var(--speed), border-color var(--speed), background-color var(--speed);
}

.theme-btn:hover {
    transform: translateY(-1px);
    border-color: var(--gold);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: border-color var(--speed), transform var(--speed), background-color var(--speed);
}

.menu-toggle span {
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform var(--speed), opacity var(--speed);
}

.menu-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--gold);
}

#main-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#main-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

#main-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

html[dir="rtl"] body {
    font-family: var(--font-body);
}

html[dir="rtl"] .nav-menu ul,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hero-proof,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .instagram-cta {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-intro,
html[dir="rtl"] .split-content,
html[dir="rtl"] .contact-panel,
html[dir="rtl"] .footer {
    text-align: right;
}

html[dir="rtl"] .hero-proof {
    right: auto;
    left: max(24px, calc((100vw - 1180px) / 2));
    justify-content: flex-start;
}

html[dir="rtl"] .product-badge {
    left: auto;
    right: 14px;
}

html[dir="rtl"] .whatsapp-contact {
    right: auto;
    left: 26px;
}

html[dir="rtl"] .contact-card {
    grid-template-columns: 1fr 42px;
    text-align: right;
}

html[dir="rtl"] .contact-card i {
    grid-column: 2;
}

html[dir="rtl"] .close-modal {
    right: auto;
    left: 14px;
}

.video-hero {
    min-height: 100svh;
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 138px max(24px, calc((100vw - 1180px) / 2)) 34px;
}

.hero-video,
.video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
    filter: saturate(0.88) contrast(1.08);
}

.video-overlay {
    background: var(--hero-overlay);
}

.video-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
}

.eyebrow {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin-top: 18px;
    font-size: clamp(3.2rem, 7vw, 7.6rem);
    color: var(--text);
    text-wrap: balance;
}

.hero-copy {
    width: min(620px, 100%);
    margin-top: 24px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-btn,
.card-btn,
.add-to-cart {
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform var(--speed), background-color var(--speed), color var(--speed), box-shadow var(--speed);
}

.hero-btn {
    min-height: 50px;
    padding: 0 22px;
}

.primary,
.add-to-cart {
    background: var(--gold);
    color: #15120d;
}

.secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

.hero-btn:hover,
.card-btn:hover,
.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(200, 167, 90, 0.22);
}

.hero-proof {
    position: absolute;
    z-index: 2;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 34px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-proof span {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.26);
    color: #f6efe2;
    font-size: 0.78rem;
    font-weight: 700;
}

body.light-mode .hero-proof span {
    background: rgba(255, 250, 242, 0.68);
    color: var(--ink);
}

.products-grid,
.values-section,
.contact-section,
.split-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.products-grid,
.values-section,
.contact-section {
    padding: 108px 0 0;
}

.section-intro {
    width: min(720px, 100%);
    margin-bottom: 42px;
}

.section-intro h2,
.split-content h2,
.contact-panel h2 {
    margin-top: 12px;
    color: var(--text);
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    text-wrap: balance;
}

.section-intro p:not(.eyebrow),
.split-content p,
.contact-panel p {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 1.02rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-card,
.value-item,
.contact-panel,
.modal-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    touch-action: pan-y;
    user-select: none;
    transition: transform var(--speed), border-color var(--speed);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 167, 90, 0.62);
}

.product-badge {
    position: absolute;
    z-index: 3;
    top: 28px;
    left: 14px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.image-bars {
    position: absolute;
    z-index: 4;
    top: 12px;
    left: 14px;
    right: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.image-bar {
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    transition: background-color var(--speed), transform var(--speed);
}

.image-bar.active {
    background: var(--gold);
    transform: scaleY(1.35);
}

.product-images {
    position: relative;
    height: 330px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(200, 167, 90, 0.12), transparent 48%),
        #050505;
}

.product-images::after {
    content: none;
}

.product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    padding: 22px 10px 12px;
    transition: opacity 500ms ease, transform 700ms ease;
}

.product-img.active {
    opacity: 1;
}

.product-card:hover .product-img.active {
    transform: scale(1.02);
}

.card-content {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.product-family {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.card-content h3 {
    margin-top: 10px;
    color: var(--text);
    font-size: 2rem;
}

.description {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 22px;
}

.price {
    color: var(--gold);
    font-size: 1.16rem;
    font-weight: 800;
}

.card-btn {
    min-width: 94px;
    min-height: 40px;
    background: transparent;
    color: var(--text);
    font-size: 0.76rem;
}

.card-btn:hover {
    background: var(--gold);
    color: #15120d;
}

.split-section {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 56px;
    align-items: center;
    padding-top: 118px;
}

.split-media {
    min-height: 480px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--surface-solid), var(--bg-soft));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.split-media img {
    width: min(340px, 78%);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
}

.stats-row div {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.stats-row strong {
    display: block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 2.3rem;
    line-height: 1;
}

.stats-row span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.values-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.value-item {
    padding: 28px;
}

.value-icon {
    color: var(--gold);
    font-size: 1.8rem;
}

.value-item h3 {
    margin-top: 22px;
    color: var(--text);
    font-size: 1.72rem;
}

.value-item p {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.contact-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    padding: 42px;
}

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

.contact-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    transition: background-color var(--speed), border-color var(--speed);
}

.contact-card:hover {
    background: rgba(200, 167, 90, 0.1);
    border-color: var(--gold);
}

.contact-card i {
    grid-row: span 2;
    color: var(--gold);
    font-size: 1.25rem;
}

.contact-card span {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-card strong {
    font-size: 1rem;
}

.whatsapp-contact {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 70;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(200, 167, 90, 0.46);
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.24), transparent 36%),
        #11100e;
    color: var(--gold);
    text-decoration: none;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 0 8px rgba(200, 167, 90, 0.08);
    transition: transform var(--speed), color var(--speed), border-color var(--speed), box-shadow var(--speed);
}

.whatsapp-contact i {
    font-size: 1.7rem;
}

.whatsapp-contact:hover {
    transform: translateY(-3px) scale(1.03);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.68);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38), 0 0 0 8px rgba(37, 211, 102, 0.1);
}

body.light-mode .whatsapp-contact {
    background:
        radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.72), transparent 38%),
        #fffaf2;
    box-shadow: 0 18px 44px rgba(64, 45, 20, 0.16), 0 0 0 8px rgba(200, 167, 90, 0.08);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
}

.modal.open {
    display: flex;
}

.modal-content {
    position: relative;
    width: min(860px, 100%);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 1.4rem;
}

#modalImage {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: contain;
    background: #050505;
}

.modal-copy {
    padding: 44px;
}

.modal-copy h3 {
    margin-top: 12px;
    color: var(--text);
    font-size: 3.2rem;
}

.modal-copy p:not(.eyebrow):not(.price) {
    margin-top: 18px;
    color: var(--text-muted);
}

.modal-copy .price {
    margin-top: 24px;
    font-size: 1.35rem;
}

.add-to-cart {
    width: 100%;
    min-height: 48px;
    margin-top: 26px;
}

.footer {
    width: min(1180px, calc(100% - 32px));
    margin: 118px auto 0;
    padding: 36px 0 26px;
    border-top: 1px solid var(--line);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr;
    gap: 36px;
}

.footer p,
.footer a {
    color: var(--text-muted);
}

.footer p {
    margin-top: 16px;
    max-width: 360px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    text-decoration: none;
    transition: color var(--speed);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.instagram-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(200, 167, 90, 0.18), transparent 42%),
        var(--surface);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform var(--speed), border-color var(--speed), background-color var(--speed), color var(--speed);
}

.instagram-cta i {
    color: var(--gold);
    font-size: 1.1rem;
}

.instagram-cta:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    background: var(--gold);
    color: #15120d;
}

.instagram-cta:hover i {
    color: #15120d;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1040px) {
    .grid-container,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-panel,
    .split-section,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .split-media {
        min-height: 360px;
    }
}

@media (max-width: 760px) {
    body {
        overflow-x: hidden;
    }

    .header-container {
        min-height: 72px;
        width: min(100% - 20px, 1180px);
        gap: 10px;
    }

    .nav-menu {
        display: none;
    }

    .brand {
        gap: 8px;
        min-width: 0;
    }

    .header-logo {
        width: 40px;
        height: 40px;
    }

    .brand span {
        font-size: 1.55rem;
    }

    .menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .theme-btn {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }

    .theme-btn span {
        display: none;
    }

    .header-actions {
        flex: 0 0 auto;
        gap: 7px;
    }

    .language-switcher {
        height: 40px;
        padding: 3px;
    }

    .language-btn {
        min-width: 34px;
        height: 32px;
        font-size: 0.68rem;
        letter-spacing: 0.04em;
    }

    .mobile-menu {
        width: min(100% - 20px, 1180px);
        max-height: 0;
        display: grid;
        gap: 6px;
        margin: 0 auto;
        overflow: hidden;
        opacity: 0;
        padding: 0;
        border-top: 1px solid transparent;
        transition: max-height 280ms ease, opacity 220ms ease, padding 220ms ease, border-color 220ms ease;
    }

    #main-header.menu-open .mobile-menu {
        max-height: 280px;
        opacity: 1;
        padding: 10px 0 14px;
        border-color: var(--line);
    }

    .mobile-menu a {
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--surface);
        color: var(--text);
        font-size: 0.82rem;
        font-weight: 850;
        letter-spacing: 0.1em;
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-menu a::after {
        content: "\f061";
        color: var(--gold);
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        letter-spacing: 0;
    }

    html[dir="rtl"] .mobile-menu a::after {
        content: "\f060";
    }

    .whatsapp-contact {
        right: 18px;
        bottom: 18px;
        width: 52px;
        height: 52px;
    }

    html[dir="rtl"] .whatsapp-contact {
        right: auto;
        left: 18px;
    }

    .video-hero {
        min-height: 100svh;
        padding: 112px 16px 28px;
        align-items: end;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        margin-top: 14px;
        font-size: clamp(2.8rem, 15vw, 4.2rem);
    }

    .hero-copy {
        margin-top: 18px;
        font-size: 0.98rem;
    }

    .hero-actions,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-proof {
        position: relative;
        right: auto;
        bottom: auto;
        z-index: 2;
        justify-content: flex-start;
        margin-top: 34px;
    }

    .products-grid,
    .values-section,
    .contact-section,
    .split-section,
    .footer {
        width: min(100% - 28px, 1180px);
    }

    .products-grid,
    .values-section,
    .contact-section {
        padding-top: 78px;
    }

    .grid-container,
    .values-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }

    .product-images {
        height: 340px;
    }

    .card-content {
        min-height: auto;
        padding: 20px;
    }

    .card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .card-btn {
        width: 100%;
    }

    .contact-panel {
        padding: 26px;
    }

    .modal-content {
        max-height: 92svh;
        overflow: auto;
        grid-template-columns: 1fr;
    }

    #modalImage {
        min-height: 260px;
        height: 260px;
    }

    .modal-copy {
        padding: 28px;
    }
}

@media (max-width: 440px) {
    .header-container {
        min-height: 68px;
        width: calc(100% - 16px);
    }

    .header-logo {
        width: 36px;
        height: 36px;
    }

    .brand span {
        font-size: 1.35rem;
    }

    .header-actions {
        gap: 5px;
    }

    .language-switcher {
        gap: 2px;
    }

    .language-btn {
        min-width: 30px;
        font-size: 0.64rem;
    }

    .theme-btn,
    .menu-toggle {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .hero-content h1 {
        font-size: 2.65rem;
    }

    .section-intro h2,
    .split-content h2,
    .contact-panel h2 {
        font-size: 2.3rem;
    }

    .product-images {
        height: min(320px, 82vw);
    }

    .contact-card {
        grid-template-columns: 34px 1fr;
        padding: 15px;
    }

    html[dir="rtl"] .contact-card {
        grid-template-columns: 1fr 34px;
    }
}
