/* ==========================================================================
   Likaiside Electric Vehicle — Global Stylesheet
   Domain: https://evehicle.huibai.ltd
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b1116;
  --ink-2: #121b22;
  --ink-3: #1a252d;
  --slate: #43535f;
  --muted: #6d7d89;
  --line: #e3e8ec;
  --line-dark: rgba(255, 255, 255, 0.1);
  --paper: #ffffff;
  --paper-2: #f6f8f9;
  --paper-3: #eef2f4;
  --brand: #0f7a5c;
  --brand-2: #12a077;
  --brand-3: #0a5c45;
  --accent: #c9a25a;
  --accent-2: #e0c48c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 17, 22, 0.05), 0 2px 8px rgba(11, 17, 22, 0.04);
  --shadow: 0 4px 12px rgba(11, 17, 22, 0.07), 0 12px 32px rgba(11, 17, 22, 0.06);
  --shadow-lg: 0 12px 28px rgba(11, 17, 22, 0.1), 0 28px 64px rgba(11, 17, 22, 0.1);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brand); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--brand-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.05rem; letter-spacing: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.74); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a { color: var(--accent-2); }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.center { text-align: center; }

/* ---------- Eyebrow / Section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.755rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}
.section--ink .eyebrow { color: var(--accent-2); }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { margin-bottom: 0; font-size: 1.045rem; color: var(--muted); }
.section--ink .section-head p { color: rgba(255, 255, 255, 0.62); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.945rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(15, 122, 92, 0.28); }
.btn--primary:hover { background: var(--brand-2); color: #fff; box-shadow: 0 12px 28px rgba(18, 160, 119, 0.34); }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(11, 17, 22, 0.22); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-2); color: var(--ink); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.38); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

.btn--sm { padding: 11px 22px; font-size: 0.87rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar ul { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, 0.68); }
.topbar a:hover { color: var(--accent-2); }
.topbar .dot { color: var(--brand-2); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 17, 22, 0.08); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.06rem; color: var(--ink); letter-spacing: -0.02em; }
.brand-text span { font-size: 0.685rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.925rem;
  font-weight: 550;
  color: var(--ink-2);
}
.nav-links > li > a:hover { color: var(--brand); background: var(--paper-3); }
.nav-links > li > a.is-active { color: var(--brand); }
.nav-links > li > a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 6px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s;
  content: "";
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/banner.jpg") center 42% / cover no-repeat;
  transform: scale(1.02);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 14, 19, 0.94) 0%, rgba(6, 14, 19, 0.82) 42%, rgba(6, 14, 19, 0.42) 68%, rgba(6, 14, 19, 0.3) 100%);
}
.hero-inner { padding: clamp(70px, 9vw, 132px) 0 clamp(64px, 8vw, 118px); max-width: 720px; }
.hero h1 { color: #fff; text-wrap: balance; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: clamp(1.02rem, 1.5vw, 1.16rem); max-width: 600px; margin-bottom: 30px; }
.hero .eyebrow { color: var(--accent-2); }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 52px);
  margin-top: clamp(38px, 5vw, 58px);
  padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid var(--line-dark);
}
.hero-stats div { min-width: 96px; }
.hero-stats strong {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 750;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero-stats span { font-size: 0.79rem; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  isolation: isolate;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/banner.jpg") center 45% / cover no-repeat;
  opacity: 0.5;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(96deg, rgba(6, 14, 19, 0.95), rgba(6, 14, 19, 0.72) 60%, rgba(6, 14, 19, 0.5));
}
.page-banner .wrap { padding: clamp(48px, 6vw, 82px) 24px; }
.page-banner h1 { color: #fff; margin-bottom: 12px; max-width: 820px; }
.page-banner p { max-width: 680px; margin: 0; font-size: 1.04rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.815rem;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.78); }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: rgba(255, 255, 255, 0.35); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li { display: flex; align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(15, 122, 92, 0.32); }

.p-card { display: flex; flex-direction: column; height: 100%; }
.p-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
  overflow: hidden;
}
.p-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.p-card:hover .thumb img { transform: scale(1.055); }
.p-card .tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(11, 17, 22, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.p-card .body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.p-card h3 { font-size: 1.075rem; margin-bottom: 8px; }
.p-card h3 a { color: var(--ink); }
.p-card h3 a:hover { color: var(--brand); }
.p-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.p-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.p-card .meta span {
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--paper-3);
  color: var(--slate);
  font-size: 0.735rem;
  font-weight: 600;
}
.p-card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.855rem;
  font-weight: 650;
  color: var(--brand);
}
.p-card .more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.p-card:hover .more svg { transform: translateX(4px); }

.more svg { width: 15px; height: 15px;  }

/* ---------- Feature / value cards ---------- */
.v-card {
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.v-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(15, 122, 92, 0.3); }
.v-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(15, 122, 92, 0.12), rgba(201, 162, 90, 0.14));
  color: var(--brand);
}
.v-card .ico svg { width: 24px; height: 24px; }
.v-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.v-card p { margin: 0; font-size: 0.925rem; color: var(--muted); }
.section--ink .v-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-dark);
}
.section--ink .v-card p { color: rgba(255, 255, 255, 0.64); }

