/*
Theme Name: Bansal Oro Dental Redesign
Author: Bansal Oro Dental Care
Description: Complete dental design with editable WordPress blocks.
Version: 1.1.1
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: bansal-redesign
*/
/* ==========================================================================
   Bansal Oro Dental Care — Redesigned Demo
   Modern, calm, clinical aesthetic
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;

  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;

  --ink-900: #0f172a;
  --ink-600: #475569;
  --ink-500: #64748b;

  --paper:  #f8fafc;
  --white:  #ffffff;

  --amber-400: #fbbf24;
  --amber-500: #f59e0b;

  --rose-500: #f43f5e;

  /* Type scale */
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  /* Radii & shadows */
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow:    0 12px 34px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.14);

  --container: 1180px;
  --gutter: 24px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-600);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1rem; }

a { color: var(--teal-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-800); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
  line-height: 1;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 148, 136, .35);
}
.btn-primary:hover { background: var(--teal-700); color: #fff; }

.btn-amber {
  background: var(--amber-500);
  color: var(--ink-900);
  box-shadow: 0 10px 24px rgba(245, 158, 11, .35);
}
.btn-amber:hover { background: var(--amber-400); color: var(--ink-900); }

.btn-ghost {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-600);
}
.btn-ghost:hover { background: var(--teal-50); color: var(--teal-800); }

.btn-white {
  background: #fff;
  color: var(--teal-700);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { background: var(--teal-50); color: var(--teal-800); }

.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06);
}

.topbar {
  background: var(--ink-900);
  color: var(--teal-100);
  font-size: .85rem;
  padding: .45rem 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: var(--teal-100); }
.topbar a:hover { color: #fff; }
.topbar strong { color: #fff; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem 0;
}

.brand { display: flex; align-items: center; gap: .75rem; }
.brand__logo {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal-500), var(--sky-500));
  color: #fff;
  flex-shrink: 0;
}
.brand__name { font-family: var(--font-head); font-size: 1.28rem; font-weight: 700; color: var(--ink-900); line-height: 1.05; }
.brand__tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); font-weight: 800; }

.nav {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nav a {
  color: var(--ink-600);
  font-weight: 600;
  padding: .55rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .95rem;
}
.nav a:hover { color: var(--teal-700); background: var(--teal-50); }
.nav a.active { color: var(--teal-700); background: var(--teal-50); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

.hamburger {
  display: none;
  background: none; border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  background: var(--teal-50);
}
.hamburger span {
  display: block; width: 22px; height: 2.5px;
  background: var(--teal-700);
  border-radius: 4px;
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: .75rem;
    transform: translateY(-100%);
    transition: transform .35s ease;
    z-index: 1000;
  }
  .nav.open { transform: translateY(0); }
  .nav a { font-size: 1.3rem; padding: .8rem 1.4rem; }
  .nav-cta { display: none; }
  .hamburger.close { position: fixed; top: 18px; right: 18px; z-index: 1001; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(13, 148, 136, .20), transparent 60%),
    radial-gradient(50rem 26rem at -10% 110%, rgba(14, 165, 233, .16), transparent 60%),
    linear-gradient(160deg, var(--teal-50) 0%, var(--paper) 55%, var(--white) 100%);
  padding: 5.5rem 0 5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--white);
  border: 1px solid var(--teal-200);
  padding: .5rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
}

.hero h1 { margin: 0 0 1.1rem; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal-600), var(--sky-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { font-size: 1.13rem; max-width: 34rem; }

.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.8rem 0; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 26rem;
  margin-top: 2rem;
}
.stat {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--teal-700); line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--ink-500); }

.hero__art { position: relative; }
.hero__photo {
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--teal-100);
  position: relative;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .9rem;
  animation: float 4.5s ease-in-out infinite;
}
.floating-card .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
}
.floating-card b { color: var(--ink-900); display: block; font-size: 1rem; }
.floating-card span { color: var(--ink-500); }
.fc-1 { top: 6%; right: -6%; background: var(--amber-500); color: var(--ink-900); }
.fc-2 { bottom: 14%; left: -8%; background: var(--teal-500); color: #fff; animation-delay: 1.2s; }

.fc-rating { bottom: 4%; right: 4%; animation-delay: 2.4s; }
.fc-rating .ic { background: var(--amber-100, #fef3c7); color: var(--amber-500); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Section base ---------- */
.section { padding: 5.5rem 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: .9rem; }
.section-head p { font-size: 1.05rem; margin: 0; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink-900);
  color: rgba(255,255,255,.75);
  padding: 2.4rem 0;
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--teal-500);
  margin-bottom: .2rem;
}
.trust-item span { font-size: .9rem; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  border: 1px solid rgba(15, 23, 42, .05);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal-500), var(--sky-500));
  opacity: 0;
  transition: opacity .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 1.3rem;
  background: linear-gradient(135deg, var(--teal-500), var(--sky-500));
  box-shadow: 0 8px 18px rgba(13, 148, 136, .25);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.service-card p { font-size: .95rem; margin-bottom: 1rem; }
