/*
Theme Name: APIS Child
Theme URI: https://apisbd.com/
Description: A lean, fast, accessibility-first child theme for Asia Pacific Immigration Services (APIS). Built on top of Twenty Twenty-Four (or any block/elementor-compatible parent). Includes Apple-style rhythm, sticky mobile CTA, WCAG 2.2 AA colour tokens, and RCIC-compliant disclaimer placement.
Author: Asia Pacific Immigration Services
Author URI: https://apisbd.com/
Template: twentytwentyfour
Version: 1.0.0
Text Domain: apis
License: GNU General Public License v2 or later
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */

:root {
  /* Colour palette — passes WCAG 2.2 AA on white background */
  --apis-color-ink: #0b1f3a;          /* deep navy; primary text */
  --apis-color-ink-soft: #2c3e5a;     /* secondary text */
  --apis-color-mute: #5b6b85;         /* tertiary text (≥4.5:1 on white) */
  --apis-color-line: #e2e7f0;         /* hairlines */
  --apis-color-bg: #ffffff;
  --apis-color-bg-soft: #f6f8fb;      /* section tint */
  --apis-color-bg-tint: #eef2f8;
  --apis-color-brand: #1a3a6e;        /* primary brand */
  --apis-color-brand-strong: #0f2855;
  --apis-color-brand-soft: #d6e1f3;
  --apis-color-accent: #c0392b;       /* CTA / urgency, used sparingly */
  --apis-color-success: #1e7a3a;
  --apis-color-warning: #b76e00;
  --apis-color-danger: #b3261e;

  /* Typography scale (fluid, clamp-based) */
  --apis-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --apis-font-display: var(--apis-font-sans);
  --apis-fs-base: clamp(16px, 1.6vw, 18px);
  --apis-fs-sm: clamp(14px, 1.4vw, 15px);
  --apis-fs-lg: clamp(18px, 1.9vw, 20px);
  --apis-fs-h3: clamp(20px, 2.1vw, 24px);
  --apis-fs-h2: clamp(26px, 3.2vw, 36px);
  --apis-fs-h1: clamp(34px, 5vw, 56px);

  /* Spacing rhythm (8px grid) */
  --apis-space-1: 4px;
  --apis-space-2: 8px;
  --apis-space-3: 12px;
  --apis-space-4: 16px;
  --apis-space-5: 24px;
  --apis-space-6: 32px;
  --apis-space-7: 48px;
  --apis-space-8: 64px;
  --apis-space-9: 96px;

  /* Radii & shadows */
  --apis-radius-sm: 6px;
  --apis-radius-md: 12px;
  --apis-radius-lg: 20px;
  --apis-radius-pill: 999px;
  --apis-shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 1px 3px rgba(11, 31, 58, 0.04);
  --apis-shadow-md: 0 4px 12px rgba(11, 31, 58, 0.08), 0 2px 4px rgba(11, 31, 58, 0.04);
  --apis-shadow-lg: 0 18px 48px rgba(11, 31, 58, 0.12), 0 4px 12px rgba(11, 31, 58, 0.06);

  /* Motion */
  --apis-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --apis-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --apis-dur-1: 180ms;
  --apis-dur-2: 320ms;
  --apis-dur-3: 540ms;

  /* Layout */
  --apis-container: 1200px;
  --apis-container-narrow: 880px;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--apis-font-sans);
  font-size: var(--apis-fs-base);
  line-height: 1.6;
  color: var(--apis-color-ink);
  background: var(--apis-color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--apis-color-brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--apis-color-brand-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--apis-color-brand); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--apis-font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--apis-color-ink); margin: 0 0 var(--apis-space-4); }
h1 { font-size: var(--apis-fs-h1); }
h2 { font-size: var(--apis-fs-h2); }
h3 { font-size: var(--apis-fs-h3); }
p { margin: 0 0 var(--apis-space-4); }

/* =========================================================
   3. SKIP LINK & ACCESSIBILITY
   ========================================================= */

.apis-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--apis-color-brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--apis-radius-sm);
  z-index: 9999;
}
.apis-skip-link:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   4. LAYOUT
   ========================================================= */

