/* ============================================================
   Lotus Food Solution — Global stylesheet
   Navy + Gold industrial palette · Barlow type system
   ============================================================ */

:root {
  /* Brand: Navy */
  --navy-900: #081A3D; --navy-800: #0B2049; --navy-700: #0F2A5C;
  --navy-600: #173A78; --navy-500: #244E97; --navy-400: #3E68B0;
  --navy-300: #7B9AD0; --navy-200: #B3C5E4; --navy-100: #DDE6F3; --navy-50: #EEF3FA;
  /* Brand: Gold */
  --gold-700: #7E5A1E; --gold-600: #946A23; --gold-500: #B07D2A;
  --gold-400: #C79A4F; --gold-300: #DDBA83; --gold-200: #ECD7B3;
  --gold-100: #F6ECD9; --gold-50: #FBF6EC;
  /* Neutrals */
  --ink-900: #14181F; --slate-800: #283142; --slate-700: #3C4659;
  --slate-600: #556074; --slate-500: #6E7A90; --slate-400: #98A2B3;
  --slate-300: #C5CCD8; --slate-200: #E2E6ED; --slate-100: #F0F2F6;
  --slate-50: #F7F9FB; --white: #FFFFFF;
  /* Status */
  --success-600: #246A44; --success-100: #DCEFE4;
  --danger-500: #B23B3B;
  /* Semantic */
  --border-subtle: var(--slate-200);
  --border-default: var(--slate-300);
  --text-strong: var(--navy-800);
  --text-body: var(--slate-700);
  --text-muted: var(--slate-500);
  /* Type */
  --font-display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(8,26,61,.08), 0 1px 1px rgba(8,26,61,.04);
  --shadow-md: 0 2px 6px rgba(8,26,61,.10), 0 1px 2px rgba(8,26,61,.06);
  --shadow-lg: 0 8px 24px rgba(8,26,61,.12), 0 2px 6px rgba(8,26,61,.06);
  --shadow-focus: 0 0 0 3px rgba(199,154,79,.45);
  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur-fast: 140ms; --dur-base: 220ms; --dur-slow: 400ms;
  /* Layout */
  --container: 1280px;
  --pad-x: clamp(20px, 6vw, 72px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy-600); text-decoration: none; }
::selection { background: var(--gold-200); color: var(--navy-800); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy-800); color: #fff; padding: 10px 18px; border-radius: 0 0 6px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin: 0;
}
.eyebrow--light { color: var(--gold-400); }
.section-title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  color: var(--navy-800); font-size: clamp(26px, 3.4vw, 34px); line-height: 1.12; margin: 10px 0 0;
}
.section-title--light { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: saturate(1.4) blur(6px); backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--dur-base) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; gap: 28px; padding-top: 13px; padding-bottom: 13px; }
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: 34px; display: block; }

.site-nav { display: flex; gap: 24px; margin-left: 8px; }
.site-nav a {
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase; color: var(--slate-600);
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.site-nav a:hover { color: var(--navy-800); }
.site-nav a[aria-current="page"] { color: var(--navy-800); border-bottom-color: var(--gold-500); }

.btn {
  display: inline-block; border: 0; cursor: pointer; border-radius: 6px;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; text-align: center;
  padding: 14px 26px; transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold-500); color: var(--navy-800); }
.btn--gold:hover { background: var(--gold-400); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-600); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: 10px 20px; font-size: 13px; }

.site-header__cta { margin-left: auto; flex: none; }

.menu-toggle {
  display: none; margin-left: auto; flex: none; width: 42px; height: 42px;
  border-radius: 6px; border: 1px solid var(--border-default); background: var(--white);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--navy-800); transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel { display: none; border-top: 1px solid var(--border-subtle); background: var(--white); }
.mobile-panel__inner { padding: 8px var(--pad-x) 20px; display: flex; flex-direction: column; gap: 2px; }
.mobile-panel a:not(.btn) {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  letter-spacing: .02em; text-transform: uppercase; color: var(--slate-600);
  padding: 14px 4px; border-bottom: 1px solid var(--border-subtle);
}
.mobile-panel a[aria-current="page"] { color: var(--navy-800); }
.mobile-panel .btn { margin-top: 14px; }

