/* --- HERO (Главная) --- */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #e0ebff 50%, var(--primary-blue) 100%);
    padding: 30px 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 250px;
}
.hero::after {
    content: '';
    position: absolute;
    right: -5%;
    bottom: -50%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(0, 191, 255, 0.3), inset 0 0 40px rgba(0, 191, 255, 0.2);
    z-index: 0;
}
.hero-content { flex: 1 1 500px; z-index: 1; padding-right: 20px; }
.hero-subtitle {
    background-color: var(--primary-blue);
    color: #fff;
    display: inline-block;
    padding: 4px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--dark-blue);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.hero h1 span { color: var(--primary-blue); }
.hero p { font-size: 15px; color: #444; max-width: 600px; }
.hero-image { flex: 0 1 250px; z-index: 1; display: flex; justify-content: center; align-items: center; }
.hero-logo-placeholder {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 4px solid var(--primary-blue);
}
.hero-logo-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    position: relative;
    z-index: 1;
}

/* --- SECTIONS & GRIDS --- */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Категории */
.categories { padding: 40px 5% 60px 5%; background-color: #fff; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.category-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 20px;
    padding: 30px 25px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: transform 0.3s;
}
.category-card:hover { transform: translateY(-5px); }
.category-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.category-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; z-index: 1; }
.category-card p { font-size: 13px; opacity: 0.9; margin-bottom: 15px; z-index: 1; }
.btn-outline {
    text-decoration: none;
    color: var(--dark-blue);
    background-color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    align-self: flex-start;
    z-index: 1;
    transition: background 0.2s;
}
.btn-outline:hover { background-color: var(--accent-yellow); }

/* Товары */
.products-section { padding: 50px 5%; max-width: 1200px; margin: 0 auto; width: 100%; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.section-header h2 { font-size: 24px; font-weight: 800; color: var(--dark-blue); text-transform: uppercase; }
.product-count { font-size: 14px; color: #666; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.catalog-empty {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px solid #e1e7f0;
    border-radius: 12px;
    background: #fff;
    color: #526078;
}
.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}
.product-title { font-size: 20px; font-weight: 800; margin-bottom: 10px; color: var(--text-dark); line-height: 1.3; }
.product-specs { font-size: 13px; color: #666; margin-bottom: 15px; display: flex; flex-wrap: wrap; gap: 6px; }
.product-specs span {
    display: inline-block;
    background: #eef2ff;
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--primary-blue);
    font-weight: 600;
}
.price { font-size: 24px; font-weight: 900; color: var(--dark-blue); margin-bottom: 15px; margin-top: auto; }
.btn-buy {
    background-color: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    transition: background 0.3s;
    display: block;
    text-transform: uppercase;
}
.btn-buy:hover { background-color: var(--dark-blue); }

/* Слайдер */
.product-slider-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f4f4;
    touch-action: pan-y pinch-zoom;
}
.product-slider { display: flex; height: 100%; transition: transform 0.4s ease-in-out; }
.product-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.product-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.slider-img-placeholder {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    background-size: cover;
    background-position: center;
}
.img-1 { background-color: #e0ebff; }
.img-2 { background-color: #d0e4ff; }
.img-3 { background-color: #c0ddff; }
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background 0.2s;
}
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.2s;
}
.dot.active { background: var(--primary-blue); }

.product-slide img[role="button"] { cursor: zoom-in; }
.product-slide img[role="button"]:focus-visible { outline: 3px solid var(--primary-blue); outline-offset: -3px; }
.product-lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    padding: 0;
    border: 0;
    place-items: center;
    background: transparent;
    overflow: visible;
}
.product-lightbox[open] { display: grid; }
.product-lightbox::backdrop { background: rgba(4, 10, 22, .88); }
.product-lightbox-panel {
    position: relative;
    display: grid;
    width: 70vw;
    height: 70vh;
    place-items: center;
    border-radius: 12px;
    background: #0c1423;
    box-shadow: 0 18px 70px rgba(0, 0, 0, .45);
}
.product-lightbox-image {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    max-width: calc(100% - 110px);
    max-height: calc(100% - 80px);
    margin: auto;
    object-fit: contain;
    touch-action: pan-y pinch-zoom;
}
.product-lightbox-close,
.product-lightbox-nav {
    position: absolute;
    z-index: 1;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(7, 26, 61, .8);
    color: #fff;
    font: inherit;
    font-size: 28px;
    cursor: pointer;
}
.product-lightbox-close { top: 14px; right: 14px; }
.product-lightbox-nav { top: 50%; transform: translateY(-50%); }
.product-lightbox-prev { left: 14px; }
.product-lightbox-next { right: 14px; }
.product-lightbox-close:hover,
.product-lightbox-nav:hover { background: var(--primary-blue); }
.product-lightbox-count {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    width: fit-content;
    margin: auto;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(7, 26, 61, .8);
    color: #fff;
    font-size: 14px;
}

