/* ==========================================================================
   CR ELECTRICALS — CR Switches & Accessories
   Mobile-first stylesheet
   ========================================================================== */

:root {
  --paper: #f7f6f2;
  --card: #ffffff;
  --ink: #17181c;
  --ink-2: #3c3f45;
  --muted: #71757d;
  --line: #e8e6e0;
  --brand: #c8102e;
  --brand-dark: #9e0c24;
  --gold: #c99a3f;
  --deep: #101114;
  --deep-2: #1a1c21;
  --wa: #25d366;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 25, 0.06), 0 2px 8px rgba(20, 20, 25, 0.05);
  --shadow-md: 0 2px 6px rgba(20, 20, 25, 0.07), 0 12px 32px rgba(20, 20, 25, 0.10);
  --shadow-lg: 0 6px 16px rgba(20, 20, 25, 0.12), 0 24px 64px rgba(20, 20, 25, 0.16);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: #f6d8de; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } }

/* ---------- type ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.sec-title { font-size: clamp(26px, 4.4vw, 40px); margin: 12px 0 10px; }
.sec-sub { color: var(--muted); max-width: 620px; font-size: clamp(15px, 2vw, 17px); }
.sec-head { margin-bottom: clamp(24px, 4vw, 44px); }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin-inline: auto; }
.sec-head.center .eyebrow::before { display: none; }
section { padding: clamp(52px, 8vw, 96px) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 800; letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn:active { transform: scale(0.97); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(200, 16, 46, 0.28); }
.btn-brand:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-light { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-light:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.30); }
.btn-wa:hover { background: #1fb857; transform: translateY(-1px); }

/* ---------- top bar ---------- */
.topbar { background: var(--deep); color: #cfd2d8; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 8px; gap: 12px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #cfd2d8; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 20px; }
.topbar .tag { color: var(--gold); font-weight: 700; letter-spacing: 0.06em; }
@media (max-width: 720px) { .topbar .tag { display: none; } .topbar .tb-right { width: 100%; justify-content: space-between; } }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(20, 20, 25, 0.06);
  transition: box-shadow 0.25s ease;
}
header.site.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .cr-mark { flex: none; }
.logo .lg-name { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.logo .lg-sub { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 700; font-size: 15px; color: var(--ink-2); position: relative; padding-block: 6px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; align-items: center; justify-content: center; flex: none;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative; transition: all 0.25s ease;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links, .nav-cta .btn-call { display: none; }
  .burger { display: flex; }
}
@media (max-width: 560px) {
  .logo .lg-name { font-size: 16.5px; }
  .logo .lg-sub { font-size: 8.5px; letter-spacing: 0.11em; }
  .logo .cr-mark { width: 40px; height: auto; }
  /* icon-only WhatsApp button so the logo fits on one line */
  .nav-cta .btn-wa { font-size: 0; gap: 0; padding: 12px; border-radius: 50%; }
  .nav-cta .btn-wa svg { width: 19px; height: 19px; }
  .mm-panel { padding-top: 100px; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; pointer-events: none;
}
.mobile-menu .mm-bg {
  position: absolute; inset: 0; background: rgba(12, 12, 16, 0.45);
  opacity: 0; transition: opacity 0.28s ease;
}
.mobile-menu .mm-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(340px, 86vw);
  background: #fff; padding: 92px 28px 28px; display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-lg); overflow-y: auto;
}
body.menu-open .mobile-menu { pointer-events: auto; }
body.menu-open .mobile-menu .mm-bg { opacity: 1; }
body.menu-open .mobile-menu .mm-panel { transform: translateX(0); }
.mm-panel a.mm-link {
  font-size: 19px; font-weight: 800; padding: 13px 6px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; color: var(--ink);
}
.mm-panel a.mm-link:hover { color: var(--brand); }
.mm-panel .mm-contact { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.mm-panel .mm-contact .btn { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; padding: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 85% 8%, rgba(200, 16, 46, 0.24), transparent 60%),
    radial-gradient(700px 420px at -8% 100%, rgba(201, 154, 63, 0.16), transparent 55%);
}
.hero .hero-main {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-block: clamp(56px, 9vw, 120px);
}
.hero h1 { font-size: clamp(34px, 5.6vw, 62px); margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: #b9bdc6; font-size: clamp(15.5px, 2.2vw, 18px); max-width: 520px; }
.hero .hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: #e6e8ec;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 16px; border-radius: 999px;
}
.hero .hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2); }
.hero-visual { position: relative; }
.hero-visual .hv-img {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.hero-visual .hv-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.hero-visual .hv-chip {
  position: absolute; left: -14px; bottom: 26px; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 14px;
}
.hero-visual .hv-chip .n { font-size: 20px; color: var(--brand); }
.hero-stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stats > div { padding: 22px 10px; text-align: center; }
.hero-stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.hero-stats .n { font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: #fff; }
.hero-stats .l { font-size: 12.5px; color: #9aa0ab; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 880px) {
  .hero .hero-main { grid-template-columns: 1fr; padding-block: 48px 56px; }
  .hero-visual .hv-img { transform: none; }
  .hero-visual .hv-img img { aspect-ratio: 16 / 10; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(3) { border-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.12); }
}

/* ---------- series cards ---------- */
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .series-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .series-grid { grid-template-columns: 1fr; } }
.series-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.series-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.series-card .sc-img { aspect-ratio: 16 / 10; overflow: hidden; background: #eceae4; }
.series-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.series-card:hover .sc-img img { transform: scale(1.05); }
.series-card .sc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.series-card h3 { font-size: 20px; }
.series-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.series-card .sc-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px;
  color: var(--brand); margin-top: 6px;
}
.series-card .sc-link svg { transition: transform 0.2s ease; }
.series-card:hover .sc-link svg { transform: translateX(4px); }
.series-card .sc-badge {
  position: absolute; top: 14px; left: 14px; background: rgba(16, 17, 20, 0.82); color: #fff;
  backdrop-filter: blur(6px); font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 7px 13px; border-radius: 999px;
}
.series-card .sc-badge.new { background: var(--brand); }

/* ---------- finishes band ---------- */
.finishes { background: var(--deep); color: #fff; }
.finishes .sec-sub { color: #9aa0ab; }
.finish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 780px) { .finish-grid { grid-template-columns: 1fr; } }
.finish-card { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-md); }
.finish-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.finish-card:hover img { transform: scale(1.04); }
.finish-card .fc-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(10, 10, 14, 0.78));
  font-weight: 800; letter-spacing: 0.02em; font-size: 17px; color: #fff;
}

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
@media (max-width: 560px) { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.prod-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer; position: relative;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8d5cd; }
.prod-card .pc-img { background: #fff; aspect-ratio: 1; padding: 12px; }
.prod-card .pc-img img { width: 100%; height: 100%; object-fit: contain; }
.prod-card .pc-body { padding: 12px 14px 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card .pc-code {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--brand);
  text-transform: uppercase;
}
.prod-card h3 { font-size: 14.5px; font-weight: 700; line-height: 1.35; letter-spacing: 0; flex: 1; }
.prod-card .pc-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.prod-card .pc-meta span {
  font-size: 11px; font-weight: 700; color: var(--muted); background: var(--paper);
  border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px;
}
.prod-card .pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; gap: 8px; }
.prod-card .pc-price { font-size: 16px; font-weight: 800; }
.prod-card .pc-price small { font-size: 10.5px; font-weight: 700; color: var(--muted); display: block; letter-spacing: 0.05em; }
.prod-card .pc-wa {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--wa);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35); transition: transform 0.18s ease;
}
.prod-card .pc-wa:hover { transform: scale(1.1); }
.prod-card .pc-wa svg { width: 19px; height: 19px; fill: #fff; }

/* ---------- why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.why-card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: #fbeaed; color: var(--brand); margin-bottom: 16px;
}
.why-card h3 { font-size: 17px; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0; }
.cta-band .inner {
  position: relative; overflow: hidden; border-radius: 22px;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, #e04a2f);
  color: #fff; padding: clamp(36px, 6vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(200, 16, 46, 0.35);
}
.cta-band .inner::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; border: 44px solid rgba(255, 255, 255, 0.12);
}
.cta-band h2 { font-size: clamp(24px, 3.6vw, 36px); position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-top: 8px; max-width: 480px; position: relative; }
.cta-band .btn { position: relative; }
.cta-band .btn-light { border: 0; }

/* ---------- footer ---------- */
footer.site {
  background: var(--deep); color: #a7abb4; padding: clamp(48px, 7vw, 72px) 0 0; font-size: 14.5px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0.04em; }
footer.site ul { list-style: none; display: grid; gap: 10px; }
footer.site a:hover { color: #fff; }
footer.site .f-about p { margin-top: 14px; max-width: 320px; line-height: 1.7; }
footer.site .f-contact li { display: flex; gap: 10px; align-items: flex-start; }
footer.site .f-contact svg { flex: none; margin-top: 3px; color: var(--gold); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #7c818b;
}
.foot-bottom .cr-line { color: var(--gold); font-weight: 700; letter-spacing: 0.08em; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }
.wa-fab .pulse {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--deep); color: #fff; padding: clamp(44px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 90% 0%, rgba(200, 16, 46, 0.25), transparent 60%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(30px, 5vw, 48px); margin-top: 14px; }
.page-hero p { color: #b9bdc6; margin-top: 12px; max-width: 640px; }
.crumbs { font-size: 13px; font-weight: 700; color: #9aa0ab; letter-spacing: 0.04em; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; color: #565b64; }

/* ---------- products page ---------- */
.filterbar {
  position: sticky; top: 71px; z-index: 40; background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.filterbar .rows { display: grid; gap: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 18px; font-size: 13.5px; font-weight: 800; color: var(--ink-2);
  flex: none; transition: all 0.18s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.chip-finish.on { background: var(--brand); border-color: var(--brand); }
.searchrow { display: flex; gap: 10px; align-items: center; }
.searchbox { position: relative; flex: 1; max-width: 420px; }
.searchbox input {
  width: 100%; padding: 11px 16px 11px 42px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink);
  outline: none; transition: border 0.18s ease;
}
.searchbox input:focus { border-color: var(--ink); }
.searchbox svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.result-count { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }

.catalog { padding: clamp(28px, 4vw, 48px) 0 72px; }
.cat-group { margin-bottom: 40px; }
.cat-group h2 {
  font-size: 18px; letter-spacing: 0.02em; margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.cat-group h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cat-group h2 .count { font-size: 12px; color: var(--muted); font-weight: 700; }
.series-intro {
  display: flex; gap: 20px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.series-intro img { width: 130px; height: 90px; object-fit: cover; border-radius: 10px; flex: none; }
.series-intro h2 { font-size: 21px; }
.series-intro p { color: var(--muted); font-size: 14px; max-width: 640px; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state strong { display: block; font-size: 20px; color: var(--ink); margin-bottom: 6px; }

/* ---------- product modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal.open { display: block; }
.modal .m-bg { position: absolute; inset: 0; background: rgba(12, 12, 16, 0.55); backdrop-filter: blur(4px); }
.modal .m-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 28px)); max-height: min(86vh, 720px); overflow-y: auto;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 300px 1fr;
  animation: pop 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes pop { from { transform: translate(-50%, -47%) scale(0.96); opacity: 0; } }
.modal .m-img { background: #fff; border-right: 1px solid var(--line); padding: 26px; display: flex; align-items: center; }
.modal .m-img img { width: 100%; object-fit: contain; }
.modal .m-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.modal .m-code { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--brand); text-transform: uppercase; }
.modal h3 { font-size: 22px; }
.modal .m-series { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.modal .spec { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 4px; }
.modal .spec div { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 14px; }
.modal .spec div + div { border-top: 1px solid var(--line); }
.modal .spec dt { color: var(--muted); font-weight: 600; }
.modal .spec dd { font-weight: 800; }
.modal .m-price { font-size: 26px; font-weight: 800; }
.modal .m-price small { font-size: 12px; color: var(--muted); font-weight: 700; display: block; }
.modal .m-cta { display: grid; gap: 10px; margin-top: 4px; }
.modal .m-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--paper); font-size: 17px; font-weight: 800; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.modal .m-close:hover { background: var(--line); }
@media (max-width: 640px) {
  .modal .m-card { grid-template-columns: 1fr; }
  .modal .m-img { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .modal .m-img img { max-height: 200px; margin-inline: auto; }
}

/* ---------- about page ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid .ag-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-grid .ag-img img { width: 100%; object-fit: cover; }
.about-grid p + p { margin-top: 14px; }
.about-grid p { color: var(--ink-2); }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks svg { flex: none; color: var(--wa); margin-top: 4px; }

.net-band { background: var(--deep); color: #fff; }
.net-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .net-grid { grid-template-columns: 1fr; } }
.net-card {
  background: var(--deep-2); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: var(--radius);
  padding: 28px 26px;
}
.net-card .ic { width: 50px; height: 50px; border-radius: 13px; background: rgba(200, 16, 46, 0.18); color: #ff8fa2; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.net-card h3 { font-size: 18px; margin-bottom: 6px; }
.net-card p { color: #9aa0ab; font-size: 14.5px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.c-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.c-card + .c-card { margin-top: 18px; }
.c-card h3 { font-size: 18px; margin-bottom: 14px; }
.c-list { list-style: none; display: grid; gap: 16px; }
.c-list li { display: flex; gap: 14px; align-items: flex-start; }
.c-list .ic {
  width: 44px; height: 44px; border-radius: 12px; background: #fbeaed; color: var(--brand);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.c-list .l { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.c-list .v { font-weight: 700; font-size: 15.5px; }
.c-list a.v:hover { color: var(--brand); }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 21px; }
.form-card .fc-sub { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }
.f-field { display: grid; gap: 6px; }
.f-field.full { grid-column: 1 / -1; }
.f-field label { font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.f-field input, .f-field select, .f-field textarea {
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border 0.15s ease;
  width: 100%;
}
.f-field textarea { resize: vertical; min-height: 100px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--ink); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; display: flex; gap: 8px; align-items: center; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- utility ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.center { text-align: center; }
