/* =================================================================
   ServisYou — v2 Design System
   Mobile-first, adaptive design. Premium minimalist aesthetic.
   ================================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand */
  --trust: #0F2A4A;        /* Navy — headings, body */
  --action: #1E73E8;       /* Blue — CTAs, links */
  --action-dark: #1A5FC4;  /* Hover state */
  --green: #0EA371;        /* Success, verified */
  --amber: #E89B1E;        /* Warnings */
  --whatsapp: #25D366;     /* WhatsApp brand green */

  /* Neutrals */
  --ink: #0F1B2D;          /* Primary text */
  --slate: #2E3A4B;        /* Secondary text */
  --muted: #6B7785;        /* Tertiary text */
  --line: #E3E8F0;         /* Borders */
  --mist: #F4F7FB;         /* Light background */
  --white: #FFFFFF;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale (4px base) */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s7: 32px;
  --s8: 40px;
  --s9: 48px;
  --s10: 64px;
  --s11: 80px;
  --s12: 96px;

  /* Border radius */
  --r1: 8px;
  --r2: 12px;
  --r3: 16px;
  --r4: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 27, 45, 0.12);

  /* Container */
  --container: 1200px;
  --container-narrow: 800px;

  /* Z-index scale */
  --z-nav: 100;
  --z-modal: 200;
  --z-fab: 150;
  --z-sticky-cta: 90;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--action); text-decoration: none; }
a:hover { color: var(--action-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 16px; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  color: var(--trust);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(28px, 7vw, 48px); }
h2 { font-size: clamp(24px, 5vw, 36px); }
h3 { font-size: clamp(20px, 4vw, 24px); }
h4 { font-size: 18px; }
p { color: var(--slate); }
.lead { font-size: 18px; line-height: 1.55; color: var(--slate); }

/* ---------- 4. Layout Primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s5);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--s5);
}
.section { padding: var(--s11) 0; }
.section--tight { padding: var(--s9) 0; }
.section--mist { background: var(--mist); }

/* ---------- 5. Top Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-weight: 700;
  color: var(--trust);
  font-size: 18px;
}
.nav__brand img {
  height: 38px;
  width: auto;
  max-width: none;
  display: block;
}
.nav__brand svg { flex-shrink: 0; }
.nav__menu {
  display: none;
  align-items: center;
  gap: var(--s7);
  list-style: none;
}
.nav__menu a {
  color: var(--slate);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  transition: color 0.15s;
}
.nav__menu a:hover { color: var(--action); }
.nav__cta {
  display: none;
  background: var(--action);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--r1);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s;
}
.nav__cta:hover { background: var(--action-dark); color: var(--white); }
.nav__burger {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r1);
  color: var(--trust);
}
.nav__burger svg { width: 24px; height: 24px; }

/* Mobile menu drawer */
.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: var(--s6);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.nav__drawer.is-open { transform: translateX(0); }
.nav__drawer-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
}
.nav__drawer-list {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  list-style: none;
  margin-top: var(--s4);
}
.nav__drawer-list a {
  display: block;
  padding: var(--s4) 0;
  color: var(--trust);
  font-weight: 500;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.nav__drawer-cta {
  margin-top: var(--s5);
  background: var(--action);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--r1);
  font-weight: 600;
  text-align: center;
}
.nav__drawer-cta:hover { color: var(--white); }
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.5);
  z-index: calc(var(--z-modal) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav__overlay.is-open { opacity: 1; pointer-events: all; }

@media (min-width: 880px) {
  .nav__menu { display: flex; }
  .nav__cta { display: inline-flex; align-items: center; }
  .nav__burger { display: none; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 14px 24px;
  border-radius: var(--r1);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}
.btn--primary {
  background: var(--action);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--action-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--secondary {
  background: var(--white);
  color: var(--trust);
  border: 1.5px solid var(--line);
}
.btn--secondary:hover {
  border-color: var(--trust);
  color: var(--trust);
}
.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn--whatsapp:hover {
  background: #1fb352;
  color: var(--white);
}
.btn--lg { padding: 16px 32px; font-size: 17px; min-height: 56px; }
.btn--full { width: 100%; }

/* ---------- 7. Hero — Mobile-First ---------- */
.hero {
  position: relative;
  padding: var(--s6) 0 var(--s8);
}
.hero__media {
  position: relative;
  border-radius: var(--r3);
  overflow: hidden;
  margin-bottom: var(--s6);
  aspect-ratio: 4 / 3;
  background: var(--mist);
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video { display: none; }
.hero__poster { display: block; }
.hero__content {
  text-align: left;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(30, 115, 232, 0.1);
  color: var(--action);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--s4);
}
.hero h1 {
  font-size: clamp(28px, 8vw, 42px);
  margin-bottom: var(--s4);
}
.hero__lead {
  font-size: 16px;
  color: var(--slate);
  margin-bottom: var(--s6);
  max-width: 540px;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

@media (min-width: 768px) {
  .hero { padding: var(--s9) 0; }
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s9);
    align-items: center;
  }
  .hero__media {
    margin-bottom: 0;
    aspect-ratio: 5 / 6;
  }
  .hero__actions { flex-direction: row; }
  .hero h1 { font-size: clamp(36px, 4.5vw, 52px); }
  .hero__lead { font-size: 18px; }
}

@media (min-width: 1024px) {
  .hero__poster { display: none; }
  .hero__video { display: block; }
}

/* ---------- 8. Service Picker (Mobile-First Tab Cards) ---------- */
.services-picker {
  padding: var(--s9) 0;
  background: var(--mist);
}
.services-picker__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--s7);
}
.services-picker__header h2 {
  margin-bottom: var(--s3);
}
.services-picker__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r2);
  padding: var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s4);
  transition: all 0.15s;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.service-card:hover {
  border-color: var(--action);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--r1);
  background: rgba(30, 115, 232, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--action);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__body { flex: 1; min-width: 0; }
