:root {
    --background: #f7f9fb;
    --foreground: #0f172a;
    --primary: #1c7c54;
    --primary-dark: #155f40;
    --accent: #f0c808;
    --muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-radius: 18px;
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
    --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.04);
    color-scheme: light;
}

html.theme-dark {
    --background: #0b1220;
    --foreground: #e2e8f0;
    --muted: #94a3b8;
    --card-bg: rgba(15, 23, 42, 0.82);
    --shadow-lg: 0 24px 48px rgba(2, 6, 23, 0.45);
    --shadow-md: 0 12px 28px rgba(2, 6, 23, 0.3);
    --shadow-sm: 0 4px 16px rgba(2, 6, 23, 0.2);
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--foreground);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

html.theme-dark body {
    background: var(--background);
    color: var(--foreground);
}

html.theme-dark a {
    color: inherit;
}

html.theme-dark .review-banner {
    background: #020817;
    color: rgba(226, 232, 240, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

html.theme-dark .review-link {
    color: rgba(147, 197, 253, 0.85);
}

html.theme-dark .review-link:hover {
    color: #bfdbfe;
}

.review-banner {
    background: #0b1220;
    color: rgba(248, 250, 252, 0.85);
    padding: 10px clamp(16px, 4vw, 40px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.4);
}

.review-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.review-badge {
    background: rgba(28, 124, 84, 0.2);
    color: #34d399;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

html.theme-dark .review-badge {
    background: rgba(22, 163, 74, 0.25);
    color: #bef264;
}

.review-stars {
    display: inline-flex;
    gap: 4px;
    color: #fbbf24;
}

.review-stars .star {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.review-score {
    font-weight: 600;
    color: #f8fafc;
}

.review-link {
    color: rgba(248, 250, 252, 0.75);
    text-decoration: underline;
    font-weight: 500;
}

.review-link:hover {
    color: #f8fafc;
}

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

h1, h2, h3 {
    margin: 0;
    line-height: 1.2;
}

p {
    margin: 0;
}

.hero {
    position: relative;
    padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 72px);
    background: linear-gradient(120deg, #0d1b2a 0%, #143d59 60%, #1c7c54 100%);
    color: #f8fafc;
    overflow: hidden;
}

.hero--secondary {
    padding: clamp(40px, 7vw, 72px) clamp(20px, 5vw, 72px);
    background: linear-gradient(135deg, #0b1723 0%, #12324a 55%, #1c7c54 100%);
}

html.theme-dark .hero {
    background: linear-gradient(120deg, #020817 0%, #102437 55%, #0f5137 100%);
    color: #f8fafc;
}

html.theme-dark .hero--secondary {
    background: linear-gradient(135deg, #020817 0%, #112b3f 55%, #0f5137 100%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(0);
    z-index: 0;
}

.hero::before {
    top: -180px;
    right: -120px;
}

.hero::after {
    bottom: -220px;
    left: -140px;
}

.topbar {
    position: sticky;
    top: clamp(12px, 4vw, 28px);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto clamp(24px, 4vw, 48px);
    padding: clamp(10px, 2.6vw, 18px) clamp(14px, 3.2vw, 24px);
    display: block;
    background: rgba(15, 23, 42, 0.78);
    border-radius: clamp(16px, 3vw, 28px);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 2;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.topbar:hover {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 32px 70px rgba(2, 6, 23, 0.45);
}

.topbar-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(10px, 2.4vw, 24px);
    width: 100%;
}

.topbar__identity {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2.6vw, 18px);
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto clamp(16px, 3vw, 28px);
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand .brand-name {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.brand .brand-name:hover,
.brand .brand-name:focus-visible {
    color: var(--accent);
    transform: translateY(-1px);
}

.brand-tagline {
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(148, 163, 184, 0.92);
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(251, 191, 36, 0.08));
    color: #fde68a;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.32);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.rating-badge:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.32), rgba(251, 191, 36, 0.12));
    box-shadow: 0 10px 28px rgba(251, 191, 36, 0.25);
    transform: translateY(-1px);
}

.topbar__nav {
    grid-column: 2 / 3;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.4vw, 14px);
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.4vw, 14px);
    margin: 0;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    font-weight: 500;
    color: rgba(248, 250, 252, 0.82);
    text-decoration: none;
    background: rgba(15, 23, 42, 0.38);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(148, 163, 184, 0.22);
    border-color: rgba(148, 163, 184, 0.4);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.28);
}

.nav-links .btn.btn-secondary {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.18), rgba(148, 163, 184, 0.14));
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(248, 250, 252, 0.5);
    padding: 8px 14px;
}

.nav-links .btn.btn-secondary:hover,
.nav-links .btn.btn-secondary:focus-visible {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.26), rgba(148, 163, 184, 0.2));
    border-color: rgba(248, 250, 252, 0.8);
    color: #0f172a;
}

