/* ==========================================================================
   PurePath Chemicals - main stylesheet
   Brand: light grey, white, emerald green
   Fonts: Century Gothic (body, uses installed font, falls back to Questrial)
          Montserrat (headings, loaded from Google Fonts)
   ========================================================================== */

:root {
  --white: #ffffff;
  --g50: #f7f9f8;
  --g100: #eef1f0;
  --g200: #dde3e1;
  --g300: #c3ccc9;
  --g500: #7d8c87;
  --g600: #56655f;
  --text: #2b3b35;
  --ink: #0c2a20;

  --em: #059669;
  --em-d: #082e16ff;
  --em-dd: #065f46;
  --em-l: #34d399;
  --em-100: #d1fae5;
  --em-50: #ecfdf5;

  --font-head: 'Montserrat', 'montserrat', 'montserrat', 'montserrat', sans-serif;
  --font-body: 'Century Gothic', 'CenturyGothic', 'Apple Gothic', 'Questrial', 'Montserrat', sans-serif;

  --r-m: 16px;
  --r-l: 32px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); letter-spacing: -.035em; font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 62ch; font-weight: 400; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.bg-grey { background: var(--g50); }
.lead { font-size: 1.2rem; color: var(--g600); font-weight: 500; }
.muted { color: var(--g600); }