.service-card__name {
  font-weight: 600;
  color: var(--trust);
  font-size: 16px;
  margin-bottom: 2px;
}
.service-card__meta {
  font-size: 13px;
  color: var(--muted);
}
.service-card__price {
  text-align: right;
  flex-shrink: 0;
}
.service-card__price strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--trust);
  display: block;
}
.service-card__price small {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .services-picker__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s4);
  }
}

@media (min-width: 1024px) {
  .services-picker__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 9. Trust Bar (Three Pillars) ---------- */
.trust-bar {
  padding: var(--s9) 0;
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}
.trust-item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}
.trust-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--r1);
  background: rgba(14, 163, 113, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item__icon svg { width: 22px; height: 22px; }
.trust-item__body h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.trust-item__body p {
  font-size: 14px;
  color: var(--slate);
}

@media (min-width: 768px) {
  .trust-bar__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s7);
  }
}

/* ---------- 10. Reviews Section ---------- */
.reviews {
  padding: var(--s9) 0;
  background: var(--mist);
}
.reviews__header {
  text-align: center;
  margin-bottom: var(--s7);
}
.reviews__rating {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s3);
  font-weight: 600;
}
.reviews__stars { color: var(--amber); font-size: 18px; letter-spacing: 2px; }
.reviews__rating-text { color: var(--slate); font-size: 14px; }
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
.review-card {
  background: var(--white);
  border-radius: var(--r2);
  padding: var(--s5);
  box-shadow: var(--shadow-sm);
}
.review-card__stars { color: var(--amber); letter-spacing: 2px; margin-bottom: var(--s3); }
.review-card__text {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: var(--s4);
}
.review-card__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-card__name {
  font-weight: 600;
  color: var(--trust);
  font-size: 14px;
}
.review-card__service {
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s5);
  }
}

/* ---------- 11. Verification Strip ---------- */
.verification {
  padding: var(--s9) 0;
}
.verification__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--s7);
}
.verification__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
.verification-step {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  padding: var(--s5);
  background: var(--mist);
  border-radius: var(--r2);
}
.verification-step__num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--r-full);
  background: var(--trust);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.verification-step__body h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.verification-step__body p {
  font-size: 14px;
  color: var(--slate);
}

@media (min-width: 768px) {
  .verification__steps {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--s4);
  }
  .verification-step {
    flex-direction: column;
    text-align: left;
  }
}

/* ---------- 12. CTA Band ---------- */
.cta-band {
  padding: var(--s10) 0;
  background: var(--trust);
  color: var(--white);
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--s4);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto var(--s6);
  font-size: 17px;
}

