/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-50: #f8f6f3;
    --gray-100: #f0ede8;
    --gray-200: #e5e0d8;
    --gray-300: #ccc6bc;
    --gray-400: #999387;
    --gray-500: #756e63;
    --gray-600: #5a544b;
    --gray-700: #3d3832;
    --gray-800: #282520;
    --gray-900: #1a1815;
    --gold: #c9a96e;
    --gold-light: #e8d5a8;
    --gold-dark: #a8894e;
    --gold-bg: rgba(201, 169, 110, 0.08);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-bg);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: inherit;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-full {
    width: 100%;
}

.btn-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    background: var(--gold-bg);
    padding: 10px 24px;
    border-radius: 100px;
    transition: var(--transition);
}

.btn-header:hover {
    background: var(--gold);
    color: var(--white);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.header.scrolled .logo {
    color: var(--gray-900);
}

.logo span {
    font-weight: 300;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--gray-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--gray-900);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('../images/1.jpg') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,10,10,0.85) 0%,
        rgba(10,10,10,0.6) 50%,
        rgba(10,10,10,0.85) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 0 24px;
    max-width: 720px;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 169, 110, 0.15);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: heroFadeIn 1s ease-out 0.5s both;
}

.scroll-arrow {
    width: 2px;
    height: 24px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%   { top: -100%; }
    100% { top: 100%;  }
}

/* ===== Catalog ===== */
.catalog {
    background: var(--gray-50);
}

.catalog-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.catalog-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: itemIn 0.5s ease-out forwards;
}

.catalog-item.hidden {
    display: none;
}

@keyframes itemIn {
    to { opacity: 1; transform: translateY(0); }
}

.catalog-item:nth-child(1) { animation-delay: 0.05s; }
.catalog-item:nth-child(2) { animation-delay: 0.1s; }
.catalog-item:nth-child(3) { animation-delay: 0.15s; }
.catalog-item:nth-child(4) { animation-delay: 0.2s; }
.catalog-item:nth-child(5) { animation-delay: 0.25s; }
.catalog-item:nth-child(6) { animation-delay: 0.3s; }
.catalog-item:nth-child(7) { animation-delay: 0.35s; }
.catalog-item:nth-child(8) { animation-delay: 0.4s; }
.catalog-item:nth-child(9) { animation-delay: 0.45s; }
.catalog-item:nth-child(10) { animation-delay: 0.5s; }

.catalog-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.catalog-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

.catalog-item:hover img {
    transform: scale(1.05);
}

.catalog-item-body {
    padding: 20px 24px 24px;
}

.catalog-item-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-900);
}

.catalog-item-body p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.catalog-item-body .catalog-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    background: var(--gold-bg);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
}

/* ===== Promo ===== */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.promo-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.promo-card-primary {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--gold-bg), var(--white));
}

.promo-card-primary:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.2);
}

.promo-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.promo-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.promo-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.promo-card .btn {
    margin-top: auto;
}

/* ===== About ===== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-label {
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.about-content p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 36px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition);
}

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

/* ===== Contacts ===== */
.contacts {
    background: var(--gray-50);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.contact-link {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--gold-dark);
}

.contact-form-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.form-content {
    padding: 48px 40px;
}

.form-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.form-content p {
    color: var(--gray-500);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    color: var(--gray-900);
    transition: var(--transition);
    outline: none;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-bg);
}

.contact-form-wrap textarea {
    min-height: 120px;
    resize: vertical;
    margin-top: 16px;
}

.contact-form-wrap .btn {
    margin-top: 16px;
}

.form-image {
    overflow: hidden;
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 16px;
    opacity: 0.5;
    transition: var(--transition);
}

.lightbox-nav:hover { opacity: 1; }

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1rem;
    opacity: 0.7;
    text-align: center;
}

/* ===== Migration Banner ===== */
.migration-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 500;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.migration-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.migration-banner.hidden {
    transform: translateY(-100%);
}

.migration-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.migration-banner p {
    margin: 0;
    text-align: center;
}

.migration-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    padding: 0 4px;
    line-height: 1;
    transition: opacity 0.2s;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.migration-close:hover {
    opacity: 1;
}

/* push header down when banner is visible */
.migration-banner:not(.hidden) + .header {
    top: 44px;
}

@media (max-width: 768px) {
    .migration-banner { font-size: 0.8rem; padding: 8px 0; }
    .migration-close { right: 12px; font-size: 1.3rem; }
    .migration-banner:not(.hidden) + .header { top: 38px; }
}

/* ===== Floating VK ===== */
.float-vk {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.float-vk:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.5);
}

/* ===== Advertisement ===== */
.ad-section {
    padding: 40px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.ad-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 16px;
}

