/* Extracted from the inline <style> of index.html; loaded by that page only.

   Element-level rules are wrapped in :where(.desktop-page, .mobile-page).
   :where() and not :is() on purpose — it contributes ZERO specificity, so the
   landing's own cascade is bit-for-bit what it was when these were bare
   element selectors. :is() would add a class's worth and invert things inside
   the page: `a` would start beating `.btn-primary`, which sets its own colour.

   What the wrapper buys is scope, not weight: everything this page renders
   lives inside .desktop-page or .mobile-page, so once the shared SiteHeader
   and SiteFooter render OUTSIDE them, rules like `a { border-bottom: … }`
   can no longer reach a nav link or a breadcrumb.

   Against global.css these rules win on source order — this file is linked
   after it. Astro injects its bundle at the END of <head>, verified against a
   built page, so the link must sit later in the document than that. */

/* =========================================================================
   /prodaty-sonyashnyk — page-specific styles
   Built on NGK design tokens (colors_and_type.css). Industrial Ukrainian agri.
   ========================================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: var(--font-cyr); /* Cyrillic-strong: HelveticaNeueCyr → Mabry */
  background: var(--bg);
  color: var(--fg-1);
  overflow-x: hidden;
}

/* All href placeholders resolved 2026-05-06; tel:/viber:// links wired in.
   No broken-href hide rule needed. */

img { max-width: 100%; display: block; }
:where(.desktop-page, .mobile-page) button { font: inherit; cursor: pointer; }

/* global.css styles lists (ul/ol padding + margin, li margin-block-end); this
   page never did, so its layout assumes the user-agent defaults it was built
   against. Roll those three back inside the wrappers — `revert` targets the UA
   stylesheet exactly, which is what "unchanged" means here. Caught by a render
   probe: without this the mobile column grew 48px from li margins alone.
   Same zero-specificity trick as everywhere else in this file; it wins because
   this stylesheet is linked after global.css. */
:where(.desktop-page, .mobile-page) ul,
:where(.desktop-page, .mobile-page) ol {
  padding-inline-start: revert;
  margin-block: revert;
}
:where(.desktop-page, .mobile-page) li { margin-block-end: revert; }

/* Mabry for headings (it has decent Cyrillic; design system says display = Mabry) */
:where(.desktop-page, .mobile-page) h1,
:where(.desktop-page, .mobile-page) h2,
:where(.desktop-page, .mobile-page) h3,
:where(.desktop-page, .mobile-page) h4,
:where(.desktop-page, .mobile-page) h5,
:where(.desktop-page, .mobile-page) .display,
:where(.desktop-page, .mobile-page) .eyebrow {
  font-family: var(--font-display);
}

:where(.desktop-page, .mobile-page) .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 480px) {
  :where(.desktop-page, .mobile-page) .container { padding-left: 16px; padding-right: 16px; }
}

.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ngk-steel);
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-1);
  padding: 8px 14px;
  white-space: nowrap;
}
.header-phone:hover { background: var(--steel-50); border-color: var(--steel-300); }
.header-phone svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 880px) {
  .header-phone .lbl { display: none; }
  .header-phone { padding: 8px 10px; }
}

/* =========================================================================
   Buttons — squared, three variants. Industrial.
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 22px;
  border-radius: var(--r-1);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  text-decoration: none;
  transition: background var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard);
  white-space: nowrap;
  text-align: center;
  max-width: 100%;
}
.btn:hover { border-bottom: 1px solid; }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--ngk-steel);
  color: var(--fg-on-steel);
  border-color: var(--ngk-steel);
  /* Solid steel-blue primary; amber underline removed per UX feedback 2026-05-06. */
}
.btn-primary:hover { background: var(--steel-600); border-color: var(--steel-600); }
.btn-primary:active { background: var(--steel-700); }

.btn-secondary {
  background: transparent;
  color: var(--ngk-charcoal);
  border-color: var(--ngk-charcoal);
}
.btn-secondary:hover { background: rgba(0,0,0,0.04); }

