/* ALEGRE website stylesheet
   Design tokens are defined in :root and documented in MASTER.md section 6.
   Change a colour or size here, not inside individual rules. */

/* Archivo variable font (SIL Open Font License, see /assets/fonts/OFL-LICENSE.txt), self-hosted */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --spruce: #10403B;        /* primary: header text, headings, dark bands */
  --spruce-deep: #0A2C28;   /* footer, hero */
  --marigold: #F2A93B;      /* joy accent: primary call to action, logo drop */
  --marigold-dark: #D98E1E; /* CTA hover */
  --ink: #16211F;           /* body text */
  --muted: #4F5F5B;         /* secondary text */
  --line: #D3DEDB;          /* borders, rules */
  --mist: #E9F1EF;          /* tinted panels, image backgrounds */
  --rinse: #F5F8F7;         /* alternate section background */
  --white: #FFFFFF;

  /* Cleaning colour code (category accents only) */
  --c-red: #B83A32;
  --c-blue: #2563A6;
  --c-green: #2F7D4F;
  --c-amber: #94600F;
  --c-slate: #4A5A66;

  /* Type */
  --font: "Archivo", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);

  /* Shape and space */
  --radius-label: 4px;   /* code tiles, tags, product labels */
  --radius-control: 6px; /* buttons, inputs */
  --radius-media: 10px;  /* images, panels */
  --space: clamp(3rem, 2rem + 4vw, 5.5rem);
  --container: 1180px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-variation-settings: "wdth" 100;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--spruce); text-underline-offset: 0.18em; }
a:hover { color: var(--c-blue); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 {
  color: var(--spruce);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-3); font-weight: 780; }
h2 { font-size: var(--step-2); font-weight: 720; }
h3 { font-size: var(--step-1); font-weight: 680; font-variation-settings: "wdth" 104; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--marigold); color: var(--ink); padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.35rem;
  border-radius: var(--radius-control); border: 2px solid transparent;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  font-variation-settings: "wdth" 106;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-small { min-height: 40px; padding: 0.45rem 1rem; font-size: var(--step--1); }
.btn-cta { background: var(--marigold); color: var(--ink); }
.btn-cta:hover { background: var(--marigold-dark); color: var(--ink); }
.btn-secondary { border-color: var(--spruce); color: var(--spruce); background: transparent; }
.btn-secondary:hover { background: var(--spruce); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--spruce); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.actions-center { justify-content: center; }
.text-link { font-weight: 650; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--spruce); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-word { font-size: 1.45rem; font-weight: 800; letter-spacing: 0.06em; font-variation-settings: "wdth" 125; }
.logo-sub { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; color: var(--ink); font-weight: 560; font-size: 0.97rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--spruce); border-bottom-color: var(--marigold); }
.menu-toggle { display: none; }

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.9rem;
    background: transparent; border: 1px solid var(--line); border-radius: var(--radius-control);
    font: inherit; font-weight: 600; color: var(--spruce); cursor: pointer;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .logo-sub { display: none; }
}

/* Hero: the signature element is the H-series code tiles */
.hero { background: var(--spruce-deep); color: #E3EEEB; padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero-lede { font-size: var(--step-1); line-height: 1.55; max-width: 56ch; color: #D2E2DE; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-tiles { margin: 0; }
.hero-tiles figcaption { font-size: var(--step--1); color: #A9C2BC; margin-top: 1rem; max-width: 48ch; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile {
  --c: var(--c-slate);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem;
  min-height: 132px; padding: 0.8rem 0.85rem 0.85rem;
  background: var(--white); color: var(--ink); text-decoration: none;
  border-radius: var(--radius-label); border-top: 8px solid var(--c);
  transition: transform 0.15s ease;
}
.tile:hover { transform: translateY(-3px); color: var(--ink); }
.tile-code { font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--c); font-variation-settings: "wdth" 125; }
.tile-name { font-size: 0.86rem; font-weight: 600; line-height: 1.25; }
@media (prefers-reduced-motion: no-preference) {
  .tile { animation: tile-in 0.5s ease both; }
  .tile:nth-child(2) { animation-delay: 0.05s; } .tile:nth-child(3) { animation-delay: 0.1s; }
  .tile:nth-child(4) { animation-delay: 0.15s; } .tile:nth-child(5) { animation-delay: 0.2s; }
  .tile:nth-child(6) { animation-delay: 0.25s; } .tile:nth-child(7) { animation-delay: 0.3s; }
  .tile:nth-child(8) { animation-delay: 0.35s; }
  @keyframes tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .tiles { gap: 6px; }
  .tile { min-height: 92px; gap: 0.6rem; padding: 0.55rem 0.5rem; border-top-width: 6px; }
  .tile-code { font-size: 1.55rem; }
  .tile-name { font-size: 0.7rem; }
}

