/* =========================================================================
   Khwezi Distribution and Supplying (Pty) Ltd — Main Stylesheet
   Brand colours taken from the official Ikhwezi logo.
   To change a colour site-wide, edit the variables in :root below.
   ========================================================================= */

:root {
  --orange: #eb9000;         /* Logo orange — buttons, highlights, accents */
  --orange-dark: #a35f00;    /* Orange for text on white (accessible contrast) */
  --orange-soft: #fff4e0;    /* Pale orange tint for subtle backgrounds */
  --black: #0f0f0f;          /* Logo black */
  --charcoal: #1c1d1f;
  --charcoal-2: #2a2b2e;
  --grey-700: #4a4c50;
  --grey-500: #6b6e73;
  --grey-300: #c9cbce;
  --grey-100: #f3f4f5;       /* Very light grey section background */
  --white: #ffffff;

  --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 4px;
  --shadow: 0 10px 30px rgba(15, 15, 15, .08);
  --shadow-lg: 0 18px 50px rgba(15, 15, 15, .16);
  --wrap: 1200px;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--black); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  margin: 0 0 .6em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--orange); color: var(--black); padding: .7rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .85rem 1.6rem; border-radius: var(--radius);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: var(--black); border-color: var(--orange); }
.btn-primary:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--orange); color: var(--black); border-color: var(--orange); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.8); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-outline { color: var(--black); border-color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e6e7e8;
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(0,0,0,.08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 2px solid var(--black); border-radius: var(--radius);
  background: var(--white); cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--black);
  position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--black); padding: 1.5rem 1.25rem 2rem;
  overflow-y: auto; display: none;
}
.nav-open .main-nav { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange); }
.main-nav .nav-cta { margin-top: 1.5rem; border: 0; display: inline-flex; color: var(--black); font-size: 1.1rem; }
.main-nav .nav-cta:hover { color: var(--white); }
body.nav-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static; display: block; background: none; padding: 0; overflow: visible;
  }
  .main-nav > ul { display: flex; align-items: center; gap: .3rem; }
  .main-nav a {
    color: var(--charcoal); font-size: 1.05rem; padding: .5rem .6rem; border: 0;
    position: relative;
  }
  .main-nav a::after {
    content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .15rem; height: 3px;
    background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s;
  }
  .main-nav a:hover { color: var(--black); }
  .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav a[aria-current="page"] { color: var(--black); }
  .main-nav .nav-cta { margin: 0 0 0 .8rem; padding: .7rem 1.2rem; font-size: 1rem; color: var(--black); }
  .main-nav .nav-cta::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--charcoal) url("../images/hero.jpg") center / cover no-repeat;
  min-height: min(88vh, 760px); display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.7) 50%, rgba(10,10,10,.35) 100%);
}
.hero .wrap { position: relative; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 .accent { color: var(--orange); display: block; }
.hero p.lead { max-width: 58ch; font-size: 1.2rem; color: #e9e9e9; margin-bottom: 2rem; }
.hero-meta {
  margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.5rem; max-width: 760px;
}
.hero-meta div { font-size: .95rem; color: #cfcfcf; }
.hero-meta strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--white); letter-spacing: .03em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--orange-dark); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--orange); }
.hero .eyebrow, .page-hero .eyebrow, .on-dark .eyebrow { color: var(--orange); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; color: var(--white);
  background: var(--charcoal) center / cover no-repeat;
  padding: 5rem 0 4rem;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(12,12,12,.8); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: .4em; }