/* ---------- 13. FAQ Accordion ---------- */
.faq {
  padding: var(--s9) 0;
}
.faq__header {
  text-align: center;
  margin-bottom: var(--s7);
}
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item__q {
  width: 100%;
  text-align: left;
  padding: var(--s5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  font-weight: 600;
  font-size: 16px;
  color: var(--trust);
  cursor: pointer;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}
.faq-item.is-open .faq-item__a {
  max-height: 500px;
  padding-bottom: var(--s5);
}

/* ---------- 14. Footer ---------- */
.footer {
  background: var(--trust);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--s10) 0 var(--s7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
  margin-bottom: var(--s8);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--s3);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: var(--s4);
}
.footer__brand-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--s5);
  max-width: 280px;
}
.footer__heading {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--s4);
}
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.footer__list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.15s;
}
.footer__list a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--s6);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- 15. Floating WhatsApp FAB ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: var(--s5);
  right: var(--s5);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: var(--z-fab);
  transition: transform 0.15s, box-shadow 0.15s;
}
.fab-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: var(--white);
}
.fab-whatsapp svg { width: 26px; height: 26px; }

@media (min-width: 1024px) {
  /* Hide FAB on desktop — top nav has plenty of CTAs */
  .fab-whatsapp { display: none; }
}

/* ---------- 16. Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--trust);
  color: var(--white);
  padding: var(--s4) var(--s5);
  z-index: var(--z-modal);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  align-items: stretch;
}
.cookie-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.cookie-banner__actions {
  display: flex;
  gap: var(--s3);
}
.cookie-banner__btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--r1);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  transition: all 0.15s;
}
.cookie-banner__btn--primary {
  background: var(--action);
  border-color: var(--action);
}
.cookie-banner__btn--primary:hover { background: var(--action-dark); }
.cookie-banner__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cookie-banner__actions { flex: 0 0 auto; }
  .cookie-banner__btn { flex: 0 0 auto; }
}

/* ---------- 17. Booking Form (book.html) ---------- */
.booking-page {
  background: var(--mist);
  min-height: 100vh;
  padding: var(--s7) 0 var(--s10);
}
.booking-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r3);
  padding: var(--s7);
  box-shadow: var(--shadow-md);
}
.booking-form__header { text-align: center; margin-bottom: var(--s7); }
.booking-form__header h1 { font-size: clamp(24px, 5vw, 32px); margin-bottom: var(--s2); }
.booking-form__header p { color: var(--slate); font-size: 15px; }

.form-group { margin-bottom: var(--s5); }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--trust);
  margin-bottom: var(--s2);
}
.form-group label .required { color: var(--action); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r1);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--action);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---- Validation error states ---- */
.form-group.is-error input,
.form-group.is-error select,
.form-group.is-error textarea {
  border-color: #DC2626;
  background: #FFF5F5;
}
.form-group.is-error input:focus,
.form-group.is-error select:focus,
.form-group.is-error textarea:focus {
  border-color: #DC2626;
  outline: none;
}
.form-group .field-error {
  display: none;
  font-size: 13px;
  color: #DC2626;
  margin-top: 6px;
  font-weight: 600;
}
.form-group .field-error::before { content: "\26A0  "; }
.form-group.is-error .field-error { display: block; }
.form-group.is-error label { color: #DC2626; font-weight: 700; }

/* Service card error */
.service-cards.is-error {
  border: 2px solid #DC2626;
  border-radius: var(--r2);
  padding: 8px;
  background: #FFF5F5;
}
.service-cards-error {
  display: none;
  font-size: 13px;
  color: #DC2626;
  font-weight: 600;
  margin-top: 8px;
}
.service-cards-error::before { content: "\26A0  "; }
.service-cards.is-error + .service-cards-error { display: block; }

/* Opt-tile group error */
.opt-question.is-error .opt-grid {
  border: 2px solid #DC2626;
  border-radius: var(--r2);
  padding: 6px;
  background: #FFF5F5;
}
.opt-question.is-error .opt-tile__inner {
  border-color: #FECACA;
  background: #FFF5F5;
}
.opt-question .opt-error {
  display: none;
  font-size: 13px;
  color: #DC2626;
  font-weight: 600;
  margin-top: 8px;
}
.opt-question .opt-error::before { content: "\26A0  "; }
.opt-question.is-error .opt-error { display: block; }

/* District select error */
.opt-question.is-error select {
  border-color: #DC2626;
  background: #FFF5F5;
}
.opt-question.is-error > .opt-question__label { color: #DC2626; font-weight: 700; }

/* Calendar error */
.cal.is-error {
  border-color: #DC2626;
}
.cal-error {
  display: none;
  font-size: 13px;
  color: #DC2626;
  font-weight: 600;
  margin-top: 8px;
}
.cal-error::before { content: "\26A0  "; }
.cal.is-error + input + .cal-error,
.cal-error.visible { display: block; }

/* Time select error */
.form-group.is-error select { border-color: #DC2626; background: #FFF5F5; }

/* Shake animation for error fields */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  15%      { transform: translateX(-6px); }
  30%      { transform: translateX(6px); }
  45%      { transform: translateX(-5px); }
  60%      { transform: translateX(5px); }
  75%      { transform: translateX(-3px); }
  90%      { transform: translateX(3px); }
}
.shake { animation: shake 0.45s ease; }

/* Payment retry banner (after failed/cancelled payment) */
.payment-retry-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FFF7ED;
  border: 1.5px solid #FDBA74;
  border-radius: var(--r1);
  padding: 14px 16px;
  font-size: 14px;
  color: #9A3412;
  line-height: 1.55;
  margin-bottom: var(--s5);
}
.payment-retry-banner svg { margin-top: 2px; }

/* Secure gateway note below pay button */
.gateway-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  margin-top: var(--s3);
  padding: 0 var(--s2);
}
.gateway-note strong { color: var(--slate); }

