/* ============================================================
   Delhi Home Physio — premium glossy theme
   ============================================================ */
:root {
  --teal-900: #07332f;
  --teal-700: #0c5e54;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --mint: #d8fbf2;
  --ink: #0a1f1c;
  --slate: #5b6f6b;
  --bg: #f6fbf9;
  --bg-alt: #eef7f4;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 6px 20px rgba(8, 60, 53, 0.08);
  --shadow-md: 0 18px 50px rgba(8, 60, 53, 0.14);
  --shadow-lg: 0 40px 90px rgba(8, 60, 53, 0.22);
  --grad: linear-gradient(135deg, #14b8a6 0%, #0c5e54 60%, #07332f 100%);
  --grad-soft: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Glass utility ---------- */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

/* ---------- Eyebrow + headings ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--mint);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--teal-900);
}

.section__sub {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-top: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 26px rgba(12, 94, 84, 0.4);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(12, 94, 84, 0.5); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost {
  color: var(--teal-900);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(12, 94, 84, 0.18);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { transform: translateY(-3px); background: #fff; }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(246, 251, 249, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--teal-900);
  letter-spacing: -0.02em;
}
.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}
/* On the dark footer, sit the icon on a soft white tile so it stays legible */
.brand--footer .brand__logo {
  width: 44px;
  height: 44px;
  padding: 5px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 480px) {
  .brand { font-size: 1.25rem; gap: 9px; }
  .brand__logo { width: 38px; height: 38px; }
}
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal-900);
  position: relative;
  opacity: 0.85;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--grad-soft); transition: width 0.25s ease;
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__toggle {
  display: none; background: none; border: 0;
  flex-direction: column; gap: 6px; cursor: pointer;
  padding: 10px; margin: -10px -10px -10px 0;
  align-items: center; justify-content: center;
}
.nav__toggle span { display: block; width: 26px; height: 2.5px; background: var(--teal-900); border-radius: 2px; transition: 0.3s; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(1100px 600px at 80% -10%, rgba(45, 212, 191, 0.18), transparent 60%),
              radial-gradient(900px 500px at 0% 20%, rgba(20, 184, 166, 0.1), transparent 55%),
              var(--bg);
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -200px; right: -150px;
  width: 600px; height: 600px;
  background: var(--grad-soft);
  filter: blur(120px); opacity: 0.25; border-radius: 50%;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--teal-900);
  margin: 8px 0 20px;
}
.hero__subtitle { color: var(--slate); font-size: 1.15rem; max-width: 50ch; }
.hero__actions { display: flex; gap: 16px; margin: 32px 0 40px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stat .num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600; color: var(--teal-700);
}
.hero__stat .lbl { font-size: 0.85rem; color: var(--slate); font-weight: 600; }

.hero__media { position: relative; }
.hero__card {
  border-radius: 28px; overflow: hidden; padding: 10px;
  transform: rotate(1.5deg);
  animation: floaty 6s ease-in-out infinite;
}
.hero__card img { border-radius: 20px; height: 520px; width: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; bottom: 28px; left: -26px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 100px; font-weight: 700; font-size: 0.9rem;
  color: var(--teal-900);
}
.hero__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.2); }
@keyframes floaty { 0%,100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-14px); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head .section__sub { margin-inline: auto; }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Service cards ---------- */
.card {
  background: #fff;
  border: 1px solid rgba(12, 94, 84, 0.08);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-soft); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--mint); color: var(--teal-700);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.25rem; color: var(--teal-900); margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--slate); font-size: 0.97rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius); height: 480px; width: 100%; object-fit: cover; box-shadow: var(--shadow-md); }
