/* 
  HEALING HANDZ® — Master Stylesheet v10.0
  Strict 3-Color Rule Enforcement
  No other colors or shades. Only Blue (#2893CB), Green (#8BBF3C), and White (#FFFFFF).
*/

:root {
  /* ── APPROVED BRAND PALETTE (NO OTHER COLORS OR SHADES) ── */
  --blue:         #2893CB;
  --green:        #8BBF3C;
  --white:        #FFFFFF;

  /* ── ALIASES ── */
  --primary:      #2893CB;
  --accent:       #8BBF3C;
  --off-white:    #FFFFFF;
  --dark:         #2893CB;
  --gray:         #2893CB;

  /* ── SHADES & TINTS ── */
  --blue-dark:    #2893CB;
  --blue-deeper:  #2893CB;
  --blue-night:   #2893CB;
  --blue-dim:     #2893CB;
  --blue-50:      #FFFFFF;
  --blue-100:     #FFFFFF;
  --blue-200:     #2893CB;
  --blue-300:     #2893CB;

  --green-dark:   #8BBF3C;
  --green-deeper: #8BBF3C;
  --green-50:     #FFFFFF;
  --green-100:    #FFFFFF;
  --green-200:    #8BBF3C;

  --gray-dark:    #2893CB;
  --gray-light:   #2893CB;
  --gray-50:      #FFFFFF;
  --gray-100:     #FFFFFF;

  /* ── SEMANTIC ── */
  --success:      #8BBF3C;
  --error:        #2893CB;
  --error-light:  #FFFFFF;

  /* ── TEXT ── */
  --text:         #2893CB;
  --text-mid:     #2893CB;
  --text-light:   #2893CB;
  --text-on-dark: #FFFFFF;

  /* ── BACKGROUNDS ── */
  --bg-page:      #FFFFFF;
  --bg-card:      #FFFFFF;
  --bg-dark:      #2893CB;
  --bg-darker:    #2893CB;
  --bg-mid:       #2893CB;

  /* ── BORDERS (Solid brand colors, no opacity shades) ── */
  --border:       #2893CB;
  --border-strong:#2893CB;

  /* ── SHADOWS (Disabled to prevent gray/dark drop shadow shades) ── */
  --shadow-sm:    none;
  --shadow-md:    none;
  --shadow-lg:    none;
  --shadow-green: none;
  --shadow-blue:  none;

  /* ── GRADIENTS (Disabled, solid colors only to avoid shades) ── */
  --grad-blue:    #2893CB;
  --grad-green:   #8BBF3C;
  --grad-hero:    #2893CB;
  --grad-card:    #FFFFFF;
  --grad-dark-section: #2893CB;

  /* ── SIZING ── */
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --radius-pill:  50px;
  --transition:   0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── GLOBAL RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: var(--white); }

/* ── PAGE VIEW ROUTER TRANSITION ── */
#page-view {
  transition: opacity 0.3s ease;
  min-height: 50vh;
}
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.section-padding { padding: 90px 0; position: relative; }
.text-center { text-align: center; }

/* ── SECTION STRUCTURAL THEMES ── */
section { position: relative; background: var(--bg-page); overflow: hidden; }

/* Alternating Background Colors */
#hero { background: var(--grad-hero); }
#trust-strip { background: var(--blue-dim); }
#services { background: var(--bg-page); }
#stats-banner { background: var(--grad-blue); }
#team { background: var(--bg-dark); }
#testimonials { background: var(--bg-page); }
#why-us { background: #ffffff; }
#location { background: var(--blue-100); }
#insurance { background: var(--bg-dark); }
#newsletter { background: var(--blue-deeper); }
#final-cta { background: var(--bg-page); }