.btn-ghost {
  background: transparent;
  color: var(--ngk-charcoal);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { background: var(--neutral-100); }

.btn-viber, .btn-telegram {
  background: transparent;
  color: var(--ngk-charcoal);
  border-color: var(--rule-strong);
}
.btn-viber:hover, .btn-telegram:hover { background: var(--neutral-100); }
/* Inline-SVG fill classes removed 2026-05-06 — Viber/Telegram now use <img> assets. */

/* Icon-only square chat button — matches secondary button height (56px) */
.btn-icon {
  width: 56px; height: 56px;
  min-height: 56px;
  padding: 0;
  flex: none;
  background: transparent;
  border: 0;
  border-radius: var(--r-1);
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-standard), opacity var(--dur-base) var(--ease-standard);
  text-decoration: none;
}
.btn-icon:hover { opacity: 0.9; }
.btn-icon:active { transform: scale(0.97); }
.btn-icon svg { width: 28px; height: 28px; display: block; }

/* Make .btn-secondary square-ish at icon button height when paired — same 56px */
.btn.btn-secondary { min-height: 56px; }

/* Image-based Viber/Telegram icon-only buttons — image fills the 56×56 button,
   matches the brand-square corner radius, no border or empty padding. */
.btn-icon img {
  display: block;
  width: 56px; height: 56px;
  object-fit: contain;
  border-radius: var(--r-1);
}
.btn-inline-icon { display: inline-block; width: 18px; height: 18px; object-fit: contain; flex: none; }
.mobile-cta-bar a img { width: 32px; height: 32px; object-fit: contain; display: block; border-radius: 4px; }

.btn-block { width: 100%; }

/* Hero / About real-photo presentation — object-fit:cover handles both
   desktop 4:5 portrait and mobile 4:3 landscape crops from a single source. */
.hero-image img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow { color: var(--ngk-steel); margin-bottom: 16px; display: inline-block; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero p.lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--fg-1);
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--fg-2);
}
.hero-meta b {
  color: var(--fg-1);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  display: inline-block;
  margin-bottom: 2px;
}
.hero-meta { line-height: 1.5; }

.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--neutral-100);
  border: 1px solid var(--rule);
  overflow: hidden;
}
/* Photo placeholder — typographic fallback used until real plant photos
   are wired in. Replace .photo-fallback with an <img> when ready. */
.hero-image .photo-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px;
  background:
    repeating-linear-gradient(135deg, var(--neutral-100) 0 18px, var(--neutral-200) 18px 19px);
}
.hero-image .ph-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--rule-strong);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  align-self: flex-start;
}
.hero-image .ph-caption {
  background: var(--bg-raised);
  border: 1px solid var(--rule-strong);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--fg-2);
  max-width: 380px;
}
.hero-image .ph-caption b { color: var(--fg-1); font-weight: 500; display: block; margin-bottom: 4px;}

@media (max-width: 880px) {
  .hero { padding: 32px 0 40px; }
  .hero .grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 32px; line-height: 1.1; }
  .hero p.lead { font-size: 17px; max-width: 100%; }
  .hero-image { aspect-ratio: 4/3; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 28px; }
  .hero-meta { grid-template-columns: 1fr; gap: 14px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn,
  .hero-ctas .btn-icon { width: 100%; }
  .hero-ctas .btn-icon { min-width: 100%; }
  .btn { white-space: normal; min-height: 52px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 26px; }
}

/* =========================================================================
   Generic section
   ========================================================================= */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}
.section.bg-alt { background: var(--neutral-100); }
.section.bg-steel { background: var(--steel-700); color: var(--fg-on-steel); }
.section.bg-steel h2, .section.bg-steel .eyebrow { color: var(--fg-on-steel); }
.section.bg-steel .eyebrow { color: var(--sage-300); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--ngk-steel); display: inline-block; margin-bottom: 12px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  text-wrap: balance;
}
.section-head p {
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 640px;
}

@media (max-width: 880px) {
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 28px; }
}

/* =========================================================================
   How it works — 3 numbered cards
   ========================================================================= */
.steps {
  list-style: none;
  padding-left: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: 0;
  border-top: 2px solid var(--ngk-charcoal);
}
.step {
  padding: 32px 28px 36px;
  margin-left: 0;
  font-size: inherit;
  color: inherit;
  border-right: 1px solid var(--rule);
  background: var(--bg-raised);
  position: relative;
}
.step:last-child { border-right: 0; }
.step .num { display: block; }
.step .num-legacy {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: var(--ngk-steel);
  letter-spacing: -0.04em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.step .num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: var(--ngk-steel);
  letter-spacing: -0.04em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.step h3 {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 24px 0 10px;
}
.step p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.5;
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .step:last-child { border-bottom: 0; }
}