html.theme-dark .topbar {
    background: rgba(2, 6, 23, 0.82);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.6);
}

html.theme-dark .nav-links a {
    background: rgba(12, 20, 38, 0.55);
    border-color: rgba(59, 130, 246, 0.25);
    color: rgba(226, 232, 240, 0.85);
}

html.theme-dark .nav-links a:hover,
html.theme-dark .nav-links a:focus-visible {
    background: rgba(59, 130, 246, 0.28);
    border-color: rgba(59, 130, 246, 0.45);
    color: rgba(255, 255, 255, 0.9);
}

html.theme-dark .topbar-controls__group {
    background: rgba(12, 20, 38, 0.6);
    border-color: rgba(59, 130, 246, 0.28);
}

.topbar-controls {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.8vw, 16px);
    justify-self: end;
    grid-column: 3 / 4;
}

.topbar-controls__menu {
    flex-shrink: 0;
}

.controls-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-controls__group {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    border: 0px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.32);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.topbar-controls__group:hover {
    background: rgba(15, 23, 42, 0.58);
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.36);
}

.lang-select {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
    padding: 8px 34px 8px 14px;
    min-width: 110px;
    min-height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.85), rgba(30, 64, 175, 0.35));
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.28);
    color: rgba(248, 250, 252, 0.92);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.lang-select select option {
    background: rgba(15, 23, 42, 0.95);
    color: rgba(248, 250, 252, 0.92);
    font-weight: 600;
}

.lang-select select option:checked,
.lang-select select option:hover {
    background: rgba(59, 130, 246, 0.35);
    color: rgba(255, 255, 255, 0.9);
}

.lang-select select:hover {
    border-color: rgba(248, 250, 252, 0.5);
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.9), rgba(59, 130, 246, 0.4));
    box-shadow: 0 16px 32px rgba(2, 6, 23, 0.32);
}

.lang-select select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.lang-select__icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.85);
}

html.theme-dark .lang-select select {
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.9), rgba(59, 130, 246, 0.35));
    border-color: rgba(148, 163, 184, 0.4);
    color: rgba(226, 232, 240, 0.95);
}

html.theme-dark .lang-select select option {
    background: rgba(15, 23, 42, 0.92);
    color: rgba(226, 232, 240, 0.95);
}

html.theme-dark .lang-select select option:checked,
html.theme-dark .lang-select select option:hover {
    background: rgba(96, 165, 250, 0.45);
    color: #0f172a;
}

html.theme-dark .lang-select select:hover {
    border-color: rgba(191, 219, 254, 0.6);
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.95), rgba(96, 165, 250, 0.45));
}

html[dir="rtl"] .lang-select__icon {
    right: auto;
    left: 12px;
}

html[dir="rtl"] .lang-select select {
    padding: 8px 14px 8px 34px;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.45));
    color: #f8fafc;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(248, 250, 252, 0.5);
    box-shadow: 0 12px 24px rgba(30, 64, 175, 0.35);
}

