/* =========================================================
   Bansi Multi Physiotherapy & Neuro Pediatric Clinic
   Medical teal design system
   ========================================================= */

:root {
  --teal-900: #0b3d3a;
  --teal-800: #0b5a54;
  --teal-700: #0b8a7d;
  --teal-600: #0fa896;
  --teal-100: #dff4f0;
  --teal-50: #ecfaf7;
  --ink: #16332f;
  --muted: #5c7270;
  --line: #e3efec;
  --white: #ffffff;
  --bg-alt: #f4faf8;
  --amber: #e07b39;
  --danger: #d9534f;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(11, 90, 84, 0.12);
  --shadow-sm: 0 8px 22px rgba(11, 90, 84, 0.10);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Reusable ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: var(--font-body);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn--solid { background: var(--teal-700); color: #fff; }
.btn--solid:hover { background: var(--teal-800); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--outline { background: transparent; color: var(--teal-800); border-color: var(--teal-700); }
.btn--outline:hover { background: var(--teal-50); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--teal-800); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.15); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.section { padding: 4.5rem 0; }
.section--alt { background: var(--bg-alt); }

.section-head { text-align: center; margin-bottom: 2.8rem; max-width: 640px; margin-inline: auto; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0.4rem 0 0.7rem; }
.section-head p { color: var(--muted); }

.eyebrow {
  color: var(--teal-700);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.accent { color: var(--teal-700); }

/* ---------- Header ---------- */
.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__img {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: #fff;
  padding: 5px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}
.brand--light .brand__img {
  width: 52px; height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--teal-800); }
.brand__text small { font-size: 0.72rem; color: var(--muted); }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: #cfeae6; }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav__link { font-weight: 500; color: var(--ink); position: relative; padding: 0.25rem 0; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--teal-700); transition: width 0.25s ease; }
.nav__link:hover { color: var(--teal-700); }
.nav__link:hover::after { width: 100%; }
.nav__cta { padding: 0.6rem 1.2rem; }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { width: 26px; height: 3px; background: var(--teal-800); border-radius: 3px; transition: transform 0.3s ease, opacity 0.3s ease; }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 60%, #fff 100%); position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; padding: 5rem 0; }
.pill {
  display: inline-block; background: #fff; color: var(--teal-800);
  border: 1px solid var(--teal-100); padding: 0.45rem 1rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 1rem; }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 34rem; margin-bottom: 1.6rem; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero__ticks li { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.5rem; color: var(--ink); font-weight: 500; }
.hero__ticks svg { width: 20px; height: 20px; fill: var(--teal-700); }

.hero__card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  text-align: center;
  border: 1px solid var(--line);
}
.hero__card-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.2rem; font-size: 0.85rem; color: var(--muted); }
.hero__rating { color: var(--amber); font-weight: 700; }
.hero__stat { margin-bottom: 1rem; }
.hero__stat strong { font-family: var(--font-head); font-size: 2.6rem; color: var(--teal-700); line-height: 1; }
.hero__stat strong small { font-size: 1.4rem; }
.hero__stat span { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }
.hero__note { font-size: 0.85rem; color: var(--teal-800); background: var(--teal-50); border-radius: 10px; padding: 0.6rem; font-weight: 600; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
.about__visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900));
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.about__visual::before { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.08); top: -40px; right: -40px; }
.about__visual::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,0.06); bottom: -60px; left: -60px; }
.about__badge {
  color: #fff; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem); text-align: center; line-height: 1.1;
  position: relative; z-index: 2;
}
.about__content h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0.4rem 0 1rem; }
.about__content p { color: var(--muted); margin-bottom: 1rem; }
.about__list { margin-top: 1.2rem; }
.about__list li { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; font-weight: 500; }
.check {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-700);
  display: grid; place-items: center;
}
.check svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Cards (services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-bottom: 2.5rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: color-mix(in srgb, var(--c) 14%, #fff);
  color: var(--c);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card__icon svg { width: 28px; height: 28px; fill: currentColor; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.card ul li { position: relative; padding-left: 1.2rem; margin-bottom: 0.4rem; color: var(--muted); font-size: 0.92rem; }
.card ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-600); }

.treatments { background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.treatments h3 { margin-bottom: 1.1rem; font-size: 1.2rem; }
.treatments__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.treatments__tags span {
  background: var(--teal-50); color: var(--teal-800);
  border: 1px solid var(--teal-100); padding: 0.4rem 0.9rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
}

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why { text-align: center; padding: 1.6rem 1.2rem; }
.why__ico { width: 44px; height: 44px; margin: 0 auto 1rem; color: var(--teal-700); }
.why h4 { margin-bottom: 0.5rem; }
.why p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Hours ---------- */
.hours__box { background: #fff; border-radius: var(--radius); padding: 2rem 2.2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); max-width: 560px; margin: 0 auto; }
.hours__box h2 { font-size: 1.9rem; margin: 0.3rem 0 1.2rem; text-align: center; }
.hours__list { margin-bottom: 1.4rem; }
.hours__list li { display: flex; justify-content: space-between; padding: 0.65rem 0; border-bottom: 1px dashed var(--line); }
.hours__list li span { color: var(--muted); font-weight: 500; }
.hours__list li strong { color: var(--ink); font-weight: 600; }
.hours__list li.closed strong { color: var(--danger); }
.hours__box .btn { display: block; width: 100%; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.contact__info { display: flex; flex-direction: column; gap: 1.4rem; }
.citem { display: flex; gap: 1rem; align-items: flex-start; }
.citem__ico {
  width: 48px; height: 48px; flex: none; border-radius: 14px;
  background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center;
}
.citem__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.citem h4 { margin-bottom: 0.25rem; }
.citem p, .citem a { color: var(--muted); }
.citem a:hover { color: var(--teal-700); }

.form {
  background: #fff; border-radius: var(--radius); padding: 1.8rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.form h3 { margin-bottom: 1.2rem; }
.form label { display: block; margin-bottom: 1rem; }
.form label span { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.7rem 0.9rem; font-family: var(--font-body);
  border: 1.5px solid var(--line); border-radius: 10px; font-size: 0.95rem;
  color: var(--ink); background: var(--white); transition: border-color 0.2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal-600); }
.form textarea { resize: vertical; }
.form__note { margin-top: 0.8rem; font-size: 0.85rem; color: var(--muted); text-align: center; }
.form__note.success { color: var(--teal-700); font-weight: 600; }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(120deg, var(--teal-800), var(--teal-600)); color: #fff; padding: 3rem 0; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 0.4rem; }
.cta p { color: #d9f0ec; }
.cta .btn svg { fill: none; stroke: currentColor; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-900); color: #cfeae6; padding-top: 3.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand p { margin: 1rem 0; font-size: 0.92rem; max-width: 26rem; }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.08);
  display: grid; place-items: center; transition: background 0.2s;
}
.footer__social a:hover { background: var(--teal-600); }
.footer__social svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }
.footer__col h4 { color: #fff; margin-bottom: 1rem; font-size: 1.05rem; }
.footer__col a { display: block; margin-bottom: 0.6rem; color: #cfeae6; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__col p { margin-bottom: 0.6rem; font-size: 0.92rem; }
.footer__col a[href^="tel"], .footer__col a[href^="mailto"] { font-weight: 500; }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.2rem 0; text-align: center; font-size: 0.85rem; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner, .about__inner, .contact__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 80vw);
    background: var(--white); flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: 0.4rem; padding: 5.5rem 1.6rem 1.6rem;
    box-shadow: var(--shadow); transform: translateX(100%);
    transition: transform 0.35s ease; z-index: 200; overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { font-size: 1.2rem; width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1rem; width: 100%; justify-content: center; }
  .menu-btn { display: flex; z-index: 201; }
}

@media (max-width: 560px) {
  .section { padding: 3rem 0; }
  .why-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__social { margin-bottom: 1rem; }
  .hero__inner { padding: 3rem 0; }
  .hero__actions .btn { width: 100%; }
  .hours__box { padding: 1.6rem; }
}
