/* ==========================================================================
   Maruti Pipes Pvt. Ltd. — Design System
   Soft-palette corporate/industrial. Mobile-first. No framework.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  /* Brand — taken from the Maruti logo droplet and wordmark */
  --brand-bright: #00A0E0;   /* logo blue — accents, marks on dark */
  --brand:        #0077BE;   /* primary actions (white text passes AA) */
  --brand-deep:   #005A93;
  --brand-ink:    #0B3A5C;   /* dark sections, hero scrim, CTA band */
  --brand-soft:   #E1F1FB;
  --brand-mist:   #F1F8FD;

  /* Accent — the bright logo blue, used sparingly */
  --accent:       #00A0E0;
  --accent-ink:   #00658F;   /* accessible on light grounds */
  --accent-mist:  #E8F5FD;

  /* Neutrals — cool, biased toward the brand hue */
  --ink:          #10222E;
  --ink-2:        #47606E;
  --ink-3:        #7B909D;
  --ground:       #EEF4F8;
  --surface:      #FFFFFF;
  --surface-2:    #E4EDF4;
  --line:         #D3E0E9;
  --line-soft:    #E2ECF2;

  /* Product tints */
  --tint-hdpe:     #E7EDF2;
  --tint-garden:   #FBEFE2;
  --tint-delivery: #E1F1FB;

  /* Type */
  --display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --body:    'Karla', 'Segoe UI', system-ui, sans-serif;

  /* Scale (4/8 rhythm) */
  --s1: .25rem;  --s2: .5rem;   --s3: .75rem;  --s4: 1rem;
  --s5: 1.5rem;  --s6: 2rem;    --s7: 3rem;    --s8: 4rem;
  --s9: 6rem;

  --radius:   14px;
  --radius-s: 8px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(16,34,46,.05), 0 2px 8px -4px rgba(16,34,46,.10);
  --shadow-m: 0 2px 4px rgba(16,34,46,.04), 0 12px 28px -14px rgba(16,34,46,.20);
  --shadow-l: 0 4px 8px rgba(16,34,46,.05), 0 28px 60px -28px rgba(16,34,46,.28);

  --container: 76rem;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* z-scale */
  --z-header: 100;
  --z-drawer: 200;
}

/* --- 2. Reset & base ----------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }

a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--radius-s);
}

::selection { background: var(--brand-soft); color: var(--brand-ink); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-deep); color: #fff;
  padding: var(--s3) var(--s4); z-index: 999; border-radius: 0 0 var(--radius-s) 0;
}
.skip:focus { left: 0; }

/* --- 3. Layout primitives ------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s5);
}
@media (min-width: 60rem) { .container { padding-inline: var(--s6); } }

/* Anchor targets must clear the sticky header */
:target, [id] { scroll-margin-top: 5.5rem; }

.section { padding-block: var(--s8); }
@media (min-width: 48rem) { .section { padding-block: var(--s9); } }

