/* ══ Pound Store Pakistan ══════════════════════════════════
   Palette sampled directly from the logo:
     yellow #FDE508 · red #F80101 · green #0C6635 · black #1C1918
   `--red-ink` is a slightly darkened red used for TEXT only —
   pure #F80101 falls below 4.5:1 contrast on white.
   ═════════════════════════════════════════════════════════ */

:root {
  --red: #f80101;        /* brand red — fills, buttons, accents */
  --red-ink: #d10000;    /* red for text on light backgrounds */
  --red-dark: #c00000;   /* hover state */

  --yellow: #fde508;
  --yellow-deep: #e8d000;

  --green: #0c6635;      /* brand green */
  --green-deep: #084a26; /* large dark fills (sections, footer accents) */
  --green-soft: #0f7a3f; /* hover state */

  --ink: #1c1918;        /* logo black */
  --ink-2: #4d4845;
  --ink-3: #7b7570;
  --line: #e8e4dd;
  --bg: #ffffff;
  --bg-tint: #fffdf0;    /* faintest wash of the brand yellow */

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16,18,22,.05), 0 8px 24px rgba(16,18,22,.06);
  --shadow-lg: 0 2px 4px rgba(16,18,22,.06), 0 18px 48px rgba(16,18,22,.10);
  --wrap: 1180px;
  --nav-h: 72px;

  /* Outfit for headings (geometric, matches the logo's heavy wordmark),
     Inter for body copy. Both fall back to system fonts if the webfont
     never arrives, so the page is always readable. */
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.14; margin: 0; letter-spacing: -.025em;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

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

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 12px; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── Brand mark ─────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-mark { width: 46px; height: 46px; flex: none; border-radius: 50%; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 20px; font-weight: 800; letter-spacing: .06em; color: var(--green); }
.brand-sub {
  font-size: 9.5px; letter-spacing: .19em; font-weight: 700;
  color: var(--red-ink); margin-top: 4px;
}

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  padding: 9px 12px; border-radius: 9px; transition: background .15s, color .15s;
}
.nav-menu a:hover { background: var(--bg-tint); color: var(--green); }
/* the CTA is a button first — must out-specify the generic link rule above */
.nav-menu a.btn-primary { color: #fff; }
.nav-menu a.btn-primary:hover { background: var(--red-dark); color: #fff; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span:not(.sr-only) { width: 17px; height: 2px; background: var(--green); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--display);
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .15s, box-shadow .15s, color .15s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 17px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(248,1,1,.28); }
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost { background: transparent; color: var(--green); border-color: rgba(12,102,53,.30); }
.btn-ghost:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ── Section scaffolding ────────────────────────────────── */
.section { padding: 96px 0; }
.section-tint { background: var(--bg-tint); }

/* dark sections get a soft brand glow so they read as designed, not just filled */
.section-dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(253,229,8,.16), transparent 62%),
    radial-gradient(700px 380px at -10% 110%, rgba(248,1,1,.14), transparent 60%),
    var(--green-deep);
  color: #eef3f0;
}
.section-dark > .wrap { position: relative; }

/* eyebrow gets a short brand rule before it — ties sections together */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-size: 12px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink);
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--red); flex: none;
}
.eyebrow.light { color: var(--yellow); }
.eyebrow.light::before { background: var(--yellow); }

.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; max-width: 20ch; }
.section-title.light { color: #fff; }

.section-lead { margin: 18px 0 0; font-size: 17.5px; color: var(--ink-2); max-width: 62ch; }
.section-dark .section-lead { color: rgba(255,255,255,.78); }

/* barcode motif from the logo, reused as a section-heading accent */
.sub-title {
  position: relative;
  font-size: 22px; font-weight: 800; margin: 56px 0 24px;
  padding-bottom: 14px; border-bottom: 2px solid var(--line);
}
.sub-title::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 74px; height: 4px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 7px, var(--yellow) 7px 14px);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 86% -14%, rgba(253,229,8,.45), transparent 64%),
    radial-gradient(820px 440px at -8% 6%, rgba(248,1,1,.08), transparent 62%),
    var(--bg);
  padding: 84px 0 0;
  overflow: hidden;
}
/* A tiled dot-grid pattern lived here. Removed on purpose: repeating a tiny
   radial-gradient across a large area is very costly to rasterise and stalled
   the renderer outright. The hero reads well on its gradients alone, and the
   audience is largely on mid-range Android — smoothness beats texture. */
