:root {
  --ink: #1a1240;
  --bg: #fff;
  --soft: #f6f2fa;
  --in: #2a1470;
  --in2: #120a3d;
  --red: #b8202f;
  --red2: #6e0614;
  --line: #ddd4ee;
  --mute: #5b5275;
  --gold: #ffc857;
  --hd: #2a1470;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #efeaff;
    --bg: #110a2b;
    --soft: #1a1240;
    --line: #35295f;
    --mute: #b9aedb;
    --hd: #d9ccff;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ink: #efeaff;
  --bg: #110a2b;
  --soft: #1a1240;
  --line: #35295f;
  --mute: #b9aedb;
  --hd: #d9ccff;
  color-scheme: dark;
}

html {
  scroll-padding-top: calc(70px + env(safe-area-inset-top, 0px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.65 Poppins, system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--in2);
  z-index: 60;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 .45em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--hd);
}

h3 {
  font-size: 1.2rem;
}

a {
  color: inherit;
}

.w {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.c {
  text-align: center;
}

.sub {
  color: var(--mute);
  max-width: 700px;
  margin: 0 auto 1.2em;
}

.hd {
  margin-bottom: 30px;
}

.hd.c h2 {
  margin-bottom: .3em;
}

.util {
  background: var(--in2);
  color: #e4dcff;
  font-size: .78rem;
}

.util .w {
  display: flex;
  gap: 18px;
  align-items: center;
  height: 36px;
  overflow: hidden;
  white-space: nowrap;
  justify-content: space-between;
}

.util a {
  text-decoration: none;
}

.util .sp {
  margin-left: auto;
}

.util b {
  color: var(--gold);
}

@media (max-width: 700px) {
  .util .hide {
    display: none;
  }
}

header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--bg);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 14px #2a147022;
}

header .w {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
  text-decoration: none;
}

.logo picture,
.logo img {
  display: block;
}

.logo img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
}

.logo.f img {
  width: 112px;
  height: 112px;
  border: 1px solid #ffffff40;
  border-radius: 10px;
}

nav.m {
  display: flex;
  gap: 2px;
}

nav.m a {
  text-decoration: none;
  padding: 8px 13px;
  font-size: .88rem;
  font-weight: 500;
  border-radius: 6px;
}

nav.m a:hover {
  background: var(--soft);
}

nav.m a[aria-current] {
  color: var(--red);
  box-shadow: inset 0 -3px var(--red);
  border-radius: 0;
}

.mb {
  display: none;
  background: none;
  border: 1.5px solid var(--in);
  color: var(--hd);
  border-radius: 6px;
  padding: 7px 12px;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 860px) {
  .mb {
    display: block;
  }
  nav.m {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 10px 20px 16px;
    border-bottom: 3px solid var(--red);
  }
  nav.m.open {
    display: flex;
  }
}

