/* =====================================================
   1. CORE SETTINGS & VARIABLES
===================================================== */
:root {
    --primary-color: #1e3a5f;
    --primary-dark: #16283f;
    --primary-light: #eaf2fb;

    --accent-color: #2f6f4f;
    --accent-hover: #245a3f;
    --accent-soft: #eaf6ef;

    --warning-color: #b7791f;
    --warning-soft: #fff6df;

    --telegram: #0088cc;
    --whatsapp: #25D366;

    --text-main: #243444;
    --text-muted: #617284;
    --text-soft: #7b8a99;

    --bg-body: #f4f7f9;
    --bg-soft: #f8fafc;
    --white: #ffffff;

    --border-color: #dbe4ea;
    --border-strong: #c9d5df;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 14px 36px rgba(16, 24, 40, 0.12);

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 22px;

    --content-width: 1120px;
    --header-width: 1200px;

    --transition: all 0.25s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   2. MAIN LAYOUT
===================================================== */
.site-main {
    padding: 24px 0 56px;
}

.content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.breadcrumbs {
    max-width: var(--content-width);
    margin: 0 auto 12px;
    padding: 0 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* =====================================================
   3. HEADER
===================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    padding: 10px 0;
}

.site-header__inner {
    max-width: var(--header-width);
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    min-width: 0;
}

.site-logo {
    width: 50px;
    height: auto;
    flex: 0 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.site-brand-text strong {
    font-size: 1.16rem;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.site-brand-text span {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.header-contacts-desktop {
    display: flex;
    align-items: center;
    gap: 18px;
}

.social-icons-row {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    color: var(--text-muted);
    opacity: 0.95;
}

.social-link svg {
    width: 28px;
    height: 28px;
}

.social-link:hover {
    transform: translateY(-1px) scale(1.05);
    opacity: 1;
}

.phone-btn {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    padding: 9px 18px;
    border-radius: 999px;
    transition: var(--transition);
    white-space: nowrap;
    background: var(--white);
}

.phone-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Burger */
.burger {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    padding: 0;
    display: none;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px auto;
    border-radius: 2px;
    transition: 0.3s;
}

/* =====================================================
   4. NAVIGATION
===================================================== */
.site-nav {
    background: var(--primary-color);
    padding: 10px 0;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.05);
}

.site-nav__inner {
    max-width: var(--header-width);
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.site-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    padding: 8px 14px;
    font-size: 0.93rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 8px;
    letter-spacing: 0.2px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 86%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary-dark);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: -8px 0 24px rgba(0,0,0,0.25);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 0 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.mobile-menu-title {
    color: var(--white);
    font-size: 1.08rem;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.mobile-nav-close {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-nav-close:active {
    background: rgba(255,255,255,0.12);
}

@media (hover: hover) and (pointer: fine) {
    .mobile-nav-close:hover {
        background: rgba(255,255,255,0.08);
    }
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav__list a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 11px 0;
    transition: color 0.2s ease;
    display: block;
}

.mobile-nav__list a:hover {
    color: #b8d7c1;
}

.mobile-nav-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.10);
    flex-shrink: 0;
    padding-bottom: 20px;
}

.mobile-socials {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 18px;
}

.mobile-social-link svg {
    width: 32px;
    height: 32px;
}

.mobile-call-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent-color);
    color: var(--white);
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

@media (max-height: 600px) {
    .mobile-nav__list a {
        padding: 8px 0;
        font-size: 0.95rem;
    }

    .mobile-nav-header {
        margin-bottom: 10px;
    }
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.68);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(3px);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   5. PAGE SECTIONS & TYPOGRAPHY
===================================================== */
.page-section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    margin: 16px 0;
    box-shadow: var(--shadow);
}

.page-section:first-child {
    margin-top: 0;
}

.page-section h1,
.page-section h2,
.page-section h3 {
    color: var(--primary-color);
    line-height: 1.2;
    margin-top: 0;
}

.page-section h1 {
    font-size: clamp(2rem, 3vw, 2.55rem);
    margin-bottom: 14px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.page-section h2 {
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.page-section h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.page-section p {
    margin: 12px 0;
    color: var(--text-main);
}

.page-section ul,
.page-section ol {
    padding-left: 20px;
    margin: 12px 0;
}

.page-section li {
    margin: 8px 0;
}

.page-section strong {
    font-weight: 700;
}

.page-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-section a:hover {
    text-decoration: underline;
}

/* Hero */
.page-section.hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    padding: 30px 28px;
    border-radius: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 8px;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 16px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--white);
    transition: var(--transition);
    min-height: 46px;
}

.hero-actions a:hover {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.hero-actions a:first-child {
    background: var(--primary-color);
    color: var(--white);
}

.hero-actions a:first-child:hover {
    filter: brightness(0.96);
}

.hero-actions a:nth-child(3) {
    background: transparent;
    color: var(--text-main);
    border: 2px dashed var(--border-strong);
}

.hero-actions a:nth-child(3):hover {
    border-style: solid;
    background: var(--bg-soft);
    color: var(--primary-color);
}

/* =====================================================
   6. GENERIC COMPONENTS
===================================================== */
.grid-2,
.grid-3 {
    display: grid;
    gap: 16px;
    margin-top: 12px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 900px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card,
.page-section .card {
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: none;
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
    margin-bottom: 0;
}

/* Tags / badges */
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid #d3e1ef;
}

.tag--accent,
.tag.good {
    background: var(--accent-soft);
    color: var(--accent-hover);
    border-color: #cfe6d7;
}

.tag--warning {
    background: var(--warning-soft);
    color: var(--warning-color);
    border-color: #efdca7;
}

/* Notice */
.notice {
    margin: 14px 0 0;
    padding: 14px 16px;
    background: var(--warning-soft);
    border: 1px solid #efdca7;
    border-radius: 14px;
    color: #6b4a09;
}

/* Steps */
.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.steps li {
    position: relative;
    padding: 14px 14px 14px 54px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin: 0;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

/* =====================================================
   7. PRICING COMPONENTS
===================================================== */
.price-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #d7e6f5;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.price-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-color), #4a90d9);
}

.price-list {
    display: grid;
    gap: 12px;
}

.price-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--white);
}