@media (max-width: 900px) {
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-panel.is-open { display: block; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, #0B2049 0%, #0F2A5C 50%, #173A78 100%);
  padding: clamp(48px, 7vw, 84px) 0 0;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.05; letter-spacing: -.02em; font-weight: 700; color: #fff;
  margin: 18px 0 0; max-width: 15ch; text-wrap: balance;
}
.hero__lead { font-size: clamp(15.5px, 1.6vw, 18px); line-height: 1.65; color: var(--navy-100); margin: 22px 0 0; max-width: 48ch; }
.hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__img { align-self: end; }
.hero__img img { width: 100%; filter: drop-shadow(0 16px 28px rgba(0,0,0,.35)); }

.hero__stats { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.14); margin-top: clamp(28px, 4vw, 44px); }
.hero__stat { padding: 24px 8px 30px; }
.hero__stat + .hero__stat { border-left: 1px solid rgba(255,255,255,.14); }
.hero__stat-value { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; color: var(--gold-400); }
.hero__stat-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-200); margin-top: 6px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__img { max-width: 480px; margin: 12px auto 0; }
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat + .hero__stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .hero__stat { padding: 16px 4px; }
}

/* ---------- Page header band (subpages) ---------- */
.page-hero {
  background: linear-gradient(115deg, #0B2049, #0F2A5C 60%, #173A78);
  color: #fff; padding: clamp(40px, 6vw, 64px) 0;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); line-height: 1.15;
  font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 12px 0 0; max-width: 24ch; text-wrap: balance;
}

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 6.5vw, 72px) 0; }
.section--tint { background: var(--slate-50); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.section--navy { background: linear-gradient(120deg, #0B2049, #0F2A5C); color: #fff; }

.section-head { margin-bottom: 28px; }
.section-head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }

.link-more {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--navy-700);
  border-bottom: 2px solid var(--gold-500); padding-bottom: 3px;
}
.link-more:hover { color: var(--navy-500); }

/* Trust bar */
.trustbar { background: var(--slate-50); border-bottom: 1px solid var(--border-subtle); padding: 30px 0; }
.trustbar__label { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-500); text-align: center; margin: 0 0 18px; }
.trustbar__names { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; row-gap: 14px; }
.trustbar__names span {
  padding: 0 clamp(16px, 3vw, 32px);
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--navy-700);
}
.trustbar__names span + span { border-left: 1px solid var(--border-default); }

/* Problem cards */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.problem-card { padding: 22px 24px; background: var(--slate-50); border-left: 3px solid var(--gold-500); border-radius: 0 6px 6px 0; }
.problem-card h3 { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 16px; margin: 0; }
.problem-card p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; color: var(--slate-600); }

/* Service cards */
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.service-card {
  background: #fff; border: 1px solid var(--border-subtle); border-top: 3px solid var(--gold-500);
  border-radius: 6px; padding: 24px; transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card__n { font-family: var(--font-mono); font-size: 12px; color: var(--gold-600); }
.service-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy-800); margin: 8px 0 0; }
.service-card p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--slate-600); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 28px; }
.product-card {
  display: block; border: 1px solid var(--border-subtle); border-radius: 6px; overflow: hidden;
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card__media { background: linear-gradient(160deg, #0F2A5C, #173A78); padding: 20px; display: flex; align-items: center; justify-content: center; height: 150px; }
.product-card__media img { max-height: 110px; max-width: 100%; width: auto; }
.product-card__body { padding: 16px 18px; }
.product-card__name { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 15px; }
.product-card__code { font-family: var(--font-mono); font-size: 11px; color: var(--slate-500); margin-top: 3px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.step { border-top: 2px solid var(--gold-500); padding-top: 16px; }
.step__n { font-family: var(--font-mono); font-size: 12.5px; color: var(--gold-400); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 8px 0 0; color: #fff; }
.step p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--navy-200); }

/* Industries + testimonial */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.industry-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border-subtle); border-radius: 6px; }
.industry-item .diamond { width: 8px; height: 8px; background: var(--gold-500); transform: rotate(45deg); flex: none; }
.industry-item span:last-child { font-family: var(--font-display); font-weight: 600; color: var(--navy-800); font-size: 15px; }

.testimonial { border: 1px solid var(--border-subtle); border-top: 3px solid var(--gold-500); border-radius: 6px; padding: 28px; background: #fff; }
.testimonial__mark { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--gold-500); }
.testimonial blockquote { margin: 6px 0 0; font-size: 15px; line-height: 1.7; color: var(--slate-700); }
.testimonial footer { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border-subtle); }
.testimonial__who { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 15px; }
.testimonial__org { font-size: 12.5px; color: var(--slate-500); margin-top: 2px; }
.testimonial__meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--slate-500); margin-top: 6px; }

