/* ==========================================================================
   Fourth Chem Trading Co., Ltd.
   Design tokens extracted 1:1 from Figma (Fourth_Chem_Trading_Co___Ltd_.fig)
   Canvas 1920px / container 1250px
   ========================================================================== */

:root {
  /* --- Colors (from Figma fills) --- */
  --c-green-dark: #013f2f;
  --c-green: #07944a;
  --c-pink: #ff5fa2;
  --c-pink-dark: #e03890;
  --c-ink: #121212;
  --c-paper: #f5f5f5;
  --c-white: #ffffff;
  --c-pink-soft: rgba(255, 95, 162, 0.2);

  /* --- Typography --- */
  --font: "Prompt", -apple-system, "Segoe UI", sans-serif;
  --fs-60: 60px;
  --fs-40: 40px;
  --fs-24: 24px;
  --fs-20: 20px;
  --fs-18: 18px;
  --fs-16: 16px;
  --fs-14: 14px;
  --fs-12: 12px;

  /* --- Radius --- */
  --r-6: 6px;
  --r-10: 10px;
  --r-19: 19px;
  --r-pill: 999px;

  /* --- Shadow --- */
  --sh-card: 0 0 10px rgba(0, 0, 0, 0.1);
  --sh-strong: 0 0 10px rgba(0, 0, 0, 0.3);
  --sh-text: 0 4px 15px rgba(0, 0, 0, 1);

  /* --- Layout --- */
  --container: 1250px;
  --gutter: 24px;
  --header-h: 135px;
  --section-gap: 110px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* Figma uses only Prompt Regular 400 / Medium 500 / SemiBold 600 / Bold 700.
   Reset the browser's default 700 on headings so nothing renders too heavy. */
h1, h2, h3, h4, h5, h6 { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--c-pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

/* ==========================================================================
   Shared components
   ========================================================================== */

/* Eyebrow pill — Figma: pink 20% bg, r19, SemiBold 14, uppercase */
.eyebrow {
  display: inline-block;
  padding: 2px 21px;
  border-radius: var(--r-19);
  background: var(--c-pink-soft);
  color: var(--c-pink);
  font-size: var(--fs-14);
  font-weight: 600;
  line-height: 21px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* Section heading — Figma: SemiBold 40 */
.h-section {
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 1.25;
}

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-head p {
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: 1.5;
  max-width: 800px;
}

/* Buttons — Figma: pink fill, r10, ExtraBold */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: var(--r-10);
  background: var(--c-pink);
  color: var(--c-white);
  font-size: var(--fs-16);
  font-weight: 800;
  line-height: 24px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: var(--c-pink-dark); transform: translateY(-2px); }

/* outlined variant, for a secondary action beside a filled button */
.btn--ghost {
  background: transparent;
  border: 1px solid var(--c-pink);
  color: var(--c-pink);
}

.btn--ghost:hover { background: var(--c-pink); color: var(--c-white); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 15px 20px; font-size: var(--fs-14); line-height: 21px; }
.btn svg { flex: none; }

/* Text link with arrow — Figma: "อ่านต่อ →" SemiBold 14 */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-14);
  font-weight: 600;
  transition: gap 0.2s ease;
}

.link-more:hover { gap: 10px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-green-dark);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.site-logo img { width: 226px; height: auto; }