.about__float {
  position: absolute; right: -20px; bottom: 30px;
  padding: 20px 24px; border-radius: var(--radius-sm); max-width: 220px;
}
.about__float .big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--teal-700); }
.about__float .small { font-size: 0.85rem; color: var(--slate); font-weight: 600; }
.checklist { list-style: none; margin: 26px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checklist li::before {
  content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
}

/* ---------- Team ---------- */
.member { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.member__img { height: 340px; object-fit: cover; object-position: center 22%; width: 100%; }
.member__body { padding: 22px 24px 28px; }
.member__body h3 { color: var(--teal-900); font-size: 1.2rem; }
.member__body span { color: var(--teal-600, #0c8c7e); font-weight: 600; font-size: 0.9rem; }
.member__quals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; padding: 0; }
.member__qual {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-900);
  background: rgba(12, 140, 126, 0.1);
  border: 1px solid rgba(12, 140, 126, 0.22);
  border-radius: 999px;
}
.member__qual::before { content: "✓"; color: var(--teal-600, #0c8c7e); font-weight: 700; }
.member__bio { color: var(--slate); font-size: 0.96rem; line-height: 1.65; margin-top: 14px; }

/* Solo profile: a lone card becomes a wide, horizontal "about me" panel */
#teamGrid:has(.member:only-child) { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
#teamGrid:has(.member:only-child) .member { display: grid; grid-template-columns: 280px 1fr; align-items: stretch; }
#teamGrid:has(.member:only-child) .member__img { height: 100%; min-height: 320px; }
#teamGrid:has(.member:only-child) .member__body { padding: 34px 36px; align-self: center; }
@media (max-width: 640px) {
  #teamGrid:has(.member:only-child) .member { grid-template-columns: 1fr; }
  #teamGrid:has(.member:only-child) .member__img { height: 300px; min-height: 0; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: #fff; border: 1px solid rgba(12,94,84,0.08); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 20px 24px; font-family: inherit; font-size: 1.04rem; font-weight: 600; color: var(--teal-900);
}
.faq__icon { font-size: 1.5rem; color: var(--teal-500); line-height: 1; flex: 0 0 auto; transition: transform 0.25s ease; }
.faq__item.open .faq__icon { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__item.open .faq__a { max-height: 320px; }
.faq__a p { color: var(--slate); line-height: 1.7; padding: 0 24px 22px; margin: 0; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border-radius: var(--radius); padding: 32px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(12,94,84,0.06); position: relative;
}
.quote__mark { font-family: var(--font-display); font-size: 3.4rem; line-height: 0.5; color: var(--teal-400); height: 28px; display: block; }
.quote p { color: var(--ink); font-size: 1.02rem; margin: 10px 0 22px; }
.quote__who { display: flex; flex-direction: column; }
.quote__who strong { color: var(--teal-900); }
.quote__who span { color: var(--slate); font-size: 0.86rem; }
.quote__stars { color: #f5a623; margin-bottom: 6px; letter-spacing: 2px; }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 100px; }
.cta__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: 70px 40px; border-radius: 32px;
  background: var(--grad);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta__inner h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta__inner p { opacity: 0.9; max-width: 50ch; margin: 14px auto 30px; font-size: 1.1rem; }
.cta__inner .btn--primary { background: #fff; color: var(--teal-900); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.cta__glow { position: absolute; width: 400px; height: 400px; background: var(--teal-400); filter: blur(120px); opacity: 0.4; top: -150px; left: -100px; border-radius: 50%; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact__list { list-style: none; margin: 26px 0 30px; display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 2px; }
.contact__list strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.contact__list a, .contact__list span { font-size: 1.1rem; font-weight: 600; color: var(--teal-900); }
.contact__map { border-radius: var(--radius); overflow: hidden; padding: 8px; }
.contact__map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius-sm); }

/* ---------- Footer ---------- */
.footer { background: var(--teal-900); color: #cfeae5; padding: 50px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand { color: #fff; }
.footer__tag { opacity: 0.7; font-size: 0.9rem; margin-top: 4px; }
.footer__copy { opacity: 0.7; font-size: 0.88rem; }
.footer__admin { opacity: 0.6; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 100px; }
.footer__admin:hover { opacity: 1; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 130px; }
  .hero__card img { height: 380px; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    height: 100vh; height: 100dvh;
    width: min(80%, 330px);
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 96px 38px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(.2,.8,.2,1);
    box-shadow: -24px 0 70px rgba(8, 60, 53, 0.22);
    z-index: 1200;
    overflow-y: auto;
  }
  .nav__links.open { transform: none; }
  .nav__links a {
    width: 100%;
    font-size: 1.2rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--line, #e2ece9);
  }
  .nav__links a::after { display: none; }
  /* dim scrim behind the drawer */
  .nav__scrim {
    position: fixed; inset: 0; background: rgba(7, 51, 47, 0.45);
    backdrop-filter: blur(2px); opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease; z-index: 1100;
  }
  .nav__scrim.show { opacity: 1; pointer-events: auto; }
  /* hamburger -> X */
  .nav__toggle { display: flex; position: relative; z-index: 1300; }
  .nav__toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .grid--3 { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero__badge { left: 0; }
  .about__float { right: 10px; }
}
