/* Small polish on top of the Next.js build: the header reads in Poppins,
   like the logo and headings. Content and buttons are unchanged. */
header,
header a,
header nav a,
header p,
header span,
header button {
  font-family: Poppins, "Poppins Fallback", ui-sans-serif, system-ui, sans-serif;
}
header nav a { letter-spacing: -0.005em; }
header nav a:hover {
  text-decoration: underline;
  text-decoration-color: #f2b400;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Hero card: the Servmitr "Jump Start On the Go" image exactly as supplied,
   on its own. The card's label row and tag row are hidden. Done in CSS so
   the page's own markup is untouched. */
.bg-ink:has(> svg[viewBox="0 0 420 360"]) { background: transparent; box-shadow: 0 30px 80px -36px rgba(0, 0, 0, .55); }
.bg-ink:has(> svg[viewBox="0 0 420 360"]) > div { display: none; }
.bg-ink > svg[viewBox="0 0 420 360"] {
  display: block;
  width: 100%;
  height: 0 !important;
  padding-bottom: 100%;          /* the image is square */
  background: url(/assets/hero-jumpstart-poster.webp?v=1) center / cover no-repeat;
}
.bg-ink > svg[viewBox="0 0 420 360"] > * { display: none; }

/* Price cards: equal height, price and Book button pinned to the bottom so
   every button lines up, a lift on hover, comfortable on phones. */
#pricing article {
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#pricing article:hover {
  transform: translateY(-4px);
  border-color: #0b0b0c;
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .45);
}
#pricing article > div:first-child { order: 1; }
#pricing article > h3 { order: 2; }
#pricing article > p.text-muted,
#pricing article > ul { order: 3; }
#pricing article > a.underline { order: 4; margin-top: 10px; text-align: left; }
#pricing article > p.font-display {
  order: 5;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed #e6e4de;
  line-height: 1.1;
}
#pricing article > a[href^="https://wa.me"] {
  order: 6;
  width: 100%;
  margin-top: 16px;
  min-height: 52px;
  background: #f2b400;
  color: #0b0b0c;
}
#pricing article > a[href^="https://wa.me"]:hover { background: #ffc933; }
#pricing article > ul { margin-bottom: 4px; }
@media (max-width: 767px) {
  #pricing article { padding: 20px; }
  #pricing article > p.font-display { font-size: 2rem; }
  #pricing article > p.font-display.text-2xl { font-size: 1.45rem; }
}
@media (min-width: 1280px) {
  /* four cards in a row: keep long prices on one line */
  #pricing article > p.font-display.text-2xl { font-size: 1.3rem; white-space: nowrap; }
}

/* "Other services" started flush against the line above it. */
#services > div { padding-top: 3rem; }
@media (min-width: 1024px) { #services > div { padding-top: 4rem; } }

/* Phones: the Poppins call button pushed into the logo. Keep the logo whole,
   make the call button compact, and drop its number line on narrow screens
   (the number is in the bottom bar and the tagline row). */
@media (max-width: 420px) {
  header > div:first-child { gap: 8px; padding-left: 12px; padding-right: 12px; }
  header > div:first-child > a:first-child span[style*="width:48px"] { width: 40px !important; height: 40px !important; }
  header > div:first-child > a:first-child .font-display { font-size: 1.05rem; }
  header a[href^="tel:"] { padding: 8px 12px; gap: 6px; }
  header a[href^="tel:"] .text-\[11px\] { display: none; }
  header a[href^="tel:"] svg { width: 16px; height: 16px; }
  header button[aria-controls="mobile-nav"] { width: 40px; height: 40px; flex: none; }
}


/* ---- WhatsApp buttons in WhatsApp green with the WhatsApp logo; call
   buttons a little bolder. The Book Now price buttons stay yellow. ---- */
:root { --wa-green: #25d366; --wa-green-dark: #1ebe5b; --wa-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.16-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.39-1.47-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.06 2.88 1.21 3.07c.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2-1.41.25-.7.25-1.29.18-1.42-.08-.12-.28-.2-.57-.34m-5.42 7.4h-.01a9.87 9.87 0 0 1-5.03-1.38l-.36-.21-3.74.98 1-3.65-.24-.37a9.86 9.86 0 0 1-1.51-5.26c0-5.45 4.44-9.88 9.89-9.88a9.83 9.83 0 0 1 9.88 9.89c0 5.45-4.43 9.88-9.88 9.88m8.41-18.3A11.82 11.82 0 0 0 12.05 0C5.5 0 .16 5.34.16 11.89c0 2.1.55 4.14 1.59 5.95L.06 24l6.3-1.65a11.88 11.88 0 0 0 5.68 1.45h.01c6.55 0 11.89-5.34 11.89-11.89a11.82 11.82 0 0 0-3.48-8.41Z'/%3E%3C/svg%3E"); }
a[href^="https://wa.me"]:has(> svg) {
  background: var(--wa-green) !important;
  border-color: var(--wa-green) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .75);
}
a[href^="https://wa.me"]:has(> svg):hover { background: var(--wa-green-dark) !important; border-color: var(--wa-green-dark) !important; }
a[href^="https://wa.me"]:has(> svg) > svg { display: none; }
a[href^="https://wa.me"]:has(> svg)::before {
  content: ""; flex: none; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: var(--wa-logo) center / contain no-repeat; mask: var(--wa-logo) center / contain no-repeat;
}
/* "Ask on WhatsApp" text links: a small green logo in front */
a[href^="https://wa.me"].decoration-yellow,
a[href^="https://wa.me"].underline { align-items: center; gap: 6px; }
a[href^="https://wa.me"].decoration-yellow::before,
a[href^="https://wa.me"].underline::before {
  content: ""; flex: none; width: 16px; height: 16px; background: var(--wa-green);
  -webkit-mask: var(--wa-logo) center / contain no-repeat; mask: var(--wa-logo) center / contain no-repeat;
}

/* Call buttons: the phone icon in a round chip, even height with WhatsApp */
a[href^="tel:"].rounded-full:has(> svg) { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); }
a[href^="tel:"].rounded-full.bg-yellow:has(> svg) > svg {
  box-sizing: content-box; padding: 5px; border-radius: 999px; background: rgba(11, 11, 12, .1);
}
/* the phone bottom bar */
.fixed.inset-x-0.bottom-0 a { min-height: 52px; font-size: 15px; letter-spacing: -0.005em; }