/* Section Labels & Headings */
.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 10px;
}
section:not(#hero) h2 { color: var(--text); }
section.bg-dark h2, section[style*="var(--bg-dark)"] h2, section[style*="var(--blue-dim)"] h2, section[style*="var(--blue-deeper)"] h2, section[style*="var(--grad-dark-section)"] h2 {
  color: var(--white) !important;
}

/* ── HEADER & NAVIGATION ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: var(--white);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
  overflow: visible !important;
}
header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo-wrap { display: flex; align-items: center; gap: 14px; flex-shrink: 0; cursor: pointer; }
.nav-logo-img { height: 64px !important; width: auto !important; object-fit: contain !important; }
.nav-logo-text {
  font-family: 'Kalam', cursive !important;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-item { position: relative; font-weight: 600; font-size: 1.15rem; color: var(--text); padding: 20px 0; cursor: pointer; }
.nav-item > a { color: var(--text); }
.nav-item:hover > a { color: var(--blue); }

.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 12px; width: 240px; opacity: 0; pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid var(--border);
  z-index: 2000;
}
.nav-item:hover .dropdown-panel { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }

.dropdown-link {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: var(--radius-sm); font-size: 0.88rem; transition: 0.2s; color: var(--text);
}
.dropdown-link:hover { background: var(--blue-50); color: var(--blue); transform: translateX(4px); }
.dropdown-link i { width: 32px; height: 32px; background: var(--blue-50); color: var(--text-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.dropdown-link:hover i { background: var(--blue); color: var(--white); }

/* Scroll Progress Indicator */
#scroll-progress {
  position: absolute; bottom: -1px; left: 0; height: 2.5px;
  background: var(--green);
  width: 0%; z-index: 200; transition: width 0.05s linear;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  padding: 14px 30px;
  font-size: 1.05rem;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
  border: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-green {
  background: var(--grad-green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-green:hover {
  box-shadow: 0 12px 36px rgba(137,191,57,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 11px 28px;
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* WhatsApp Widget styles */
.wa-btn { background: var(--green); color: var(--white); }
.wa-float-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  animation: floatY 3s ease-in-out infinite;
}

/* ── HERO GRAPHICS & ORBS ── */
section { scroll-margin-top: 100px; }

.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 108px;
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background-image: none;
}
.hero-dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: none;
}
@keyframes hero-mesh-shift {
  0% { transform: scale(1); }
  100% { transform: scale(1.03); }
}

#hero-canvas {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}

.hero-content { color: var(--white); z-index: 5; position: relative; }
.hero-content h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: var(--white); }
.hero-content .gradient-text { color: var(--green); }

.badge-logo {
  width: 32px !important; height: 32px !important;
  max-width: 32px !important; max-height: 32px !important;
  object-fit: contain !important; border-radius: 6px; flex-shrink: 0;
}
.float-badge {
  display: flex; align-items: center; gap: 12px; position: absolute; z-index: 10;
  padding: 12px 18px; border-radius: var(--radius); min-width: 220px;
}
.float-badge.glass {
  background: var(--blue);
  border: 1px solid var(--white);
}
.float-badge .badge-main { font-size: 0.85rem; font-weight: 700; color: var(--white); }
.float-badge .badge-sub { font-size: 0.72rem; color: var(--white); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-badge { animation: floatY 4s ease-in-out infinite; }
.float-badge-delay { animation-delay: 1.5s; }

/* HIPAA and stats badges on hero */
.hero-badge-hipaa {
  background: var(--green);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-stat-pill {
  background: var(--blue);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── CARDS & SECTIONS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, background-color 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

/* Cards on Dark Sections */
section[style*="var(--bg-dark)"] .card, 
section[style*="var(--blue-dim)"] .card, 
section[style*="var(--grad-dark-section)"] .card,
.sp-profile-hero .card {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}
section[style*="var(--bg-dark)"] .card:hover, 
section[style*="var(--blue-dim)"] .card:hover, 
section[style*="var(--grad-dark-section)"] .card:hover {
  background: var(--white);
}

/* ── SERVICE CARDS ── */
.service-card {
  overflow: hidden;
  position: relative;
}
.service-card-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img-wrap img {
  transform: scale(1.08);
}
.service-icon-badge {
  position: absolute;
  bottom: -20px;
  left: 24px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-green);
  box-shadow: var(--shadow-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  z-index: 3;
}
.service-card-body {
  padding: 36px 24px 24px;
}
.service-card-body h3 {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

/* ── TEAM FLIP CARDS ── */
.flip-card {
  perspective: 1200px;
  min-height: 440px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  transform-style: preserve-3d;
  transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.flip-card:hover .flip-card-inner, .flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 40px 24px;
  top: 0;
  left: 0;
}
.flip-card-front {
  background: var(--white);
  border: 1px solid var(--border);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flip-card-back {
  transform: rotateY(180deg);
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--white);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.flip-card-back .btn-green {
  background: var(--green);
  color: var(--white);
}
.flip-card-back .spec-pill {
  background: var(--blue);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

/* ── TESTIMONIAL CAROUSEL ── */
.testimonials-section { background: var(--bg-page); }
.testimonial-card {
  background: var(--white) !important;
  border: 1px solid var(--border);
}
.testimonial-quote-icon {
  color: var(--blue);
}
.testimonial-stars {
  color: var(--green); /* ★ uses green, not yellow */
}
.testimonial-condition {
  background: var(--white);
  color: var(--green);
  border: 1px solid var(--green);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue); transition: all 0.3s;
}
.carousel-dot.active {
  width: 24px; border-radius: 4px; background: var(--green);
}
.carousel-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center; transition: all 0.25s;
}
.carousel-arrow:hover {
  background: var(--blue); color: var(--white);
}

/* ── LOCATION & HOURS ── */
.location-section { background: var(--white); }
.location-info-card {
  background: var(--white);
  border: 1px solid var(--border);
}
.hours-table {
  width: 100%; border-collapse: collapse;
}
.hours-table th {
  background: var(--blue); color: var(--white);
  padding: 10px 14px; text-align: left; font-size: 0.8rem; font-weight: 700;
}
.hours-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.hours-table tr:nth-child(even) {
  background: var(--white);
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px;
}
.status-dot.open { background: var(--green); }
.status-dot.closed { background: var(--blue); }

/* ── FAQ ACCORDION ── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-btn {
  width: 100%; padding: 20px; text-align: left; background: none; border: none;
  font-weight: 700; font-size: 1.02rem; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-btn:hover { background: var(--white); }
.faq-btn.active { color: var(--blue); background: var(--white); }
.faq-btn .chevron { color: var(--blue); transition: transform 0.3s; }
.faq-btn.active .chevron { transform: rotate(180deg); }
.faq-answer {
  display: block; padding: 0; margin: 0; color: var(--text-light); line-height: 1.6; font-size: 0.95rem;
}

/* ── INSURANCE MARQUEE ── */
.insurance-marquee-pill {
  background: var(--blue);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.25s;
}
.insurance-marquee-pill:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

/* ── NEWSLETTER STRIP ── */
.newsletter-strip-pill {
  background: var(--blue);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}
.newsletter-input {
  background: var(--white);
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  outline: none;
  font-family: inherit;
  width: 100%;
}
.newsletter-input:focus {
  border-color: var(--green);
}

/* ── FOOTER ── */
footer {
  background: var(--blue);
  color: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand p {
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 20px;
  max-width: 320px;
}
.social-flex {
  display: flex;
  gap: 12px;
}
footer h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--white); font-size: 0.9rem; }
.social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--white);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.social-icon.facebook { background: #1877F2; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icon.youtube { background: #FF0000; }
.social-icon.whatsapp { background: #25D366; }

.social-icon:hover { transform: translateY(-4px); filter: brightness(1.15); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--white);
  font-size: 0.8rem;
  color: var(--white);
}

/* ── REVEAL SYSTEM ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── TILT EFFECTS ── */
@media (hover: hover) {
  .service-card {
    transform-style: preserve-3d;
    perspective: 900px;
  }
}

/* ── PUBLIC BOOKING STEPS ── */
.step-progress { display: flex; align-items: center; margin-bottom: 36px; }
.step-node {
  width: 38px; height: 38px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 0.88rem;
  border: 2px solid var(--border); background: var(--white); color: var(--blue);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); flex-shrink: 0; position: relative;
}
.step-node.active {
  background: var(--blue); border-color: var(--blue); color: var(--white);
  transform: scale(1.12);
}
.step-node.done {
  background: var(--green); border-color: var(--green); color: var(--white);
}
.step-line { flex: 1; height: 2px; background: var(--border); transition: background 0.4s; }
.step-line.done { background: var(--green); }

/* Booking Card Selection */
.booking-svc-card {
  border: 2px solid var(--border);
  transition: all 0.25s ease;
  cursor: pointer;
}
.booking-svc-card.selected {
  border-color: var(--blue) !important;
  background-color: var(--white) !important;
}

/* ── PORTAL LIGHTBOX & MODALS ── */
#hw-lightbox-overlay {
  position: fixed; inset: 0; background: var(--blue);
  z-index: 99999; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}

/* ── VALIDATION ERRORS ── */
.field-error {
  color: var(--blue);
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}
.field-error.show { display: block; }
.input-invalid {
  border-color: var(--blue) !important;
  background-color: var(--white) !important;
}

/* ── RESPONSIVE ADAPTATIONS ── */
@media (max-width: 768px) {
  header { height: 84px; }
  .nav-logo-img { height: 54px !important; }
  .nav-logo-text { font-size: 1.6rem; }
  .hero-section { padding-top: 92px; }
  section { scroll-margin-top: 84px; }

  .hero-grid { grid-template-columns: 1fr !important; text-align: center; }
  .hero-content h1 { font-size: 2.8rem; }
  .nav-links, .nav-actions { display: none; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 40px; }
  
  .sp-profile-grid { grid-template-columns: 1fr !important; }
  .sp-profile-hero .container > div { grid-template-columns: 1fr !important; text-align: center; }
  .sp-profile-hero .container > div > div:first-child { margin: 0 auto; }
  .sp-cta-strip .container { justify-content: center !important; text-align: center; }

  /* Mobile Hamburger Toggle Button */
  #mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--blue-50);
    color: var(--blue);
    font-size: 1.5rem;
    border: 1px solid var(--border);
    transition: background 0.2s, transform 0.2s;
  }
  #mobile-menu-toggle:active {
    transform: scale(0.95);
    background: var(--blue-100);
  }
}