.hero-inner { position: relative; display: grid; gap: 56px; }
/* wider than before: Outfit sets noticeably wider than the old system font,
   and the second headline line was breaking onto a lonely third line */
.hero-copy { max-width: 900px; }

/* small brand badge above the headline */
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--green); margin-bottom: 20px;
}
.hero-badge b {
  background: var(--green); color: var(--yellow);
  padding: 3px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .08em;
}

.hero h1 { font-size: clamp(36px, 5.6vw, 62px); font-weight: 800; margin-bottom: 22px; }
.hero h1 .hl {
  background: linear-gradient(180deg, transparent 62%, var(--yellow) 62%);
  padding: 0 .1em;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 56ch; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding-bottom: 78px;
}
.stat {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
/* yellow rule that grows on hover — small reward for exploring */
.stat::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 34%;
  background: var(--yellow); transition: width .3s ease;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat:hover::after { width: 100%; }

.stat-num {
  display: block; font-family: var(--display);
  font-size: clamp(32px, 3.6vw, 46px); font-weight: 800;
  color: var(--green); line-height: 1.02; letter-spacing: -.035em;
}
.stat-label { font-size: 12.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .07em; text-transform: uppercase; }

.hero-strip {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--red) 0 26px, var(--yellow) 26px 52px);
}

/* ── About ──────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; margin-top: 30px; align-items: start; }
.prose p { font-size: 16.5px; color: var(--ink-2); margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

.cards-2 { display: grid; gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--line);
}
.card.accent-green { border-top-color: var(--green); }
.card.accent-red { border-top-color: var(--red); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--red-ink); font-weight: 800;
}

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 22px; background: var(--bg-tint); border-radius: var(--radius); }
.value-ico { color: var(--red-ink); font-size: 13px; }
.value h4 { font-size: 16.5px; margin: 8px 0 6px; }
.value p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ── CEO ────────────────────────────────────────────────── */
.ceo { display: grid; grid-template-columns: 220px 1fr; gap: 52px; align-items: start; }
.ceo-photo {
  position: relative;
  width: 190px; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
  background: linear-gradient(150deg, var(--yellow), var(--yellow-deep));
}
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ceo-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 4px var(--yellow);
  pointer-events: none;
}
.ceo-name { font-weight: 800; font-size: 18px; margin: 20px 0 2px; color: #fff; }
.ceo-role { margin: 0; font-size: 14px; color: var(--yellow); font-weight: 600; }

.ceo-quote { margin: 0; border-left: 3px solid var(--yellow); padding-left: 30px; }
.ceo-quote p { font-size: 17px; color: rgba(255,255,255,.85); margin: 0 0 18px; }
.ceo-quote p:last-child { margin-bottom: 0; }

/* ── Categories ─────────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cat {
  padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
/* icon sits in a soft brand-tinted tile rather than floating bare */
.cat-ico {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; font-size: 26px; margin-bottom: 16px;
  background: linear-gradient(150deg, rgba(253,229,8,.55), rgba(253,229,8,.18));
  box-shadow: inset 0 0 0 1px rgba(12,102,53,.10);
}
.cat h3 { font-size: 18px; margin-bottom: 7px; }
.cat p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ── Branches ───────────────────────────────────────────── */
.branch-tools { margin-top: 34px; display: grid; gap: 18px; }

.search { display: block; position: relative; max-width: 380px; }
.search input {
  width: 100%; padding: 15px 18px 15px 46px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 15.5px; font-family: inherit; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.search::before {
  content: "⌕"; position: absolute; left: 18px; top: 50%; transform: translateY(-52%);
  font-size: 21px; color: var(--ink-3); pointer-events: none;
}
.search input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(248,1,1,.10); outline: none; }

/* chips are the wide-screen control; the select takes over on phones */
.city-select { display: none; position: relative; max-width: 380px; }
.city-select select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff;
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--green);
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%),
                    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.city-select select:focus { border-color: var(--green); outline: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px 9px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; font-family: inherit; transition: .15s;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip[aria-pressed="true"] {
  background: var(--green); border-color: var(--green); color: #fff;
  box-shadow: 0 4px 14px rgba(12,102,53,.28);
}
/* branch count badge inside each city chip */
.chip-n {
  min-width: 20px; padding: 1px 6px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; line-height: 1.5;
  background: var(--bg-tint); color: var(--ink-3);
}
.chip:hover .chip-n { background: rgba(12,102,53,.10); color: var(--green); }
.chip[aria-pressed="true"] .chip-n { background: var(--yellow); color: var(--green); }

/* "All branches" sits apart from the city list */
.chip-all { border-color: rgba(12,102,53,.35); color: var(--green); font-weight: 700; }
.chip-all::after {
  content: ""; width: 1px; height: 20px; margin-left: 4px;
  background: var(--line);
}
.chip-all[aria-pressed="true"]::after { background: rgba(255,255,255,.25); }

/* "Found in: <city>" shortcuts shown when a search misses the current city */
.jump {
  display: inline-block; margin: 4px 4px 0 0;
  padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid var(--green); background: #fff;
  color: var(--green); font-family: inherit; font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: .15s;
}
.jump:hover { background: var(--green); color: #fff; }

.result-count { font-size: 14px; color: var(--ink-3); margin: 22px 0 14px; font-weight: 600; }

.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.branch {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 13px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
/* brand stripe slides in from the left edge on hover */
.branch::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--red), var(--yellow));
  transform: translateX(-4px); transition: transform .2s ease;
}
.branch:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.branch:hover::before { transform: none; }