.nav-main ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-main a {
  color: var(--c-white);
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: 50px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-main a:hover { color: var(--c-pink); }

/* Figma: the current page is Prompt Bold 18 — no underline */
.nav-main .is-current a { font-weight: 700; }

.header-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 182px;
  height: 41px;
  border-radius: var(--r-10);
  background: var(--c-pink);
  color: var(--c-white);
  font-size: var(--fs-16);
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.header-cta a:hover { background: var(--c-pink-dark); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  color: var(--c-white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span + span { margin-top: 6px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 708px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/hero-bg.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Figma gradient matrix: white 40% at the top, clear by mid-height */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero__products {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  max-width: 1075px;
  height: auto;          /* true 1061×708 ratio — never squashed */
  object-fit: contain;
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 2; }

.hero__content { max-width: 785px; }

/* Figma character overrides: line 1 = SemiBold 86px pink,
   line 2 = Regular 64px green, both on a 66px line box. */
.hero h1 { display: flex; flex-direction: column; }

.hero__title-a {
  font-size: 86px;
  font-weight: 600;
  line-height: 73px;
  color: var(--c-pink);
}

.hero__title-b {
  font-size: 64px;
  font-weight: 400;
  line-height: 66px;
  color: var(--c-green);
}

.hero p {
  margin-top: 20px;
  font-weight: 400;
  max-width: 622px;
  font-size: var(--fs-20);
  line-height: 30px;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

/* ==========================================================================
   Certifications
   ========================================================================== */

.certs {
  position: relative;
  padding: 150px 0 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(7, 148, 74, 0.1) 100%);
}

.certs .h-section { color: var(--c-pink); }

.certs__slider {
  margin-top: 92px;
  display: flex;
  gap: 57px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.certs__slider::-webkit-scrollbar { display: none; }

.certs__slide {
  flex: 0 0 372px;
  scroll-snap-align: center;
}

.certs__slide img {
  width: 100%;
  height: 524px;
  object-fit: cover;
  border-radius: var(--r-6);
  box-shadow: var(--sh-card);
  background: var(--c-white);
}

.dots {
  margin-top: 67px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dots button {
  width: 12px; height: 11px;
  border-radius: var(--r-pill);
  background: var(--c-green-dark);
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dots button.is-active { background: var(--c-pink); transform: scale(1.1); }

/* Full-bleed slider on wide screens (Figma row is 1659px wide) */
@media (min-width: 1750px) {
  .certs__slider {
    width: 1659px;
    max-width: none;
    margin-inline: auto;
    overflow: visible;
    justify-content: center;
  }
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  position: relative;
  min-height: 779px;
  display: flex;
  align-items: center;
  background: var(--c-white);
  overflow: hidden;
}

/* Figma: background image paint opacity = 20% */
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/about-bg.jpg") center / cover no-repeat;
  opacity: 0.2;
}

.about__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 625px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.about__eyebrow { margin-bottom: 16px; }

/* Figma: line 1 = Medium 40px, line 2 = SemiBold 60px, both #07944A */
.about h2 { display: flex; flex-direction: column; color: var(--c-green); }

.about__title-a { font-size: var(--fs-40); font-weight: 500; line-height: 60px; }
.about__title-b { font-size: 60px; font-weight: 600; line-height: 60px; }

.about p {
  margin-top: 20px;
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: 25px;
  color: rgba(18, 18, 18, 0.65);
}

/* Figma: the opening line is SemiBold at full opacity */
.about p .lead { font-weight: 600; color: var(--c-ink); }

.about .btn { margin-top: 32px; }

.about__media img { width: 100%; height: auto; object-fit: contain; }

/* ==========================================================================
   Recommended products
   ========================================================================== */

.products { padding: var(--section-gap) 0; }

.products__grid {
  margin-top: 75px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 59px 52px;
}

.product-card { display: block; }

.product-card__media {
  position: relative;
  aspect-ratio: 274 / 311;
  border-radius: var(--r-10);
  overflow: hidden;
  background: url("../img/product-card-bg.jpg") center / cover no-repeat;
  display: grid;
  place-items: center;
}

.product-card__media img {
  width: 84%;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img { transform: scale(1.06); }

/* same correction as the shop grid: NEWGOLD fills more of its canvas */
.product-card__media--tall img { width: 68%; }

.product-card__cat {
  margin-top: 9px;
  font-weight: 400;
  font-size: var(--fs-12);
  line-height: 20px;
  color: rgba(0, 0, 0, 0.3);
}

.product-card__name {
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 20px;
  color: var(--c-green);
}

.products__more {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Innovation banner
   ========================================================================== */

.innovation {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* the source strip is 1920 × 280; `100% 100%` was stretching it 2.07× tall
     and squashing the network nodes into ovals. `cover` keeps the ratio. */
  background: url("../img/innovation-bg.jpg") center / cover no-repeat;
  background-color: #05010f;
}

.innovation::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Figma gradient matrix decodes to horizontal, 30% → 74%.
     Kept light so the network artwork reads across the whole banner. */
  background: linear-gradient(90deg, rgba(18, 18, 18, 0) 30%, rgba(18, 18, 18, 0.3) 74%),
              rgba(0, 0, 0, 0.12);
}

/* Figma: 816 × 544 at x812 / y18 inside the 1920 × 580 banner */
.innovation__graphic {
  position: absolute;
  left: 39%;             /* nudge left/right here */
  top: 3.1%;
  width: 46%;
  height: 93.8%;
  object-fit: contain;
  object-position: center;
}

.innovation__inner { position: relative; z-index: 2; }

/* Figma: line 1 = Regular 40px, line 2 = SemiBold 60px */
.innovation h2 {
  display: flex;
  flex-direction: column;
  color: var(--c-white);
  text-shadow: var(--sh-text);
  max-width: 560px;
}

.innovation__title-a { font-size: var(--fs-40); font-weight: 400; line-height: 52px; }
.innovation__title-b { font-size: var(--fs-60); font-weight: 600; line-height: 78px; }

/* ==========================================================================
   Pests
   ========================================================================== */

.pests { padding: var(--section-gap) 0; }

/* Figma: line 1 = SemiBold 24px pink, line 2 = SemiBold 40px green */
.pests__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pests__title-a { font-size: var(--fs-24); font-weight: 600; line-height: 32px; color: var(--c-pink); }
.pests__title-b { font-size: var(--fs-40); font-weight: 600; line-height: 50px; color: var(--c-green); }

/* Figma: 4 cards on row 1, 3 cards centred on row 2 — flex-wrap does this
   naturally because 4 × 287px + 3 × 34px gap = exactly the 1250px container. */
.pests__grid {
  margin-top: 66px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}

.pest-card {
  flex: 1 1 240px;
  max-width: 287px;
  min-height: 225px;
  padding: 20px 16px 16px;
  border: 1px solid var(--c-pink);
  border-radius: var(--r-10);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pest-card:hover {
  box-shadow: var(--sh-card);
  transform: translateY(-4px);
}

.pest-card img {
  width: 135px;
  height: 135px;
  object-fit: contain;
}

.pest-card__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-24);
  font-weight: 600;
  line-height: 25px;
  color: var(--c-pink);
}

/* ==========================================================================
   Why us
   ========================================================================== */

.whyus {
  position: relative;
  min-height: 674px;
  display: flex;
  align-items: center;
  background: url("../img/whyus-bg.jpg") center / cover no-repeat;
}

.whyus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 245, 245, 0) 25%, rgba(245, 245, 245, 1) 50%);
}

.whyus__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 627px;
}

.whyus__content { grid-column: 2; }

.whyus h2 {
  margin-top: 8px;
  font-size: var(--fs-40);
  font-weight: 600;
  color: var(--c-pink);
}

.whyus__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.whyus__list h3 {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 25px;
  color: var(--c-green);
}

.whyus__list p {
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 25px;
  color: rgba(18, 18, 18, 0.65);
}

/* ==========================================================================
   News
   ========================================================================== */

.news { padding: var(--section-gap) 0; }

.news .h-section { color: var(--c-pink); }

.news__grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.news-card {
  position: relative;
  display: block;
  aspect-ratio: 611 / 408;
  border-radius: var(--r-10);
  overflow: hidden;
  color: var(--c-white);
}

.news-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover img { transform: scale(1.05); }

.news-card__body {
  position: absolute;
  inset: auto 0 0 0;
  min-height: 68%;
  padding: 40px 35px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: linear-gradient(180deg, rgba(1, 63, 47, 0) 0%, rgba(1, 63, 47, 1) 100%);
  border-radius: var(--r-10);
}

.news-card__title {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 1.5;
}

.news-card__excerpt {
  font-size: var(--fs-12);
  font-weight: 400;
  line-height: 1.5;
}

.news-card .link-more { align-self: flex-end; }

/* ==========================================================================
   OEM CTA
   ========================================================================== */

.oem { padding-bottom: 210px; }

.oem__box {
  position: relative;
  min-height: 425px;
  padding: 117px 98px;
  border-radius: var(--r-10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url("../img/oem-cta-bg.jpg") center / cover no-repeat;
  color: var(--c-white);
}

.oem__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 51%, rgba(1, 63, 47, 0.2) 100%);
}

.oem__box > * { position: relative; z-index: 2; }

.oem h2 {
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 42px;
}

.oem__phones {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.oem__phones a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 25px;
}

.oem__phones a:hover { color: var(--c-pink); }

.oem .btn { margin-top: 24px; align-self: flex-start; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  padding: 64px 0 60px;
  background: var(--c-green-dark);
  color: var(--c-white);
}

/* Figma: background image paint opacity = 15% over the solid green */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/footer-bg.jpg") center / cover no-repeat;
  opacity: 0.15;
}

.site-footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 359px 222px 201px 1fr;
}

.footer-brand img { width: 220px; margin-bottom: 8px; }

.footer-brand__name {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 14px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact li {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-16);
  line-height: 24px;
}

.footer-contact svg { flex: none; }
.footer-contact a:hover { color: var(--c-pink); }

.footer-col h3 {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 25px;
  margin-bottom: 11px;
}

.footer-col li + li { margin-top: 10px; }

.footer-col a {
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 24px;
}

.footer-col a:hover { color: var(--c-pink); }

.footer-office + .footer-office { margin-top: 32px; }

.footer-office h3 {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 25px;
  margin-bottom: 12px;
}

.footer-office li {
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: var(--fs-16);
  line-height: 25px;
}