:focus-visible { outline: 3px solid var(--em-l); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem;
}
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn-primary { background: var(--em-d); color: #fff; }
.btn-primary:hover { background: var(--em-dd); box-shadow: 0 10px 24px -10px rgba(4, 120, 87, .7); }
.btn-ghost { border-color: var(--g300); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--em); color: var(--em-d); }
.btn-light { background: #fff; color: var(--em-dd); }
.btn-light:hover { background: var(--em-100); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: .65rem 1.2rem; font-size: .88rem; }
.btn-sec { background: var(--em-d); color: #fff; }
.btn-sec:hover { background: var(--em-d); box-shadow: 0 5px 12px -5px rgba(4, 120, 87, .7); }

.link {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--em-d); text-decoration: none;
  border-bottom: 1.5px solid var(--em-100);
  transition: border-color .25s;
}
.link:hover { border-color: var(--em); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--g200); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg, .brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  color: var(--ink); letter-spacing: -.02em; line-height: 1;
}
.brand-name small {
  display: block; margin-top: .3rem;
  font-weight: 500; font-size: .68rem; letter-spacing: .04em; color: var(--g500);
}
.nav ul { list-style: none; display: flex; align-items: center; gap: .2rem; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .55rem 1rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  color: var(--g600); text-decoration: none;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--g100); }
.nav a[aria-current="page"] { color: var(--em-dd); background: var(--em-50); }
.nav .btn { color: #fff; margin-left: .6rem; padding: .7rem 1.3rem; }
.nav a.btn, .nav a.btn[aria-current="page"] { color: #fff; background: var(--em-d); }
.nav a.btn:hover, .nav a.btn[aria-current="page"]:hover { color: #fff; background: var(--em-dd); }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--g200); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s; content: ""; position: relative;
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--g200);
    padding: 1rem 1.25rem 1.6rem;
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav a { padding: .9rem 1rem; }
  .nav .btn { margin: .8rem 0 0; text-align: center; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--g50), #fff 75%); }
.hero.home-hero {
  background:
    linear-gradient(90deg, rgba(247, 249, 248, .92) 0%, rgba(247, 249, 248, .78) 48%, rgba(247, 249, 248, .24) 100%),
    url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=2000&q=85') center 45% / cover;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
}
.hero h1 { margin-bottom: .5em; }
.hero .lead { max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-art { width: 100%; max-width: 560px; margin-inline: auto; }
.float { transform-box: fill-box; transform-origin: center; animation: drift 9s ease-in-out infinite alternate; }
.float.b { animation-duration: 11s; animation-delay: -3s; }
.float.c { animation-duration: 7s; animation-delay: -5s; }
.float.d { animation-duration: 13s; animation-delay: -1s; }
@keyframes drift { from { transform: translateY(-10px); } to { transform: translateY(12px); } }

/* one orchestrated entrance on the home hero */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.rise:nth-child(2) { animation-delay: .12s; }
.rise:nth-child(3) { animation-delay: .24s; }
.rise:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; order: -1; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--g50), #fff);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3.5rem);
}
.products-hero {
  background:
    linear-gradient(90deg, rgba(247, 249, 248, .88) 0%, rgba(247, 249, 248, .72) 48%, rgba(247, 249, 248, .2) 100%),
    url('https://images.unsplash.com/photo-1563453392212-326f5e854473?auto=format&fit=crop&w=2000&q=85') center 45% / cover;
}
.about-hero {
  background:
    linear-gradient(90deg, rgba(247, 249, 248, .88) 0%, rgba(247, 249, 248, .72) 48%, rgba(247, 249, 248, .2) 100%),
    url('https://images.unsplash.com/photo-1567789884554-0b844b597180?auto=format&fit=crop&w=2000&q=85') center 45% / cover;
}
.contact-hero {
  background:
    linear-gradient(90deg, rgba(247, 249, 248, .88) 0%, rgba(247, 249, 248, .72) 48%, rgba(247, 249, 248, .2) 100%),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=2000&q=85') center 45% / cover;
}
.industries-hero {
  background:
    linear-gradient(90deg, rgba(247, 249, 248, .88) 0%, rgba(247, 249, 248, .72) 48%, rgba(247, 249, 248, .2) 100%),
    url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=2000&q=85') center 45% / cover;
}

.page-hero::after {
  content: ""; position: absolute; right: -6%; top: -45%;
  width: min(560px, 70vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a7f3d0, #10b981 55%, #047857);
  opacity: .13; pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 18ch; }
.page-hero .lead { max-width: 56ch; margin: 0; }

/* ---------- pH scale ---------- */
.ph { background: var(--g100); border-radius: var(--r-l); padding: clamp(1.6rem, 4vw, 3.4rem); }
.ph-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.ph-head p { margin: 0; }
.ph-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.4rem; }
.ph-tab {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: .7rem 1.3rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--g300); background: #fff; color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.ph-tab:hover { border-color: var(--em); }
.ph-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ph-scale { position: relative; margin-top: 2.2rem; padding-top: 10px; }
.ph-track {
  position: relative; height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, #d5dcd9 0%, #a7f3d0 30%, #10b981 50%, #047857 75%, #063f30 100%);
}
.ph-window {
  position: absolute; top: -8px; height: 30px;
  left: calc(var(--from, 1) / 14 * 100%);
  width: calc((var(--to, 3) - var(--from, 1)) / 14 * 100%);
  border: 2.5px solid var(--ink); border-radius: 999px; background: rgba(255, 255, 255, .28);
  transition: left .6s var(--ease), width .6s var(--ease);
}
.ph-labels { display: flex; justify-content: space-between; margin-top: .8rem; font-family: var(--font-head); font-size: .8rem; color: var(--g600); }
.ph-read {
  margin-top: 2rem; background: #fff; border-radius: var(--r-m);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center;
}
.ph-num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); color: var(--em-d); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.ph-read h3 { margin-bottom: .25em; }
.ph-read p { margin: 0; }
@media (max-width: 800px) {
  .ph-head { grid-template-columns: 1fr; }
  .ph-read { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- Ranges (asymmetric) ---------- */
.section-head {
  max-width: 100%;
  margin: 0 auto clamp(2rem, 4vw, 3.4rem);
  text-align: center;
}
.ranges-title,
.ranges-description {
  white-space: normal;
  max-width: 100%;
}
.ranges-description {
  text-align: center;
  margin-inline: auto;
}

/* Three equal boxes in one row */
.ranges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Equal-height cards + floating hover effect */
.range {
  border-radius: var(--r-l);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  min-height: 360px;

  /* Smooth floating animation */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  /* Prevents content from causing uneven sizing */
  box-sizing: border-box;
}

/* Float when hovering */
.range:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.range h3 {
  font-size: 1.5rem;
}

.range-copy {
  font-weight: 400;
}

.range ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}

.range li {
  padding: .45rem 0 .45rem 1.6rem;
  position: relative;
  color: var(--em-d);
}

.range li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--em-d);
}

.range .link {
  margin-top: auto;
}

/* Industrial */
.range-ind {
  background: #fff;
  border: 1.5px solid var(--g200);
  color: var(--ink);
}

