/* Shivwik Holistic Care - Soft Clinical Teal theme */
:root {
  --primary: #0f6b6b;
  --primary-dark: #0a4f4f;
  --secondary: #3f8f6f;
  --accent: #e0b64b;
  --bg: #f3faf9;
  --surface: #ffffff;
  --text: #163331;
  --text-soft: #5c726f;
  --border: #dcece9;
  --on-primary: #ffffff;
  --on-accent: #2e2308;
  --radius: 14px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  margin: 0;
}

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  text-align: center;
}
.btn:hover { opacity: 0.92; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-outline { background: transparent; color: var(--on-primary); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-dark { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.site-header .logo { display: flex; align-items: center; gap: 12px; }
.site-header .logo img { height: 48px; width: auto; }
.site-header .logo-text { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 21px; color: var(--primary); line-height: 1.15; }
.site-header .logo-text small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 11px; color: var(--text-soft); letter-spacing: 0.02em; }
.site-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.site-nav a { font-size: 15px; font-weight: 500; color: var(--text); }
.site-nav a.active, .site-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .phone { color: var(--primary); font-weight: 600; font-size: 15px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Sticky mobile call/book bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  gap: 10px;
  z-index: 60;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.mobile-cta-bar .btn { flex: 1; padding: 12px; font-size: 14px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 72px 0;
}
.hero .container { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.hero-copy { max-width: 600px; display: flex; flex-direction: column; gap: 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: var(--accent);
  padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  width: fit-content;
}
.hero h1 { color: #ffffff; font-size: 42px; line-height: 1.18; }
.hero p { color: rgba(255,255,255,0.85); font-size: 16px; margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  width: 320px; height: 320px; border-radius: 28px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 20px;
}
.hero-visual .inner {
  width: 100%; height: 100%; border-radius: 20px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
}
.hero-visual img { width: 100%; height: 100%; object-fit: contain; }

/* Trust strip */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-strip .container {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-soft); font-weight: 500; }
.trust-item svg { flex-shrink: 0; }

/* Section headings */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; display: flex; flex-direction: column; gap: 10px; }
.section-eyebrow { color: var(--secondary); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.section-head h2 { font-size: 30px; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.service-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 17px; }
.service-card p { font-size: 14px; color: var(--text-soft); margin: 0; }

/* About */
.about-section .container { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.about-photo {
  width: 260px; height: 260px; border-radius: 20px;
  background: var(--bg); border: 1px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 13px; text-align: center;
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.about-copy .credentials { font-size: 14px; color: var(--primary); font-weight: 600; }
.about-copy p { font-size: 15px; color: var(--text-soft); margin: 0; }

/* Contact / CTA band */
.contact-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 56px 0;
}
.contact-band .container { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.contact-info { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.contact-info h2 { color: #fff; font-size: 26px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; }
.contact-row svg { flex-shrink: 0; margin-top: 2px; }
.contact-row span, .contact-row a { color: rgba(255,255,255,0.9); font-size: 15px; }
.map-embed {
  width: 380px; height: 240px; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Booking form */
.booking-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; max-width: 520px;
  display: flex; flex-direction: column; gap: 16px;
}
.booking-form h2 { font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  padding: 11px 13px; border-radius: 8px; border: 1px solid var(--border);
  font-family: inherit; font-size: 14px; background: var(--bg); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.field-hint { font-size: 12px; color: var(--text-soft); }
.form-msg { font-size: 14px; padding: 10px 14px; border-radius: 8px; display: none; }
.form-msg.success { background: #e4f5ec; color: #1c6b45; display: block; }
.form-msg.error { background: #fdecec; color: #a3312c; display: block; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* Articles */
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.chip {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text-soft);
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.article-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.article-card[hidden] { display: none; }
.article-card:hover { border-color: var(--primary); }
a.article-card { color: var(--text); text-decoration: none; }
.article-type { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--secondary); }
.article-card h3 { font-size: 19px; line-height: 1.3; }
.article-card p { font-size: 14px; color: var(--text-soft); margin: 0; }
.article-meta { font-size: 13px; color: var(--text-soft); margin-top: auto; }
.article-empty { text-align: center; color: var(--text-soft); font-size: 15px; display: none; }

.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: 24px; margin: 32px 0 12px; }
.article-body p, .article-body li { font-size: 16px; line-height: 1.7; color: var(--text); }
.article-body ul { padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-note {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 18px; font-size: 14px; color: var(--text-soft); margin-top: 32px;
}

/* Featured specialty service */
.service-featured {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  border: 2px solid var(--primary); background: linear-gradient(135deg, #e8f5f3 0%, var(--surface) 60%);
  margin-bottom: 24px; padding: 26px 28px;
}
.service-featured .service-icon { width: 52px; height: 52px; border-radius: 14px; }
.service-featured h3 { font-size: 21px; margin: 6px 0 8px; }
.service-featured p { font-size: 15px; margin: 0 0 8px; }
.service-featured p:last-child { margin-bottom: 0; }
.specialty-badge {
  display: inline-block; background: var(--primary); color: var(--on-primary);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
@media (max-width: 640px) {
  .service-featured { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .service-featured h3 { font-size: 19px; }
}

/* Closure notice (from dashboard Closures & Holidays) */
.closure-banner {
  background: #fff4d6; color: #5a4304; border-bottom: 1px solid #f0dca0;
  text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; line-height: 1.4;
}

/* Testimonials (WhatsApp ratings) */
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.rating-big { font-family: 'Fraunces', Georgia, serif; font-size: 44px; font-weight: 700; color: var(--primary); line-height: 1; }
.rating-stars { color: var(--accent); font-size: 22px; letter-spacing: 2px; }
.rating-count { color: var(--text-soft); font-size: 14px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; text-align: center; display: flex; flex-direction: column; gap: 6px;
}
.testimonial-card .rating-stars { font-size: 18px; }
.testimonial-who { font-weight: 600; font-size: 14px; }
.testimonial-when { color: var(--text-soft); font-size: 12.5px; }
.ratings-note { text-align: center; color: var(--text-soft); font-size: 12.5px; margin-top: 18px; }
.ratings-note a { text-decoration: underline; }

/* Visiting specialists */
.specialist-card { text-align: left; }
.specialist-dept { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--secondary); }
.specialist-quals { font-size: 13px; color: var(--text-soft); }
.specialist-hours { font-size: 13.5px; color: var(--text); border-top: 1px solid var(--border); padding-top: 10px; margin-top: auto; }

/* Legal page */
.legal-body h2 { font-size: 22px; margin: 32px 0 10px; }
.legal-body p, .legal-body li { font-size: 15.5px; line-height: 1.7; }
.legal-body a { color: var(--primary); text-decoration: underline; }
.form-consent { font-size: 12.5px; color: var(--text-soft); margin: 10px 0 0; }
.form-consent a { color: var(--primary); text-decoration: underline; }
.article-body a { color: var(--primary); text-decoration: underline; }

/* Footer */
.site-footer { background: var(--text); padding: 28px 0; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer span { color: rgba(255,255,255,0.65); font-size: 13px; }

/* ============================================================
   Responsive - three tiers: desktop (default), tablet, mobile
   ============================================================ */

/* Tablet: tighten spacing, drop services to 2 columns, keep
   side-by-side layouts but smaller (nav stays visible down to 860px) */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .services-grid, .articles-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .testimonials-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero h1 { font-size: 36px; }
  .hero-visual { width: 260px; height: 260px; }
  .about-section .container { gap: 32px; }
  .about-photo { width: 220px; height: 220px; }
  .map-embed { width: 300px; height: 220px; }
  .contact-band .container { gap: 28px; }
}

/* Nav collapses to a hamburger a bit before full mobile,
   so landscape tablets still get the full header a little longer */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .phone { display: none; }
}

/* Mobile: single column, stacked sections, sticky call/book bar */
@media (max-width: 640px) {
  .site-header .logo img { height: 38px; }
  .site-header .logo-text { font-size: 16px; }
  .site-header .logo-text small { font-size: 9px; }
  .hero { padding: 48px 0; }
  .hero .container { gap: 28px; }
  .hero h1 { font-size: 28px; line-height: 1.22; }
  .hero p { font-size: 15px; }
  .hero-actions .btn { flex: 1; }
  .hero-visual { width: 170px; height: 170px; border-radius: 22px; padding: 14px; }
  .hero-visual .inner { border-radius: 16px; padding: 18px; }
  .trust-strip .container { gap: 20px 28px; }
  .trust-item { font-size: 13px; }
  .section { padding: 44px 0; }
  .section-head h2 { font-size: 24px; }
  .services-grid, .articles-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .rating-big { font-size: 36px; }
  .article-body h2 { font-size: 21px; }
  .article-body p, .article-body li { font-size: 15px; }
  .about-section .container { flex-direction: column; }
  .about-photo { width: 100%; height: 220px; }
  .contact-band { padding: 40px 0; }
  .contact-band .container { flex-direction: column; }
  .contact-info h2 { font-size: 22px; }
  .map-embed { width: 100%; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 78px; }
  .booking-form { padding: 22px; max-width: 100%; }
  .site-footer .container { flex-direction: column; text-align: center; gap: 6px; }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero h1 { font-size: 24px; }
  .eyebrow { font-size: 12px; padding: 6px 12px; }
  .hero-visual { width: 140px; height: 140px; }
  .site-header .logo-text small { display: none; }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 65;
}
.whatsapp-float:hover { opacity: 0.92; }
@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 100px; width: 52px; height: 52px; }
}

.site-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  gap: 16px;
}
