/* Self-hosted variable font (same origin, single ~20KB file covers weights 400-800) —
   replaces the fonts.googleapis.com/fonts.gstatic.com two-hop render-blocking chain. */
@font-face{
  font-family:'Figtree';
  src:url('/fonts/figtree-variable-latin.woff2') format('woff2-variations'), url('/fonts/figtree-variable-latin.woff2') format('woff2');
  font-weight:400 800;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{
  color-scheme:light;
  /* Brand palette: Signal Blue + Porcelain */
  --blue:#0057ff;         /* primary interactive: CTAs, selected states, links, focus */
  --blue-hover:#0044cc;
  --blue-pale:#e8efff;    /* light tint for chips / soft backgrounds */
  --blue-border:#cfdfff;
  --ink:#0a1e3f;          /* headings & high-emphasis text — deep blue-black */
  --ink-hover:#071733;
  --porcelain:#f8f7f4;    /* page background */
  --bg:var(--porcelain);
  --card:#ffffff;
  --text:#1b2333;
  --muted:#5c6577;
  --border:#e7e3dc;
  --border-input:#858c99; /* >=3:1 against both the white card and the porcelain field fill */
  --danger:#c0362c;
  --danger-bg:#fdecea;
  --radius:14px;
  --shadow:0 4px 18px rgba(0,87,255,0.08);
  --shadow-lg:0 12px 32px rgba(10,30,63,0.18);
  --dur-fast:150ms;
  --dur:250ms;
  --ease:cubic-bezier(.22,.61,.36,1);
  --focus-ring:0 0 0 3px rgba(0,87,255,0.35), 0 0 0 1.5px var(--blue);
  --on-blue-muted:#e4edf9; /* AA-safe replacement for the old navy/teal-era #cfe0ee (4.05:1, fails AA) */
  /* --scroll-progress-h, --nav-h and --sticky-h are measured and written by JS (sticky-chrome heights vary with content) */
}

*{box-sizing:border-box;}
html{
  -webkit-text-size-adjust:100%;
  scroll-padding-top:calc(var(--nav-h, 48px) + 8px);
  scroll-padding-bottom:calc(var(--sticky-h, 80px) + 8px);
}
html,body{margin:0;padding:0;}
body{
  font-family:'Figtree','Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
  font-size:16px;
  padding-bottom:40px;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--blue);}
a:hover{color:var(--blue-hover);}

/* Motion: default transitions, killed by reduced-motion query below */
.card, .pill label, .rating-pills label, .submit-btn, .progress-fill{
  transition:transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease),
             border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
             opacity var(--dur) var(--ease), color var(--dur-fast) var(--ease);
}
@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;
  }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:none;
  box-shadow:var(--focus-ring);
  border-radius:8px;
}
/* Pill radios (role, ratings, yes/no) hide the input, so the ring goes on its label. */
.pill input:focus-visible + label{box-shadow:var(--focus-ring);}
.rating-pills .pill input:checked:focus-visible + label{box-shadow:var(--focus-ring), 0 4px 14px rgba(0,87,255,0.35);}

/* Skip link */
.skip-link{
  position:absolute;
  left:12px; top:-60px;
  background:var(--ink);
  color:#fff;
  padding:10px 16px;
  border-radius:8px;
  font-weight:600;
  font-size:14px;
  z-index:1000;
  transition:top var(--dur-fast) var(--ease);
}
.skip-link:focus{top:12px;}

/* Top scroll-progress bar */
#scrollProgress{
  position:sticky;
  top:0;
  left:0;
  height:4px;
  width:100%;
  background:var(--blue-pale);
  z-index:60;
}
#scrollProgress .progress-fill{
  height:100%;
  width:0%;
  background:var(--blue);
  transition:width 80ms linear;
}

