/* ============================================================
   BLING SOLUTIONS — style.css
   Brand: Baloo Bhai 2 | #5165AE blue | #FFD235 yellow | #F9F6EE cream | #333333 dark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --blue:       #5165AE;
  --blue-dark:  #3d4f8e;
  --blue-light: #6b7ec4;
  --blue-pale:  #eef0f8;
  --yellow:     #FFD235;
  --yellow-dark:#e6bc1e;
  --cream:      #F9F6EE;
  --dark:       #333333;
  --mid:        #666;
  --light:      #BABCBE;
  --sky:        #7CC8E8;
  --mint:       #8AC48A;
  --white:      #ffffff;

  --nav-h:      72px;
  --radius:     14px;
  --radius-lg:  24px;
  --shadow:     0 4px 24px rgba(81,101,174,0.13);
  --shadow-lg:  0 12px 48px rgba(81,101,174,0.18);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Baloo Bhai 2', sans-serif;
  line-height: 1.2;
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 700; }
p  { line-height: 1.75; color: var(--mid); }

.section-label {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 0.6rem;
}
.section-label.on-dark { color: var(--yellow); }

/* ── Layout ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 90px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header p { margin-top: 14px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,210,53,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--blue);
  height: var(--nav-h);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(81,101,174,0.25);
  flex-shrink: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo img { height: 52px; max-height: calc(var(--nav-h) - 16px); width: auto; display: block; }
.nav-logo span {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span em { color: var(--yellow); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  padding: 7px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-links .btn-primary { margin-left: 8px; padding: 9px 22px; font-size: 0.9rem; color: var(--dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--blue-dark);
  padding: 20px 24px 28px;
  z-index: 899;
  transform: translateY(-8px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.nav-drawer a {
  display: block;
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.nav-drawer a:hover { color: var(--yellow); padding-left: 6px; }
.nav-drawer .btn-primary { display: inline-flex; margin-top: 16px; }

/* ── FOOTER ── */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-brand .footer-logo {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
}
.footer-brand .footer-logo em { color: var(--yellow); font-style: normal; }

.footer h5 {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer ul a:hover { color: var(--white); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--yellow); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--white);
}
.footer-social a:hover { background: var(--yellow); color: var(--dark); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ── HERO (shared) ── */
.hero {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,210,53,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(124,200,232,0.1) 0%, transparent 50%);
}
.hero-sparkle {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  opacity: 0.06;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,210,53,0.15);
  border: 1px solid rgba(255,210,53,0.3);
  border-radius: 50px;
  padding: 7px 18px;
  font-family: 'Baloo Bhai 2', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

/* Service card header — icon + eyebrow/title vertically centred */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.service-card-header .service-icon { margin-bottom: 0; flex-shrink: 0; }
.service-card-header > div { display: flex; flex-direction: column; justify-content: center; }
.hero-tag::before {
  content: '✦';
  font-size: 0.7rem;
}
.page-hero {
  background: var(--blue);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,210,53,0.07) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); margin-top: 14px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── HERO IMAGE ── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-image-col {
  position: relative;
}
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Decorative accent behind image */
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  border: 2px solid rgba(255,210,53,0.3);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--cream);
  padding: 28px 0;
  border-bottom: 1px solid rgba(81,101,174,0.08);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 32px;
  border-right: 1px solid rgba(81,101,174,0.15);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.trust-item span {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
}

/* ── SERVICE CARDS ── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(81,101,174,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--blue-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; color: var(--blue); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; margin-bottom: 20px; }
.service-card .learn-more {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-card .learn-more:hover { gap: 10px; }

/* ── CHECKLIST ── */
.checklist { margin: 16px 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--mid);
  border-bottom: 1px solid rgba(81,101,174,0.06);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--mint);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 1px;
}

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(81,101,174,0.08);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-family: 'Baloo Bhai 2', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--blue-pale);
  line-height: 1;
}
.stars { color: var(--yellow); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.93rem; margin-bottom: 20px; position: relative; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue);
}
.author-info strong { display: block; font-size: 0.9rem; font-weight: 700; }
.author-info span { font-size: 0.8rem; color: var(--light); }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--blue);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,210,53,0.1) 0%, transparent 65%);
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-banner h2 em { color: var(--yellow); font-style: normal; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 32px; position: relative; }
.cta-banner .btn { position: relative; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--sky), var(--mint), var(--yellow));
}
.step { text-align: center; padding: 0 16px; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step-num span {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--blue);
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.88rem; }

/* ── FAQ ACCORDION ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(81,101,174,0.12);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid rgba(81,101,174,0.12); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  transition: var(--transition);
}
.faq-q:hover { color: var(--blue); }
.faq-q svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--blue);
  transition: transform var(--transition);
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-a p {
  padding: 0 4px 20px;
  font-size: 0.93rem;
}
.faq-item.open .faq-a { max-height: 300px; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 11px; }
.form-group label {
  display: block;
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(81,101,174,0.2);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(81,101,174,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── POPUP MODAL ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.popup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px 24px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  transform: translateY(16px) scale(0.97);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}
.popup-box::-webkit-scrollbar { display: none; }
.popup-overlay.open .popup-box {
  transform: translateY(0) scale(1);
}
.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
  color: var(--mid);
  border: none;
}
.popup-close:hover { background: var(--blue); color: var(--white); }
.popup-header { margin-bottom: 14px; }
.popup-header h3 { margin-bottom: 5px; }
.popup-header p { font-size: 0.9rem; }
/* Tighter textarea on desktop popup */
#popup-form textarea { min-height: 80px; }

