:root {
  --navy: #0c1e35;
  --navy-2: #132a47;
  --steel: #1d4e89;
  --blue: #1d4ed8;
  --accent: #e08a1e;
  --accent-2: #f4b942;
  --bg: #f3f5f8;
  --card: #ffffff;
  --text: #1a2332;
  --muted: #5c6775;
  --line: #dce3ec;
  --ok: #0f766e;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(12, 30, 53, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 99; }

.topbar {
  background: var(--navy);
  color: #d7e2f0;
  font-size: 13px;
}
.topbar .wrap {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; flex-wrap: wrap;
}
.topbar a { color: #fff; }
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; gap: 20px;
}
.logo { display: flex; align-items: center; color: inherit; text-decoration: none; }
.logo img { width: auto; height: 58px; max-width: 280px; object-fit: contain; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .drop > span {
  display: block; padding: 10px 12px; color: var(--navy); font-weight: 600; font-size: 15px;
}
.nav > a:hover, .nav .drop:hover > span { color: var(--blue); text-decoration: none; }
.drop { position: relative; }
.drop-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px 0; border-radius: 10px;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: 9px 16px; color: var(--text); }
.drop-menu a:hover { background: #eef3fb; text-decoration: none; color: var(--blue); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 8px; padding: 11px 16px; font-weight: 700;
  cursor: pointer; text-decoration: none !important;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #c67612; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.menu-btn {
  display: none; border: 1px solid var(--line); background: #fff;
  padding: 8px 10px; border-radius: 8px; font-weight: 700;
}

.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 460px;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .7s ease, transform 6s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 84px 0 76px;
  background: linear-gradient(90deg, rgba(12,30,53,.86) 0%, rgba(12,30,53,.52) 46%, rgba(12,30,53,.18) 100%);
}
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); max-width: 780px; }
.hero p { color: #e6edf6; max-width: 680px; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn-line:hover { background: #fff; color: var(--navy); }
.hero-arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 44px; height: 44px; margin-top: -22px;
  border: 0; border-radius: 50%;
  background: rgba(8,21,36,.45); color: #fff;
  font-size: 28px; line-height: 1; cursor: pointer;
}
.hero-arrow:hover { background: rgba(8,21,36,.72); }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.hero-dots button.is-active { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .3s ease; transform: none; }
}
.trust {
  background: #fff; border-bottom: 1px solid var(--line);
}
.trust .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px 0;
}
.trust article { text-align: center; }
.trust strong { display: block; color: var(--navy); }
.trust span { color: var(--muted); font-size: 14px; }

.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 28px; }
.kicker { color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); color: inherit; text-decoration: none;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); text-decoration: none; }
.card img { width: 100%; height: 190px; object-fit: cover; background: #eef2f6; }
.card-body { padding: 16px 16px 18px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.cat-card img { height: 168px; }

.about-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.about-split ul { margin: 0 0 1em; padding-left: 1.2em; }
.about-split h3 { margin: 1em 0 .4em; color: var(--navy); }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos img { border-radius: 10px; height: 180px; width: 100%; object-fit: cover; }
.why { background: var(--navy); color: #d9e4f2; }
.why h2, .why h3 { color: #fff; }
.why .grid-3 article {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 22px;
}
.cta-band {
  background: linear-gradient(90deg, var(--steel), var(--navy));
  color: #fff; padding: 48px 0;
}
.cta-band h2 { color: #fff; }
.cta-band .wrap { display: flex; justify-content: space-between; gap: 20px; align-items: center; }

.page-hero { background: var(--navy); color: #fff; padding: 42px 0 36px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c9d6e8; max-width: 760px; }
.crumbs { font-size: 13px; color: #9fb1c8; margin-bottom: 10px; }
.crumbs a { color: #d7e6ff; }

.product { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; }
.gallery { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.gallery-main { width: 100%; height: 420px; object-fit: contain; background: #f7f9fc; border-radius: 8px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { border: 1px solid var(--line); background: #fff; padding: 0; border-radius: 8px; cursor: pointer; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.specs { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.specs p, .excerpt p { margin: 0 0 8px; }
.rich :is(h2,h3) { margin-top: 1.2em; }
.rich table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; background: #fff; font-size: 14px; }
.rich th, .rich td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.rich th { background: #eef3fb; color: var(--navy); }
.inquiry { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.contact-card, form {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px;
}
label { display: block; font-weight: 700; margin: 12px 0 6px; }
input, textarea, select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit;
}
textarea { min-height: 130px; resize: vertical; }

.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-status a { color: #047857; font-weight: 700; }
.records-toolbar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin-bottom: 16px;
}
.records-toolbar input[type="search"] { max-width: 280px; margin: 0; }
.btn-small { padding: 7px 10px; font-size: 13px; font-weight: 600; }
.records-table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.records-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.records-table th, .records-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.records-table th { background: #eef3fb; color: var(--navy); white-space: nowrap; }
.records-table td.msg { max-width: 280px; white-space: pre-wrap; word-break: break-word; }
.records-empty { padding: 28px; color: var(--muted); }

.footer { background: #081524; color: #b7c4d4; padding: 46px 0 18px; }
.footer a { color: #dce7f5; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 24px; }
.footer h3 { color: #fff; font-size: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 8px; }
.copy { border-top: 1px solid #1c2c40; margin-top: 28px; padding-top: 14px; font-size: 13px; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .about-split, .product, .contact-grid, .footer-grid, .trust .wrap { grid-template-columns: 1fr 1fr; }
  .gallery-main { height: 300px; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    padding: 10px 16px 16px; align-items: stretch;
  }
  .nav.open { display: flex; }
  .drop-menu { position: static; box-shadow: none; border: 0; }
  .grid-3, .grid-4, .about-split, .product, .contact-grid, .footer-grid, .trust .wrap, .cta-band .wrap {
    grid-template-columns: 1fr;
  }
  .hero, .hero-copy { min-height: 380px; }
  .hero-copy { padding: 56px 0; }
  .hero-arrow { width: 36px; height: 36px; margin-top: -18px; font-size: 22px; }
  .header-in { min-height: 70px; }
  .logo img { height: 46px; max-width: 200px; }
}
