:root {
  --navy: #12365e;
  --navy-dark: #0c2540;
  --navy-mid: #1c4a7c;
  --accent: #c8102e;
  --accent-dark: #9c0c24;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --line: #e2e7ee;
  --text: #1d2733;
  --muted: #5b6b7c;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(12, 37, 64, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

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

a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: 0.5px;
  flex-shrink: 0;
}
.brand-mark span { color: var(--accent); }
.brand-text { line-height: 1.2; }
.brand-text b { display: block; font-size: 17px; color: var(--navy); }
.brand-text small { font-size: 11.5px; color: var(--muted); }

.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-weight: 500; color: var(--text); font-size: 15px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: #eef2f7; color: var(--navy); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 10px 18px !important; border-radius: 8px !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: #fff;
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero h1 { font-size: 40px; line-height: 1.2; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #ff9b3e; }
.hero p { font-size: 18px; color: #d7e1ec; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  font-weight: 600; font-size: 15.5px; transition: background 0.15s;
}
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.55); color: #fff !important; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy) !important; }
.btn-outline:hover { background: var(--navy); color: #fff !important; }

/* ---------- Page banner ---------- */
.page-banner {
  background: var(--navy); color: #fff; padding: 46px 0;
}
.page-banner h1, .page-banner .banner-title { font-size: 30px; font-weight: 700; line-height: 1.25; margin: 0; }
.page-banner p { color: #c9d6e4; margin-top: 6px; max-width: 760px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 18px; }
.faq details {
  border-bottom: 1px solid #e3e8ee; padding: 14px 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--navy); font-size: 16.5px;
  list-style: none; position: relative; padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: -2px;
  font-size: 22px; font-weight: 400; color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 8px; }

.breadcrumb {
  font-size: 13.5px; color: var(--muted); padding: 14px 0 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; color: #b7c1cc; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker {
  color: var(--accent); font-weight: 700; font-size: 13px;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.section-head h2 { font-size: 30px; color: var(--navy); margin: 8px 0 12px; }
.section-head p { color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: var(--navy-dark); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 30px; color: #ff9b3e; }
.stat span { font-size: 14px; color: #c9d6e4; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.15s, transform 0.15s;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card img { height: 230px; width: 100%; object-fit: cover; }
.cat-card .pad { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.cat-card p { font-size: 14px; color: var(--muted); flex: 1; }
.cat-card .more { margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--accent); }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.prod-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.15s, transform 0.15s;
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prod-card img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: contain;
  background: #f4f7fa; border-bottom: 1px solid var(--line);
  transition: transform 0.35s ease;
}
.prod-card:hover img { transform: scale(1.03); }
.prod-card .pad { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.prod-card .model { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 0.4px; }
.prod-card h3 { font-size: 19px; color: var(--navy); margin: 5px 0 7px; line-height: 1.35; }
.prod-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.prod-card .more { margin-top: 12px; font-weight: 600; font-size: 14px; }

/* ---------- Feature blocks ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
}
.feat .ico {
  width: 46px; height: 46px; border-radius: 10px; background: #eef2f7;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feat .ico svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.8; }
.feat h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--muted); }

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }
.two-col h2 { font-size: 28px; color: var(--navy); margin-bottom: 14px; }
.two-col p { color: var(--muted); margin-bottom: 14px; }
.check-list { list-style: none; margin: 18px 0 24px; }
.check-list li { padding: 7px 0 7px 32px; position: relative; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 16px; height: 9px; border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}

/* ---------- Product detail ---------- */
.detail-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
.gallery-main {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #f4f7fa; aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumbs img {
  width: 124px; height: 88px; object-fit: cover; border-radius: 6px;
  border: 2px solid var(--line); cursor: pointer; opacity: 0.8;
}
.gallery-thumbs img.current { border-color: var(--accent); opacity: 1; }

.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(8, 20, 34, 0.92);
  align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 6px; background: #fff; }
.lightbox .close {
  position: absolute; top: 18px; right: 24px; width: 42px; height: 42px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,0.14); color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.lightbox .close:hover { background: rgba(255,255,255,0.28); }
.detail-info .model { color: var(--accent); font-weight: 700; font-size: 13.5px; letter-spacing: 0.5px; }
.detail-info h1 { font-size: 28px; color: var(--navy); margin: 6px 0 14px; line-height: 1.3; }
.detail-info .lead { color: var(--muted); margin-bottom: 20px; }
.hl-list { list-style: none; margin-bottom: 24px; }
.hl-list li { padding: 6px 0 6px 30px; position: relative; }
.hl-list li::before {
  content: ""; position: absolute; left: 3px; top: 13px;
  width: 16px; height: 9px; border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.spec-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.spec-table caption {
  text-align: left; font-weight: 700; color: var(--navy); font-size: 17px; padding: 0 0 12px;
}
.spec-table th, .spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; text-align: left; vertical-align: top; }
.spec-table th { width: 42%; background: #f0f4f8; color: var(--navy); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.content-block h2 { font-size: 22px; color: var(--navy); margin: 34px 0 12px; }
.content-block p { color: var(--muted); margin-bottom: 12px; }
.content-block ul { margin: 0 0 14px 20px; color: var(--muted); }
.content-block li { margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.info-card h2 { font-size: 20px; color: var(--navy); margin-bottom: 18px; }
.info-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .lab { width: 150px; flex-shrink: 0; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.info-row .val { color: var(--muted); font-size: 14.5px; }
.info-row .val a { display: block; }

.quote-form { display: grid; gap: 14px; }
.quote-form label { font-size: 13.5px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 5px; }
.quote-form input, .quote-form textarea, .quote-form select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 14.5px; background: #fbfcfe;
}
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus {
  outline: none; border-color: var(--navy-mid); background: #fff;
}
.form-note { font-size: 12.5px; color: var(--muted); }
.quote-form .req { color: #c0392b; }
.quote-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.quote-form button[type=submit] { justify-self: start; }
.quote-form button[disabled] { opacity: 0.65; cursor: wait; }
.form-status { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-status:empty { display: none; }
.form-status.is-error { color: #b3261e; background: #fdf2f1; border-left: 3px solid #b3261e; padding: 9px 12px; }

/* ---------- Thank-you page ---------- */
.thanks-card { padding: 40px 36px; }
.thanks-mark {
  width: 56px; height: 56px; border-radius: 50%; background: #e8f6ee; color: #1e8e4e;
  display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700;
  margin-bottom: 18px;
}
.thanks-card h2 { font-size: 24px; margin-bottom: 12px; }
.thanks-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.thanks-h3 { font-size: 16px; color: var(--navy); margin: 26px 0 10px; }
.steps { margin: 0 0 8px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.steps li { margin-bottom: 8px; }
.steps b { color: var(--navy); }
.thanks-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 10px; }
.thanks-card .btn-ghost { border-color: var(--line); color: var(--navy) !important; }
.thanks-card .btn-ghost:hover { background: #f4f7fa; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--navy); color: #fff; padding: 52px 0; }
.cta-strip .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 26px; }
.cta-strip p { color: #c9d6e4; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c7d6; padding: 52px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 38px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9c7d6; }
.site-footer a:hover { color: #fff; }
.footer-about p { margin-top: 12px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cat-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card img { height: 190px; }
  .gallery-main { aspect-ratio: 4 / 3; }
  .two-col, .detail-layout, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px; }
  .nav-toggle { display: block; }
  .cat-grid, .prod-grid, .feat-grid { grid-template-columns: 1fr; }
  .cat-card img { height: 200px; }
  .gallery-main { aspect-ratio: 4 / 3; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 44px 0; }
  .brand-text small { display: none; }
}

/* ---------- Delivery gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gal-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 0; transition: box-shadow 0.15s, transform 0.15s;
}
.gal-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.gal-item img {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  background: #eef2f7; cursor: zoom-in;
}
.gal-item figcaption { padding: 14px 18px 16px; }
.gal-item h3 { font-size: 16.5px; color: var(--navy); margin: 0 0 4px; }
.gal-item p { font-size: 14px; color: var(--muted); margin: 0; }
.section-more { text-align: center; margin-top: 34px; }
.section-more .btn { padding: 11px 24px; font-size: 15px; }

/* ---------- Customer list ---------- */
.cust-list { border-top: 2px solid var(--navy); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.cust-row {
  display: grid; grid-template-columns: 1.5fr 1.6fr 0.7fr 34px;
  align-items: center; gap: 18px; padding: 18px 22px;
  border-bottom: 1px solid var(--line); color: var(--text);
  transition: background 0.12s;
}
.cust-row:last-child { border-bottom: 1px solid var(--line); }
.cust-row:hover { background: #f7f9fc; text-decoration: none; }
.cust-main b { display: block; font-size: 16.5px; color: var(--navy); line-height: 1.35; }
.cust-main span { font-size: 13.5px; color: var(--muted); }
.cust-prod { font-size: 14.5px; color: var(--muted); }
.cust-qty { font-size: 14.5px; color: var(--navy); font-weight: 600; white-space: nowrap; }
.cust-qty span { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.cust-arrow { color: var(--accent); font-size: 18px; text-align: right; }
.cust-note { font-size: 13px; color: var(--muted); margin-top: 20px; text-align: center; }

/* ---------- Customer detail / contracts ---------- */
.cust-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.cust-intro .model { color: var(--accent); font-weight: 700; font-size: 13.5px; letter-spacing: 0.5px; }
.cust-intro .lead { font-size: 16.5px; color: var(--muted); margin: 12px 0 24px; }
.cust-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cust-table th { width: 38%; }
.contract-list { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.contract-shot { margin: 0; max-width: 820px; width: 100%; }
.contract-shot img {
  width: 100%; display: block; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; box-shadow: 0 6px 24px rgba(12, 37, 64, 0.12); cursor: zoom-in;
}
.contract-shot figcaption { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* ---------- Responsive for the new sections ---------- */
@media (max-width: 1120px) {
  .main-nav a { padding: 9px 10px; font-size: 14px; }
  .brand-text small { display: none; }
}
@media (max-width: 980px) {
  .cust-detail { grid-template-columns: 1fr; gap: 24px; }
  .cust-row { grid-template-columns: 1fr 1fr 30px; gap: 10px 14px; }
  .cust-prod { grid-column: 1 / 3; font-size: 13.5px; }
}
@media (max-width: 640px) {
  .gal-grid { grid-template-columns: 1fr; }
  .cust-row { grid-template-columns: 1fr 28px; padding: 16px; }
  .cust-prod, .cust-qty { grid-column: 1; }
  .cust-arrow { grid-row: 1 / 2; grid-column: 2; }
}

/* Panoramic delivery photos span the full row */
.gal-item.wide { grid-column: 1 / -1; }
.gal-item.wide img { aspect-ratio: auto; }