.page-header--geo { padding-bottom: 34px; }
.page-header--geo h1 {
    max-width: 1000px;
    margin: 0 auto;
    text-transform: none;
    line-height: 1.2;
}
.geo-summary,
.geo-faq,
.geo-seo-copy,
.geo-internal-links {
    width: min(100% - 48px, 960px);
    margin: 0 auto;
}
.geo-summary {
    margin-top: 30px;
    padding: 24px 28px;
    border-left: 4px solid var(--primary-blue);
    border-radius: 10px;
    background: #eaf1ff;
}
.geo-summary .eyebrow { margin-bottom: 8px; }
.geo-summary-content { color: #243653; font-size: 16px; line-height: 1.75; }
.geo-summary-content p { margin: 0 0 1em; }
.geo-summary-content p:last-child { margin-bottom: 0; }
.geo-summary-content ul, .geo-summary-content ol { margin: 0 0 1em 1.5em; }
.geo-faq { padding-top: 42px; }
.geo-faq .section-intro { margin-bottom: 20px; }
.geo-faq .section-title { margin-bottom: 0; text-transform: none; }
.geo-faq-list { display: grid; gap: 10px; }
.geo-faq-item {
    overflow: hidden;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(7, 26, 61, .04);
}
.geo-faq-item summary {
    position: relative;
    padding: 17px 52px 17px 20px;
    color: var(--dark-blue);
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}
.geo-faq-item summary::-webkit-details-marker { display: none; }
.geo-faq-item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 20px;
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 500;
    transform: translateY(-50%);
}
.geo-faq-item[open] summary::after { content: '−'; }
.geo-faq-answer { padding: 0 20px 18px; color: #526078; line-height: 1.7; }
.geo-faq-answer p { margin: 0 0 .8em; }
.geo-faq-answer p:last-child { margin-bottom: 0; }
.geo-faq-answer ul, .geo-faq-answer ol { margin: 0 0 .8em 1.5em; }
.geo-seo-copy {
    padding: 0 0 38px;
    color: #526078;
    line-height: 1.85;
}
.geo-seo-copy-content { color: #526078; line-height: 1.85; }
.geo-seo-copy-content p { margin: 0 0 1em; }
.geo-seo-copy-content p:last-child { margin-bottom: 0; }
.geo-seo-copy-content ul, .geo-seo-copy-content ol { margin: 0 0 1em 1.5em; }
.geo-seo-copy-content blockquote { margin: 1em 0 1em 1.5em; padding-left: .75em; border-left: 3px solid #cbd4e2; }
.geo-seo-copy h2,
.geo-internal-links h2 {
    margin-bottom: 14px;
    color: var(--dark-blue);
    font-size: 24px;
    line-height: 1.35;
}
.geo-internal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 22px 0 42px;
    border-top: 1px solid #e1e7f0;
}
.geo-internal-links h2 { width: 100%; margin-bottom: 2px; }
.geo-internal-links a {
    padding: 10px 14px;
    border-radius: 7px;
    background: #eaf1ff;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.geo-internal-links a:hover { background: #dbe7ff; }