.footer-office svg { flex: none; margin-top: 4px; }
.footer-office a:hover { color: var(--c-pink); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive — derived from the desktop system (no mobile artboard in Figma)
   ========================================================================== */

@media (max-width: 1279px) {
  :root { --section-gap: 80px; --header-h: 96px; }

  .site-logo img { width: 170px; }
  .nav-main ul { gap: 24px; }
  .nav-main a { font-size: var(--fs-16); }
  .header-cta a { width: 156px; height: 36px; font-size: var(--fs-14); }

  .hero { min-height: 620px; }
  .hero__title-a { font-size: 62px; line-height: 56px; }
  .hero__title-b { font-size: 46px; line-height: 52px; }
  .hero p { font-size: var(--fs-18); line-height: 28px; }
  .hero__products { width: 56%; }

  .about__title-a { font-size: 30px; line-height: 44px; }
  .about__title-b { font-size: 44px; line-height: 48px; }

  .innovation__title-a { font-size: 30px; line-height: 40px; }
  .innovation__title-b { font-size: 44px; line-height: 58px; }

  .pests__title-a { font-size: var(--fs-20); line-height: 28px; }
  .pests__title-b { font-size: 32px; line-height: 42px; }

  .whyus__list h3 { font-size: var(--fs-18); }

  .certs { padding: 90px 0 70px; }
  .certs__slider { margin-top: 60px; gap: 30px; }
  .certs__slide { flex-basis: 300px; }
  .certs__slide img { height: 422px; }

  .h-section { font-size: 32px; }

  .products__grid { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
  .whyus__inner { grid-template-columns: 1fr 55%; }
  .oem__box { padding: 70px 56px; }
  .oem { padding-bottom: 120px; }

  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: block; }

  .site-header__inner { position: relative; }

  .nav-main {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--c-green-dark);
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-main.is-open { max-height: 480px; border-top: 1px solid rgba(255, 255, 255, 0.15); }

  .nav-main ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .nav-main a { display: block; line-height: 48px; }

  .header-cta { flex-direction: row; }
  .header-cta a { width: auto; padding: 0 14px; }

  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 48px 0 0;
  }
  .hero__inner { order: 1; }
  .hero__content { max-width: 100%; }
  .hero__products {
    position: static;
    order: 2;
    width: 100%;
    max-width: 700px;
    margin: 32px auto 0;
  }

  .about__inner { grid-template-columns: 1fr; gap: 32px; }
  .about { padding: 70px 0; }

  .products__grid { grid-template-columns: repeat(2, 1fr); }

  .pests__grid { gap: 24px; }

  .whyus { padding: 70px 0; }
  .whyus::before { background: linear-gradient(180deg, rgba(245, 245, 245, 0.4) 0%, rgba(245, 245, 245, 0.96) 35%); }
  .whyus__inner { grid-template-columns: 1fr; }
  .whyus__content { grid-column: 1; }

  .news__grid { grid-template-columns: 1fr; }
  .innovation { min-height: 420px; }
  .innovation__title-a { font-size: 24px; line-height: 34px; }
  .innovation__title-b { font-size: 36px; line-height: 48px; }
  .innovation__graphic { left: 36%; width: 58%; }

  .hero__title-a { font-size: 48px; line-height: 46px; }
  .hero__title-b { font-size: 36px; line-height: 44px; }

  .about__title-a { font-size: 26px; line-height: 38px; }
  .about__title-b { font-size: 36px; line-height: 44px; }

  .pests__title-b { font-size: 28px; line-height: 38px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --section-gap: 56px; }

  /* Header at 375px was needing 434px: logo 170 + toggle 44 + two 110px
     buttons. Collapse the phone buttons to icon-only tap targets. */
  .site-logo img { width: 132px; }

  .header-cta { gap: 6px; }

  .header-cta a {
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 0;
    font-size: 0;
    line-height: 0;
    border-radius: var(--r-pill);
  }

  .header-cta a svg { width: 17px; height: 17px; }

  .site-header__inner { gap: 10px; }
  .nav-toggle { width: 40px; height: 40px; padding: 9px; }

  .h-section { font-size: 26px; }
  .section-head p { font-size: var(--fs-16); }

  .hero { padding: 40px 0 0; }
  .hero__title-a { font-size: 34px; line-height: 36px; }
  .hero__title-b { font-size: 26px; line-height: 34px; }
  .hero p { font-size: var(--fs-16); line-height: 26px; }
  .hero__actions { gap: 12px; margin-top: 24px; }
  .hero__products {
    width: 92%;
    max-width: 420px;
    margin-top: 16px;
  }
  .btn { padding: 12px 18px; font-size: var(--fs-14); }

  .certs { padding: 56px 0; }
  .certs__slider { gap: 20px; }
  .certs__slide { flex-basis: 78%; }
  .certs__slide img { height: 380px; }
  .dots { margin-top: 32px; }

  .about__title-a { font-size: 20px; line-height: 30px; }
  .about__title-b { font-size: 26px; line-height: 34px; }
  .about p { font-size: var(--fs-16); line-height: 24px; }

  .products__grid { gap: 28px 16px; margin-top: 40px; }
  .product-card__name { font-size: var(--fs-14); }

  .pests__grid { gap: 16px; margin-top: 32px; }
  .pest-card { flex: 1 1 calc(50% - 16px); min-height: 180px; padding: 14px; }
  .pest-card img { width: 92px; height: 92px; }
  .pest-card__label { font-size: var(--fs-18); }
  .pests__title-a { font-size: var(--fs-16); line-height: 24px; }
  .pests__title-b { font-size: 24px; line-height: 32px; }

  .innovation__title-a { font-size: var(--fs-18); line-height: 26px; }
  .innovation__title-b { font-size: 26px; line-height: 34px; }

  .innovation {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 40px 0 0;
    background-position: 30% center;
  }
  .innovation::before {
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.45) 0%, rgba(18, 18, 18, 0.1) 60%),
                rgba(0, 0, 0, 0.12);
  }
  .innovation__inner { order: 1; }
  .innovation h2 { max-width: 100%; }
  .innovation__graphic {
    position: static;
    order: 2;
    width: 100%;
    height: auto;
    max-width: 460px;
    margin: 20px auto 0;
  }

  .whyus h2 { font-size: 26px; }
  .whyus__list h3 { font-size: var(--fs-16); }

  /* the overlay layout leaves too little room at phone widths — split the
     card into a photo on top and a solid green caption block below */
  .news-card {
    aspect-ratio: auto;
    background: var(--c-green-dark);
  }

  .news-card img {
    position: static;
    width: 100%;
    height: 185px;
    object-fit: cover;
  }

  .news-card__body {
    position: static;
    min-height: 0;
    padding: 18px 18px 18px;
    gap: 8px;
    background: var(--c-green-dark);
    border-radius: 0;
  }

  .news-card__title { font-size: 17px; line-height: 26px; }
  .news-card__excerpt { font-size: 13px; line-height: 20px; }
  .news-card .link-more { align-self: flex-end; margin-top: 2px; }

  .oem__box { padding: 40px 24px; min-height: 0; }
  .oem h2 { font-size: 26px; line-height: 1.3; }
  .oem { padding-bottom: 64px; }

  .site-footer { padding: 48px 0 40px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   ABOUT PAGE  —  Figma artboard "about" (1920 × 5491)
   ========================================================================== */

/* --- Inner page banner (Figma: 1920 × 341, image paint 50% over #121212 20%) */
.page-hero {
  position: relative;
  height: 341px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(18, 18, 18, 0.2);
  color: var(--c-white);
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.page-hero--about::before { background-image: url("../img/about-banner.jpg"); }

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  font-size: var(--fs-12);
  font-weight: 400;
  line-height: 18px;
}

.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
  margin-top: 8px;
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 60px;
}

/* --- Shared two-line section title (Figma character overrides:
       line 1 = SemiBold 24px pink, line 2 = SemiBold 40px green) ------------ */
.stack-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stack-title--left { align-items: flex-start; text-align: left; }

.stack-title__a {
  font-size: var(--fs-24);
  font-weight: 600;
  line-height: 34px;
  color: var(--c-pink);
}

.stack-title__b {
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 50px;
  color: var(--c-green);
}

/* --- Intro ---------------------------------------------------------------- */
.about-intro { padding: 115px 0 0; }

.about-intro__grid {
  display: grid;
  grid-template-columns: 625px 606px;
  gap: 19px;
  align-items: center;
}

.about-intro__media img {
  width: 100%;
  height: 476px;
  object-fit: cover;
  border-radius: var(--r-10);
}

.about-intro__title {
  font-size: 60px;
  font-weight: 600;
  line-height: 76px;
  color: var(--c-green);
}

.about-intro__title span { color: var(--c-pink); }

.about-intro__years {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 52px;
  color: var(--c-pink);
}

.about-intro__years svg { flex: none; }
.leaf-icon { width: 44px; height: 44px; }

.about-intro__body > p:not(.about-intro__years) {
  margin-top: 24px;
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: 27px;
  color: var(--c-ink);
}

/* --- Standards ------------------------------------------------------------ */
.about-standard { padding: var(--section-gap) 0 0; }

.about-standard__grid {
  display: grid;
  grid-template-columns: 601px 625px;
  gap: 24px;
  align-items: center;
}

.about-standard__body { text-align: center; }

.about-standard__lead {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 30px;
  color: var(--c-pink);
}

.about-standard__body > p + p {
  margin-top: 12px;
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: 28px;
  color: rgba(18, 18, 18, 0.65);
}

.about-standard__media img {
  width: 100%;
  height: 476px;
  object-fit: cover;
  border-radius: var(--r-10);
}

/* --- Vision & Mission ----------------------------------------------------- */
.vm { padding: var(--section-gap) 0 0; }

.vm__grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, 484px);
  gap: 132px;
  justify-content: center;
}

/* Figma: transparent fill, 1px #FF5FA2 border at 20% */
.vm__card {
  min-height: 390px;
  padding: 28px 32px 40px;
  border: 1px solid rgba(255, 95, 162, 0.2);
  border-radius: var(--r-10);
  text-align: center;
}

/* Figma: 143px white circle, 28px below the card's top edge */
.vm__icon {
  width: 143px;
  height: 143px;
  margin: 0 auto 24px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  box-shadow: var(--sh-strong);
  display: grid;
  place-items: center;
}

.vm__icon svg { width: 76px; height: 76px; }

.vm__card h3 {
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 60px;
  color: var(--c-green);
  text-transform: uppercase;
}