.section--tint { background: var(--surface); }
.section--dark {
  background: var(--brand-ink);
  color: rgba(255,255,255,.86);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-head p, .section--dark .feature p { color: rgba(255,255,255,.76); }
.section--dark .eyebrow { color: #7FD1F5; }
.section--dark .feature__icon { background: rgba(255,255,255,.10); color: #7FD1F5; }
.section--mist { background: var(--brand-mist); }

.eyebrow {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.eyebrow::before {
  content: '';
  width: 1.6rem; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}

.section-head { max-width: 44rem; margin-bottom: var(--s7); }
.section-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); margin-bottom: var(--s4); }
.section-head p { color: var(--ink-2); font-size: 1.06rem; }

/* --- 4. Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s5);
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--display);
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn { white-space: nowrap; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-s); }
.btn--primary:hover { background: var(--brand-deep); box-shadow: var(--shadow-m); }

.btn--ghost { background: transparent; color: var(--brand-ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-soft); }

.btn--ondark { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.42); backdrop-filter: blur(6px); }
.btn--ondark:hover { background: rgba(255,255,255,.24); border-color: #fff; }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* --- 5. Header ----------------------------------------------------------- */

.header {
  position: sticky; top: 0;
  z-index: var(--z-header);
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__bar {
  display: flex; align-items: center; gap: var(--s5);
  min-height: 68px;
}

.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; object-fit: contain; }
.brand__word { width: auto; height: 21px; flex: none; object-fit: contain; }
@media (min-width: 48rem) {
  .brand__mark { width: 42px; height: 42px; }
  .brand__word { height: 24px; }
}

.nav { display: none; }
@media (min-width: 73rem) {
  .nav { display: flex; align-items: center; gap: var(--s2); }
  .nav a {
    font-family: var(--display); font-size: .93rem; font-weight: 600;
    color: var(--ink-2); text-decoration: none; white-space: nowrap;
    padding: var(--s2) var(--s3); border-radius: var(--radius-s);
    transition: color .16s var(--ease), background-color .16s var(--ease);
  }
  .nav a:hover { color: var(--brand-deep); background: var(--brand-soft); }
  .nav a[aria-current="page"] { color: var(--brand-deep); background: var(--brand-soft); }
}

.header__cta { display: none; }
@media (min-width: 73rem) { .header__cta { display: inline-flex; } }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -8px;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--surface); cursor: pointer; color: var(--ink);
}
@media (min-width: 73rem) { .burger { display: none; } }
.burger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  visibility: hidden;
}
.drawer[data-open="true"] { visibility: visible; }
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(9,26,38,.55);
  opacity: 0; transition: opacity .24s var(--ease);
}
.drawer[data-open="true"] .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset-block: 0; right: 0;
  width: min(21rem, 86vw);
  background: var(--surface);
  padding: var(--s5) var(--s5) var(--s7);
  display: flex; flex-direction: column; gap: var(--s2);
  transform: translateX(100%);
  transition: transform .28s var(--ease);
  overflow-y: auto;
  box-shadow: var(--shadow-l);
}
.drawer[data-open="true"] .drawer__panel { transform: translateX(0); }
.drawer__top { display: flex; justify-content: flex-end; margin-bottom: var(--s3); }
.drawer__close {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--surface); cursor: pointer; color: var(--ink);
}
.drawer__panel a.drawer__link {
  font-family: var(--display); font-weight: 600; font-size: 1.06rem;
  color: var(--ink); text-decoration: none;
  padding: var(--s3) var(--s3);
  border-radius: var(--radius-s);
  min-height: 48px; display: flex; align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__panel a.drawer__link:hover { background: var(--brand-soft); color: var(--brand-deep); }
.drawer__panel .btn { margin-top: var(--s4); }

@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__scrim { transition: none; }
}

/* --- 6. Hero ------------------------------------------------------------- */

.hero { position: relative; background: var(--brand-ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* softened so the headline sits forward; scaled up to hide the blurred edge */
  filter: blur(4px);
  transform: scale(1.05);
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(9,40,64,.74) 0%, rgba(9,40,64,.38) 48%, rgba(9,40,64,.70) 100%),
    linear-gradient(to right, rgba(9,40,64,.66) 0%, rgba(9,40,64,.24) 62%, rgba(9,40,64,.05) 100%);
}
.hero__inner {
  position: relative;
  padding-block: var(--s8) var(--s9);
  max-width: 46rem;
}
@media (min-width: 48rem) { .hero__inner { padding-block: var(--s9) 7rem; } }

.hero .eyebrow { color: #7FD1F5; }
.hero .eyebrow::before { background: var(--accent); }

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 22px rgba(5,20,34,.55);
  font-size: clamp(2.1rem, 6.6vw, 3.9rem);
  margin-bottom: var(--s4);
}
.hero h1 em { font-style: normal; color: #7FD1F5; }

.hero__lead {
  color: rgba(255,255,255,.94);
  text-shadow: 0 1px 14px rgba(5,20,34,.6);
  font-size: 1.09rem;
  max-width: 38rem;
  margin-bottom: var(--s6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Stats strip */
.stats {
  position: relative;
  margin-top: calc(var(--s7) * -1);
  z-index: 2;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-m);
}
@media (min-width: 48rem) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: var(--s5) var(--s4); text-align: center; }
.stat__num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--brand-deep); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat__num span { font-size: .55em; color: var(--ink-3); font-weight: 700; margin-left: 2px; }
.stat__label {
  font-size: .8rem; color: var(--ink-2); margin-top: var(--s1);
  letter-spacing: .01em;
}

/* --- 7. Product cards ---------------------------------------------------- */

.products { display: grid; gap: var(--s5); }
@media (min-width: 46rem) { .products { grid-template-columns: repeat(3, 1fr); } }

.pcard {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .pcard:hover { transform: none; } }

/* Photographic media, identical ratio across all three cards */
.pcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .pcard:hover .pcard__media img { transform: none; } }

