/* ============================================================
   STAR HYGIENE — design system
   Aesthetic: supply-chain precision. Clean white paper base,
   deep navy ink, fresh teal accent, mono "packing label" details.
   ============================================================ */

:root {
  --navy-950: #061829;
  --navy-900: #081f38;
  --navy-800: #0b2a4a;
  --navy-700: #11375e;
  --teal-600: #0b8568;
  --teal-500: #0e9f7e;
  --teal-100: #ddf2ea;
  --teal-50:  #eef8f4;
  --paper:    #f6faf8;
  --white:    #ffffff;
  --ink:      #0b2a4a;
  --slate:    #4e6175;
  --line:     #dde6e2;
  --wa:       #25d366;

  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --font-mono: "Spline Sans Mono", "SFMono-Regular", monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 18px 44px -18px rgba(8, 31, 56, 0.22);
  --shadow-pop: 0 24px 60px -16px rgba(8, 31, 56, 0.34);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--teal-100); color: var(--navy-900); }

img { display: block; max-width: 100%; }
/* <picture> is a selection wrapper only — keep it layout-neutral so the
   inner <img> stays the grid/flex/positioned child its rules target. */
picture { display: contents; }

a { color: var(--teal-600); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- mono eyebrow / label language ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--teal-500);
}
.eyebrow .idx { color: var(--navy-800); opacity: 0.55; }

.star {
  display: inline-block;
  width: 1em; height: 1em;
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }

.btn-primary { background: var(--navy-800); color: var(--white); }
.btn-primary .star { color: var(--teal-500); }
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-teal { background: var(--teal-500); color: var(--navy-950); }
.btn-teal:hover { background: #12b18d; transform: translateY(-2px); box-shadow: var(--shadow-card); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-600); transform: translateY(-2px); }

.btn-wa { background: var(--wa); color: #07301a; }
.btn-wa:hover { background: #2ee27a; transform: translateY(-2px); box-shadow: var(--shadow-card); }

.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }

/* ---------- utility top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: #9fb3c8;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #cfe9df; }
.topbar a:hover { color: var(--white); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-item svg { width: 13px; height: 13px; color: var(--teal-500); }
.topbar .tb-right { display: flex; gap: 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(8, 31, 56, 0.25);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-900);
}
.brand .mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  border-radius: 10px;
  color: var(--teal-500);
  transition: transform 0.4s var(--ease);
}
.brand:hover .mark { transform: rotate(90deg); }
.brand .mark svg { width: 20px; height: 20px; }
.brand .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
}
.brand .name small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--teal-600);
  margin-top: 4px;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a.btn-primary { color: var(--white); }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a:not(.btn)[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.main-nav .btn { padding: 11px 20px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  width: 42px; height: 42px;
  cursor: pointer;
  color: var(--ink);
  place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, var(--teal-50) 0%, transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 42, 74, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, black, transparent 75%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 96px;
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero h1 .accent {
  color: var(--teal-600);
  font-style: italic;
  font-weight: 700;
}
@media (min-width: 600px) {
  .hero h1 .accent { white-space: nowrap; }
}
.hero .lede {
  font-size: 18.5px;
  max-width: 33em;
  margin-bottom: 34px;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.hero-points .star { color: var(--teal-500); font-size: 11px; }

/* hero visual: stacked photo cards + floating spec chips */
.hero-visual { position: relative; min-height: 460px; }
.hero-visual .ph-main {
  position: absolute;
  right: 0; top: 0;
  width: 72%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
}
.hero-visual .ph-sub {
  position: absolute;
  left: 0; bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-card);
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-800);
  box-shadow: var(--shadow-card);
  animation: chip-float 5s ease-in-out infinite;
}
.chip .star { color: var(--teal-500); }
.chip-1 { top: 9%; left: 2%; animation-delay: 0s; }
.chip-2 { bottom: 26%; right: 0; animation-delay: 1.6s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- generic sections ---------- */
.section { padding: 96px 0; }
.section.tint { background: var(--paper); }

.sec-head { max-width: 60ch; margin-bottom: 54px; }
.sec-head h2 { font-size: clamp(29px, 3.4vw, 40px); margin-bottom: 14px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }

/* ---------- category cards (home) ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(195deg, rgba(8, 31, 56, 0.05) 30%, rgba(8, 31, 56, 0.88) 100%);
}
.cat-card:hover img { transform: scale(1.05); }
.cat-body { padding: 34px; width: 100%; }
.cat-body .tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-500);
  display: block;
  margin-bottom: 10px;
}
.cat-body h3 { color: var(--white); font-size: 26px; margin-bottom: 10px; }
.cat-body p { color: #c3d2e2; font-size: 15.5px; max-width: 38ch; margin-bottom: 18px; }
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}
.cat-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.cat-card:hover .cat-link svg { transform: translateX(5px); }
.cat-card:hover .cat-link { color: var(--teal-500); }

/* ---------- split (about teaser & about page) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.rev > .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.split-media .chip { position: absolute; bottom: -18px; left: 26px; animation: none; }
.split h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 16px; }
.split p + p { margin-top: 14px; }

.check-list { margin-top: 26px; display: grid; gap: 13px; }
.check-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
}
.check-list .star { color: var(--teal-500); margin-top: 4px; font-size: 13px; }
.check-list small { display: block; color: var(--slate); font-weight: 400; font-size: 14.5px; }

/* ---------- why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-500);
  box-shadow: var(--shadow-card);
}
.why-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--teal-600);
  display: block;
  margin-bottom: 22px;
}
.why-card .icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.why-card .icon svg { width: 23px; height: 23px; }
.why-card h3 { font-size: 18.5px; margin-bottom: 9px; }
.why-card p { font-size: 14.8px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy-900);
  border-radius: 20px;
  overflow: hidden;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cta-band .watermark {
  position: absolute;
  right: -60px; top: -80px;
  width: 320px; height: 320px;
  color: rgba(14, 159, 126, 0.16);
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; position: relative; }
.cta-band p { color: #9fb3c8; max-width: 46ch; position: relative; }
.cta-band .cta-row { display: flex; gap: 14px; flex-wrap: wrap; position: relative; flex: none; }

/* ---------- products page ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% 0%, var(--teal-50) 0%, transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 42, 74, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 50px); margin-bottom: 16px; max-width: 22ch; }
.page-hero .lede { font-size: 18px; max-width: 56ch; }

.anchor-pills { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.anchor-pills a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-800);
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 100px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.anchor-pills a:hover { border-color: var(--teal-500); color: var(--teal-600); transform: translateY(-2px); }
.anchor-pills .star { color: var(--teal-500); font-size: 11px; }

.prod-section { padding: 86px 0; }
.prod-section.tint { background: var(--paper); }

.prod-head {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: end;
  margin-bottom: 46px;
}
.prod-head h2 { font-size: clamp(27px, 3.2vw, 37px); margin-bottom: 12px; }
.prod-head .head-img {
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-card);
}

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.prod-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-500);
  box-shadow: var(--shadow-card);
}
.prod-card .icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--teal-500);
  display: grid;
  place-items: center;
}
.prod-card .icon svg { width: 25px; height: 25px; }
.prod-card h3 { font-size: 18.5px; }
.prod-card p { font-size: 14.6px; flex: 1; }
.prod-card .plink {
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.prod-card .plink svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.prod-card:hover .plink svg { transform: translateX(4px); }

/* ---------- industries tiles ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.ind-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}
.ind-tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(200deg, transparent 40%, rgba(8, 31, 56, 0.85));
}
.ind-tile:hover img { transform: scale(1.06); }
.ind-tile .t {
  padding: 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.ind-tile .t small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 6px;
}

/* ---------- values (about) ---------- */
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  background: var(--navy-900);
  border-radius: var(--radius);
  padding: 38px 34px;
  color: #b9c9da;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.contact-card > * { position: relative; }
.contact-card h2 { color: var(--white); font-size: 24px; margin-bottom: 6px; }
.contact-card .role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-500);
  display: block;
  margin-bottom: 26px;
}
.c-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 15px;
}
.c-row svg { width: 18px; height: 18px; color: var(--teal-500); flex: none; margin-top: 3px; }
.c-row a { color: var(--white); font-weight: 600; }
.c-row a:hover { color: var(--teal-500); }
.c-row .lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7e93a9;
  margin-bottom: 3px;
}
.contact-card .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* form */
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-card);
}
.quote-form h2 { font-size: 24px; margin-bottom: 6px; }
.quote-form .sub { font-size: 15px; margin-bottom: 28px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: flex; flex-direction: column; gap: 7px; }
.f-field.full { grid-column: 1 / -1; }
.f-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.f-field label .req { color: var(--teal-600); }
.f-field input,
.f-field select,
.f-field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}
.f-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e6175' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.f-field textarea { resize: vertical; min-height: 120px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--teal-50);
}
.f-check {
  grid-column: 1 / -1;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
}
.f-check input {
  width: 19px; height: 19px;
  margin-top: 2px;
  accent-color: var(--teal-500);
  flex: none;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.quote-form .btn { width: 100%; justify-content: center; margin-top: 24px; }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  display: none;
}
.form-status.ok { display: block; background: var(--teal-50); color: var(--teal-600); border: 1px solid var(--teal-100); }
.form-status.err { display: block; background: #fdf0ef; color: #b3402f; border: 1px solid #f6d8d4; }

.map-wrap {
  margin-top: 76px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #8da2b8;
  position: relative;
  overflow: hidden;
  font-size: 14.8px;
}
.site-footer .watermark {
  position: absolute;
  left: -110px; bottom: -130px;
  width: 420px; height: 420px;
  color: rgba(14, 159, 126, 0.07);
  pointer-events: none;
}
.f-cols {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 44px;
  padding: 70px 0 50px;
  position: relative;
}
.f-cols .brand { color: var(--white); margin-bottom: 18px; }
.f-cols .brand .name small { color: var(--teal-500); }
.f-cols p { max-width: 34ch; }
.f-h {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 20px;
}
.f-links { display: grid; gap: 11px; }
.f-links a { color: #aebfd2; }
.f-links a:hover { color: var(--white); }
.f-contact { display: grid; gap: 14px; }
.f-contact .c { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { width: 16px; height: 16px; color: var(--teal-500); flex: none; margin-top: 4px; }
.f-contact a { color: #d6e2ee; font-weight: 500; }
.f-contact a:hover { color: var(--teal-500); }
.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  position: relative;
}

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--wa);
  color: #06311b;
  border-radius: 100px;
  padding: 15px;
  box-shadow: 0 14px 36px -8px rgba(18, 140, 70, 0.55);
  transition: padding 0.35s var(--ease), transform 0.3s var(--ease);
}
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  border: 2px solid var(--wa);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}
.wa-fab svg { width: 26px; height: 26px; flex: none; }
.wa-fab .lbl {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14.5px;
  transition: max-width 0.35s var(--ease), margin 0.35s var(--ease);
}
.wa-fab:hover { transform: translateY(-3px); }
.wa-fab:hover .lbl { max-width: 180px; margin-left: 10px; }

