@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #153b34;
  --ink-deep: #0c2823;
  --paper: #f5f2e9;
  --paper-bright: #fcfaf5;
  --muted: #63716a;
  --line: #d9ded4;
  --leaf: #d2e2cf;
  --leaf-dark: #94b59b;
  --clay: #c96f49;
  --sun: #e9b95f;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 18px 48px rgba(18, 50, 43, .10);
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.site-header {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(21, 59, 52, .14);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: block; flex: 0 0 auto; }
.brand-name { font: 800 13px/1.05 'Manrope', sans-serif; letter-spacing: .085em; text-transform: uppercase; }
.brand-name span { display: block; margin-top: 5px; font: 600 10px/1 'DM Sans', sans-serif; letter-spacing: .16em; color: var(--muted); }
.nav-wrap { display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; background: transparent; color: var(--ink); font: 700 12px 'DM Sans', sans-serif; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid transparent; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--ink-deep); box-shadow: 0 10px 25px rgba(12,40,35,.18); }
.button--light { background: var(--paper-bright); color: var(--ink); }
.button--light:hover { background: var(--white); }
.button--outline { border-color: rgba(21,59,52,.24); background: transparent; color: var(--ink); }
.button--outline:hover { background: var(--white); }
.button--small { min-height: 42px; padding: 0 15px; font-size: 12px; }

main { overflow: hidden; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 16px; color: var(--clay); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Manrope', 'DM Sans', sans-serif; letter-spacing: -.045em; }
h1 { margin-bottom: 20px; font-size: clamp(42px, 6vw, 76px); line-height: 1.01; font-weight: 700; }
h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 700; }
h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.18; }
.lead { max-width: 590px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.small-copy { color: var(--muted); font-size: 13px; line-height: 1.7; }

.hero { position: relative; width: min(1240px, calc(100% - 48px)); min-height: 600px; margin: 0 auto; padding: 84px 0 76px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 44px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 span { color: var(--clay); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.hero-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-dark); box-shadow: 0 0 0 5px rgba(148,181,155,.2); }
.hero-art { position: relative; min-height: 430px; display: grid; place-items: center; }
.art-card { position: relative; width: min(100%, 480px); min-height: 390px; overflow: hidden; border-radius: 180px 180px 28px 28px; background: var(--leaf); box-shadow: var(--shadow); }
.art-card::before, .art-card::after { content: ''; position: absolute; border: 1px solid rgba(21,59,52,.14); border-radius: 50%; transform: rotate(-24deg); }
.art-card::before { width: 580px; height: 280px; left: -65px; top: 44px; }
.art-card::after { width: 510px; height: 250px; left: -16px; top: 94px; }
.sun-disc { position: absolute; top: 74px; right: 82px; width: 82px; height: 82px; border-radius: 50%; background: var(--sun); }
.hill { position: absolute; inset: auto -10% -8% -10%; height: 56%; border-radius: 52% 48% 0 0 / 28% 34% 0 0; background: var(--ink); transform: rotate(-7deg); }
.hill--back { inset: auto -6% 11% -18%; height: 37%; background: var(--leaf-dark); transform: rotate(11deg); }
.route-line { position: absolute; z-index: 2; left: 46%; top: 33%; width: 30%; height: 57%; border: 2px dashed rgba(252,250,245,.85); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(33deg); }
.art-pin { position: absolute; z-index: 3; left: 52%; top: 42%; width: 54px; height: 54px; display: grid; place-items: center; border: 7px solid var(--paper-bright); border-radius: 50% 50% 50% 8px; background: var(--clay); transform: rotate(-45deg); box-shadow: 0 8px 20px rgba(12,40,35,.16); }
.art-pin::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--paper-bright); }
.art-caption { position: absolute; z-index: 4; left: 28px; bottom: 28px; color: var(--white); }
.art-caption strong { display: block; margin-bottom: 6px; font: 700 19px 'Manrope', sans-serif; }
.art-caption span { font-size: 12px; opacity: .78; }
.hero-index { position: absolute; right: 4px; bottom: 4px; color: rgba(21,59,52,.14); font: 800 92px/.85 'Manrope', sans-serif; letter-spacing: -.08em; }