/* Section step nav */
#stepNav{
  position:-webkit-sticky;
  position:sticky;
  top:var(--scroll-progress-h,4px);
  z-index:55;
  background:var(--card);
  border-bottom:1px solid var(--border);
  display:flex;
  overflow-x:auto;
  scrollbar-width:none;
  box-shadow:0 2px 8px rgba(0,87,255,0.08);
}
#stepNav::-webkit-scrollbar{display:none;}
#stepNav button{
  flex:1 0 auto;
  min-width:max-content;
  background:none;
  border:none;
  padding:11px 16px;
  font-family:inherit;
  font-size:12.5px;
  font-weight:600;
  color:var(--muted);
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
  border-bottom:3px solid transparent;
  white-space:nowrap;
}
#stepNav button .dot{
  width:20px;height:20px;
  border-radius:50%;
  background:var(--border);
  color:var(--ink);
  font-size:12px;
  font-weight:800;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
@media (max-width:380px){
  #stepNav button .dot{width:22px;height:22px;font-size:12.5px;}
  #stepNav button{padding:11px 12px;}
}
#stepNav button[aria-current="true"]{
  color:var(--ink);
  border-bottom-color:var(--blue);
}
#stepNav button[aria-current="true"] .dot{
  background:var(--blue);
  color:#fff;
}
#stepNav button.done .dot{color:transparent;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' fill-rule='evenodd' clip-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z'/%3E%3C/svg%3E") center/12px no-repeat;}
/* Kiswahili needs ~490px for all four labels, so phones show only the current one (the rest stay in the accessibility tree). */
@media (max-width:639px){
  #stepNav button{justify-content:center;min-height:44px;padding:11px 12px;}
  #stepNav button:not([aria-current="true"]) [data-i18n]{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
}