.apis-container { width: 100%; max-width: var(--apis-container); margin: 0 auto; padding: 0 var(--apis-space-5); }
.apis-container--narrow { max-width: var(--apis-container-narrow); }

.apis-section { padding: var(--apis-space-9) 0; }
.apis-section--tight { padding: var(--apis-space-7) 0; }
.apis-section--soft { background: var(--apis-color-bg-soft); }
.apis-section--tint { background: var(--apis-color-bg-tint); }

.apis-grid {
  display: grid;
  gap: var(--apis-space-5);
  grid-template-columns: repeat(12, 1fr);
}
.apis-grid > * { min-width: 0; }

.apis-eyebrow {
  display: inline-block;
  font-size: var(--apis-fs-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apis-color-brand);
  font-weight: 600;
  margin-bottom: var(--apis-space-3);
}

/* =========================================================
   5. BUTTONS
   ========================================================= */

.apis-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--apis-radius-pill);
  font-weight: 600;
  font-size: var(--apis-fs-base);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 48px;
  transition: transform var(--apis-dur-1) var(--apis-ease-out),
              box-shadow var(--apis-dur-1) var(--apis-ease-out),
              background-color var(--apis-dur-1) var(--apis-ease-out),
              color var(--apis-dur-1) var(--apis-ease-out);
}
.apis-btn:focus-visible { outline: 3px solid var(--apis-color-brand); outline-offset: 3px; }
.apis-btn--primary { background: var(--apis-color-brand); color: #fff; box-shadow: var(--apis-shadow-sm); }
.apis-btn--primary:hover { background: var(--apis-color-brand-strong); transform: translateY(-1px); box-shadow: var(--apis-shadow-md); color: #fff; }
.apis-btn--secondary { background: transparent; color: var(--apis-color-brand); border-color: var(--apis-color-brand); }
.apis-btn--secondary:hover { background: var(--apis-color-brand); color: #fff; }
.apis-btn--ghost { background: transparent; color: var(--apis-color-ink); }
.apis-btn--ghost:hover { background: var(--apis-color-bg-soft); }

/* =========================================================
   6. HEADER
   ========================================================= */

.apis-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--apis-color-line);
  transition: background-color var(--apis-dur-2) var(--apis-ease-out);
}
.apis-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: var(--apis-space-5);
}
.apis-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--apis-color-ink); font-weight: 700; letter-spacing: -0.01em; }
.apis-brand__mark { width: 28px; height: 28px; border-radius: 6px; background: var(--apis-color-brand); display: inline-block; position: relative; }
.apis-brand__mark::after { content: ""; position: absolute; inset: 6px; background: #fff; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
.apis-brand__name { font-size: 1.1rem; }
.apis-brand__sub { display: block; font-size: 11px; color: var(--apis-color-mute); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

.apis-nav { display: none; }
.apis-nav__list { display: flex; gap: var(--apis-space-5); list-style: none; margin: 0; padding: 0; }
.apis-nav__link { display: inline-block; padding: 10px 6px; color: var(--apis-color-ink); text-decoration: none; font-weight: 500; position: relative; }
.apis-nav__link::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 2px; background: var(--apis-color-brand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--apis-dur-2) var(--apis-ease-out); }
.apis-nav__link:hover::after, .apis-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.apis-nav__cta { display: none; }

@media (min-width: 1024px) {
  .apis-nav { display: block; }
  .apis-nav__cta { display: inline-flex; }
}

.apis-header__actions { display: inline-flex; align-items: center; gap: var(--apis-space-3); }
.apis-header__phone { display: none; }
@media (min-width: 768px) { .apis-header__phone { display: inline-flex; } }

.apis-menu-btn {
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--apis-color-line);
  border-radius: var(--apis-radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.apis-menu-btn span { display: block; width: 20px; height: 2px; background: var(--apis-color-ink); position: relative; }
.apis-menu-btn span::before, .apis-menu-btn span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--apis-color-ink); }
.apis-menu-btn span::before { top: -7px; }
.apis-menu-btn span::after { top: 7px; }

