/* ==========================================================================
   TAMS ACUPUNCTURE HEALING CENTRE - DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #0d5c53;
  --primary-light: #137a6d;
  --primary-dark: #073832;
  --primary-subtle: #e8f5f3;
  --primary-glow: rgba(13, 92, 83, 0.2);

  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  --accent-gold-subtle: #fef3c7;

  --wa-green: #25d366;
  --wa-green-dark: #128c7e;

  /* Neutrals & Surfaces */
  --bg-page: #f8faf9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-muted: #f1f5f4;
  --bg-dark: #0b1f1c;
  --bg-dark-surface: #122b27;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-on-dark: #f8fafc;

  --border-subtle: #e2e8f0;
  --border-focus: #0d5c53;

  --danger: #ef4444;
  --danger-subtle: #fee2e2;
  --success: #10b981;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(13, 92, 83, 0.08), 0 2px 4px -2px rgba(13, 92, 83, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(13, 92, 83, 0.12), 0 4px 6px -4px rgba(13, 92, 83, 0.08);
  --shadow-xl: 0 20px 35px -5px rgba(13, 92, 83, 0.15), 0 8px 10px -6px rgba(13, 92, 83, 0.08);
  --shadow-gold: 0 10px 20px -3px rgba(217, 119, 6, 0.2);

  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.text-center { text-align: center; }
.text-teal { color: var(--primary); }
.text-white { color: #ffffff !important; }
.text-white-muted { color: #cbd5e1 !important; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }

/* ==========================================================================
   BUTTONS & PILLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 92, 83, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 92, 83, 0.4);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--primary-subtle);
  border-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--wa-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--wa-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
}

.btn-instagram:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(225, 48, 108, 0.45);
  color: #ffffff;
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(90deg, #10b981, #d97706);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
  filter: blur(8px);
}

.btn-glow:hover::after {
  opacity: 0.7;
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 1.1rem 2.2rem;
  font-size: 1.15rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(13, 92, 83, 0.15);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
  background: var(--bg-dark);
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(217, 119, 6, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quick-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #cbd5e1;
}

.quick-contact-link:hover {
  color: var(--accent-gold-light);
}

.divider {
  opacity: 0.3;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(13, 92, 83, 0.15);
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(13, 92, 83, 0.25);
}

.logo-symbol.small {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

.brand-doctor {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  padding: 1.25rem;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.mobile-link {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 0.45rem 0;
}

.mobile-link.highlight {
  color: var(--primary);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, #eaf6f4 0%, #f8faf9 100%);
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.hero-bg-shapes .shape-1 {
  width: 450px;
  height: 450px;
  background: rgba(13, 92, 83, 0.12);
  top: -100px;
  right: -50px;
}

.hero-bg-shapes .shape-2 {
  width: 350px;
  height: 350px;
  background: rgba(217, 119, 6, 0.1);
  bottom: 0;
  left: -80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid rgba(13, 92, 83, 0.15);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  max-width: 580px;
}

.stat-card {
  flex: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-rating {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.rating-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Doctor Visual Card */
.doctor-highlight-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(13, 92, 83, 0.15);
  position: relative;
}

.card-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.doctor-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  background: #e2e8f0;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.image-overlay-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(11, 31, 28, 0.7) 100%);
}

.floating-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.tag-pain {
  bottom: 1.25rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
}

.tag-mind {
  top: 1.25rem;
  right: 1rem;
  background: rgba(217, 119, 6, 0.95);
  color: #ffffff;
}

.card-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}

.caption-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.caption-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.caption-location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   QUICK BENEFIT STRIP
   ========================================================================== */
.quick-benefits-strip {
  background: #ffffff;
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.benefit-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   PATIENT INTAKE FORM (PRIMARY INTERACTIVE UI)
   ========================================================================== */
.patient-form-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8faf9 0%, #eef7f5 100%);
}

.form-wrapper-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(13, 92, 83, 0.12);
  overflow: hidden;
  margin-top: 2.5rem;
}

.form-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: var(--primary-dark);
  color: #ffffff;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-mode-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
}