.service-card a { font-weight: 700; font-size: .92rem; }

/* ---------- Why choose us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  background: var(--sky-100);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.checklist { margin-top: 1.4rem; display: grid; gap: .95rem; }
.checklist li {
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(15,23,42,.05);
  border-radius: var(--radius-sm);
  padding: .95rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.checklist .ck {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  display: grid; place-items: center;
}
.checklist b { color: var(--ink-900); display: block; font-size: 1rem; }
.checklist span { font-size: .9rem; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--teal-500);
}
.step__num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--teal-200);
  font-weight: 700;
  line-height: 1;
  margin-bottom: .9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15,23,42,.05);
  position: relative;
}
.testimonial .quote {
  font-size: 3.4rem;
  font-family: var(--font-head);
  color: var(--teal-200);
  line-height: 0;
  display: block;
  margin-bottom: 1.2rem;
}
.testimonial p { font-size: .98rem; font-style: italic; }
.testimonial__who {
  display: flex; align-items: center; gap: .8rem;
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(15,23,42,.1);
}
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--sky-500));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
}
.testimonial__who b { color: var(--ink-900); display: block; font-size: .95rem; }
.testimonial__who span { font-size: .82rem; color: var(--ink-500); }
.stars { color: var(--amber-500); font-size: .95rem; letter-spacing: 2px; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.member {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding-bottom: 1.6rem;
  border: 1px solid rgba(15,23,42,.05);
}
.member__photo {
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-100), var(--sky-100));
  margin-bottom: 1.2rem;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.2rem; }
.member span { color: var(--teal-600); font-weight: 700; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--teal-100), var(--sky-100));
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.4rem 1.1rem .9rem;
  background: linear-gradient(transparent, rgba(15,23,42,.72));
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(40rem 20rem at 90% 0%, rgba(14,165,233,.25), transparent 60%),
    linear-gradient(120deg, var(--teal-800), var(--teal-700) 55%, var(--teal-500));
  padding: 3.6rem 3rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: .5rem; }
.cta-banner p { color: var(--teal-100); margin: 0; font-size: 1.02rem; }
.cta-banner .btn { flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.72); padding: 4.5rem 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.2rem; font-weight: 800; }
.footer-grid a { color: rgba(255,255,255,.72); display: block; padding: .3rem 0; font-size: .93rem; }
.footer-grid a:hover { color: var(--teal-500); }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.socials a:hover { background: var(--teal-600); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.4rem 0;
  text-align: center;
  font-size: .85rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  z-index: 120;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(50rem 24rem at 85% -30%, rgba(13,148,136,.18), transparent 60%),
    linear-gradient(140deg, var(--teal-50), var(--paper));
  padding: 3.8rem 0;
  border-bottom: 1px solid rgba(15,23,42,.05);
}
.page-hero__inner { max-width: 720px; }
.page-hero h1 { margin: .4rem 0 1rem; }
.breadcrumb { font-size: .88rem; color: var(--ink-500); font-weight: 600; }
.breadcrumb a { color: var(--teal-600); }

/* ---------- Appointments / Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.info-cards { display: grid; gap: 1.1rem; }
.info-card {
  display: flex; gap: 1.1rem;
  background: var(--white);
  border: 1px solid rgba(15,23,42,.05);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}
.info-card .ic {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-500), var(--sky-500));
  color: #fff;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.info-card p { margin: 0; font-size: .95rem; }
.info-card p small { display: block; color: var(--ink-500); font-size: .82rem; }
.info-card.emergency { background: linear-gradient(120deg, #fef3c7, #fef9c3); border-color: var(--amber-400); }
.info-card.emergency .ic { background: var(--amber-500); color: var(--ink-900); }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.3rem 2.2rem;
  border: 1px solid rgba(15,23,42,.05);
}
.form-card h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.form-card > p { font-size: .95rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .85rem; color: var(--ink-900); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: .95rem;
  padding: .8rem 1rem;
  border: 1.5px solid rgba(15,23,42,.14);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: .6rem; }

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15,23,42,.06);
  position: relative;
  aspect-ratio: 21 / 9;
  background: var(--teal-100);
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2.5rem;
  align-items: center;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: .9rem; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item details > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-weight: 800;
  color: var(--ink-900);
  font-size: 1.02rem;
}
.faq-item details > summary::-webkit-details-marker { display: none; }
.faq-item details > summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--teal-600);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item details[open] > summary::after { transform: rotate(45deg); }
.faq-item details > div { padding: 0 1.5rem 1.3rem; font-size: .95rem; color: var(--ink-600); }

/* ---------- Feature list on services ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem 1.7rem;
  border-left: 4px solid var(--teal-500);
}
.feature-item h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.feature-item p { margin: 0; font-size: .94rem; }

/* ---------- Media queries ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__art { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .services-grid, .testimonials-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .map-card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid, .testimonials-grid, .team-grid, .gallery-grid { grid-template-columns: 1fr; }
  .steps, .feature-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.4rem 1.6rem; }
  .floating-card.fc-1 { right: 0; }
  .floating-card.fc-2 { left: 0; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .floating-card { animation: none; }
}
/* WordPress integration: preserve original layout and keep content visible without JS. */
.wp-site-blocks { padding:0; }
.wp-site-blocks > *, .bansal-main, .bansal-main > *, .wp-block-post-content > * { margin-block-start:0; margin-block-end:0; }
.bansal-main, .wp-block-post-content { max-width:none; }
.reveal { opacity:1; transform:none; }
.reveal.bansal-animate:not(.visible) { opacity:0; transform:translateY(26px); }
.brand__name, .brand__tag { display:inline; }
.brand, .nav-cta a { flex-shrink:0; }
.navbar { padding-inline:24px; }
@media(min-width:901px) and (max-width:1150px) { .nav-cta { display:none; } }
@media(max-width:900px) {
  html:not(.bansal-js) .navbar { flex-wrap:wrap; }
  html:not(.bansal-js) .nav { position:static; transform:none; flex-direction:row; flex-wrap:wrap; font-size:1rem; gap:0; }
  html:not(.bansal-js) .nav a { font-size:1rem; padding:.5rem; }
  html:not(.bansal-js) .hamburger { display:none; }
}
.admin-bar .site-header { top:32px; }
.bansal-appointment .wpforms-container { margin:0; }
.bansal-appointment .wpforms-field { padding:0 0 18px !important; }
.bansal-appointment input, .bansal-appointment textarea, .bansal-appointment select { max-width:100% !important; width:100%; border:1px solid var(--teal-200) !important; border-radius:10px !important; font-family:var(--font-body) !important; padding:12px 14px !important; }
.bansal-appointment .wpforms-field-label { color:var(--ink-900); font-weight:700; }
.bansal-appointment button[type=submit] { background:var(--teal-700) !important; color:white !important; border:0 !important; border-radius:999px !important; padding:14px 28px !important; font-weight:700 !important; }
.bansal-appointment .wpforms-error { color:#b91c1c; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid var(--sky-500); outline-offset:4px; }
@media(max-width:782px) { .admin-bar .site-header { top:46px; } }
@media(prefers-reduced-motion:reduce) { .reveal.bansal-animate:not(.visible) { opacity:1; transform:none; } }

/* Mobile menu must cover the viewport, outside the blurred header. */
@media(max-width:900px){
 .site-header{backdrop-filter:none;-webkit-backdrop-filter:none}
 html.bansal-js .nav{margin:0;padding:70px 24px;height:100dvh;visibility:hidden;pointer-events:none;overflow-y:auto}
 html.bansal-js .nav.open{visibility:visible;pointer-events:auto}
 .admin-bar .nav{top:32px;height:calc(100dvh - 32px)}
 .admin-bar .hamburger.close{top:50px}
}
@media(max-width:782px){.admin-bar .nav{top:46px;height:calc(100dvh - 46px)}.admin-bar .hamburger.close{top:64px}}
@media(max-width:640px){.footer-grid{grid-template-columns:1fr}}

/* Keep the homepage photo centered without intrinsic image/grid overflow on Safari. */
@media(max-width:1000px){
 .hero__grid{grid-template-columns:minmax(0,1fr)}
 .hero__grid > *{min-width:0}
 .hero__art{width:100%;max-width:420px;min-width:0;justify-self:center;margin-left:auto;margin-right:auto}
 .hero__photo{width:100%;height:0;padding-top:115%;aspect-ratio:auto}
 .hero__photo img{position:absolute;inset:0;width:100%;height:100%;min-width:0;object-fit:cover}
}
@media(max-width:640px){
 .hero__art .floating-card{max-width:calc(100% - 16px);padding:.65rem .8rem;gap:.55rem;font-size:.8rem}
 .hero__art .floating-card b{font-size:.9rem}
 .hero__art .floating-card .ic{width:34px;height:34px;flex-shrink:0}
 .hero__art .floating-card > div{min-width:0}
 .hero__art .fc-1{right:8px}
 .hero__art .fc-2{left:8px;bottom:25%}
 .hero__art .fc-rating{right:8px;bottom:4%}
 .hero__stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
 .hero__stats .stat{min-width:0;padding:.75rem .5rem;overflow-wrap:anywhere}
}

/* Scale arch radii with image width to keep a semicircular crown. */
.hero__photo { border-radius:50% 50% var(--radius-lg) var(--radius-lg) / 43.47826087% 43.47826087% var(--radius-lg) var(--radius-lg); }
.split__media[style*="220px"] { border-radius:50% 50% var(--radius-lg) var(--radius-lg) / 44.44444444% 44.44444444% var(--radius-lg) var(--radius-lg) !important; }
