:root {
  --blue: #1e5fbf;
  --blue-dark: #1f52a4;
  --blue-light: #dce8f7;
  --blue-tile: #e3edfa;
  --sky: #6aabe5;
  --peach: #f6e3d2;
  --peach-light: #fbeedd;
  --peach-btn: #ffd4ae;
  --peach-deep: #c97a3c;
  --mint: #e2f3f0;
  --bg-mint: #e3efe9;
  --bg-soft: #eaf0f6;
  --text: #1a1a1a;
  --muted: #555;
  --border: #d9d9d9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  /* --filld-font is set inline by functions.php from the Customizer choice
     (Appearance → Customize → fill'd — Typography). Falls back to Lato if the
     inline style is missing for any reason. Italic + bold weights for every
     option are loaded with the Google Font so font-style and font-weight
     render natively, not synthesised. */
  font-family: var(--filld-font, "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  color: var(--text);
  line-height: 1.5;
  background: #fff;
  font-size: 30px;
}
h1, h2, h3, h4, h5, h6, button, input, select, textarea { font-family: inherit; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0;
}
.menu-toggle:hover { background: rgba(255,255,255,0.12); }
.menu-toggle svg { width: 20px; height: 20px; }
#menu-checkbox { display: none; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #1f52a4;
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow .25s ease;
}
/* Header elevation once scrolled; keep the same brand blue and only add shadow. */
header.is-scrolled {
  background: #1f52a4;
  box-shadow: 0 6px 24px rgba(15, 40, 90, 0.22);
}

/* Soft cross-page fades via the View Transitions API (progressive enhancement). */
@view-transition { navigation: auto; }
/* Allow height:auto to animate (smooth <details> FAQ accordion). */
html { interpolate-size: allow-keywords; }

.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.logo {
  font-family: "Lato", sans-serif;
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1.5px;
  color: #fff;
  line-height: 1;
  display: inline-block;
}
.footer-logo {
  font-family: "Lato", sans-serif;
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1.7px;
  color: var(--blue);
  line-height: 1;
  display: inline-block;
  margin: 0 0 14px;
}
.nav-main {
  display: flex; gap: 6px;
  font-size: 16px;
  flex: 1;
  justify-content: center;
}
.nav-main a,
.nav-main .nav-dropdown-trigger {
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .15s;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
  color: inherit;
}
.nav-main a:hover,
.nav-main .nav-dropdown-trigger:hover { background: rgba(255,255,255,0.12); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity .15s, background .15s, transform .15s;
}
.btn:hover { opacity: .92; }
.btn-ghost { color: #fff; padding: 8px 14px; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); opacity: 1; }
.btn-white { background: #fff; color: var(--blue); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.btn-white:hover { transform: translateY(-1px); }
.btn-outline-white { border-color: rgba(255,255,255,0.9); color: #fff; border-width: 2px; }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); opacity: 1; }
.btn-blue { background: #6aabe5; color: #fff; font-weight: 500; }
.btn-blue:hover { background: #5b9cd6; opacity: 1; }
.btn-peach { background: #c0541e; color: #fff; font-weight: 500; }
.btn-outline {
  background: transparent;
  border: 1px solid #8aa9d6;
  color: #1a1a1a;
}
.btn-outline:hover { background: rgba(174,220,255,0.25); opacity: 1; }
.btn-outline-peach { background: transparent; border: 1px solid #c0541e; color: #8f3c12; }
.btn-outline-peach:hover { background: rgba(245,222,200,0.45); opacity: 1; }

/* Nav dropdowns */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-sub-toggle { display: none; }
.nav-dropdown-trigger { cursor: pointer; }
.nav-caret { display: inline-block; transition: transform .2s; font-size: 21px; opacity: 1; margin-left: 2px; line-height: 1; font-weight: 700; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  transform: translateY(4px);
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(14,63,140,0.08);
  box-shadow: 0 12px 28px rgba(14,63,140,0.16), 0 2px 6px rgba(14,63,140,0.08);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  color: #1a1a1a !important;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
  transition: background .15s, transform .15s, color .15s;
}
.nav-dropdown-menu a .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-dark); flex-shrink: 0; }
.nav-dropdown-menu a .label { flex: 1; }
.nav-dropdown-menu a .arrow { color: #555; font-weight: 400; transition: color .15s; }
.nav-dropdown-menu a:hover { transform: translateY(-1px); background: var(--blue-dark); color: #fff !important; }
.nav-dropdown-menu a:hover .dot { background: #fff; }
.nav-dropdown-menu a:hover .arrow { color: #fff; }

/* Signup dropdown */
.signup-dropdown { position: relative; display: inline-flex; }
.signup-trigger { cursor: pointer; }
.signup-caret { font-size: 21px; opacity: 1; font-weight: 700; margin-left: 2px; display: inline-block; line-height: 1; transition: transform .15s; }
.signup-dropdown:hover .signup-caret, .signup-dropdown:focus-within .signup-caret { transform: translateY(2px); }
.signup-menu {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: #fff; border-radius: 16px; padding: 8px;
  border: 1px solid rgba(14,63,140,0.08);
  box-shadow: 0 12px 28px rgba(14,63,140,0.16), 0 2px 6px rgba(14,63,140,0.08);
  min-width: 260px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 60;
  display: flex; flex-direction: column; gap: 6px;
}
.signup-dropdown:hover .signup-menu,
.signup-dropdown:focus-within .signup-menu,
.signup-dropdown.is-open .signup-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.signup-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  font-weight: 700; font-size: 14px;
  text-align: left;
  color: #1a1a1a;
  background: #fff;
  transition: background .15s, transform .15s;
}
.signup-item:hover { transform: translateY(-1px); }
.signup-item .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.signup-item .label { flex: 1; }
.signup-item .arrow { color: #555; font-weight: 400; }
.signup-item.sp .dot { background: #c0541e; }
.signup-item.sp:hover { background: rgba(245, 222, 200, 0.55); }
.signup-item.rp .dot { background: #00766b; }
.signup-item.rp:hover { background: rgba(200, 241, 233, 0.55); color: #1a1a1a; }
.signup-item.rp:hover .arrow { color: #1a1a1a; }
.signup-item.rp:hover .dot { background: #00766b; }
.nav-actions .signup-menu { left: auto; right: 0; }

/* Log In dropdown — reuses the signup-dropdown pattern with per-item icons */
.login-dropdown .signup-menu { min-width: 290px; }
.nav-actions .login-dropdown .signup-menu { left: 0; right: auto; }
.signup-item .login-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.signup-item .login-icon svg { width: 20px; height: 20px; display: block; }
.signup-item.login-item:hover { transform: translateY(-1px); background: var(--blue-dark); color: #fff !important; }
.signup-item.login-item:hover .arrow { color: #fff; }
.signup-item.login-item:hover .login-icon { color: #fff; }

/* Speech-bubble tip on dropdowns */
.signup-menu::before,
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 30px;
  width: 14px; height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
  border-top: 1px solid rgba(14,63,140,0.08);
  border-left: 1px solid rgba(14,63,140,0.08);
}
.nav-actions .signup-menu::before { left: auto; right: 40px; }
.nav-actions .login-dropdown .signup-menu::before { left: 26px; right: auto; }
.signup-dropdown.signup-row .signup-menu { flex-direction: column; min-width: 320px; width: auto; }
.signup-dropdown.signup-row .signup-item { white-space: normal; padding: 14px 16px; }
.signup-dropdown.signup-inline { display: inline-flex; }
.signup-dropdown.signup-up .signup-menu { top: auto; bottom: calc(100% + 8px); transform: translateY(-4px); }
.signup-dropdown.signup-up:hover .signup-menu,
.signup-dropdown.signup-up:focus-within .signup-menu { transform: translateY(0); }

/* Logo images */
.logo { padding: 4px 0; }
.logo img { height: 38px; width: auto; display: block; }
.footer-logo { padding: 0; margin-bottom: 14px; }
.footer-logo img { height: 52px; width: auto; display: block; }

/* Desktop: hide mobile-only items */
header .nav-main .mobile-only { display: none; }

/* Footer */
footer {
  background: var(--filld-footer-bg, var(--bg-soft));
  padding: 0;
  font-size: 14px;
  color: #333;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 40px 24px;
}
.footer-divider {
  height: 1px;
  background: #cfd8e3;
  margin: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr 1fr;
  gap: 40px;
  padding: 40px 0 36px;
  align-items: start;
}
.footer-grid h4 {
  font-size: 14px; font-weight: 700; margin: 0 0 18px;
  color: #111;
}
.footer-grid a {
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: opacity .15s;
}
.footer-grid a:hover { opacity: 0.75; }
.footer-grid .muted {
  color: #888;
  font-weight: 400;
  font-style: italic;
  font-size: 13px;
  margin-left: 4px;
}
.footer-grid .row-disabled {
  color: #888;
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  margin-bottom: 10px;
}
.footer-contact {
  font-size: 14px; color: #333;
  margin: 0 0 18px;
}
.footer-social {
  display: flex; gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, background .15s;
}
.footer-social a:hover { transform: translateY(-2px); background: var(--blue-dark); }
.footer-social svg { width: 16px; height: 16px; }
.footer-locations {
  font-size: 15px;
  color: #1a1a1a;
  padding: 24px 0 6px;
}
.footer-compliance {
  font-size: 13px;
  color: #555;
  padding: 0 0 24px;
  line-height: 1.6;
}
.footer-compliance .badges { margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid #cfd8e3;
  padding-top: 18px;
  padding-bottom: 6px;
  font-size: 13px;
  color: #555;
}

/* Reveal animation base */
@media (prefers-reduced-motion: no-preference) {
  /* Entrance reveal: keyframe animation (not a transition) so it always plays
     when .in is added — transitions can be skipped if the hidden/visible states
     land in the same frame, which broke first-load reveals. 'backwards' fill
     keeps elements hidden during any stagger delay; no 'forwards' fill, so
     hover transforms on cards still work after the entrance. */
  .reveal { opacity: 0; }
  .reveal.in { opacity: 1; animation: filld-reveal-in .7s cubic-bezier(.22,.61,.36,1) backwards; }
  @keyframes filld-reveal-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
  .hero .reveal:nth-child(1).in { animation-delay: .05s; }
  .hero .reveal:nth-child(2).in { animation-delay: .12s; }
  .hero .reveal:nth-child(3).in { animation-delay: .2s; }
  .hero .reveal:nth-child(4).in { animation-delay: .28s; }
  .belief-card, .meeting-card, .faq-item, .booking-card, .form-card, .community-text, .compare-card, .who-card, .reliable-card, .compliance-card, .benefit-card { transition: transform .25s ease, box-shadow .25s ease; }
  .belief-card:hover, .meeting-card:hover, .booking-card:hover, .who-card:hover, .reliable-card:hover, .compliance-card:hover, .benefit-card:hover, .compare-card:hover { transform: translateY(-3px); }
  .btn { will-change: transform; }
  .faq-item summary { transition: background .2s ease; }
  .faq-item:hover summary { background: rgba(0,0,0,0.02); }
  a.nav-main-link, .nav-main a { position: relative; }

  /* Grid cascade: stagger tiles/cards in (~70ms apart) instead of a block blink.
     Capped at 6 (the grids hold up to 6 items). A 7th+ item reveals with no
     extra delay — an acceptable graceful fallback rather than an ever-growing
     wait; generalise with a --stagger-index custom property if grids grow. */
  .service-tile.in:nth-child(2), .who-card.in:nth-child(2), .belief-card.in:nth-child(2), .reliable-card.in:nth-child(2) { animation-delay: .07s; }
  .service-tile.in:nth-child(3), .who-card.in:nth-child(3), .belief-card.in:nth-child(3), .reliable-card.in:nth-child(3) { animation-delay: .14s; }
  .service-tile.in:nth-child(4), .who-card.in:nth-child(4), .belief-card.in:nth-child(4), .reliable-card.in:nth-child(4) { animation-delay: .21s; }
  .service-tile.in:nth-child(5), .who-card.in:nth-child(5), .belief-card.in:nth-child(5), .reliable-card.in:nth-child(5) { animation-delay: .28s; }
  .service-tile.in:nth-child(6), .who-card.in:nth-child(6), .belief-card.in:nth-child(6), .reliable-card.in:nth-child(6) { animation-delay: .35s; }

  /* Icon micro-motion: gentle scale on the tile icon, alongside the existing lift. */
  .service-tile .icon { transition: transform .2s ease, box-shadow .15s ease; }
  .service-tile:hover .icon { transform: scale(1.08); }

  /* Smooth <details> FAQ accordion (progressive enhancement — older browsers snap). */
  .faq-item::details-content {
    height: 0;
    overflow: hidden;
    transition: height .32s ease, content-visibility .32s allow-discrete;
  }
  .faq-item[open]::details-content { height: auto; }
}

/* Hero underline draw-in: replace the static text-decoration underline with an
   animatable background bar that draws left-to-right after the heading reveal.
   Colour comes from each page via --filld-hero-underline. The gap custom
   property maps to a lift inside Lato's line box, so the requested visual gap is
   consistent across desktop and mobile. */
.hero h1 .underline,
.hero h1 .accent,
.hero h1 .underline-accent {
  text-decoration: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(var(--filld-hero-underline, currentColor), var(--filld-hero-underline, currentColor));
  background-repeat: no-repeat;
  --filld-hero-underline-gap: 6px;
  --filld-hero-underline-linebox-offset: 9px;
  background-position: left bottom calc(var(--filld-hero-underline-linebox-offset) - var(--filld-hero-underline-gap));
  background-size: 100% var(--filld-hero-underline-h, 5px);
  padding-bottom: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .underline,
  .hero h1 .accent,
  .hero h1 .underline-accent {
    background-size: 0 var(--filld-hero-underline-h, 5px);
    animation: filld-uline-draw .5s cubic-bezier(.22,.61,.36,1) .3s forwards;
  }
}
@keyframes filld-uline-draw { to { background-size: 100% var(--filld-hero-underline-h, 5px); } }

/* Mobile: looser underline gap with a thinner bar. */
@media (max-width: 760px) {
  .hero h1 .underline,
  .hero h1 .accent,
  .hero h1 .underline-accent {
    --filld-hero-underline-h: 3px;
    --filld-hero-underline-gap: 8px;
  }
}

/* Mobile responsive - shared */
@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav-bar { height: 60px; gap: 12px; }
  .nav-main {
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: #dce8f7;
    flex-direction: column;
    gap: 0;
    padding: 6px 28px 40px;
    position: fixed; bottom: auto; max-height: calc(100vh - 60px); overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: none;
  }
  #menu-checkbox:checked ~ .container .nav-main { display: flex; }
  .nav-main a {
    padding: 12px 14px;
    border-radius: 10px;
    width: 100%;
  }
  .nav-actions .btn-ghost,
  .nav-actions .btn-outline-white { display: none; }
  .nav-actions .btn-white { padding: 8px 14px; font-size: 13px; }
  header .nav-actions .btn { font-size: 16px; font-weight: 700; }
  header .nav-main a:not(.mobile-only),
  header .nav-main .nav-dropdown-trigger {
    padding: 22px 4px;
    color: var(--blue);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid rgba(30,95,191,0.18);
    background: transparent;
    justify-content: space-between;
  }
  header .nav-main a:not(.mobile-only):hover,
  header .nav-main .nav-dropdown-trigger:hover { background: transparent; }
  header .nav-main .nav-dropdown-trigger .nav-caret { font-size: 28px; opacity: 1; color: var(--blue); line-height: 1; }
  header .nav-main .mobile-only { display: inline-flex; align-self: center; box-sizing: border-box; align-items: center; justify-content: center; }
  /* Mobile Log In — expandable pill accordion (desktop uses the nav-actions dropdown) */
  header .nav-main .mo-login-group {
    display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 28px;
  }
  .mo-login-toggle { display: none; }
  .mo-login-trigger {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #fff; color: var(--blue); border: 1px solid rgba(14, 63, 140, 0.12);
    border-radius: 999px; padding: 12px 28px; font-weight: 700; width: 100%;
    font-size: 16px; cursor: pointer; box-sizing: border-box;
  }
  .mo-login-trigger .nav-caret { font-size: 18px; line-height: 1; transition: transform .15s; }
  .mo-login-toggle:checked ~ .mo-login-trigger .nav-caret { transform: rotate(180deg); }
  .mo-login-menu {
    display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .22s ease, opacity .15s ease, margin-top .2s ease;
  }
  .mo-login-toggle:checked ~ .mo-login-menu { max-height: 220px; opacity: 1; margin-top: 8px; }
  header .nav-main .mo-login-option {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
    background: #fff; color: var(--blue); border: 1px solid rgba(14, 63, 140, 0.12);
    border-radius: 999px; padding: 12px 24px; font-weight: 700; width: 100%;
    font-size: 15px; box-sizing: border-box;
  }
  header .nav-main .mo-login-option:hover { background: rgba(255, 255, 255, 0.85); color: var(--blue); }
  header .nav-main .mo-login-option .login-icon {
    width: 18px; height: 18px; flex-shrink: 0; color: var(--blue);
    display: inline-flex; align-items: center; justify-content: center;
  }
  header .nav-main .mo-login-option .login-icon svg { width: 18px; height: 18px; display: block; }
  header .nav-main .mo-cta {
    margin-top: 10px; border-radius: 999px; padding: 14px 28px; font-weight: 700; min-width: 240px; font-size: 16px;
  }
  header .nav-main .mo-cta-rp { background: var(--filld-mo-cta-rp-bg, #6aabe5); color: var(--filld-mo-cta-rp-text, #fff); }
  header .nav-main .mo-cta-sp { background: var(--filld-mo-cta-sp-bg, #c0541e); color: var(--filld-mo-cta-sp-text, #fff); margin-top: 8px; }
  header .nav-main .mo-book {
    margin-top: 10px; background: transparent; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 999px; padding: 12px 28px; font-weight: 700; min-width: 240px; font-size: 16px;
  }
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-menu {
    position: static; transform: none; box-shadow: none; background: transparent; border: none; padding: 0 0 0 16px; min-width: 0;
    opacity: 0; visibility: hidden; max-height: 0; overflow: hidden;
    transition: opacity .15s, max-height .2s;
  }
  .nav-sub-toggle:checked ~ .nav-dropdown-menu {
    opacity: 1; visibility: visible; max-height: 400px;
  }
  .nav-sub-toggle:checked ~ .nav-dropdown-trigger .nav-caret { transform: rotate(180deg); display: inline-block; }
  .nav-dropdown-menu a { color: var(--blue) !important; background: transparent; padding: 14px 4px; font-size: 18px; font-weight: 700; text-align: left; border-bottom: 1px solid rgba(30,95,191,0.12); border-radius: 0; display: flex; align-items: center; gap: 10px; }
  .nav-dropdown-menu a:hover { background: transparent; transform: none; color: var(--blue) !important; }
  .nav-dropdown-menu a .dot,
  .nav-dropdown-menu a .arrow { display: none; }
  .nav-dropdown-menu::before { display: none; }
  .signup-dropdown:not(.signup-inline) { display: none !important; }
  .signup-dropdown.signup-row .signup-menu { flex-direction: column; width: 100%; min-width: 220px; left: 50%; transform: translateX(-50%) translateY(4px); }
  .signup-dropdown.signup-row:hover .signup-menu,
  .signup-dropdown.signup-row:focus-within .signup-menu,
  .signup-dropdown.signup-row.is-open .signup-menu { transform: translateX(-50%) translateY(0); }
  .signup-dropdown.signup-row .signup-menu::before { left: calc(50% - 7px); right: auto; }
  .signup-dropdown.signup-row .signup-item { white-space: normal; padding: 12px 18px; }
}
@media (max-width: 760px) {
  /* Tighten vertical spacing between sections on mobile */
  .about-row,
  .story-section,
  .beliefs-section,
  .community-section,
  .who-section,
  .reliable,
  .first-band,
  .benefits-section,
  .steps-section,
  .categories-section,
  .compliance-section,
  .quality-section,
  .services-section,
  .compare-section,
  .faq-section,
  .events-section,
  .policy-section,
  .contact-section { padding-top: 16px !important; padding-bottom: 32px !important; }
  .about-row { padding: 8px 20px 24px !important; }
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .logo { font-size: 22px; }
  .logo img { height: 26px; }
}