/* Purposeful motion: light feedback, never decoration that competes with reading. */
@media (prefers-reduced-motion: no-preference) {
  .site-nav a { position: relative; }
  .site-nav a::after { content: ''; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .offer-card .offer-visual img { transition: transform .55s cubic-bezier(.2,.7,.2,1); }
  .offer-card:hover .offer-visual img { transform: scale(1.035); }
  .offer-card .card-link::after { transition: transform .22s ease; }
  .offer-card:hover .card-link::after, .offer-card:focus-visible .card-link::after { transform: translate(2px,-2px); }
  .button:active { transform: translateY(1px) scale(.985); box-shadow: none; }
  .hero-art .sun-disc { animation: sun-drift 8s ease-in-out infinite; }
  .hero-art .art-pin { animation: pin-pulse 4.8s ease-in-out infinite; }
  .motion-ready .motion-reveal {
    opacity: 0;
    transform: translate3d(0,16px,0) scale(.995);
    transition: opacity 620ms cubic-bezier(.22,.61,.36,1) var(--reveal-delay,0ms), transform 620ms cubic-bezier(.22,.61,.36,1) var(--reveal-delay,0ms);
  }
  .motion-ready .motion-reveal.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }
  .motion-ready .motion-reveal.offer-card { transition: opacity 620ms cubic-bezier(.22,.61,.36,1) var(--reveal-delay,0ms), transform 620ms cubic-bezier(.22,.61,.36,1) var(--reveal-delay,0ms), border-color .22s ease, box-shadow .22s ease; }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .site-nav.is-open { animation: nav-enter .18s ease-out both; }
}
@keyframes sun-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pin-pulse { 0%, 100% { box-shadow: 0 8px 20px rgba(12,40,35,.16); } 50% { box-shadow: 0 8px 25px rgba(12,40,35,.22), 0 0 0 6px rgba(201,111,73,.12); } }
@keyframes nav-enter { from { opacity: .65; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.trust-strip { background: var(--ink); color: var(--paper-bright); }
.trust-inner { width: min(1120px, calc(100% - 48px)); min-height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.trust-inner p { margin: 0; color: rgba(252,250,245,.76); font-size: 12px; line-height: 1.6; }
.trust-inner strong { color: var(--sun); font-size: 13px; }
.trust-items { display: flex; flex-wrap: wrap; gap: 22px; font-size: 11px; font-weight: 600; }
.trust-items span::before { content: '•'; margin-right: 8px; color: var(--sun); }

.section { padding: 100px 0; }
.section--bright { background: var(--paper-bright); }
.section-head { max-width: 700px; margin-bottom: 38px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.offer-card { display: flex; min-height: 310px; flex-direction: column; align-items: flex-start; padding: 25px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.offer-card:hover { transform: translateY(-5px); border-color: rgba(21,59,52,.36); box-shadow: var(--shadow); }
.offer-card:nth-child(2n) { background: #edf2e7; }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 14px; background: var(--leaf); color: var(--ink); }
.offer-card:nth-child(2n) .card-icon { background: var(--paper-bright); }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.offer-visual { width: 100%; margin: 0 0 16px; }
.offer-visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--leaf); }
.offer-visual figcaption { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.offer-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; }
.card-link::after { content: '↗'; color: var(--clay); font-size: 16px; }

.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.step-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-number { color: var(--clay); font: 800 13px 'Manrope', sans-serif; }
.step h3 { margin: 0 0 7px; font-size: 17px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.callout { position: relative; overflow: hidden; padding: 46px; border-radius: 28px; background: var(--ink); color: var(--paper-bright); }
.callout::after { content: ''; position: absolute; width: 260px; height: 260px; right: -76px; top: -110px; border: 1px solid rgba(252,250,245,.17); border-radius: 50%; box-shadow: 0 0 0 28px rgba(252,250,245,.04), 0 0 0 57px rgba(252,250,245,.03); }
.callout h2 { max-width: 600px; position: relative; z-index: 1; font-size: clamp(29px, 4vw, 42px); }
.callout p { position: relative; z-index: 1; max-width: 600px; color: rgba(252,250,245,.76); font-size: 14px; line-height: 1.7; }
.callout .button { position: relative; z-index: 1; margin-top: 8px; }

.subhero { padding: 72px 0 48px; }
.breadcrumb { margin-bottom: 25px; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-decoration: none; }
.subhero h1 { max-width: 800px; font-size: clamp(39px, 5vw, 65px); }
.subhero .lead { max-width: 720px; }
.detail-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: stretch; margin: 0 0 90px; }
.detail-main, .detail-aside { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); }
.detail-main h2 { font-size: 29px; }
.detail-main p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.detail-visual { margin: 0 0 22px; }
.detail-visual img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 16px; background: var(--leaf); }
.detail-visual figcaption { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.detail-aside { background: var(--leaf); }
.detail-aside h3 { font-size: 20px; }
.info-list { list-style: none; margin: 20px 0 25px; padding: 0; }
.info-list li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(21,59,52,.16); font-size: 12px; }
.info-list li span:first-child { color: var(--muted); }
.info-list li strong { text-align: right; }
.notice { padding: 17px 19px; border-left: 3px solid var(--clay); border-radius: 0 12px 12px 0; background: #f5e9dd; color: var(--ink); font-size: 12px; line-height: 1.65; }
.page-end { padding: 0 0 90px; }

.site-footer { background: var(--ink-deep); color: var(--paper-bright); }
.footer-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 40px 0 30px; display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-brand { max-width: 330px; }
.footer-brand .brand-name span { color: rgba(252,250,245,.6); }
.footer-brand p { margin: 17px 0 0; color: rgba(252,250,245,.63); font-size: 12px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px 23px; }
.footer-links a { color: rgba(252,250,245,.78); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--sun); }
.footer-bottom { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 18px 0 22px; border-top: 1px solid rgba(252,250,245,.14); color: rgba(252,250,245,.53); font-size: 10px; line-height: 1.7; }
.footer-bottom { padding-right: 235px; }
.county-enquiry { display: grid; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); box-shadow: var(--shadow); }
.county-enquiry label { color: var(--ink); font-size: 13px; font-weight: 800; }
.county-enquiry select { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); font: 600 14px 'DM Sans', sans-serif; }
.county-enquiry .button { width: 100%; }
.county-enquiry .small-copy { margin: 0; }
.county-source { max-width: 620px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.county-source a { color: var(--ink); font-weight: 700; }
.button--whatsapp { border-color: #157347; background: #157347; color: var(--white); }
.button--whatsapp:hover { border-color: #105f3c; background: #105f3c; color: var(--white); }
.whatsapp-float { position: fixed; z-index: 50; right: 18px; bottom: 16px; display: inline-flex; min-height: 56px; align-items: center; gap: 10px; padding: 8px 17px 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: #157347; color: var(--white); text-decoration: none; box-shadow: 0 12px 30px rgba(12,40,35,.24); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-2px); background: #105f3c; box-shadow: 0 16px 34px rgba(12,40,35,.28); }
.whatsapp-float__icon { width: 30px; height: 30px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); }
.whatsapp-float__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-float__text { display: grid; gap: 3px; line-height: 1.1; }
.whatsapp-float__text strong { font-size: 12px; }
.whatsapp-float__text small { color: rgba(255,255,255,.84); font-size: 10px; font-weight: 600; }
.detail-aside .button { margin: 0 8px 8px 0; }
.callout .button { margin-right: 8px; }

/* Camera QR scanner */
.scanner-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 24px; align-items: start; margin-bottom: 90px; }
.scanner-panel, .scanner-guide { padding: clamp(21px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-bright); }
.scanner-panel__intro { max-width: 620px; }
.scanner-panel__intro h2, .scanner-guide h2 { font-size: clamp(24px, 3vw, 34px); }
.scanner-panel__intro p:not(.eyebrow), .scanner-guide li { color: var(--muted); font-size: 14px; line-height: 1.7; }
.scanner-viewport { position: relative; display: grid; min-height: 380px; place-items: center; overflow: hidden; isolation: isolate; border: 1px solid rgba(21,59,52,.14); border-radius: 20px; background: var(--ink-deep); }
.scanner-video { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; background: var(--ink-deep); }
.scanner-video[hidden], .scanner-placeholder[hidden], .scanner-result[hidden], .scanner-controls [hidden], .scanner-open-link[hidden] { display: none !important; }
.scanner-placeholder { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 9px; padding: 26px; color: rgba(252,250,245,.82); text-align: center; font-size: 13px; line-height: 1.6; }
.scanner-placeholder strong { color: var(--white); font: 700 21px 'Manrope', sans-serif; }
.scanner-viewport.is-scanning::after { position: absolute; z-index: 1; top: 50%; left: 50%; width: min(65%, 310px); aspect-ratio: 1; border: 2px solid var(--sun); border-radius: 19px; box-shadow: 0 0 0 999px rgba(12,40,35,.18); content: ''; pointer-events: none; transform: translate(-50%, -50%); }
.scanner-controls, .scanner-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.scanner-status { min-height: 2.6em; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.scanner-result { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.scanner-result h2 { margin-bottom: 12px; font-size: 22px; }
.scanner-value { max-height: 190px; overflow: auto; padding: 14px; border-radius: 12px; background: var(--paper); color: var(--ink); font: 500 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.scanner-guide ol { display: grid; gap: 12px; padding-left: 21px; }
.scanner-guide .notice { margin: 20px 0; }
.scanner-support { margin: 18px 0 22px; }
@media (prefers-reduced-motion: no-preference) {
  .scanner-viewport.is-scanning::before { position: absolute; z-index: 2; top: 19%; right: 22%; left: 22%; height: 2px; border-radius: 999px; background: var(--sun); box-shadow: 0 0 16px rgba(233,185,95,.55); content: ''; animation: qr-sweep 2.6s ease-in-out infinite; pointer-events: none; }
}
@keyframes qr-sweep { 0%, 100% { transform: translateY(0); opacity: .72; } 50% { transform: translateY(210px); opacity: 1; } }

@media (max-width: 1080px) {
  .site-header { position: relative; }
  .nav-wrap { gap: 10px; }
  .site-nav { display: none; position: absolute; z-index: 10; top: calc(100% - 1px); right: 0; width: min(320px, calc(100vw - 32px)); padding: 15px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-bright); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 980px) {
  .hero { min-height: 520px; grid-template-columns: 1fr .82fr; gap: 22px; padding-top: 65px; }
  .art-card { min-height: 360px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scanner-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .site-header { width: min(100% - 32px, 600px); min-height: 72px; position: relative; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-wrap { gap: 9px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; z-index: 10; top: 62px; left: 0; right: 0; padding: 15px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-bright); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .nav-wrap > .button { min-height: 39px; padding: 0 12px; font-size: 11px; }
  .container, .trust-inner, .footer-inner, .footer-bottom { width: min(100% - 32px, 600px); }
  .hero { width: min(100% - 32px, 600px); display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 58px 0 46px; }
  .hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .hero-art { min-height: 320px; }
  .art-card { width: min(100%, 390px); min-height: 300px; border-radius: 150px 150px 24px 24px; }
  .trust-inner { min-height: unset; padding: 20px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-items { gap: 10px 17px; }
  .section { padding: 70px 0; }
  .cards { gap: 11px; }
  .offer-card { min-height: 285px; padding: 19px 16px; }
  .card-icon { margin-bottom: 21px; }
  .offer-card h3 { font-size: 19px; }
  .how-grid { grid-template-columns: 1fr; gap: 25px; }
  .callout { padding: 30px 24px; }
  .subhero { padding: 50px 0 35px; }
  .detail-panel { grid-template-columns: 1fr; gap: 14px; margin-bottom: 62px; }
  .detail-main, .detail-aside { padding: 23px; }
  .page-end { padding-bottom: 62px; }
  .footer-inner { flex-direction: column; padding-top: 32px; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { padding-right: 0; padding-bottom: 86px; }
  .whatsapp-float { right: 12px; bottom: 12px; min-height: 50px; padding: 7px 13px 7px 10px; }
  .scanner-layout { margin-bottom: 62px; }
  .scanner-viewport, .scanner-video { min-height: 280px; }
}
@media (max-width: 390px) {
  .site-header { gap: 6px; }
  .brand-name { font-size: 11px; }
  .nav-wrap > .button { display: none; }
  .cards { grid-template-columns: 1fr; }
  .offer-card { min-height: 245px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .motion-reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { transition-delay: 0ms !important; animation-iteration-count: 1 !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Job search experience */
.job-hero { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 74px 0 78px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr); grid-template-areas: "copy search" "visual search"; gap: clamp(34px, 6vw, 82px); align-items: start; }
.job-hero-copy { grid-area: copy; }
.job-hero-copy h1 { max-width: 630px; font-size: clamp(44px, 6.2vw, 74px); }
.job-hero-copy h1 span { color: var(--clay); }
.job-hero-copy .lead { max-width: 540px; }
.job-proof { display: flex; align-items: flex-start; gap: 13px; margin-top: 28px; }
.job-proof > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--leaf); color: var(--ink); font-size: 18px; font-weight: 800; }
.job-proof p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.job-proof strong { color: var(--ink); font-size: 13px; }
.job-hero-visual { position: relative; grid-area: visual; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; isolation: isolate; border: 1px solid rgba(21,59,52,.12); border-radius: 28px; background: var(--leaf); box-shadow: var(--shadow); }
.job-hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.job-hero-visual::after { position: absolute; z-index: 0; inset: 42% 0 0; background: linear-gradient(180deg, transparent, rgba(12,40,35,.82)); content: ''; pointer-events: none; }
.job-hero-visual figcaption { position: absolute; z-index: 1; right: 22px; bottom: 22px; left: 22px; display: grid; justify-items: start; gap: 9px; color: var(--white); }
.campaign-tag { display: inline-flex; width: fit-content; padding: 6px 10px; border: 1px solid rgba(21,59,52,.12); border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.job-hero-visual figcaption strong { max-width: 15ch; color: var(--white); font: 800 clamp(20px, 2.2vw, 28px)/1.12 'Manrope', sans-serif; text-wrap: balance; }
.job-search-panel { grid-area: search; padding: clamp(23px, 3.5vw, 38px); border: 1px solid var(--line); border-radius: 28px; background: var(--paper-bright); box-shadow: var(--shadow); }
.footer-support { width: min(1240px, calc(100% - 48px)); margin: 14px auto 18px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.footer-support a, .site-support a { color: var(--ink); font-weight: 800; text-underline-offset: 3px; overflow-wrap: anywhere; }
.site-support { margin-top: -48px; margin-bottom: 76px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-bright); }
.site-support .small-copy { margin: 0; color: var(--muted); }
.site-support .small-copy + .small-copy { margin-top: 8px; }
.site-support--phone { margin-top: 0; margin-bottom: 36px; }
.job-search-panel h2 { margin-bottom: 23px; font-size: clamp(26px, 3vw, 34px); }
.job-search-panel form { display: grid; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--ink); font-size: 12px; font-weight: 800; }
.form-field label span { color: var(--muted); font-weight: 500; }
.form-field input, .form-field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font: 500 14px 'DM Sans', sans-serif; }
.form-field input::placeholder { color: #87918c; }
.form-field input:focus, .form-field select:focus { border-color: var(--ink); outline: 3px solid rgba(21,59,52,.12); }
.job-search-submit { width: 100%; margin-top: 3px; }
.form-note { min-height: 2.5em; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.search-results-heading { margin: -13px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.platform-card { display: flex; min-height: 248px; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper-bright); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.platform-card:nth-child(2n) { background: #edf2e7; }
.platform-card:hover { transform: translateY(-3px); border-color: rgba(21,59,52,.35); box-shadow: var(--shadow); }
.platform-card[hidden] { display: none !important; }
.platform-label { margin-bottom: 16px; color: var(--clay); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.platform-card h3 { margin-bottom: 9px; font-size: 22px; }
.platform-card p { margin-bottom: 19px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.platform-action { min-height: 43px; margin-top: auto; padding-inline: 15px; font-size: 12px; }
.platform-footnote { margin: 18px 0 0; }
.destination-section { display: grid; grid-template-columns: 1fr .8fr; gap: 65px; align-items: center; }
.destination-section h2 { max-width: 570px; }
.destination-note { padding: 24px 26px; border: 1px solid rgba(21,59,52,.16); border-radius: 20px; background: var(--leaf); }
.destination-note strong { font: 800 16px 'Manrope', sans-serif; }
.destination-note p { margin: 8px 0 0; color: #405d50; font-size: 13px; line-height: 1.7; }
.safety-callout { background: var(--ink-deep); }
.safety-callout .eyebrow { color: var(--sun); }
.safety-callout h2 { max-width: 670px; }
.safety-callout p:not(.eyebrow) { max-width: 820px; }
.footer-bottom { padding-right: 0; }
@media (max-width: 980px) {
  .job-hero { grid-template-columns: 1fr; grid-template-areas: "copy" "search" "visual"; gap: 33px; padding-top: 58px; }
  .job-hero-copy { max-width: 740px; }
  .job-search-panel { max-width: 740px; }
  .job-hero-visual { width: 100%; max-width: 740px; aspect-ratio: 16 / 10; }
  .destination-section { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .job-hero { width: min(100% - 32px, 600px); padding: 50px 0 52px; }
  .job-hero-copy h1 { font-size: clamp(42px, 12vw, 60px); }
  .job-search-panel { padding: 22px; border-radius: 22px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: unset; }
  .destination-section { grid-template-columns: 1fr; gap: 23px; }
  .trust-inner { min-height: unset; padding: 20px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .safety-callout { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .platform-card:hover { transform: none; }
}


/* Advanced job filters */
.advanced-filters { padding: 14px 15px; border: 1px solid var(--line); border-radius: 15px; background: #f6f5ef; }
.advanced-filters > summary { display: flex; flex-direction: column; gap: 4px; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 800; list-style: none; }
.advanced-filters > summary::-webkit-details-marker { display: none; }
.advanced-filters > summary::after { content: "+"; position: absolute; right: 17px; color: var(--clay); font-size: 20px; font-weight: 500; }
.advanced-filters { position: relative; }
.advanced-filters[open] > summary::after { content: "−"; }
.advanced-filters > summary span { color: var(--muted); font-size: 11px; font-weight: 500; }
.filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 17px; }
.filter-field--wide { grid-column: 1 / -1; }
.salary-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.salary-fieldset legend { margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 800; }
.salary-fieldset legend span { color: var(--muted); font-weight: 500; }
.salary-controls, .salary-units { display: flex; align-items: center; gap: 7px; }
.salary-controls input { min-width: 0; width: 100%; min-height: 43px; padding: 0 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font: 500 13px 'DM Sans', sans-serif; }
.salary-controls > span { color: var(--muted); font-size: 11px; }
.salary-units { margin-top: 7px; }
.salary-units select { min-width: 0; min-height: 39px; flex: 1; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font: 500 12px 'DM Sans', sans-serif; }
.filter-checkbox { display: flex; align-items: flex-start; gap: 10px; padding-top: 4px; }
.filter-checkbox input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--ink); }
.filter-checkbox label { color: var(--ink); font-size: 12px; line-height: 1.55; }
.filter-disclosure { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.6; }
.filter-disclosure strong { color: var(--ink); }
.platform-filter-note { margin: -7px 0 17px !important; padding: 10px 11px; border-radius: 10px; background: rgba(21,59,52,.055); color: #53645d !important; font-size: 11px !important; line-height: 1.55 !important; }
.selected-filters { margin: -12px 0 20px; padding: 12px 15px; border-left: 3px solid var(--clay); border-radius: 0 10px 10px 0; background: #f5f0e8; color: var(--muted); font-size: 12px; line-height: 1.6; }
.selected-filters[hidden] { display: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 700px) {
  .filter-grid { grid-template-columns: 1fr; gap: 12px; }
  .filter-field--wide { grid-column: auto; }
  .platform-card { min-height: unset; }
}


/* Kenya office appointment request */
.office-booking-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 58px); padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 26px; background: var(--paper-bright); box-shadow: var(--shadow); }
.office-booking-card h2 { max-width: 620px; margin-bottom: 12px; font-size: clamp(27px, 3.4vw, 40px); }
.office-booking-description { max-width: 720px; margin-bottom: 12px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.office-booking-description strong { color: var(--ink); font-weight: 800; white-space: nowrap; }
.office-booking-disclosure { max-width: 800px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
@media (max-width: 700px) {
  .office-booking-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .office-booking-card > .button { width: 100%; }
}


/* Mobile fit: keep content readable and within the viewport on small phones. */
body { min-width: 0; }
img, video, iframe { max-width: 100%; }
h1, h2, h3, p, li, label, summary, figcaption { overflow-wrap: break-word; }
.site-header, .job-hero, .container, .trust-inner, .footer-inner, .footer-bottom,
.footer-support, .job-hero > *, .destination-section > *, .office-booking-card > *,
.scanner-layout > *, .platform-card { min-width: 0; }
.form-field input, .form-field select, button, .button { min-width: 0; max-width: 100%; }

@media (max-width: 430px) {
  .site-header, .container, .trust-inner, .footer-inner, .footer-bottom,
  .footer-support, .job-hero { width: calc(100% - 24px); }
  .site-header { gap: 6px; }
  .nav-wrap > .button { display: none; }
  .job-hero { gap: 20px; padding: 42px 0 40px; }
  .job-hero-copy h1 { max-width: 100%; font-size: clamp(34px, 10vw, 44px); line-height: 1.07; }
  .job-hero-copy .lead { font-size: 16px; line-height: 1.6; }
  .job-hero-visual { aspect-ratio: 4 / 3; border-radius: 18px; }
  .job-hero-visual figcaption { right: 14px; bottom: 14px; left: 14px; gap: 7px; }
  .campaign-tag { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .job-hero-visual figcaption strong { font-size: clamp(19px, 5.5vw, 24px); }
  .job-search-panel { padding: clamp(16px, 5vw, 20px); border-radius: 20px; }
  .filter-grid { grid-template-columns: minmax(0, 1fr); }
  .filter-field--wide { grid-column: auto; }
  .salary-controls, .salary-units { min-width: 0; gap: 6px; }
  .salary-controls > span { flex: 0 0 auto; white-space: nowrap; }
  .platform-card { padding: 19px; }
  .platform-action, .button { white-space: normal; text-align: center; }
  .section { padding: 56px 0; }
  .office-booking-card { padding: clamp(18px, 5vw, 22px); }
  .office-booking-description { font-size: 15px; line-height: 1.65; }
  .office-booking-description strong { white-space: normal; }
  .scanner-panel, .scanner-guide { padding: 18px; }
  .scanner-viewport, .scanner-video { min-height: 240px; }
  .scanner-controls .button, .scanner-result-actions .button { flex: 1 1 140px; }
  .notice, .scanner-guide li, .scanner-value { overflow-wrap: anywhere; }
  .footer-links { justify-content: flex-start; gap: 12px 16px; }
  .whatsapp-float {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 20px);
    padding-inline: 9px;
  }
}


@media (max-width: 430px) {
  .whatsapp-float {
    position: static;
    right: auto;
    bottom: auto;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 20px auto 12px;
  }
}