.page-hero p { max-width: 62ch; color: #e2e2e2; font-size: 1.15rem; margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 1rem; color: #bdbdbd; }
.breadcrumb a { color: #e0e0e0; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--grey-100); }
.section-dark { background: var(--charcoal); color: #e4e4e4; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--grey-700); font-size: 1.1rem; }
.section-dark .section-head p { color: #c9c9c9; }
@media (min-width: 900px) { .section { padding: 6rem 0; } }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.reverse > :first-child { order: 2; } }

.media-frame { position: relative; }
.media-frame img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame::after {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 40%; height: 40%;
  border-left: 6px solid var(--orange); border-bottom: 6px solid var(--orange); z-index: -1;
}
.media-frame { z-index: 0; }

/* ---------- Service cards ---------- */
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-bottom: 4px solid transparent; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.service-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.service-card .body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.service-card .num { font-family: var(--font-head); color: var(--orange-dark); font-weight: 700; letter-spacing: .1em; font-size: .95rem; }
.service-card h3 { margin: .3rem 0 .6rem; font-size: 1.4rem; text-transform: uppercase; }
.service-card p { color: var(--grey-700); font-size: 1rem; }
.link-arrow {
  margin-top: auto; display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--black); text-decoration: none;
}
.link-arrow::after { content: "→"; color: var(--orange-dark); transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Value / feature tiles ---------- */
.value {
  padding: 1.75rem; background: var(--white); border-radius: var(--radius);
  border-top: 4px solid var(--orange); box-shadow: var(--shadow);
}
.value .icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--black);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.value .icon svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: .4rem; }
.value p { color: var(--grey-700); margin: 0; font-size: 1rem; }

.section-dark .value { background: var(--charcoal-2); box-shadow: none; }
.section-dark .value p { color: #c4c4c4; }
.section-dark .value .icon { background: var(--black); }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem;
  background: var(--orange); border-radius: 2px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.check-list.cols { grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-list.cols { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }

.tag-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.tag-list li {
  background: var(--white); border: 1px solid var(--grey-300); border-left: 4px solid var(--orange);
  padding: .55rem 1rem; font-weight: 600; border-radius: var(--radius); font-size: .98rem;
}

/* ---------- Service detail blocks ---------- */
.service-block { padding: 4.5rem 0; scroll-margin-top: calc(var(--header-h) + 10px); }
.service-block:nth-of-type(even) { background: var(--grey-100); }
.service-block h2 { display: flex; align-items: baseline; gap: .8rem; }
.service-block h2 .num { color: var(--orange); font-size: .6em; }

.notice {
  background: var(--orange-soft); border-left: 4px solid var(--orange);
  padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .98rem; color: var(--charcoal);
  margin: 1.25rem 0;
}
.notice strong { color: var(--black); }

/* ---------- Statement band ---------- */
.mv-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card {
  padding: 2.25rem; background: var(--black); color: #e6e6e6; border-radius: var(--radius); position: relative;
}
.mv-card h3 { color: var(--orange); text-transform: uppercase; }
.mv-card p { font-size: 1.15rem; margin: 0; }

/* ---------- Director profile ---------- */
.profile {
  display: grid; gap: 2rem; background: var(--white); box-shadow: var(--shadow);
  border-radius: var(--radius); padding: 2rem; border-top: 5px solid var(--orange);
}
@media (min-width: 860px) { .profile { grid-template-columns: 240px 1fr; padding: 2.75rem; } }
.profile-badge {
  aspect-ratio: 1; background: var(--black); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--orange);
  font-family: var(--font-head); font-size: 4.5rem; font-weight: 700; letter-spacing: .04em;
  max-width: 240px;
}
.profile h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: .1rem; }
.profile .role { font-family: var(--font-head); color: var(--orange-dark); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 1.2rem; }

/* ---------- Fact table ---------- */
.facts { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.facts th, .facts td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid #ececec; vertical-align: top; }
.facts th { width: 38%; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; font-size: 1.02rem; background: #fafafa; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .facts th, .facts td { display: block; width: 100%; } .facts th { border-bottom: 0; padding-bottom: .2rem; } }

/* ---------- Compliance cards ---------- */
.cred-card {
  background: var(--white); border: 1px solid #e3e4e6; border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem;
}
.cred-card h3 { font-size: 1.3rem; text-transform: uppercase; margin: 0; }
.cred-card p { margin: 0; color: var(--grey-700); font-size: .98rem; }
.status {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .3rem .7rem; border-radius: 99px; background: var(--grey-100); color: var(--grey-700);
  border: 1px solid var(--grey-300);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grey-500); }
.status.on-file { background: #eef6ee; color: #2c5e2e; border-color: #c6dfc7; }
.status.on-file::before { background: #3c8a40; }

/* ---------- Projects ---------- */
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.project-card .img-wrap { position: relative; }
.project-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.project-card .ribbon {
  position: absolute; top: 1rem; left: 1rem; background: var(--orange); color: var(--black);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: .85rem; padding: .3rem .7rem; border-radius: 2px;
}
.project-card .body { padding: 1.5rem; }
.project-card dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1rem 0 0; font-size: .95rem; }
.project-card dt { font-weight: 700; color: var(--black); }
.project-card dd { margin: 0; color: var(--grey-700); }

.org-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .org-list { grid-template-columns: repeat(3, 1fr); } }
.org-list li {
  padding: 1.5rem; background: var(--white); border: 1px solid #e2e3e5; border-radius: var(--radius);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  text-align: center; color: var(--charcoal);
}
.org-list li small { display: block; font-family: var(--font-body); font-size: .85rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--grey-500); margin-top: .3rem; }

/* ---------- Experience strip ---------- */
.stat-row { display: grid; gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--charcoal); padding: 2rem; }
.stat .big { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: .5rem; }
.stat p { margin: 0; color: #cfcfcf; font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--black); color: var(--white); position: relative; overflow: hidden;
  padding: 4.5rem 0;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%);
  background: url("../images/favicon.png") center / contain no-repeat; opacity: .07;
}
.cta-band .wrap { position: relative; z-index: 1; display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band h2 span { color: var(--orange); }
.cta-band p { color: #cfcfcf; margin: 0; max-width: 60ch; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.35fr; gap: 3.5rem; } }
.contact-card { background: var(--black); color: #dedede; padding: 2rem; border-radius: var(--radius); }
.contact-card h2 { color: var(--white); font-size: 1.9rem; }
.contact-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-item:last-of-type { border-bottom: 0; }
.contact-item svg { width: 22px; height: 22px; flex: none; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: .2rem; }
.contact-item h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin: 0 0 .2rem; }
.contact-item p { margin: 0; }
.contact-item a { color: var(--white); text-decoration: none; }
.contact-item a:hover { color: var(--orange); text-decoration: underline; }

.form { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--orange); }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field .req { color: #b42318; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1.5px solid #c4c6c9; border-radius: var(--radius);
  background: var(--white); color: var(--charcoal); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--black); outline: 3px solid rgba(235,144,0,.45); outline-offset: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field-error { color: #b42318; font-size: .88rem; font-weight: 600; min-height: 0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; margin-bottom: 1.25rem; }
.consent input { width: 20px; height: 20px; margin-top: .2rem; flex: none; accent-color: var(--orange); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #eef6ee; color: #1f4f22; border-left: 4px solid #3c8a40; }
.form-status.is-error { display: block; background: #fdeeec; color: #8a1c12; border-left: 4px solid #b42318; }
.form-note { font-size: .88rem; color: var(--grey-500); margin-top: 1rem; }

.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius); filter: grayscale(.4); }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b0b0b; color: #bdbdbd; padding: 4rem 0 0; font-size: .97rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; } }
.footer-logo img { width: 210px; margin-bottom: 1.25rem; }
.site-footer h2 { font-size: 1.15rem; color: var(--white); letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer h2::after { content: ""; display: block; width: 32px; height: 3px; background: var(--orange); margin-top: .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #e0e0e0; text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom {
  margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .88rem; color: #9a9a9a;
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float[hidden] { display: none; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.error-page .code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; color: var(--orange); line-height: 1; }

/* ---------- Reveal (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Print ---------- */
@media print {
  .site-header, .wa-float, .cta-band, .nav-toggle, form { display: none !important; }
  .hero, .page-hero { color: #000; background: none !important; min-height: 0; }
  .hero::before, .page-hero::before { display: none; }
  .hero h1, .page-hero h1, .hero p, .page-hero p { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Refinements ---------- */
.contact-item p, .site-footer li, .site-footer address, .facts td { overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .split .stat-row { grid-template-columns: 1fr; }
  .split .stat { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 1rem; padding: 1.5rem 2rem; }
  .split .stat .big { margin: 0; }
}
[hidden] { display: none !important; }
.main-nav .nav-cta { padding: .85rem 1.6rem; }
@media (min-width: 1080px) { .main-nav .nav-cta { padding: .7rem 1.2rem; } }