/* CTA band */
.cta-band { background: var(--gold-500); color: var(--navy-800); padding: clamp(40px, 5vw, 56px) 0; }
.cta-band__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band__text { flex: 1; min-width: 280px; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--navy-800); margin: 0; }
.cta-band p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--gold-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-800); color: var(--navy-100); padding: 52px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer__brand img { height: 34px; margin-bottom: 16px; }
.site-footer__brand p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--navy-200); max-width: 34ch; }
.site-footer h2 {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin: 0 0 12px;
}
.site-footer address { font-style: normal; font-size: 13.5px; line-height: 1.85; color: var(--navy-100); }
.site-footer address a { color: var(--navy-100); font-family: var(--font-mono); }
.site-footer address a:hover { color: #fff; }
.site-footer__nav { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.site-footer__nav a { color: var(--navy-100); }
.site-footer__nav a:hover { color: #fff; }
.site-footer__bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--font-mono); font-size: 11px; color: var(--navy-300); }

/* ---------- About page ---------- */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.story-grid p { font-size: 16px; line-height: 1.75; color: var(--slate-700); margin: 0 0 16px; }
.story-grid p:last-child { margin-bottom: 0; }
.story-photo { border: 1px solid var(--border-subtle); border-radius: 8px; overflow: hidden; background: var(--slate-50); }
.story-photo img { display: block; width: 100%; height: 340px; object-fit: cover; }
.story-photo figcaption { padding: 10px 14px; font-size: 12px; color: var(--slate-500); border-top: 1px solid var(--border-subtle); }

.capabilities { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.capability { background: #fff; border: 1px solid var(--border-subtle); border-radius: 6px; padding: 20px 16px; text-align: center; }
.capability__n { font-family: var(--font-mono); font-size: 11px; color: var(--gold-600); }
.capability h3 { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 14px; margin: 8px 0 0; line-height: 1.3; }

.stats-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat-block { border: 1px solid var(--border-subtle); border-left: 3px solid var(--gold-500); border-radius: 0 6px 6px 0; padding: 20px 24px; }
.stat-block__value { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--navy-800); line-height: 1.05; }
.stat-block__value--accent { color: var(--gold-600); }
.stat-block__label { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-600); margin-top: 8px; }
.stat-block__caption { font-size: 12.5px; color: var(--slate-500); margin-top: 4px; }

.customer-grid { border-top: 1px solid var(--border-subtle); display: grid; grid-template-columns: repeat(3,1fr); }
.customer-cell { padding: 26px 12px; text-align: center; border-right: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.customer-cell span { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-700); }
.customer-grid .customer-cell:nth-child(3n) { border-right: 0; }
.customer-grid .customer-cell:nth-last-child(-n+3) { border-bottom: 0; }
.customer-note { margin: 16px 0 0; font-size: 13px; color: var(--slate-500); }

/* ---------- Solutions page ---------- */
.tabbar { position: sticky; top: 61px; z-index: 10; background: #fff; border-bottom: 1px solid var(--border-subtle); }
.tabbar__inner { display: flex; gap: 28px; }
.tabbar button {
  background: none; border: 0; cursor: pointer; padding: 18px 6px;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--slate-500);
  border-bottom: 3px solid transparent; transition: color var(--dur-fast) var(--ease);
}
.tabbar button:hover { color: var(--navy-700); }
.tabbar button[aria-selected="true"] { color: var(--navy-800); border-bottom-color: var(--gold-500); }

.service-rows { display: flex; flex-direction: column; gap: 20px; }
.service-row { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 28px; border: 1px solid var(--border-subtle); border-top: 3px solid var(--gold-500); border-radius: 6px; }
.service-row__n { font-family: var(--font-mono); font-size: 26px; color: var(--gold-600); }
.service-row h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--navy-800); margin: 0; }
.service-row p { margin: 10px 0 0; font-size: 15px; line-height: 1.7; color: var(--slate-600); max-width: 80ch; }

