/* ===================================================================
   Laguna Carparts Mfg., Inc. — Modern Corporate Stylesheet
   Palette: Steel navy + industrial orange accent
   Fonts:  Montserrat (headings) + Inter (body)
=================================================================== */

/* ----------  Design Tokens  ---------- */
:root {
  --navy-900: #0a1628;
  --navy-800: #0f2038;
  --navy-700: #16304f;
  --navy-600: #1f3f66;
  --steel-500: #2c4a73;
  --slate-400: #64748b;
  --slate-300: #94a3b8;
  --slate-200: #cbd5e1;
  --slate-100: #e2e8f0;
  --mist-50: #f5f7fa;

  --accent: #1d6fb8;
  --accent-dark: #155a97;
  --accent-soft: #e8f2fb;

  --white: #ffffff;
  --ink: #1a2433;

  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 6px 24px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 18px 50px rgba(10, 22, 40, 0.16);
  --shadow-accent: 0 10px 30px rgba(29, 111, 184, 0.32);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

::selection { background: var(--accent); color: #fff; }

/* ----------  Layout helpers  ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--mist { background: var(--mist-50); }
.section--navy { background: var(--navy-900); color: var(--slate-200); }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); display: inline-block; }

.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.section-head p { color: var(--slate-400); font-size: 1.075rem; }
.section--navy .section-head p { color: var(--slate-300); }

.lead { font-size: 1.15rem; color: var(--slate-400); }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .9rem 1.8rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ----------  Header / Nav  ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: .8rem; z-index: 2; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: -0.02em;
  box-shadow: var(--shadow-accent);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: .01em; }
.brand__sub { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--slate-300); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--slate-200); padding: .55rem .95rem; border-radius: 8px;
  position: relative; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .35rem;
  height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__cta { margin-left: .75rem; }

/* scrolled state */
.header.is-scrolled {
  background: rgba(10, 22, 40, .92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  height: 66px;
}

.nav-toggle {
  display: none; width: 44px; height: 44px; z-index: 2;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: #fff;
  transition: transform .35s var(--ease), opacity .25s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------  Hero  ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; padding-top: var(--header-h); overflow: hidden;
  background: var(--navy-900);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(56,132,201,.15), transparent 60%),
    linear-gradient(120deg, var(--navy-900) 18%, rgba(10,22,40,.72) 55%, rgba(10,22,40,.45));
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; padding-block: 6rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  padding: .5rem 1rem; border-radius: 999px; backdrop-filter: blur(8px);
  font-size: .82rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 1.6rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(56,132,201,.30); }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: 1.05;
  margin-bottom: 1.4rem; letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--accent); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--slate-200); max-width: 580px; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 1; color: var(--slate-300); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero__scroll .line { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ----------  Page hero (inner pages)  ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 4.5rem) 0 4rem; color: #fff;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 380px at 88% 0%, rgba(56,132,201,.28), transparent 60%);
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 320px; height: 320px;
  border: 40px solid rgba(255,255,255,.03); border-radius: 50%;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.page-hero p { color: var(--slate-200); font-size: 1.1rem; max-width: 600px; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--slate-300); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ----------  Stats bar  ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--accent); line-height: 1; }
.stat__num .suffix { font-size: .55em; }
.stat__label { margin-top: .6rem; font-size: .9rem; color: var(--slate-300); font-weight: 500; letter-spacing: .02em; }
.section:not(.section--navy) .stat__label { color: var(--slate-400); }

/* ----------  Feature / card grid  ---------- */
.grid { display: grid; gap: 1.75rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius);
  padding: 2rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 1.3rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.card p { color: var(--slate-400); font-size: .96rem; }

/* ----------  Split feature  ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; }
.split__media .badge-float {
  position: absolute; left: -22px; bottom: -22px; background: #fff; color: var(--navy-900);
  border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .9rem;
}
.badge-float .big { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--accent); line-height: 1; }
.badge-float .small { font-size: .8rem; color: var(--slate-400); }

.split__body h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.2rem; }
.split__body p { color: var(--slate-400); margin-bottom: 1.1rem; }

.check-list { display: grid; gap: .85rem; margin: 1.6rem 0; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list .ic {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; margin-top: 2px;
}
.check-list .ic svg { width: 14px; height: 14px; }
.check-list span { color: var(--ink); font-weight: 500; }

/* ----------  Plant cards (home)  ---------- */
.plant-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-md);
}
.plant-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.plant-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.92) 8%, rgba(10,22,40,.25) 60%, transparent); }
.plant-card:hover img { transform: scale(1.07); }
.plant-card__body { position: relative; z-index: 1; padding: 2rem; }
.plant-card .tag { display: inline-block; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; margin-bottom: .9rem; }
.plant-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.plant-card p { color: var(--slate-200); font-size: .95rem; }

