/* Dryland Shield Africa - public website
   Palette follows the company profile: deep forest green, teal, savanna gold, cream. */
:root {
  --ink: #14271f;
  --forest: #1e3a2f;
  --teal: #2c6e66;
  --teal-soft: #3f8a80;
  --gold: #c27c2c;
  --gold-soft: #e0a455;
  --gold-text: #8a5a1f;
  --cream: #f4eee3;
  --cream-deep: #ebe2d0;
  --white: #ffffff;
  --text: #24352d;
  --muted: #5d6f66;
  --line: #d9d1bf;
  --line-dark: rgba(255, 255, 255, .14);
  --shadow: 0 10px 30px rgba(20, 39, 31, .12);
  --radius: 14px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.d-none { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.icon { width: 1.5em; height: 1.5em; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-soft); color: var(--ink); }
.btn-outline { border-color: currentColor; background: transparent; color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.btn-light { background: var(--white); color: var(--forest); }
.btn-light:hover { background: var(--cream); color: var(--forest); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-ghost-light:hover { background: var(--white); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(20, 39, 31, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand:hover { color: var(--white); }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-top: .2rem; }
.logo-mark { width: 38px; height: 42px; }
.logo-shield { fill: var(--teal); stroke: var(--gold-soft); stroke-width: 1.5; }
.logo-sun { fill: var(--gold-soft); }
.logo-wave { fill: none; stroke: var(--cream); stroke-width: 1.6; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav-link { display: block; padding: .55rem .85rem; color: rgba(255,255,255,.88); text-decoration: none; font-size: .95rem; font-weight: 500; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--white); background: rgba(255,255,255,.08); }
.nav-link.is-active { color: var(--gold-soft); }
.nav-item { position: relative; }
.nav-item.has-sub > .nav-link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.subnav { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--forest); border: 1px solid var(--line-dark); border-radius: 12px; padding: .4rem; box-shadow: var(--shadow); }
.nav-item:hover > .subnav, .nav-item:focus-within > .subnav, .nav-item.is-open > .subnav { display: block; }
.subnav .nav-link { white-space: nowrap; }
.nav-cta { margin-left: .6rem; padding: .6rem 1.2rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--white); border-radius: 10px; padding: .55rem .7rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; }

/* ---------- hero ---------- */
.hero { position: relative; color: var(--white); background:
  radial-gradient(circle at 85% 20%, rgba(194,124,44,.28), transparent 38%),
  radial-gradient(circle at 10% 90%, rgba(63,138,128,.35), transparent 45%),
  linear-gradient(160deg, var(--ink), var(--forest) 60%, #214d44); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to top, rgba(0,0,0,.18), transparent); pointer-events: none; }
.hero-inner { position: relative; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem); max-width: 860px; z-index: 1; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,.86); max-width: 680px; }
.hero-art { position: absolute; right: -60px; bottom: -40px; width: min(520px, 55vw); opacity: .12; pointer-events: none; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .8rem; }
.hero .kicker, .section-dark .kicker { color: var(--gold-soft); }
.page-hero .hero-inner { padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2.4rem, 5vw, 4rem); }
.breadcrumbs { font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.breadcrumbs a { color: rgba(255,255,255,.85); }

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-dark { background: var(--forest); color: rgba(255,255,255,.88); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }
.lead { font-size: 1.15rem; color: var(--muted); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; margin-top: -3rem; position: relative; z-index: 2; box-shadow: var(--shadow); }
.stat { background: var(--forest); color: var(--white); padding: 1.6rem 1.4rem; }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--gold-soft); line-height: 1; margin-bottom: .5rem; font-weight: 700; }
.stat-label { font-size: .92rem; color: rgba(255,255,255,.8); line-height: 1.4; }
.stats-light .stat { background: var(--white); color: var(--text); }
.stats-light { background: var(--line); }
.stats-light .stat-value { color: var(--teal); }
.stats-light .stat-label { color: var(--muted); }

