/* ==========================================================================
   COWODDU — Trailblazer Consortium of Women with Disabilities Uganda
   Brand stylesheet. Colours from Uganda's flag + logo blue.
   Body type: Atkinson Hyperlegible (designed for low-vision readers).
   ========================================================================== */

:root {
  --ink: #1B1B1F;
  --ink-2: #33343A;
  --muted: #55565C;
  --cream: #FBF6EC;
  --sand: #F3E9D2;
  --paper: #FFFFFF;
  --yellow: #F8D547;
  --yellow-soft: #FEF6D3;
  --red: #C9472E;
  --red-soft: #FCE6E0;
  --blue: #2FB3CF;
  --blue-dark: #2F5C99;
  --blue-soft: #E2F4F9;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --base-size: 18px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(27,27,31,.06), 0 8px 24px rgba(27,27,31,.08);
  --wrap: 1180px;
  --line: 1.65;
  --letter: normal;
}

/* ---------- Accessibility modes (set on <html>) ---------- */
html.text-lg { --base-size: 20px; }
html.text-xl { --base-size: 23px; }
html.spacing { --line: 1.95; --letter: .04em; }
html.spacing p, html.spacing li { word-spacing: .12em; }
html.links-underline a { text-decoration: underline !important; text-underline-offset: 3px; }
html.high-contrast {
  --ink: #000; --ink-2: #000; --muted: #000;
  --cream: #fff; --sand: #fff; --paper: #fff;
  --yellow-soft: #fff; --red-soft: #fff; --blue-soft: #fff;
  --blue: #003E73; --blue-dark: #002A50; --red: #9A0019;
}
html.high-contrast .card, html.high-contrast .panel, html.high-contrast .stat,
html.high-contrast .area, html.high-contrast .member-type { border: 2px solid #000 !important; box-shadow: none !important; }
html.high-contrast .hero__media img, html.high-contrast .gallery img { filter: contrast(1.1); }
html.high-contrast .band--dark { background: #000 !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--base-size); scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip; font-family: var(--font-body); color: var(--ink); background: var(--cream);
  line-height: var(--line); letter-spacing: var(--letter);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 7px var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); 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; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--blue-dark); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 34px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #6B6159 0 33%, var(--yellow) 33% 66%, #E8634B 66%); }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }
.flag-rule { height: 8px; background: linear-gradient(90deg, #6B6159 0 33.3%, var(--yellow) 33.3% 66.6%, #E8634B 66.6%); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1; padding: .95rem 1.35rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; min-height: 48px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--red); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--whatsapp); color: #06301F; }
.btn--wa:hover { background: var(--whatsapp-dark); color: #fff; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Accessibility toolbar ---------- */
.a11y-bar { background: var(--ink); color: #fff; font-size: .82rem; }
.a11y-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.a11y-bar a { color: #fff; }
@media (max-width: 640px) { .a11y-bar__motto { display: none; } .a11y-bar .wrap { flex-wrap: nowrap; } }
.a11y-toggle { background: var(--yellow); color: var(--ink); border: 0; border-radius: 999px; padding: .35rem .9rem; font: 700 .82rem var(--font-body); cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; min-height: 34px; }
.a11y-panel { position: absolute; right: max(1.25rem, calc((100vw - var(--wrap)) / 2)); top: 48px; z-index: 300; width: min(340px, calc(100vw - 2.5rem)); background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); padding: 1.2rem; border: 2px solid var(--ink); }
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.1rem; margin-bottom: .8rem; }
.a11y-panel .grp { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-bottom: .7rem; }
.a11y-panel button { font: 700 .9rem var(--font-body); padding: .6rem .5rem; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; min-height: 44px; }
.a11y-panel button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.a11y-panel .full { width: 100%; margin-top: .4rem; }
.a11y-panel .sw { display: flex; flex-direction: column; gap: .4rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(251,246,236,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(27,27,31,.08); }
html.high-contrast .site-header { background: #fff; border-bottom: 2px solid #000; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 64px; height: auto; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1; letter-spacing: .01em; display: block; }
.brand__tag { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-dark); margin-top: .25rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .3rem; }
.nav a { display: block; padding: .6rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav .btn { margin-left: .4rem; padding: .75rem 1.1rem; }
.nav-toggle { display: none; background: var(--ink); color: #fff; border: 0; border-radius: 12px; width: 52px; height: 52px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }

@media (max-width: 1020px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--paper); padding: 6rem 1.5rem 2rem; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; box-shadow: -20px 0 50px rgba(0,0,0,.2); z-index: 250; overflow-y: auto; }
  .nav.open { transform: none; visibility: visible; transition: transform .25s ease; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav a { font-size: 1.1rem; padding: .9rem 1rem; border-radius: 12px; }
  .nav .btn { margin: 1rem 0 0; justify-content: center; }
  .nav-close { position: absolute; top: 1.2rem; right: 1.2rem; }
  .brand__tag { display: none; }
}
@media (min-width: 1021px) { .nav-close { display: none; } }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 240; }
.nav-backdrop[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -180px; top: -140px; border: 46px solid var(--yellow); opacity: .18; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero h1 .u { background: linear-gradient(transparent 62%, var(--yellow) 62% 92%, transparent 92%); }
.hero .lead { margin-bottom: 2rem; }
.hero__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__media figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figure:nth-child(1) { grid-row: span 2; aspect-ratio: 3/4.6; }
.hero__media figure:nth-child(2), .hero__media figure:nth-child(3) { aspect-ratio: 4/3.6; }
.hero__badge { position: absolute; left: -26px; bottom: 26px; background: var(--paper); border-radius: 16px; padding: .9rem 1.1rem; box-shadow: var(--shadow); display: flex; gap: .8rem; align-items: center; max-width: 270px; border: 2px solid var(--ink); }
.hero__badge img { width: 46px; }
.hero__badge strong { display: block; font-family: var(--font-display); line-height: 1.15; }
.hero__badge span { display: block; font-size: .8rem; line-height: 1.35; color: var(--muted); margin-top: .2rem; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__badge { left: 12px; bottom: -18px; }
}

/* ---------- Facts strip ---------- */
.facts { background: var(--ink); color: #fff; }
.facts ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.facts li { display: flex; gap: .8rem; align-items: center; font-weight: 700; }
.facts li span.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
@media (max-width: 820px) { .facts ul { grid-template-columns: 1fr 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section__head { max-width: 760px; margin-bottom: 2.6rem; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head.center .eyebrow { justify-content: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--sand); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -90px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; border: 36px solid var(--red); opacity: .12; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }
.crumbs { font-size: .85rem; margin-bottom: 1rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 1.3rem; }
.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: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border: 1px solid rgba(27,27,31,.06); position: relative; }
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem; }
.card .icon svg { width: 30px; height: 30px; }
.icon--y { background: var(--yellow-soft); color: #7A5A00; }
.icon--r { background: var(--red-soft); color: var(--red); }
.icon--b { background: var(--blue-soft); color: var(--blue-dark); }
.icon--k { background: var(--ink); color: var(--yellow); }
.card--link { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; display: block; }
.card--link:hover { transform: translateY(-4px); color: inherit; box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 40px rgba(0,0,0,.12); }
.card .num { position: absolute; top: 1.3rem; right: 1.4rem; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: rgba(27,27,31,.12); }

/* Vision / mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.vm .panel { border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); }
.vm .panel h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; font-family: var(--font-body); }
.vm .panel p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.25; font-weight: 700; margin: 0; }
.panel--blue { background: var(--blue-dark); color: #fff; }
.panel--yellow { background: var(--yellow); color: var(--ink); }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.stat { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border-top: 8px solid var(--yellow); }
.stat:nth-child(2) { border-top-color: var(--red); }
.stat:nth-child(3) { border-top-color: var(--blue); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; margin-bottom: .5rem; }
.stat small { display: block; color: var(--muted); font-size: .78rem; margin-top: .6rem; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }

/* Photo collage / gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); position: relative; aspect-ratio: 3/4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(27,27,31,.82); color: #fff; font-size: .8rem; padding: .45rem .7rem; border-radius: 10px; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; } }

.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo-frame img { width: 100%; height: auto; aspect-ratio: 4/4.4; object-fit: cover; }
.photo-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(90deg, #6B6159 0 33.3%, var(--yellow) 33.3% 66.6%, #E8634B 66.6%); }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: .65rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1B1F' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/62% no-repeat; }

.values { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.values li { background: var(--paper); border: 2px solid var(--ink); padding: .5rem 1rem; border-radius: 999px; font-weight: 700; }
.values li:nth-child(3n+1) { background: var(--yellow-soft); }
.values li:nth-child(3n+2) { background: var(--red-soft); }
.values li:nth-child(3n) { background: var(--blue-soft); }

/* Thematic areas (programmes page) */
.area { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); display: grid; grid-template-columns: 220px 1fr; gap: 2rem; margin-bottom: 1.3rem; scroll-margin-top: 110px; }
.area__head .num { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--red); }
.area__head h2 { font-size: 1.5rem; margin-top: .6rem; }
.area .goal { font-size: 1.1rem; font-weight: 700; }
.area .outcome { background: var(--sand); border-left: 6px solid var(--yellow); padding: .9rem 1.1rem; border-radius: 0 12px 12px 0; margin: 1rem 0 0; }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; gap: .5rem; } }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.toc a { background: var(--paper); border: 2px solid var(--ink); color: var(--ink); text-decoration: none; padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .88rem; }
.toc a:hover { background: var(--ink); color: #fff; }

/* Leadership */
.person { text-align: center; }
.person .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--ink); border: 4px solid var(--ink); }
.person h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.person p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Membership types */
.member-type { background: var(--paper); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid rgba(27,27,31,.06); display: flex; flex-direction: column; }
.member-type .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.member-type ul { margin-top: auto; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; background: var(--paper); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem 1.1rem 4.2rem; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 1.1rem; top: 1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }

/* CTA band */
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band--dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band--dark::before { content: ""; position: absolute; left: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 40px solid var(--red); opacity: .35; }
.band--dark::after { content: ""; position: absolute; right: -100px; bottom: -140px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid var(--yellow); opacity: .3; }
.band--dark .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.band--dark h2 { color: #fff; max-width: 20ch; margin: 0 0 .4rem; }
.band--dark p { color: #E7E7EA; max-width: 52ch; margin: 0; }
.band--dark .btn--ghost { color: #fff; border-color: #fff; }
.band--dark .btn--ghost:hover { background: #fff; color: var(--ink); }

/* Forms */
.form { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .hint { display: block; font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem 1rem; border: 2px solid #8A8B92; border-radius: 12px; background: #fff; color: var(--ink); min-height: 50px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 4px solid var(--yellow); outline-offset: 0; }
.form .note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }

/* Contact tiles */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.contact-list .icon { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; }
.contact-list .icon svg { width: 24px; height: 24px; }
.contact-list strong { display: block; }
.placeholder-chip { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--yellow-soft); color: #6B4E00; border: 1px dashed #B58900; padding: .1rem .45rem; border-radius: 6px; vertical-align: middle; margin-left: .3rem; }

/* Socials */
.socials { display: flex; gap: .6rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .15s ease, transform .15s ease; }
.socials a:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.socials--dark a { background: var(--ink); color: #fff; }
.socials--dark a:hover { background: var(--red); color: #fff; }

/* Footer */
.site-footer { background: #121215; color: #D7D7DC; padding: 4rem 0 0; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); font-family: var(--font-body); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer .logo-foot { width: 190px; margin-bottom: 1.2rem; border-radius: 12px; }
.site-footer .bottom { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #A9A9B0; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 400; display: flex; align-items: center; gap: .6rem; background: var(--whatsapp); color: #fff; text-decoration: none; border-radius: 999px; padding: .55rem; box-shadow: 0 10px 30px rgba(18,140,126,.45); font-weight: 700; }
.wa-float:hover { background: var(--whatsapp-dark); color: #fff; }
.wa-float .wa-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.wa-float .wa-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: wa-pulse 2.4s infinite; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-label { padding-right: .9rem; font-size: .95rem; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 640px) { .wa-float .wa-label { display: none; } .wa-float { padding: .35rem; } }

/* Brand page */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.swatch { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.swatch div { height: 110px; }
.swatch p { padding: .8rem 1rem; margin: 0; font-size: .85rem; }
.swatch strong { display: block; font-size: 1rem; }
.logo-tile { border-radius: var(--radius); padding: 2.4rem; display: grid; place-items: center; min-height: 240px; }
.logo-tile img { max-height: 160px; width: auto; }

/* Reveal on scroll (only when JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.site-footer .socials { display: flex; margin-top: 1.2rem; }