/* Section intro copy (e.g. Your details) */
.bk-section__intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: -6px 0 var(--s4);
}


/* Validation summary banner -- sticky at bottom when visible */
.validation-banner {
  display: none;
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  border-radius: var(--r1);
  padding: 12px 16px;
  font-size: 14px;
  color: #DC2626;
  font-weight: 500;
  margin-bottom: var(--s5);
}
.validation-banner.visible {
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  bottom: 16px;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(220,38,38,0.18);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.price-summary {
  background: var(--mist);
  border-radius: var(--r2);
  padding: var(--s5);
  margin: var(--s6) 0;
}
.price-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--slate);
  padding: 6px 0;
}
.price-summary__row--total {
  border-top: 1px solid var(--line);
  margin-top: var(--s3);
  padding-top: var(--s4);
  font-size: 18px;
  font-weight: 700;
  color: var(--trust);
}
.price-summary__row--total strong {
  font-size: 24px;
  color: var(--action);
}

.payment-note {
  background: rgba(30, 115, 232, 0.05);
  border-left: 3px solid var(--action);
  padding: var(--s4) var(--s5);
  border-radius: var(--r1);
  margin: var(--s6) 0;
  font-size: 14px;
  color: var(--slate);
}
.payment-note strong { color: var(--trust); }
.payment-note p { margin: 0; color: var(--slate); }

.payment-methods {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) 0;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--s5);
  flex-wrap: wrap;
}
.payment-methods strong { color: var(--slate); font-weight: 600; }
.payment-methods-list {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}
.payment-method-chip {
  background: var(--mist);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
}

/* ---------- 18. Page Hero (other pages) ---------- */
.page-hero {
  background: var(--mist);
  padding: var(--s9) 0 var(--s8);
  text-align: center;
}
.page-hero h1 { margin-bottom: var(--s4); }
.page-hero p { font-size: 17px; max-width: 640px; margin: 0 auto; color: var(--slate); }

/* ---------- 19. Content Pages (typography for prose) ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s9) 0;
}
.prose h2 {
  font-size: 24px;
  margin-top: var(--s8);
  margin-bottom: var(--s4);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 19px;
  margin-top: var(--s6);
  margin-bottom: var(--s3);
}
.prose p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: var(--s4);
  color: var(--slate);
}
.prose ul, .prose ol {
  margin-bottom: var(--s4);
  padding-left: var(--s6);
}
.prose ul li, .prose ol li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: var(--s2);
}
.prose strong { color: var(--trust); }

/* ---------- 20. Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  margin-bottom: var(--s8);
}
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r2);
  padding: var(--s5);
  text-align: center;
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s4);
  border-radius: var(--r-full);
  background: rgba(30, 115, 232, 0.1);
  color: var(--action);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 16px; margin-bottom: var(--s2); }
.contact-card p { font-size: 14px; color: var(--slate); margin-bottom: 0; }
.contact-card a { color: var(--action); font-weight: 600; }

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
}

/* ---------- 21. Payment Success/Failed Pages ---------- */
.payment-result {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s8) var(--s5);
  background: var(--mist);
}
.payment-result__box {
  max-width: 480px;
  width: 100%;
  background: var(--white);
  border-radius: var(--r3);
  padding: var(--s8);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.payment-result__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--s5);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-result__icon--success {
  background: rgba(14, 163, 113, 0.12);
  color: var(--green);
}
.payment-result__icon--failed {
  background: rgba(232, 155, 30, 0.12);
  color: var(--amber);
}
.payment-result__icon svg { width: 40px; height: 40px; }
.payment-result h1 { font-size: 28px; margin-bottom: var(--s3); }
.payment-result p { color: var(--slate); margin-bottom: var(--s6); }
.payment-result__details {
  background: var(--mist);
  border-radius: var(--r2);
  padding: var(--s4);
  text-align: left;
  margin-bottom: var(--s6);
  font-size: 14px;
}
.payment-result__details strong { color: var(--trust); }
.payment-result__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
@media (min-width: 480px) {
  .payment-result__actions { flex-direction: row; justify-content: center; }
}

