:root {
  --ink: #172033;
  --muted: #627086;
  --line: #dbe3ec;
  --surface: #ffffff;
  --soft: #f4f7fa;
  --teal: #187b78;
  --red: #d92d3f;
  --blue: #0759a6;
  --shadow: 0 18px 45px rgba(27, 50, 78, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.65;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-shell,
.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img { display: block; width: 184px; height: auto; }

.nav-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.nav-links a { color: var(--ink); font-size: .95rem; font-weight: 700; }

.hero {
  padding: 72px 0 48px;
  background: linear-gradient(135deg, #f5fbfb 0%, #fff 58%, #fdf5f6 100%);
}

.hero-grid,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 54px;
  align-items: center;
}

h1, h2, h3 { line-height: 1.18; margin: 0 0 18px; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 760px; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.lead { color: var(--muted); font-size: 1.12rem; max-width: 690px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #fff;
  font-weight: 700;
}

.button:hover { color: #fff; background: #126360; }
.button.secondary { background: transparent; color: var(--teal); }
.button.secondary:hover { color: var(--teal); background: #e5f4f3; }

.hero-media,
.product-media {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-media img,
.product-media img { display: block; width: 100%; height: auto; }

.section { padding: 70px 0; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin: 0; }

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(27, 50, 78, .05);
}

.product-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.product-card-body p { color: var(--muted); margin: 0 0 20px; }
.product-card-body a { margin-top: auto; font-weight: 700; }

.split-band { background: #102b47; color: #fff; }
.split-band p { max-width: 760px; color: #d7e3ef; }

.breadcrumb { padding: 22px 0 0; color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: var(--blue); }

.product-page { padding: 34px 0 72px; }
.product-hero { align-items: start; }
.product-copy h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.product-copy .lead { margin-top: 0; }
.product-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.meta-item { padding: 16px; background: var(--surface); border-left: 3px solid var(--teal); }
.meta-item strong { display: block; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.prose { min-width: 0; }
.prose p { margin: 0 0 18px; }
.prose ul { padding-left: 22px; }
.aside { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.aside h3 { margin-bottom: 10px; }
.aside p { color: var(--muted); margin: 0 0 18px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0 30px; background: var(--surface); }
.spec-table th, .spec-table td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 38%; background: #eaf5f4; color: #155e5c; }
.note { color: var(--muted); font-size: .92rem; }

.site-footer { padding: 42px 0; background: #102b47; color: #d7e3ef; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.site-footer img { width: 170px; filter: brightness(0) invert(1); }
.site-footer a { color: #fff; }
.copyright { margin: 22px 0 0; color: #9eb1c5; font-size: .9rem; }

@media (max-width: 820px) {
  .nav-shell { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .nav-links { gap: 14px 18px; }
  .hero { padding-top: 48px; }
  .hero-grid, .product-hero, .content-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .aside { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .nav-shell, .page-shell { width: min(100% - 28px, 1180px); }
  h1 { font-size: 2.35rem; }
  .product-meta { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