.range-ind h3 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.range-ind .link {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.range-ind .link:hover {
  border-color: #fff;
}

/* Domestic */
.range-dom {
  background: var(--g100);
}

.range-dom h3 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

/* Consumables */
.range-con {
  background: #fff;
  border: 1.5px solid var(--g200);
}

.range-con h3 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.range .ico-wrap {
  margin-bottom: 1.2rem;
}

.range-ind .ico-wrap {
  background: var(--em-50);
  color: var(--em-d);
}

/* Icons */
.ico {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico-wrap {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: var(--em-50);
  color: var(--em-d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Tablet */
@media (max-width: 860px) {
  .ranges {
    grid-template-columns: 1fr;
  }

  .range {
    min-height: 320px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .range {
    min-height: 0;
  }

  .range:hover {
    transform: translateY(-5px);
  }
}

/* ---------- Why list ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-sticky { position: sticky; top: 110px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li {
  display: grid; grid-template-columns: 54px 1fr; gap: 1.3rem;
  padding: 1.7rem 0; border-top: 1px solid var(--g200);
}
.rows li:last-child { border-bottom: 1px solid var(--g200); }
.rows h3 { margin-bottom: .3em; }
.rows p { margin: 0; color: var(--g600); font-weight: 400; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
}

/* ---------- Process (a genuine sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { position: relative; padding-top: 4.2rem; counter-increment: step; text-align: center; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--em-d); color: #fff;
  font-family: var(--font-head); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.steps li::after {
  content: ""; position: absolute; top: 24px; left: calc(50% + 24px); right: calc(-50% - 2rem + 24px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--g300) 0 6px, transparent 6px 12px);
}
.steps li:last-child::after { display: none; }
.steps p { color: var(--g600); margin: 0; font-size: 1rem; font-weight: 400; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Industry pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: .75rem; }
.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.2rem .7rem .9rem; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--g200);
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink);
  text-decoration: none; transition: border-color .25s, background .25s;
}
.pill .ico { width: 20px; height: 20px; color: var(--em-d); }
.pill:hover { border-color: var(--em); background: var(--em-50); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--em-dd), var(--ink));
  color: #d7efe6; border-radius: var(--r-l);
  padding: clamp(2.2rem, 6vw, 4.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04);
}
.cta h2 { color: #fff; margin-bottom: .3em; max-width: 20ch; font-weight: 400; }
.cta .lead { color: #fff; }
.cta p { margin: 0; max-width: 48ch; }
.cta > * { position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- About ---------- */
.facts {
  background: var(--g100); border-radius: var(--r-l); padding: clamp(1.6rem, 3vw, 2.6rem);
}
.facts h3 { margin-bottom: 1rem; }
.facts dl { margin: 0; }
.facts dt { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.facts dd { margin: 0 0 1.1rem; color: var(--ink); font-weight: 400; }
.facts dd:last-child { margin-bottom: 0; }
.values { border-top: 1px solid var(--g200); }
.value {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem;
  padding: 2rem 0; border-bottom: 1px solid var(--g200);
}
.value h3 { font-size: 1.5rem; margin: 0; color: var(--ink); }
.value p { margin: 0; color: var(--ink); }
.value-list { margin: 0; padding-left: 1.2rem; color: var(--ink); font-weight: 400; }
.value-list li { margin-bottom: .5rem; font-weight: 400; color: var(--ink); }
.value-list li:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .value { grid-template-columns: 1fr; gap: .6rem; } }
.dark-panel {
  background: linear-gradient(160deg, var(--ink), var(--em-dd));
  color: #d7efe6; border-radius: var(--r-l);
  padding: clamp(2rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.dark-panel h2 { color: #fff; }
.dark-panel ul { list-style: none; margin: 0; padding: 0; }
.dark-panel li { padding: .9rem 0 .9rem 2rem; border-top: 1px solid rgba(255, 255, 255, .15); position: relative; }
.dark-panel li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.dark-panel li::before {
  content: ""; position: absolute; left: 0; top: 1.35rem; width: 12px; height: 7px;
  border-left: 2px solid var(--em-l); border-bottom: 2px solid var(--em-l); transform: rotate(-45deg);
}
@media (max-width: 860px) { .dark-panel { grid-template-columns: 1fr; } }

/* ---------- Industries page ---------- */
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.sector {
  display: grid; grid-template-columns: 54px 1fr; gap: 1.3rem;
  padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r-m);
  border: 1.5px solid var(--g200); background: #fff;
  transition: border-color .25s;
}
.sector:hover { border-color: var(--em); }
.sector h3 { margin-bottom: .3em; }
.sector p { color: var(--g600); margin-bottom: .9rem; }
.sector .supply { font-size: .95rem; margin: 0; color: var(--text); }
.sector .supply strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 2rem; }
.filter {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: .65rem 1.3rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--g300); background: #fff; color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--em); }
.filter[aria-pressed="true"] { background: var(--em-d); border-color: var(--em-d); color: #fff; }
.count { margin-left: auto; font-size: .95rem; color: var(--g600); }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.prod { display: flex; flex-direction: column; border: 1.5px solid var(--g200); border-radius: var(--r-m); background: #fff; overflow: hidden; }
.prod[hidden] { display: none; }
.prod-img { height: 210px; display: flex; align-items: flex-end; justify-content: center; padding-top: 1.4rem; background: var(--em-50); }
.prod[data-cat="domestic"] .prod-img { background: var(--g100); }
.prod[data-cat="consumables"] .prod-img { background: var(--g50); border-bottom: 1.5px solid var(--g100); }
.prod-img svg { height: 100%; width: auto; max-width: 70%; }
.prod-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.badge {
  font-family: var(--font-head); font-weight: 600; font-size: .74rem;
  padding: .28rem .7rem; border-radius: 999px; background: var(--g100); color: var(--g600);
}
.badge.ph-b { background: var(--em-50); color: var(--em-dd); }
.prod h3 { font-size: 1.12rem; }
.prod p { font-size: .98rem; color: var(--g600); margin-bottom: .8rem; }
.prod .sizes { font-size: .9rem; margin-bottom: 1.2rem; color: var(--text); }
.prod .link, .prod .btn {
  margin-top: auto; align-self: flex-start; display: inline-flex;
  width: fit-content; padding: .35rem .55rem; border: 1.5px solid var(--em-d);
  border-radius: 999px; background: var(--white); color: var(--em-d);
  font-size: .82rem; text-decoration: none;
}
.prod .link:hover, .prod .btn:hover {
  border-color: var(--em-d); background: var(--white); color: var(--em-d);
  box-shadow: 0 5px 12px -5px rgba(4, 120, 87, .25);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-card { background: #fff; border: 1.5px solid var(--g200); border-radius: var(--r-l); padding: clamp(1.5rem, 4vw, 2.8rem); }
.form-card h2 { font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field.consent { flex-direction: row; }
label, .label { font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--ink); }
.req { color: var(--em-d); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--g300); background: var(--g50);
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--g500); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--em); background: #fff; box-shadow: 0 0 0 4px var(--em-100); }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: #b42318; background: #fff7f7; }
input:user-invalid, textarea:user-invalid { border-color: #b42318; }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; color: var(--g600); }
.consent input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--em-d); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 12px; font-size: .98rem; display: none; }
.form-status[data-state="ok"] { display: block; background: var(--em-50); color: var(--em-dd); border: 1.5px solid var(--em-100); }
.form-status[data-state="error"] { display: block; background: #fef3f2; color: #912018; border: 1.5px solid #fecdca; }
.details { list-style: none; margin: 0; padding: 0; }
.details li { display: grid; grid-template-columns: 54px 1fr; gap: 1.2rem; padding: 1.3rem 0; border-top: 1px solid var(--g200); }
.details li:last-child { border-bottom: 1px solid var(--g200); }
.details h3 { font-size: 1rem; margin-bottom: .2em; }
.details p, .details a { margin: 0; color: var(--g600); text-decoration: none; }
.details a:hover { color: var(--em-d); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.map {
  position: relative; border-radius: var(--r-l); overflow: hidden;
  border: 1.5px solid var(--g200); background: var(--g100);
}
.map iframe { display: block; width: 100%; height: clamp(360px, 52vw, 520px); border: 0; filter: grayscale(.55) contrast(1.02); transition: filter .4s; }
.map:hover iframe { filter: none; }
.map-card {
  position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  background: #fff; border-radius: var(--r-m); padding: 1.3rem 1.5rem; max-width: 320px;
  box-shadow: 0 20px 40px -20px rgba(12, 42, 32, .35);
}
.map-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.map-card p { font-size: .95rem; margin-bottom: 1rem; color: var(--g600); }
@media (max-width: 640px) { .map-card { position: static; max-width: none; border-radius: 0; box-shadow: none; border-top: 1.5px solid var(--g200); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b8cec5; padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer p { font-size: .96rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--em-l); }
.site-footer .brand { align-items: center; }
.site-footer .brand-mark { width: 96px; height: auto; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #8fb0a3; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .88rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

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