.pcard__body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; gap: var(--s3); }
.pcard__body h3 { font-size: 1.28rem; }
.pcard__body p { color: var(--ink-2); font-size: .96rem; }

.taglist { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: auto; padding-top: var(--s2); }
.tag {
  font-family: var(--display); font-size: .74rem; font-weight: 600;
  letter-spacing: .02em;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2);
}
/* Tag tint carries the product family, since the photos no longer differ in ground */
.pcard--hdpe     .tag { background: var(--tint-hdpe); }
.pcard--garden   .tag { background: var(--tint-garden); color: var(--accent-ink); }
.pcard--delivery .tag { background: var(--tint-delivery); }

.pcard__link {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--display); font-weight: 700; font-size: .93rem;
  color: var(--brand-deep); text-decoration: none;
  min-height: 44px;
}
.pcard__link svg { width: 1em; height: 1em; transition: transform .18s var(--ease); }
.pcard__link:hover svg { transform: translateX(3px); }

/* --- 8. Feature grid ----------------------------------------------------- */

.features { display: grid; gap: var(--s5); }
@media (min-width: 40rem) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .features { grid-template-columns: repeat(3, 1fr); } }

.feature { display: flex; gap: var(--s4); }
.feature__icon {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-deep);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.04rem; margin-bottom: var(--s2); }
.feature p { color: var(--ink-2); font-size: .94rem; }

/* --- 9. Split (image + copy) --------------------------------------------- */

.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .split--flip .split__media { order: 2; }
}
.split__media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split__body h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: var(--s4); }
.split__body p { color: var(--ink-2); margin-bottom: var(--s4); }

.checklist { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: var(--s3); }
.checklist li { display: flex; gap: var(--s3); align-items: flex-start; font-size: .97rem; }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 3px; }

/* --- 10. Applications ---------------------------------------------------- */

.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (min-width: 40rem) { .apps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .apps { grid-template-columns: repeat(4, 1fr); } }

.app {
  display: flex; align-items: center; gap: var(--s3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4);
  font-size: .92rem;
  font-weight: 500;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.app:hover { border-color: var(--brand); background: var(--brand-mist); }
.app svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* --- 11. Certification strip --------------------------------------------- */

.certs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s5);
  padding: var(--s5) 0;
  border-block: 1px solid var(--line);
}
@media (min-width: 60rem) { .certs { grid-template-columns: repeat(4, 1fr); } }
.cert {
  display: flex; align-items: center; gap: var(--s3);
  color: var(--ink-2); font-size: .9rem; font-weight: 500;
}
.cert__badge {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  font-family: var(--display); font-weight: 800; font-size: .72rem;
  letter-spacing: .02em;
}

/* --- 12. CTA band -------------------------------------------------------- */

.cta {
  background: var(--brand-ink);
  border-radius: var(--radius-l);
  padding: var(--s7) var(--s5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 48rem) { .cta { padding: var(--s8) var(--s7); } }
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60rem 24rem at 50% -20%, rgba(0,160,224,.22), transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 4.4vw, 2.4rem); margin-bottom: var(--s4); }
.cta p { color: rgba(255,255,255,.86); max-width: 40rem; margin: 0 auto var(--s6); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }

/* --- 13. Contact --------------------------------------------------------- */

.contact { display: grid; gap: var(--s5); }
@media (min-width: 40rem) { .contact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .contact { grid-template-columns: repeat(4, 1fr); } }
.ccard { display: flex; flex-direction: column; }
.ccard .ccard__btn { margin-top: auto; }

.ccard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
}
.ccard__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-mist); color: var(--accent-ink);
  margin-bottom: var(--s4);
}
.ccard__icon svg { width: 20px; height: 20px; }
.ccard h3 { font-size: 1rem; margin-bottom: var(--s2); }
.ccard p, .ccard a { color: var(--ink-2); font-size: .95rem; text-decoration: none; }
.ccard a:hover { color: var(--brand-deep); text-decoration: underline; }

/* --- 14. Footer ---------------------------------------------------------- */