.vm__card p {
  margin-top: 10px;
  max-width: 420px;
  margin-inline: auto;
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: 30px;
}

/* --- Timeline ------------------------------------------------------------- */
.timeline { padding: var(--section-gap) 0 0; }

.timeline__grid {
  display: grid;
  grid-template-columns: 626px 625px;
  gap: 0;
}

.timeline__list {
  position: relative;
  margin-top: 34px;
  padding-left: 48px;
  list-style: none;
}

.timeline__list li {
  position: relative;
  padding-bottom: 35px;
}

/* Figma "Line 5": #FF5FA2 at 20%. Drawn as one segment per gap so the rule
   always stops at the last dot, whatever the copy length. */
.timeline__list li::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 25px;
  bottom: -5px;
  width: 1px;
  background: rgba(255, 95, 162, 0.2);
}

.timeline__list li:last-child { padding-bottom: 0; }
.timeline__list li:last-child::after { display: none; }

.timeline__list li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: var(--r-pill);
  background: var(--c-pink);
}

.timeline__list h3 {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 30px;
  color: var(--c-ink);
}

.timeline__list p {
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 24px;
  color: var(--c-ink);
}

.timeline__media {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.timeline__media img {
  width: 100%;
  height: 385px;
  object-fit: cover;
  border-radius: var(--r-10);
}

/* --- Team ----------------------------------------------------------------- */
.team {
  position: relative;
  margin-top: var(--section-gap);
  padding: 135px 0 134px;
  overflow: hidden;
}

/* Figma: background image paint opacity = 20% */
.team::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/team-bg.jpg") center / cover no-repeat;
  opacity: 0.2;
}

.team .container { position: relative; z-index: 2; }

.team__grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(4, 291px);
  gap: 19px;
  justify-content: center;
}

.team__card {
  position: relative;
  height: 380px;
  border-radius: var(--r-10);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--sh-card);
}

/* `contain` keeps the whole cut-out portrait visible — `cover` was cropping
   heads off, because the source photos aren't all the same ratio. */
.team__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Figma gradient: clear at 55% → #013F2F at the bottom edge */
.team__meta {
  position: absolute;
  inset: 0;
  padding: 0 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(1, 63, 47, 0) 55%, rgba(1, 63, 47, 0.95) 100%);
  color: var(--c-white);
}

.team__meta h3 {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 30px;
  color: var(--c-white);
}

/* Figma "Line 4": 129px rule between the name and the role */
.team__rule {
  display: block;
  width: 129px;
  height: 1px;
  margin: 2px 0 5px;
  background: var(--c-pink);
}

/* reserve two lines so every card's name sits on the same baseline */
.team__meta p {
  min-height: 40px;
  font-size: var(--fs-14);
  font-weight: 400;
  line-height: 20px;
  color: var(--c-white);
}

/* --- Green Innovation ----------------------------------------------------- */
.green { padding: var(--section-gap) 0 0; }

.green__grid {
  display: grid;
  grid-template-columns: 603px 625px;
  gap: 22px;
  align-items: center;
}

.green__title { display: flex; flex-direction: column; }

.green__title-a {
  font-size: 60px;
  font-weight: 600;
  line-height: 60px;
  color: var(--c-green);
}

.green__title-b {
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 60px;
  color: var(--c-pink);
}

.green__body p {
  margin-top: 24px;
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: 27px;
}

.green__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 13px;
}

.green__gallery img {
  width: 100%;
  height: 202px;
  object-fit: cover;
  border-radius: var(--r-10);
}

/* --- Creed ---------------------------------------------------------------- */
.creed {
  padding: var(--section-gap) 0;
  text-align: center;
}

.creed__logo {
  width: 183px;
  margin: 0 auto 29px;
}

.creed p {
  max-width: 745px;
  margin-inline: auto;
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: 30px;
  color: var(--c-green);
}

/* scoped so it outranks `.creed p` above — otherwise it inherits green/20px */
.creed .creed__slogan {
  margin-top: 16px;
  max-width: none;
  white-space: nowrap;      /* keep it on one line */
  font-size: var(--fs-40);
  font-weight: 700;
  line-height: 60px;
  color: var(--c-pink);
  text-transform: uppercase;
}

/* ==========================================================================
   ABOUT PAGE — responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .page-hero { height: 280px; }
  .page-hero h1 { font-size: 32px; line-height: 46px; }

  .stack-title__a { font-size: var(--fs-20); line-height: 30px; }
  .stack-title__b { font-size: 32px; line-height: 44px; }

  .about-intro { padding-top: 80px; }
  .about-intro__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-intro__media img { height: 420px; }
  .about-intro__title { font-size: 44px; line-height: 58px; }
  .about-intro__years { font-size: 30px; line-height: 42px; }
  .about-intro__years svg { width: 36px; height: 36px; }

  .about-standard__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-standard__media img { height: 420px; }

  .vm__grid { grid-template-columns: repeat(2, 1fr); gap: 60px; }
  .creed .creed__slogan { font-size: 32px; line-height: 46px; }

  .timeline__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline__media img { height: 320px; }

  .team { padding: 90px 0; }
  .team__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .team__card { height: 340px; }
  .team__meta h3 { font-size: var(--fs-18); line-height: 27px; }
  .team__meta p { font-size: var(--fs-12); min-height: 36px; line-height: 18px; }
  .team__rule { width: 100px; }

  .green__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .green__title-a { font-size: 44px; line-height: 52px; }
  .green__title-b { font-size: 32px; line-height: 44px; }
  .green__gallery img { height: 170px; }

}

@media (max-width: 1023px) {
  .page-hero { height: 240px; }
  .page-hero h1 { font-size: 28px; line-height: 40px; }

  .about-intro__grid,
  .about-standard__grid,
  .timeline__grid,
  .green__grid { grid-template-columns: 1fr; }

  .about-intro__media img,
  .about-standard__media img { height: 360px; }

  /* keep the Figma reading order when the columns stack */
  .about-standard__body { order: 2; }
  .about-standard__media { order: 1; }

  .about-intro__title { font-size: 36px; line-height: 48px; }
  .about-intro__years { font-size: 26px; line-height: 36px; }

  .vm__grid { grid-template-columns: 1fr; gap: 24px; max-width: 560px; margin-inline: auto; }
  .vm__card { min-height: 0; padding: 28px 24px 32px; }
  .vm__card h3 { font-size: 32px; line-height: 46px; }
  .vm__card p { font-size: var(--fs-18); line-height: 28px; }

  .timeline__media { flex-direction: row; }
  .timeline__media img { height: 260px; }

  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .team__card { height: 380px; }

  .green__title-a { font-size: 36px; line-height: 44px; }
  .green__gallery img { height: 200px; }

  .creed .creed__slogan { font-size: 26px; line-height: 38px; }
  .creed p { font-size: var(--fs-18); line-height: 28px; }
}