/* ---------- 22. Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

@media (max-width: 767px) {
  .desktop-only { display: none !important; }
}
@media (min-width: 768px) {
  .mobile-only { display: none !important; }
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 24. Booking pre-screening (new) ---------- */
.screening {
  border: 1px solid var(--border);
  border-left: 4px solid var(--action);
  border-radius: 8px;
  padding: var(--s4) var(--s4) var(--s2);
  margin-bottom: var(--s4);
  background: #F8FAFC;
}
.screening__legend {
  font-weight: 600;
  color: var(--trust);
  padding: 0 var(--s2);
  font-size: 14px;
}
.screening__intro {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 var(--s3);
}
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--s2);
  color: var(--slate);
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--slate);
}
.radio-pill:hover {
  border-color: var(--action);
}
.radio-pill input[type="radio"] {
  margin: 0;
  accent-color: var(--action);
}
.radio-pill:has(input[type="radio"]:checked) {
  border-color: var(--action);
  background: rgba(30, 115, 232, 0.06);
  color: var(--trust);
  font-weight: 500;
}
.form-help {
  display: block;
  margin-top: var(--s2);
  font-size: 13px;
  line-height: 1.6;
}
.form-notice {
  margin-top: var(--s3);
  padding: var(--s3) var(--s3);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.form-notice--warn {
  background: #FEF3C7;
  border-left: 4px solid #D97706;
  color: #78350F;
}
.form-notice--warn a {
  color: #78350F;
  text-decoration: underline;
}

/* =================================================================
   25. Booking Form Redesign — conversion-optimized
   ================================================================= */
.booking-form { max-width: 680px; padding: var(--s7) var(--s7) var(--s8); }
@media (max-width: 600px) { .booking-form { padding: var(--s5) var(--s4) var(--s7); } }

/* Trust strip under header */
.bk-trust {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: var(--s4); margin-top: var(--s4);
}
.bk-trust__item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted); font-weight: 500;
}
.bk-trust__item svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

/* Numbered section */
.bk-section { margin-top: var(--s8); }
.bk-section:first-of-type { margin-top: var(--s6); }
.bk-section__head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s5); }
.bk-section__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--trust); color: #fff;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.bk-section__head h2 { font-size: 18px; color: var(--trust); font-weight: 650; margin: 0; }