/* ---------- 404 ---------- */
.err-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(700px 420px at 50% -10%, var(--teal-50) 0%, transparent 65%),
    var(--paper);
  padding: 80px 24px;
}
.err-page .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(90px, 16vw, 170px);
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: -0.04em;
}
.err-page .code .star-o { color: var(--teal-500); display: inline-block; animation: spin-slow 9s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.err-page h1 { font-size: 26px; margin: 14px 0 10px; }
.err-page p { max-width: 44ch; margin: 0 auto 30px; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- page transitions (progressive enhancement) ---------- */
@view-transition { navigation: auto; }

.site-header { view-transition-name: site-header; }
.wa-fab { view-transition-name: wa-fab; }

::view-transition-old(root) {
  animation: vt-out 0.16s var(--ease) both;
}
::view-transition-new(root) {
  animation: vt-in 0.22s var(--ease) both;
}
@keyframes vt-out {
  to { opacity: 0; }
}
@keyframes vt-in {
  from { opacity: 0; transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 70px; }
  .hero-visual { min-height: 0; height: 440px; max-width: 560px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 46px 36px; }
}

@media (max-width: 860px) {
  .topbar .tb-right { display: none; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(8, 31, 56, 0.25);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav .btn { justify-content: center; }
  .nav-toggle { display: grid; }
  .cat-grid, .split, .split.rev, .contact-grid, .val-grid { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .split.rev > .split-media { order: 0; }
  .prod-head { grid-template-columns: 1fr; }
  .prod-head .head-img { order: -1; max-width: 480px; }
  .section { padding: 70px 0; }
  .f-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .why-grid, .ind-grid, .prod-grid, .f-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
  .f-cols { grid-template-columns: 1fr; gap: 36px; }
  .quote-form { padding: 28px 22px; }
  .cta-band { padding: 38px 26px; }
}