@media (max-width: 767px) {
  .page-hero { height: 190px; }
  .page-hero h1 { font-size: 24px; line-height: 34px; }
  .breadcrumb { font-size: 11px; }

  .stack-title__a { font-size: var(--fs-16); line-height: 24px; }
  .stack-title__b { font-size: 24px; line-height: 34px; }

  .about-intro { padding-top: 56px; }
  .about-intro__media img,
  .about-standard__media img { height: 240px; }
  .about-intro__title { font-size: 28px; line-height: 38px; }
  .about-intro__years { font-size: 20px; line-height: 30px; gap: 8px; }
  .about-intro__years svg { width: 28px; height: 28px; }
  .about-intro__body > p:not(.about-intro__years) { font-size: var(--fs-16); line-height: 25px; }

  .about-standard__lead { font-size: var(--fs-18); line-height: 27px; }
  .about-standard__body > p + p { font-size: var(--fs-16); line-height: 25px; }

  .vm__grid { margin-top: 32px; gap: 20px; }
  .vm__card { padding: 24px 20px 28px; }
  .vm__icon { width: 116px; height: 116px; margin-bottom: 18px; }
  .vm__icon svg { width: 60px; height: 60px; }
  .vm__card h3 { font-size: 26px; line-height: 38px; }
  .vm__card p { font-size: var(--fs-16); line-height: 25px; }

  .timeline__list { margin-top: 24px; padding-left: 38px; }
  .timeline__list li::after { left: -18px; }
  .timeline__list li { padding-bottom: 24px; }
  .timeline__list li::before { width: 16px; height: 16px; left: -25px; top: 6px; }
  .timeline__list li::after { left: -18px; top: 22px; }
  .timeline__list h3 { font-size: var(--fs-18); line-height: 27px; }
  .timeline__list p { font-size: var(--fs-14); line-height: 22px; }
  .timeline__media { flex-direction: column; gap: 16px; }
  .timeline__media img { height: 220px; }

  .team { padding: 56px 0; }
  .team__grid { grid-template-columns: 1fr; gap: 16px; max-width: 340px; margin-inline: auto; }

  .green__title-a { font-size: 28px; line-height: 36px; }
  .green__title-b { font-size: 22px; line-height: 32px; }
  .green__body p { font-size: var(--fs-16); line-height: 25px; }
  .green__gallery { gap: 12px; }
  .green__gallery img { height: 130px; }

  .creed__logo { width: 140px; margin-bottom: 20px; }
  .creed p { font-size: var(--fs-16); line-height: 25px; }
  .creed .creed__slogan { font-size: 20px; line-height: 30px; white-space: normal; }
}

/* ==========================================================================
   SERVICE PAGE  —  Figma artboard "service" (1920 × 3429)
   ========================================================================== */

.page-hero--service::before { background-image: url("../img/service-banner.jpg"); }

/* On this artboard the two-line title is inverted: green on top, pink below */
.stack-title__a--green { color: var(--c-green); }
.stack-title__b--pink { color: var(--c-pink); }

/* --- What is OEM ---------------------------------------------------------- */
.oem-intro { padding: 115px 0 0; }

.oem-intro__grid {
  display: grid;
  grid-template-columns: 625px 606px;
  gap: 19px;
  align-items: center;
}

.oem-intro__media img {
  width: 100%;
  height: 476px;
  object-fit: cover;
  border-radius: var(--r-10);
}

.oem-intro__body p {
  margin-top: 24px;
  font-size: var(--fs-18);
  font-weight: 400;
  line-height: 27px;
  color: var(--c-ink);
}

/* --- 5 steps -------------------------------------------------------------- */
.steps {
  position: relative;
  margin-top: 95px;
  padding: 120px 0 122px;
  overflow: hidden;
}

.steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/steps-bg.jpg") center / cover no-repeat;
  opacity: 0.2;
}

.steps .container { position: relative; z-index: 2; }

.steps__grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
}

/* Figma: 237 × 429, white, 1px #FF5FA2 border, r10 */
.step-card {
  min-height: 429px;
  padding: 38px 12px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-pink);
  border-radius: var(--r-10);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }

.step-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 34px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  box-shadow: var(--sh-strong);
  display: grid;
  place-items: center;
}

.step-card__icon svg { width: 34px; height: 34px; }

/* each supplied icon has a different viewBox and glyph density —
   tuned individually so all five read at the same optical size */
.steps__grid > li:nth-child(1) .step-card__icon svg { width: 31px; height: 31px; }
.steps__grid > li:nth-child(2) .step-card__icon svg { width: 34px; height: 34px; }
.steps__grid > li:nth-child(3) .step-card__icon svg { width: 36px; height: 36px; }
.steps__grid > li:nth-child(4) .step-card__icon svg { width: 33px; height: 33px; }
.steps__grid > li:nth-child(5) .step-card__icon svg { width: 42px; height: 42px; }

.step-card h3 {
  min-height: 72px;      /* two-line titles keep the copy aligned across cards */
  font-size: var(--fs-24);
  font-weight: 600;
  line-height: 36px;
  color: var(--c-green);
}

/* keeps "ขึ้นทะเบียน อย. หรือ / มาตรฐานที่เกี่ยวข้อง" on exactly two lines */
.step-card__title--two span {
  display: block;
  white-space: nowrap;
}

.step-card p {
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: 30px;
  color: var(--c-ink);
}

/* --- Benefits ------------------------------------------------------------- */
.benefits { padding: 125px 0 0; }

.benefits__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.benefits__grid {
  margin-top: 37px;
  display: grid;
  grid-template-columns: 691px 540px;
  gap: 32px 19px;
}

.benefit {
  display: grid;
  grid-template-columns: 67px 1fr;
  gap: 13px;
  align-items: start;
}

/* Figma: 67px circle, #FF5FA2 at 20% */
.benefit__icon {
  width: 67px;
  height: 67px;
  border-radius: var(--r-pill);
  background: rgba(255, 95, 162, 0.2);
  display: grid;
  place-items: center;
}

.benefit__icon svg { width: 34px; height: 34px; }

/* tuned per icon — the four artworks use different viewBoxes and weights */
.benefits__grid > :nth-child(1) .benefit__icon svg { width: 31px; height: 31px; }
.benefits__grid > :nth-child(2) .benefit__icon svg { width: 34px; height: 34px; }
.benefits__grid > :nth-child(3) .benefit__icon svg { width: 32px; height: 32px; }
.benefits__grid > :nth-child(4) .benefit__icon svg { width: 35px; height: 35px; }

.benefit h3 {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 30px;
  color: var(--c-green);
}

.benefit p {
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 24px;
  color: rgba(18, 18, 18, 0.65);
}

/* the CTA block below reuses `.oem` from the home page */
.benefits + .oem { padding-top: var(--section-gap); }

/* ==========================================================================
   SERVICE PAGE — responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .oem-intro { padding-top: 80px; }
  .oem-intro__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .oem-intro__media img { height: 420px; }

  .steps { margin-top: 80px; padding: 80px 0; }
  .steps__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step-card { min-height: 0; padding: 30px 14px 22px; }
  .step-card h3 { font-size: var(--fs-20); line-height: 30px; min-height: 60px; }
  .step-card p { font-size: var(--fs-16); line-height: 25px; }

  .benefits { padding-top: 80px; }
  .benefits__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}

@media (max-width: 1023px) {
  .oem-intro__grid { grid-template-columns: 1fr; }
  .oem-intro__media img { height: 360px; }

  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .step-card h3 { min-height: 0; }

  .benefits__head { flex-direction: column; align-items: flex-start; }
  .benefits__grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 767px) {
  .oem-intro { padding-top: 56px; }
  .oem-intro__media img { height: 240px; }
  .oem-intro__body p { font-size: var(--fs-16); line-height: 25px; }

  .steps { margin-top: 56px; padding: 56px 0; }
  .steps__grid { grid-template-columns: 1fr; gap: 16px; max-width: 340px; margin-inline: auto; }
  .step-card { padding: 24px 16px 20px; }
  .step-card__icon { width: 60px; height: 60px; margin-bottom: 20px; }
  .step-card__icon svg,
  .steps__grid > li:nth-child(1) .step-card__icon svg,
  .steps__grid > li:nth-child(2) .step-card__icon svg,
  .steps__grid > li:nth-child(3) .step-card__icon svg,
  .steps__grid > li:nth-child(4) .step-card__icon svg,
  .steps__grid > li:nth-child(5) .step-card__icon svg { width: 30px; height: 30px; }
  .step-card h3 { font-size: var(--fs-18); line-height: 27px; }
  .step-card__title--two span { white-space: normal; }
  .step-card p { font-size: var(--fs-14); line-height: 22px; }

  .benefits { padding-top: 56px; }
  .benefit { grid-template-columns: 52px 1fr; gap: 12px; }
  .benefit__icon { width: 52px; height: 52px; }
  .benefit__icon svg,
  .benefits__grid > :nth-child(1) .benefit__icon svg,
  .benefits__grid > :nth-child(2) .benefit__icon svg,
  .benefits__grid > :nth-child(3) .benefit__icon svg,
  .benefits__grid > :nth-child(4) .benefit__icon svg { width: 27px; height: 27px; }
  .benefit h3 { font-size: var(--fs-18); line-height: 27px; }
  .benefit p { font-size: var(--fs-14); line-height: 22px; }
}

/* ==========================================================================
   SHOP PAGE  —  Figma artboard "shop" (1920 × 3223)
   WooCommerce archive, catalog mode: no price, no cart
   ========================================================================== */