/* Mega menu */
.apis-mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--apis-color-line);
  box-shadow: var(--apis-shadow-md);
  display: none;
  padding: var(--apis-space-7) 0;
}
.apis-mega--open { display: block; }
.apis-mega__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--apis-space-7); }
.apis-mega__col h4 { font-size: var(--apis-fs-sm); text-transform: uppercase; letter-spacing: 0.12em; color: var(--apis-color-mute); margin-bottom: var(--apis-space-3); }
.apis-mega__col ul { list-style: none; padding: 0; margin: 0; }
.apis-mega__col li { margin-bottom: 6px; }
.apis-mega__col a { color: var(--apis-color-ink); text-decoration: none; padding: 6px 0; display: inline-block; }
.apis-mega__col a:hover { color: var(--apis-color-brand); }

/* =========================================================
   7. ANNOUNCEMENT BAR
   ========================================================= */

.apis-announce {
  background: var(--apis-color-brand);
  color: #fff;
  font-size: var(--apis-fs-sm);
  padding: 8px 0;
  position: relative;
  z-index: 101;
}
.apis-announce__inner { display: flex; align-items: center; gap: var(--apis-space-3); }
.apis-announce__msg { flex: 1; }
.apis-announce__msg a { color: #fff; text-decoration: underline; font-weight: 600; }
.apis-announce__close {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
}
.apis-announce[hidden] { display: none; }

/* =========================================================
   8. HERO
   ========================================================= */

.apis-hero {
  position: relative;
  padding: var(--apis-space-9) 0 var(--apis-space-8);
  background: linear-gradient(180deg, #ffffff 0%, var(--apis-color-bg-soft) 100%);
  overflow: hidden;
}
.apis-hero__inner { display: grid; gap: var(--apis-space-7); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .apis-hero__inner { grid-template-columns: 1.1fr 0.9fr; } }
.apis-hero__title { font-size: var(--apis-fs-h1); margin-bottom: var(--apis-space-4); }
.apis-hero__lede { font-size: var(--apis-fs-lg); color: var(--apis-color-ink-soft); margin-bottom: var(--apis-space-6); max-width: 56ch; }
.apis-hero__cta { display: flex; gap: var(--apis-space-3); flex-wrap: wrap; }
.apis-hero__art {
  aspect-ratio: 4/3;
  border-radius: var(--apis-radius-lg);
  background: var(--apis-color-brand-soft);
  box-shadow: var(--apis-shadow-lg);
  position: relative;
  overflow: hidden;
  margin: 0;
}
.apis-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Subtle Apple-style entrance */
.apis-hero__title, .apis-hero__lede, .apis-hero__cta { opacity: 0; transform: translateY(12px); }
.apis-hero.in-view .apis-hero__title { animation: apisRise var(--apis-dur-3) var(--apis-ease-out) 60ms forwards; }
.apis-hero.in-view .apis-hero__lede { animation: apisRise var(--apis-dur-3) var(--apis-ease-out) 180ms forwards; }
.apis-hero.in-view .apis-hero__cta { animation: apisRise var(--apis-dur-3) var(--apis-ease-out) 300ms forwards; }
@keyframes apisRise { to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   9. TRUST STRIP
   ========================================================= */

.apis-trust {
  background: var(--apis-color-brand);
  color: #fff;
  padding: var(--apis-space-6) 0;
}
.apis-trust__inner { display: flex; align-items: center; gap: var(--apis-space-5); flex-wrap: wrap; justify-content: space-between; }
.apis-trust__name { font-size: var(--apis-fs-lg); font-weight: 600; }
.apis-trust__lic { font-size: var(--apis-fs-sm); opacity: 0.85; }
.apis-trust__btn { background: #fff; color: var(--apis-color-brand); padding: 10px 18px; border-radius: var(--apis-radius-pill); text-decoration: none; font-weight: 600; }
.apis-trust__btn:hover { background: var(--apis-color-bg-soft); }

/* Trust strip — RCIC mini-card (rich variant) */
.apis-trust--rich { padding: var(--apis-space-7) 0; }
.apis-trust--rich .apis-trust__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--apis-space-6);
  align-items: center;
}
.apis-trust__photo {
  margin: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  flex: 0 0 96px;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.apis-trust__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apis-trust__photo-fallback {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}
.apis-trust__body { min-width: 0; }
.apis-trust__name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.apis-trust__credentials {
  margin-top: 4px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}
.apis-trust__postnominal { font-weight: 600; }
.apis-trust__sep { opacity: 0.6; }
.apis-trust__title { opacity: 0.92; }
.apis-trust__lic {
  margin-top: 6px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}
.apis-trust__offices {
  margin-top: 6px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  font-style: italic;
}
.apis-trust__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 200px;
}
.apis-trust__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: var(--apis-radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  white-space: nowrap;
  transition: background-color var(--apis-dur-1) var(--apis-ease-out), color var(--apis-dur-1) var(--apis-ease-out), transform var(--apis-dur-1) var(--apis-ease-out);
}
.apis-trust__btn--primary { background: #fff; color: var(--apis-color-brand); }
.apis-trust__btn--primary:hover { background: var(--apis-color-bg-tint); transform: translateY(-1px); }
.apis-trust__btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.apis-trust__btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

@media (max-width: 900px) {
  .apis-trust--rich .apis-trust__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: var(--apis-space-4);
  }
  .apis-trust__photo { grid-row: 1 / span 2; }
  .apis-trust__body { grid-column: 2; grid-row: 1; }
  .apis-trust__actions { grid-column: 1 / -1; grid-row: 2; flex-direction: row; }
  .apis-trust__btn { flex: 1; }
}

@media (max-width: 540px) {
  .apis-trust--rich .apis-trust__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .apis-trust__photo { margin: 0 auto; grid-row: 1; }
  .apis-trust__body { grid-column: 1; grid-row: 2; }
  .apis-trust__credentials { justify-content: center; }
  .apis-trust__actions { grid-column: 1; grid-row: 3; flex-direction: column; }
}

/* =========================================================
   10. CARDS (Programs, Services, etc.)
   ========================================================= */

.apis-card {
  background: #fff;
  border: 1px solid var(--apis-color-line);
  border-radius: var(--apis-radius-md);
  padding: var(--apis-space-6);
  transition: transform var(--apis-dur-2) var(--apis-ease-out), box-shadow var(--apis-dur-2) var(--apis-ease-out), border-color var(--apis-dur-2) var(--apis-ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--apis-space-3);
}
.apis-card:hover { transform: translateY(-2px); box-shadow: var(--apis-shadow-md); border-color: var(--apis-color-brand-soft); }
.apis-card__title { font-size: var(--apis-fs-h3); margin: 0; }
.apis-card__body { color: var(--apis-color-ink-soft); }
.apis-card__cta { margin-top: auto; color: var(--apis-color-brand); font-weight: 600; text-decoration: none; }

.apis-grid--cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--apis-space-5); }