/* ---- Service cards ---- */
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 480px) { .service-cards { grid-template-columns: 1fr; } }
.service-card { position: relative; cursor: pointer; display: block; }
.service-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.service-card__inner {
  display: flex; align-items: center; gap: var(--s3);
  border: 1.5px solid var(--line); border-radius: var(--r2);
  padding: var(--s4); background: #fff; transition: all 0.15s; height: 100%;
}
.service-card__icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--mist); color: var(--action); transition: all 0.15s;
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card__name { display: block; font-weight: 600; font-size: 14.5px; color: var(--trust); line-height: 1.25; }
.service-card__price { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.service-card__price b { color: var(--action); font-size: 14px; font-weight: 700; }
.service-card:hover .service-card__inner { border-color: var(--action); }
.service-card input:checked + .service-card__inner {
  border-color: var(--action); background: rgba(30,115,232,0.04);
  box-shadow: 0 0 0 1px var(--action);
}
.service-card input:checked + .service-card__inner .service-card__icon { background: var(--action); color: #fff; }
.service-card input:focus-visible + .service-card__inner { box-shadow: 0 0 0 3px rgba(30,115,232,0.3); }

/* ---- Option tiles (screening) — uniform grid, no ragged wrap ---- */
.opt-question { margin-bottom: var(--s5); }
.opt-question__label {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; color: var(--trust); margin-bottom: var(--s3);
}
.opt-question__label svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.opt-question__label .required { color: var(--action); }
.opt-grid { display: grid; gap: var(--s2); }
.opt-grid--2 { grid-template-columns: 1fr 1fr; }
.opt-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 480px) { .opt-grid--3 { grid-template-columns: 1fr 1fr; } }
.opt-tile { position: relative; cursor: pointer; display: block; }
.opt-tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt-tile__inner {
  display: flex; align-items: center; gap: 10px; height: 100%;
  border: 1.5px solid var(--line); border-radius: var(--r1);
  padding: 13px 14px; background: #fff; transition: all 0.15s;
  font-size: 13.5px; color: var(--slate); line-height: 1.3;
}
.opt-tile__radio {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line);
  flex-shrink: 0; transition: all 0.15s; position: relative;
}
.opt-tile:hover .opt-tile__inner { border-color: var(--action); }
.opt-tile input:checked + .opt-tile__inner {
  border-color: var(--action); background: rgba(30,115,232,0.05); color: var(--trust); font-weight: 600;
}
.opt-tile input:checked + .opt-tile__inner .opt-tile__radio { border-color: var(--action); background: var(--action); }
.opt-tile input:checked + .opt-tile__inner .opt-tile__radio::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.opt-tile input:focus-visible + .opt-tile__inner { box-shadow: 0 0 0 3px rgba(30,115,232,0.25); }