.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: var(--s8) var(--s5); }
.footer__grid { display: grid; gap: var(--s6); }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer h4 {
  font-size: .82rem; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; margin-bottom: var(--s4); font-weight: 700;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .93rem; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__lockup { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.footer__lockup img:first-child { width: 40px; height: 40px; object-fit: contain; }
.footer__lockup img:last-child  { width: auto; height: 23px; object-fit: contain; }
.footer__about { font-size: .93rem; margin-top: var(--s4); max-width: 26rem; }

.footer__base {
  margin-top: var(--s7); padding-top: var(--s5);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.55);
}

/* --- 15. Reveal on scroll ------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal.is-in { transition: none; }
}

/* --- 16. Utilities ------------------------------------------------------- */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.no-scroll { overflow: hidden; }

/* --- 17. Footer logo lockup --------------------------------------------- */
.footer__logo { width: 190px; height: auto; margin-bottom: var(--s4); }
.footer__place {
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 600;
}


/* --- 18. Inner page hero ------------------------------------------------- */

.phero { position: relative; background: var(--brand-ink); overflow: hidden; }
.phero__media { position: absolute; inset: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(9,40,64,.90) 0%, rgba(9,40,64,.72) 60%, rgba(9,40,64,.88) 100%),
    linear-gradient(to right, rgba(9,40,64,.80), rgba(9,40,64,.30));
}
.phero__inner { position: relative; padding-block: var(--s8); max-width: 46rem; }
@media (min-width: 48rem) { .phero__inner { padding-block: var(--s9) var(--s8); } }
.phero .eyebrow { color: #7FD1F5; }
.phero h1 { color: #fff; font-size: clamp(1.9rem, 5.6vw, 3.2rem); margin-bottom: var(--s4); }
.phero__lead { color: rgba(255,255,255,.90); font-size: 1.06rem; max-width: 38rem; }

/* --- 19. Panels, 2-col checklists, download rows ------------------------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--s5);
  margin-top: var(--s6);
}
@media (min-width: 48rem) { .panel { padding: var(--s6); } }
.panel h3 { font-size: 1.2rem; margin-bottom: var(--s4); }
.section--tint .panel { background: var(--ground); }

.checklist--2col { margin-bottom: 0; }
@media (min-width: 44rem) {
  .checklist--2col { grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
}

.dl-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

.note-line {
  margin-top: var(--s5); font-size: .88rem; color: var(--ink-3);
  border-left: 3px solid var(--line); padding-left: var(--s4);
}

/* --- 20. Partner logos --------------------------------------------------- */

.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
@media (min-width: 40rem) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .partners { grid-template-columns: repeat(4, 1fr); } }
.partner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4);
  display: flex; flex-direction: column; align-items: center; gap: var(--s3);
  text-align: center;
}
.partner img { height: 46px; width: auto; object-fit: contain; }
.partner span { font-size: .78rem; color: var(--ink-2); line-height: 1.4; }

/* --- 21. Gallery --------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }
@media (min-width: 72rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gitem { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.gitem img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gitem:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .gitem:hover img { transform: none; } }

/* --- 22. Empty states ---------------------------------------------------- */

.empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-l);
  padding: var(--s7) var(--s5);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--s3);
}
.section--tint .empty { background: var(--ground); }
.empty svg { width: 34px; height: 34px; color: var(--ink-3); }
.empty h3 { font-size: 1.16rem; }
.empty p { color: var(--ink-2); max-width: 40rem; }
.empty .btn { margin-top: var(--s2); }

/* --- 23. Download cards -------------------------------------------------- */

.dcards { display: grid; gap: var(--s4); }
@media (min-width: 48rem) { .dcards { grid-template-columns: repeat(2, 1fr); } }
.dcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s4);
}
.dcard__icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.dcard__icon svg { width: 21px; height: 21px; }
.dcard__body { flex: 1; }
.dcard__type {
  font-family: var(--display); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; color: var(--ink-3);
}
.dcard h3 { font-size: 1.1rem; margin: var(--s2) 0; }
.dcard p { color: var(--ink-2); font-size: .93rem; }
.dcard .btn { align-self: flex-start; }

/* --- 24. Form ------------------------------------------------------------ */

.form { display: grid; gap: var(--s4); margin-top: var(--s5); }
@media (min-width: 34rem) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: .7rem .85rem;
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.form__note { font-size: .84rem; color: var(--ink-3); margin-top: var(--s3); }
.muted { color: var(--ink-3); }

/* NS-40 certification mark */
.cert__ns { width: 42px; height: 42px; flex: none; object-fit: contain; }
.footer__ns { width: 54px; height: 54px; object-fit: contain; margin-top: var(--s4); }

/* --- 25. Certification cards & film ------------------------------------- */

