/* Afrostain — site styles. Brand: black wordmark, field green, leaf-green accent. */
:root {
  --ink: #0b0f0c;
  --ink-2: #1c2420;
  --green: #0e7140;
  --green-dark: #08482a;
  --green-tint: #e6f1ea;
  --accent: #5ed08b;  /* bright leaf green, for use on dark backgrounds */
  --paper: #f6f5ef;
  --white: #ffffff;
  --muted: #56615b;
  --line: #dcdfd6;
  /* Theme tokens: what changes between light and dark. --ink and --white stay the brand's
     dark green-black and pure white (used for dark sections and text on them) in both themes. */
  --text: var(--ink);
  --surface: #ffffff;       /* cards, white sections, inputs */
  --header-bg: rgba(246, 245, 239, .94);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(11, 15, 12, .06), 0 8px 24px -16px rgba(11, 15, 12, .3);
  --max: 1180px;
  --head: "Saira", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, p, li, dd, dt, figcaption, summary { overflow-wrap: break-word; }
/* Keep phone numbers on one line. */
a[href^="tel:"], .nowrap { white-space: nowrap; }
/* Grid children default to min-width:auto and would grow past the screen to fit a long word or number. */
.grid > *, .split > *, .stats > *, .impact .wrap > * { min-width: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--white { background: var(--surface); }
.section--ink { background: var(--ink); color: #e9ece8; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--green { background: var(--green); color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--head); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.eyebrow::before { content: none; }
.section--ink .eyebrow, .section--green .eyebrow { color: #9fb3a7; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.section--ink .lead { color: #b8c2bc; }
.section--green .lead { color: #d6eadd; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  padding: 14px 26px; border-radius: 4px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: #fff; color: var(--ink); }
.btn--primary:hover { background: #e3ebe5; color: var(--ink); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { color: inherit; background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; }
/* Contact strip above the main menu (part of the pinned header). */
.site-header .topbar { background: var(--ink); color: #c9d1cc; font-size: .88rem; }
.site-header .topbar .wrap { min-height: 36px; justify-content: flex-end; gap: 22px; }
.topbar a { color: #c9d1cc; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: var(--accent); }
.topbar__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--white) !important; }
.topbar__phone svg { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 560px) {
  .site-header .topbar .wrap { justify-content: center; gap: 18px; }
  .topbar .hide-sm { display: none; }
}
.brand img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--head); font-weight: 600; color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 4px; }
.nav a:hover, .nav a[aria-current] { background: var(--green-tint); color: var(--green-dark); }
.nav .btn { margin-left: 8px; padding: 11px 22px; color: var(--white); }
.nav .btn:hover { background: var(--green-dark); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 28px; height: 28px; }


@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav { max-height: calc(100vh - 111px); max-height: calc(100dvh - 111px); overflow-y: auto; overscroll-behavior: contain; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(8, 20, 13, .92) 0%, rgba(8, 20, 13, .72) 40%, rgba(8, 20, 13, .2) 70%, rgba(8, 20, 13, .1) 100%);
}
/* Phones: the text covers the whole photo, so darken it evenly for readability. */
@media (max-width: 640px) { .hero__media::after { background: rgba(8, 20, 13, .74); } }
.hero .wrap { position: relative; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 12vw, 150px); }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; }
.hero .lead { color: #d3dcd6; }
.hero .eyebrow { color: #9fb3a7; }
.hero--page .wrap { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(60px, 8vw, 100px); }
.hero--page h1 { max-width: 20ch; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
/* Company logo in a page hero (Farmtech), with a smaller heading under it. */
.hero__logo img { display: block; width: clamp(240px, 44vw, 520px); height: auto; margin-bottom: 26px; }
.hero--page h1.hero__title--small { font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 26ch; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600;
  padding: 7px 14px; border-radius: 4px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -56px; position: relative; z-index: 2; overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-size: 2.2rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stat { padding: 18px 14px; }
  .stat b { font-size: 1.65rem; }
  .stat span { font-size: .88rem; }
}

/* Grids & cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.section--white .card { background: var(--paper); }
.section--ink .card { background: var(--ink-2); border-color: #2c3631; }
.section--ink .card p { color: #aab5ae; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green); margin-bottom: 18px;
}
.section--ink .card__icon { background: rgba(94, 208, 139, .14); color: var(--accent); }
.card__icon svg { width: 26px; height: 26px; }
.card__num { font-family: var(--head); font-weight: 800; font-size: .9rem; color: var(--green); letter-spacing: .1em; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 4 / 3; }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--ink .checks li::before, .section--green .checks li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0f0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; position: relative; padding: 28px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--head); font-weight: 800;
  font-size: 2.4rem; color: var(--green); line-height: 1; margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; }
.step ul { color: var(--muted); padding-left: 1.1em; margin: .5em 0 0; }

/* Modules (accordion) */
.modules { display: grid; gap: 12px; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 20px 24px; font-family: var(--head); font-weight: 700; font-size: 1.15rem;
}
.module summary::-webkit-details-marker { display: none; }
.module summary .num { color: var(--green); font-weight: 800; min-width: 2ch; }
.module summary .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--green-tint); position: relative; transition: transform .2s; }
.module summary .plus::before, .module summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--green); transform: translate(-50%, -50%); }
.module summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.module[open] summary .plus { transform: rotate(45deg); }
.module__body { padding: 0 24px 24px calc(24px + 2ch + 18px); color: var(--muted); }
.module__body dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 18px; margin: 0; }
.module__body dt { font-weight: 700; color: var(--text); }
.module__body dd { margin: 0; }
@media (max-width: 640px) {
  .module__body { padding: 0 20px 20px; }
  .module__body dl { grid-template-columns: 1fr; }
  .module__body dd { margin-bottom: 8px; }
}