/* Facts strip */
.facts { background: var(--mist); border-bottom: 1px solid var(--line); }
.facts-list { list-style: none; margin-block: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.facts-list li { font-size: 0.95rem; color: var(--muted); padding-left: 1rem; border-left: 3px solid var(--spruce); }
.facts-list strong { display: block; color: var(--spruce); font-size: 1.1rem; font-variation-settings: "wdth" 110; }
@media (max-width: 800px) { .facts-list { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.section { padding-block: var(--space); }
.section-tight { padding-block: calc(var(--space) * 0.6); }
.section-alt { background: var(--rinse); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head p { color: var(--muted); }
.small-head { font-size: var(--step-1); }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split-head p { color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Industry rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows a {
  display: grid; grid-template-columns: minmax(12rem, 1fr) 2fr; gap: 1.5rem; align-items: baseline;
  padding: 1.15rem 2.2rem 1.15rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); position: relative;
}
.rows a::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--spruce); border-right: 2px solid var(--spruce); transform: translateY(-50%) rotate(45deg); }
.rows a:hover { background: var(--rinse); }
.row-title { font-weight: 700; color: var(--spruce); font-size: 1.08rem; font-variation-settings: "wdth" 108; }
.row-text { color: var(--muted); }
@media (max-width: 640px) { .rows a { grid-template-columns: 1fr; gap: 0.25rem; } }

/* Category list (home) */
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.cat-list a {
  display: flex; flex-direction: column; gap: 0.5rem; height: 100%;
  padding: 1.1rem 1.1rem 1.2rem; background: var(--white);
  border: 1px solid var(--line); border-left: 6px solid var(--c); border-radius: var(--radius-label);
  text-decoration: none; color: var(--ink);
}
.cat-list a:hover { border-color: var(--c); }
.cat-name { font-weight: 720; color: var(--spruce); font-size: 1.1rem; font-variation-settings: "wdth" 108; }
.cat-products { font-size: 0.92rem; color: var(--muted); line-height: 1.45; }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; padding-top: 1rem; border-top: 4px solid var(--marigold); }
.steps li::before { content: counter(step); display: block; font-size: 2rem; font-weight: 800; color: var(--spruce); font-variation-settings: "wdth" 125; line-height: 1; margin-bottom: 0.6rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Founder */
.founder-band { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.founder-band > div { max-width: 64ch; }
.founder-photo { border-radius: var(--radius-media); background: var(--mist); }
.founder-inline { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: start; margin-bottom: 1.5rem; }
@media (max-width: 700px) {
  .founder-band, .founder-inline { grid-template-columns: 1fr; }
  .founder-photo { max-width: 200px; }
}

/* CSR band */
.csr-band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-media); }
.csr-band > div { max-width: 62ch; }
.csr-band p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .csr-band { flex-direction: column; align-items: flex-start; } }

/* CTA band */
.cta-band { background: var(--spruce); color: #DCE9E6; padding-block: calc(var(--space) * 0.75); }
.cta-band h2 { color: var(--white); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 52ch; }
.cta-inner p { margin: 0; }
.cta-inner .actions { margin-top: 0; }

/* Page heads */
.page-head { padding-block: calc(var(--space) * 0.6) calc(var(--space) * 0.5); background: var(--rinse); border-bottom: 1px solid var(--line); }
.page-head .lede, .lede-block p { font-size: var(--step-1); color: var(--muted); max-width: 64ch; line-height: 1.55; }
.page-head .note { font-size: var(--step--1); color: var(--muted); }
.page-head-center { text-align: center; }
.page-head-center .lede { margin-inline: auto; }
.page-head-csr { background: var(--mist); }
.subtitle { font-weight: 650; color: var(--spruce); margin-top: -0.4rem; font-variation-settings: "wdth" 108; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.25rem; padding: 0; font-size: var(--step--1); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.breadcrumb a { color: var(--muted); }

/* Prose */
.prose > * { max-width: 72ch; }
.prose > .founder-inline { max-width: 80ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: 0.55rem; }
.checks li::before { content: ""; position: absolute; left: 0.15rem; top: 0.5em; width: 0.8rem; height: 0.45rem; border-left: 2.5px solid var(--c-green); border-bottom: 2.5px solid var(--c-green); transform: rotate(-45deg); }

/* Product catalogue */
.cat-block { scroll-margin-top: 90px; }
.cat-block + .cat-block { border-top: 1px solid var(--line); }
.cat-head { display: flex; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding-left: 1rem; border-left: 6px solid var(--c); }
.cat-head h2 { margin: 0; }
.cat-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.pcard {
  display: grid; grid-template-columns: 88px 1fr; gap: 1rem; align-items: start; height: 100%;
  padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-label);
  text-decoration: none; color: var(--ink);
}
.pcard:hover { border-color: var(--spruce); color: var(--ink); }
.pcard img { width: 88px; height: 88px; border-radius: var(--radius-label); object-fit: cover; }
.pcard-body { display: flex; flex-direction: column; gap: 0.25rem; }
.pcard-code { font-weight: 800; color: var(--muted); font-size: 0.85rem; font-variation-settings: "wdth" 120; }
.pcard-name { font-size: 1.02rem; margin: 0; }
.pcard-text { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

/* Product detail */
.page-head-product { background: var(--white); }
.pd-hero { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.pd-image { margin: 0; }
.pd-image img { border-radius: var(--radius-media); border: 1px solid var(--line); }
.pd-image figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.5rem; }
.product-code { display: inline-block; margin: 0 0 0.8rem; font-size: 1.5rem; font-weight: 800; color: var(--c); border-top: 6px solid var(--c); padding-top: 0.3rem; font-variation-settings: "wdth" 125; line-height: 1; }
.product-code-cat { font-size: 0.95rem; font-weight: 700; font-variation-settings: "wdth" 108; }
.pd-facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.92rem; color: var(--muted); }
.pd-facts li { padding-left: 0.9rem; border-left: 2px solid var(--line); }
.pd-body { padding-block: calc(var(--space) * 0.6); }
.pd-inner { max-width: 820px; }
.pd-section { padding-block: 1.4rem; border-top: 1px solid var(--line); }
.pd-section:first-child { border-top: 0; padding-top: 0; }
.pd-section h2 { font-size: var(--step-1); }
.directions { padding-left: 1.3rem; margin: 0 0 1rem; }
.directions li { margin-bottom: 0.4rem; padding-left: 0.3rem; }
.callout { background: var(--mist); border-left: 4px solid var(--spruce); padding: 0.9rem 1rem; border-radius: 0 var(--radius-label) var(--radius-label) 0; }
.pd-safety p { color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.8rem; padding: 0; }
.tags li { background: var(--mist); border-radius: var(--radius-label); padding: 0.35rem 0.75rem; font-size: 0.93rem; }
.tags-links li { padding: 0; }
.tags-links a { display: block; padding: 0.35rem 0.75rem; text-decoration: none; font-weight: 600; }
@media (max-width: 760px) { .pd-hero { grid-template-columns: 1fr; } .pd-image { max-width: 320px; } }

/* Industry pages */
.needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem 2rem; }
.need { border-top: 3px solid var(--spruce); padding-top: 1rem; }
.need p { color: var(--muted); margin: 0; }
.terms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.terms-grid-3 { grid-template-columns: repeat(3, 1fr); }
.term h2 { font-size: var(--step-1); }
.term p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .terms-grid, .terms-grid-3 { grid-template-columns: 1fr; } }

/* Services (CSR) */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-media); padding: 1.4rem; }
.service p { color: var(--muted); margin: 0; }

/* FAQs */
.faq-wrap > * { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1rem 2.5rem 1rem 0; font-weight: 650; color: var(--spruce); font-variation-settings: "wdth" 104;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.6rem; top: 1.25rem; width: 9px; height: 9px;
  border-right: 2px solid var(--spruce); border-bottom: 2px solid var(--spruce); transform: rotate(45deg);
  transition: transform 0.15s;
}
.faq[open] summary::after { transform: rotate(-135deg); top: 1.5rem; }
.faq p { margin: 0 0 1.1rem; color: var(--muted); max-width: 70ch; }
.faq summary:hover { color: var(--c-blue); }

/* Procurement */
.facts-table { margin: 0; border-top: 1px solid var(--line); }
.facts-table > div { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.facts-table dt { color: var(--muted); font-size: 0.95rem; }
.facts-table dd { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .facts-table > div { grid-template-columns: 1fr; gap: 0.15rem; } }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.doc-list li { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--spruce); border-radius: var(--radius-label); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
.doc-list strong { color: var(--spruce); font-variation-settings: "wdth" 106; }
.doc-list span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .doc-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .doc-list { grid-template-columns: 1fr; } }
.verify { max-width: 860px; padding: 1.5rem 1.75rem; border-left: 6px solid var(--marigold); background: var(--rinse); border-radius: 0 var(--radius-media) var(--radius-media) 0; }
.verify h2 { font-size: var(--step-1); }
.verify p { margin: 0; }
.btn-meta { font-weight: 450; opacity: 0.8; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-layout > div:first-child:not(.form) { max-width: 52ch; }
#csr-enquiry .form-layout { grid-template-columns: 1fr 1.4fr; }
@media (max-width: 900px) { .form-layout, #csr-enquiry .form-layout { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-media); padding: clamp(1.25rem, 3vw, 2rem); }
.form h2 { font-size: var(--step-1); }
.field { margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field legend { margin-bottom: 0.5rem; padding: 0; }
.req { color: var(--c-red); }
.opt { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #A9BAB6; border-radius: var(--radius-control); padding: 0.7rem 0.8rem; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--marigold); outline-offset: 0; border-color: var(--spruce); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; align-items: end; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.4rem 1rem; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-control); }
.check { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 400 !important; font-size: 0.92rem; line-height: 1.35; }
.check input, .field-check input { width: 18px; height: 18px; min-height: 0; margin-top: 0.15rem; flex: none; accent-color: var(--spruce); }
.field-check label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.92rem; }
.form-note { font-size: var(--step--1); color: var(--muted); margin: 1rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 6rem 1fr; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: 0.92rem; }
.contact-list a { font-weight: 650; word-break: break-word; }
.addresses { display: grid; gap: 1.25rem; }
.address { font-style: normal; line-height: 1.55; color: var(--muted); }
.address strong { color: var(--ink); }

/* Footer */
.site-footer { background: var(--spruce-deep); color: #C5D8D3; padding-top: 3.5rem; font-size: 0.95rem; }
.site-footer a { color: #E8F1EF; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); text-decoration: underline; }
.site-footer .logo { color: var(--white); margin-bottom: 1rem; }
.site-footer .logo-sub { color: #A9C2BC; display: block; }
.site-footer .address { color: #C5D8D3; margin-top: 1rem; }
.site-footer .address strong { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-title { color: var(--white); font-size: 1rem; margin-bottom: 0.9rem; font-variation-settings: "wdth" 110; }
.footer-meta { font-size: 0.85rem; color: #A9C2BC; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.25rem 5.5rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.87rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp button */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 1.1rem 0 0.9rem;
  background: #1F7A4A; color: var(--white); border-radius: 999px; text-decoration: none; font-weight: 650;
  box-shadow: 0 6px 18px rgba(10, 44, 40, 0.28);
}
.wa-float:hover { background: #17633B; color: var(--white); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 520px) { .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-float { padding: 0 0.75rem; } }

@media print {
  .site-header, .site-footer, .wa-float, .cta-band, .actions { display: none; }
}
