/* ===== Design tokens ===== */
:root {
  --color-green: #1E7A3D;
  --color-green-dark: #12471F;
  --color-green-light: #E8F5EC;
  --color-gold: #E4A62B;
  --color-gold-dark: #C08A1B;
  --color-red: #D6483A;
  --color-red-dark: #B8382C;
  --color-bg: #FBF8F1;
  --color-surface: #FFFFFF;
  --color-ink: #1B2A20;
  --color-ink-soft: #55685B;
  --color-muted: #F1EEDD;
  --color-border: #E3DFC9;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-tile: 26px;
  --radius-tile-sm: 18px;
  --radius-pill: 999px;
  --gap: 16px;

  --shadow-sm: 0 2px 10px rgba(27, 42, 32, .07);
  --shadow-md: 0 14px 34px rgba(27, 42, 32, .12);
  --shadow-lg: 0 24px 54px rgba(27, 42, 32, .18);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--color-ink);
}

p { margin: 0 0 1em; color: var(--color-ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 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;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  background: var(--color-green-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.eyebrow-on-dark { color: var(--color-gold); background: rgba(255,255,255,.12); }

.text-green { color: var(--color-green); }
.text-gold { color: var(--color-gold-dark); }
.text-red { color: var(--color-red); }

.section { padding: 76px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-sub { color: var(--color-ink-soft); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: var(--color-gold); color: var(--color-green-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-gold-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.btn-light { background: #fff; color: var(--color-green-dark); }
.btn-light:hover { background: var(--color-gold); color: var(--color-green-dark); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1eb856; }
.btn-sm { padding: 10px 20px; font-size: 14.5px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-muted);
  color: var(--color-ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--color-green); color: #fff; }

/* ===== Announcement bar (static, no marquee) ===== */
.announce-bar {
  background: var(--color-green-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 0;
  text-align: center;
}
.announce-bar .container { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.announce-dot { color: var(--color-gold); opacity: .8; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-green), var(--color-gold), var(--color-red));
  z-index: 200;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo-img { height: 40px; width: auto; }
.logo-link { display: flex; align-items: center; }

.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 14.5px; }
.main-nav a { color: var(--color-ink); transition: color .2s var(--ease); }
.main-nav a:hover { color: var(--color-green-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.whatsapp-icon-btn:hover { background: #25D366; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--color-ink); border-radius: 2px; margin: 0 auto; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================================================================
   BENTO SYSTEM — shared tile primitives used by every mosaic section.
   Mobile-first: tiles stack full-width by default; each section opts
   into its own mosaic column/row map at a min-width breakpoint.
   =================================================================== */
.bento { display: grid; gap: var(--gap); grid-template-columns: 1fr; }

.tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius-tile);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-3px); }

.tile-white { background: var(--color-surface); box-shadow: var(--shadow-sm); }
.tile-white:hover { box-shadow: var(--shadow-md); }
.tile-cream { background: var(--color-bg); border: 1px solid var(--color-border); }
.tile-green { background: linear-gradient(150deg, var(--color-green) 0%, var(--color-green-dark) 100%); color: #fff; }
.tile-green p { color: rgba(255,255,255,.8); }
.tile-gold { background: linear-gradient(150deg, var(--color-gold) 0%, var(--color-gold-dark) 100%); color: var(--color-green-dark); }
.tile-gold p { color: rgba(18,71,31,.75); }
.tile-dark { background: var(--color-ink); color: #fff; }
.tile-dark p { color: rgba(255,255,255,.65); }

.tile h3, .tile h4 { margin-bottom: 6px; }
.tile-green h3, .tile-green h4, .tile-dark h3, .tile-dark h4 { color: #fff; }
.tile-gold h3, .tile-gold h4 { color: var(--color-green-dark); }
.tile-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1; }
.tile-num-label { font-size: 12.5px; margin-top: 8px; opacity: .85; }
.tile-icon { margin-bottom: 14px; }
.tile-icon svg { display: block; }

/* Image tiles hold only absolutely-positioned children (parallax layer, tag,
   caption), so they have no intrinsic height of their own. aspect-ratio gives
   them real size whenever the grid row isn't already dictating a height (i.e.
   on mobile, where rows are auto rather than a fixed bento track) — without
   it these tiles collapse to 0px on small screens. */
.tile-img { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.tile-img.tile-img-tall { aspect-ratio: 1 / 1; }
.tile-img .parallax-wrap { position: absolute; inset: -12% 0; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-img .tile-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(18,32,22,.78) 0%, rgba(18,32,22,0) 70%);
  color: #fff;
}
.tile-caption strong { display: block; font-family: var(--font-display); font-size: 15.5px; }
.tile-caption span { font-size: 12.5px; opacity: .85; }
.tile-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--color-red); color: #fff;
  font-size: 11.5px; font-weight: 700;
  padding: 5px 11px; border-radius: var(--radius-pill);
}
.tile-tag-green { background: var(--color-green); }
.tile-link-arrow {
  margin-top: auto; padding-top: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* fade-up reveal, animated via ScrollTrigger in script.js */
.reveal { opacity: 0; transform: translateY(28px); will-change: transform, opacity; }

/* ===== Hero bento ===== */
.hero { padding: 32px 0 24px; }
.hero-head { justify-content: center; gap: 4px; }
.hero-head h1 { font-size: clamp(32px, 4.4vw, 50px); margin: 8px 0 14px; }
.hero-head p { font-size: 16px; max-width: 48ch; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.t-stat1, .t-stat2, .t-stat3, .t-stat4 { justify-content: center; align-items: flex-start; }

/* grid-area assignments live only inside the matching min-width query below —
   an area name (e.g. "head") means nothing without a grid-template-areas to
   define it, and applying one without the other makes the browser treat the
   name as an ad-hoc line, silently inserting zero-width phantom tracks. */
@media (min-width: 1000px) {
  .hero-bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(96px, auto);
    grid-template-areas:
      "head head head head img1 img1"
      "head head head head img1 img1"
      "head head head head stat1 stat2"
      "img2 img2 img3 img3 stat3 stat4";
  }
  .hero-head { grid-area: head; }
  .t-img1 { grid-area: img1; }
  .t-img2 { grid-area: img2; }
  .t-img3 { grid-area: img3; }
  .t-stat1 { grid-area: stat1; }
  .t-stat2 { grid-area: stat2; }
  .t-stat3 { grid-area: stat3; }
  .t-stat4 { grid-area: stat4; }
}

/* ===== Value bento (trust + promos merged) ===== */
.value-bento .tile-icon svg { color: var(--color-green); }
.v-t1 .tile-icon svg, .v-t2 .tile-icon svg, .v-t3 .tile-icon svg, .v-t4 .tile-icon svg { width: 22px; height: 22px; }

@media (min-width: 900px) {
  .value-bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(130px, auto);
    grid-template-areas:
      "t1 t2 p1 p1 p2 p2"
      "t3 t4 p1 p1 p3 p3";
  }
  .v-t1 { grid-area: t1; } .v-t2 { grid-area: t2; } .v-t3 { grid-area: t3; } .v-t4 { grid-area: t4; }
  .v-p1 { grid-area: p1; } .v-p2 { grid-area: p2; } .v-p3 { grid-area: p3; }
}

/* ===== Categories bento ===== */
@media (min-width: 760px) {
  .categories-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
    grid-template-areas:
      "c1 c1 c2 c2"
      "c1 c1 c3 c4"
      "c5 c5 c6 c6";
  }
  .cat-1 { grid-area: c1; } .cat-2 { grid-area: c2; } .cat-3 { grid-area: c3; }
  .cat-4 { grid-area: c4; } .cat-5 { grid-area: c5; } .cat-6 { grid-area: c6; }
}

/* ===== Weekly specials bento ===== */
.specials-head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 28px;
}
.specials-head-row .btn { flex-shrink: 0; }
.deals-bento { margin-top: 24px; }

@media (min-width: 800px) {
  .deals-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(155px, auto);
    grid-template-areas:
      "d1 d1 d2 d3"
      "d1 d1 d4 d4";
  }
  .deal-1 { grid-area: d1; } .deal-2 { grid-area: d2; } .deal-3 { grid-area: d3; } .deal-4 { grid-area: d4; }
}

/* ===== Products bento ===== */
@media (min-width: 860px) {
  .products-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(175px, auto);
    grid-template-areas:
      "f1 f1 p2 p3"
      "f1 f1 p4 p5"
      "p6 p7 p8 cta";
  }
  .prod-feat { grid-area: f1; }
  .prod-2 { grid-area: p2; } .prod-3 { grid-area: p3; } .prod-4 { grid-area: p4; } .prod-5 { grid-area: p5; }
  .prod-6 { grid-area: p6; } .prod-7 { grid-area: p7; } .prod-8 { grid-area: p8; }
  .prod-cta { grid-area: cta; }
}

/* ===== Why us bento ===== */
@media (min-width: 820px) {
  .why-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(170px, auto);
    grid-template-areas:
      "img img r1 r2"
      "img img r3 r4";
  }
  .why-img { grid-area: img; }
  .why-r1 { grid-area: r1; } .why-r2 { grid-area: r2; } .why-r3 { grid-area: r3; } .why-r4 { grid-area: r4; }
}

/* ===== Branches bento ===== */
@media (min-width: 820px) {
  .branches-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(150px, auto);
    grid-template-areas:
      "fs fs fs"
      "b1 b2 b3"
      "b4 b5 cta";
  }
  .br-flagship { grid-area: fs; }
  .br-1 { grid-area: b1; } .br-2 { grid-area: b2; } .br-3 { grid-area: b3; }
  .br-4 { grid-area: b4; } .br-5 { grid-area: b5; } .br-cta { grid-area: cta; }
}
.br-flagship { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.branch-flagship-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-gold); margin-bottom: 6px; }
.branch-pin { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--color-green-light); color: var(--color-green-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.tile-dark .branch-pin, .tile-green .branch-pin { background: rgba(255,255,255,.14); color: #fff; }
.branch-meta { display: flex; flex-direction: column; gap: 3px; font-size: 13px; margin-top: 10px; }
.branch-meta strong { font-weight: 700; }

/* ===== Membership bento ===== */
@media (min-width: 820px) {
  .membership-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
    grid-template-areas:
      "card card b1 b2"
      "card card b3 b4";
  }
  .mem-card { grid-area: card; }
  .mem-b1 { grid-area: b1; } .mem-b2 { grid-area: b2; } .mem-b3 { grid-area: b3; } .mem-b4 { grid-area: b4; }
}
.member-card-visual {
  position: relative;
  width: 100%;
  max-width: 360px;
  /* Real ID-1 payment cards are 85.6 x 53.98mm — a 1.586:1 ratio. The old
     version relied on flex:1 + a 150px floor, which just stretched it to
     whatever short height the surrounding flex column left over, so it read
     as a wide banner rather than a card. */
  aspect-ratio: 1.586 / 1;
  border-radius: var(--radius-tile-sm);
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 55%, var(--color-gold-dark) 130%);
  color: #fff;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.member-card-visual::after { content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.08); }
.member-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.member-card-top img { height: 22px; filter: brightness(0) invert(1); }
.member-card-chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #F4DCA0, var(--color-gold)); }
.member-card-number { font-family: var(--font-display); font-size: 17px; letter-spacing: 2.5px; margin: 16px 0 0; }
.member-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; font-size: 11.5px; }
.member-card-bottom strong { display: block; font-family: var(--font-display); font-size: 14px; margin-top: 2px; }
.member-card-tier { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.mem-b1 svg, .mem-b2 svg, .mem-b3 svg, .mem-b4 svg { color: var(--color-green); width: 22px; height: 22px; display: block; margin-bottom: 14px; }

/* ===== Delivery bento ===== */
.delivery-section { background: var(--color-green); }
.dv-copy { justify-content: center; }
.dv-copy h2 { font-size: clamp(24px, 3vw, 34px); }
.dv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dv-list li { font-size: 14.5px; color: var(--color-ink-soft); }
.dv-list strong { font-family: var(--font-display); color: var(--color-ink); }
.dv-coverage .coverage-chip { display: block; background: var(--color-muted); color: var(--color-ink); padding: 7px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; margin-bottom: 8px; text-align: center; }
.dv-cta { align-items: center; justify-content: center; text-align: center; }
.dv-mascot { align-items: center; justify-content: center; }

@media (min-width: 820px) {
  .delivery-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
    grid-template-areas:
      "copy copy coverage mascot"
      "copy copy coverage cta";
  }
  .dv-copy { grid-area: copy; }
  .dv-coverage { grid-area: coverage; }
  .dv-cta { grid-area: cta; }
  .dv-mascot { grid-area: mascot; }
}