/* Default Desktop Hidden State for Mobile Navigation Drawer Components */
#mobile-menu-toggle { display: none; }
#mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 45, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#mobile-nav-backdrop.active {
  display: block;
  opacity: 1;
}

#mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100vh;
  background: var(--white);
  z-index: 99999;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-page);
}
#mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--text-light);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
#mobile-drawer-close:hover {
  background: var(--blue);
  color: var(--white);
}

.mobile-drawer-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav-heading {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 6px;
  padding-left: 4px;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-page);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-link i {
  font-size: 1.1rem;
  color: var(--blue);
}
.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--blue-50);
  color: var(--blue);
}
.mobile-nav-link.highlight {
  background: var(--blue-50);
  color: var(--blue);
  border: 1px solid var(--border);
}

/* ── RICH TEXT & LIST STYLING IN SERVICES ── */
.services-content ul, .service-details ul, .cms-rich-text ul, .services ul {
  list-style-type: disc !important;
  padding-left: 28px !important;
  margin-bottom: 20px !important;
}
.services-content ol, .service-details ol, .cms-rich-text ol, .services ol {
  list-style-type: decimal !important;
  padding-left: 28px !important;
  margin-bottom: 20px !important;
}
.services-content li, .service-details li, .cms-rich-text li, .services li {
  display: list-item !important;
  margin-bottom: 8px !important;
  font-weight: 500 !important;
  color: inherit !important;
}