.ad-placeholder {
    max-width: 728px;
    margin: 0 auto;
    background: var(--white);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 48px 24px;
    text-align: center;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .ad-section { padding: 24px 0; }
    .ad-placeholder { padding: 32px 16px; min-height: 70px; }
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand .logo {
    color: var(--white);
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 12px;
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===== Touch Device Tweaks ===== */
@media (hover: none) {
    .catalog-item:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    .catalog-item:hover img {
        transform: none;
    }
    .catalog-item:active {
        transform: scale(0.98);
    }
    .promo-card:hover {
        transform: none;
        box-shadow: none;
    }
    .contact-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    .about-image:hover img {
        transform: none;
    }
    .float-vk:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
    }
    .btn-primary:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
    }
    .nav-link::after {
        display: none;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.8rem; }
    .about-grid { gap: 40px; }
    .about-image img { height: 400px; }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header p { font-size: 0.95rem; }
    .section-label { font-size: 0.7rem; padding: 5px 14px; }

    .container { padding: 0 16px; }

    .hero-content h1 { font-size: 1.8rem; letter-spacing: -0.5px; }
    .hero-content p { font-size: 0.95rem; margin-bottom: 28px; }
    .hero-badge { font-size: 0.7rem; padding: 6px 16px; }
    .hero-scroll { display: none; }
    .hero-actions .btn { padding: 12px 24px; font-size: 0.9rem; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 88px 24px 32px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 100;
    }

    .nav.active { right: 0; }

    .nav-link {
        color: var(--gray-700) !important;
        font-size: 1.05rem;
        font-weight: 500;
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-link:last-child {
        margin-top: 8px;
        text-align: center;
        background: var(--gold-bg);
        color: var(--gold) !important;
        border-radius: 100px;
        border-bottom: none;
        padding: 14px 0;
    }

    .menu-toggle { display: flex; }

    .btn-header { display: none; }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .catalog-item img { height: 200px; }
    .catalog-item-body { padding: 16px 18px 18px; }
    .catalog-item-body h3 { font-size: 1.05rem; }

    .catalog-filters {
        gap: 6px;
        margin-bottom: 24px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .catalog-filters::-webkit-scrollbar { display: none; }

    .filter-btn {
        flex-shrink: 0;
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    .promo-grid { grid-template-columns: 1fr; gap: 16px; }
    .promo-card { padding: 28px 24px; }
    .promo-card h3 { font-size: 1.15rem; }
    .promo-card p { font-size: 0.9rem; }
    .promo-icon { font-size: 2rem; margin-bottom: 12px; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-image { order: -1; }
    .about-image img { height: 240px; }
    .about-content h2 { font-size: 1.4rem; }
    .about-content p { font-size: 0.95rem; margin-bottom: 24px; }
    .about-stats { gap: 20px; flex-wrap: wrap; }
    .stat-num { font-size: 1.5rem; }
    .stat-label { font-size: 0.75rem; }

    .contacts-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-card { padding: 24px 20px; }

    .contact-form-wrap {
        grid-template-columns: 1fr;
        border-radius: var(--radius);
    }

    .form-content { padding: 28px 20px; }
    .form-content h3 { font-size: 1.25rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-image { display: none; }

    .contact-form-wrap input,
    .contact-form-wrap textarea {
        padding: 12px 16px;
        font-size: 16px; /* prevents iOS zoom */
    }

    .footer { padding: 40px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { padding: 20px 0; font-size: 0.8rem; }

    .lightbox-nav { font-size: 1.5rem; padding: 12px; }
    .lightbox-prev { left: 4px; }
    .lightbox-next { right: 4px; }
    .lightbox-close { top: 12px; right: 12px; font-size: 2.5rem; }
    .lightbox-caption {
        font-size: 0.85rem;
        bottom: 16px;
        max-width: 90%;
        line-height: 1.4;
    }

    .float-vk {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section { padding: 40px 0; }

    .hero-content h1 { font-size: 1.5rem; }
    .hero-content p { font-size: 0.9rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; padding: 14px 20px; }

    .catalog-item img { height: 180px; }

    .promo-card { padding: 24px 18px; }

    .about-image img { height: 200px; }
    .about-stats { gap: 16px; }
    .stat-num { font-size: 1.3rem; }

    .contact-form-wrap input,
    .contact-form-wrap textarea {
        padding: 11px 14px;
    }

    .float-vk {
        width: 48px;
        height: 48px;
        bottom: 12px;
        right: 12px;
    }
}

/* iPhone notch / dynamic island safety */
@supports (padding: env(safe-area-inset-bottom)) {
    .float-vk { bottom: calc(16px + env(safe-area-inset-bottom)); right: calc(16px + env(safe-area-inset-right)); }
}

@supports (padding: env(safe-area-inset-bottom)) and (max-width: 768px) {
    .nav { padding-top: calc(88px + env(safe-area-inset-top)); }
}
