:root {
    --navy: #0c2544;
    --navy-2: #143b66;
    --blue: #1e6bd6;
    --blue-2: #49a4ff;
    --cyan: #e8f7ff;
    --cream: #fbf7ef;
    --text: #16263a;
    --muted: #68778c;
    --line: #e6edf5;
    --white: #ffffff;
    --shadow: 0 18px 52px rgba(12, 37, 68, 0.12);
    --shadow-soft: 0 12px 30px rgba(12, 37, 68, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 0 0, rgba(73, 164, 255, .18), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 44%, #f6faff 100%);
    min-height: 100vh;
}

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

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

.container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.top-strip {
    background: var(--navy);
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
}

.top-strip-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.top-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-contacts a:hover {
    color: white;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(248, 251, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(12, 37, 68, .08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand img,
.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: contain;
    background: var(--navy);
    color: white;
    display: grid;
    place-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 750;
    color: #24405e;
    transition: .2s ease;
}

.main-nav a:hover {
    background: rgba(30, 107, 214, .08);
    color: var(--blue);
}

.main-nav .nav-cta {
    background: var(--navy);
    color: white;
    box-shadow: var(--shadow-soft);
}

.main-nav .nav-cta:hover {
    background: var(--blue);
    color: white;
}

.nav-toggle {
    display: none;
}

.section {
    padding: 64px 0;
}

.section.compact {
    padding: 34px 0;
}

.page-hero {
    padding-top: 52px;
}

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

h1 {
    font-size: clamp(42px, 6.2vw, 78px);
    line-height: .94;
    letter-spacing: -0.07em;
    color: var(--navy);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1;
    letter-spacing: -0.055em;
    color: var(--navy);
    margin-bottom: 14px;
}

h3 {
    color: var(--navy);
    letter-spacing: -0.035em;
    margin-bottom: 8px;
}

p {
    color: var(--muted);
    line-height: 1.75;
}

.lead {
    font-size: 18px;
}

.muted {
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    background: #eaf4ff;
    border: 1px solid #d8eaff;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    font-size: 15px;
    transition: .2s ease;
}

.btn.primary {
    color: white;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    box-shadow: 0 14px 34px rgba(30, 107, 214, .26);
}

.btn.ghost {
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
}

.btn:hover {
    transform: translateY(-2px);
}

.link-more {
    color: var(--blue);
    font-weight: 900;
    white-space: nowrap;
}

/* =========================
   HERO / HOME SLIDER
========================= */

.hero {
    padding-top: 34px;
}

.hero-shell {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
    align-items: stretch;
}

.hero-slider {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(12, 37, 68, .08);
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.hero-slider-track {
    position: relative;
    min-height: 610px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr .9fr;
    min-height: 610px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    transition: opacity .55s ease, transform .55s ease, visibility .55s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-main {
    min-height: 610px;
    display: grid;
    grid-template-columns: 1fr .9fr;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(12, 37, 68, .08);
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: clamp(30px, 5vw, 66px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-copy p {
    max-width: 620px;
    font-size: 18px;
}

.hero-actions,
.product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

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

.hero-stats div {
    background: #f4f9ff;
    border: 1px solid #e3effc;
    border-radius: 20px;
    padding: 16px;
}

.hero-stats strong {
    display: block;
    color: var(--navy);
    font-size: 24px;
    line-height: 1;
}

.hero-stats span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}

.hero-media {
    position: relative;
    min-height: 610px;
    background: linear-gradient(140deg, #eaf4ff, #fff);
    overflow: hidden;
}

.hero-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 30px;
    color: white;
    background: linear-gradient(145deg, var(--navy), var(--blue));
}

.hero-placeholder span,
.hero-placeholder strong,
.hero-placeholder em {
    display: block;
}

.hero-placeholder span {
    opacity: .75;
    font-weight: 700;
}

.hero-placeholder strong {
    font-size: clamp(46px, 6vw, 78px);
    letter-spacing: -0.06em;
}

.hero-placeholder em {
    opacity: .8;
}

.floating-card {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 18px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 24px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.floating-card strong {
    display: block;
    color: var(--navy);
    font-size: 18px;
}

.floating-card span {
    color: var(--muted);
    font-size: 14px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    color: var(--navy);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    transition: .2s ease;
}

.hero-arrow:hover {
    background: var(--navy);
    color: white;
}

.hero-arrow-prev {
    left: 22px;
    transform: translateY(-50%);
}

.hero-arrow-next {
    right: 22px;
    transform: translateY(-50%);
}

.hero-arrow-prev:hover,
.hero-arrow-next:hover {
    transform: translateY(-50%) scale(1.04);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 7;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
}

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(12, 37, 68, .24);
    cursor: pointer;
    transition: .2s ease;
}

.hero-dots button.active {
    width: 28px;
    background: var(--blue);
}

.hero-side {
    display: grid;
    gap: 18px;
}

.mini-promo {
    position: relative;
    min-height: 296px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 22px;
    border-radius: 32px;
    background: linear-gradient(145deg, var(--navy), var(--blue));
    color: white;
    box-shadow: var(--shadow-soft);
}

.mini-promo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
}

.mini-promo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(8, 25, 50, .78) 100%);
}

.mini-promo span,
.mini-promo strong,
.mini-promo small {
    position: relative;
    z-index: 1;
}

.mini-promo span {
    font-size: 46px;
    line-height: .9;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.mini-promo strong {
    font-size: 22px;
    margin-top: 10px;
}

.mini-promo small {
    color: rgba(255, 255, 255, .84);
    margin-top: 6px;
}

.mini-promo.light {
    background: linear-gradient(145deg, #f1f8ff, #ffffff);
    color: var(--navy);
    border: 1px solid var(--line);
}

.mini-promo.light::after {
    display: none;
}

.mini-promo.light small {
    color: var(--muted);
}

/* =========================
   SECTIONS
========================= */

.section-head {
    margin-bottom: 22px;
}

.section-head.split {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.section-head p {
    max-width: 700px;
    margin-bottom: 0;
}

.promo-grid,
.category-grid,
.product-grid {
    display: grid;
    gap: 18px;
}

.promo-grid {
    grid-template-columns: repeat(4, 1fr);
}

.promo-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: white;
    box-shadow: var(--shadow-soft);
}

.promo-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .64;
}

.promo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 37, 68, .08), rgba(12, 37, 68, .86));
}

.promo-card div {
    position: relative;
    z-index: 1;
    min-height: 220px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.promo-card span {
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.07em;
    line-height: .9;
}

.promo-card h3 {
    color: white;
    font-size: 23px;
}

.promo-card p {
    color: rgba(255, 255, 255, .82);
    margin-bottom: 10px;
}

.promo-card strong {
    color: white;
}

.category-grid {
    grid-template-columns: repeat(4, 1fr);
}

.category-card {
    min-height: 236px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: .2s ease;
    overflow: hidden;
}

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

.category-card img {
    height: 128px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    background: #eef7ff;
}

.category-card div {
    padding: 0 4px 4px;
}

.category-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* =========================
   PRODUCT CARDS
========================= */

.product-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 30px;
    background: white;
    border: 1px solid rgba(12, 37, 68, .08);
    box-shadow: 0 12px 34px rgba(12, 37, 68, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 107, 214, .24);
    box-shadow: 0 22px 58px rgba(12, 37, 68, .15);
}

.product-image-link {
    display: block;
}

.product-image-wrap {
    position: relative;
    height: 300px;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #eaf4ff, #ffffff);
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .38s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.055);
}