/* People */
.person { display: flex; gap: 18px; align-items: center; }
.avatar {
  width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; font-size: 1.3rem; background: var(--green); color: var(--white);
}
.person h3 { margin: 0 0 2px; font-size: 1.15rem; }
.person p { margin: 0; color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta { background: var(--green); color: var(--white); border-radius: var(--radius); padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: none; }
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { color: #d6eadd; margin: 0; }
.cta .btn-row { margin: 0; position: relative; z-index: 1; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field .hint { font-weight: 500; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border-radius: 4px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
}
.field input[type="file"] { padding: 10px; background: var(--paper); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(14, 113, 64, .15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; }
legend { font-family: var(--head); font-weight: 800; font-size: 1.3rem; margin-bottom: 4px; padding: 0; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.notice { padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; font-weight: 600; }
.notice--ok { background: var(--green-tint); color: var(--green-dark); border: 1px solid #b9dcc6; }
.notice--err { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c2c2; }
.notice[hidden] { display: none; }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .card__icon { margin: 0; flex: none; }
.contact-list b { display: block; font-family: var(--head); }
.contact-list a { color: inherit; }

/* Footer */
.site-footer { background: var(--ink); color: #aab5ae; padding: 72px 0 28px; font-size: .96rem; }
/* Room at the very bottom so the floating WhatsApp button doesn't cover the social icons. */
@media (max-width: 1340px) { .site-footer { padding-bottom: 100px; } }
.site-footer a { color: #d9e0dc; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand img { height: 20px; width: auto; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid #253029; margin-top: 52px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: .88rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }
/* Social media icons, bottom-right corner of the footer. */
.site-footer .social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #34403a; color: #d9e0dc; transition: background .15s, color .15s, border-color .15s; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.social svg { width: 18px; height: 18px; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }
.wa-float svg { width: 30px; height: 30px; }

.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .module summary .plus { transition: none; }
}

/* Small source photos: keep natural proportions, never upscale far beyond their size. */
.photo--portrait { aspect-ratio: 427 / 449; max-width: 470px; justify-self: center; width: 100%; }

/* ===== Home redesign (v2) ===== */

/* Hero with a hovering drone */
.hero-drone { position: relative; overflow: hidden; color: #fff; background: radial-gradient(60% 70% at 72% 45%, #16301f 0%, #0a120d 55%, #060a07 100%); }
.hero-drone .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(120px, 12vw, 150px); }
.hero-drone h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); max-width: 12ch; margin-bottom: .35em; }
.hero-drone .lead { color: #c9d3cd; max-width: 46ch; }
.hero-drone .kicker { font-weight: 600; color: #9fb3a7; margin-bottom: 18px; display: block; }
.hero-drone .facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); list-style: none; color: #c9d3cd; font-size: .95rem; }
.hero-drone .facts b { color: #fff; font-family: var(--head); font-size: 1.25rem; display: block; }

.drone-stage { position: relative; aspect-ratio: 1733 / 1011; width: 112%; margin-right: -12%; }
.drone-fly { position: absolute; inset: 0; animation: droneIn 1.6s cubic-bezier(.2,.8,.2,1) both; }
.drone-hover { position: absolute; inset: 0; animation: droneHover 5.5s ease-in-out 1.6s infinite; }
.drone-hover img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.drone-led { position: absolute; width: 1.1%; aspect-ratio: 1; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px 3px rgba(255,59,48,.8); animation: ledBlink 1.4s steps(1) infinite; }
.drone-led--a { left: 6.2%; top: 39.4%; }
.drone-led--b { left: 60.4%; top: 54.4%; animation-delay: .7s; }
.drone-shadow { position: absolute; left: 22%; right: 22%; bottom: -9%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); animation: shadowPulse 5.5s ease-in-out 1.6s infinite; }
@keyframes droneIn { from { transform: translate(18%, -28%) rotate(-6deg) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes droneHover { 0%, 100% { transform: translateY(0) rotate(0deg); } 30% { transform: translateY(-3.2%) rotate(-.8deg); } 65% { transform: translateY(1.4%) rotate(.6deg); } }
@keyframes shadowPulse { 0%, 100% { transform: scaleX(1); opacity: .9; } 30% { transform: scaleX(.86); opacity: .6; } 65% { transform: scaleX(1.04); opacity: 1; } }
@keyframes ledBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .15; } }
@media (max-width: 900px) {
  .hero-drone .wrap { grid-template-columns: 1fr; padding-bottom: 140px; }
  .drone-stage { width: 100%; margin: 8px 0 0; order: -1; }
}
@media (prefers-reduced-motion: reduce) { .drone-fly, .drone-hover, .drone-shadow, .drone-led { animation: none; } }

/* Enquiry bar overlapping the hero */
.enquiry-bar { position: relative; z-index: 2; margin-top: -86px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; display: grid; grid-template-columns: 1fr 2.4fr; gap: 28px; align-items: center; }
.enquiry-bar h2 { font-size: 1.35rem; margin: 0 0 4px; }
.enquiry-bar p { margin: 0; color: var(--muted); font-size: .95rem; }
.enquiry-bar form { display: grid; grid-template-columns: 1fr 1fr 1.1fr auto; gap: 10px; }
.enquiry-bar .field input, .enquiry-bar .field select { padding: 13px 14px; }
.enquiry-bar .notice { grid-column: 1 / -1; margin: 0; }
@media (max-width: 1000px) { .enquiry-bar { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .enquiry-bar form { grid-template-columns: 1fr; } .enquiry-bar { padding: 22px 20px; } }

/* Trust bar */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 28px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.trust__caaz { display: flex; align-items: center; gap: 14px; font-family: var(--head); font-weight: 700; line-height: 1.2; }
.trust__caaz img { width: 54px; height: auto; }
.trust__item { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.trust__item svg { width: 22px; height: 22px; color: var(--green); flex: none; }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: 1fr 1fr; } .trust__caaz { grid-column: 1 / -1; } }

/* Stats over earth */
.impact { position: relative; color: var(--white); background: #04070a; overflow: hidden; }
.impact__bg { position: absolute; inset: 0; }
.impact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: .75; }
.impact .wrap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 84px; padding-bottom: 84px; text-align: center; }
.impact b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.impact b i { font-style: normal; color: var(--accent); }
.impact span { color: #cfd8d3; font-weight: 600; }
@media (max-width: 760px) { .impact .wrap { grid-template-columns: 1fr 1fr; row-gap: 40px; gap: 16px; padding-top: 60px; padding-bottom: 60px; } }
@media (max-width: 480px) { .impact b { font-size: 2rem; } .impact span { font-size: .9rem; } }

/* Image cards (careers, modules) */
.icard { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--white); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; isolation: isolate; }
.icard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.icard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,10,7,0) 25%, rgba(5,10,7,.88) 78%); }
.icard:hover img { transform: scale(1.06); }
.icard__body { padding: 24px; }
.icard h3 { color: var(--white); margin-bottom: 6px; }
.icard p { color: #d3dcd6; margin: 0; font-size: .97rem; }
.icard--tall { min-height: 440px; }
a.icard:hover { color: var(--white); }

.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.mcard__img { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.mcard__img img { width: 100%; height: 100%; object-fit: cover; }
.mcard__num { position: absolute; left: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: var(--white); font-family: var(--head); font-weight: 800; box-shadow: 0 8px 18px -6px rgba(14,113,64,.6); }
.mcard__body { padding: 30px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.mcard__body h3 { font-size: 1.15rem; }
.mcard__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.mcard__more { font-family: var(--head); font-weight: 700; color: var(--green); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 260px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(5,10,7,.75); color: #fff; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--head); font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.trust-row { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.trust-row .trust__caaz { font-family: var(--body); font-weight: 600; color: var(--text); }
.card__num { font-size: 1.6rem; color: var(--green); }
.section--ink .card__num { color: #9fb3a7; }

/* ===== Group site: division sub-menu and division cards ===== */

/* Sub-menu under the main header, one per division (src/partials/subnav-<section>.html). */
.subnav { background: var(--ink); color: #e9ece8; position: sticky; top: 111px; z-index: 45; } /* top = header height; main.js keeps it exact */
.subnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 54px; }
.subnav__title { font-family: var(--head); font-weight: 800; color: var(--white); text-decoration: none; white-space: nowrap; letter-spacing: .01em; }
.subnav__title:hover { color: var(--accent); }
.subnav__title--logo img { display: block; height: 40px; width: auto; }
@media (max-width: 760px) { .subnav__title--logo img { height: 34px; } }
.subnav__links { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a { font-family: var(--head); font-weight: 600; font-size: .95rem; color: #c9d1cc; text-decoration: none; padding: 8px 12px; border-radius: 4px; white-space: nowrap; }
.subnav__links a:hover, .subnav__links a[aria-current] { color: var(--white); background: rgba(255, 255, 255, .08); }
.subnav__links a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.subnav__links .subnav__cta { background: var(--accent); color: var(--ink); margin-left: 8px; }
.subnav__links .subnav__cta:hover, .subnav__links .subnav__cta[aria-current] { background: #7ddca2; color: var(--ink); box-shadow: none; }
@media (max-width: 760px) {
  .subnav { position: static; }
  .subnav .wrap { flex-direction: column; align-items: stretch; gap: 4px; padding-top: 10px; padding-bottom: 8px; }
  .subnav__links { flex-wrap: wrap; overflow: visible; gap: 4px; margin: 0 -12px; }
  .subnav__links a { padding: 7px 12px; font-size: .9rem; }
  .subnav__links .subnav__cta { margin-left: 0; }
}

/* Division cards on the group home page. */
.dcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.dcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.dcard__img img { width: 100%; height: 100%; object-fit: cover; }
.dcard__body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.dcard__body .eyebrow { margin-bottom: 8px; }
.dcard__body h3 { font-size: 1.5rem; }
.dcard__body p { color: var(--muted); flex: 1; }
.dcard__more { font-family: var(--head); font-weight: 700; color: var(--green); }
.dcard__more::after { content: " \2192"; }

/* Service blocks on division pages. (Jump-link offset comes from scroll-padding-top, set in main.js.) */
.service + .service { margin-top: clamp(56px, 8vw, 96px); }
.service h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.service p { color: var(--muted); }
.section--white .service p { color: var(--muted); }

.notice--draft { background: #fff8d6; color: #6b5300; border: 1px solid #ecd98a; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .dcard { transition: none; } }

/* Group home hero: name and intro on the left, the four companies as photo tiles on the right. */
.ghero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(70% 90% at 80% 30%, #14301f 0%, #08110b 60%, #050906 100%); }
.ghero__bg { position: absolute; inset: 0; }
.ghero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ghero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 6, .85) 0%, rgba(5, 9, 6, .35) 50%, rgba(5, 9, 6, 0) 100%); }
.ghero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.ghero__tag { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: 6px 12px; border-radius: 3px; margin-bottom: 22px; }
.ghero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: .98; margin-bottom: .35em; }
.ghero h1 span { display: block; color: var(--accent); }
/* Home hero heading: the Afrostain logo, with "Holdings" as a smaller line underneath. */
.ghero .ghero__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; margin-bottom: .6em; }
.ghero__title img { display: block; width: clamp(240px, 46vw, 560px); height: auto; margin-bottom: .45em; }
.ghero__title span { letter-spacing: .18em; text-transform: uppercase; }
.ghero .lead { color: #c9d3cd; max-width: 46ch; }
.ghero__facts { display: flex; flex-wrap: wrap; gap: 10px 36px; list-style: none; margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); color: #aab8b0; font-size: .92rem; }
.ghero__facts b { display: block; font-family: var(--head); font-size: 1.45rem; color: var(--white); line-height: 1.2; }

/* Company tiles: one row of four under the heading; two by two on phones. */
.ghero__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) {
  .ghero__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ghero__tiles .gtile::before { display: none; } /* arrow hidden on phones so the name has room */
  .ghero__tiles .gtile__name { right: 12px; left: 14px; font-size: 1.05rem; }
}
.gtile { position: relative; aspect-ratio: 4 / 3.4; border-radius: 10px; overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.gtile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 10, 7, .05) 30%, rgba(5, 10, 7, .9) 100%); transition: background .3s; }
.gtile:hover { color: var(--white); }
.gtile:hover img { transform: scale(1.07); }
.gtile:hover::after { background: linear-gradient(180deg, rgba(14, 113, 64, .25) 0%, rgba(5, 10, 7, .92) 100%); }
.gtile__num { position: absolute; top: 12px; left: 12px; font-family: var(--head); font-weight: 800; font-size: .8rem; letter-spacing: .12em; color: var(--accent); background: rgba(5, 10, 7, .72); padding: 3px 9px; border-radius: 4px; }
.gtile__name { position: absolute; left: 16px; right: 44px; bottom: 14px; font-family: var(--head); font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.1; }
.gtile__name small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #b8c6be; margin-bottom: 3px; }
.gtile::before { content: "\2192"; position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-weight: 700; transition: background .2s, color .2s; }
.gtile:hover::before { background: var(--accent); color: var(--ink); }

@media (max-width: 900px) {
  .ghero .wrap { grid-template-columns: minmax(0, 1fr); }
  .gtile:nth-child(2), .gtile:nth-child(4) { transform: none; }
  .ghero__tiles { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .gtile img, .gtile::after, .gtile::before { transition: none; } }

/* "Our services" dropdown in the main menu: opens on hover or keyboard focus; on phones the companies are listed inline. */
.nav-drop { position: relative; }
.nav .nav-drop__toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav .nav-drop__toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-drop:hover .nav-drop__toggle::after, .nav-drop:focus-within .nav-drop__toggle::after { transform: translateY(1px) rotate(-135deg); }
.nav-drop__menu {
  position: absolute; top: 100%; left: 50%; min-width: 320px; padding: 10px; margin-top: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px -18px rgba(11, 15, 12, .35);
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-drop__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* keeps hover alive across the gap */
.nav-drop:hover .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .nav-drop__menu a { display: block; padding: 10px 14px; border-radius: 6px; }
.nav-drop__menu b { display: block; font-weight: 700; }
.nav-drop__menu span { display: block; font-family: var(--body); font-weight: 500; font-size: .86rem; color: var(--muted); }
@media (max-width: 900px) {
  .nav .nav-drop__toggle::after { display: none; }
  .nav-drop__menu { position: static; min-width: 0; margin: 0 0 6px 14px; padding: 0 0 0 10px; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
  .nav-drop__menu::before { content: none; }
  .nav .nav-drop__menu a { padding: 8px 12px; }
  .nav-drop__menu span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nav-drop__menu, .nav .nav-drop__toggle::after { transition: none; } }

/* Linked cards (company list on the About page). */
a.dlink { display: block; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
a.dlink:hover { color: var(--text); border-color: var(--green); transform: translateY(-2px); }
a.dlink h3::after { content: " \2192"; color: var(--green); }

/* Section links (College, Farmtech, ...) repeated inside the phone menu by main.js, because the
   section bar is not pinned on phones. */
.nav-section { display: none; }
@media (max-width: 760px) {
  .nav-section { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
  .nav-section__title { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); padding: 8px 14px 4px; }
  .nav .nav-section a { font-family: var(--head); font-weight: 600; color: var(--text); text-decoration: none; border-radius: 4px; }
  .nav .nav-section a[aria-current] { background: var(--green-tint); color: var(--green-dark); }
}

/* ===== Features adapted from earthasoft.com ===== */

/* Home hero: rotating phrase */
.rotator { font-family: var(--head); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--white); margin: -.2em 0 .8em; min-height: 1.3em; }
@media (max-width: 560px) { .rotator { min-height: 2.6em; } } /* phrase may wrap to two lines on phones */
.rotator__word { color: var(--accent); display: inline-block; transition: opacity .35s, transform .35s; }
.rotator__word.is-out { opacity: 0; transform: translateY(8px); }

/* Home: "Who we work with" sector cards, photo with text over it */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sector { position: relative; display: flex; align-items: flex-end; min-height: 380px; min-width: 0; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); isolation: isolate; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,15,12,0) 20%, rgba(11,15,12,.88) 72%); }
.sector:hover { color: var(--white); }
.sector:hover img { transform: scale(1.06); }
.sector__body { padding: 24px 22px; }
.sector h3 { color: var(--white); margin-bottom: .4em; }
.sector p { color: #cfd8d3; font-size: .95rem; margin: 0 0 14px; }
.sector__more { font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--accent); }
.sector__more::after { content: " \2192"; }
@media (max-width: 980px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } .sector { min-height: 300px; } }

/* Farmtech: connected four-step flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.flow::before { content: ""; position: absolute; left: 32px; right: calc((100% - 66px) / 4 - 32px); top: 31px; border-top: 2px dashed #b9cfc1; z-index: 0; }
.flow__step { position: relative; z-index: 1; min-width: 0; }
.flow__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--white); box-shadow: 0 0 0 8px var(--paper); margin-bottom: 18px; }
.flow__icon svg { width: 28px; height: 28px; }
.flow__step h3 { margin-bottom: .3em; }
.flow__step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow::before { content: none; }
  /* phones: a dashed connector from each circle down to the next one */
  .flow__step:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 64px; bottom: -26px; border-left: 2px dashed #b9cfc1; z-index: -1; }
  .flow__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .flow__icon { grid-row: span 2; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .rotator__word, .sector img { transition: none; } }

/* ===== Light / dark theme (toggle in the header, choice saved in the browser) ===== */
.theme-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; flex: none; transition: background .15s, border-color .15s; }
.theme-toggle:hover { background: var(--green-tint); border-color: var(--green); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.site-header .wrap > .theme-toggle { margin-left: auto; }
@media (min-width: 901px) { .site-header .wrap > .theme-toggle { order: 3; margin-left: 0; } .site-header .nav { margin-left: auto; } }

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d1310;
  --surface: #151d19;
  --text: #e6ece8;
  --muted: #a3b0a9;
  --line: #2a3530;
  --green: #23935a;
  --green-tint: #17301f;
  --header-bg: rgba(13, 19, 16, .92);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -16px rgba(0, 0, 0, .8);
}
[data-theme="dark"] .brand img { filter: invert(1); }                  /* black wordmark -> white */
[data-theme="dark"] .nav a:hover, [data-theme="dark"] .nav a[aria-current] { color: var(--accent); }
[data-theme="dark"] .nav .btn, [data-theme="dark"] .nav .btn:hover { color: var(--white); }
[data-theme="dark"] .eyebrow { color: var(--accent); }
[data-theme="dark"] main a:not([class]) { color: var(--accent); }
[data-theme="dark"] .notice--ok { color: var(--accent); border-color: #2c5a3e; }
[data-theme="dark"] .notice--err { background: #3a1717; color: #f3b4b4; border-color: #6b2b2b; }
[data-theme="dark"] .notice--draft { background: #3a3110; color: #f3dd8a; border-color: #6b5a1c; }
[data-theme="dark"] .section--ink, [data-theme="dark"] .site-footer, [data-theme="dark"] .subnav, [data-theme="dark"] .site-header .topbar { background: #060a08; }
[data-theme="dark"] .flow::before, [data-theme="dark"] .flow__step::after { border-color: #2f4a3b; }

/* Partner network banner (home page) */
.partner { position: relative; overflow: hidden; }
.partner__bg { position: absolute; inset: 0; opacity: .18; pointer-events: none; }
.partner__bg img { width: 100%; height: 100%; object-fit: cover; }
.partner__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.partner__inner > * { min-width: 0; }
.partner .eyebrow { color: var(--accent); }
.partner__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.partner__list li { padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .12); border-left: 3px solid var(--accent); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.partner__list b { display: block; font-family: var(--head); color: var(--white); font-size: 1.08rem; }
.partner__list span { color: #b8c2bc; font-size: .95rem; }
@media (max-width: 900px) { .partner__inner { grid-template-columns: 1fr; } }

/* "Trusted by" logo strip: an endless scroll of client logos (switched off in index.html until logos are supplied) */
.logos { padding: 40px 0; background: var(--surface); border-block: 1px solid var(--line); }
.logos__title { text-align: center; font-family: var(--head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.logos__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: logosScroll 40s linear infinite; }
.logos__track img { height: 48px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logos__track img:hover { filter: none; opacity: 1; }
.logos__viewport:hover .logos__track { animation-play-state: paused; }
@keyframes logosScroll { to { transform: translateX(calc(-50% - 32px)); } }
[data-theme="dark"] .logos__track img { filter: grayscale(1) brightness(1.6); }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* Long text pages (privacy notice) */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.8em; scroll-margin-top: 140px; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.footer-legal a { color: #aab5ae; text-decoration: underline; text-underline-offset: 3px; }

/* Loss Adjusters: six-step claim example and glossary */
ol.steps { list-style: none; margin: 0; padding: 0; }
@media (min-width: 981px) { .steps.steps--3 { grid-template-columns: repeat(3, 1fr); } }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.terms > div { padding: 20px 0; border-top: 1px solid var(--line); }
.terms dt { font-family: var(--head); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.terms dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }
