/* ============================================================
   BRIGHT ANGELS JUNIOR SCHOOL — main.css
   Tokens · Reset · Layout · Header · Drawer · Footer · Utils
   ============================================================
   FONT NOTE
   Brief specifies "Montreal Sans" + Ubuntu Sans. PP Neue Montreal
   is a paid PangramPangram font, so we ship a free Inter fallback
   that matches the silhouette closely. To upgrade later, drop
   PPNeueMontreal-*.woff2 into /assets/fonts/ and uncomment the
   @font-face below.
   ============================================================ */

/* @font-face {
  font-family: 'PP Neue Montreal';
  src: url('../fonts/PPNeueMontreal-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
} */

/* ─────────── TOKENS ─────────── */
:root {
  /* Brand — sampled from the BAJ crest (blue / red / yellow) */
  --c-primary:        #14306A;   /* deep crest blue */
  --c-primary-600:    #1E40AF;
  --c-primary-300:    #5B7BC6;
  --c-primary-100:    #E4EBFA;

  --c-accent:         #F2B544;   /* warm crest yellow */
  --c-accent-600:     #D89A2A;
  --c-accent-100:     #FDF3DC;

  --c-red:            #D8362A;   /* crest red — used for highlights */
  --c-red-100:        #FDE4E0;

  /* Surfaces */
  --c-bg:             #FBFAF7;
  --c-bg-alt:         #F4F1EA;
  --c-surface:        #FFFFFF;
  --c-surface-alt:    #F6F1E7;
  --c-line:           #ECE7DC;
  --c-line-strong:    #D5CFC1;

  /* Text */
  --c-text:           #0F1B33;
  --c-text-muted:     #5A6378;
  --c-text-soft:      #8B92A5;
  --c-text-on-dark:   #F6F1E7;

  /* State */
  --c-success:        #2F8F5B;
  --c-danger:         #B23A48;

  /* Typography */
  --font-display:     'PP Neue Montreal', 'Neue Montreal', 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --font-body:        'Ubuntu Sans', 'Inter', 'Helvetica Neue', system-ui, sans-serif;

  /* Scale (perfect fourth) */
  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  clamp(2.6rem, 5.5vw, 4.25rem);
  --fs-hero: clamp(2.8rem, 6.4vw, 5.4rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow — softer, more editorial */
  --sh-1: 0 1px 2px rgba(20,48,106,.05), 0 1px 3px rgba(20,48,106,.04);
  --sh-2: 0 12px 28px -14px rgba(20,48,106,.18), 0 4px 12px rgba(20,48,106,.06);
  --sh-3: 0 36px 70px -28px rgba(20,48,106,.28), 0 10px 22px rgba(20,48,106,.08);
  --sh-glow: 0 0 0 4px rgba(242,181,68,.22);

  /* Motion */
  --ease:        cubic-bezier(.22,.61,.36,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --t-fast:      160ms;
  --t-base:      320ms;
  --t-slow:      620ms;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --header-h:  80px;
  --announce-h: 40px;
}

/* Dark theme */
[data-theme="dark"] {
  --c-bg:           #0A1428;
  --c-bg-alt:       #0E1B33;
  --c-surface:      #122340;
  --c-surface-alt:  #182E51;
  --c-line:         #243a5e;
  --c-line-strong:  #2f4775;
  --c-primary-100:  #1B2D54;

  --c-text:         #F1ECE3;
  --c-text-muted:   #A6B0C5;
  --c-text-soft:    #7B86A0;
  --c-text-on-dark: #F1ECE3;

  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 12px 28px -14px rgba(0,0,0,.5);
  --sh-3: 0 36px 70px -28px rgba(0,0,0,.6);
}

/* ─────────── RESET ─────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-accent); color: var(--c-primary); }

/* ─────────── TYPOGRAPHY ─────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--c-text);
  margin: 0;
}
.h1 { font-size: var(--fs-4xl); }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.025em; }
.h3 { font-size: var(--fs-xl); }
.h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-4); }
.lead { font-size: var(--fs-md); color: var(--c-text-muted); line-height: 1.65; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ''; width: 24px; height: 1.5px; background: currentColor;
}
.eyebrow--light { color: var(--c-accent); }
.eyebrow--blue  { color: var(--c-primary); }

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

/* ─────────── LAYOUT ─────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--sp-8) 0; }
.section--lg { padding: var(--sp-9) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-primary); color: var(--c-text-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--c-accent); }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-6); margin-bottom: var(--sp-7); flex-wrap: wrap;
}
.section__head--center {
  flex-direction: column; align-items: center; text-align: center;
}
.section__head--center .eyebrow { justify-content: center; }
.section__head h2 { max-width: 720px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-8);
  align-items: start;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* ─────────── BUTTONS ─────────── */
.btn {
  --b-bg: var(--c-primary);
  --b-fg: var(--c-text-on-dark);
  --b-bd: var(--c-primary);

  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-base);
  letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  background: var(--b-bg);
  color: var(--b-fg);
  border: 1.5px solid var(--b-bd);
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); }
.btn__icon { width: 18px; height: 18px; }

.btn--accent {
  --b-bg: var(--c-accent);
  --b-fg: var(--c-primary);
  --b-bd: var(--c-accent);
}
.btn--accent:hover { --b-bg: var(--c-accent-600); --b-bd: var(--c-accent-600); }

.btn--red {
  --b-bg: var(--c-red); --b-fg: #fff; --b-bd: var(--c-red);
}

.btn--ghost {
  --b-bg: transparent;
  --b-fg: var(--c-text);
  --b-bd: var(--c-line-strong);
}
.btn--ghost:hover { --b-bd: var(--c-primary); --b-bg: var(--c-primary-100); }

.btn--outline-light {
  --b-bg: transparent;
  --b-fg: #fff;
  --b-bd: rgba(255,255,255,.5);
}
.btn--outline-light:hover { --b-bg: #fff; --b-fg: var(--c-primary); --b-bd: #fff; }

.btn--sm { padding: 0.55rem 1.1rem; font-size: var(--fs-sm); }
.btn--lg { padding: 1.05rem 1.95rem; font-size: var(--fs-md); }
.btn--block { width: 100%; }

/* Arrow link */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600;
  color: var(--c-primary);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.link-arrow::after { content: '→'; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { gap: var(--sp-3); color: var(--c-red); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow--lg { font-size: var(--fs-md); }

/* ─────────── ANNOUNCEMENT BAR ─────────── */
.announce {
  background: var(--c-primary);
  color: var(--c-text-on-dark);
  font-size: var(--fs-sm);
  position: relative;
  z-index: 60;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.announce--hidden { transform: translateY(-100%); opacity: 0; height: 0; padding: 0; }
.announce__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding: 0.6rem var(--sp-5); min-height: var(--announce-h);
}
.announce__text { margin: 0; display: flex; align-items: center; gap: var(--sp-3); }
.announce__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(242,181,68,.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(242,181,68,.25); }
  50%      { box-shadow: 0 0 0 8px rgba(242,181,68,0); }
}
.announce__link {
  color: var(--c-accent);
  margin-left: var(--sp-2);
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}
.announce__close {
  font-size: 1.4rem; line-height: 1; color: var(--c-text-on-dark); opacity: 0.7;
  transition: opacity var(--t-fast);
}
.announce__close:hover { opacity: 1; }
@media (max-width: 640px) {
  .announce__text { font-size: var(--fs-xs); }
  .announce__link { display: block; margin-left: 0; }
}

/* ─────────── HEADER ─────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
[data-theme="dark"] .header { background: rgba(10,20,40,0.88); }
.header--scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: var(--sh-1);
}
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: var(--sp-4);
}

/* Brand — uses real logo image */
.brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display);
}
.brand__mark {
  width: 52px; height: 52px; flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(20,48,106,.1));
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-weight: 700; font-size: 1.1rem;
  letter-spacing: -0.02em; color: var(--c-primary);
}
.brand__sub {
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-text-muted); margin-top: 4px; font-weight: 500;
}
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--c-accent); }

/* Nav */
.nav__list { display: flex; gap: var(--sp-1); align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 0.6rem 0.95rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
  position: relative;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__link:hover { color: var(--c-primary); background: var(--c-primary-100); }
.nav__link.is-active { color: var(--c-primary); font-weight: 600; }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: -4px;
  transform: translateX(-50%);
  width: 5px; height: 5px; background: var(--c-red); border-radius: 50%;
}
.nav__chev { width: 12px; height: 12px; transition: transform var(--t-fast) var(--ease); }
.nav__item.is-open .nav__chev,
.nav__item:hover .nav__chev { transform: rotate(180deg); }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 720px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: var(--sp-5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
  z-index: 40;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3);
}
.mega__card {
  display: block; padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--c-bg-alt);
  border: 1px solid transparent;
  transition: all var(--t-fast) var(--ease);
}
.mega__card:hover {
  background: var(--c-surface);
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.mega__badge {
  display: inline-block; font-size: var(--fs-xs); padding: 2px 8px;
  background: var(--c-accent-100); color: var(--c-accent-600);
  border-radius: var(--r-pill); font-weight: 600; margin-bottom: var(--sp-2);
}
.mega__card h4 {
  font-family: var(--font-display); font-size: var(--fs-md);
  margin: 0 0 var(--sp-1); color: var(--c-text);
}
.mega__card p { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.mega__foot {
  padding-top: var(--sp-4); margin-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
}

/* Header actions */
.header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--c-text);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--c-primary-100); color: var(--c-primary); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn__moon { display: none; }
[data-theme="dark"] .icon-btn__sun { display: none; }
[data-theme="dark"] .icon-btn__moon { display: block; }