/* ── REVIEWS MASONRY LAYOUT ── */
.reviews-cards-grid {
  columns: 3 320px;
  column-gap: 24px;
  margin-bottom: 40px;
}
.review-card-item {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 140px;
}
@media (max-width: 900px) {
  .reviews-cards-grid {
    columns: 2 280px;
  }
}
@media (max-width: 600px) {
  .reviews-cards-grid {
    columns: 1 100%;
  }
}

/* ── MOBILE BREAKPOINT REFINEMENTS (375px, 390px, 414px) ── */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    text-align: center;
  }
  .reveal-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .reveal-left p {
    margin-left: auto;
    margin-right: auto;
  }
  .reveal-left div[style*="display:flex"] {
    justify-content: center !important;
  }
  .reveal-right {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px;
  }
}

/* ── GLOBAL MOBILE SAFETY NET & OVERFLOW PROTECTION ── */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

@media (max-width: 768px) {
  /* 1. Header & Nav */
  header { height: auto !important; padding: 12px 0 !important; }
  .container { padding: 0 16px !important; }
  .nav-inner { flex-wrap: wrap; justify-content: space-between; gap: 10px; }
  .nav-logo-img { height: 44px !important; }
  .nav-logo-text { font-size: 1.35rem !important; }
  .nav-links { display: none !important; }
  .nav-actions { display: flex !important; }
  .nav-actions .btn { padding: 10px 18px !important; font-size: 0.82rem !important; }

  /* 2. Hero Section */
  .hero-section { padding-top: 100px !important; padding-bottom: 40px !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; text-align: center; width: 100% !important; min-width: 0 !important; }
  .reveal-left, .reveal-right { width: 100% !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
  .hero-content h1, .hero-section h1, .hero-h1 { font-size: clamp(1.65rem, 6vw, 2.4rem) !important; line-height: 1.25 !important; }
  .hero-content p { font-size: clamp(0.9rem, 3.5vw, 1.05rem) !important; margin: 0 auto 24px !important; }
  .hero-content > div[style*="display:flex"] { justify-content: center !important; flex-direction: column !important; align-items: center !important; width: 100%; }
  .hero-content .btn { width: 100% !important; max-width: 320px !important; justify-content: center; }
  .hero-stats { justify-content: center !important; gap: 20px !important; padding-top: 20px !important; }
  .hero-img-wrap {
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 220px !important;
    max-height: 320px !important;
    border-radius: 20px !important;
    width: 100% !important;
  }
  .hero-rating-badge {
    left: clamp(8px, 3vw, 16px) !important;
    bottom: clamp(8px, 3vw, 16px) !important;
    padding: clamp(8px, 2.5vw, 12px) clamp(10px, 3vw, 16px) !important;
  }
}

@media (max-width: 380px) {
  .nav-logo-text { font-size: 1.2rem !important; }
  .nav-actions .btn { padding: 8px 14px !important; font-size: 0.78rem !important; }
}