/* =========================================================================
   Trust grid — objection / response
   ========================================================================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.trust-card {
  background: var(--bg-raised);
  padding: 28px 28px 30px;
  display: flex; flex-direction: column; gap: 10px;
}
.trust-card .worry {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--sage-600);
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 2px;
  word-break: break-word;
}
.trust-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--ngk-charcoal);
}
.trust-card p {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.55;
}
.trust-card .placeholder-tag {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: var(--warn);
  background: var(--warn-soft);
  padding: 1px 6px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Price drivers — bulleted list block + repeat CTA
   ========================================================================= */
.indicative-price {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 32px;
  margin-bottom: 48px;
  padding: 32px;
  color: var(--fg-on-steel);
  background: var(--steel-700);
  border-left: 4px solid var(--ngk-sage);
}
.indicative-price[hidden] { display: none; }
.indicative-price .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--sage-300);
}
.indicative-price .quote {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--fg-on-steel);
  font-variant-numeric: tabular-nums;
}
.indicative-price .quote-value {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.indicative-price .quote-unit {
  font-size: 17px;
  color: var(--steel-100);
}
.indicative-price .terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.22);
  border-left: 1px solid rgba(255,255,255,.22);
}
.indicative-price .term {
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.indicative-price .term dt {
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-200);
}
.indicative-price .term dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--fg-on-steel);
}
.indicative-price .updated,
.indicative-price .disclaimer {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--steel-200);
}
.indicative-price .indicative-price-cta {
  margin-top: 20px;
  background: var(--bg-raised);
  color: var(--ngk-steel);
  border-color: var(--bg-raised);
  /* .btn задаёт white-space: nowrap — на узких экранах длинная надпись
     распирает кнопку за пределы колонки. Здесь перенос разрешён. */
  white-space: normal;
  text-align: center;
}
.indicative-price .indicative-price-cta:hover {
  background: var(--steel-50);
  border-color: var(--steel-50);
}
@media (max-width: 880px) {
  .indicative-price { grid-template-columns: 1fr; padding: 24px; }
  .indicative-price .indicative-price-cta { width: 100%; }
}

.indicative-price-placement .indicative-price {
  margin-top: 48px;
  margin-bottom: 48px;
}

.mobile-page .indicative-price {
  display: block;
  margin: 0 0 24px;
  padding: 22px 16px 18px;
  color: #fff;
  background: var(--steel-700);
  border: 0;
  border-top: 3px solid var(--sage);
}
.mobile-page .indicative-price[hidden] { display: none; }
.mobile-page .indicative-price .eyebrow { color: var(--sage); }
.mobile-page .indicative-price .quote { gap: 8px; }
.mobile-page .indicative-price .quote-value { font-size: 42px; }
.mobile-page .indicative-price .quote-unit { font-size: 15px; color: var(--steel-100); }
.mobile-page .indicative-price .terms {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mobile-page .indicative-price .term { padding: 12px 10px; }
.mobile-page .indicative-price .term dt { color: var(--steel-200); }
.mobile-page .indicative-price .term dd { font-size: 13.5px; color: #fff; }
.mobile-page .indicative-price .updated,
.mobile-page .indicative-price .disclaimer { margin-top: 12px; font-size: 11.5px; }

.mobile-page .indicative-price-placement {
  margin: 24px 14px 28px;
}

.price-block {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  align-items: start;
}
.price-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--rule);
}
.price-list li {
  display: flex; gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.price-list .idx {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--ngk-steel);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  min-width: 32px;
}
.price-list .factor {
  font-size: 17px;
  font-weight: 500;
  color: var(--ngk-charcoal);
  flex: 0 0 200px;
}
.price-list .desc {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.5;
  flex: 1;
}

.price-cta {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  padding: 32px;
  position: sticky; top: 68px;
}
.price-cta .eyebrow { color: var(--ngk-steel); display:block; margin-bottom: 12px; }
.price-cta h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 12px;
}
.price-cta p {
  font-size: 15px;
  color: var(--fg-2);
  margin: 0 0 22px;
  line-height: 1.5;
}
.price-cta .btn { width: 100%; margin-bottom: 8px; }
.price-cta .meta {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
@media (max-width: 880px) {
  .price-block { grid-template-columns: 1fr; gap: 32px; }
  .price-list .factor { flex: 0 0 auto; }
  .price-list li { flex-wrap: wrap; gap: 4px 16px; }
  .price-cta { position: static; padding: 24px; }
}

/* =========================================================================
   Contacts — department block
   ========================================================================= */
.contacts {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: start;
}
.contacts-list {
  border-top: 2px solid var(--ngk-charcoal);
}
.contacts-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.contacts-row .label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.contacts-row .val {
  font-size: 18px;
  font-weight: 500;
  color: var(--ngk-charcoal);
  font-variant-numeric: tabular-nums;
}
.contacts-row .val a { color: var(--ngk-charcoal); border: 0; }
.contacts-row .val a:hover { color: var(--ngk-steel); border: 0; }
.contacts-row .val .sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-2);
  margin-top: 2px;
  letter-spacing: 0;
}