.theme-toggle:active {
    transform: translateY(0);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.theme-toggle__icon {
    font-size: 1.1rem;
}

html.theme-dark .theme-toggle {
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.85), rgba(59, 130, 246, 0.35));
    border-color: rgba(148, 163, 184, 0.45);
    color: var(--foreground);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 16px;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.menu-btn:hover {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(148, 163, 184, 0.5);
    transform: translateY(-1px);
}

.menu-btn:active {
    transform: translateY(0);
}

.menu-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s ease, background 0.3s ease;
}

.menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--accent);
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--accent);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu--open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__backdrop {
    flex: 1 1 auto;
    background: rgba(9, 14, 24, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu--open .mobile-menu__backdrop {
    opacity: 1;
}

.mobile-menu__panel {
    position: relative;
    width: min(360px, 90vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(21, 45, 75, 0.94));
    color: rgba(255, 255, 255, 0.9);
    padding: clamp(20px, 4.5vw, 28px);
    box-shadow: -24px 0 64px rgba(5, 10, 20, 0.55);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.3);
    border-inline-start: 1px solid rgba(148, 163, 184, 0.28);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 22px 0 0 22px;
    overflow: hidden;
}

.mobile-menu--open .mobile-menu__panel {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__close {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: inherit;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.mobile-menu__close:hover {
    background: rgba(30, 64, 175, 0.45);
    border-color: rgba(99, 102, 241, 0.55);
    transform: scale(1.05) rotate(90deg);
}

.mobile-menu__close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.mobile-menu__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 2px;
}

.mobile-menu__body::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu__body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
}

.mobile-menu__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.45);
    text-decoration: none;
    color: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mobile-menu__link::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.4);
    transition: background 0.3s ease, transform 0.3s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
    transform: translateX(6px);
    background: rgba(30, 64, 175, 0.4);
    border-color: rgba(129, 140, 248, 0.55);
    box-shadow: 0 16px 32px rgba(30, 64, 175, 0.35);
}

.mobile-menu__link:hover::after,
.mobile-menu__link:focus-visible::after {
    background: var(--accent);
    transform: scale(1.4);
}

.mobile-menu__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.mobile-menu__cta {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 12px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(28, 124, 84, 1), rgba(56, 189, 248, 0.75));
    color: #0f172a;
    border: none;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 18px 32px rgba(14, 116, 144, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-menu__cta:hover,
.mobile-menu__cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 26px 48px rgba(14, 116, 144, 0.5);
}

html.theme-dark .mobile-menu__panel {
    background: linear-gradient(165deg, rgba(2, 6, 23, 0.98), rgba(21, 45, 75, 0.94));
    border-inline-start-color: rgba(148, 163, 184, 0.32);
}

html.theme-dark .mobile-menu__close {
    background: rgba(30, 41, 59, 0.55);
    border-color: rgba(148, 163, 184, 0.4);
}

html.theme-dark .mobile-menu__link {
    background: rgba(15, 23, 42, 0.52);
    border-color: rgba(148, 163, 184, 0.28);
}

@media (max-width: 540px) {
    .mobile-menu__panel {
        border-radius: 0;
        width: 100%;
    }
}

@media (min-width: 861px) {
    .mobile-menu {
        display: none;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(24px, 4vw, 48px);
    max-width: 1200px;
    margin: clamp(24px, 4vw, 48px) auto 0;
    position: relative;
    z-index: 1;
    align-items: center;
}

.hero--secondary .hero-content {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
    margin: clamp(16px, 3vw, 32px) auto 0;
}

.hero--secondary .hero-cta {
    justify-content: flex-start;
}

.hero--secondary .hero-cta .btn-link {
    color: rgba(248, 250, 252, 0.85);
}

.hero-content > * {
    min-width: 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    color: rgba(248, 250, 252, 0.75);
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2.2rem, 3.4vw, 3.1rem);
    margin: 18px 0;
}

.lead {
    font-size: 1.1rem;
    max-width: 600px;
    color: rgba(248, 250, 252, 0.75);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 36px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
    gap: 10px;
}

