:root {
  --primary: #0e6ba8;
  --primary-dark: #094a75;
  --accent: #17a2b8;
  --text: #1e2933;
  --text-light: #5a6b78;
  --bg-light: #f5f9fb;
  --white: #ffffff;
  --border: #e2e8ee;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(14, 107, 168, 0.08);
  font-size: 16px;
}

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

/* Splash screen */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: radial-gradient(circle at 50% 40%, #eef7fb 0%, #dcedf5 60%, #cfe6f0 100%);
  cursor: pointer;
  transition: opacity 0.7s ease;
}
#splash-screen.splash-hide { opacity: 0; pointer-events: none; }
#splash-screen.splash-instant { transition: none; opacity: 0; pointer-events: none; display: none; }
#splash-lotus { width: 140px; height: 140px; animation: splash-breathe 1.6s ease-in-out infinite; }
#splash-tagline {
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #0e6ba8;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  animation: splash-fade-in 1s ease forwards 0.3s;
}
@keyframes splash-breathe {
  0%, 100% { transform: scale(0.94); filter: drop-shadow(0 0 6px rgba(94, 203, 232, 0.35)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 22px rgba(94, 203, 232, 0.65)); }
}
@keyframes splash-fade-in {
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #splash-lotus { animation: none; }
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Top bar */
#top-bar {
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 12px 24px; flex-wrap: wrap; }
.top-contact { display: flex; gap: 32px; flex-wrap: wrap; }
.top-item { display: flex; align-items: center; gap: 10px; }
.top-icon-box {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border: 1.6px solid var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.top-icon-box svg { width: 18px; height: 18px; }
.top-item span:not(.top-icon) { display: flex; flex-direction: column; line-height: 1.3; }
.top-item small { color: var(--text-light); font-size: 0.72rem; }
.top-item strong { color: var(--primary); font-weight: 700; }
.top-social { display: flex; gap: 10px; }
.top-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.top-social a svg { width: 15px; height: 15px; }
.top-social a:hover { background: var(--primary); color: #fff; }

/* Navbar */
#navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.logo { font-size: 1.3rem; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
#nav-links { display: flex; gap: 28px; align-items: center; flex: 1; justify-content: center; }
#nav-links > a { font-weight: 500; padding: 8px 0; }
#nav-links > a:hover { color: var(--primary); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-width: 260px;
  padding: 10px 0;
  display: none;
  flex-direction: column;
  z-index: 10;
}
.dropdown-menu a { padding: 10px 20px; font-size: 0.92rem; }
.dropdown-menu a:hover { background: var(--bg-light); color: var(--primary); }
.dropdown:hover .dropdown-menu { display: flex; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.nav-cta { white-space: nowrap; }

#menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--bg-light), #eef6fa); padding: 70px 0; }
.hero-inner { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1.1; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 10px; }
.hero-text h1 { font-size: 2.8rem; color: var(--primary-dark); margin-bottom: 18px; }
.hero-sub { color: var(--text-light); font-size: 1.05rem; margin-bottom: 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; }
.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-image-placeholder {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  background: repeating-linear-gradient(45deg, #dceaf2, #dceaf2 10px, #e8f1f6 10px, #e8f1f6 20px);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.illustration-card {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.illustration-card svg { width: 70%; height: auto; }
.about-image .illustration-card { max-width: 380px; aspect-ratio: 1/1; }
.photo-card { padding: 0; overflow: hidden; aspect-ratio: 37/64; max-width: 380px; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: var(--radius); }

/* Head to toe banner */
.head-to-toe {
  background: radial-gradient(120% 140% at 50% -10%, #1c3a63 0%, #0b1730 55%, #070f24 100%);
  padding: 60px 24px 50px;
  text-align: center;
}
.head-to-toe-inner { max-width: 1100px; margin: 0 auto; }
.joint-circles { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 34px; }
.joint-circle { width: 130px; }
.xray-wrap { position: relative; width: 100%; aspect-ratio: 1/1; }
.xray-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #3f6f95;
  filter: drop-shadow(0 0 14px rgba(94, 203, 232, 0.35));
  background: #000;
}
.joint-circle p { color: #bcd6ea; font-size: 0.78rem; font-weight: 600; margin-top: 10px; letter-spacing: 0.3px; }
.joint-circle-featured .xray-wrap img { filter: drop-shadow(0 0 22px rgba(94, 203, 232, 0.6)); transform: scale(1.12); border-color: var(--accent); }
.head-to-toe h2 { color: #fff; font-size: 1.9rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 14px; }
.head-to-toe h2 span { display: block; color: var(--accent); font-size: 1.6rem; font-weight: 400; margin-top: 4px; }
.head-to-toe > .head-to-toe-inner > p { color: #9db6cf; font-size: 0.9rem; max-width: 700px; margin: 0 auto; }

.pain-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16%;
  height: 16%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ff4d4d 0%, #ff2d2d 60%, transparent 100%);
  box-shadow: 0 0 10px 3px rgba(255, 60, 60, 0.8);
  animation: pain-dot-pulse 1.8s ease-in-out infinite;
  pointer-events: none;
}
.pain-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16%;
  height: 16%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 60, 60, 0.55);
  animation: pain-ring-pulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes pain-dot-pulse {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes pain-ring-pulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(3.2); }
}

/* Highlight banner */
.highlight-banner { background: linear-gradient(120deg, var(--primary), var(--accent)); color: #fff; padding: 34px 0; }
.highlight-inner { display: flex; align-items: center; gap: 24px; }
.highlight-icon { font-size: 2.6rem; flex-shrink: 0; }
.highlight-tag { text-transform: uppercase; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; opacity: 0.9; margin-bottom: 4px; }
.highlight-banner h3 { font-size: 1.3rem; margin-bottom: 6px; }
.highlight-desc { font-size: 0.92rem; opacity: 0.95; max-width: 640px; }
.highlight-cta { flex-shrink: 0; border-color: #fff; color: #fff; margin-left: auto; }
.highlight-cta:hover { background: #fff; color: var(--primary-dark); }

/* Stats */
.stats { background: var(--primary-dark); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* Section headings */
.section-eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 8px; text-align: center; }
.section-title { text-align: center; font-size: 2rem; color: var(--primary-dark); margin-bottom: 40px; }

/* Services */
.services { padding: 80px 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card-featured { border-color: var(--accent); background: #f2fbfd; position: relative; }
.service-card-featured::before { content: "New"; position: absolute; top: 14px; right: 14px; background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary-dark); }
.service-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 14px; }
.service-card a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* About */
.about { background: var(--bg-light); padding: 80px 0; }
.about-inner { display: flex; gap: 50px; align-items: center; }
.about-image, .about-text { flex: 1; }
.about-text .section-eyebrow, .about-text .section-title { text-align: left; }
.about-inner-centered { max-width: 760px; margin: 0 auto; }
.about-inner-centered .section-eyebrow, .about-inner-centered .section-title { text-align: center; }
.about-inner-centered .about-list { display: inline-block; text-align: left; }
.about-inner-centered .btn { display: block; width: fit-content; margin: 0 auto; }
.about-list { margin: 20px 0; }
.about-list li { padding: 6px 0; padding-left: 24px; position: relative; color: var(--text-light); }
.about-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Testimonials */
.testimonials { padding: 80px 0; }
.review-summary { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -20px 0 36px; color: var(--text-light); font-size: 0.95rem; }
.review-stars { color: #f5b301; font-size: 1.2rem; letter-spacing: 2px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-link { display: block; text-align: center; margin-top: 30px; color: var(--primary); font-weight: 600; }
.review-link:hover { text-decoration: underline; }

/* FAQ */
.faq { background: var(--bg-light); padding: 60px 0; }
.faq .section-title { margin-bottom: 26px; }
.faq-list { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; align-items: start; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-dark);
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.15rem;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--text-light); margin-top: 8px; font-size: 0.86rem; line-height: 1.5; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.testimonial-card p { font-style: italic; color: var(--text-light); margin-bottom: 16px; }
.testimonial-author { font-weight: 600; color: var(--primary-dark); font-size: 0.9rem; }

/* Gallery */
.gallery { background: var(--bg-light); padding: 80px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #eaf4f9, #dceaf2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}
.gallery-emoji { font-size: 2.4rem; }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.instagram-grid iframe { border-radius: var(--radius) !important; box-shadow: var(--shadow); }
.instagram-follow-link {
  display: block;
  text-align: center;
  margin-top: 32px;
  color: var(--primary);
  font-weight: 600;
}
.instagram-follow-link:hover { text-decoration: underline; }

/* Contact */
.contact { padding: 80px 0; }
.contact-inner { display: flex; gap: 50px; }
.contact-info, .contact-form { flex: 1; }
.contact-info .section-eyebrow, .contact-info .section-title { text-align: left; }
.contact-info p { margin-bottom: 10px; color: var(--text-light); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.contact-form button { align-self: flex-start; }
.form-note { font-size: 0.82rem; color: var(--text-light); font-style: italic; }
.map-embed {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.map-embed iframe {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.map-directions-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}
.map-directions-link:hover { text-decoration: underline; }
.form-required-note { font-size: 0.78rem; color: var(--text-light); margin-bottom: -4px; }

/* Footer */
#footer { background: var(--primary-dark); color: #dceaf2; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; margin-bottom: 30px; }
.footer-grid h3, .footer-grid h4 { color: #fff; margin-bottom: 16px; }
.footer-grid a, .footer-grid p { display: block; color: #b9d3e0; font-size: 0.9rem; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; color: #b9d3e0; }

/* WhatsApp floating button */
#whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease;
}
#whatsapp-btn:hover {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner { flex-direction: column; }
  .highlight-inner { flex-direction: column; text-align: center; }
  .highlight-cta { margin-left: 0; }
  .joint-circle { width: 100px; }
  .head-to-toe h2 { font-size: 1.5rem; }
  .head-to-toe h2 span { font-size: 1.3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  #nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: var(--shadow);
    display: none;
  }
  #nav-links.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; display: none; padding-left: 12px; }
  .dropdown.open .dropdown-menu { display: flex; }
  #menu-toggle { display: block; }
  .nav-cta { display: none; }
  .top-bar-inner { justify-content: center; text-align: center; }
  .top-contact { justify-content: center; gap: 16px; }
  .top-item span:not(.top-icon) { align-items: flex-start; }
  .hero-text h1 { font-size: 2.1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