.dept-card {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  padding: 32px;
}
.dept-card .eyebrow { color: var(--ngk-steel); display:block; margin-bottom: 14px; }
.dept-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.25;
}
.dept-card p { font-size: 15px; color: var(--fg-2); margin: 0 0 20px; line-height: 1.5; }
.dept-card .btn { width: 100%; margin-bottom: 10px; }

@media (max-width: 880px) {
  .contacts { grid-template-columns: 1fr; gap: 32px; }
  .contacts-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .contacts-row .label { font-size: 10px; }
}

/* Address-to-maps link — clickable, restrained styling so it doesn't read as an Ads CTA. */
.contacts-row .val a.maps-link {
  color: var(--ngk-charcoal);
  border: 0;
  border-bottom: 1px dashed var(--rule-strong);
  transition: border-color var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.contacts-row .val a.maps-link:hover { color: var(--ngk-steel); border-bottom-color: var(--ngk-steel); }

/* =========================================================================
   Lead form — shared desktop/mobile contract; mobile presentation is below.
   ========================================================================= */
.lead-form-section { background: var(--bg); }
.lead-form {
  position: relative;
  max-width: 880px;
  padding: 32px;
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ngk-steel);
}
.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}
.lead-field { min-width: 0; }
.lead-field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-1);
}
.lead-field label span { color: var(--error); }
.lead-field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-1);
  background: var(--bg-raised);
  color: var(--fg-1);
  font: inherit;
  line-height: 1.3;
}
.lead-field input::placeholder { color: var(--fg-3); opacity: 1; }
.lead-field input:focus {
  outline: 2px solid var(--steel-300);
  outline-offset: 2px;
  border-color: var(--ngk-steel);
}
.lead-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-form .cf-turnstile {
  max-width: 100%;
  margin-top: 24px;
}
.lead-form-submit { margin-top: 24px; }
.lead-form-submit:disabled { cursor: wait; opacity: .65; }
.lead-form-note {
  max-width: 620px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--fg-3);
}
.lead-feedback {
  display: none;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid;
  font-size: 15px;
  line-height: 1.5;
}
.lead-feedback--success {
  color: #31472c;
  background: var(--ok-soft);
  border-color: var(--ok);
}
.lead-feedback--error {
  color: #68271f;
  background: var(--error-soft);
  border-color: var(--error);
}
.lead-feedback:target,
.lead-feedback.is-visible,
body:has(#lead-success:target) [data-lead-success],
body:has(#lead-error:target) [data-lead-error] {
  display: block;
}

@media (max-width: 880px) {
  .lead-form { padding: 24px; }
  .lead-form-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   About / NGK
   ========================================================================= */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
}
.about h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.about p { font-size: 17px; color: var(--fg-1); line-height: 1.6; }
.about p + p { color: var(--fg-2); font-size: 15px; }
.about-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.fact .label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: block;
  margin-bottom: 6px;
}
.fact .val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ngk-charcoal);
  font-variant-numeric: tabular-nums;
}
.fact .val.placeholder {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--warn);
  background: var(--warn-soft);
  padding: 2px 8px;
  display: inline-block;
}
.about-image {
  aspect-ratio: 4/3;
  background: var(--neutral-100);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.about-image .photo-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 20px;
  background: repeating-linear-gradient(135deg, var(--neutral-100) 0 18px, var(--neutral-200) 18px 19px);
}
.about-image .ph-caption {
  background: var(--bg-raised);
  border: 1px solid var(--rule-strong);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--fg-2);
}
.about-image .ph-caption b { color: var(--fg-1); font-weight: 500; display: block; margin-bottom: 2px; }

@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-image { aspect-ratio: 4/3; order: -1; }
}

/* =========================================================================
   FAQ — accordion
   ========================================================================= */