.product-acc { display: flex; flex-direction: column; gap: 14px; }
.product-acc details { border: 1px solid var(--border-subtle); border-radius: 6px; overflow: hidden; background: #fff; }
.product-acc summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 96px 1fr auto;
  gap: 20px; align-items: center; padding: 16px 20px;
}
.product-acc summary::-webkit-details-marker { display: none; }
.product-acc summary:hover { background: var(--slate-50); }
.product-acc__thumb { background: linear-gradient(160deg, #0F2A5C, #173A78); border-radius: 6px; height: 64px; display: flex; align-items: center; justify-content: center; }
.product-acc__thumb img { max-height: 46px; max-width: 80px; width: auto; }
.product-acc__name { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 16px; }
.product-acc__code { font-family: var(--font-mono); font-size: 11.5px; color: var(--slate-500); margin-top: 3px; }
.product-acc__chevron { font-family: var(--font-display); font-size: 20px; color: var(--gold-600); }
.product-acc details[open] .product-acc__chevron::before { content: "−"; }
.product-acc details:not([open]) .product-acc__chevron::before { content: "+"; }
.product-acc__body { padding: 0 20px 24px; border-top: 1px solid var(--border-subtle); }
.product-acc__body > p { font-size: 14px; line-height: 1.7; color: var(--slate-600); margin: 16px 0; max-width: 75ch; }
.spec-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { font-size: 13.5px; color: var(--slate-500); margin: 0; }
.spec-row dd { font-family: var(--font-mono); font-size: 13.5px; color: var(--navy-800); margin: 0; text-align: right; }

[hidden] { display: none !important; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .55fr .45fr; gap: clamp(32px, 5vw, 56px); align-items: start; }

.form { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800);
}
.field .req { color: var(--gold-600); margin-left: 4px; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 14px; padding: 12px;
  border: 1px solid var(--border-default); border-radius: 6px; outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  background: #fff; color: var(--ink-900); width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--gold-500); box-shadow: var(--shadow-focus); }
.field .hint { font-size: 12px; color: var(--slate-500); }
.field .error { font-size: 12px; color: var(--danger-500); display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger-500); }
.field.has-error .error { display: block; }

.form-success { border: 1px solid var(--success-100); background: var(--success-100); border-radius: 8px; padding: 32px; max-width: 560px; }
.form-success h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--success-600); margin: 0; }
.form-success p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--slate-700); }

.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card { border: 1px solid var(--border-subtle); border-top: 3px solid var(--gold-500); border-radius: 6px; padding: 24px; }
.contact-card address { font-style: normal; font-size: 14.5px; line-height: 1.9; color: var(--slate-700); }
.contact-card .mono-line { margin-top: 8px; }
.contact-card .mono-line a { font-family: var(--font-mono); font-size: 14px; color: var(--navy-800); }
.contact-card .mono-line a:hover { color: var(--navy-500); }
.map-frame { height: 260px; border: 1px solid var(--border-subtle); border-radius: 6px; overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(3,1fr); row-gap: 28px; }
  .capabilities { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px) {
  .cards-3, .product-grid { grid-template-columns: repeat(2,1fr); }
  .split-2, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-3 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .tabbar { top: 60px; }
}
@media (max-width: 600px) {
  .cards-3, .cards-4, .product-grid, .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .capabilities { grid-template-columns: repeat(2,1fr); }
  .customer-grid { grid-template-columns: repeat(2,1fr); }
  .customer-grid .customer-cell:nth-child(3n) { border-right: 1px solid var(--border-subtle); }
  .customer-grid .customer-cell:nth-child(2n) { border-right: 0; }
  .customer-grid .customer-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--border-subtle); }
  .customer-grid .customer-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .service-row { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .product-acc summary { grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 16px; }
  .product-acc__thumb { height: 56px; }
}