.popup-ty {
  text-align: center;
  padding: 20px 0;
  display: none;
}
.popup-ty.show { display: block; }
.ty-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}
.popup-ty h3 { margin-bottom: 10px; }
.popup-ty p { margin-bottom: 24px; }
.btn-wa {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 700;
}
.btn-wa:hover { background: #1ebe5c; transform: translateY(-2px); }

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8000;
}
.wa-fab-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.wa-fab-btn:hover { transform: scale(1.08); }
.wa-fab-btn svg { width: 30px; height: 30px; color: var(--white); }
.wa-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2.2s ease-out infinite;
  opacity: 0;
}
@keyframes waPulse {
  0%   { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.wa-bubble {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background: var(--white);
  border-radius: 18px 18px 4px 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.8) translateY(12px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.wa-bubble.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.wa-bubble-header {
  background: #25D366;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-bubble-header .wa-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.wa-bubble-header .wa-info strong { display: block; font-size: 0.9rem; color: var(--white); font-weight: 700; }
.wa-bubble-header .wa-info span { font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.wa-bubble-msgs { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.wa-msg-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #166534;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}
.wa-msg-btn:hover { background: #dcfce7; border-color: #25D366; }

/* ── GRIDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ── VALUE PILLARS ── */
.pillar {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
}
.pillar:hover { transform: translateY(-4px); background: var(--blue); }
.pillar:hover .pillar-icon { background: rgba(255,255,255,0.2); }
.pillar:hover .pillar-icon svg { color: var(--yellow); }
.pillar:hover h4, .pillar:hover p { color: var(--white); }
.pillar-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}
.pillar-icon svg { width: 28px; height: 28px; color: var(--blue); transition: var(--transition); }
.pillar h4 { margin-bottom: 10px; transition: var(--transition); }
.pillar p { font-size: 0.88rem; transition: var(--transition); }

/* ── BADGE ── */
.badge {
  display: inline-block;
  width: fit-content;
  font-family: 'Baloo Bhai 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 50px;
  background: var(--yellow);
  color: var(--dark);
  white-space: nowrap;
}
.badge.soon { background: var(--blue-pale); color: var(--blue); }

/* Offset anchor scroll position to clear sticky nav */
[id="post-reno"], [id="move-in"], [id="deep-clean"], [id="regular"], [id="office"] {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

/* Services detail card grid */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  /* Prevent overflow */
  overflow: hidden;
  min-width: 0;
}
.service-detail-card > div {
  min-width: 0;
  overflow: hidden;
}
.contact-card {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: var(--white);
  height: 100%;
}
.contact-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail svg { width: 20px; height: 20px; color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.contact-detail div strong { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.contact-detail div span { font-size: 0.95rem; }
.contact-social { display: flex; gap: 10px; margin-top: 28px; }
.contact-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--white);
}
.contact-social a:hover { background: var(--yellow); color: var(--dark); }
.contact-social svg { width: 18px; height: 18px; }

/* ── MAP PLACEHOLDER (kept for reference, not used) ── */
.map-placeholder {
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--blue);
  border: 2px dashed rgba(81,101,174,0.25);
  margin-top: 48px;
}
.map-placeholder svg { width: 36px; height: 36px; opacity: 0.4; }
.map-placeholder p { font-size: 0.85rem; opacity: 0.6; }

/* Service area grid on mobile */
@media (max-width: 640px) {
  .service-area-grid { grid-template-columns: 1fr !important; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TURNSTILE ── */
.cf-turnstile { margin: 16px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-drawer { display: block; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 48px; }
  .page-hero { padding: 40px 0; }
  /* Stack hero to single column on tablet/mobile */
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-img-wrap img { height: 260px; }
  /* Shrink eyebrow font so it fits one line */
  .hero-tag { font-size: 0.82rem; letter-spacing: 0.04em; padding: 8px 18px; text-align: left; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  /* Trust strip: 2x2 grid, no dividers */
  .trust-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .trust-item { border-right: none; border-bottom: none; justify-content: flex-start; padding: 14px 16px; }
  .popup-box { padding: 20px 16px 16px; max-height: 96vh; }
  .popup-header { margin-bottom: 10px; }
  .popup-header h3 { font-size: 1.15rem; }
  .popup-header p { font-size: 0.8rem; line-height: 1.5; }
  .section-label { font-size: 0.7rem; }
  .form-group { margin-bottom: 7px; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 8px 11px; font-size: 0.84rem; border-radius: 8px; }
  .form-group textarea { min-height: 56px; }
  .form-group label { font-size: 0.78rem; margin-bottom: 3px; }
  /* Keep name+phone side by side on mobile popup */
  #popup-form .form-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cf-turnstile { margin: 6px 0; transform: scale(0.95); transform-origin: left; }
  .popup-box .btn-lg { padding: 12px 20px; font-size: 0.92rem; margin-top: 2px; }
  .popup-box p[style*="0.78rem"] { display: none; } /* hide fine print to save space */
  .contact-card { padding: 28px 24px; }
  /* Services detail cards: single column, contained */
  .service-detail-card {
    grid-template-columns: 1fr !important;
    padding: 24px 20px;
    gap: 20px;
  }
  /* Pricing pillars on services page */
  [style*="repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  /* Service area grid on contact page */
  .service-area-grid { grid-template-columns: 1fr !important; }
}

/* Services snapshot — centred 2-card second row */
.services-row-2 {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
}
.services-row-2 .service-card {
  width: calc(33.333% - 14px);
}
@media (max-width: 900px) {
  .services-row-2 { flex-wrap: wrap; }
  .services-row-2 .service-card { width: calc(50% - 14px); }
}
@media (max-width: 640px) {
  .services-row-2 .service-card { width: 100%; }
}

.mobile-only { display: none; }
@media (max-width: 900px) { .mobile-only { display: inline; } }
@media (max-width: 640px) { .wellness-grid { grid-template-columns: 1fr 1fr !important; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
