/* ============================================================
   Meridian Precision Motion — design system v2
   "Precision showroom": cool paper body, dramatic dark hero,
   signal-orange accent, instrument-style data, layered depth.
   ============================================================ */

:root {
  /* color */
  --ink: #0e1520;
  --ink-2: #344054;
  --ink-3: #667085;
  --steel: #0a0f18;
  --steel-2: #141c28;
  --steel-3: #1c2736;
  --paper: #f5f7fa;
  --paper-2: #eef1f5;
  --white: #ffffff;
  --line: #e2e6ec;
  --line-soft: #edf0f4;
  --accent: #ff5a1f;
  --accent-2: #ff8a3d;
  --accent-dark: #e0440f;
  --accent-tint: #fff1ea;
  --grad: linear-gradient(135deg, #ff5a1f 0%, #ff8a3d 100%);
  --blue: #1d4ed8;
  --blue-tint: #eef4ff;

  /* type */
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* rhythm */
  --container: 1160px;
  --gutter: 24px;
  --section: 96px;
  --section-sm: 56px;

  /* depth */
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow-md: 0 6px 16px rgba(16,24,40,.08), 0 2px 4px rgba(16,24,40,.05);
  --shadow-lg: 0 20px 50px rgba(16,24,40,.16);
  --glow: 0 10px 34px rgba(255,90,31,.30);

  --focus: 0 0 0 3px rgba(255,90,31,.35);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
button { font-family: inherit; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 3px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- typography ---------- */
.h-display {
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.h2 {
  font-size: clamp(1.4rem, 2.7vw, 1.9rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.h3 { font-size: 1.14rem; line-height: 1.3; font-weight: 650; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* gradient text for key figures */
.num-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-sm); }
.section--paper { background: var(--paper-2); }
.section--steel { background: var(--steel); color: #c9d1dc; position: relative; overflow: hidden; }
.section--steel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 320px at 82% -20%, rgba(255,90,31,.22), transparent 60%),
              radial-gradient(560px 300px at 6% 120%, rgba(29,78,216,.18), transparent 60%);
  pointer-events: none;
}
.section--steel .container { position: relative; }
.section--steel .h2, .section--steel .h3 { color: #fff; }
.section--steel .muted { color: #8f9aab; }
.section--steel a { color: #ffb98a; }

.section-head { max-width: 48rem; margin-bottom: 40px; }
.section-head .h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-3); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* centerline crosshair marker */
.crossline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--accent-dark);
  margin-bottom: 14px;
  font-weight: 500;
}
.crossline::before {
  content: "";
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 14px no-repeat;
}
.crossline::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 3.5rem; }
.section--steel .crossline { color: #ffb98a; }

/* measurement graduations */
.rule { display: flex; align-items: flex-end; gap: 4px; height: 12px; margin: 0; }
.rule i { flex: 1; height: 1px; background: var(--line); }
.rule i:nth-child(5n + 1) { height: 6px; background: var(--accent); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--steel);
  color: #b9c2ce;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 0;
}
.topbar .announce { color: #ffb25a; font-weight: 500; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .mono { color: #8f9aab; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-right .sep { color: #3a4658; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; color: var(--accent); flex: none; }
.brand-name { display: block; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1; }
.brand-sub { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.07em; color: var(--ink-3); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: inline-block; padding: 8px 12px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; border-radius: 3px;
}
.main-nav a:hover { color: var(--ink); background: var(--paper-2); }
.main-nav a[aria-current="page"] { color: var(--accent-dark); }
.main-nav .nav-cta {
  margin-left: 8px; padding: 10px 18px;
  background: var(--grad); color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px rgba(255,90,31,.32);
}
.main-nav .nav-cta:hover { color: #fff; filter: brightness(1.05); box-shadow: 0 6px 18px rgba(255,90,31,.42); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); cursor: pointer;
  position: relative; border-radius: 4px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- footer ---------- */
.site-footer { background: var(--steel); color: #b9c2ce; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px; padding-block: 64px 48px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7d8796; }
.footer-brand p { margin-top: 16px; font-size: 0.92rem; max-width: 30ch; }
.footer-col h3 {
  color: #fff; font-size: 0.78rem; font-weight: 600;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.footer-col a { display: block; color: #b9c2ce; text-decoration: none; padding: 4px 0; font-size: 0.92rem; }
.footer-col a:hover { color: #ffb98a; }
.footer-contact li { display: flex; gap: 10px; padding: 4px 0; font-size: 0.92rem; }
.footer-contact .mono { color: #e8edf3; }
.footer-bottom {
  border-top: 1px solid var(--steel-2); padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 0.82rem; color: #7d8796;
}
.footer-bottom a { color: #b9c2ce; text-decoration: none; }
.footer-bottom a:hover { color: #ffb98a; }

/* trade strip (payment / shipping / MOQ) */
.trade-strip {
  border-top: 1px solid var(--steel-2);
  padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
}
.trade-strip .t { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em; color: #7d8796; }
.trade-strip .t b { display: block; color: #e8edf3; font-weight: 500; font-size: 0.85rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  cursor: pointer; border-radius: 6px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--steel-2); border-color: var(--steel-2); color: #fff; transform: translateY(-1px); }
.btn--accent { background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.btn--accent:hover { background: var(--grad); border-color: transparent; filter: brightness(1.06); box-shadow: 0 12px 40px rgba(255,90,31,.4); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.btn--light:hover { background: var(--paper-2); border-color: var(--paper-2); color: var(--ink); }
.btn .glyph { font-size: 1.05em; line-height: 1; }

/* ---------- hero (dark, dramatic) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(255,90,31,.28), transparent 60%),
    radial-gradient(700px 400px at -6% 110%, rgba(29,78,216,.24), transparent 55%),
    linear-gradient(180deg, #0a0f18 0%, #0d1420 100%);
  color: #e8edf3;
  border-bottom: 1px solid var(--steel-3);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 48px; align-items: center;
  padding-block: 84px 80px;
}
.hero-copy { max-width: 36rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  color: #ffb25a; margin-bottom: 20px;
  border: 1px solid rgba(255,178,90,.3); background: rgba(255,90,31,.08);
  padding: 7px 14px; border-radius: 999px;
}
.hero-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-copy .h-display { color: #fff; }
.hero-copy .lede { color: #aab6c6; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-family: var(--mono); font-size: 0.78rem; color: #7d8796; }

.hero-spec {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--steel-3); border-radius: 12px;
  background: rgba(255,255,255,.03); backdrop-filter: blur(6px);
  margin-top: 34px; overflow: hidden;
}
.hero-spec > div { padding: 16px 18px; border-bottom: 1px solid var(--steel-3); }
.hero-spec > div:nth-child(odd) { border-right: 1px solid var(--steel-3); }
.hero-spec > div:nth-last-child(-n + 2) { border-bottom: none; }
.hero-spec dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #7d8796; }
.hero-spec dd { font-size: 1.45rem; font-weight: 700; color: #fff; margin: 5px 0 0; }
.hero-spec dd .num-grad { font-weight: 800; }

.hero-visual { position: relative; }
.hero-visual::after {
  content: ""; position: absolute; inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.16), transparent 65%);
  pointer-events: none;
}
.gear-art { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.gear-art .frame-line { stroke: rgba(255,255,255,.14); }
.gear-art .body-fill { fill: #131c2a; stroke: #3a4a61; }
.gear-art .teeth { stroke: #dbe4ee; }
.gear-art .carrier { stroke: rgba(255,255,255,.2); }
.gear-art .accent-ring { stroke: var(--accent); }
.gear-rotor { transform-box: view-box; transform-origin: 240px 240px; animation: rotor 46s linear infinite; }
.gear-sun { transform-box: view-box; transform-origin: 240px 240px; animation: rotor 30s linear infinite reverse; }

/* ---------- spec strip (dark counters) ---------- */
.spec-strip { background: var(--steel); border-top: 1px solid var(--steel-3); border-bottom: 1px solid var(--steel-3); }
.spec-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec-strip .cell { padding: 24px 26px; border-left: 1px solid var(--steel-3); }
.spec-strip .cell:first-child { border-left: none; }
.spec-strip .k { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #8f9aab; }
.spec-strip .v { display: block; font-size: 1.55rem; font-weight: 700; margin-top: 8px; color: #fff; }

/* ---------- trust bar ---------- */
.trust-bar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-bar .container { padding-block: 20px; }
.trust-bar .label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; }
.trust-row .t-item { font-weight: 650; font-size: 1.05rem; color: var(--ink-2); letter-spacing: -0.01em; }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #f0c7b5; }
.card:hover::before { opacity: 1; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-media {
  aspect-ratio: 4 / 3; background: var(--paper-2);
  border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
}
.card-media svg { width: 78%; height: auto; transition: transform .3s ease; }
.card:hover .card-media svg { transform: scale(1.05); }
.card-body { padding: 22px; }
.card-body h3 { margin-bottom: 6px; }
.card-body p { color: var(--ink-3); font-size: 0.94rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em;
  padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3);
  background: #fff; text-decoration: none;
}
.tag--accent { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-tint); }
a.tag:hover { border-color: var(--accent); color: var(--accent-dark); }

/* feature cards (why us) */
.feature { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--accent-tint); color: var(--accent-dark);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-3); font-size: 0.94rem; }

/* stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--steel-3); border: 1px solid var(--steel-3); border-radius: 14px; overflow: hidden; }
.stat { background: var(--steel); padding: 30px 24px; text-align: center; }
.stat-num { font-family: var(--mono); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; color: #fff; line-height: 1; }
.stat-label { display: block; margin-top: 10px; font-size: 0.82rem; color: #8f9aab; }

/* badges (certifications) */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 12px 16px; font-weight: 600;
}
.badge .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-tint); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.badge .mark svg { width: 17px; height: 17px; }
.badge small { display: block; font-size: 0.76rem; color: var(--ink-3); font-weight: 400; }

/* testimonials */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; position: relative; }
.testimonial .quote-mark { font-family: Georgia, serif; font-size: 3rem; line-height: 1; color: var(--accent); opacity: .35; }
.testimonial p { margin-top: 8px; color: var(--ink-2); font-size: 0.98rem; }
.testimonial .author { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.testimonial .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--steel); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.testimonial .author .name { font-weight: 650; font-size: 0.9rem; }
.testimonial .author .role { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- series row ---------- */
.series-row {
  display: grid; grid-template-columns: 200px 1fr 220px; gap: 28px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.series-row:first-of-type { border-top: 1px solid var(--line); }
.series-media { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; aspect-ratio: 1; }
.series-media svg { width: 70%; height: auto; }
.series-meta { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.series-meta b { color: var(--ink); font-weight: 500; }
.series-desc { margin-top: 10px; color: var(--ink-3); font-size: 0.95rem; }

/* ---------- data table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data thead th {
  background: var(--paper); font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line);
}
table.data tbody tr:last-child td { border-bottom: none; }
table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
table.data tr:hover td { background: var(--paper); }

/* ---------- detail layout ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.detail-visual { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); display: grid; place-items: center; padding: 24px; }
.detail-visual svg { width: 82%; height: auto; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.detail-actions .btn { flex: 1; justify-content: center; min-width: 150px; }

.spec-list { border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.spec-list .k { color: var(--ink-3); }
.spec-list .v { font-family: var(--mono); font-weight: 500; text-align: right; }

/* ---------- dim drawing ---------- */
.dim-figure { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.dim-figure figcaption { padding: 12px 16px; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); border-top: 1px solid var(--line); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 4px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.25rem; color: var(--accent); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 4px 20px; color: var(--ink-2); max-width: 60ch; }

/* ---------- forms ---------- */
.form-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 28px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: var(--focus); }
.field textarea { resize: vertical; min-height: 120px; }
.field input.invalid, .field textarea.invalid { border-color: var(--accent); background: var(--accent-tint); }
.form-status { display: none; margin-top: 16px; padding: 12px 14px; font-size: 0.92rem; border-radius: 8px; border-left: 3px solid; }
.form-status.ok { display: block; background: #edf7ef; border-color: #2e7d46; color: #1d5a33; }
.form-status.err { display: block; background: var(--accent-tint); border-color: var(--accent); color: var(--accent-dark); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-item .icon { width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--accent-dark); background: var(--accent-tint); }
.contact-item .icon svg { width: 19px; height: 19px; }
.contact-item h3 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: 0.92rem; color: var(--ink-2); text-decoration: none; }
.contact-item a:hover { color: var(--accent-dark); }

.map-frame { width: 100%; height: 340px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-3); }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 8px 26px rgba(37,211,102,.45);
  transition: transform .15s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }

/* ---------- blog ---------- */
.post-card { display: block; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; }
.post-card:hover { color: inherit; border-color: #f0c7b5; }
.post-meta { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); }
.post-excerpt { color: var(--ink-3); font-size: 0.94rem; margin-top: 8px; }

/* ---------- breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); padding: 18px 0; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs span { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

/* ---------- keyframes ---------- */
@keyframes rotor { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .main-nav {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .main-nav .nav-cta { margin: 10px 0 0; text-align: center; }
  .nav-toggle { display: block; }

  .hero-inner { grid-template-columns: 1fr; padding-block: 56px; }
  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-visual { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .series-row { grid-template-columns: 1fr; gap: 16px; }
  .series-media { max-width: 180px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --section: 64px; --section-sm: 40px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .spec-strip .container { grid-template-columns: 1fr 1fr; }
  .spec-strip .cell { border-left: 1px solid var(--steel-3); border-bottom: 1px solid var(--steel-3); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-spec { grid-template-columns: 1fr; }
  .hero-spec > div { border-right: none !important; border-bottom: 1px solid var(--steel-3); }
  .hero-spec > div:last-child { border-bottom: none; }
  .topbar-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .topbar-right { flex-wrap: wrap; justify-content: center; }
}

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