/* =========================================================
   Restart Academy Lahore | Coming Soon
   One screen, no scroll. Everything is sized in rem and the
   root font-size scales with the viewport, so the whole page
   always fits the screen (desktop, tablet, mobile).
   ========================================================= */

/* ---------- Fonts (bundled locally) ---------- */
@font-face { font-family: "Lilita One"; src: url("assets/fonts/lilita-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Kaushan Script"; src: url("assets/fonts/kaushan-script-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("assets/fonts/baloo-2-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("assets/fonts/baloo-2-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #1a1046;
  --purple: #6a17d6;
  --purple-deep: #4f04b4;
  --purple-text: #7a24e0;
  --gold: #ffc928;
  --navy: #012c5e;
}

/* ---------- Scale engine ---------- */
/* Portrait (mobile first): design canvas 430 x 932 */
html {
  font-size: min(calc(100vw / 26.875), calc(100vh / 58.25));
}
@supports (height: 100dvh) {
  html { font-size: min(calc(100vw / 26.875), calc(100dvh / 58.25)); }
}
/* Landscape: design canvas 1672 x 941 */
@media (min-aspect-ratio: 1/1) {
  html { font-size: min(calc(100vw / 104.5), calc(100vh / 58.8125)); }
  @supports (height: 100dvh) {
    html { font-size: min(calc(100vw / 104.5), calc(100dvh / 58.8125)); }
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; overflow: hidden; }

body {
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  position: relative;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(60rem 30rem at 50% 45%, #ffffff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #fbf9ff 0%, #f6f1fe 60%, #f3ecfd 100%);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
img { -webkit-user-drag: none; user-select: none; }
::selection { background: #7a24e0; color: #fff; }
body { text-rendering: optimizeLegibility; }

/* =========================================================
   DECOR (anchored to the screen corners)
   ========================================================= */
.decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.blob { position: absolute; border-radius: 50%; filter: blur(0.5rem); }
.blob-tl { width: 34rem; height: 22rem; left: -14rem; top: -8rem;
  background: radial-gradient(closest-side, rgba(214,190,250,.55), rgba(214,190,250,0)); }
.blob-tr { width: 36rem; height: 24rem; right: -14rem; top: -6rem;
  background: radial-gradient(closest-side, rgba(214,190,250,.6), rgba(214,190,250,0)); }

.wave { position: absolute; bottom: 0; }
.wave-left  { left: 0;  width: 30rem; height: 13rem;
  -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 98%); mask-image: linear-gradient(to right, #000 62%, transparent 98%); }
.wave-right { right: 0; width: 26rem; height: 13.75rem; }

.dots { position: absolute; background-image: radial-gradient(circle, #c9a8f6 0.14rem, transparent 0.16rem); background-size: 0.7rem 0.7rem; opacity: .75; }
.dots-left  { left: 0;  top: 36.8rem; width: 3.6rem; height: 6.2rem; }
.dots-right { right: 0; top: 27.5rem; width: 3.6rem; height: 7.5rem; }

.spark { position: absolute; animation: twinkle 3.2s ease-in-out infinite; }
.spark-l { left: 2rem;  top: 17rem;  width: 1.9rem; }
.spark-r { right: 2.6rem; top: 18.6rem; width: 2.6rem; animation-delay: 1.4s; }

.script {
  position: absolute;
  font-family: "Kaushan Script", cursive;
  color: var(--purple-text);
  line-height: .82;
}
.script span { display: block; }
.script .swash { position: absolute; }

.script-left {
  left: 7.9rem; top: 2.6rem;
  font-size: 4.35rem;
  line-height: .92;
  transform: rotate(-17deg);
  transform-origin: left top;
}
.script-left span:nth-child(2) { margin-left: 0.7rem; }
.script-left span:nth-child(3) { margin-left: 1.6rem; }
.script-left .swash { width: 9.5rem; left: 2.2rem; bottom: -1.6rem; }

.plane { position: absolute; left: 17.8rem; top: 6.6rem; width: 13.1rem; }
.plane .trail { animation: dash 2.4s linear infinite; }

.script-right {
  right: 5.2rem; top: 2.1rem;
  font-size: 3.7rem;
  line-height: .95;
  transform: rotate(-17deg);
  transform-origin: center;
  text-align: left;
}
.script-right span:nth-child(2) { margin-left: 1.8rem; }
.script-right .swash { width: 11.5rem; left: 4.6rem; bottom: -2.1rem; }
.script-right .rays  { position: absolute; width: 2.6rem; right: -3.2rem; top: 3rem; }

/* =========================================================
   BOARD (all main content)
   ========================================================= */
.board { position: absolute; z-index: 1; }

/* ---------- Brand ---------- */
.brand { text-align: center; position: relative; z-index: 3; }
.brand-logo {
  margin: 0 auto;
  filter: drop-shadow(0 0.5rem 1rem rgba(90, 15, 200, .28));
  animation: float 5s ease-in-out infinite;
}
.brand-name {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.05;
}
.brand-city {
  font-weight: 600;
  color: var(--purple-text);
  letter-spacing: .5em;
  padding-left: .5em;
  line-height: 1.2;
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.brush {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 0.6rem 1.2rem rgba(79, 4, 180, .25));
  animation: brushIn .8s cubic-bezier(.2,.8,.2,1) both;
  transform-origin: left center;
}
.burst { position: absolute; }

.headline {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: .18em;
  font-family: "Lilita One", "Baloo 2", sans-serif;
  font-weight: 400;
  line-height: 1;
  transform: rotate(-3deg);
  letter-spacing: .005em;
  animation: pop .7s .25s cubic-bezier(.2,1.4,.4,1) both;
}
.word { position: relative; display: inline-block; }
/* back layer: thick dark outline + 3D drop */
.word::before {
  content: attr(data-text);
  position: absolute; left: 0; top: 0; z-index: -1;
  -webkit-text-stroke: 0.14em #2f0680;
  color: #2f0680;
  text-shadow: 0 0.06em 0 #24035f, 0 0.1em 0.12em rgba(20,0,60,.45);
}
.word-white { color: #ffffff; }
.word-white::after {
  /* subtle lavender shading on the white face */
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(206,180,255,.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.word-gold {
  background: linear-gradient(180deg, #ffe45c 0%, #ffcc1a 45%, #ff9f0a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Tagline ---------- */
.tagline {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.tagline i { font-style: normal; }

/* ---------- Cards ---------- */
.cards { display: grid; }
.card {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  animation: rise .7s cubic-bezier(.2,.8,.2,1) backwards;
}
.card { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.card img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) {
  .card:hover { transform: translateY(-0.35rem); }
  .card:hover img { transform: scale(1.04); }
  .boards-logos img { transition: transform .3s ease; }
  .boards-logos img:hover { transform: scale(1.06); }
}
.card:nth-child(1) { animation-delay: .35s; }
.card:nth-child(2) { animation-delay: .45s; }
.card:nth-child(3) { animation-delay: .55s; }
.card:nth-child(4) { animation-delay: .65s; }
.card:nth-child(5) { animation-delay: .75s; }

.card::before {
  /* light swoosh behind the title area like the poster */
  content: "";
  position: absolute; z-index: -1;
  left: -20%; right: -20%; top: 40%; height: 40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(255,255,255,0));
  transform: rotate(-6deg);
}
.card::after {
  /* glossy top edge */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0.12rem 0 rgba(255,255,255,.45), inset 0 -0.2rem 0.6rem rgba(0,0,0,.08);
}
.card img {
  -webkit-mask-image:
    linear-gradient(to bottom, #000 72%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, #000 72%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-composite: intersect;
}
.card h3 {
  font-family: "Baloo 2", "Poppins", sans-serif;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0.08rem 0.25rem rgba(0,0,0,.18);
}
.card-purple h3 { text-transform: uppercase; }
.card h3 small { display: block; font-size: .8em; font-weight: 800; margin-top: .1em; }
.card p {
  font-family: "Nunito", "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.22;
  opacity: .97;
}

.card-purple { background: linear-gradient(160deg, #c46bfd 0%, #a02bf9 30%, #8a1ae9 65%, #8a1de6 100%);
  box-shadow: 0 0.8rem 1.6rem -0.4rem rgba(138, 26, 233, .45); }
.card-green  { background: linear-gradient(160deg, #47de9a 0%, #08bb69 30%, #029a4e 65%, #028f45 100%);
  box-shadow: 0 0.8rem 1.6rem -0.4rem rgba(2, 154, 78, .4); }
.card-blue   { background: linear-gradient(160deg, #2ec8fd 0%, #0ea3fd 30%, #0486fc 65%, #0a70fb 100%);
  box-shadow: 0 0.8rem 1.6rem -0.4rem rgba(4, 134, 252, .4); }
.card-orange { background: linear-gradient(160deg, #ffd062 0%, #ffab2e 30%, #fd9611 65%, #fb880c 100%);
  box-shadow: 0 0.8rem 1.6rem -0.4rem rgba(253, 150, 17, .45); }
.card-cyan   { background: linear-gradient(160deg, #2bdef6 0%, #09c6ef 30%, #02aad3 65%, #029dcc 100%);
  box-shadow: 0 0.8rem 1.6rem -0.4rem rgba(2, 170, 211, .4); }

/* ---------- Boards ---------- */
.boards {
  position: relative;
  background: #fff;
  border: 0.125rem solid #f6c95a;
  box-shadow: 0 0.6rem 1.6rem rgba(90, 40, 170, .1);
  animation: rise .7s .85s cubic-bezier(.2,.8,.2,1) both;
}
.boards-pill {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(90deg, #f0b130 0%, #ffe27a 50%, #f0b130 100%);
  clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
}
.boards-logos { display: grid; }
.boards-logos img { width: 100%; height: 100%; object-fit: contain; }
.boards-more {
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.boards-more::before, .boards-more::after { content: ""; height: 1px; background: #cfcbe0; }
.boards-bar {
  list-style: none;
  display: flex; align-items: center; justify-content: space-evenly;
  background: linear-gradient(180deg, #053c78 0%, #012654 100%);
  color: #fff;
  font-weight: 600;
}
.boards-bar li { position: relative; }
.boards-bar li + li::before {
  content: "|"; position: absolute; left: var(--sep, -1.6rem); color: #fff; opacity: .9;
}

/* ---------- Footer ---------- */
.location { display: flex; align-items: center; }
.location p { display: flex; flex-direction: column; line-height: 1.08; }
.location strong { font-weight: 700; color: var(--ink); }
.location span { font-weight: 600; color: var(--purple-text); }

.footer-mark {
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; text-transform: uppercase; color: #4b1fa0; white-space: nowrap;
}
.footer-mark i { font-style: normal; }
.footer-mark::before, .footer-mark::after { content: ""; height: 1px; background: #4b1fa0; }

.cta-wrap { display: flex; align-items: center; }
.cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: #fff; text-decoration: none;
  font-weight: 700; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(90deg, #8a2cf0 0%, #6a12d8 45%, #4f04b4 100%);
  box-shadow: 0 0.6rem 1.4rem -0.3rem rgba(79, 4, 180, .55), inset 0 0.1rem 0 rgba(255,255,255,.3);
  transition: transform .25s ease, box-shadow .25s ease;
  pointer-events: auto;
}
.cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
  animation: shine 3.5s 1.5s ease-in-out infinite;
}
.cta:hover { transform: translateY(-0.15rem); box-shadow: 0 0.9rem 1.8rem -0.3rem rgba(79, 4, 180, .65); }
.cta:focus-visible { outline: 0.2rem solid var(--gold); outline-offset: 0.2rem; }

/* =========================================================
   LANDSCAPE LAYOUT (desktop / laptop / tablet landscape)
   Positions match the poster 1:1 (poster px / 16 = rem)
   ========================================================= */
@media (min-aspect-ratio: 1/1) {
  .board {
    left: 50%; top: 50%;
    width: 104.5rem; height: 58.8125rem;
    transform: translate(-50%, -50%);
  }
  .board > * { position: absolute; }
  .board > .footer { inset: 0; pointer-events: none; }
  .footer > * { position: absolute; }

  .brand { left: 0; right: 0; top: 0.45rem; }
  .brand-logo { width: 9.2rem; height: 9.2rem; }
  .brand-name { font-size: 2.15rem; margin-top: -0.35rem; }
  .brand-city { font-size: 0.95rem; margin-top: 0; }

  .hero { left: 26.1rem; top: 13.2rem; width: 52.75rem; height: 9.2rem; }
  .headline { font-size: 7.55rem; padding-top: 0.3rem; }
  .burst-left  { width: 3.4rem; left: -4rem; top: 3.4rem; }
  .burst-right { width: 4.2rem; right: -4.4rem; top: 0.6rem; }

  .tagline { left: 0; right: 0; top: 22.25rem; font-size: 0.95rem; letter-spacing: .34em; }
  .tagline i { margin: 0 1.5em 0 1.2em; }

  .cards {
    left: 3.875rem; top: 24.25rem;
    width: 97.125rem; height: 17.625rem;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.3rem;
  }
  .card { border-radius: 1.15rem; }
  .card img { position: absolute; top: 0.3rem; left: 0.3rem; width: calc(100% - 0.6rem); height: auto; }
  .card-text { position: absolute; left: 1.8rem; right: 0.8rem; top: 9.15rem; }
  .card h3 { font-size: 1.85rem; }
  .card p { font-size: 1.35rem; margin-top: 0.55rem; }
  .card-green h3 { font-size: 1.85rem; }
  .card-green h3 small { font-size: 1.45rem; }
  .card-orange h3 { font-size: 1.62rem; letter-spacing: -0.01em; }

  .boards {
    left: 17.5rem; top: 43.75rem;
    width: 69.6rem; height: 9.5rem;
    border-radius: 0.9rem;
  }
  .boards-pill {
    top: -1.05rem; height: 2rem; padding: 0 2.6rem;
    font-size: 1rem; letter-spacing: .48em;
  }
  .boards-logos {
    position: absolute; left: 0.4rem; right: 0.4rem; top: 0.45rem; height: 4.6rem;
    grid-template-columns: 180fr 208fr 210fr 168fr 199fr 148fr;
  }
  .boards-logos img + img {
    background: linear-gradient(#dcd8ea, #dcd8ea) left center / 1px 64% no-repeat;
  }
  .boards-logos img:nth-child(1) { padding: 0 0.6rem; }
  .boards-logos img:nth-child(2) { padding: 0.9rem 1rem 0.7rem; }
  .boards-logos img:nth-child(3) { padding: 0.6rem 1rem; }
  .boards-logos img:nth-child(4) { padding: 0.9rem 0.9rem; }
  .boards-logos img:nth-child(5) { padding: 0.35rem 1rem 0.9rem; }
  .boards-logos img:nth-child(6) { padding: 0.9rem 1rem; }
  .boards-more {
    position: absolute; left: 0; right: 0; top: 5.9rem;
    font-size: 0.72rem; letter-spacing: .6em; gap: 0.6rem;
  }
  .boards-more::before, .boards-more::after { width: 6.2rem; }
  .boards-more span { background: #fff; padding: 0 0.2rem; }
  .boards-bar {
    position: absolute; left: 0.4rem; right: 0.4rem; bottom: 0.25rem; height: 2rem;
    border-radius: 0.5rem; font-size: 0.95rem; padding: 0 1.2rem 0 0;
    --sep: -2.3rem;
  }

  .location { left: 7.9rem; top: 53.7rem; gap: 1.3rem; }
  .pin { width: 2.7rem; }
  .location strong { font-size: 1.65rem; }
  .location span { font-size: 1.55rem; }

  .footer-mark { left: 0; right: 0; top: 55.3rem; font-size: 0.78rem; letter-spacing: .55em; gap: 1.6rem; }
  .footer-mark i { margin-left: -0.6rem; }
  .footer-mark::before, .footer-mark::after { width: 2.9rem; }

  .cta-wrap { left: 73.2rem; top: 53.9rem; gap: 0.3rem; }
  .cta { width: 20.6rem; height: 3.45rem; gap: 0.9rem; font-size: 0.95rem; padding: 0 1.2rem; }
  .wa-icon { width: 2rem; }
  .chev { width: 0.6rem; margin-left: 0.3rem; }
  .cta-rays { width: 2rem; }
}

/* =========================================================
   PORTRAIT LAYOUT (phones / tablets held upright)
   ========================================================= */
@media (max-aspect-ratio: 1/1) {
  .board {
    left: 50%; top: 50%;
    width: min(100vw, 48rem); height: 58.25rem;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column;
    padding: 0.8rem 0.85rem 2.1rem;
  }

  /* corner decor, scaled down */
  .script-left { left: 0.9rem; top: 1.5rem; font-size: 1.7rem; }
  .script-left span:nth-child(2) { margin-left: 0.25rem; }
  .script-left span:nth-child(3) { margin-left: 0.55rem; }
  .script-left .swash { width: 3.6rem; left: 0.7rem; bottom: -0.6rem; }
  .plane { display: none; }
  .script-right { right: 0.6rem; top: 1.9rem; font-size: 1.32rem; }
  .script-right span:nth-child(2) { margin-left: 0.6rem; }
  .script-right .swash { width: 4.4rem; left: 1.1rem; bottom: -0.8rem; }
  .script-right .rays { width: 1rem; right: -1.1rem; top: 0.4rem; }
  .spark-l { left: 0.5rem; top: 10.5rem; width: 1rem; }
  .spark-r { right: 0.6rem; top: 11.2rem; width: 1.2rem; }
  .dots-left  { top: 27rem; width: 1.6rem; height: 4rem; }
  .dots-right { top: 22rem; width: 1.6rem; height: 4rem; }
  .wave-left  { width: 15rem; height: 2.3rem; }
  .wave-right { width: 15rem; height: 3.4rem; }
  .blob-tl { width: 20rem; height: 14rem; left: -9rem; top: -5rem; }
  .blob-tr { width: 20rem; height: 14rem; right: -9rem; top: -5rem; }

  .brand-logo { width: 5.6rem; height: 5.6rem; }
  .brand-name { font-size: 1.45rem; margin-top: 0.1rem; }
  .brand-city { font-size: 0.7rem; }

  .hero { width: 22.4rem; max-width: 88%; height: 5.4rem; margin: 0.5rem auto 0; }
  .headline { font-size: 3.45rem; padding-top: 0.15rem; }
  .burst-left  { width: 1.3rem; left: -1.45rem; top: 1.8rem; }
  .burst-right { width: 1.5rem; right: -1.55rem; top: 0.3rem; }

  .tagline { font-size: 0.56rem; letter-spacing: .16em; margin-top: 0.65rem; }
  .tagline i { margin: 0 0.6em; }

  .cards {
    margin-top: 0.75rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 9.15rem 9.15rem 5rem;
    gap: 0.6rem;
  }
  .card { border-radius: 0.85rem; display: flex; flex-direction: column; }
  .card img { height: 4.35rem; width: auto; max-width: 100%; margin: 0.2rem auto 0; object-fit: contain; }
  .card-text { padding: 0.15rem 0.75rem 0; }
  .card h3 { font-size: 1.08rem; }
  .card-purple h3 { text-transform: uppercase; }
.card h3 small { font-size: 0.78rem; }
  .card p { font-size: 0.74rem; margin-top: 0.25rem; }

  .card-cyan { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .card-cyan img { height: 4.6rem; margin: 0 0 0 0.3rem; }
  .card-cyan .card-text { padding: 0 0.6rem 0 0.4rem; }

  .boards {
    margin-top: 1.4rem;
    border-radius: 0.8rem;
    padding: 1.25rem 0.45rem 0.4rem;
  }
  .boards-pill { top: -0.8rem; height: 1.5rem; padding: 0 1.6rem; font-size: 0.7rem; letter-spacing: .36em; }
  .boards-logos { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 2.7rem; row-gap: 0.4rem; }
  .boards-logos img { padding: 0 0.4rem; }
  .boards-logos img:nth-child(3n+2),
  .boards-logos img:nth-child(3n+3) {
    background: linear-gradient(#dcd8ea, #dcd8ea) left center / 1px 70% no-repeat;
  }
  .boards-more { font-size: 0.5rem; letter-spacing: .4em; gap: 0.4rem; margin: 0.45rem 0 0.35rem; }
  .boards-more::before, .boards-more::after { width: 2.6rem; }
  .boards-bar {
    border-radius: 0.45rem; font-size: 0.6rem;
    flex-wrap: wrap; row-gap: 0.15rem; column-gap: 0.75rem;
    justify-content: center;
    padding: 0.4rem 0.3rem;
    --sep: -0.52rem;
  }

  .footer {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.6rem;
    position: relative; z-index: 2;
  }
  .location { gap: 0.45rem; }
  .pin { width: 1.55rem; }
  .location strong { font-size: 0.98rem; }
  .location span { font-size: 0.9rem; }
  .footer-mark { display: none; }
  .cta-rays { display: none; }
  .cta { height: 2.6rem; gap: 0.45rem; font-size: 0.64rem; padding: 0 0.9rem; }
  .wa-icon { width: 1.35rem; }
  .chev { width: 0.4rem; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-0.35rem); } }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(20deg); opacity: .6; } }
@keyframes dash    { to { stroke-dashoffset: -28; } }
@keyframes brushIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop     { from { opacity: 0; transform: rotate(-3deg) scale(.7); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }
@keyframes rise    { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes shine   { 0% { left: -40%; } 45%,100% { left: 120%; } }

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