.faq-list { border-top: 2px solid var(--ngk-charcoal); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 22px 0;
  display: flex; align-items: center; gap: 24px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ngk-charcoal);
  line-height: 1.4;
}
.faq-q .plus {
  margin-left: auto;
  width: 20px; height: 20px;
  position: relative; flex: none;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--ngk-charcoal);
  transition: transform var(--dur-base) var(--ease-standard);
}
.faq-q .plus::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q .plus::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q:hover { color: var(--ngk-steel); }
.faq-a {
  padding: 0 0 24px;
  max-width: 720px;
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.55;
}
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin: 0; }

/* =========================================================================
   Closing CTA — full width steel
   ========================================================================= */
.closing {
  background: var(--steel-700);
  color: var(--fg-on-steel);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.closing::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 480px; height: 480px;
  background: url("./symbol-white.svg") center/contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.closing .eyebrow { color: var(--sage-300); display:inline-block; margin-bottom: 16px; }
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-on-steel);
  margin: 0 0 20px;
  max-width: 820px;
  text-wrap: balance;
}
.closing p.lead {
  color: var(--steel-100);
  font-size: 18px;
  max-width: 620px;
  margin: 0 0 36px;
}
.closing-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.closing .btn-primary { background: #C9912B; border-color: #C9912B; color: #1a1410; box-shadow: none; }
.closing .btn-primary:hover { background: #B17F22; border-color: #B17F22; }
.closing .btn-secondary {
  border-color: rgba(255,255,255,0.4); color: var(--fg-on-steel);
}
.closing .btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.6); }

.closing .legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
  color: var(--steel-200);
  max-width: 820px;
  line-height: 1.55;
}
@media (max-width: 880px) {
  .closing { padding: 48px 0 56px; }
}

/* =========================================================================
   Sticky mobile CTA bar — primary GoodPromo + phone icon + Viber icon.
   Telegram removed from sticky per QA spec (anxious 40+ audience needs a
   simple primary action, not a wall of icons). Telegram remains optional in
   contact channels overall; if/when reintroduced, do it lower-priority and
   not in the sticky bar.
   ========================================================================= */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--bg-raised);
  border-top: 1px solid var(--rule-strong);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  box-shadow: 0 -2px 8px rgba(20,30,46,0.06);
  width: 100%;
  max-width: 100vw;
}
.mobile-cta-bar a {
  flex: 1;
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  border-radius: var(--r-1);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ngk-charcoal);
  text-decoration: none;
  background: transparent;
  padding: 0 6px;
  white-space: nowrap;
}
.mobile-cta-bar a.primary { /* primary keeps its filled steel look from rule below */ }
.mobile-cta-bar a.viber, .mobile-cta-bar a.phone { background: transparent; border: 0; }
/* Sticky phone icon: subtle steel ring so the inline-SVG phone reads at parity with the filled Viber/TG glyphs. */
.mobile-cta-bar a.phone {
  background: var(--steel-50);
  border: 1px solid var(--steel-100);
  color: var(--ngk-steel);
}
.mobile-cta-bar a.phone svg { width: 20px; height: 20px; flex: none; }

.mobile-cta-bar a svg { width: 20px; height: 20px; flex: none; }
.mobile-cta-bar a.primary {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--ngk-steel);
  border-color: var(--ngk-steel);
  color: var(--fg-on-steel);
  font-size: 14px;
  text-overflow: ellipsis;
  overflow: hidden;
}
.mobile-cta-bar a.viber, .mobile-cta-bar a.phone {
  flex: 0 0 44px; padding: 0; min-width: 44px;
}
.mobile-cta-bar a.phone .lbl { display: none; }
/* sticky Viber SVG fill rules removed — using <img> asset. */

@media (max-width: 880px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
}
@media (max-width: 360px) {
  .mobile-cta-bar { padding-left: 8px; padding-right: 8px; gap: 6px; }
}

/* =========================================================================
   Utilities
   ========================================================================= */
.microcopy {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}
.placeholder {
  font-family: var(--font-mono, monospace);
  font-size: 0.85em;
  color: var(--warn);
  background: var(--warn-soft);
  padding: 1px 6px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

.divider-mark {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
  color: var(--ngk-steel);
}
.divider-mark .line { flex: 1; height: 1px; background: var(--rule-strong); }
.divider-mark span {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}

/* Mobile-first layout switch.
   Base (always loaded): .mobile-page is hidden so the mobile DOM never
   shows on desktop. assets/mobile.css (loaded only at <= 767.98px via
   media-attr) flips visibility — see assets/mobile.css top. */
.mobile-page { display: none; }