/* The shop banner photo is light, so the caption is dark green, not white */
.page-hero--shop { background: transparent; }
.page-hero--shop::before { background-image: url("../img/shop-banner.jpg"); }
.page-hero--shop h1 { color: var(--c-green-dark); }
.page-hero--shop .breadcrumb { color: var(--c-ink); }

.shop { padding: 115px 0 0; }

/* --- Category tabs (Figma: 1154 × 47 pill, #F5F5F5, r23.5) ---------------- */
.cat-tabs {
  max-width: 1154px;
  margin: 0 auto;
  padding: 0 4px;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-paper);
  border-radius: var(--r-pill);
}

.cat-tabs__item {
  flex: 1;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 24px;
  color: var(--c-green);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cat-tabs__item:hover { color: var(--c-green-dark); }

.cat-tabs__item.is-active {
  background: var(--c-green);
  color: var(--c-white);
  font-weight: 800;
}

.cat-tabs__item.is-active:hover { color: var(--c-white); }

/* ---- sliding pill (added by JS; the plain background above is the fallback) */
.cat-tabs { position: relative; }

.cat-tabs__pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 47px;
  border-radius: var(--r-pill);
  background: var(--c-green);
  z-index: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.5, 1),
              width 0.4s cubic-bezier(0.34, 1.3, 0.5, 1);
  pointer-events: none;
}

.cat-tabs.has-pill .cat-tabs__item { position: relative; z-index: 1; }
.cat-tabs.has-pill .cat-tabs__item.is-active { background: transparent; }

.cat-tabs.has-pill .cat-tabs__item {
  transition: color 0.25s ease, font-weight 0.25s ease;
}

/* ---- cards re-enter when the category changes ---------------------------- */
@keyframes shopCardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.shop__grid.is-swapping .shop-card {
  animation: shopCardIn 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.shop__grid.is-swapping .shop-card:nth-child(1)  { animation-delay: 0ms; }
.shop__grid.is-swapping .shop-card:nth-child(2)  { animation-delay: 45ms; }
.shop__grid.is-swapping .shop-card:nth-child(3)  { animation-delay: 90ms; }
.shop__grid.is-swapping .shop-card:nth-child(4)  { animation-delay: 135ms; }
.shop__grid.is-swapping .shop-card:nth-child(5)  { animation-delay: 60ms; }
.shop__grid.is-swapping .shop-card:nth-child(6)  { animation-delay: 105ms; }
.shop__grid.is-swapping .shop-card:nth-child(7)  { animation-delay: 150ms; }
.shop__grid.is-swapping .shop-card:nth-child(8)  { animation-delay: 195ms; }
.shop__grid.is-swapping .shop-card:nth-child(9)  { animation-delay: 120ms; }
.shop__grid.is-swapping .shop-card:nth-child(10) { animation-delay: 165ms; }
.shop__grid.is-swapping .shop-card:nth-child(11) { animation-delay: 210ms; }
.shop__grid.is-swapping .shop-card:nth-child(12) { animation-delay: 255ms; }

@media (prefers-reduced-motion: reduce) {
  .cat-tabs__pill { transition: none; }
  .shop__grid.is-swapping .shop-card { animation: none; }
}

/* --- Product grid (Figma: 252 × 286 media, 48px gutter, 96px row gap) ----- */
.shop__grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 96px 48px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.shop-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 252 / 286;
  border-radius: var(--r-10);
  overflow: hidden;
  background: url("../img/product-card-bg.jpg") center / cover no-repeat;
}

.shop-card__media img {
  width: 84%;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.shop-card__media:hover img { transform: scale(1.06); }

/* NEWGOLD's artwork fills 87% of its canvas while the other bottles fill ~70%,
   so it renders larger at the same width — trimmed back to match visually. */
.shop-card__media--tall img { width: 68%; }

.shop-card__cat {
  margin-top: 7px;
  font-size: var(--fs-12);
  font-weight: 400;
  line-height: 20px;
  color: rgba(1, 63, 47, 0.5);
}

.shop-card__name {
  margin-bottom: 7px;
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 20px;
  color: var(--c-green-dark);
}

.shop-card__name a:hover { color: var(--c-pink); }

.shop-card__btn {
  margin-top: auto;      /* names wrap to different line counts — pin the button */
  padding-top: 0;
  align-self: flex-start;
  min-width: 132px;
  height: 51px;
  padding: 0 20px;
}

/* --- Pagination (Figma: 43px circles, active #07944A, rest at 50%) -------- */
.pager {
  margin-top: 81px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.pager__item {
  width: 43px;
  height: 43px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: rgba(7, 148, 74, 0.5);
  color: var(--c-white);
  font-size: var(--fs-14);
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pager__item:hover { background: var(--c-green); transform: translateY(-2px); }
.pager__item.is-active { background: var(--c-green); }

.shop + .oem { padding-top: var(--section-gap); }

/* ==========================================================================
   SHOP PAGE — responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .shop { padding-top: 80px; }
  .cat-tabs__item { font-size: var(--fs-14); padding: 0 8px; }
  .shop__grid { gap: 56px 28px; }
  .shop-card__btn { min-width: 0; height: 46px; padding: 0 16px; }
}

@media (max-width: 1023px) {
  /* the 7 tabs no longer fit: scroll them horizontally instead of squashing */
  .cat-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: var(--r-10);
  }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tabs__item { flex: 0 0 auto; padding: 0 18px; }

  .shop__grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  .pager { margin-top: 56px; gap: 24px; }
}

@media (max-width: 767px) {
  .shop { padding-top: 56px; }
  .shop__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; margin-top: 32px; }
  .shop-card__name { font-size: var(--fs-14); }
  .shop-card__btn { width: 100%; font-size: var(--fs-12); height: 42px; padding: 0 10px; }
  .pager__item { width: 40px; height: 40px; }
}

/* ==========================================================================
   SINGLE PRODUCT PAGE  —  Figma artboard "product" (1920 × 2516)
   ========================================================================== */

.product { padding: 115px 0 0; }

.product__grid {
  display: grid;
  grid-template-columns: 624px 605px;
  gap: 21px;
  align-items: start;
}

/* Figma: 624 × 708, #F5F5F5, r10, artwork centred */
.product__gallery {
  aspect-ratio: 624 / 708;
  display: grid;
  place-items: center;
  padding: 40px;
  background: var(--c-paper);
  border-radius: var(--r-10);
}

.product__gallery img {
  max-width: 84%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* Figma: pink at 20% behind pink text, r12 */
.product__badge {
  display: inline-block;
  padding: 2px 21px;
  border-radius: 12px;
  background: rgba(255, 95, 162, 0.2);
  color: var(--c-pink);
  font-size: var(--fs-14);
  font-weight: 600;
  line-height: 21px;
}

.product__title {
  margin-top: 5px;
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 60px;
  color: var(--c-green);
}

.product__excerpt {
  margin-top: 8px;
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 28px;
  color: var(--c-ink);
}

/* --- Attributes ----------------------------------------------------------- */
.product__specs { margin: 29px 0 0; }

.product__specs > div {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
}

.product__specs dt {
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 30px;
  color: rgba(18, 18, 18, 0.65);
}

.product__specs dd {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 30px;
  color: var(--c-ink);
}

/* --- LINE enquiry button (replaces add-to-cart in catalog mode) ------------ */
.product__ctas {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.product__cta {
  height: 58px;
  padding: 0 22px;
  font-size: var(--fs-14);
}

.product__ctas .btn--ghost svg { width: 17px; height: 15px; }

/* the LINE glyph only fills ~⅔ of its viewBox, so the box is oversized
   to make the mark read at ~20px next to the 58px button */
.product__cta svg { width: 30px; height: 30px; flex: none; }

/* --- Description ---------------------------------------------------------- */
.product-heading {
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 20px;
  color: var(--c-green);
  text-transform: uppercase;
}

.product-desc { padding: 66px 0 0; }

.product-desc > .container > p {
  margin-top: 30px;
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 28px;
  color: var(--c-ink);
}

.product-note__title {
  display: block;
  font-weight: 600;
  color: var(--c-green);
}

.product-desc .product-note { color: rgba(18, 18, 18, 0.65); }

/* --- Related products ----------------------------------------------------- */
.related { padding: 83px 0 var(--section-gap); }

.related__grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
}

.related-card { display: block; }

.related-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 252 / 286;
  border-radius: var(--r-10);
  overflow: hidden;
  background: url("../img/product-card-bg.jpg") center / cover no-repeat;
}