.btn-primary {
    background: var(--accent);
    color: #1f2937 !important;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    padding: 10px 18px;
    border: 1px solid rgba(248, 250, 252, 0.4);
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
}

.btn-outline {
    width: 100%;
    background: rgba(28, 124, 84, 0.08);
    color: var(--primary);
    border: 1px solid rgba(28, 124, 84, 0.4);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: 0 6px 18px rgba(28, 124, 84, 0.12);
}

.btn-outline:hover {
    background: rgba(28, 124, 84, 0.16);
    color: var(--primary-dark);
    border-color: rgba(28, 124, 84, 0.55);
    box-shadow: 0 10px 24px rgba(28, 124, 84, 0.18);
}

html.theme-dark .btn-outline {
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.45);
}

html.theme-dark .btn-outline:hover {
    background: rgba(59, 130, 246, 0.22);
    color: #e0f2fe;
    border-color: rgba(148, 163, 184, 0.55);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.55);
}

.btn-cta {
    width: 100%;
    background: linear-gradient(135deg, rgba(28, 124, 84, 1), rgba(15, 61, 57, 0.95));
    color: #f8fafc;
    border: 1px solid rgba(9, 44, 38, 0.9);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 16px 32px rgba(12, 53, 41, 0.35);
}

.btn-cta:hover {
    background: linear-gradient(135deg, rgba(28, 124, 84, 1), rgba(12, 44, 38, 1));
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(7, 32, 28, 0.95);
    box-shadow: 0 20px 36px rgba(12, 53, 41, 0.42);
}

.btn-icon {
    font-size: 1rem;
    line-height: 1;
}

.btn-call {
    justify-content: center;
}

html[dir="rtl"] .btn-call {
    flex-direction: row-reverse;
}

.btn-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 0;
    font-weight: 500;
    gap: 8px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    color: rgba(248, 250, 252, 0.8);
}