/* ----------  Products  ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.product {
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--slate-100);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--mist-50); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__img img { transform: scale(1.08); }
.product__cat {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  background: rgba(10,22,40,.78); backdrop-filter: blur(6px); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px;
}
.product__body { padding: 1.5rem 1.6rem 1.7rem; }
.product__body h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.product__body p { color: var(--slate-400); font-size: .92rem; }

/* category filter pills */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 3rem; }
.filter {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  padding: .6rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--slate-200);
  background: #fff; color: var(--navy-700); cursor: pointer; transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ----------  Capability / facility list  ---------- */
.cap {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center;
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius);
  padding: 1.5rem 1.8rem; transition: box-shadow .35s, transform .35s var(--ease), border-color .35s;
}
.cap:hover { box-shadow: var(--shadow-md); transform: translateX(4px); border-color: var(--accent-soft); }
.cap__ic { width: 54px; height: 54px; border-radius: 13px; background: var(--navy-900); color: var(--accent); display: grid; place-items: center; flex: none; }
.cap__ic svg { width: 26px; height: 26px; }
.cap__body h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.cap__body p { color: var(--slate-400); font-size: .92rem; }
.cap__count { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--navy-900); line-height: 1; text-align: right; }
.cap__count .u { display: block; font-size: .68rem; font-weight: 600; color: var(--slate-400); letter-spacing: .08em; text-transform: uppercase; }

/* ----------  Certifications  ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cert {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 1.8rem 1.5rem; text-align: center;
  transition: border-color .35s, transform .35s var(--ease), background .35s;
}
.cert:hover { border-color: var(--accent); transform: translateY(-5px); background: rgba(56,132,201,.10); }
.cert__seal { width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; color: var(--accent); }
.cert__seal svg { width: 26px; height: 26px; }
.cert h4 { color: #fff; font-size: 1rem; margin-bottom: .35rem; }
.cert p { color: var(--slate-300); font-size: .82rem; }

/* ----------  Timeline  ---------- */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--slate-200); }
.tl-item { position: relative; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.2rem; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.tl-item .year { font-family: var(--font-head); font-weight: 800; color: var(--accent); font-size: 1.05rem; margin-bottom: .25rem; }
.tl-item h4 { font-size: 1.15rem; margin-bottom: .4rem; }
.tl-item p { color: var(--slate-400); font-size: .95rem; }

/* ----------  Leadership  ---------- */
.leader {
  text-align: center; background: #fff; border: 1px solid var(--slate-100);
  border-radius: var(--radius); padding: 2.2rem 1.5rem; transition: box-shadow .35s, transform .35s var(--ease);
}
.leader:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.leader__avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem;
  border: 3px solid var(--accent-soft);
}
.leader h4 { font-size: 1.15rem; margin-bottom: .3rem; }
.leader .role { color: var(--accent); font-weight: 600; font-size: .9rem; font-family: var(--font-head); }

/* ----------  CTA band  ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--steel-500));
  padding: clamp(2.5rem, 6vw, 4.5rem); color: #fff; text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(56,132,201,.38), transparent 60%); }
.cta-band__inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.cta-band p { color: var(--slate-200); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-band .hero__actions { justify-content: center; }

/* ----------  Contact  ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-card {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 0;
  border-bottom: 1px solid var(--slate-100);
}
.info-card:last-child { border-bottom: 0; }
.info-card__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.info-card__ic svg { width: 22px; height: 22px; }
.info-card h4 { font-size: 1rem; margin-bottom: .25rem; }
.info-card a, .info-card p { color: var(--slate-400); font-size: .95rem; }
.info-card a:hover { color: var(--accent); }

.form { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; margin-bottom: .5rem; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .96rem; color: var(--ink); background: var(--mist-50);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(29,111,184,.14);
}
.form__note { font-size: .85rem; color: var(--slate-400); margin-top: 1rem; text-align: center; }
.form__success {
  display: none; align-items: center; gap: .7rem; background: #ecfdf5; border: 1px solid #a7f3d0;
  color: #047857; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem; font-weight: 500;
}
.form__success.show { display: flex; }
.form__success svg { width: 20px; height: 20px; flex: none; }

/* ----------  Survey  ---------- */
.survey-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; margin-bottom: 3.5rem; }
.rating-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  padding: 1.1rem 0; border-bottom: 1px solid var(--slate-100);
}
.rating-row:last-of-type { border-bottom: 0; }
.rating-row__label { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--navy-800); }
.rating-row__label small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--slate-400); }
.stars { display: inline-flex; gap: .25rem; }
.star {
  width: 34px; height: 34px; border: 0; background: none; cursor: pointer; padding: 0;
  color: var(--slate-200); transition: color .2s, transform .2s var(--ease);
}
.star svg { width: 100%; height: 100%; fill: currentColor; }
.star:hover { transform: scale(1.15); }
.star.is-on { color: #f5b301; }

.scale { display: flex; flex-wrap: wrap; gap: .5rem; }
.scale__btn {
  width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--slate-200);
  background: var(--mist-50); font-family: var(--font-head); font-weight: 700; color: var(--navy-700);
  cursor: pointer; transition: all .25s var(--ease);
}
.scale__btn:hover { border-color: var(--accent); color: var(--accent); }
.scale__btn.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.scale__ends { display: flex; justify-content: space-between; font-size: .78rem; color: var(--slate-400); margin-top: .5rem; }