.certgrid { display: grid; gap: var(--s4); }
@media (min-width: 46rem) {
  /* adapts to however many certifications are listed */
  .certgrid { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
}
.certcard {
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--s5);
}
.section--tint .certcard { background: var(--surface); }
.certcard__mark { height: 54px; display: flex; align-items: center; margin-bottom: var(--s4); }
.certcard__mark img { width: 48px; height: 48px; object-fit: contain; }
.certcard__mark .cert__badge { width: 48px; height: 48px; font-size: .78rem; }
.certcard h3 { font-size: 1.18rem; }
.certcard__sub {
  font-family: var(--display); font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin: var(--s2) 0 var(--s3);
}
.certcard p { color: var(--ink-2); font-size: .93rem; }

.film {
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-l);
  aspect-ratio: 16 / 9;
}
.film video { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--ink); }

/* --- 26. Social, call button, form wrap --------------------------------- */

.social { display: flex; gap: var(--s3); margin-top: var(--s5); }
.social a {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.10); color: rgba(255,255,255,.86);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.social a:hover { background: var(--brand); color: #fff; }
.social svg { width: 19px; height: 19px; }

.header__call { display: none; }
@media (min-width: 84rem) { .header__call { display: inline-flex; } }
.header__call svg, .header__cta svg { width: 1.05em; height: 1.05em; }

.ccard__btn { margin-top: var(--s4); color: #fff; }
.ccard__btn span { color: #fff; }
.ccard__btn svg { color: #fff; }
.formwrap { max-width: 48rem; }

/* --- 27. Articles, FAQ, dimension table --------------------------------- */

.posts { display: grid; gap: var(--s5); }
@media (min-width: 52rem) { .posts { grid-template-columns: repeat(2, 1fr); } }
.post {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s3);
}
.post h2 { font-size: 1.24rem; }
.post h2 a { color: var(--ink); text-decoration: none; }
.post h2 a:hover { color: var(--brand-deep); }
.post p { color: var(--ink-2); font-size: .95rem; }
.post__date {
  font-family: var(--display); font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.post .pcard__link { margin-top: auto; }

.article { max-width: 44rem; }
.article h2 { font-size: 1.5rem; margin: var(--s7) 0 var(--s4); }
.article p { margin-bottom: var(--s4); color: var(--ink-2); }
.article strong { color: var(--ink); font-weight: 600; }
.article .checklist { margin-bottom: var(--s5); }
.article__foot {
  margin-top: var(--s7); padding-top: var(--s4);
  border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--ink-3);
}

.faqs { display: grid; gap: var(--s3); max-width: 52rem; }
.faq {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--s4) var(--s5);
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.4rem; color: var(--brand); flex: none; line-height: 1;
}
.faq[open] summary::after { content: '\2013'; }
.faq[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq__a { padding: var(--s4) var(--s5); }
.faq__a p { color: var(--ink-2); font-size: .96rem; }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.dimtable { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: .88rem; }
.dimtable caption {
  caption-side: top; text-align: left; padding: var(--s4) var(--s5);
  font-size: .84rem; color: var(--ink-3); border-bottom: 1px solid var(--line-soft);
}
.dimtable th, .dimtable td {
  padding: .55rem .8rem; text-align: right;
  border-bottom: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.dimtable thead th {
  background: var(--surface-2); color: var(--ink-2);
  font-family: var(--display); font-size: .76rem; letter-spacing: .06em;
}
.dimtable tbody th { text-align: left; font-family: var(--display); color: var(--ink); }
.dimtable tbody tr:nth-child(even) { background: var(--brand-mist); }
.dimtable tbody tr:last-child th, .dimtable tbody tr:last-child td { border-bottom: 0; }

/* --- 28. Recruitment steps ---------------------------------------------- */

.steps3 { display: grid; gap: var(--s5); }
@media (min-width: 46rem) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.step { margin: 0; background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius-l); overflow: hidden; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step figcaption {
  padding: var(--s4) var(--s5) var(--s5);
  display: flex; gap: var(--s3); align-items: flex-start;
  font-size: .95rem; color: var(--ink-2);
}
.step__n {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
  font-family: var(--display); font-weight: 800; font-size: .82rem;
}

/* --- 29. Build credit ---------------------------------------------------- */
.credit { display: inline-flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.credit a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; }
.credit a:hover { color: #fff; text-decoration: underline; }
.credit__heart { width: 14px; height: 14px; fill: #E23A3A; flex: none; }


/* --- 30. Optional dark view (opt-in only; day view is the default) ------------------------------------------------------ */


:root[data-theme="dark"] {
  --brand-bright: #4FBDF0;
  --brand:        #2E9FDC;
  --brand-deep:   #7FD1F5;
  --brand-ink:    #071722;
  --brand-soft:   #12303F;
  --brand-mist:   #0E2431;

  --accent:       #4FBDF0;
  --accent-ink:   #8FD8F7;
  --accent-mist:  #12303F;

  --ink:          #E7EFF6;
  --ink-2:        #A2B8C8;
  --ink-3:        #74909F;
  --ground:       #0B1621;
  --surface:      #12212D;
  --surface-2:    #1A2F3E;
  --line:         #243B4C;
  --line-soft:    #1C303F;

  --tint-hdpe:     #1A2F3E;
  --tint-garden:   #33291B;
  --tint-delivery: #12303F;

  --shadow-s: 0 1px 2px rgba(0,0,0,.5), 0 2px 8px -4px rgba(0,0,0,.6);
  --shadow-m: 0 2px 4px rgba(0,0,0,.45), 0 12px 28px -14px rgba(0,0,0,.7);
  --shadow-l: 0 4px 8px rgba(0,0,0,.5), 0 28px 60px -28px rgba(0,0,0,.8);
}

/* pieces that must follow the theme rather than stay light */
:root[data-theme="dark"] .header { background: rgba(11,22,33,.88); }
:root[data-theme="dark"] .footer { background: #071722; }
:root[data-theme="dark"] .btn--ghost { color: var(--ink); }
:root[data-theme="dark"] .brand__mark,
:root[data-theme="dark"] .certcard__mark img { filter: invert(1) brightness(1.6); }

/* theme toggle */
.themebtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--surface); color: var(--ink-2); cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.themebtn:hover { color: var(--brand); border-color: var(--brand); }
.themebtn svg { width: 19px; height: 19px; }
.themebtn .moon { display: none; }
:root[data-theme="dark"] .themebtn .moon { display: block; }
:root[data-theme="dark"] .themebtn .sun { display: none; }

/* --- 31. Phone list and Google review ----------------------------------- */

.phones { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.phones li { display: flex; align-items: baseline; gap: var(--s3); font-size: .95rem; }
.phones span {
  font-family: var(--display); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  min-width: 3.4rem;
}
.phones a { color: var(--ink-2); text-decoration: none; font-variant-numeric: tabular-nums; }
.phones a:hover { color: var(--brand-deep); text-decoration: underline; }

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--s6) var(--s5);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--s3);
}
@media (min-width: 48rem) { .review { padding: var(--s7); } }
.review__stars { display: flex; gap: .18rem; color: #F5A623; }
.review__stars svg { width: 22px; height: 22px; }
.review h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); }
.review p { color: var(--ink-2); max-width: 42rem; }
.review .btn { margin-top: var(--s2); }
.review__note { font-size: .84rem; color: var(--ink-3); margin-top: var(--s2); }

.btn--google { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--google:hover { background: var(--surface-2); border-color: var(--brand); box-shadow: var(--shadow-m); }
.btn--google svg { width: 1.15em; height: 1.15em; }

/* --- 32. Numbered process steps ----------------------------------------- */
ol.steps { counter-reset: st; list-style: none; padding: 0; margin: 0 0 var(--s5); }
ol.steps > li {
  counter-increment: st;
  position: relative;
  padding-left: 3rem;
  padding-bottom: var(--s5);
  border-left: 2px solid var(--line);
  margin-left: .9rem;
}
ol.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps > li::before {
  content: counter(st);
  position: absolute; left: -1rem; top: -.15rem;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: .88rem;
}
ol.steps li h3 { font-size: 1.02rem; margin-bottom: var(--s2); }
ol.steps li p { color: var(--ink-2); font-size: .95rem; margin: 0; }

.legal a { color: rgba(255,255,255,.72); text-decoration: none; }
.legal a:hover { color: #fff; text-decoration: underline; }

/* --- 33. Price table ----------------------------------------------------- */
.pricetable { min-width: 52rem; }
.pricetable thead th span,
.pricetable tbody th span {
  display: block; font-family: var(--body); font-weight: 400;
  font-size: .72rem; color: var(--ink-3); letter-spacing: 0;
}
.pricetable tbody th { white-space: nowrap; }
.pricetable td { font-variant-numeric: tabular-nums; }
.terms { margin-top: var(--s5); max-width: 46rem; }