.price-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.price-note {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.45;
}

.price-badge {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    border: 1px solid #d3e1ef;
}

.price-badge.hot {
    background: var(--accent-soft);
    color: var(--accent-hover);
    border-color: #cfe6d7;
}

.price-hint {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px dashed #c9dcfb;
    color: var(--text-muted);
}

/* Tables */
.table-wrap,
.simple-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

th,
td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

thead th {
    background: #f8fbff;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-color);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* =====================================================
   8. MEDIA / GALLERY / PHOTOS
===================================================== */
.media {
    margin-top: 20px;
    max-width: 360px;
    margin-left: 0;
    margin-right: auto;
}

.media figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--white);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    cursor: pointer;
}

.media figcaption {
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-soft);
    margin-top: 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

@media (min-width: 900px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery__item,
.gallery figure {
    position: relative;
    margin: 0;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

/* Product photo */
.product-photo {
    position: relative;
    max-width: 520px;
    margin: 16px auto;
    cursor: pointer;
}

.product-photo img {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.product-photo figcaption {
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Magnifier overlay */
.product-photo::after,
.media figure::after {
    content: "🔍";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.32);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .product-photo:hover::after,
    .media figure:hover::after {
        opacity: 1;
    }
}

/* =====================================================
   9. FAQ / DETAILS
===================================================== */
.page-section details {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin: 10px 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.page-section summary {
    cursor: pointer;
    padding: 14px 14px;
    font-weight: 800;
    background: #f8fafc;
    list-style: none;
}

.page-section summary::-webkit-details-marker {
    display: none;
}

.page-section details p {
    padding: 12px 14px;
    margin: 0;
    color: var(--text-main);
}

/* =====================================================
   10. BUTTONS
===================================================== */
.btn {
    display: inline-block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-color), #3c8c63);
    box-shadow: 0 6px 16px rgba(47, 111, 79, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), #2f6f4f);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(47, 111, 79, 0.35);
}

.card-action {
    margin-top: 12px;
}

/* =====================================================
   11. FOOTER
===================================================== */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    margin-top: 72px;
    padding: 52px 0 20px;
}

.site-footer__inner {
    max-width: var(--header-width);
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.footer-title {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
}

.footer-text {
    color: #a0aec0;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #cbd5e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
    justify-content: flex-start;
}

.footer-links-list a:hover {
    color: #b8d7c1;
    padding-left: 4px;
}

.site-footer__bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.10);
    color: #718096;
    font-size: 0.85rem;
}

/* =====================================================
   12. LIGHTBOX
===================================================== */
.lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.lb.is-open {
    display: block;
}

.lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.lb__stage {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    pointer-events: none;
}

.lb__viewer {
    pointer-events: auto;
    max-width: min(980px, 92vw);
    max-height: 92vh;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb__img {
    display: block;
    max-width: 100%;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    touch-action: pinch-zoom;
    user-select: none;
}

.lb__close {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.96);
    color: #111;
    font-size: 26px;
    font-weight: 800;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.lb__zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(56px, 14vw, 140px);
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    z-index: 9999;
}

.lb__zone--left {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.10), rgba(255,255,255,0.00));
}