/* ---------- cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.section-cream .card { border-color: var(--cream-deep); }
.card h3 { margin-bottom: .4rem; }
.card-dark { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: rgba(255,255,255,.85); }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: rgba(44,110,102,.12); color: var(--teal); margin-bottom: 1rem; }
.card-icon .icon { width: 28px; height: 28px; }
.card-dark .card-icon { background: rgba(224,164,85,.15); color: var(--gold-soft); }
.model-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.model-media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; color: rgba(255,255,255,.9); overflow: hidden; }
.model-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.model-media .icon { width: 64px; height: 64px; opacity: .9; }
.ph { background: linear-gradient(135deg, var(--forest), var(--teal)); }
.ph-protect { background: linear-gradient(135deg, #1e3a2f, #2c6e66); }
.ph-recover { background: linear-gradient(135deg, #2c6e66, #4f8f5a); }
.ph-transform { background: linear-gradient(135deg, #8a5a1f, #c27c2c); }
.model-num { position: absolute; top: .8rem; left: .9rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--white); background: rgba(20,39,31,.55); padding: .15rem .7rem; border-radius: 999px; }
.model-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.model-body h3 { margin: 0; }
.model-body p { margin: 0; color: var(--muted); font-size: .96rem; }
.model-zone { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.model-more { margin-top: auto; padding-top: .6rem; font-weight: 600; color: var(--teal); }
.pill { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .22rem .7rem; border-radius: 999px; background: rgba(44,110,102,.12); color: var(--teal); }
.pill-gold { background: rgba(194,124,44,.15); color: #8a5a1f; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-bar a { padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--forest); font-weight: 600; font-size: .92rem; background: var(--white); }
.filter-bar a.is-active, .filter-bar a:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* ---------- commitments, steps, stages ---------- */
.letter { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--forest); color: var(--gold-soft); font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; margin-bottom: 1rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); }
.step-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-soft); line-height: 1; display: block; margin-bottom: .4rem; }
.step h3 { color: var(--white); margin-bottom: .3rem; }
.step p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.78); }
.stage { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.stage-head { padding: 1.4rem 1.5rem; color: var(--white); }
.stage-head h3 { color: var(--white); margin: 0 0 .2rem; font-size: 1.6rem; }
.stage-head span { font-size: .88rem; opacity: .85; }
.stage-body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.stage-models { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.stage-models a { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--cream); color: var(--forest); text-decoration: none; font-size: .88rem; font-weight: 600; }
.stage-proof { margin: 0; font-size: .92rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .9rem; }
.path { display: flex; align-items: stretch; gap: .6rem; }
.path-arrow { align-self: center; color: var(--gold); font-size: 1.8rem; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th { background: var(--forest); color: var(--white); text-align: left; padding: .9rem 1rem; font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.data-table td { padding: .9rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.data-table tr:nth-child(even) td { background: #faf7f0; }
.data-note { color: var(--muted); font-size: .9rem; margin-top: .8rem; }

/* ---------- prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 10px; margin: 1em 0; }
.prose blockquote { margin: 1.4em 0; padding: .4em 1.2em; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 10px 10px 0; font-family: var(--font-display); font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--cream); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1rem; height: .55rem; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg) scale(.9); }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { padding: .35rem .9rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; }
.section-dark .tag-list li { background: rgba(255,255,255,.07); border-color: var(--line-dark); color: var(--white); }
.region { display: flex; align-items: center; gap: .6rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-soft); flex: none; }
.dot-next { background: var(--gold); }

/* ---------- model detail ---------- */
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.fact { background: var(--cream); border-radius: var(--radius); padding: 1.4rem; }
.fact h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); color: var(--gold-text); margin-bottom: .6rem; }
.pager-pair { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pager-pair a { display: block; padding: 1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--white); min-width: 230px; }
.pager-pair small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }

/* ---------- team ---------- */
.person { text-align: left; }
.person-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--forest), var(--teal)); display: grid; place-items: center; color: var(--gold-soft); font-family: var(--font-display); font-size: 3.4rem; margin-bottom: 1.1rem; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: .1rem; }
.person-role { color: var(--gold-text); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.person p { color: var(--muted); font-size: .96rem; }

/* ---------- track record ---------- */
.timeline { display: grid; gap: 1.2rem; }
.project { display: grid; grid-template-columns: 170px 1fr; gap: 1.5rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.project-meta { font-size: .88rem; color: var(--muted); }
.project-meta strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--teal); }
.project h3 { margin-bottom: .3rem; }
.project-client { font-weight: 600; color: var(--gold-text); font-size: .92rem; margin-bottom: .5rem; }

/* ---------- news ---------- */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 0; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post-media { aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-body h3 { margin: 0; font-size: 1.2rem; }
.post-meta { font-size: .84rem; color: var(--muted); }
.post-body p { margin: 0; color: var(--muted); font-size: .96rem; }
.article-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.article-image img { width: 100%; }
.pager ul { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 2.5rem 0 0; justify-content: center; flex-wrap: wrap; }
.pager-link { display: block; padding: .5rem .9rem; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--forest); background: var(--white); }
.pager-link.is-current { background: var(--forest); color: var(--white); border-color: var(--forest); }
.pager-link.is-disabled { opacity: .45; }
.pager-gap { padding: .5rem .3rem; }