/* Units stepper */
.units-stepper { display: flex; align-items: center; gap: 0; max-width: 160px; }
.units-stepper button {
  width: 44px; height: 48px; border: 1.5px solid var(--line); background: #fff;
  font-size: 22px; color: var(--trust); cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.units-stepper button:hover { border-color: var(--action); color: var(--action); }
.units-stepper button:first-child { border-radius: var(--r1) 0 0 var(--r1); }
.units-stepper button:last-child { border-radius: 0 var(--r1) var(--r1) 0; }
.units-stepper input {
  width: 60px; height: 48px; text-align: center; border: 1.5px solid var(--line);
  border-left: none; border-right: none; font-size: 17px; font-weight: 600; color: var(--trust);
  -moz-appearance: textfield;
}
.units-stepper input::-webkit-outer-spin-button,
.units-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Sticky-ish price summary — more prominent */
.price-summary {
  background: linear-gradient(135deg, var(--trust), #16385e);
  border-radius: var(--r2); padding: var(--s5) var(--s6); margin: var(--s7) 0 var(--s5);
  color: #fff;
}
.price-summary__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #cbd9ea; padding: 5px 0; }
.price-summary__row--total {
  border-top: 1px solid rgba(255,255,255,0.18); margin-top: var(--s3); padding-top: var(--s4);
  font-size: 16px; font-weight: 600; color: #fff;
}
.price-summary__row--total strong { font-size: 26px; color: #fff; letter-spacing: -0.5px; }
.price-summary__note { font-size: 12px; color: #9fb4cc; margin-top: var(--s2); }

/* ---------- 26. Availability calendar ---------- */
.cal { border: 1.5px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.cal__prompt { padding: var(--s5); text-align: center; color: var(--muted); font-size: 14px; background: var(--mist); }
.cal__body { padding: var(--s4); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s4); }
.cal__title { font-weight: 650; color: var(--trust); font-size: 16px; }
.cal__nav {
  width: 38px; height: 38px; border: 1.5px solid var(--line); background: #fff; border-radius: 8px;
  font-size: 20px; color: var(--trust); cursor: pointer; line-height: 1; transition: all 0.15s;
}
.cal__nav:hover:not(:disabled) { border-color: var(--action); color: var(--action); }
.cal__nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal__dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 6px; }
.cal__dow span { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__cell {
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1.5px solid transparent; border-radius: 8px; font-size: 14px; cursor: pointer;
  background: var(--mist); color: var(--trust); transition: all 0.12s; position: relative; min-height: 42px;
}
.cal__cell--empty { background: transparent; cursor: default; }
.cal__cell--open:hover { border-color: var(--action); background: rgba(30,115,232,0.06); }
.cal__cell--full { background: #FEF2F2; color: #C2410C; cursor: not-allowed; }
.cal__cell--full .cal__cell-tag { color: #C2410C; }
.cal__cell--blocked { background: #F1F5F9; color: #94A3B8; cursor: not-allowed; border: 1.5px dashed #CBD5E1; }
.cal__cell--blocked .cal__cell-tag { color: #94A3B8; font-size: 7.5px; }
.cal__cell--past { background: transparent; color: var(--line); cursor: not-allowed; }
.cal__cell--open.cal__cell--selected,
.cal__cell--open.cal__cell--selected:hover,
.cal__cell--selected { background: var(--action); color: #fff; border-color: var(--action); font-weight: 700; }
.cal__cell-tag { font-size: 8.5px; line-height: 1; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.3px; }
.cal__legend { display: flex; gap: var(--s4); margin-top: var(--s4); font-size: 12px; color: var(--muted); }
.cal__legend-item { display: inline-flex; align-items: center; gap: 6px; }
.cal__dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.cal__dot--open { background: var(--mist); border: 1.5px solid var(--line); }
.cal__dot--full { background: #FEF2F2; border: 1.5px solid #FECACA; }
.cal__dot--blocked { background: #F1F5F9; border: 1.5px dashed #CBD5E1; }
.cal__allfull { margin-top: var(--s4); padding: var(--s3); background: #FEF3C7; border-radius: 8px; font-size: 13px; color: #78350F; }
.cal__allfull a { color: #78350F; font-weight: 600; text-decoration: underline; }
.cal__selected { display: block; margin-top: var(--s3); font-size: 13.5px; color: var(--trust); font-weight: 600; }

/* ---------- 27. Policy page extras (refund policy) ---------- */
.policy-tldr {
  background: var(--mist); border: 1.5px solid var(--line); border-left: 4px solid var(--green);
  border-radius: var(--r2); padding: var(--s5) var(--s6); margin-bottom: var(--s7);
}
.policy-tldr h2 { font-size: 17px !important; margin: 0 0 var(--s3) !important; color: var(--trust); }
.policy-tldr ul { margin: 0; padding-left: var(--s5); }
.policy-tldr li { font-size: 15px; margin-bottom: 6px; }
.policy-table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s5); font-size: 15px; }
.policy-table th, .policy-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.policy-table th { background: var(--mist); font-weight: 650; color: var(--trust); font-size: 14px; }
.policy-table td { color: var(--slate); line-height: 1.55; }
.policy-table tr:nth-child(even) td { background: #fafbfc; }
.policy-contact-box {
  background: var(--trust); color: #fff; border-radius: var(--r2);
  padding: var(--s5) var(--s6); margin-top: var(--s6);
}
.policy-contact-box h3 { color: #fff !important; margin-top: 0 !important; }
.policy-contact-box p { color: #cbd9ea; margin-bottom: var(--s2); }
.policy-contact-box a { color: #fff; font-weight: 600; }

/* ---------- Mobile polish ---------- */
/* Better touch feedback, no grey tap flash */
* { -webkit-tap-highlight-color: transparent; }
.cal__cell--open:active { background: rgba(30,115,232,0.14); border-color: var(--action); }
.btn:active { transform: translateY(1px); }
.opt-tile__inner:active { background: var(--mist); }

@media (max-width: 640px) {
  /* Policy & pricing tables scroll instead of overflowing */
  .policy-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .policy-table th, .policy-table td { white-space: normal; min-width: 120px; }

  /* Calendar: slightly tighter, still 44px+ tap targets */
  .cal__grid { gap: 3px; }
  .cal__cell { min-height: 44px; font-size: 13.5px; border-radius: 7px; }
  .cal__cell-tag { font-size: 7.5px; }
  .cal__legend { flex-wrap: wrap; gap: var(--s3); }

  /* Banners & notes fit small screens */
  .payment-retry-banner { font-size: 13.5px; padding: 12px 13px; }
  .gateway-note { font-size: 12.5px; padding: 0; }
  .validation-banner.visible { bottom: 10px; font-size: 13.5px; }

  /* Section headers and intro */
  .bk-section__intro { font-size: 13.5px; }

  /* Time select and steppers full-width friendly */
  #timeGroup { max-width: 100% !important; }
}

@media (max-width: 380px) {
  .cal__cell { min-height: 40px; font-size: 13px; }
  .units-stepper button { width: 40px; }
}