.stat {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.glass-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    padding: 32px;
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card h2 {
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.glass-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 12px;
    color: rgba(248, 250, 252, 0.8);
}

.glass-card ul li {
    position: relative;
    padding-left: 32px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.glass-card ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
    color: var(--accent);
}

html[dir="rtl"] .glass-card ul li {
    padding-left: 0;
    padding-right: 32px;
}

html[dir="rtl"] .glass-card ul li::before {
    left: auto;
    right: 0;
}

.hero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.hero-copy,
.hero-media {
    flex: 1 1 320px;
}

.media-ring {
    position: absolute;
    width: clamp(260px, 28vw, 420px);
    height: clamp(260px, 28vw, 420px);
    border-radius: 50%;
    border: 1px solid rgba(248, 250, 252, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 8s ease-in-out infinite;
}

.media-circle {
    position: absolute;
    width: clamp(180px, 20vw, 280px);
    height: clamp(180px, 20vw, 280px);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    border: 1px solid rgba(248, 250, 252, 0.24);
    z-index: 0;
}
.service-photo,
.animal-photo,
.media-photo {
    margin: 0;
}

.media-photo {
    width: clamp(200px, 22vw, 320px);
    height: clamp(200px, 22vw, 320px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    background: #0f172a;
    z-index: 1;
}

.media-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.section {
    padding: clamp(80px, 14vw, 140px) clamp(24px, 6vw, 80px);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-header p {
    color: var(--muted);
}

.section h2 {
    margin: 12px 0 16px;
    font-size: clamp(1.8rem, 2.6vw, 2.3rem);
}

.about-grid,
.services-grid,
.animals-grid,
.packages-grid,
.testimonials-grid {
    display: grid;
    gap: 24px;
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.story-card {
    margin-bottom: 36px;
    background: linear-gradient(135deg, rgba(28, 124, 84, 0.12), rgba(20, 61, 89, 0.08));
    border: 1px solid rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 16px;
}

.story-card strong {
    color: var(--primary);
}

.icon {
    font-size: 2rem;
    margin-bottom: 18px;
}

.services {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

html.theme-dark .services {
    background: linear-gradient(180deg, #111c2e 0%, #0b1424 100%);
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 16px;
}

.service-photo {
    width: 100%;
    height: 210px;
    border-radius: calc(var(--border-radius) + 2px);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-left: 0px;
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card ul {
    padding-left: 20px;
    margin: 0;
    color: var(--muted);
}

.gallery {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(241, 245, 249, 0.85) 100%);
}

html.theme-dark .gallery {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(2, 6, 23, 0.85) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(18px, 3vw, 36px);
}

.gallery-card {
    position: relative;
    border-radius: calc(var(--border-radius) + 6px);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: rgba(15, 23, 42, 0.35);
    isolation: isolate;
}

.gallery-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-card:hover::after,
.gallery-card:focus-within::after {
    opacity: 1;
}

.gallery-card picture,
.gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-card img {
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
    transform: scale(1.05);
}

.gallery-trigger:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-card figcaption {
    position: absolute;
    inset-inline-start: 18px;
    inset-inline-end: 18px;
    bottom: 18px;
    color: rgba(248, 250, 252, 0.92);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: translateY(8px);
}

.gallery-card:hover figcaption,
.gallery-card:focus-within figcaption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 5vw, 64px);
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.gallery-lightbox--open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
}

.gallery-lightbox__panel {
    position: relative;
    z-index: 2;
    width: min(1080px, 96vw);
    max-height: 100%;
    background: rgba(2, 6, 23, 0.75);
    border-radius: clamp(18px, 4vw, 28px);
    box-shadow: var(--shadow-lg);
    padding: clamp(24px, 5vw, 36px);
    display: grid;
    gap: clamp(16px, 3vw, 24px);
}

.gallery-lightbox__close {
    position: absolute;
    top: clamp(12px, 3vw, 20px);
    inset-inline-end: clamp(12px, 3vw, 20px);
    border: none;
    background: rgba(15, 23, 42, 0.6);
    color: #f8fafc;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.gallery-lightbox__close:hover {
    background: rgba(30, 41, 59, 0.8);
}

.gallery-lightbox__close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.gallery-lightbox__viewport {
    position: relative;
    width: 100%;
    max-height: min(78vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: calc(var(--border-radius) + 8px);
    background: rgba(15, 23, 42, 0.6);
}

.gallery-lightbox__viewport img {
    width: 100%;
    height: auto;
    max-height: min(78vh, 720px);
    object-fit: contain;
}

.gallery-lightbox__caption {
    margin: 0;
    text-align: center;
    color: rgba(248, 250, 252, 0.92);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.gallery-lightbox__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 28px);
}

.gallery-lightbox__nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(248, 250, 252, 0.6);
    background: rgba(15, 23, 42, 0.55);
    color: #f8fafc;
    font-size: 1.2rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gallery-lightbox__nav:hover {
    transform: translateY(-2px);
    background: rgba(30, 41, 59, 0.75);
}

.gallery-lightbox__nav:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.gallery-lightbox__counter {
    color: rgba(248, 250, 252, 0.85);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.animals {
    background: #fff;
}

html.theme-dark .animals {
    background: #0c1424;
}

.animals-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.animal-card {
    background: #fff;
    padding: 28px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(28, 124, 84, 0.12);
    position: relative;
    display: grid;
    gap: 16px;
}

html.theme-dark .card,
html.theme-dark .service-card,
html.theme-dark .animal-card,
html.theme-dark .step,
html.theme-dark details,
html.theme-dark .contact-card {
    background: var(--card-bg);
    color: var(--foreground);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: var(--shadow-md);
}

html.theme-dark .story-card {
    background: linear-gradient(135deg, rgba(28, 124, 84, 0.24), rgba(15, 52, 90, 0.24));
    border-color: rgba(148, 163, 184, 0.25);
}

.animal-photo {
    width: 100%;
    height: 180px;
    border-radius: calc(var(--border-radius) + 2px);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.animal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-left: 0px;;
}

.animal-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(28, 124, 84, 0.12);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.process {
    background: linear-gradient(120deg, rgba(28, 124, 84, 0.14), rgba(20, 61, 89, 0.18));
}

html.theme-dark .process {
    background: linear-gradient(120deg, rgba(12, 74, 110, 0.45), rgba(15, 118, 110, 0.35));
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(28, 124, 84, 0.2);
    position: absolute;
    top: 24px;
    right: 24px;
}

.media-section {
    background: linear-gradient(120deg, #143d59 0%, #1c7c54 100%);
    color: #f8fafc;
}

.media-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    align-items: center;
}

.media-text p {
    color: rgba(248, 250, 252, 0.75);
}

.media-preview {
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    padding: 48px;
    display: grid;
    place-items: center;
    text-align: center;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.12);
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial {
    background: #fff;
    padding: 28px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 18px;
}

.testimonial blockquote {
    margin: 0;
    font-style: italic;
    color: #1f2937;
}

.testimonial .name {
    font-weight: 600;
}

.testimonial .meta {
    color: var(--muted);
    font-size: 0.875rem;
}

.faq-grid {
    display: grid;
    gap: 16px;
    max-width: 780px;
    margin: 0 auto;
}

details {
    background: #fff;
    padding: 20px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

summary {
    cursor: pointer;
    font-weight: 600;
    outline: none;
}

details[open] summary {
    color: var(--primary);
}

details p {
    margin-top: 12px;
    color: var(--muted);
}

html.theme-dark summary {
    color: var(--foreground);
}

html.theme-dark details[open] summary {
    color: #38bdf8;
}

.contact {
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
}

html.theme-dark .contact {
    background: linear-gradient(180deg, #0b1527 0%, #08111f 100%);
}

.contact-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    background: #fff;
    padding: 48px;
    border-radius: calc(var(--border-radius) + 6px);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-details {
    display: grid;
    gap: 12px;
    color: var(--muted);
}

.contact-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

.contact-details .label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--foreground);
}

.contact-link {
    color: var(--primary);
    font-weight: 600;
}

.contact-map iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: calc(var(--border-radius) + 2px);
    box-shadow: var(--shadow-sm);
}

.map-route-btn {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1c7c54, #143d59);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-route-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

html.theme-dark .map-route-btn {
    background: linear-gradient(135deg, #0f5137, #0f2f47);
}

.call-floating {
    position: fixed;
    bottom: clamp(16px, 5vw, 24px);
    inset-inline-end: clamp(12px, 4vw, 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c7c54, #155f40);
    box-shadow: 0 12px 32px rgba(18, 140, 126, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 999;
    touch-action: manipulation;
}

.call-floating:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(21, 95, 64, 0.45);
}

.call-floating svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.site-footer {
    background: #0f172a;
    color: rgba(226, 232, 240, 0.7);
    padding: 48px clamp(24px, 6vw, 80px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    align-items: center;
}

.footer-brand span {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(226, 232, 240, 0.7);
    font-weight: 500;
}

.footer-links a:hover {
    color: rgba(248, 250, 252, 0.95);
}

.footer-nearby {
    display: grid;
    gap: 12px;
}

.footer-heading {
    font-weight: 600;
    color: rgba(248, 250, 252, 0.9);
}

.footer-nearby-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
}

.footer-nearby-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-nearby-columns li {
    min-height: 24px;
}

.footer-nearby a,
.footer-nearby .current-location {
    color: rgba(226, 232, 240, 0.7);
    font-weight: 500;
}

.footer-nearby a:hover {
    color: rgba(248, 250, 252, 0.95);
}

.current-location {
    opacity: 0.9;
}

.footer-meta {
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.6);
    display: grid;
    gap: 8px;
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] .topbar-inner {
    direction: rtl;
}

html[dir="rtl"] .topbar__identity {
    justify-content: flex-end;
}

html[dir="rtl"] .topbar-controls {
    justify-self: start;
}

html[dir="rtl"] .topbar-controls__group {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links a,
html[dir="rtl"] .lang-select select {
    text-align: right;
}

html[dir="rtl"] .mobile-menu__panel {
    text-align: right;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-header,
html[dir="rtl"] .story-card,
html[dir="rtl"] .service-card,
html[dir="rtl"] .animal-card,
html[dir="rtl"] .process-steps,
html[dir="rtl"] .testimonial,
html[dir="rtl"] .faq-grid,
html[dir="rtl"] .contact-info,
html[dir="rtl"] .footer-content {
    text-align: right;
}

html[dir="rtl"] .hero-content {
    direction: rtl;
}

html[dir="rtl"] .hero-cta {
    justify-content: flex-end;
}

html[dir="rtl"] .media-card {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .footer-links {
    justify-content: flex-end;
}

html[dir="rtl"] .call-floating {
    inset-inline-end: auto;
    inset-inline-start: clamp(12px, 4vw, 24px);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .hero-copy {
        order: 2;
    }

    .hero-media {
        order: 1;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .call-floating {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 860px) {
    .review-content {
        justify-content: center;
        gap: 12px;
    }

    .topbar {
        padding: 14px 18px;
        border-radius: 20px;
        background: rgba(15, 23, 42, 0.82);
        border-color: rgba(148, 163, 184, 0.32);
        box-shadow: 0 18px 40px rgba(2, 6, 23, 0.38);
        margin-bottom: clamp(24px, 4vw, 48px);
    }

    .topbar-inner {
        width: 100%;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        row-gap: 12px;
    }

    .topbar__identity {
        grid-column: 1 / 2;
    }

    .topbar__nav {
        grid-column: 1 / -1;
    }

    .nav-links--desktop {
        display: none;
    }

    .topbar-controls {
        grid-column: 2 / 3;
        align-items: center;
        align-self: start;
        gap: 10px;
    }

    .topbar-controls__group {
        padding: 6px 8px;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .topbar-controls__group .lang-select {
        display: inline-flex;
    }
    .topbar-controls__group .lang-select select {
        min-width: 96px;
        padding: 6px 28px 6px 12px;
        font-size: 0.72rem;
    }
    .topbar-controls__group .lang-select__icon {
        right: 10px;
        font-size: 0.7rem;
    }

    .menu-btn {
        display: flex;
        z-index: 6;
    }

    .menu-btn span {
        width: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .gallery-lightbox__panel {
        padding: 24px;
        border-radius: 20px;
    }

    .gallery-lightbox__viewport {
        max-height: 72vh;
    }

    .call-floating {
        width: 52px;
        height: 52px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 32px 20px 88px;
    }

    .section {
        padding: 64px 20px;
    }

    .contact-card {
        padding: 32px;
    }

    .media-preview {
        padding: 36px;
    }

    .topbar-inner {
        flex-direction: column;
        gap: 8px;
    }

    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-lightbox {
        padding: 24px;
    }

    .gallery-lightbox__panel {
        padding: 20px;
        gap: 16px;
        border-radius: 18px;
    }

    .gallery-lightbox__viewport {
        max-height: 70vh;
    }

    .gallery-lightbox__nav {
        width: 42px;
        height: 42px;
    }

    .gallery-lightbox__close {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }

    .gallery-lightbox__caption {
        font-size: 0.7rem;
        letter-spacing: 0.06em;
    }

    .nav-links {
        gap: 16px;
        justify-content: center;
    }

    .nav-links a,
    .nav-links .btn.btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .topbar-controls {
        gap: 10px;
    }

    .call-floating {
        bottom: 16px;
        inset-inline-end: 16px;
    }

    html[dir="rtl"] .call-floating {
        inset-inline-end: auto;
        inset-inline-start: 16px;
    }

    /* Enhanced mobile menu for small screens */
    .mobile-menu__panel {
        width: min(320px, 92vw);
        padding: clamp(18px, 4.2vw, 24px);
        gap: 14px;
    }

    .mobile-menu__link {
        font-size: 0.92rem;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .mobile-menu__cta {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}
