/* ===== GLOBAL MOBILE STYLES (max-width: 768px) — ULTRA COMPACT & MOBILE-FIRST ===== */

/* Prevent horizontal overflow on all mobile viewports */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Compact Section spacing & Container */
.section {
  padding: 22px 0 18px 0 !important;
}

.container {
  padding: 0 14px !important;
  max-width: 100% !important;
}

/* Typography Mobile Scaling & Tight Spacing */
.section-title {
  font-size: 1.38rem !important;
  line-height: 1.22 !important;
  margin-bottom: 5px !important;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 0.8rem !important;
  line-height: 1.42 !important;
  margin-bottom: 14px !important;
  max-width: 100% !important;
  color: var(--gray-600);
}

.section-header-block {
  margin-bottom: 12px !important;
}

.section-label {
  font-size: 0.68rem !important;
  padding: 3px 10px !important;
  margin-bottom: 6px !important;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Navbar Mobile */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(186, 230, 253, 0.6) !important;
  box-shadow: 0 2px 14px rgba(14, 165, 233, 0.08) !important;
  z-index: 1000 !important;
}

.navbar .container {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.nav-logo {
  width: 34px !important;
  height: 34px !important;
  font-size: 0.92rem !important;
  border-radius: 8px !important;
}

.nav-brand-text h3 {
  font-size: 0.95rem !important;
  line-height: 1.15 !important;
}

.nav-brand-text span {
  font-size: 0.62rem !important;
}

.nav-toggle {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  padding: 6px !important;
  margin-left: auto !important; /* Pushes hamburger right to the side of the menubar */
  background: rgba(14, 165, 233, 0.08) !important;
  border: 1.5px solid rgba(14, 165, 233, 0.28) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  z-index: 1001 !important;
}

.nav-toggle span {
  display: block !important;
  width: 20px !important;
  height: 2.2px !important;
  background: var(--gray-800) !important;
  border-radius: 2px !important;
  margin: 2px 0 !important;
  transition: all var(--transition-base) !important;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px) !important;
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0 !important;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px) !important;
}

.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 78%;
  max-width: 290px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: flex-start;
  padding: 70px 18px 24px !important;
  gap: 4px !important;
  transition: right var(--transition-base);
  box-shadow: -10px 0 30px rgba(14, 165, 233, 0.15);
  z-index: 1000;
}

.nav-links.open {
  right: 0;
}

.nav-links a {
  width: 100%;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  border-radius: var(--radius-md);
  color: var(--gray-800);
}

.nav-links a.nav-cta {
  margin-top: 10px !important;
  text-align: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px !important;
  font-size: 0.85rem !important;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* Inner Page Header Mobile */
.page-header {
  padding: 70px 0 28px !important;
}

.page-header h1 {
  font-size: 1.55rem !important;
  line-height: 1.25;
}

.page-header p {
  font-size: 0.82rem !important;
}

/* Footer Mobile — Ultra Modern & Compact Layout */
.footer {
  padding: 32px 0 0 !important;
}

.footer-ambient-glow {
  width: 100% !important;
  height: 80px !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px 14px !important;
  padding-bottom: 24px !important;
}

.footer-brand {
  grid-column: span 2 !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-brand-logo {
  width: 40px !important;
  height: 40px !important;
  font-size: 1.1rem !important;
}

.footer-clinic-title {
  font-size: 1.25rem !important;
  text-align: left;
}

.footer-founder-tag {
  font-size: 0.72rem !important;
  text-align: left;
}

.footer-bio {
  font-size: 0.78rem !important;
  line-height: 1.5 !important;
  max-width: 400px;
  margin: 0 auto 10px auto !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-cert-pill {
  margin-bottom: 14px !important;
  font-size: 0.7rem !important;
  padding: 4px 10px !important;
}

.footer-socials {
  justify-content: center;
  gap: 12px !important;
}

.footer-socials .social-link {
  width: 38px !important;
  height: 38px !important;
}

.footer-col h4 {
  font-size: 0.86rem !important;
  margin-bottom: 12px !important;
  padding-bottom: 6px !important;
  color: #ffffff;
}

.footer-col h4::after {
  width: 22px !important;
  height: 2px !important;
}

.footer-links-list li {
  margin-bottom: 7px !important;
}

.footer-links-list li a {
  font-size: 0.75rem !important;
  gap: 6px !important;
  color: rgba(255, 255, 255, 0.75);
}

/* Contact Column Full Width on Mobile */
.footer-col:last-child {
  grid-column: span 2 !important;
  text-align: left;
  display: block;
  margin-top: 6px;
}

.footer-col:last-child h4 {
  margin-bottom: 12px !important;
}

.footer-contact-cards {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.footer-contact-item {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  gap: 10px !important;
}

.footer-contact-item .icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  font-size: 0.9rem !important;
}

.footer-contact-item strong {
  font-size: 0.7rem !important;
}

.footer-contact-item span {
  font-size: 0.78rem !important;
}

.footer-bottom {
  flex-direction: column;
  gap: 8px !important;
  text-align: center;
  padding: 16px 0 14px !important;
}

.footer-bottom-left p {
  font-size: 0.72rem !important;
  line-height: 1.4 !important;
}

.patient-care-tag {
  font-size: 0.72rem !important;
  display: block;
  margin-bottom: 4px;
}

.footer-bottom-links {
  justify-content: center;
  gap: 16px !important;
  font-size: 0.72rem !important;
  flex-wrap: wrap;
}

/* Floating Action Buttons Mobile — Slim & Non-intrusive */
.whatsapp-float {
  bottom: 14px !important;
  right: 12px !important;
  width: 44px !important;
  height: 44px !important;
  font-size: 1.2rem !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
}

.back-to-top {
  right: 62px !important;
  bottom: 14px !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 0.88rem !important;
}

/* Buttons Mobile — Compact Touch Targets */
.btn {
  padding: 9px 16px !important;
  font-size: 0.82rem !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--radius-md) !important;
  gap: 6px !important;
}

/* FAQ Section Mobile */
.faq-section {
  padding: 22px 0 !important;
}

.faq-wrapper {
  margin-top: 10px !important;
  gap: 8px !important;
}

.faq-question {
  padding: 11px 13px !important;
  font-size: 0.82rem !important;
}

.faq-answer {
  padding: 0 13px !important;
}

.faq-item.active .faq-answer {
  padding: 0 13px 11px !important;
}

.faq-answer p {
  font-size: 0.76rem !important;
  line-height: 1.4 !important;
}
