:root {
  --bg: #f8f9ff;
  --surface: #ffffff;
  --surface-soft: #eff4ff;
  --surface-blue: #d5e3fd;
  --primary: #091426;
  --primary-2: #1e293b;
  --text: #0d1c2f;
  --muted: #45474c;
  --line: #c5c6cd;
  --blue: #006591;
  --blue-bright: #39b8fd;
  --green: #00a472;
  --danger: #ba1a1a;
  --shadow: 0 1px 3px rgba(30, 41, 59, .08);
  --shadow-2: 0 10px 15px -3px rgba(30, 41, 59, .12);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
.hidden { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248,249,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800; color: var(--primary); }
.brand.centered { position: absolute; left: 50%; transform: translateX(-50%); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: white; font-size: 13px; letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.main-nav a.active, .main-nav a:hover { color: var(--blue); }
.back-link { color: var(--muted); font-weight: 700; }

.btn { border: 1px solid transparent; border-radius: 8px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; cursor: pointer; transition: .2s ease; min-height: 46px; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-primary { background: var(--blue); color: white; }
.btn-outline { background: var(--surface); color: var(--primary); border-color: var(--line); }
.btn-dark { background: var(--primary); color: white; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.actions.center { justify-content: center; }
.actions.vertical { align-items: stretch; flex-direction: column; }

.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: 48px; align-items: center; min-height: 540px; }
.hero-copy { display: grid; gap: 22px; }
.eyebrow { display: inline-flex; width: fit-content; border-radius: 8px; background: var(--surface-soft); color: var(--blue); padding: 8px 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
h1, h2, h3 { font-family: Manrope, sans-serif; color: var(--primary); margin: 0; line-height: 1.12; }
h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.02em; }
.hero p, .section-head p, .page-hero p { max-width: 680px; color: var(--muted); font-size: 18px; margin: 0; }
.hero-media { border-radius: 24px; overflow: hidden; min-height: 420px; box-shadow: 0 20px 25px -5px rgba(30, 41, 59, .16); background: var(--surface-blue); }
.hero-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.review-card { display: inline-flex; width: fit-content; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.review-card div { display: grid; line-height: 1.15; }
.review-card small { color: var(--muted); }
.stars { color: var(--blue); letter-spacing: 2px; }

.section { padding: 56px 0; }
.section-head { margin-bottom: 28px; display: grid; gap: 8px; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); }
.inline-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card, .product-card, .panel, .campaign-card { background: var(--surface); border: 1px solid rgba(197,198,205,.8); border-radius: 16px; box-shadow: var(--shadow); }
.service-card { padding: 24px; transition: .2s ease; }
.service-card:hover, .product-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-soft); color: var(--blue); font-size: 24px; margin-bottom: 18px; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p, .product-card p, .panel li { color: var(--muted); margin: 0; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.product-card-media { position: relative; aspect-ratio: 1; background: var(--surface-soft); overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-label { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; font-size: 11px; font-weight: 800; }
.product-body { padding: 18px; display: grid; gap: 8px; flex: 1; }
.product-body h3 { font-size: 20px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.stock { color: var(--green); font-size: 13px; font-weight: 800; }
.placeholder-media, .product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--surface-soft), var(--surface-blue)); color: var(--primary); font-family: Manrope, sans-serif; font-size: 34px; font-weight: 800; }

.campaign-list { display: grid; gap: 16px; }
.campaign-card { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 34px; background: linear-gradient(120deg, var(--primary-2), var(--primary)); color: white; }
.campaign-card h3 { color: white; font-size: clamp(24px, 3vw, 36px); }
.campaign-card p { color: #bcc7de; margin: 8px 0 0; }
.campaign-card .btn { flex: 0 0 auto; }

.split-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { padding: 28px; }
.panel.tint { background: var(--surface-soft); }
.check-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 10px; }
.category-grid, .category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.category-pill { border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; background: white; color: var(--muted); font-weight: 700; }
.map { width: 100%; min-height: 380px; border: 1px solid var(--line); border-radius: 20px; }
.cta { text-align: center; border-radius: 24px; background: linear-gradient(135deg, var(--surface-soft), white); border: 1px solid var(--line); padding: 48px 24px; }
.cta p { color: var(--muted); }
.site-footer { margin-top: 48px; background: var(--primary); color: #d8e3fb; padding: 48px 0; }
.site-footer strong { color: white; font-family: Manrope, sans-serif; font-size: 20px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.footer-grid nav { display: grid; gap: 8px; }

.page-hero { padding: 48px 0 24px; }
.page-hero-inner { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); }
.search-box { width: min(360px, 100%); display: grid; gap: 7px; color: var(--muted); font-weight: 700; }
.search-box input, .filter-row button { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 12px 14px; font: inherit; }
.filter-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 22px; }
.filter-row button { white-space: nowrap; color: var(--muted); font-weight: 800; cursor: pointer; }
.filter-row button.active { background: var(--primary-2); color: #d8e3fb; border-color: var(--primary-2); }
.catalog-grid { grid-template-columns: repeat(4, 1fr); }
.empty-state { text-align: center; border: 1px dashed var(--line); border-radius: 16px; padding: 42px 20px; background: white; }

.detail-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 32px; align-items: start; }
.gallery { display: grid; gap: 12px; }
.main-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; border: 1px solid var(--line); background: white; overflow: hidden; display: grid; place-items: center; }
.main-photo img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.stock-chip { position: absolute; top: 18px; left: 18px; border: 1px solid var(--green); background: white; color: #005236; border-radius: 8px; padding: 7px 10px; font-weight: 800; font-size: 12px; }
.thumb-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumb-strip button { border: 1px solid var(--line); border-radius: 10px; background: white; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.thumb-strip img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { display: grid; gap: 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--surface-blue); color: var(--muted); border-radius: 8px; padding: 7px 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.muted { color: var(--muted); margin: 0; }
.info-panel { border: 1px solid var(--line); border-radius: 16px; background: white; padding: 22px; display: grid; gap: 5px; box-shadow: var(--shadow); }
.info-panel strong { font-family: Manrope, sans-serif; font-size: 28px; color: var(--primary); }
.info-panel span { color: var(--blue); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-grid div { display: grid; gap: 4px; }
.feature-grid span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid, .split-panels, .detail-grid { grid-template-columns: 1fr; }
  .hero-media, .hero-media img { min-height: 320px; }
  .service-grid, .product-grid, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-inner { align-items: stretch; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1280px); }
  .nav { min-height: 64px; }
  .brand { font-size: 18px; }
  .brand.centered { position: static; transform: none; }
  .btn { width: 100%; }
  .nav .btn { width: auto; padding: 10px 12px; }
  .hero { padding-top: 32px; }
  .actions, .inline-head, .footer-grid { flex-direction: column; align-items: stretch; }
  .service-grid, .product-grid, .catalog-grid { grid-template-columns: 1fr; }
  .campaign-card { flex-direction: column; align-items: stretch; padding: 24px; }
  .detail-actions, .feature-grid { grid-template-columns: 1fr; }
}