.b {
  display: inline-block;
  background: var(--in);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.b.r {
  background: var(--red);
}

.b.w2 {
  background: #fff;
  color: var(--in);
}

.b.o {
  background: none;
  border: 2px solid #fff;
}

.b.big {
  padding: 14px 30px;
  font-size: .98rem;
}

.b:hover {
  filter: brightness(1.12);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.hero {
  position: relative;
  color: #fff;
  background: #0b0630;
  overflow: hidden;
}

.hero .art {
  position: absolute;
  inset: 0;
  background-image: url('../assets/Images/Banner_cyf.jpg');
  background-size: cover;
  background-position: center;
}

.hero .art svg {
  width: 100%;
  height: 100%;
  display: none;
}

.hero .art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b0630f2 0%, #0b0630cc 40%, #0b063000 75%);
}

.hero .w {
  position: relative;
  z-index: 2;
}

.hero .tx {
  padding: 64px 0 120px;
  max-width: 600px;
}

.ur {
  font: 700 1.5rem/2.1 'Noto Nastaliq Urdu', serif;
  margin: 0 0 6px;
  direction: rtl;
  color: var(--gold);
}

.hero h1 {
  font-weight: 500;
  margin-bottom: 1.1em;
}

.hero .hero-typewriter {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(1.05rem, 2.8vw, 1.65rem);
  line-height: 1.25;
  white-space: nowrap;
}

.hero h1 em {
  font-style: italic;
  background: var(--red);
  padding: 0 12px;
  border-radius: 4px;

}

.hero p {
  color: #e8e2fb;
  font-size: 1.04rem;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 760px) {
  .hero .art::after {
    background: #0b0630cc;
  }
  .hero .tx {
    padding: 40px 0 100px;
  }

  .hero .hero-typewriter {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
  }
}

.ph {
  background: linear-gradient(135deg, var(--in), #13084a);
  color: #fff;
  text-align: center;
  padding: 52px 0 44px;
}

.ph h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.ph p {
  max-width: 720px;
  margin: 0 auto;
  color: #dcd3f7;
}

.qd {
  position: relative;
  z-index: 5;
  margin: -70px auto 0;
  max-width: 980px;
  background: var(--bg);
  border-radius: 14px;
  box-shadow: 0 18px 50px #2a147033;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1.2fr 1fr auto;
  gap: 14px;
  align-items: end;
  border: 1px solid var(--line);
}

.qd b.t {
  font: 600 1.1rem 'Playfair Display', serif;
  color: var(--hd);
  grid-column: 1/-1;
  margin-bottom: -4px;
}

@media (max-width: 860px) {
  .qd {
    grid-template-columns: 1fr;
    margin: -60px 14px 0;
  }
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chips button {
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--in);
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 .82rem Poppins;
  cursor: pointer;
}

.chips button.on {
  background: var(--in);
  color: #fff;
}

label {
  font-size: .74rem;
  font-weight: 600;
  color: var(--mute);
  display: grid;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

input, select, textarea {
  font: inherit;
  font-size: .92rem;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--in);
  outline: none;
  box-shadow: 0 0 0 3px #2a147026;
}

section.s {
  padding: 64px 0;
}

.alt {
  background: var(--soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  text-align: center;
}

.stats b {
  display: block;
  font: 600 2.6rem/1.1 'Playfair Display', serif;
  color: var(--red);
}

.stats span {
  color: var(--mute);
  font-size: .88rem;
}

.ap {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card .bd {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card p {
  color: var(--mute);
  font-size: .88rem;
  margin: 0 0 12px;
}

.card .go {
  margin-top: auto;
}

.img {
  height: 150px;
  display: grid;
  place-items: center;
  font-size: 3.6rem;
  position: relative;
  background: linear-gradient(150deg, var(--in), #6a2ad0);
}

.img.photo {
  height: clamp(160px, 18vw, 210px);
  display: block;
  background: var(--soft);
  overflow: hidden;
}

.img.photo::before {
  background: linear-gradient(135deg, rgb(42 20 112 / .38), rgb(184 32 47 / .2));
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.img.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
  filter: saturate(.86) contrast(.97);
}

.card:hover .img.photo img {
  transform: scale(1.035);
  filter: saturate(.95) contrast(1);
}

.img.photo--rashan img {
  object-position: center 15%;
}

.img.photo--motorcycle img {
  object-position: center 25%;
}

.img i {
  font-style: normal;
  filter: drop-shadow(0 5px 10px #0007);
}

.img.k1 { background: linear-gradient(150deg, #8a1428, #e0586a); }
.img.k2 { background: linear-gradient(150deg, #0e3a8a, #2c9ae0); }
.img.k3 { background: linear-gradient(150deg, #14532d, #3bb36e); }
.img.k4 { background: linear-gradient(150deg, #5b1f7a, #c0489a); }
.img.k5 { background: linear-gradient(150deg, #7a4a0a, #e8a53a); }

.img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, #ffffff40, transparent 45%);
}

.tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  background: var(--soft);
  color: var(--hd);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  align-self: flex-start;
  border: 1px solid var(--line);
}

.gift {
  background: var(--soft);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: .8rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.gift b {
  color: var(--red);
}

.flow {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  counter-reset: st;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.flow div {
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}

.flow div:last-child {
  border: 0;
}

.flow div::before {
  counter-increment: st;
  content: counter(st);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font: 600 1rem 'Playfair Display', serif;
  margin-bottom: 10px;
}

.flow p {
  margin: 0;
  color: var(--mute);
  font-size: .87rem;
}

.flow h3 {
  margin-bottom: .2em;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 26px;
}

.tabs button {
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font: 500 .85rem Poppins;
  cursor: pointer;
}

.tabs button.on {
  background: var(--in);
  color: #fff;
  border-color: var(--in);
}

.help {
  background: linear-gradient(120deg, var(--red2), var(--red));
  color: #fff;
  border-radius: 18px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
  align-items: center;
}

@media (max-width: 760px) {
  .help {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

.help h2 {
  color: #fff;
}

.help p {
  color: #ffe3e7;
}

.help .nb {
  background: #ffffff1f;
  border: 1px solid #ffffff55;
  border-radius: 12px;
  padding: 18px;
}

.help .nb a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 0;
}

.help .nb a span {
  display: block;
  font-weight: 400;
  font-size: .76rem;
  opacity: .85;
}

.way {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.way .card {
  padding: 22px;
  border-top: 4px solid var(--red);
}

.way .card:nth-child(even) {
  border-top-color: var(--in);
}

.way b.pr {
  font: 600 1.5rem 'Playfair Display', serif;
  color: var(--red);
}

.say {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.say blockquote {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 12px;
  padding: 22px;
  font-size: .92rem;
}

.say cite {
  display: flex;
  gap: 10px;
  align-items: center;
  font-style: normal;
  font-weight: 600;
  margin-top: 12px;
  font-size: .88rem;
}

.say cite i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--in);
  color: #fff;
  font-style: normal;
  display: grid;
  place-items: center;
}

.news {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.news .img.photo {
  height: auto;
  aspect-ratio: 16 / 10;
}

.news .news-category {
  margin-bottom: 8px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.news .bd h3 {
  margin-bottom: 8px;
}

.band {
  background: linear-gradient(90deg, var(--in), #4a2bb5);
  color: #fff;
  border-radius: 18px;
  padding: 40px;
  text-align: center;
}

.band h2 {
  color: #fff;
}

.band p {
  color: #ddd3fa;
  max-width: 640px;
  margin: 0 auto 18px;
}

.two {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  align-items: center;
}

.vm {
  background: var(--in);
  color: #fff;
  border-radius: 16px;
  padding: 46px 28px 28px;
  text-align: center;
  position: relative;
  margin-top: 30px;
}

.vm h2 {
  color: #fff;
}

.vm p {
  color: #ddd3fa;
  font-size: .92rem;
}

.vm .ic {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--red);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.vals {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.vals div {
  border: 1.5px solid var(--line);
  border-radius: 80px 80px 12px 12px;
  padding: 22px 14px 16px;
  text-align: center;
  font-size: .8rem;
  color: var(--mute);
}

.vals b {
  display: block;
  font: 500 1.05rem 'Playfair Display', serif;
  color: var(--hd);
  margin-bottom: 4px;
}

.team {
  background: var(--in);
  border-radius: 16px;
  padding: 40px 20px;
  color: #fff;
}

.team h2 {
  color: #fff;
}

.team .sub {
  color: #d9d0f5;
}

.tg {
  display: grid;
  gap: 28px 18px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin-top: 26px;
}

.tg figure {
  margin: 0;
  text-align: center;
}

.tg .p {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 4px solid #fff;
  background: #29a9f5;
}

.tg svg, .tg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tg b {
  display: block;
  font: 500 1.08rem 'Playfair Display', serif;
}

.tg small {
  background: var(--red);
  padding: 1px 10px;
  font-size: .7rem;
  font-weight: 600;
  border-radius: 3px;
}

.fm {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 12px 40px #2a14701f;
}

.fm h3 {
  font-family: Poppins;
  font-weight: 600;
  color: var(--hd);
}

.fm form, .fm .g {
  display: grid;
  gap: 14px;
}

.fg {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.ok {
  display: none;
  background: #e5f6ea;
  color: #14532d;
  padding: 12px;
  border-radius: 8px;
  font-size: .86rem;
}

.ci {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.ci .card {
  padding: 22px;
  text-align: center;
}

.ci .card em {
  font-style: normal;
  font-size: 2rem;
  display: block;
}

.ci h3 {
  font-family: Poppins;
  font-size: .95rem;
  font-weight: 600;
  margin: 6px 0 2px;
}

.ci p {
  margin: 0;
}

.map {
  height: 240px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #e6eef3 linear-gradient(90deg, #fff9 3px, transparent 3px) 0 0/40px 40px, linear-gradient(#fff9 3px, transparent 3px) 0 0/40px 40px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: #555;
  text-align: center;
  text-decoration: none;
}

.map i {
  font-size: 2.4rem;
}

.ci a.card {
  color: inherit;
  text-decoration: none;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--bg);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  color: var(--mute);
  margin: .6em 0 0;
}

.pt {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pt button {
  flex: 1;
  min-width: 120px;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: 600 .86rem Poppins;
  cursor: pointer;
}

.pt button.on {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.amts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.amts button {
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--in);
  border-radius: 10px;
  padding: 12px;
  font: 600 1rem Poppins;
  cursor: pointer;
}

.amts button.on {
  background: var(--in);
  color: #fff;
}

.imp {
  background: var(--soft);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: .88rem;
  margin: 14px 0;
}

.bank {
  border: 1px dashed var(--in);
  border-radius: 10px;
  padding: 16px;
  font-size: .88rem;
  line-height: 1.9;
}

.bank b {
  display: inline-block;
  min-width: 110px;
  color: var(--mute);
  font-weight: 500;
}

.side {
  background: var(--in);
  color: #fff;
  border-radius: 14px;
  padding: 26px;
}

.side h3 {
  color: #fff;
}

.side li {
  margin: 8px 0;
  color: #ddd3fa;
  font-size: .9rem;
}

.side ul {
  padding-left: 18px;
  margin: 0;
}

.lay {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 26px;
  align-items: start;
}

@media (max-width: 860px) {
  .lay {
    grid-template-columns: 1fr;
  }
}

footer {
  background: linear-gradient(#2a1470, #120a3d);
  color: #fbe9ec;
  padding: 50px 0 20px;
  font-size: .86rem;
}

footer .g {
  display: grid;
  gap: 30px;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
}

@media (max-width: 860px) {
  footer .g {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  footer .g {
    grid-template-columns: 1fr;
  }
}

footer h4 {
  margin: 0 0 10px;
  font: 600 .95rem Poppins;
  color: #fff;
}

footer a {
  display: block;
  text-decoration: none;
  padding: 3px 0;
  opacity: .9;
}

footer p {
  margin: 6px 0;
}

footer p a {
  display: inline;
  padding: 0;
}

.soc {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.soc a {
  width: 36px;
  height: 36px;
  background: #fff;
  color: var(--in);
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-weight: 700;
  padding: 0;
}

.cp {
  border-top: 1px solid #fff3;
  margin-top: 28px;
  padding-top: 14px;
  font-size: .78rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  opacity: .85;
}

.wa {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  background: #1fa855;
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px #0005;
  font-size: .88rem;
}

.page {
  display: none;
}

.page.on {
  display: block;
}

.mq {
  overflow: hidden;
  white-space: nowrap;
  background: var(--soft);
  border-block: 1px solid var(--line);
  padding: 10px 0;
  color: var(--hd);
  font: 500 1.05rem 'Playfair Display', serif;
}

.mq div {
  display: inline-block;
  animation: mq 50s linear infinite;
}

.mq span {
  margin: 0 26px;
}

.mq span::before {
  content: "✦ ";
  color: var(--red);
}

@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mq div {
    animation: none;
  }
}

/* ==========================================================
   Production enhancements
   ========================================================== */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { overflow-x: clip; }
img, svg { max-width: 100%; }
.lay > *, .two > * { min-width: 0; }
main:focus, h1[tabindex="-1"]:focus { outline: none; }

.skip {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--gold); color: #1a1240; padding: 10px 16px;
  border-radius: 6px; font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }
.ns { margin: 0; padding: 16px; text-align: center; background: var(--soft); }

/* Accent text that stays readable in dark mode */
:root { --rt: var(--red); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --rt: #ff8a98; } }
:root[data-theme="dark"] { --rt: #ff8a98; }
.stats b, .way b.pr, .gift b, nav.m a[aria-current], .ci .card em { color: var(--rt); }
.stats b { font-variant-numeric: tabular-nums; }

/* Font Awesome icon colours (replace the old emoji) */
.img i { color: #fff; }
.vm .ic { color: var(--in); }
.map { color: #6b7a86; }
.util i { margin-right: 4px; }
.help .nb a i, footer p i { width: 1.2em; text-align: center; }

/* Header, buttons, cards: hover and state micro-interactions */
header.top { transition: box-shadow .25s; }
header.top.scrolled { box-shadow: 0 6px 24px #2a147040; }
nav.m a { transition: background-color .2s, color .2s; }
.b { transition: transform .18s, filter .18s, box-shadow .18s; }
.b:hover { transform: translateY(-1px); box-shadow: 0 6px 16px #2a147033; }
.b:active { transform: none; filter: brightness(.95); }
.chips button, .tabs button, .pt button, .amts button {
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.chips button:hover, .tabs button:hover, .amts button:hover { transform: translateY(-1px); }
.pt button:hover:not(.on) { border-color: var(--red); }
.card { transition: transform .25s, box-shadow .25s; }
.ap .card:hover, .news .card:hover, .way .card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #2a147026; }
.img i { transition: transform .3s; }
.card:hover .img i { transform: scale(1.08); }
.soc a { transition: transform .18s, background-color .18s; }
.soc a:hover { transform: translateY(-2px); background: var(--gold); }
details { transition: box-shadow .2s; }
details[open] { box-shadow: 0 8px 22px #2a14701a; }
.mq:hover div { animation-play-state: paused; }
.ok.err { background: #fde8ea; color: #7a1020; }

/* Floating actions */
.wa { display: inline-flex; align-items: center; gap: 8px; transition: transform .18s, filter .18s; }
.wa:hover { transform: translateY(-2px); filter: brightness(1.08); }
.wa i { font-size: 1.25rem; }
.up {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--in); color: #fff; cursor: pointer; box-shadow: 0 6px 20px #0005;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.up.show { opacity: 1; visibility: visible; transform: none; }

/* Motion: scroll reveal, hero entrance, page change */
@keyframes pg { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .rv.in { opacity: 1; transform: none; }
  .page.on { animation: pg .35s ease; }
  html.js .hero .tx > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .tx > :nth-child(2) { animation-delay: .08s; }
  .hero .tx > :nth-child(3) { animation-delay: .16s; }
  .hero .tx > :nth-child(4) { animation-delay: .24s; }
  nav.m.open { animation: drop .22s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Responsive fixes */
@media (max-width: 860px) {
  nav.m { box-shadow: 0 14px 24px #2a147026; max-height: calc(100vh - 110px); overflow-y: auto; }
  nav.m a { padding: 12px 13px; }
}
@media (max-width: 640px) {
  .flow div { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow div:last-child { border-bottom: 0; }
  .band { padding: 30px 20px; }
  .help { padding: 22px; }
  .team { padding: 32px 14px; }
  section.s { padding: 48px 0; }
}
@media (max-width: 560px) {
  .wa { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa span { display: none; }
  .wa i { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .util { font-size: .72rem; }
  .util .w { gap: 12px; }
  header .w { padding: 0 12px; }
  header .logo img { width: 124px; height: 53px; }
  header .b { padding: 8px 12px; font-size: .8rem; }
}

/* Comfortable touch targets */
@media (pointer: coarse) {
  .chips button, .tabs button, .pt button, .amts button { min-height: 44px; }
  .mb { min-width: 44px; min-height: 44px; }
  nav.m a { min-height: 44px; display: flex; align-items: center; }
}
