:root {
  --primary: #2457aa;
  --primary-dark: #1a3f80;
  --navy: #000b1c;
  --navy-2: #02112b;
  --accent: #ffd200;
  --bg-light: #f6f9ff;
  --bg-light2: #e9eef6;
  --text: #1c2733;
  --text-muted: #656c76;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; color: var(--navy); font-weight: 600; margin: 0 0 15px; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 14px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top-bar { background: var(--navy); color: #cfd8e3; font-size: 13px; }
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; gap: 20px; flex-wrap: wrap; }
.top-bar .phone { color: var(--accent); font-weight: 600; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--bg-light2); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-sub { font-size: 12px; color: var(--text-muted); font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.main-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.main-nav a { color: var(--navy); font-weight: 500; font-size: 14.5px; }
.main-nav a:hover { color: var(--primary); }

/* Breadcrumb */
.breadcrumb { background: var(--bg-light); font-size: 13px; color: var(--text-muted); }
.breadcrumb .wrap { padding: 10px 20px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }

/* Hero (home) */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%); color: #fff; padding: 70px 0 60px; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .lead { color: #cfe0ff; max-width: 680px; font-size: 1.05rem; }

/* Page title (category, no own text) */
.page-title { background: var(--bg-light); padding: 40px 0; }
.page-title h1 { margin-bottom: 8px; }
.page-title .lead { color: var(--text-muted); max-width: 720px; }

/* Detail section */
.detail { padding: 40px 0 10px; }
.detail-hero { margin: 20px 0 25px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0,11,28,.12); }
.detail-hero img { width: 100%; height: auto; }
.detail-text p { color: var(--text); }
.detail-text .feature-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 20px; }
.detail-text .feature-list li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--bg-light2); font-weight: 500; color: var(--navy); }
.detail-text .feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

.video-note { margin: 10px 0 25px; }
.video-note a { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 30px; font-weight: 500; font-size: 14px; }
.video-note a:hover { background: var(--primary); color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 20px 0 30px; }
.gallery img { border-radius: 8px; height: 150px; width: 100%; object-fit: cover; background: var(--bg-light2); }

/* Downloads */
.downloads { margin: 0 0 30px; padding: 18px 22px; background: var(--bg-light); border-radius: var(--radius); }
.downloads h4 { margin-bottom: 10px; font-size: 1rem; }
.downloads ul { list-style: none; margin: 0; padding: 0; }
.downloads li { margin-bottom: 6px; }
.downloads a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.downloads a i { font-style: normal; background: var(--primary); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; letter-spacing: .04em; }
.downloads a:hover i { background: var(--navy); }

/* Card grid */
.card-grid-section { padding: 40px 0 55px; }
.card-grid-section h2 { border-left: 4px solid var(--accent); padding-left: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin-top: 24px; }
.card { display: block; background: #fff; border: 1px solid var(--bg-light2); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 28px rgba(0,11,28,.14); transform: translateY(-3px); }
.card-img { height: 160px; background: var(--bg-light2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img.placeholder { display: flex; align-items: center; justify-content: center; }
.card-body { padding: 16px 18px 20px; }
.card-body h3 { margin-bottom: 6px; font-size: 1.05rem; color: var(--navy); }
.card-body p { color: var(--text-muted); font-size: 13.5px; margin: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #b7c2d0; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 45px 20px 25px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .9; }
.site-footer h5 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.site-footer a { color: #b7c2d0; }
.site-footer a:hover { color: var(--accent); }
.copyright { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 20px; font-size: 12.5px; color: #7f8b9a; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav { gap: 16px; }
  .hero { padding: 45px 0; }
}