/* =========================================================
   11. PROCESS STEPS
   ========================================================= */

.apis-steps { counter-reset: apis-step; display: grid; gap: var(--apis-space-5); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.apis-step {
  background: #fff;
  border-radius: var(--apis-radius-md);
  padding: var(--apis-space-6);
  border: 1px solid var(--apis-color-line);
  position: relative;
}
.apis-step::before {
  counter-increment: apis-step;
  content: counter(apis-step, decimal-leading-zero);
  position: absolute;
  top: -14px;
  left: -14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--apis-color-brand);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  box-shadow: var(--apis-shadow-sm);
}

/* =========================================================
   12. WHY-US LIST
   ========================================================= */

.apis-whyus { display: grid; gap: var(--apis-space-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.apis-whyus__item { display: flex; gap: var(--apis-space-3); }
.apis-whyus__icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 8px; background: var(--apis-color-brand-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--apis-color-brand); font-weight: 700; }
.apis-whyus__title { margin: 0 0 4px; font-size: var(--apis-fs-lg); }

/* =========================================================
   13. FAQ
   ========================================================= */

.apis-faq { border-top: 1px solid var(--apis-color-line); }
.apis-faq__item { border-bottom: 1px solid var(--apis-color-line); }
.apis-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 0;
  padding: var(--apis-space-5) 0;
  text-align: left;
  font-weight: 600;
  font-size: var(--apis-fs-lg);
  color: var(--apis-color-ink);
  cursor: pointer;
}
.apis-faq__q::after { content: "+"; font-size: 24px; font-weight: 400; transition: transform var(--apis-dur-2) var(--apis-ease-out); }
.apis-faq__item[open] .apis-faq__q::after { transform: rotate(45deg); }
.apis-faq__a { padding: 0 0 var(--apis-space-5); color: var(--apis-color-ink-soft); }