/* ---------- resources ---------- */
.resource { display: grid; grid-template-columns: 56px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.resource-icon { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: rgba(44,110,102,.12); color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.resource h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.resource p { margin: 0; color: var(--muted); font-size: .92rem; }
.resource-meta { font-size: .8rem; color: var(--muted); margin-top: .3rem; }

/* ---------- contact + forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.form-group { margin-bottom: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.form-control { width: 100%; padding: .8rem 1rem; font: inherit; font-size: 1rem; border: 1px solid #c8bfa9; border-radius: 10px; background: var(--white); color: var(--text); }
.form-control:focus { outline: 3px solid rgba(44,110,102,.25); border-color: var(--teal); }
textarea.form-control { min-height: 150px; resize: vertical; }
.has-error .form-control { border-color: #b3261e; }
.form-error { color: #b3261e; font-size: .86rem; margin-top: .3rem; }
.form-help { color: var(--muted); font-size: .84rem; margin-top: .3rem; }
.contact-card { background: var(--forest); color: rgba(255,255,255,.88); border-radius: var(--radius); padding: 2rem; }
.contact-card h3 { color: var(--white); }
.contact-card a { color: var(--gold-soft); }
.office { padding: 1rem 0; border-top: 1px solid var(--line-dark); }
.office:first-of-type { border-top: 0; }
.office strong { display: block; color: var(--white); }
.whatsapp-btn { background: #187a42; color: var(--white); }
.whatsapp-btn:hover { background: #145f34; color: var(--white); }
.flash { padding: .9rem 1.2rem; margin: 0 0 1rem; border-radius: 10px; font-weight: 500; }
.flash-success { background: #e1f1e5; color: #1b5e30; border: 1px solid #b5dbbf; }
.flash-danger { background: #fbe7e5; color: #8c1d18; border: 1px solid #f0bcb8; }
.flash-warning, .flash-info { background: #fbf1dc; color: #7a5516; border: 1px solid #ecd49d; }
.flash-wrap { padding-top: 1rem; }

/* ---------- custom field blocks ---------- */
.acf-block { margin-top: 2.5rem; }
.acf-list { display: grid; gap: 1rem; }
.acf-item dt { font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.acf-item dd { margin: 0; }
.acf-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: .6rem; }
.acf-row-card { background: var(--cream); border-radius: var(--radius); padding: 1.1rem 1.2rem; }

/* ---------- CTA + footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--teal), var(--forest)); color: var(--white); border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.6rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: var(--white); margin: 0 0 .4rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); max-width: 560px; }
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 3.5rem 0 1.5rem; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { font-family: var(--font-body); color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; }
.social { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.social a { padding: .3rem .8rem; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .82rem; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: .5rem; background: #187a42; color: var(--white); padding: .75rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.whatsapp-float:hover { background: #145f34; color: var(--white); }
.notfound { text-align: center; padding: 6rem 0; }
.notfound .code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); color: var(--teal); line-height: 1; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--ink); padding: .8rem 1rem 1.2rem; border-bottom: 1px solid var(--line-dark); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .subnav { position: static; display: block; border: 0; box-shadow: none; background: transparent; padding: 0 0 0 1rem; }
  .nav-item.has-sub > .nav-link::after { display: none; }
  .nav-cta { margin: .6rem 0 0; text-align: center; justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps, .fact-grid, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -2rem; }
  .project { grid-template-columns: 1fr; gap: .6rem; }
  .resource { grid-template-columns: 48px 1fr; }
  .resource .btn { grid-column: 1 / -1; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .path { flex-direction: column; }
  .path-arrow { transform: rotate(90deg); }
  .whatsapp-float span { display: none; }
  .site-footer { padding-bottom: 5.5rem; }
  .data-table-stack, .data-table-stack tbody, .data-table-stack tr, .data-table-stack td { display: block; width: 100%; }
  .data-table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .data-table-stack tr { border-top: 1px solid var(--line); padding: .4rem 0; }
  .data-table-stack td { border-top: 0; padding: .35rem 1rem; }
  .data-table-stack td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}
@media print {
  .site-header, .site-footer, .whatsapp-float, .cta-band { display: none; }
  .hero { background: none; color: #000; }
  .hero h1 { color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- small helpers used by templates ---------- */
.stat-value-dark { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--teal); line-height: 1; margin-bottom: .5rem; font-weight: 700; }
.card-dark .stat-value { color: var(--gold-soft); display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; margin-bottom: .5rem; }
.data-note { font-size: .86rem; color: var(--muted); margin-top: 1rem; }
.section-dark .data-note { color: rgba(255,255,255,.65); }
.about-stats { margin-top: 0; box-shadow: none; }
.section-prose { margin-top: 3rem; }
.aside-title { margin-top: 1rem; }
.aside-card { margin-top: 1.2rem; }
.spaced-heading { margin-top: 2.2rem; }
.center-row { justify-content: center; }
.experience-group { margin-bottom: 2.5rem; }
.team-others { margin-top: 1.5rem; }
.team-notes { margin-top: 2rem; }
.req { color: #b3261e; }
.hero-art.logo-mark .logo-shield { fill: #fff; stroke: none; }
.hero-art.logo-mark .logo-wave, .hero-art.logo-mark .logo-sun { fill: none; stroke: #fff; }
.logo-mark.hero-art { height: auto; }

a.pill { text-decoration: none; }
a.pill:hover { background: rgba(44,110,102,.22); }
.model-body .pill { margin-bottom: .5rem; }
.section-dark .data-note a { color: var(--gold-soft); }
.partner-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 0 0 2rem; }
.partner-strip li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.3rem; display: flex; align-items: center; min-height: 64px; }
.partner-strip a { display: flex; align-items: center; color: inherit; text-decoration: none; }
.partner-logo img { display: block; max-height: 40px; width: auto; }
.partner-name { font-weight: 600; color: var(--forest); }