.mode-tab {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.mode-tab.active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.form-note {
  font-size: 0.82rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.patient-intake-form {
  padding: 2.5rem 2.25rem;
}

.form-section-group {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.form-section-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.step-num {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 92, 83, 0.3);
}

.group-title h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.group-title p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.required {
  color: var(--danger);
}

.optional {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #ffffff;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 92, 83, 0.12);
}

.form-input.error {
  border-color: var(--danger);
  background-color: #fffafb;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg2+xml;utf8,<svg fill='none' stroke='%2364748b' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'></path></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  cursor: pointer;
}

.form-textarea {
  padding: 0.85rem 1rem;
  resize: vertical;
  min-height: 80px;
}

.field-error-msg {
  font-size: 0.78rem;
  color: var(--danger);
  font-weight: 600;
  margin-top: 0.3rem;
  display: none;
}

.field-error-msg.visible {
  display: block;
}

/* Symptom Clickable Chips */
.symptom-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.symptom-chip {
  cursor: pointer;
}

.symptom-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  background: var(--bg-muted);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  user-select: none;
}

.chip-label:hover {
  background: var(--primary-subtle);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

.symptom-chip input[type="checkbox"]:checked + .chip-label {
  background: var(--primary);
  border-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(13, 92, 83, 0.25);
  transform: scale(1.02);
}

/* Form Submit Row */
.form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.submit-assurances {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.assurance-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT DOCTOR SECTION
   ========================================================================== */
.about-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-card-frame {
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.experience-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--bg-dark);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  color: #cbd5e1;
  max-width: 120px;
  margin-top: 0.25rem;
}

.clinic-location-card {
  position: absolute;
  bottom: -1.5rem;
  right: 1.5rem;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 320px;
}

.loc-icon {
  color: var(--primary);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.clinic-location-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.clinic-location-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-subtitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.about-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cred-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.cred-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.about-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   TREATMENTS & SERVICES GRID
   ========================================================================== */
.treatments-section {
  padding: 5.5rem 0;
  background: var(--bg-page);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.treatment-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 92, 83, 0.3);
}

.treatment-card.featured-treatment {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9f8 100%);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: var(--accent-gold);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.treatment-icon-wrapper {
  width: 52px;
  height: 52px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.treatment-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.treatment-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.treatment-bullets {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.treatment-bullets li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bullet-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.treatment-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.treatment-link:hover {
  color: var(--accent-gold);
  gap: 0.6rem;
}

/* ==========================================================================
   WHY CHOOSE TAMS
   ========================================================================== */
.why-us-section {
  padding: 3rem 0;
}

.why-us-box {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-surface) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.why-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* ==========================================================================
   PATIENT TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card.featured-testimonial {
  background: #ffffff;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.badge-featured-review {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--accent-gold);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
}

.card-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.patient-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.patient-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.patient-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.patient-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQS (ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-page);
}

.faq-container {
  max-width: 860px;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.accordion-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-body {
  padding-bottom: 1.25rem;
}

.accordion-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT & LOCATION MAP
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  background: #ffffff;
}

.contact-card-wrapper {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-surface) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon-box {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.info-item p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.phone-link {
  color: var(--accent-gold-light);
  font-weight: 600;
}

.phone-link:hover {
  text-decoration: underline;
}

.contact-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Map Mock Card */
.map-container-mock {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.map-header {
  background: #1e293b;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.map-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.map-dot.red { background: #ef4444; }
.map-dot.yellow { background: #f59e0b; }
.map-dot.green { background: #10b981; }

.map-title {
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.map-body {
  flex-grow: 1;
  min-height: 320px;
  background: #e5eef0 url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=800&q=80") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.map-pin-pulse {
  position: relative;
  z-index: 1;
}

.pin-icon-inner {
  width: 46px;
  height: 46px;
  background: var(--danger);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.pulse-ring {
  position: absolute;
  inset: -8px;
  border: 3px solid rgba(239, 68, 68, 0.6);
  border-radius: 50%;
  animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.map-info-bubble {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  z-index: 2;
}

.map-info-bubble h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.map-info-bubble p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.bubble-rating {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: 0.35rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-logo .brand-name {
  color: #ffffff;
  font-size: 1.15rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-links-group h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-group a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-links-group a:hover {
  color: var(--accent-gold-light);
  padding-left: 4px;
}

.footer-contact-text {
  font-size: 0.88rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0 5.5rem; /* space for floating bar on mobile */
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   FLOATING ACTION BAR (BOTTOM BAR)
   ========================================================================== */
.floating-quick-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(11, 31, 28, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 999;
  transition: var(--transition);
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  transition: var(--transition);
}

.quick-btn.btn-call {
  background: var(--primary);
}

.quick-btn.btn-wa {
  background: var(--wa-green);
}

.quick-btn.btn-book {
  background: var(--accent-gold);
}

.quick-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ==========================================================================
   CONFIRMATION MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 28, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 1000;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  position: relative;
  text-align: center;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-muted);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--danger-subtle);
  color: var(--danger);
}

.modal-icon-success {
  width: 64px;
  height: 64px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 15px rgba(13, 92, 83, 0.2);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.appointment-summary-box {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  text-align: left;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.summary-label {
  color: var(--text-muted);
  font-weight: 500;
}

.summary-value {
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
  max-width: 60%;
}

.modal-next-steps {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--primary-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.modal-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-card-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-toggle-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-title { font-size: 2.2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .treatments-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-grid-3, .form-grid-2 { grid-template-columns: 1fr; }
  .patient-intake-form { padding: 1.5rem 1.25rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-us-box { padding: 2.5rem 1.5rem; }
  .contact-card-wrapper { padding: 2rem 1.5rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  
  .floating-quick-bar {
    width: 92%;
    justify-content: space-around;
  }
  .quick-btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
  }
}