/* ===== Testimonials bento ===== */
.testimonial-stars { color: var(--color-gold-dark); letter-spacing: 2px; margin-bottom: 10px; font-size: 15px; }
.tile blockquote { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--color-ink); flex: 1; }
.tile-green blockquote, .tile-dark blockquote { color: rgba(255,255,255,.92); }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--avatar-bg, var(--color-green)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; flex-shrink: 0; }
.testimonial-person strong { display: block; font-size: 14px; }
.testimonial-person span { font-size: 12.5px; color: var(--color-ink-soft); }
.tile-green .testimonial-person span, .tile-dark .testimonial-person span { color: rgba(255,255,255,.65); }

@media (min-width: 820px) {
  .testimonials-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(160px, auto);
    grid-template-areas:
      "t1 t1 t2 stat"
      "t1 t1 t3 stat";
  }
  .ts-1 { grid-area: t1; } .ts-2 { grid-area: t2; } .ts-3 { grid-area: t3; } .ts-stat { grid-area: stat; }
}

/* ===== Newsletter ===== */
.newsletter { padding-top: 0; }
.newsletter-tile { background: var(--color-gold); align-items: center; text-align: center; padding: 48px 32px; }
.newsletter-tile h2 { color: var(--color-green-dark); font-size: clamp(24px, 3.2vw, 32px); }
.newsletter-tile p { color: rgba(18,71,31,.78); }
.newsletter-form { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 480px; }
.newsletter-form input { flex: 1 1 240px; padding: 14px 20px; border-radius: var(--radius-pill); border: 2px solid var(--color-green-dark); font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--color-ink); }
.newsletter-form input:focus { outline: 3px solid var(--color-green); outline-offset: 2px; }
.newsletter-note { margin-top: 14px; font-weight: 700; color: var(--color-green-dark); min-height: 1.4em; }

/* ===== Footer ===== */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,.85); padding-top: 56px; border-radius: 32px 32px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: 14.5px; margin-top: 16px; max-width: 32ch; }
.logo-img-footer { filter: brightness(0) invert(1); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.65); font-size: 14.5px; margin: 0 0 10px; }
.footer-col a:hover { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.55); }
.footer-placeholder-note { font-style: italic; }

/* ===== Floating WhatsApp + scroll top ===== */
.float-whatsapp {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: scale(.7);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.float-whatsapp.visible { opacity: 1; visibility: visible; transform: scale(1); }
.float-whatsapp:hover { transform: scale(1.08); }

.scroll-top {
  position: fixed; bottom: 24px; right: 90px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-ink); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 780px) {
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw);
    background: var(--color-surface);
    flex-direction: column; align-items: flex-start;
    padding: 100px 32px 32px; gap: 22px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    font-size: 17px;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .scroll-top { right: 24px; bottom: 90px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .br-flagship { flex-direction: column; align-items: flex-start; }
}