/* Hamburger */
.hamburger {
  display: none; width: 40px; height: 40px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--c-text);
  border-radius: 2px; transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────── DRAWER ─────────── */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(380px, 86vw);
  background: var(--c-surface);
  z-index: 100;
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-3);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5); border-bottom: 1px solid var(--c-line);
}
.drawer__title { font-family: var(--font-display); font-size: var(--fs-lg); }
.drawer__nav {
  flex: 1; padding: var(--sp-5); overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--sp-1);
}
.drawer__nav > a, .drawer__group > summary {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  border-radius: var(--r-sm);
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--c-text);
  transition: background var(--t-fast);
}
.drawer__nav > a:hover, .drawer__group > summary:hover { background: var(--c-primary-100); color: var(--c-primary); }
.drawer__group > summary::after {
  content: '+'; position: absolute; right: var(--sp-4); top: 50%;
  transform: translateY(-50%); font-weight: 300; transition: transform var(--t-fast);
}
.drawer__group[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.drawer__sub {
  padding: var(--sp-2) var(--sp-4) var(--sp-3) var(--sp-7);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.drawer__sub a { font-size: var(--fs-sm); color: var(--c-text-muted); }
.drawer__sub a:hover { color: var(--c-primary); }
.drawer__foot {
  padding: var(--sp-5); border-top: 1px solid var(--c-line);
}
.drawer__contact {
  margin: var(--sp-3) 0 0; font-size: var(--fs-xs); color: var(--c-text-muted); text-align: center;
}

.scrim {
  position: fixed; inset: 0; background: rgba(15,27,51,.5);
  opacity: 0; visibility: hidden; transition: opacity var(--t-base), visibility var(--t-base);
  z-index: 90; backdrop-filter: blur(3px);
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ─────────── MOBILE NAV BREAKPOINTS ─────────── */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header__actions .btn { display: none; }
  .mega { min-width: 600px; }
}
@media (max-width: 640px) {
  .header__actions .icon-btn { display: none; }
  .header__actions { gap: 0; }
  .brand__sub { display: none; }
}

/* ─────────── REVEAL ON SCROLL ─────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

/* ─────────── SCROLL-TO-TOP ─────────── */
.scroll-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 48px; height: 48px;
  background: var(--c-primary); color: var(--c-text-on-dark);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-2);
  z-index: 40;
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
  transition: all var(--t-base) var(--ease);
}
.scroll-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.scroll-top:hover { background: var(--c-accent); color: var(--c-primary); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ─────────── WHATSAPP FAB ─────────── */
.whatsapp-fab {
  position: fixed;
  left: 1.5rem; bottom: 1.5rem;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 2px 6px rgba(0,0,0,.12);
  z-index: 45;
  text-decoration: none;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  animation: waPulse 2.8s ease-out infinite;
}
.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37,211,102,.55), 0 4px 10px rgba(0,0,0,.15);
  color: #fff;
}
.whatsapp-fab svg { width: 32px; height: 32px; }

.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waRipple 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 8px 24px rgba(37,211,102,.55), 0 0 0 14px rgba(37,211,102,0); }
}
@keyframes waRipple {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Tooltip */
.whatsapp-fab__tip {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: #14306A;
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  box-shadow: var(--sh-2);
}
.whatsapp-fab__tip::before {
  content: '';
  position: absolute;
  left: -5px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: #14306A;
}
.whatsapp-fab:hover .whatsapp-fab__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .whatsapp-fab { width: 54px; height: 54px; left: 1rem; bottom: 1rem; }
  .whatsapp-fab svg { width: 28px; height: 28px; }
  .whatsapp-fab__tip { display: none; }
  .scroll-top { right: 1rem; bottom: 1rem; }
}

/* ─────────── TOAST ─────────── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--c-primary); color: var(--c-text-on-dark);
  padding: 0.9rem 1.5rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  box-shadow: var(--sh-3);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  max-width: 90vw;
}
.toast.is-visible {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ─────────── FOOTER ─────────── */
.footer {
  background: var(--c-primary);
  color: var(--c-text-on-dark);
  padding: var(--sp-9) 0 var(--sp-5);
  margin-top: var(--sp-9);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__tag {
  max-width: 360px; color: rgba(241,236,227,0.7);
  margin: var(--sp-5) 0;
}
.newsletter {
  display: flex; gap: var(--sp-2);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill);
  padding: 4px;
  max-width: 420px;
}
.newsletter input {
  flex: 1; background: transparent; border: 0; padding: 0.6rem 1rem; color: #fff;
}
.newsletter input::placeholder { color: rgba(241,236,227,0.5); }
.newsletter input:focus { outline: none; }
.footer__cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5);
}
.footer__cols h5 {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 var(--sp-4);
}
.footer__cols ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__cols a, .footer__linkbtn {
  color: rgba(241,236,227,0.75); font-size: var(--fs-sm);
  transition: color var(--t-fast);
}
.footer__cols a:hover, .footer__linkbtn:hover { color: var(--c-accent); }
.footer__contact li { font-size: var(--fs-sm); color: rgba(241,236,227,0.75); line-height: 1.55; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--sp-5); flex-wrap: wrap; gap: var(--sp-4);
  font-size: var(--fs-xs); color: rgba(241,236,227,0.5);
}
.footer__social { display: flex; gap: var(--sp-3); }
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-text-on-dark);
  transition: all var(--t-fast);
}
.footer__social a:hover {
  background: var(--c-accent); color: var(--c-primary); border-color: var(--c-accent);
}
.footer__social svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
}
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
}