.radio-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
  display: inline-block; padding: .6rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--slate-200);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy-700);
  cursor: pointer; transition: all .25s var(--ease);
}
.radio-pill input:checked + span { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(29,111,184,.18); }

/* questionnaire */
.survey-section__head { display: flex; align-items: center; gap: .85rem; margin: 2.6rem 0 .4rem; padding-bottom: .85rem; border-bottom: 2px solid var(--navy-600); }
.survey-section__head .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--navy-600); color: #fff; display: grid; place-items: center; flex: none; }
.survey-section__head .ic svg { width: 21px; height: 21px; }
.survey-section__head h3 { font-size: 1.12rem; letter-spacing: .06em; text-transform: uppercase; }
.q { padding: 1.4rem 0; border-bottom: 1px solid var(--slate-100); }
.q:last-child { border-bottom: 0; }
.q__title { display: flex; gap: .7rem; align-items: baseline; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy-800); margin-bottom: 1rem; }
.q__n { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 800; display: grid; place-items: center; transform: translateY(2px); }
.radio-group--likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem; }
.radio-group--likert .radio-pill span { display: block; width: 100%; text-align: center; padding: .65rem .4rem; font-size: .82rem; }
.reject { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.reject__col { background: var(--mist-50); border: 1px solid var(--slate-100); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.reject__col h4 { font-size: .9rem; color: var(--accent); margin-bottom: .85rem; letter-spacing: .02em; }
.radio-group--col { flex-direction: column; align-items: stretch; gap: .45rem; }
.radio-group--col .radio-pill span { display: block; text-align: left; padding: .5rem .9rem; font-size: .85rem; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--slate-100); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ----------  Footer  ---------- */
.footer { background: var(--navy-900); color: var(--slate-300); padding: 4.5rem 0 0; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand__name { color: #fff; }
.footer__about { margin-top: 1.2rem; font-size: .92rem; max-width: 300px; }
.footer h5 { color: #fff; font-family: var(--font-head); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.3rem; }
.footer__links { display: grid; gap: .7rem; }
.footer__links a { font-size: .92rem; transition: color .25s, padding-left .25s; }
.footer__links a:hover { color: var(--accent); padding-left: 5px; }
.footer__contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .92rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; font-size: .85rem; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .3s, transform .3s; }
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ----------  Reveal animation  ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ----------  Back to top  ---------- */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 900; width: 48px; height: 48px;
  border-radius: 50%; background: var(--accent); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-accent);
  opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-dark); }
.to-top svg { width: 20px; height: 20px; }

/* ----------  Responsive  ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--navy-900); flex-direction: column; align-items: stretch;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem; gap: .3rem;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { padding: .9rem 1rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 1rem 0 0; justify-content: center; }
  .header { background: var(--navy-900); box-shadow: var(--shadow-md); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999; opacity: 0; visibility: hidden; transition: opacity .35s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .radio-group--likert { grid-template-columns: repeat(2, 1fr); }
  .reject { grid-template-columns: 1fr; }
  .survey-intro { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .split__media .badge-float { left: 50%; transform: translateX(-50%); }

  /* footer — centered, tidy stack on phones */
  .footer { padding-top: 3rem; text-align: center; }
  .footer__top { grid-template-columns: 1fr; gap: 2.2rem; padding-bottom: 2.4rem; }
  .footer .brand { justify-content: center; }
  .footer__about { margin-inline: auto; }
  .footer h5 { margin-bottom: 1rem; }
  .footer__links { justify-items: center; }
  .footer__links a:hover { padding-left: 0; }
  .footer__contact li { justify-content: center; text-align: left; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; }
}

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