.related-card__media img {
  width: 84%;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.related-card:hover .related-card__media img { transform: scale(1.06); }

.related-card__media--tall img { width: 68%; }

.related-card__cat {
  display: block;
  margin-top: 10px;
  font-size: var(--fs-12);
  font-weight: 400;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.3);
}

.related-card__name {
  display: block;
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 20px;
  color: var(--c-green);
}

.related-card:hover .related-card__name { color: var(--c-pink); }

/* ==========================================================================
   SINGLE PRODUCT — responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .product { padding-top: 80px; }
  .product__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product__title { font-size: 32px; line-height: 46px; }
  .product__gallery { padding: 28px; }

  .related__grid { gap: 40px 28px; }
}

@media (max-width: 1023px) {
  .product__grid { grid-template-columns: 1fr; gap: 28px; }
  .product__gallery { aspect-ratio: 16 / 11; max-width: 520px; margin-inline: auto; }

  .product-desc { padding-top: 48px; }
  .related { padding-top: 56px; }
  .related__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 767px) {
  .product { padding-top: 56px; }
  .product__title { font-size: 24px; line-height: 34px; }
  .product__excerpt { font-size: var(--fs-14); line-height: 24px; }
  .product__specs dt,
  .product__specs dd { font-size: var(--fs-14); line-height: 24px; }
  .product__specs > div { display: block; }
  .product__ctas { gap: 10px; }
  .product__cta { width: 100%; height: 50px; }

  .product-desc > .container > p { font-size: var(--fs-14); line-height: 24px; margin-top: 20px; }
  .related__grid { gap: 24px 16px; }
  .related-card__name { font-size: var(--fs-14); }
}

/* ==========================================================================
   NEWS ARCHIVE  —  Figma artboard "news 2" (1920 × 2975)
   ========================================================================== */

.page-hero--news::before { background-image: url("../img/news-banner.jpg"); }

.news-archive { padding: 115px 0 var(--section-gap); }

/* Figma: 845px content column + 28px gutter + 377px sidebar = 1250px */
.news-archive__grid {
  display: grid;
  grid-template-columns: 845px 377px;
  gap: 28px;
  align-items: start;
}

/* --- active term pill (Figma: 161 × 47, #07944A, r23.5) ------------------- */
.news-archive__term {
  display: inline-block;
  height: 47px;
  padding: 0 35px;
  border-radius: var(--r-pill);
  background: var(--c-green);
  color: var(--c-white);
  font-size: var(--fs-16);
  font-weight: 800;
  line-height: 47px;
}

/* --- post grid (Figma: 411px cards, 23px gutter, 55px row gap) ------------ */
.post-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 55px 23px;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card__media {
  display: block;
  aspect-ratio: 411 / 201;
  border-radius: var(--r-10);
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card__media:hover img { transform: scale(1.05); }

.post-card__title {
  margin-top: 13px;
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 30px;
  color: var(--c-ink);
}

.post-card__title a:hover { color: var(--c-green); }

.post-card__excerpt {
  margin-top: 5px;
  font-size: var(--fs-12);
  font-weight: 400;
  line-height: 18px;
  color: var(--c-ink);
}

.post-card__meta {
  margin-top: auto;      /* pins the row to the bottom of the card */
  padding-top: 21px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.post-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-12);
  font-weight: 400;
  line-height: 18px;
  color: var(--c-ink);
}

.post-meta svg { width: 20px; height: 20px; flex: none; }

.post-card__meta .link-more {
  margin-left: auto;
  color: var(--c-pink);
}

/* --- sidebar -------------------------------------------------------------- */
.news-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 47px;
  border: 1px solid var(--c-green);
  border-radius: var(--r-pill);
  background: var(--c-white);
  overflow: hidden;
}

.news-search__icon {
  display: grid;
  place-items: center;
  width: 57px;
  flex: none;
}

.news-search__icon svg { width: 25px; height: 25px; }

.news-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding-right: 20px;
  border: 0;
  outline: none;
  background: none;
  font-family: var(--font);
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--c-ink);
}

.news-search input::placeholder { color: var(--c-ink); opacity: 1; }
.news-search:focus-within { box-shadow: var(--sh-card); }

/* Figma: 377 × 369 card, white, 1px #07944A border, r10 */
.news-cats {
  margin-top: 55px;
  min-height: 369px;
  padding: 33px 37px;
  background: var(--c-white);
  border: 1px solid var(--c-green);
  border-radius: var(--r-10);
}

.news-cats h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-pink);
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: 30px;
  color: var(--c-green);
}

.news-cats li { margin-top: 31px; }

.news-cats a {
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 24px;
  color: var(--c-ink);
}

.news-cats a:hover { color: var(--c-pink); }

/* the pager is shared with the shop archive; here it sits under the posts */
.news-archive .pager { margin-top: 80px; }

/* ==========================================================================
   NEWS ARCHIVE — responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .news-archive { padding-top: 80px; }
  .news-archive__grid { grid-template-columns: 1fr 320px; gap: 24px; }
  .post-grid { gap: 40px 20px; }
  .post-card__title { font-size: var(--fs-18); line-height: 27px; }
  .post-card__meta { gap: 12px; }
  .news-cats { padding: 28px; }
}

@media (max-width: 1023px) {
  .news-archive__grid { grid-template-columns: 1fr; }

  /* search + categories move above the posts, side by side */
  .news-sidebar {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 8px;
  }
  .news-cats { margin-top: 0; min-height: 0; }
  .news-cats ul { columns: 2; }
  .news-cats li { margin-top: 16px; }

  .news-archive .pager { margin-top: 56px; }
}

@media (max-width: 767px) {
  .news-archive { padding-top: 56px; }
  .news-sidebar { grid-template-columns: 1fr; }
  .news-cats ul { columns: 1; }

  .post-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .post-card__title { font-size: var(--fs-16); line-height: 25px; }
  .post-card__meta { flex-wrap: wrap; gap: 10px 14px; padding-top: 14px; }
  .post-card__meta .link-more { margin-left: 0; }
  .news-archive__term { height: 42px; line-height: 42px; padding: 0 24px; font-size: var(--fs-14); }
}

/* ==========================================================================
   CONTACT PAGE  —  Figma artboard "contact" (1920 × 3523)
   ========================================================================== */

/* light banner photo → dark caption, same treatment as the shop banner */
.page-hero--contact { background: transparent; }
.page-hero--contact::before { background-image: url("../img/contact-banner.jpg"); }
.page-hero--contact h1 { color: var(--c-green-dark); }
.page-hero--contact .breadcrumb { color: var(--c-ink); }

/* --- Contact channels ----------------------------------------------------- */
.channels { padding: 109px 0 0; }

.channels__grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
}