/* ---------- Split / media ---------- */
.split {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .badge {
  position: absolute;
  bottom: 18px; left: 18px;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(11, 17, 22, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.split-media .badge strong { display: block; font-size: 1.35rem; line-height: 1.1; letter-spacing: -0.02em; }
.split-media .badge span { font-size: 0.735rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }

.checklist { display: grid; gap: 14px; margin: 26px 0 30px; }
.checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 0.955rem;
  color: var(--slate);
}
.checklist li strong {  font-weight: 650; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: rgba(15, 122, 92, 0.1);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px; top: 10px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { padding: clamp(22px, 3vw, 34px) clamp(16px, 2vw, 28px); background: var(--paper); }
.stats strong { display: block; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 750; color: var(--ink); letter-spacing: -0.035em; line-height: 1.05; }
.stats strong span { color: var(--brand); }
.stats p { margin: 6px 0 0; font-size: 0.845rem; color: var(--muted); }

/* ---------- Product filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--slate);
  font-size: 0.865rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { margin-left: auto; align-self: center; font-size: 0.845rem; color: var(--muted); }

/* ---------- Product detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
}
.pd-media {
  position: sticky;
  top: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.pd-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pd-media .cap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
  color: var(--muted);
}
.pd-media .cap span { display: inline-flex; align-items: center; gap: 6px; }
.pd-media .cap span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
}

.pd-info h1 { margin-bottom: 14px; }
.pd-tagline { font-size: 1.03rem; color: var(--slate); margin-bottom: 22px; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pd-badges span {
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(15, 122, 92, 0.08);
  color: var(--brand-3);
  font-size: 0.755rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pd-highlights { display: grid; gap: 12px; margin: 0 0 28px; }
.pd-highlights li {
  position: relative;
  padding-left: 28px;
  font-size: 0.945rem;
  color: var(--slate);
}
.pd-highlights li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 30px; font-size: 0.915rem; }
.spec-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 12px;
  font-size: 0.755rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { width: 42%; font-weight: 600; color: var(--slate); background: var(--paper-2); }
.spec-table td { color: var(--ink); font-weight: 550; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }

.pd-body { margin-top: clamp(40px, 5vw, 64px); }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; font-size: 1.14rem; }
.prose p { color: var(--slate); }
.prose ul { margin: 0 0 1.3em; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 24px; color: var(--slate); }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 3px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, var(--brand-3) 0%, var(--brand) 58%, #0d8f69 100%);
  color: rgba(255, 255, 255, 0.85);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
  z-index: -1;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding-top: clamp(44px, 5.5vw, 68px);
  padding-bottom: clamp(44px, 5.5vw, 68px);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.82); max-width: 620px; }
.cta-band .btn-row { flex: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.faq-item.is-open { border-color: rgba(15, 122, 92, 0.38); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 1.005rem;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.45;
}
.faq-q:hover { color: var(--brand); }
.faq-q .plus {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
  margin-top: 3px;
  color: var(--brand);
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.faq-q .plus::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq-q .plus::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-item.is-open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a > div { padding: 0 22px 22px; color: var(--slate); font-size: 0.945rem; }
.faq-a > div p:last-child { margin-bottom: 0; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 4.5vw, 60px); align-items: start; }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.845rem;
  font-weight: 600;
  color: var(--ink);
}
.field label .req { color: #c0392b; margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-size: 0.945rem;
  color: var(--ink);
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236d7d89' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 122, 92, 0.12);
}
.field .err { display: none; margin-top: 6px; font-size: 0.79rem; color: #c0392b; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; background: #fdf3f2; }
.field.has-error .err { display: block; }
.form-note { margin: 14px 0 0; font-size: 0.795rem; color: var(--muted); }

.alert {
  display: none;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  line-height: 1.55;
}
.alert.is-visible { display: flex; }
.alert--ok { background: rgba(15, 122, 92, 0.08); border: 1px solid rgba(15, 122, 92, 0.3); color: var(--brand-3); }
.alert--err { background: #fdf3f2; border: 1px solid rgba(192, 57, 43, 0.28); color: #a83226; }
.alert .ai { flex: none; width: 21px; height: 21px; margin-top: 1px; }
.alert strong { display: block; margin-bottom: 2px; font-weight: 700; }

.contact-aside { display: grid; gap: 22px; }
.info-card {
  padding: 26px 26px;
  background: var(--ink);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.72);
}
.info-card h3 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.info-list { display: grid; gap: 16px; }
.info-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.915rem; }
.info-list .ico {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-2);
}
.info-list .ico svg { width: 16px; height: 16px; }
.info-list b { display: block; color: #fff; font-size: 0.79rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(48px, 6vw, 76px) 0 clamp(34px, 4vw, 48px);
}
.site-footer h4 {
  color: #fff;
  font-size: 0.79rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.footer-brand strong { color: #fff; font-size: 1rem; display: block; line-height: 1.3; }
.footer-brand span { font-size: 0.69rem; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(255, 255, 255, 0.42); }
.site-footer p { color: rgba(255, 255, 255, 0.55); font-size: 0.885rem; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer li { font-size: 0.885rem; }
.site-footer a { color: rgba(255, 255, 255, 0.66); }
.site-footer a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.805rem;
  color: rgba(255, 255, 255, 0.42);
}
.footer-bottom p { margin: 0; font-size: 0.805rem; color: rgba(255, 255, 255, 0.42); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-main .f-contact { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(11, 17, 22, 0.1);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > li > a { padding: 13px 10px; font-size: 1rem; border-bottom: 1px solid var(--paper-3); }
  .nav-links > li > a.is-active::after { display: none; }
  .nav-cta .btn { display: none; }
  .split, .pd-grid, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .pd-media { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .page-banner .wrap { padding-left: 18px; padding-right: 18px; }
  .topbar ul { gap: 14px; }
  .topbar .t-hide { display: none; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .cta-band .btn-row { width: 100%; }
  .cta-band .btn { flex: 1 1 auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main .f-brand { grid-column: 1 / -1; }
  .filter-count { margin-left: 0; width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: 0.875rem; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; }
  .spec-table tr { border-bottom: 1px solid var(--line); padding: 4px 0; }
  .spec-table th, .spec-table td { border: 0; width: 100%; }
  .spec-table th { background: transparent; padding-bottom: 0; font-size: 0.755rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .spec-table td { padding-top: 3px; font-weight: 600; }
  .spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 0; }
}

@media (max-width: 480px) {
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: 0.97rem; }
  .btn { width: 100%; }
  .hero-stats { gap: 18px 26px; }
  .hero-stats div { min-width: 78px; }
  .p-card .body { padding: 17px 18px 19px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .topbar, .cta-band, .site-footer, .nav-toggle, .filter-bar { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero { background: none; color: #000; }
  .hero::before, .hero-bg { display: none; }
  .hero h1 { color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