.branch-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.branch h3 { font-size: 17.5px; }
.branch-city { font-size: 13px; font-weight: 700; color: var(--red-ink); margin: 5px 0 0; }

.tag {
  flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-3);
}
.tag.warehouse { background: var(--yellow); color: var(--green); }

/* head office reads as the main location, not just another card */
.branch.is-main { border-color: rgba(12,102,53,.35); background: var(--bg-tint); }
.branch.is-main::before { transform: none; }

.branch-addr { margin: 0; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.branch-owner { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.branch-owner b { color: var(--ink-2); font-weight: 600; }

.branch-actions { display: flex; gap: 9px; flex-wrap: wrap; padding-top: 4px; }
.mini {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  text-decoration: none; border: 1.5px solid var(--line); color: var(--ink-2);
  transition: .15s;
}
.mini:hover { border-color: var(--green); color: var(--green); background: var(--bg-tint); }
.mini.call { background: var(--green); border-color: var(--green); color: #fff; }
.mini.call:hover { background: var(--green-soft); color: #fff; }

.empty { text-align: center; padding: 48px 0; color: var(--ink-3); font-size: 16px; }

/* ── Franchise ──────────────────────────────────────────── */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  padding: 26px; border-radius: var(--radius); background: var(--bg-tint);
  border-left: 4px solid var(--red);
}
.why-card h4 { font-size: 17px; margin-bottom: 8px; }
.why-card p { margin: 0; font-size: 15px; color: var(--ink-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-n {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); color: var(--green);
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.steps h4 { font-size: 16.5px; margin-bottom: 5px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.note {
  margin-top: 46px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--bg-tint); border: 1px dashed rgba(12,102,53,.32);
  font-size: 15.5px; color: var(--ink-2);
}
.note strong { color: var(--green); }

/* ── Investment & ROI ───────────────────────────────────── */
.invest { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }

.invest-table { width: 100%; border-collapse: collapse; }
.invest-table th, .invest-table td {
  text-align: left; padding: 15px 4px; border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.invest-table th { font-weight: 600; color: var(--ink-2); }
.invest-table td { text-align: right; font-weight: 700; color: var(--green); white-space: nowrap; }
.invest-table .total th, .invest-table .total td {
  border-top: 2px solid var(--green); border-bottom: none;
  font-size: 17px; font-weight: 800; color: var(--green); padding-top: 18px;
}
.note-sm { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }

.roi { display: grid; gap: 14px; }
.roi-tile {
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--bg-tint); border-left: 4px solid var(--yellow);
}
.roi-label {
  display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
}
.roi-val { display: block; font-size: 18px; font-weight: 800; color: var(--green); margin-top: 4px; }

/* ── Gallery ────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-tint);
}
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.shot figcaption {
  padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: #fff;
}

/* ── Social links ───────────────────────────────────────── */
:root { --wa: #25d366; --wa-dark: #1da851; }

.socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.social {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: rgba(255,255,255,.12); color: #fff;
  transition: background .15s, color .15s, transform .12s;
}
.social svg { width: 20px; height: 20px; }
.social:hover { transform: translateY(-2px); }
.social-whatsapp:hover  { background: var(--wa); color: #fff; }
.social-facebook:hover  { background: #1877f2; color: #fff; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff; }
.social-tiktok:hover    { background: #010101; color: #25f4ee; }

/* labelled buttons in the Apply section */
.social-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px; text-decoration: none;
  font-size: 14.5px; font-weight: 700;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.20);
  transition: background .15s, border-color .15s, transform .12s, color .15s;
}
.social-btn svg { width: 19px; height: 19px; }
.social-btn:hover { transform: translateY(-2px); }
.social-btn.social-whatsapp  { background: var(--wa); border-color: var(--wa); }
.social-btn.social-whatsapp:hover  { background: var(--wa-dark); border-color: var(--wa-dark); }
.social-btn.social-facebook:hover  { background: #1877f2; border-color: #1877f2; }
.social-btn.social-instagram:hover { background: #dc2743; border-color: #dc2743; }
.social-btn.social-tiktok:hover    { background: #010101; border-color: #010101; color: #25f4ee; }

/* header shortcut */
.nav-social { display: inline-flex; align-items: center; }
.nav-wa {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-left: 4px; border-radius: 50%;
  background: var(--wa); color: #fff; text-decoration: none;
  transition: background .15s, transform .12s;
}
.nav-wa svg { width: 20px; height: 20px; }
.nav-wa:hover { background: var(--wa-dark); transform: translateY(-1px); }

/* floating button — always on screen */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 24px rgba(37,211,102,.42), 0 2px 6px rgba(0,0,0,.18);
  transition: background .15s, transform .12s, box-shadow .15s;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float:hover {
  background: var(--wa-dark); transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 2px 6px rgba(0,0,0,.2);
}
/* tucked away while the Apply section is on screen */
.wa-float.is-tucked {
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .25s, transform .25s, visibility .25s;
}

/* ── Apply ──────────────────────────────────────────────── */
.apply { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.apply-copy p { color: rgba(255,255,255,.78); font-size: 16.5px; }
.apply-copy .section-title { margin-bottom: 16px; }

.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
  font-size: 15.5px; color: rgba(255,255,255,.88);
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.13);
}
.contact-list span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); align-self: center; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.apply-form {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  display: grid; gap: 16px; box-shadow: var(--shadow-lg);
}
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 4px rgba(248,1,1,.10); outline: none;
}
.field.invalid input, .field.invalid select { border-color: var(--red); }

.form-note { margin: 4px 0 0; font-size: 14px; min-height: 20px; font-weight: 600; }
.form-note.ok { color: var(--green); }
.form-note.err { color: var(--red-ink); }

/* ── Sourcing ───────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.pillar { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.pillar-n { font-size: 13px; font-weight: 800; color: var(--red-ink); letter-spacing: .1em; }
.pillar h3 { font-size: 18px; margin: 10px 0 8px; }
.pillar p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ── Team ───────────────────────────────────────────────── */
/* 3 columns, not 4: the CEO takes a full row, leaving 9 — which fills
   three rows exactly instead of stranding one card on its own. */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 16px 22px; text-align: center;
}
.member.lead { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; text-align: left; padding: 22px; }
/* Square frame: `aspect-ratio` + `object-fit: cover` keeps every photo the
   same size and shape no matter what the source crop was. */
.avatar {
  position: relative; overflow: hidden;
  /* max-width stops the square ballooning (and the low-res source showing)
     when the grid collapses to one column on phones */
  width: 100%; max-width: 220px; aspect-ratio: 1 / 1; margin: 0 auto 16px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--green), var(--green-soft));
  color: var(--yellow); display: grid; place-items: center;
  font-size: 30px; font-weight: 800; letter-spacing: .02em;
}
/* the photo sits over the initials, so a failed load falls back cleanly */
.avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
}
/* ring drawn ON TOP of the photo — an inset box-shadow on .avatar would be
   painted underneath the img and never seen */
.avatar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 3px var(--yellow), inset 0 0 0 4px rgba(12,102,53,.35);
  pointer-events: none;
}
/* same 220px square as everyone else — the lead card differs in layout, not scale */
.member.lead .avatar { width: 220px; margin: 0; flex: none; font-size: 40px; }
.member h3 { font-size: 16.5px; }
.member p { margin: 6px 0 0; font-size: 13.5px; color: var(--red-ink); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  position: relative;
  background: #16120f; color: rgba(255,255,255,.72); padding: 66px 0 0;
}
/* barcode strip caps the page, echoing the logo and the hero divider */
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--red) 0 22px, var(--yellow) 22px 44px);
}
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 46px; padding-bottom: 46px; }
.footer .brand-text strong { color: #fff; }
/* --red-ink is tuned for light backgrounds; it goes muddy on the dark footer */
.footer .brand-sub { color: var(--yellow); }
.footer-brand p { margin: 18px 0 0; font-size: 15px; max-width: 40ch; }
.footer h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { text-decoration: none; font-size: 15px; transition: color .15s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--yellow); }
.footer-contact p { margin: 0; font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding-block: 22px; }
.footer-bottom p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ── Reveal on scroll ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .branch-grid, .cats, .why, .steps, .pillars, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .invest { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .apply { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 20px; box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 14px; font-size: 16px; }
  .nav-menu a.btn { margin-top: 8px; justify-content: center; }
  /* in the stacked menu the WhatsApp shortcut becomes a full-width button */
  .nav-social { display: block; margin-top: 8px; }
  /* flex, not grid: equal grid columns would push the icon and label apart */
  .nav-wa {
    width: 100%; height: auto; margin-left: 0; border-radius: 999px;
    padding: 12px; display: flex; align-items: center; justify-content: center; gap: 9px;
  }
  .nav-wa::after { content: "WhatsApp"; font-weight: 700; font-size: 15px; }

  .section { padding: 66px 0; }
  .hero { padding-top: 54px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding-bottom: 54px; }
  .ceo { grid-template-columns: 1fr; gap: 30px; }
  .ceo-photo { width: 120px; height: 120px; font-size: 32px; }
  .ceo-quote { padding-left: 20px; }
  /* stacked, the CEO card should match the others rather than sit smaller */
  .member.lead { flex-direction: column; text-align: center; }
  .member.lead .avatar { width: 100%; margin-inline: auto; }
}

@media (max-width: 620px) {
  .wrap { padding-inline: 18px; }
  .branch-grid, .cats, .why, .steps, .pillars, .values, .team-grid, .footer-inner,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .apply-form { padding: 24px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  /* swap 23 chips (three-quarters of a phone screen) for a dropdown */
  .chips { display: none; }
  .city-select { display: block; max-width: none; }
  .search { max-width: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .social-btn { flex: 1 1 100%; justify-content: center; }
  /* circle only on phones — a wide pill would cover too much of the page */
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