.product-image-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 44%;
    background: linear-gradient(180deg, transparent, rgba(12, 37, 68, .18));
    pointer-events: none;
}

.product-badge,
.discount-badge,
.sale-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .02em;
    backdrop-filter: blur(14px);
}

.product-badge {
    left: 14px;
    top: 14px;
    color: var(--navy);
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .75);
}

.discount-badge,
.sale-badge {
    right: 14px;
    top: 14px;
    color: white;
    background: linear-gradient(135deg, #ef4444, #e11d48);
    box-shadow: 0 12px 24px rgba(225, 29, 72, .22);
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 24px;
    margin-bottom: 10px;
}

.product-category {
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.product-category:hover {
    color: var(--navy);
}

.product-sku {
    color: #8ca0b6;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.product-title-link {
    display: block;
}

.product-title-link h3,
.product-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.045em;
    transition: color .2s ease;
}

.product-title-link:hover h3 {
    color: var(--blue);
}

.product-card p {
    min-height: 48px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 16px;
}

.product-meta-row small {
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f4f8fc;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.price-stack {
    min-width: 0;
}

.price-stack strong {
    display: block;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.price-stack span {
    display: block;
    margin-top: 4px;
    color: #9aa9ba;
    font-size: 13px;
    font-weight: 850;
    text-decoration: line-through;
}

.product-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 15px;
    border-radius: 999px;
    background: #eef7ff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
    transition: .2s ease;
}

.product-more-btn:hover {
    background: var(--navy);
    color: white;
}

.product-card-footer em {
    color: var(--blue);
    font-style: normal;
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
}

.product-placeholder {
    min-height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    color: rgba(12, 37, 68, .66);
    font-weight: 900;
    background: linear-gradient(135deg, #eaf4ff, #ffffff);
}

/* =========================
   CONTENT BLOCKS / FORMS
========================= */

.info-band,
.text-card,
.contact-card,
.request-info,
.request-form,
.catalog-heading,
.success-card,
.product-gallery,
.product-info,
.catalog-sidebar {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.info-band {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 26px;
    align-items: center;
    padding: clamp(24px, 4vw, 46px);
    overflow: hidden;
}

.info-band img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;
}

.request-section {
    background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.request-grid,
.about-grid,
.product-detail-grid,
.product-content-grid {
    display: grid;
    gap: 24px;
}

.request-grid {
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
}

.request-info,
.request-form,
.text-card,
.contact-card,
.catalog-heading,
.success-card {
    padding: clamp(22px, 4vw, 40px);
}

.request-form {
    display: grid;
    gap: 12px;
}

.contact-lines {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.contact-lines a,
.contact-lines span {
    display: block;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f6faff;
    color: var(--navy);
    font-weight: 850;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #dce7f3;
    background: #fbfdff;
    border-radius: 18px;
    padding: 15px 16px;
    outline: none;
    font: inherit;
    color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(30, 107, 214, .45);
    box-shadow: 0 0 0 4px rgba(30, 107, 214, .08);
}

textarea {
    resize: vertical;
}

/* =========================
   CATALOG
========================= */

.catalog-heading {
    text-align: center;
}

.catalog-heading p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px auto;
    gap: 10px;
    max-width: 920px;
    margin: 24px auto 0;
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-pill {
    padding: 11px 15px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--line);
    color: var(--navy);
    font-weight: 900;
}

.filter-pill.active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.catalog-sidebar {
    position: sticky;
    top: 116px;
    padding: 20px;
}

.sidebar-link {
    display: block;
    padding: 12px 14px;
    border-radius: 15px;
    color: var(--muted);
    font-weight: 850;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: #eef7ff;
    color: var(--blue);
}

.catalog-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
    color: var(--muted);
}

.pagination a {
    color: var(--blue);
    font-weight: 900;
}

/* =========================
   ABOUT
========================= */

.about-grid {
    grid-template-columns: 1.2fr .8fr;
    align-items: start;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: stretch;
}

.hero-content {
    padding: clamp(28px, 5vw, 58px);
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.hero-image {
    min-height: 460px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #eef7ff;
    box-shadow: var(--shadow-soft);
}

.hero-image.small {
    min-height: 360px;
}

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

.contact-card {
    position: sticky;
    top: 116px;
}

/* =========================
   PRODUCT DETAIL
========================= */

.product-detail-grid {
    grid-template-columns: .94fr 1.06fr;
    align-items: start;
}

.product-gallery,
.product-info {
    padding: 18px;
}

.main-product-img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 24px;
    background: #edf6ff;
}

.product-detail-placeholder {
    height: 640px;
    border-radius: 24px;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.thumbs img {
    height: 104px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(12, 37, 68, .08);
}

.product-info {
    padding: clamp(24px, 4vw, 46px);
}

.price-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.price-line strong {
    font-size: 38px;
    color: var(--navy);
    letter-spacing: -0.045em;
}

.price-line span {
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 800;
    font-size: 18px;
}

.price-line em {
    color: white;
    background: #e11d48;
    font-style: normal;
    font-weight: 950;
    border-radius: 999px;
    padding: 8px 11px;
}

.specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.specs div {
    background: #f6faff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 15px;
}

.specs span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 5px;
}

.specs strong {
    color: var(--navy);
}

.qr-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 14px;
    background: #f6faff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.qr-box img {
    width: 94px;
    height: 94px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
}

.qr-box p {
    margin: 0;
    font-weight: 900;
    color: var(--navy);
}

.qr-box span {
    color: var(--muted);
    font-size: 13px;
}

.product-content-grid {
    grid-template-columns: 1fr .78fr;
    align-items: start;
}

/* =========================
   STATUS / FOOTER
========================= */

.success-section {
    min-height: 58vh;
    display: grid;
    place-items: center;
}

.success-card {
    text-align: center;
    max-width: 680px;
}

.success-icon {
    display: inline-grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #dcfce7;
    color: #166534;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 18px;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--muted);
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.messages {
    margin-top: 14px;
}

.message {
    padding: 14px 18px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--line);
    color: var(--navy);
    box-shadow: var(--shadow-soft);
}

.message.success {
    border-color: rgba(34, 197, 94, .35);
}

.message.error {
    border-color: rgba(239, 68, 68, .35);
}

.footer {
    padding: 46px 0 26px;
    background: var(--navy);
    color: white;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr .9fr;
    gap: 26px;
}

.footer h3,
.footer h4 {
    color: white;
    margin-bottom: 10px;
}

.footer p {
    color: rgba(255, 255, 255, .72);
    margin-bottom: 8px;
}

.footer a {
    color: rgba(255, 255, 255, .82);
}

.footer a:hover {
    color: white;
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.footer-socials a {
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .hero-shell {
        grid-template-columns: 1fr;
    }

    .hero-side {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .hero-main,
    .hero-slide,
    .request-grid,
    .about-grid,
    .hero-grid,
    .product-detail-grid,
    .product-content-grid,
    .footer-grid,
    .catalog-layout,
    .info-band {
        grid-template-columns: 1fr;
    }

    .hero-slider,
    .hero-slider-track,
    .hero-slide {
        min-height: auto;
    }

    .catalog-sidebar {
        position: static;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-media {
        min-height: 440px;
    }

    .main-product-img,
    .product-detail-placeholder {
        height: 480px;
    }

    .contact-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 22px, 1240px);
    }

    .top-strip {
        display: none;
    }

    .header-inner {
        min-height: 70px;
    }

    .brand {
        font-size: 18px;
    }

    .brand img,
    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .nav-toggle {
        display: inline-grid;
        gap: 4px;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 0;
        border-radius: 16px;
        background: rgba(12, 37, 68, .08);
    }

    .nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--navy);
        border-radius: 2px;
    }

    .main-nav {
        position: absolute;
        left: 12px;
        right: 12px;
        top: 74px;
        display: grid;
        background: rgba(255, 255, 255, .96);
        border: 1px solid var(--line);
        border-radius: 24px;
        box-shadow: var(--shadow);
        padding: 10px;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: .2s ease;
    }

    .main-nav.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .main-nav a {
        display: block;
    }

    .section {
        padding: 38px 0;
    }

    .section.compact {
        padding: 24px 0;
    }

    h1 {
        font-size: 40px;
        line-height: 1;
    }

    h2 {
        font-size: 31px;
    }

    .hero {
        padding-top: 18px;
    }

    .hero-main,
    .hero-slider {
        border-radius: 28px;
    }

    .hero-main {
        min-height: 0;
    }

    .hero-copy {
        padding: 24px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-media {
        min-height: 340px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .hero-arrow-prev {
        left: 12px;
    }

    .hero-arrow-next {
        right: 12px;
    }

    .hero-dots {
        bottom: 12px;
    }

    .hero-stats,
    .hero-side,
    .promo-grid,
    .category-grid,
    .product-grid,
    .catalog-grid,
    .specs {
        grid-template-columns: 1fr;
    }

    .mini-promo {
        min-height: 220px;
    }

    .catalog-search {
        grid-template-columns: 1fr;
    }

    .product-image-wrap {
        height: 330px;
    }

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

    .product-more-btn {
        width: 100%;
    }

    .main-product-img,
    .product-detail-placeholder {
        height: 360px;
    }

    .thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-head.split {
        align-items: start;
        flex-direction: column;
    }

    .footer {
        margin-top: 20px;
    }
}

/* =========================
   CATALOG BIG SLIDER
========================= */

.catalog-hero-section {
    padding: 34px 0 28px;
}

.catalog-slider {
    position: relative;
    width: 100%;
    min-height: 560px;
    overflow: hidden;
    border-radius: 38px;
    background:
        radial-gradient(circle at 18% 20%, rgba(73, 164, 255, .34), transparent 36%),
        linear-gradient(135deg, var(--navy), var(--blue));
    border: 1px solid rgba(12, 37, 68, .08);
    box-shadow: 0 24px 70px rgba(12, 37, 68, .18);
}

.catalog-slider-track {
    position: relative;
    min-height: 560px;
}

.catalog-slide {
    position: absolute;
    inset: 0;
    min-height: 560px;
    display: block;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(28px);
    transition: opacity .6s ease, transform .6s ease, visibility .6s ease;
}

.catalog-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.catalog-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* если картинки у баннера нет — красивый градиент */
.catalog-slide:not(:has(.catalog-slide-bg)) {
    background:
        radial-gradient(circle at 80% 22%, rgba(73, 164, 255, .34), transparent 32%),
        radial-gradient(circle at 12% 82%, rgba(232, 247, 255, .18), transparent 36%),
        linear-gradient(135deg, #081b32 0%, #0c2544 45%, #1e6bd6 100%);
}

.catalog-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(5, 20, 40, .88) 0%, rgba(5, 20, 40, .72) 38%, rgba(5, 20, 40, .28) 72%, rgba(5, 20, 40, .1) 100%),
        linear-gradient(180deg, rgba(5, 20, 40, .12), rgba(5, 20, 40, .46));
}

.catalog-slide-content {
    position: relative;
    z-index: 3;
    min-height: 560px;
    max-width: 860px;
    padding: clamp(34px, 6vw, 74px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.catalog-slide-content h1 {
    max-width: 790px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 16px 38px rgba(0, 0, 0, .24);
}

.catalog-slide-content p {
    max-width: 710px;
    color: rgba(255, 255, 255, .86);
    font-size: 19px;
    line-height: 1.72;
}

.catalog-eyebrow {
    width: fit-content;
    color: white;
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .28);
    backdrop-filter: blur(14px);
}

.catalog-hero-search {
    width: min(100%, 860px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px auto;
    gap: 10px;
    margin-top: 28px;
    padding: 10px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
}

.catalog-hero-search input,
.catalog-hero-search select {
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .94);
    color: var(--navy);
    border-radius: 18px;
}

.catalog-hero-search input::placeholder {
    color: #7b8ea4;
}

.catalog-hero-search .btn {
    min-height: 52px;
}

.catalog-hero-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 860px;
    margin-top: 34px;
}

.catalog-hero-info div {
    min-height: 88px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(16px);
}

.catalog-hero-info strong {
    display: block;
    color: white;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.catalog-hero-info span {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    line-height: 1.35;
}

.catalog-slider .hero-arrow {
    background: rgba(255, 255, 255, .88);
}

.catalog-slider .hero-arrow:hover {
    background: var(--blue);
    color: white;
}

.catalog-slider .hero-arrow-prev {
    left: 22px;
}

.catalog-slider .hero-arrow-next {
    right: 22px;
}

.catalog-slider .catalog-dots,
.catalog-slider .hero-dots {
    bottom: 26px;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .28);
}

.catalog-slider .hero-dots button {
    background: rgba(255, 255, 255, .48);
}

.catalog-slider .hero-dots button.active {
    background: white;
}

.catalog-products-section {
    padding-top: 28px;
}

.catalog-main {
    min-width: 0;
}

.catalog-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 24px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.catalog-result-bar div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-result-bar span {
    color: var(--muted);
    font-weight: 800;
}

.catalog-result-bar strong {
    min-width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    font-size: 18px;
}

.catalog-result-bar a {
    color: var(--blue);
    font-weight: 900;
}

/* старый верх каталога больше не нужен, но оставляем на случай других страниц */
.catalog-top {
    display: none;
}

/* =========================
   CATALOG SLIDER RESPONSIVE
========================= */

@media (max-width: 980px) {
    .catalog-slider,
    .catalog-slider-track,
    .catalog-slide {
        min-height: 600px;
    }

    .catalog-slide-content {
        min-height: 600px;
        max-width: 100%;
    }

    .catalog-hero-search {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .catalog-hero-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-slide-overlay {
        background:
            linear-gradient(90deg, rgba(5, 20, 40, .9) 0%, rgba(5, 20, 40, .72) 60%, rgba(5, 20, 40, .42) 100%),
            linear-gradient(180deg, rgba(5, 20, 40, .16), rgba(5, 20, 40, .5));
    }
}

@media (max-width: 760px) {
    .catalog-hero-section {
        padding: 18px 0 20px;
    }

    .catalog-slider {
        min-height: 620px;
        border-radius: 28px;
    }

    .catalog-slider-track,
    .catalog-slide {
        min-height: 620px;
    }

    .catalog-slide-content {
        min-height: 620px;
        padding: 26px;
    }

    .catalog-slide-content h1 {
        font-size: 40px;
        line-height: 1;
    }

    .catalog-slide-content p {
        font-size: 16px;
    }

    .catalog-hero-info {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .catalog-hero-info div {
        min-height: auto;
        padding: 14px;
    }

    .catalog-slider .hero-arrow {
        top: auto;
        bottom: 18px;
        width: 40px;
        height: 40px;
        font-size: 30px;
        transform: none;
    }

    .catalog-slider .hero-arrow-prev {
        left: 18px;
    }

    .catalog-slider .hero-arrow-next {
        right: 18px;
    }

    .catalog-slider .hero-arrow-prev:hover,
    .catalog-slider .hero-arrow-next:hover {
        transform: scale(1.04);
    }

    .catalog-slider .catalog-dots,
    .catalog-slider .hero-dots {
        bottom: 24px;
    }

    .catalog-result-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-result-bar div {
        width: 100%;
        justify-content: space-between;
    }
}