/* Figma: 291 × 322, transparent fill, 1px #FF5FA2 at 20%, r10 */
.channel {
  min-height: 322px;
  padding: 41px 16px 41px;
  border: 1px solid rgba(255, 95, 162, 0.2);
  border-radius: var(--r-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.channel__icon {
  width: 70px;
  height: 70px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  box-shadow: var(--sh-strong);
  display: grid;
  place-items: center;
}

/* each glyph fills its own viewBox differently, so the box sizes differ
   in order to make the four icons look identical inside the 70px circle */
.channel__icon svg { width: 33px; height: 33px; }
.channels__grid > :nth-child(2) .channel__icon svg { width: 38px; height: 38px; }
.channels__grid > :nth-child(3) .channel__icon svg { width: 45px; height: 45px; }
.channels__grid > :nth-child(4) .channel__icon svg { width: 36px; height: 36px; }

.channel h3 {
  margin-top: 22px;
  font-size: var(--fs-24);
  font-weight: 600;
  line-height: 36px;
  color: var(--c-green);
}

.channel__value {
  margin-top: 25px;
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 24px;
  color: var(--c-ink);
}

.channel__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  align-items: center;
}

.channel__actions .btn {
  width: 100%;
  max-width: 218px;
  height: 50px;
  padding: 0 16px;
}

/* Figma: the channel buttons are SemiBold 16, not the ExtraBold of .btn */
.channel .btn { font-weight: 600; }

/* icons scaled to the 50px button rather than the tiny defaults */
.channel .btn svg { width: 23px; height: 23px; flex: none; }
.channels__grid > :nth-child(2) .channel__actions .btn svg { width: 21px; height: 21px; }
.channels__grid > :nth-child(4) .channel__actions .btn svg { width: 25px; height: 25px; }

.channel__line {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 13px;
}

.channel__line > div {
  display: flex;
  flex-direction: column;
  align-items: stretch;   /* button stretches to the label's width */
}

.channel__qr {
  width: 106px;
  height: 105px;
  border-radius: var(--r-6);
  box-shadow: var(--sh-card);
}

.channel__line .channel__value { margin-top: 0; margin-bottom: 17px; white-space: nowrap; }
.channel__line .btn { width: 100%; height: 50px; padding: 0 12px; }

/* --- Offices & maps ------------------------------------------------------- */
.offices { padding: var(--section-gap) 0 0; }

.offices__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  align-items: start;
}

.office__map {
  display: block;
  aspect-ratio: 598 / 351;
  border-radius: var(--r-10);
  overflow: hidden;
}

.office__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.office__map:hover img { transform: scale(1.04); }

/* Figma puts both address lists on the same baseline (y1654) even though the
   factory name is one line — so the heading always reserves two lines */
.office h2 {
  margin-top: 14px;
  min-height: 120px;
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 60px;
  color: var(--c-pink);
}

.office__list { margin-top: 11px; }

.office__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: 30px;
  color: var(--c-ink);
}

.office__list svg { width: 24px; height: 24px; flex: none; margin-top: 4px; }
.office__list a:hover { color: var(--c-pink); }

/* --- Partner CTA band (Figma: 1920 × 282, image + #013F2F at 20%) --------- */
.partner {
  position: relative;
  margin-top: var(--section-gap);
  min-height: 282px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../img/partner-cta.jpg") center / cover no-repeat;
}

.partner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 63, 47, 0.2);
}

.partner__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.partner h2 {
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 60px;
  color: var(--c-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.partner__actions {
  margin-top: 39px;
  display: flex;
  justify-content: center;
  gap: 29px;
}

.partner__actions .btn {
  height: 59px;
  padding: 0 40px;
  font-size: var(--fs-20);
  font-weight: 600;
}

.partner__actions .btn svg { width: 25px; height: 25px; }

/* --- Enquiry form --------------------------------------------------------- */
.enquiry { padding: var(--section-gap) 0; }

.enquiry__grid {
  display: grid;
  grid-template-columns: 625px 1fr;
  gap: 0;
  align-items: stretch;
}

.enquiry__media {
  position: relative;
  z-index: 2;            /* photo covers the panel's left border */
}

.enquiry__media img {
  width: 100%;
  height: 100%;
  min-height: 629px;
  object-fit: cover;
  border-radius: var(--r-10);
}

/* Figma: transparent fill, 1px #FF5FA2 at 20%, square corners */
.enquiry__panel {
  margin-left: -19px;    /* slide under the photo, matching the Figma overlap */
  padding: 45px 66px 45px 85px;
  border: 1px solid rgba(255, 95, 162, 0.2);
  border-radius: var(--r-10);
}

.enquiry__panel h2 {
  font-size: var(--fs-40);
  font-weight: 600;
  line-height: 44px;
  color: var(--c-green);
}

.enquiry__sub {
  margin-top: 9px;
  font-size: var(--fs-20);
  font-weight: 400;
  line-height: 30px;
  color: var(--c-pink);
}

.enquiry__form { margin-top: 24px; }

.field { position: relative; }

/* only siblings at form level get the gap — `.field`s inside a row sit
   side by side and must not inherit the vertical offset */
.enquiry__form > .field + .field,
.enquiry__form > .field-row + .field,
.enquiry__form > .field + .field-row { margin-top: 13px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

/* Figma: 42px tall inputs, 1px #FF5FA2 border, r6 */
.enquiry__form input,
.enquiry__form textarea {
  width: 100%;
  padding: 0 19px;
  height: 42px;
  border: 1px solid rgba(255, 95, 162, 0.2);
  border-radius: var(--r-6);
  background: var(--c-white);
  font-family: var(--font);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 30px;
  color: var(--c-ink);
  outline: none;
  transition: box-shadow 0.2s ease;
}

.enquiry__form textarea {
  height: 140px;
  padding: 10px 19px;
  resize: vertical;
}

.enquiry__form input::placeholder,
.enquiry__form textarea::placeholder { color: var(--c-ink); opacity: 1; }

.enquiry__form input:focus,
.enquiry__form textarea:focus { box-shadow: 0 0 0 3px rgba(255, 95, 162, 0.2); }

.field--icon svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 21px;
  pointer-events: none;
}

.field--icon input { padding-right: 46px; }

.enquiry__submit {
  margin-top: 39px;
  height: 50px;
  padding: 0 40px;
  font-size: var(--fs-20);
  font-weight: 600;
}

/* ==========================================================================
   CONTACT PAGE — responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .channels { padding-top: 80px; }
  .channels__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .channel { min-height: 0; padding: 32px 20px; }

  .office h2 { font-size: 30px; line-height: 44px; }
  .office__list li { font-size: var(--fs-18); line-height: 28px; }

  .partner h2 { font-size: 30px; line-height: 44px; }
  .partner__actions .btn { height: 52px; padding: 0 28px; font-size: var(--fs-18); }

  .enquiry__grid { grid-template-columns: 1fr 1fr; }
  .enquiry__media img { min-height: 0; height: 100%; }
  .enquiry__panel { padding: 36px 32px 36px 48px; }
  .enquiry__panel h2 { font-size: 32px; line-height: 40px; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  .offices__grid { grid-template-columns: 1fr; gap: 48px; }
  /* stacked in one column, so no baseline to match — drop the reserved space */
  .office h2 { min-height: 0; }

  .enquiry__grid { grid-template-columns: 1fr; }
  .enquiry__media img { min-height: 260px; max-height: 320px; }
  /* stacked: no overlap, pull the panel up under the photo instead */
  .enquiry__panel { margin-left: 0; margin-top: -19px; padding: 48px 32px 36px; }
}

@media (max-width: 767px) {
  .channels { padding-top: 56px; }
  .channels__grid { grid-template-columns: 1fr; gap: 16px; }
  .channel { padding: 28px 20px; }
  .channel h3 { font-size: var(--fs-20); line-height: 30px; }
  .channel__value { margin-top: 16px; }
  .channel__actions { margin-top: 20px; }
  .channel__line { margin-top: 20px; flex-direction: column; align-items: center; gap: 16px; }
  .channel__line .channel__value { margin-bottom: 8px; }

  .office h2 { font-size: 24px; line-height: 34px; }
  .office__list li { font-size: var(--fs-16); line-height: 25px; gap: 8px; }
  .office__list svg { width: 20px; height: 20px; }

  .partner { min-height: 0; padding: 40px 0; }
  .partner h2 { font-size: 22px; line-height: 32px; }
  .partner__actions { flex-direction: column; gap: 12px; margin-top: 24px; }
  .partner__actions .btn { width: 100%; height: 46px; font-size: var(--fs-16); }

  .enquiry__panel { padding: 40px 20px 28px; }
  .enquiry__panel h2 { font-size: 24px; line-height: 34px; }
  .field-row { grid-template-columns: 1fr; gap: 13px; }
  .enquiry__submit { width: 100%; margin-top: 24px; font-size: var(--fs-16); }
}