/* Header */
header{
  background:linear-gradient(160deg,var(--blue) 0%,#0048dd 100%);
  color:#fff;
  padding:26px 20px 32px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
header::after{
  content:"";
  position:absolute;
  bottom:0;left:0;right:0;
  height:5px;
  background:var(--porcelain);
}
.logo-wrap{
  --badge-w:212px;
  --badge-h:96px;
  --badge-r:24px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
}
/* Breathing halo behind the badge — plays 3 times then stops so it doesn't
   keep pulling attention off the form. Respects the project's global reduced-motion rule
   (near-zero animation-duration), so it's automatically inert for those users. */
.logo-wrap::before,
.logo-wrap::after{
  content:"";
  position:absolute;
  width:var(--badge-w);
  height:var(--badge-h);
  border-radius:var(--badge-r);
  border:2px solid rgba(255,255,255,0.8);
  opacity:0;
  animation:logoPulse 2.8s var(--ease) 3;
  pointer-events:none;
}
.logo-wrap::after{animation-delay:1.4s;}
@keyframes logoPulse{
  0%{transform:scale(0.9);opacity:0.6;}
  75%{transform:scale(1.15);opacity:0;}
  100%{opacity:0;}
}
/* Opaque white: a translucent fill over Signal Blue tints the badge light blue
   and muddies the logo's own teal/navy. */
.logo-badge{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:var(--badge-w);
  height:var(--badge-h);
  border-radius:var(--badge-r);
  background:#fff;
  border:1.5px solid rgba(255,255,255,0.55);
  cursor:pointer;
  box-shadow:0 4px 16px rgba(0,0,0,0.2), 0 0 0 4px rgba(255,255,255,0.14), inset 0 1px 0 rgba(255,255,255,0.6);
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  -webkit-tap-highlight-color:transparent;
  overflow:hidden;
}
/* Diagonal shine sweep — plays once on hover for a distinctive "polished
   glass" interaction cue rather than a plain scale-up. */
.logo-badge::after{
  content:"";
  position:absolute;
  top:-60%;left:-120%;
  width:60%;height:220%;
  background:linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
  transform:rotate(0deg);
  transition:left 0.65s var(--ease);
  pointer-events:none;
}
.logo-badge:hover::after{left:120%;}
.logo-badge:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 10px 26px rgba(0,0,0,0.26), 0 0 0 6px rgba(255,255,255,0.2), inset 0 1px 0 rgba(255,255,255,0.7);
}
.logo-badge:active{transform:translateY(0) scale(0.96);}
.logo-badge:focus-visible{outline:none;box-shadow:var(--focus-ring), 0 4px 16px rgba(0,0,0,0.2);}
.logo-badge .logo-img{
  width:176px;
  height:auto;
  object-fit:contain;
  display:block;
  pointer-events:none;
  transition:transform var(--dur) var(--ease);
}
.logo-badge:hover .logo-img{transform:scale(1.05);}
.vh{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.lang-toggle{
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:6px;
  min-height:44px;
  padding:0 14px;
  border-radius:999px;
  border:1.5px solid rgba(255,255,255,0.8);
  background:rgba(7,23,51,0.18);
  color:#fff;
  font-family:inherit;
  font-size:12.5px;
  font-weight:700;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.lang-toggle:hover{background:rgba(7,23,51,0.3);border-color:#fff;}
.lang-toggle:active{transform:scale(0.96);}
.lang-toggle:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(255,255,255,0.55);}
.lang-toggle svg{flex-shrink:0;}
.lang-toggle.share-btn{right:auto;left:14px;}
.share-btn.copied{background:rgba(255,255,255,0.95);color:var(--blue);border-color:#fff;}
header h1{
  margin:4px 0 10px;
  font-size:22px;
  font-weight:800;
  letter-spacing:-0.2px;
}
header p.sub{
  margin:0 auto;
  max-width:520px;
  font-size:14.5px;
  color:var(--on-blue-muted);
  font-weight:400;
}

/* Container */
.wrap{
  max-width:640px;
  margin:-18px auto 0;
  padding:0 16px;
}
.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px 20px;
  margin-bottom:16px;
  border:1px solid var(--border);
}
.card h2{
  font-size:16px;
  margin:0 0 4px;
  color:var(--ink);
  display:flex;
  align-items:center;
  gap:10px;
}
.card .section-desc{
  font-size:13px;
  color:var(--muted);
  margin:2px 0 16px 34px;
}
#ratingsProgress{font-weight:600;color:var(--blue);white-space:nowrap;}
@media (max-width:640px){
  #ratingsProgress{display:block;margin-top:4px;}
}
.card h2 .num{
  background:var(--blue);
  color:#fff;
  width:26px;height:26px;
  border-radius:50%;
  font-size:13px;
  font-weight:700;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
fieldset{border:none;margin:0;padding:0;}
legend{padding:0;width:100%;}

.required::after{
  content:" *";
  color:var(--danger);
}

/* Pill groups (multi-choice) */
.pill-group{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pill{position:relative;}
.pill input{
  position:absolute;
  opacity:0;
  width:100%;height:100%;
  cursor:pointer;
  margin:0;
  top:0;left:0;
}
.pill label{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:9px 16px;
  border:1.5px solid var(--border);
  border-radius:999px;
  font-size:14px;
  color:var(--text);
  cursor:pointer;
  background:var(--bg);
}
.pill input:checked + label{
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
  font-weight:600;
}
.pill label:hover{border-color:var(--blue);}
.pill label:active{transform:scale(0.97);}

.field-error{
  display:none;
  align-items:center;
  gap:6px;
  margin-top:10px;
  padding:8px 12px;
  border-radius:8px;
  background:var(--danger-bg);
  color:var(--danger);
  font-size:13px;
  font-weight:600;
}
.field-error.show{display:flex;}
.field-error svg{flex-shrink:0;}
.has-error .pill label{border-color:var(--danger);}

/* Rating rows — alternating tint + left accent bar so each question reads
   as its own block and doesn't blur into the next one. Redesigned
   2026-07-28 with a numbered badge, a connecting track behind the scale,
   and a checked-state glow — still strictly Signal Blue/monochrome, no
   per-score colour gradient (this page's palette rule is one accent). */
.rating-row{
  padding:18px 14px 20px;
  margin:0 -14px 14px;
  border-radius:12px;
  border-left:3px solid transparent;
  box-shadow:0 1px 0 rgba(10,30,63,0.04);
  transition:background var(--dur-fast) var(--ease);
}
.rating-row:nth-of-type(odd){background:#f3f1ec;border-left-color:#ddd6c8;}
.rating-row:nth-of-type(even){background:var(--blue-pale);border-left-color:var(--blue-border);}
.rating-row:last-child{padding-bottom:20px;margin-bottom:0;}
@media (max-width:640px){
  .rating-row{margin:0 -14px 18px;}
}
.rating-row.has-error .rating-pills label{border-color:var(--danger);}
.rating-row.has-error .q-label{color:var(--danger);}
.rating-row.has-error .q-index{background:var(--danger);}
/* Floated, the legend is laid out inside the fieldset box instead of straddling its top edge,
   so a two-line question stays inside its tint. */
.rating-row .q-label{
  float:left;
  width:100%;
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14.5px;
  font-weight:600;
  color:var(--ink);
  margin-bottom:14px;
  line-height:1.35;
}
.rating-row .q-index{
  flex-shrink:0;
  width:22px;height:22px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  font-size:12px;
  font-weight:700;
  display:flex;align-items:center;justify-content:center;
  margin-top:1px;
  transition:background var(--dur-fast) var(--ease);
}
.rating-pills{
  clear:both;
  position:relative;
  display:flex;
  justify-content:space-between;
  gap:6px;
}
/* Connecting track behind the 5 pills — reads as one continuous scale
   rather than five disconnected buttons. */
.rating-pills::before{
  content:"";
  position:absolute;
  left:22px;right:22px;
  top:50%;
  height:2px;
  background:var(--border);
  z-index:0;
}
.rating-pills .pill{flex:1;position:relative;z-index:1;}
.rating-pills input{position:absolute;opacity:0;width:100%;height:100%;cursor:pointer;top:0;left:0;}
.rating-pills label{
  display:flex;align-items:center;justify-content:center;
  height:44px;
  border:1.5px solid var(--border);
  border-radius:10px;
  font-weight:700;
  font-size:15px;
  color:var(--ink);
  background:var(--card);
  cursor:pointer;
  transition:background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.rating-pills label:hover{border-color:var(--blue);}
.rating-pills input:checked + label{
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
  transform:scale(1.08);
  box-shadow:0 4px 14px rgba(0,87,255,0.35);
}
.rating-pills label:active{transform:scale(0.95);}
.scale-caption{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:4px;
  font-size:12px;
  font-weight:600;
  color:var(--muted);
  margin-top:8px;
  padding:0 2px;
  letter-spacing:0.02em;
  text-transform:uppercase;
}
.scale-caption span{display:flex;align-items:center;gap:5px;}
.scale-caption svg{flex-shrink:0;opacity:0.75;}
@media (prefers-reduced-motion:no-preference){
  .rating-pills input:checked + label{animation:ratingPop 0.28s var(--ease);}
}
@keyframes ratingPop{
  0%{transform:scale(1);}
  50%{transform:scale(1.16);}
  100%{transform:scale(1.08);}
}

/* Form fields */
.field-label{
  display:block;
  font-size:14px;
  font-weight:600;
  color:var(--ink);
  margin-bottom:8px;
}
input[type=text], input[type=tel], input[type=email], textarea{
  width:100%;
  min-height:44px;
  padding:11px 13px;
  border:1.5px solid var(--border-input);
  border-radius:10px;
  font-size:16px;
  font-family:inherit;
  color:var(--text);
  background:var(--bg);
}
input::placeholder, textarea::placeholder{color:var(--muted);opacity:1;}
input:focus, textarea:focus{
  outline:none;
  border-color:var(--blue);
  background:var(--card);
}
input.is-invalid, textarea.is-invalid{
  border-color:var(--danger);
}
textarea{resize:vertical;min-height:76px;line-height:1.5;}
.visit-date-line{display:flex;align-items:center;gap:6px;margin:4px 0 0;font-size:13.5px;color:var(--muted);}
.visit-date-line svg{color:var(--blue);flex-shrink:0;}
.visit-date-line strong{color:var(--ink);font-weight:600;}
.field{margin-bottom:16px;}
.hint{font-size:12.5px;color:var(--muted);margin-top:5px;}

.yesno{display:flex;gap:10px;}
.yesno .pill label{padding:9px 22px;}

.checkbox-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  background:var(--blue-pale);
  border:1px solid var(--blue-border);
  border-radius:10px;
  padding:12px 14px;
  min-height:44px;
  cursor:pointer;
}
.checkbox-row input{
  margin-top:3px;
  width:20px;height:20px;
  accent-color:var(--blue);
  cursor:pointer;
  flex-shrink:0;
}
.checkbox-row span{font-size:13.5px;color:var(--text);}

/* Submit */
.submit-btn{
  width:100%;
  background:var(--blue);
  color:#fff;
  border:none;
  min-height:52px;
  padding:15px;
  font-size:16px;
  font-family:inherit;
  font-weight:700;
  border-radius:12px;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(0,87,255,0.32);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.submit-btn:hover{background:var(--blue-hover);}
.submit-btn:active{transform:scale(0.98);}
.submit-btn:disabled{opacity:0.75;cursor:progress;}
.submit-btn .spinner{
  width:18px;height:18px;
  border-radius:50%;
  border:2.5px solid rgba(255,255,255,0.4);
  border-top-color:#fff;
  animation:spin 700ms linear infinite;
  display:none;
  flex-shrink:0;
}
.submit-btn.loading .spinner{display:block;}
@keyframes spin{to{transform:rotate(360deg);}}

.sticky-submit{
  position:sticky;
  bottom:0;
  z-index:50;
  background:linear-gradient(to top, var(--porcelain) 70%, rgba(248,247,244,0));
  padding:14px 16px calc(14px + env(safe-area-inset-bottom));
  margin:0 auto;
  max-width:640px;
}
.sticky-submit{display:flex;flex-wrap:wrap;align-items:center;gap:10px;}
.sticky-submit .submit-btn{flex:1 1 0;width:auto;box-shadow:0 -4px 20px rgba(10,30,63,0.12), 0 6px 16px rgba(0,87,255,0.32);}
.sticky-submit #submitError{flex:1 0 100%;margin:0;}
.submit-btn .btn-count{font-size:12.5px;font-weight:700;padding:2px 9px;border-radius:999px;background:rgba(10,30,63,0.28);font-variant-numeric:tabular-nums;}
.submit-btn .btn-count:empty{display:none;}
/* Lighter than the complete state but still >=4.5:1 against the white label. */
.submit-btn.is-incomplete{background:#2f6af0;}
.submit-btn.is-incomplete:hover{background:#2a60e0;}
.sticky-submit #submitError:focus{outline:none;}
.error-summary{flex:1 0 100%;background:var(--danger-bg);border:1px solid #f3c3bd;border-radius:12px;padding:8px 10px 10px;}
.error-summary[hidden], .error-jump[hidden]{display:none;}
.error-summary-title{margin:0 0 6px;font-size:13px;line-height:1.35;font-weight:700;color:var(--danger);}
.error-jumps{display:flex;flex-wrap:wrap;gap:6px;}
.error-jump{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:1.5px solid var(--danger);border-radius:999px;background:#fff;color:var(--danger);font-family:inherit;font-size:13.5px;font-weight:600;cursor:pointer;}
.error-jump:focus-visible{outline:none;box-shadow:var(--focus-ring);}
.jump-count{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--danger);color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;}
.jump-count:empty{display:none;}
/* Phones: one scrollable row of chips so the open summary never hides the field it points to. */
@media (max-width:639px){
  .error-summary{min-width:0;padding:6px 8px;}
  .error-summary-title{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
  .error-jumps{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(to right,#000 85%,transparent);mask-image:linear-gradient(to right,#000 85%,transparent);scroll-snap-type:x proximity;}
  .error-jumps::-webkit-scrollbar{display:none;}
  .error-jump{flex:none;white-space:nowrap;scroll-snap-align:start;}
}

/* margin-top clears the -18px strip under the positioned header, which would otherwise paint over it. */
.draft-banner{align-items:center;gap:8px;background:var(--blue-pale);border:1px solid var(--blue-border);border-radius:10px;padding:4px 4px 4px 14px;margin:18px 0 16px;font-size:13.5px;line-height:1.4;color:var(--ink);}
.draft-banner span{flex:1 1 auto;min-width:0;padding:8px 0;}
.draft-banner button{flex:none;min-height:44px;padding:0 12px;background:none;border:none;color:var(--blue);font-family:inherit;font-size:13.5px;font-weight:700;cursor:pointer;}
.draft-banner button:focus-visible{box-shadow:var(--focus-ring);}

.confidential-note{
  text-align:center;
  font-size:12px;
  color:var(--muted);
  margin:14px 4px 0;
  font-style:italic;
}

/* WhatsApp: docked beside Submit inside the sticky bar on phones and tablets, floating
   bottom-left on desktop. The pulse plays 3 times, then stops. */
.whatsapp-fab{
  position:relative;
  flex:none;
  width:54px;
  height:54px;
  border-radius:50%;
  background:#25d366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 16px rgba(0,0,0,0.18);
  transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  -webkit-tap-highlight-color:transparent;
}
.whatsapp-fab::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  border:2px solid rgba(37,211,102,0.65);
  opacity:0;
  animation:waPulseDocked 2.6s var(--ease) 3;
  pointer-events:none;
}
@keyframes waPulseDocked{
  0%{transform:scale(1);opacity:0.55;}
  75%{transform:scale(1.3);opacity:0;}
  100%{opacity:0;}
}
@keyframes waPulse{
  0%{transform:scale(1);opacity:0.55;}
  75%{transform:scale(1.55);opacity:0;}
  100%{opacity:0;}
}
.whatsapp-fab svg{width:28px;height:28px;position:relative;z-index:1;}
.whatsapp-fab:active{transform:scale(0.95);}
.whatsapp-fab:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(37,211,102,0.55), 0 6px 18px rgba(0,0,0,0.26);
}
@media (hover:hover){
  .whatsapp-fab:hover{
    transform:scale(1.08);
    box-shadow:0 10px 24px rgba(0,0,0,0.3), 0 2px 6px rgba(0,0,0,0.16);
  }
}
/* The desktop button is position:fixed inside .sticky-submit, so that bar must never get
   transform, filter, backdrop-filter, contain or will-change (they would trap it). */
@media (min-width:1024px){
  .whatsapp-fab{
    position:fixed;
    left:16px;
    bottom:calc(84px + env(safe-area-inset-bottom));
    z-index:70;
    width:56px;
    height:56px;
    box-shadow:0 6px 18px rgba(0,0,0,0.26), 0 2px 6px rgba(0,0,0,0.14);
  }
  .whatsapp-fab::before{animation-name:waPulse;}
  .whatsapp-fab svg{width:30px;height:30px;}
  .whatsapp-fab.fab-lowered{bottom:calc(20px + env(safe-area-inset-bottom));}
}

/* Find Us — map card */
.location-section{
  text-align:center;
  padding:22px 20px 6px;
}
.location-section h2{
  font-size:15px;
  color:var(--ink);
  margin:0 0 4px;
  font-weight:700;
}
.location-section .location-caption{
  font-size:12.5px;
  color:var(--muted);
  margin:0 0 16px;
  max-width:380px;
  margin-left:auto;
  margin-right:auto;
}
.location-frame{
  display:inline-flex;
  width:100%;
  max-width:440px;
  padding:3px;
  border-radius:24px;
  background:linear-gradient(135deg, var(--blue) 0%, var(--blue-pale) 55%, var(--blue) 100%);
  background-size:220% 220%;
  background-position:0% 50%;
  transition:background-position 900ms var(--ease);
}
.location-frame:hover,
.location-frame:focus-within{
  background-position:100% 50%;
}
.location-card{
  display:flex;
  flex-direction:column;
  width:100%;
  background:#ffffff;
  border-radius:21px;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  text-align:left;
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* Hover-capable pointers only: on touch, panning the map would lift the card and crop the map. */
@media (hover:hover){
  .location-frame:hover .location-card,
  .location-frame:focus-within .location-card{
    transform:translateY(-4px);
    box-shadow:0 20px 44px rgba(10,30,63,0.26);
  }
}
.location-card .map-wrap{
  position:relative;
  overflow:hidden;
  line-height:0;
}
.location-card iframe{
  display:block;
  width:100%;
  height:225px;
  border:0;
  transition:transform 600ms var(--ease);
}
@media (hover:hover){
  .location-frame:hover .location-card iframe,
  .location-frame:focus-within .location-card iframe{
    transform:scale(1.07);
  }
}
.location-card iframe[hidden],
.map-placeholder[hidden]{display:none;}
.map-placeholder{
  height:225px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:34px 16px 22px;
  line-height:1.3;
  text-align:center;
  background:
    linear-gradient(118deg, transparent 47%, rgba(255,255,255,0.95) 47%, rgba(255,255,255,0.95) 53%, transparent 53%),
    linear-gradient(28deg, transparent 58%, rgba(255,255,255,0.8) 58%, rgba(255,255,255,0.8) 62%, transparent 62%),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(0,87,255,0.07) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(0,87,255,0.07) 27px 28px),
    var(--blue-pale);
}
.map-placeholder-pin{
  width:44px;height:44px;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  background:var(--blue);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 14px rgba(0,87,255,0.3);
}
.map-placeholder-pin svg{transform:rotate(45deg);}
.map-placeholder-addr{
  font-size:13px;
  font-weight:700;
  color:var(--ink);
  background:rgba(255,255,255,0.92);
  padding:3px 10px;
  border-radius:999px;
}
.map-show-btn{
  min-height:44px;
  padding:0 20px;
  border-radius:999px;
  border:1.5px solid var(--blue);
  background:#fff;
  color:var(--blue);
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:background var(--dur-fast) var(--ease);
}
.map-show-btn:hover{background:var(--blue-pale);}
.map-show-btn:focus-visible{outline:none;box-shadow:var(--focus-ring);}
/* soft fade where the map meets the address panel, so the two feel like one piece */
.location-card .map-wrap::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:46px;
  background:linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 100%);
  pointer-events:none;
}
.location-card .map-wrap:has(iframe:not([hidden]))::after{display:none;}
.location-card .map-corner{
  position:absolute;
  width:20px;height:20px;
  border:3px solid #fff;
  opacity:0.9;
  filter:drop-shadow(0 1px 3px rgba(10,30,63,0.35));
  pointer-events:none;
  z-index:1;
}
.location-card .map-corner.tl{top:9px;left:9px;border-right:none;border-bottom:none;border-top-left-radius:6px;}
.location-card .map-corner.tr{top:9px;right:9px;border-left:none;border-bottom:none;border-top-right-radius:6px;}
.location-card .map-pin-badge{
  position:absolute;
  top:12px;
  left:50%;
  transform:translateX(-50%);
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 13px 6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(2px);
  color:var(--ink);
  font-size:12px;
  font-weight:700;
  letter-spacing:0.01em;
  box-shadow:0 4px 12px rgba(10,30,63,0.22);
  pointer-events:none;
}
.location-card .map-pin-badge svg{color:var(--blue);flex-shrink:0;}
.location-card .location-body{
  position:relative;
  padding:6px 18px 18px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.location-card .location-addr{
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:12px 14px;
  border-radius:14px;
  background:var(--blue-pale);
  border:1px solid var(--blue-border);
  font-size:13.5px;
  line-height:1.5;
  color:var(--ink);
}
.location-card .location-addr .pin-icon{
  flex-shrink:0;
  width:26px;height:26px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}
.directions-btn{
  align-self:stretch;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:0 20px;
  border-radius:12px;
  background:var(--blue);
  color:#fff;
  font-weight:700;
  font-size:14.5px;
  text-decoration:none;
  transition:background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.directions-btn:hover{background:var(--blue-hover);box-shadow:0 8px 20px rgba(0,87,255,0.32);transform:translateY(-1px);}
.directions-btn:active{transform:scale(0.98) translateY(0);}
.directions-btn:focus-visible{outline:none;box-shadow:var(--focus-ring);}
.location-actions{display:flex;gap:10px;}
.location-actions .directions-btn{flex:1 1 0;padding:0 12px;}
.share-loc-btn{background:#fff;color:var(--blue);border:1.5px solid var(--blue);font-family:inherit;cursor:pointer;}
.share-loc-btn:hover{background:var(--blue-pale);color:var(--blue);box-shadow:0 8px 20px rgba(0,87,255,0.16);}
.share-loc-btn.copied,.share-loc-btn.copied:hover{background:var(--blue);color:#fff;}
@media (max-width:419px){
  .location-actions{flex-direction:column;}
}
@media (min-width:480px){
  .location-actions{align-self:flex-start;}
  .location-actions .directions-btn{flex:0 0 auto;padding:0 26px;}
}

/* Social row */
.social-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:16px;
}
.social-row a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--card);
  border:1.5px solid var(--border);
  color:var(--ink);
  transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.social-row a:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(10,30,63,0.14);
}
.social-row a:active{transform:translateY(0) scale(0.96);}
.social-row a:focus-visible{outline:none;box-shadow:var(--focus-ring);}
.social-row a svg{width:19px;height:19px;}
.social-row a.social-fb{border-color:#1877f2;}
.social-row a.social-fb:hover{background:#1877f2;color:#fff;}
.social-row a.social-ig{border-color:#c8259b;}
.social-row a.social-ig:hover{background:linear-gradient(135deg,#f9ce34,#ee2a7b 55%,#6228d7);color:#fff;}
.social-row a.social-web{border-color:var(--blue);}
.social-row a.social-web:hover{background:var(--blue);color:#fff;}

footer{
  text-align:center;
  padding:26px 16px 10px;
  font-size:12.5px;
  color:var(--muted);
}
@media (max-width:640px){
  .footer-tagline{display:none;}
}
footer .contact-line{
  margin-top:8px;
  color:var(--ink);
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0 16px;
  flex-wrap:wrap;
}
footer .contact-line a{
  color:var(--ink);
  text-decoration:none;
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:6px;
}
footer .contact-line a:hover{color:var(--blue);}
footer svg{flex-shrink:0;}

/* Success overlay */
#successOverlay{
  display:none;
  position:fixed;inset:0;
  background:rgba(10,30,63,0.55);
  align-items:center;justify-content:center;
  padding:20px;
  z-index:999;
}
#successOverlay.show{display:flex;}
#successOverlay .box{
  background:var(--card);
  border-radius:18px;
  padding:34px 26px;
  text-align:center;
  max-width:340px;
  box-shadow:var(--shadow-lg);
}
#successOverlay .check{
  width:60px;height:60px;
  border-radius:50%;
  background:var(--blue-pale);
  color:var(--blue);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
}
#successOverlay h3{margin:0 0 8px;color:var(--ink);font-size:19px;}
#successOverlay p{margin:0 0 18px;color:var(--muted);font-size:14px;}
#successOverlay p.success-follow{margin:0 0 10px;font-size:13px;font-weight:700;color:var(--ink);}
#successOverlay .success-social{margin:0 0 20px;justify-content:center;}
#successOverlay button{
  background:var(--ink);
  color:#fff;border:none;
  min-height:44px;
  padding:11px 24px;
  border-radius:10px;
  font-family:inherit;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
}
#successOverlay button:hover{background:var(--ink-hover);}

@media (max-width:639px){
  header{padding:60px 16px 22px;}
  .lang-toggle{top:8px;right:12px;}
  .lang-toggle.share-btn{right:auto;left:12px;}
  .logo-wrap{--badge-w:148px;--badge-h:66px;--badge-r:18px;margin-bottom:10px;}
  .logo-badge .logo-img{width:122px;}
  header h1{margin:0 0 6px;line-height:1.25;}
}
@media (min-width:640px){
  header{padding:34px 20px 40px;}
  header h1{font-size:25px;}
  .card{padding:26px 28px;}
}

@media (max-width:380px){
  .rating-pills label{font-size:13.5px;} /* height stays 44px — minimum touch target, per project convention */
  header h1{font-size:19px;}
}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