/* =========================================================
   14. FOOTER
   ========================================================= */

.apis-footer {
  background: #07172e;
  color: rgba(255, 255, 255, 0.85);
  padding: var(--apis-space-9) 0 var(--apis-space-5);
  font-size: var(--apis-fs-sm);
}
.apis-footer a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.apis-footer a:hover { color: #fff; text-decoration: underline; }
.apis-footer__grid { display: grid; gap: var(--apis-space-7); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: var(--apis-space-7); }
.apis-footer__col h4 { color: #fff; font-size: var(--apis-fs-sm); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--apis-space-3); }
.apis-footer__col ul { list-style: none; padding: 0; margin: 0; }
.apis-footer__col li { margin-bottom: 6px; }
.apis-footer__bottom {
  display: flex; gap: var(--apis-space-4); flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--apis-space-5);
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   15. RCIC DISCLAIMER
   ========================================================= */

.apis-disclaimer {
  background: #f0f3f9;
  border-left: 4px solid var(--apis-color-brand);
  padding: var(--apis-space-5);
  margin: var(--apis-space-7) 0;
  font-size: var(--apis-fs-sm);
  color: var(--apis-color-ink-soft);
  border-radius: 0 var(--apis-radius-sm) var(--apis-radius-sm) 0;
}

/* =========================================================
   16. MOBILE STICKY CTA BAR
   ========================================================= */

.apis-sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: #fff;
  border-top: 1px solid var(--apis-color-line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 -2px 14px rgba(11, 31, 58, 0.08);
}
.apis-sticky-cta a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  border-radius: var(--apis-radius-pill);
  text-decoration: none;
  font-weight: 600;
}
.apis-sticky-cta .apis-call { background: var(--apis-color-ink); color: #fff; }
.apis-sticky-cta .apis-book { background: var(--apis-color-brand); color: #fff; }
@media (min-width: 1024px) {
  .apis-sticky-cta { display: none; }
  body { padding-bottom: 0; }
}
body { padding-bottom: 76px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* =========================================================
   17. WHATSAPP BUBBLE
   ========================================================= */

.apis-wa {
  position: fixed;
  right: 20px; bottom: 92px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--apis-shadow-md);
  text-decoration: none;
  z-index: 98;
}
.apis-wa svg { width: 26px; height: 26px; fill: #fff; }
@media (min-width: 1024px) { .apis-wa { bottom: 28px; right: 28px; } }

/* =========================================================
   18. COOKIE BANNER
   ========================================================= */

.apis-cookie {
  position: fixed; left: 16px; right: 16px; bottom: 88px;
  background: #07172e; color: #fff;
  padding: var(--apis-space-5);
  border-radius: var(--apis-radius-md);
  box-shadow: var(--apis-shadow-lg);
  display: none;
  z-index: 200;
  max-width: 480px;
  margin: 0 auto;
}
.apis-cookie[data-show="1"] { display: block; }
.apis-cookie p { margin: 0 0 var(--apis-space-3); font-size: var(--apis-fs-sm); color: rgba(255,255,255,0.9); }
.apis-cookie__actions { display: flex; gap: var(--apis-space-2); }
.apis-cookie__btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--apis-radius-pill);
  border: 0;
  cursor: pointer;
  font-weight: 600;
}
.apis-cookie__btn--accept { background: #fff; color: var(--apis-color-brand); }
.apis-cookie__btn--decline { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: #fff; }

/* =========================================================
   19. UTILITIES
   ========================================================= */

.apis-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;
}

.apis-text-center { text-align: center; }
.apis-mt-0 { margin-top: 0 !important; }
.apis-mb-0 { margin-bottom: 0 !important; }
.apis-mb-3 { margin-bottom: var(--apis-space-3); }
.apis-mb-5 { margin-bottom: var(--apis-space-5); }
.apis-mb-7 { margin-bottom: var(--apis-space-7); }