.lb__zone--right {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.10), rgba(255,255,255,0.00));
}

@media (hover: hover) and (pointer: fine) {
    .lb__zone:hover {
        background-color: rgba(255,255,255,0.12);
    }
}

@media (max-width: 480px) {
    .lb__zone {
        width: 64px;
    }

    .lb__stage {
        padding: 12px;
    }
}

/* =====================================================
   13. UTILITIES
===================================================== */
.text-muted {
    color: var(--text-muted);
}

.text-soft {
    color: var(--text-soft);
}

.text-center {
    text-align: center;
}

.small-muted {
    color: var(--text-muted);
    font-size: 15px;
}

/* =====================================================
   14. RESPONSIVE
===================================================== */
@media (max-width: 900px) {
    .desktop-only,
    .header-contacts-desktop {
        display: none !important;
    }

    .burger {
        display: block;
    }

    .site-footer {
        padding: 40px 0 20px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .site-main {
        padding: 16px 0 40px;
    }

    .content {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 14px;
    }

    .breadcrumbs {
        padding: 0 14px;
        margin-bottom: 10px;
    }

    .page-section {
        margin: 0 0 12px;
        border-radius: 18px;
        box-shadow: var(--shadow-sm);
        padding: 22px 16px;
    }

    .page-section.hero {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .media {
        max-width: 100%;
    }

    .price-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-badge {
        width: 100%;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }
}

@media (min-width: 901px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        padding: 0 12px;
    }

    .site-brand-text strong {
        font-size: 1.03rem;
    }

    .site-brand-text span {
        font-size: 0.78rem;
    }

    .content {
        padding: 0 12px;
    }

    .breadcrumbs {
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .page-section {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .page-section.hero {
        padding: 22px 14px;
        border-radius: 18px;
    }

    .page-section h1 {
        font-size: 1.85rem;
    }

    .page-section h2 {
        font-size: 1.4rem;
    }

    .page-section p,
    .page-section li,
    th,
    td {
        font-size: 15px;
        line-height: 1.58;
    }

    .card,
    .page-section .card {
        padding: 15px;
        border-radius: 14px;
    }

    .grid-2,
    .grid-3 {
        gap: 12px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    table {
        min-width: 430px;
    }
}

.card-action .btn {
    width: fit-content;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 12px;
}
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(47, 111, 79, 0.25);
}