@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #22d3ee;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --urgent: #dc2626;
  --urgent-dark: #b91c1c;
  --dark: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { color: var(--gray-600); }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  background: rgba(8, 145, 178, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; color: var(--dark); }
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 600px; margin: 0 auto 3rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-urgent { background: var(--urgent); color: white; }
.btn-urgent:hover { background: var(--urgent-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--primary); }
.btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: white; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; border-radius: 10px; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.875rem; }

/* ===== TOP BAR ===== */
.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  background: var(--primary-dark);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.top-bar a { color: rgba(255,255,255,0.9); transition: color 0.2s; }
.top-bar a:hover { color: var(--accent); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-item { display: flex; align-items: center; gap: 0.4rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 46px;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
  padding: 1.6rem 0;
}
.navbar.scrolled { background: var(--dark); padding: 1rem 0; box-shadow: var(--shadow-lg); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--secondary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.logo-text span { display: block; font-size: 0.68rem; font-weight: 400; opacity: 0.8; letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,0.1); }
.nav-appt {
  background: var(--secondary) !important;
  color: white !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 8px !important;
}
.nav-appt:hover { background: var(--secondary-dark) !important; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: white; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(8,145,178,0.72) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 10rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 0.5rem 1rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero h1 { color: white; margin-bottom: 1.25rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero h1 span { color: var(--primary-light); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 560px; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; }
.hero-stat { text-align: center; }
.hero-stat .number { display: block; font-size: 1.9rem; font-weight: 800; color: white; line-height: 1; }
.hero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--dark); padding: 1.5rem 0; }
.trust-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; }
.trust-item i { color: var(--secondary); font-size: 1.2rem; }

/* ===== SERVICES ===== */
.services-section { background: var(--gray-100); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: white; border-radius: 16px; padding: 2rem;
  box-shadow: var(--shadow); transition: all 0.3s ease;
  border: 1px solid var(--gray-200); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--primary); transform: scaleY(0); transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 58px; height: 58px; background: rgba(8,145,178,0.1);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--primary); margin-bottom: 1.25rem;
}
.service-card.dental-card .service-icon { background: rgba(8,145,178,0.1); color: var(--primary); }
.service-card.medical-card .service-icon { background: rgba(16,185,129,0.1); color: var(--secondary); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 1rem; }
.service-tag {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 6px;
  font-size: 0.78rem; font-weight: 700;
}
.service-tag.dental { background: rgba(8,145,178,0.1); color: var(--primary); }
.service-tag.medical { background: rgba(16,185,129,0.1); color: var(--secondary); }

/* ===== WHY SECTION ===== */
.why-section { background: white; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-image { position: relative; border-radius: 20px; overflow: hidden; height: 480px; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-badge {
  position: absolute; bottom: 2rem; right: -1rem;
  background: var(--secondary); color: white;
  padding: 1.25rem 1.5rem; border-radius: 14px;
  text-align: center; box-shadow: var(--shadow-xl);
}
.why-badge .big { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.why-badge .small { font-size: 0.78rem; font-weight: 600; opacity: 0.9; }
.why-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.why-feature { display: flex; gap: 1rem; align-items: flex-start; }
.why-feature-icon {
  width: 46px; height: 46px; background: rgba(8,145,178,0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--primary); font-size: 1rem;
}
.why-feature h4 { margin-bottom: 0.2rem; }
.why-feature p { font-size: 0.88rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--primary-dark); }
.testimonials-section .section-label { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.testimonials-section .section-title { color: white; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.7); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 1.5rem; }
.testimonial-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 2rem; backdrop-filter: blur(10px);
}
.testimonial-stars { color: #fbbf24; font-size: 0.95rem; margin-bottom: 1rem; }
.testimonial-text { color: rgba(255,255,255,0.9); font-size: 0.9rem; font-style: italic; margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--secondary); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 1rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: white; font-size: 0.9rem; }
.testimonial-location { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* ===== URGENT CTA ===== */
.urgent-cta { background: var(--urgent); padding: 3.5rem 0; }
.urgent-cta .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.urgent-cta h2 { color: white; font-size: 1.9rem; }
.urgent-cta p { color: rgba(255,255,255,0.85); margin-top: 0.4rem; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 11.5rem 0 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1920&q=30') center/cover;
  opacity: 0.07;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.88rem; }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: #6ee7b7; font-weight: 500; }

/* ===== SERVICE DETAILS ===== */
.service-detail-card {
  background: white; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem; border: 1px solid var(--gray-200);
}
.service-detail-card.reverse { direction: rtl; }
.service-detail-card.reverse > * { direction: ltr; }
.service-detail-img { height: 300px; overflow: hidden; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-detail-card:hover .service-detail-img img { transform: scale(1.04); }
.service-detail-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.service-features-list { list-style: none; margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.service-features-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--gray-700); }
.service-features-list li i { color: var(--secondary); font-size: 0.85rem; }
.category-pill {
  display: inline-block; padding: 0.3rem 0.875rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem;
}
.category-pill.dental { background: rgba(8,145,178,0.1); color: var(--primary); }
.category-pill.medical { background: rgba(16,185,129,0.1); color: var(--secondary); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--gray-700); margin-bottom: 0.4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; color: var(--dark);
  transition: border-color 0.2s; background: white;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.1);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-checkbox { display: flex; gap: 0.75rem; align-items: flex-start; margin: 1rem 0; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); }
.form-checkbox label { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }

/* ===== HIPAA NOTICE ===== */
.hipaa-notice {
  background: rgba(8,145,178,0.06); border: 1px solid rgba(8,145,178,0.2);
  border-radius: 10px; padding: 1rem 1.25rem;
  font-size: 0.82rem; color: var(--gray-600);
  display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.25rem;
}
.hipaa-notice i { color: var(--primary); margin-top: 0.1rem; flex-shrink: 0; }
.hipaa-notice strong { color: var(--primary-dark); }

/* ===== ABOUT / TEAM ===== */
.about-story { background: white; }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { border-radius: 20px; overflow: hidden; height: 440px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.values-list { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 1.5rem; }
.value-item { display: flex; gap: 0.875rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: var(--gray-100); border-radius: 12px; }
.value-icon { width: 42px; height: 42px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.95rem; flex-shrink: 0; }
.value-item h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.value-item p { font-size: 0.82rem; }

.team-section { background: var(--gray-100); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.team-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: all 0.3s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.team-photo { height: 270px; overflow: hidden; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.65) 0%, transparent 60%); }
.team-info { padding: 1.4rem; }
.team-info h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.team-role.dental { color: var(--primary); }
.team-role.medical { color: var(--secondary); }
.team-role.admin { color: var(--accent); }
.team-years { color: var(--gray-400); font-size: 0.8rem; }

/* ===== CERTIFICATIONS ===== */
.cert-section { background: white; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 1.25rem; }
.cert-card { text-align: center; padding: 1.75rem 1.25rem; background: var(--gray-100); border-radius: 14px; border: 2px solid var(--gray-200); transition: all 0.2s; }
.cert-card:hover { border-color: var(--primary); background: rgba(8,145,178,0.04); }
.cert-card i { font-size: 2.2rem; color: var(--primary); margin-bottom: 0.875rem; }
.cert-card h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.cert-card p { font-size: 0.78rem; }

/* ===== CONTACT ===== */
.contact-section { background: var(--gray-100); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.contact-info-card { background: var(--dark); border-radius: 20px; padding: 2.5rem; color: white; }
.contact-info-card h3 { color: white; margin-bottom: 0.5rem; }
.contact-info-card > p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; font-size: 0.9rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-detail-icon { width: 42px; height: 42px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--secondary); flex-shrink: 0; }
.contact-detail h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); margin-bottom: 0.2rem; font-weight: 600; }
.contact-detail p, .contact-detail a { color: white; font-size: 0.9rem; }
.contact-detail a:hover { color: var(--primary-light); }
.hours-grid { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.hours-grid h4 { color: white; font-size: 0.9rem; margin-bottom: 0.875rem; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 0.375rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hours-row .day { color: rgba(255,255,255,0.55); }
.hours-row .time { color: white; font-weight: 500; }
.hours-row .open-text { color: #6ee7b7; font-weight: 600; }

.lead-form-card { background: white; border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-xl); }
.lead-form-card h3 { margin-bottom: 0.5rem; }
.lead-form-card > p { margin-bottom: 1.5rem; font-size: 0.9rem; }

/* ===== REVIEW SECTION ===== */
.review-section { background: white; }
.review-cta-card {
  max-width: 680px; margin: 0 auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 24px; padding: 3rem; text-align: center; color: white; position: relative; overflow: hidden;
}
.review-cta-card::before { content: ''; position: absolute; top: -40%; right: -15%; width: 280px; height: 280px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.review-cta-card h3 { color: white; font-size: 1.7rem; margin-bottom: 1rem; }
.review-cta-card p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.review-stars-display { font-size: 1.9rem; color: #fbbf24; margin-bottom: 1rem; }
.review-btn {
  background: white; color: var(--primary); font-weight: 700;
  padding: 1rem 2.25rem; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.95rem; transition: all 0.2s; cursor: pointer; border: none; font-family: inherit;
}
.review-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* ===== APPOINTMENTS PAGE ===== */
.appt-hero {
  padding: 11.5rem 0 4rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.appt-hero::after { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1920&q=30') center/cover; opacity: 0.08; }
.appt-hero .container { position: relative; z-index: 1; }
.appt-hero h1 { color: white; margin-bottom: 1rem; }
.appt-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.appt-section { background: var(--gray-100); padding: 5rem 0; }
.appt-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.appt-form-card { background: white; border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-xl); border-top: 4px solid var(--primary); }
.appt-form-card h3 { margin-bottom: 0.5rem; }
.appt-form-card > p { margin-bottom: 1.75rem; font-size: 0.9rem; }
.appt-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.appt-info-card { background: var(--dark); border-radius: 16px; padding: 2rem; color: white; text-align: center; }
.appt-info-card h3 { color: white; font-size: 1rem; margin-bottom: 0.5rem; }
.appt-info-card .phone { font-size: 1.6rem; font-weight: 900; color: var(--secondary); display: block; margin: 0.75rem 0; }
.appt-info-card p { color: rgba(255,255,255,0.65); font-size: 0.82rem; }
.reminder-card { background: white; border-radius: 16px; padding: 1.75rem; box-shadow: var(--shadow); }
.reminder-card h3 { font-size: 1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.reminder-card h3 i { color: var(--secondary); }
.reminder-steps { display: flex; flex-direction: column; gap: 0.875rem; }
.reminder-step { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.85rem; color: var(--gray-700); }
.reminder-step i { color: var(--primary); margin-top: 0.1rem; flex-shrink: 0; }
.reminder-step strong { color: var(--dark); }

/* ===== CHATBOT ===== */
.chatbot-toggle {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 62px; height: 62px; background: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 9999; box-shadow: var(--shadow-xl);
  transition: all 0.3s ease; border: none;
}
.chatbot-toggle:hover { transform: scale(1.1); background: var(--primary-dark); }
.chatbot-toggle i { font-size: 1.5rem; color: white; }
.chat-notification {
  position: absolute; top: -4px; right: -4px; width: 20px; height: 20px;
  background: var(--secondary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: white; font-weight: 700; border: 2px solid white;
}
.chatbot-window {
  position: fixed; bottom: 7rem; right: 2rem;
  width: 380px; height: 530px; background: white;
  border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  z-index: 9998; display: flex; flex-direction: column; overflow: hidden;
  transform: scale(0.8) translateY(20px); opacity: 0; pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1); transform-origin: bottom right;
}
.chatbot-window.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.chatbot-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.chatbot-avatar { width: 42px; height: 42px; background: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.chatbot-header-info h4 { color: white; font-size: 0.9rem; margin-bottom: 0.1rem; }
.chatbot-header-info p { color: rgba(255,255,255,0.65); font-size: 0.72rem; }
.online-dot { display: inline-block; width: 7px; height: 7px; background: #34d399; border-radius: 50%; margin-right: 4px; }
.chatbot-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.65); cursor: pointer; font-size: 1.1rem; transition: color 0.2s; }
.chatbot-close:hover { color: white; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.875rem; background: var(--gray-100); }
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 2px; }
.chat-message { display: flex; gap: 0.5rem; align-items: flex-end; animation: chatFadeIn 0.3s ease; }
.chat-message.user { flex-direction: row-reverse; }
@keyframes chatFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.msg-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: white; flex-shrink: 0; }
.chat-message.user .msg-avatar { background: var(--gray-700); }
.msg-bubble { max-width: 78%; padding: 0.75rem 1rem; border-radius: 14px; font-size: 0.85rem; line-height: 1.5; }
.chat-message.bot .msg-bubble { background: white; color: var(--dark); border-bottom-left-radius: 4px; box-shadow: var(--shadow); }
.chat-message.user .msg-bubble { background: var(--primary); color: white; border-bottom-right-radius: 4px; }
.chatbot-quick-replies { padding: 0.75rem 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; background: white; border-top: 1px solid var(--gray-200); }
.quick-reply-btn {
  background: rgba(8,145,178,0.08); color: var(--primary);
  border: 1px solid rgba(8,145,178,0.2); border-radius: 999px;
  padding: 0.35rem 0.875rem; font-size: 0.78rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.quick-reply-btn:hover { background: var(--primary); color: white; }
.chatbot-input-area { display: flex; padding: 0.875rem 1rem; gap: 0.5rem; background: white; border-top: 1px solid var(--gray-200); }
.chatbot-input { flex: 1; padding: 0.6rem 1rem; border: 1.5px solid var(--gray-200); border-radius: 999px; font-family: inherit; font-size: 0.85rem; outline: none; transition: border-color 0.2s; }
.chatbot-input:focus { border-color: var(--primary); }
.chatbot-send { width: 38px; height: 38px; background: var(--primary); border: none; border-radius: 50%; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.chatbot-send:hover { background: var(--primary-dark); transform: scale(1.05); }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 99999; display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-card {
  background: white; border-radius: 24px; padding: 2.75rem; max-width: 480px; width: 100%;
  text-align: center; transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); box-shadow: var(--shadow-xl);
}
.modal-overlay.open .modal-card { transform: scale(1); }
.modal-icon { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.9rem; }
.modal-icon.success { background: rgba(16,185,129,0.12); color: var(--secondary); }
.modal-icon.info { background: rgba(8,145,178,0.12); color: var(--primary); }
.modal-card h3 { margin-bottom: 0.75rem; font-size: 1.4rem; }
.modal-card p { margin-bottom: 1.25rem; font-size: 0.9rem; line-height: 1.7; }
.modal-sequence { background: var(--gray-100); border-radius: 12px; padding: 1.25rem; text-align: left; margin-bottom: 1.25rem; }
.modal-sequence h4 { font-size: 0.78rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.875rem; }
.sequence-step { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; font-size: 0.85rem; }
.sequence-step:last-child { margin-bottom: 0; }
.sequence-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.sequence-step .step-time { color: var(--gray-400); font-size: 0.78rem; margin-left: auto; white-space: nowrap; }
.sms-preview {
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px;
  padding: 1rem 1.25rem; font-size: 0.82rem; color: var(--gray-700);
  text-align: left; margin-bottom: 1.25rem; display: flex; gap: 0.75rem;
}
.sms-preview i { color: var(--secondary); flex-shrink: 0; margin-top: 0.1rem; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); padding: 4rem 0 0; color: rgba(255,255,255,0.65); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); transition: all 0.2s; font-size: 0.9rem; }
.social-link:hover { background: var(--primary); color: white; }
.footer-col h4 { color: white; font-size: 0.9rem; margin-bottom: 1.1rem; padding-bottom: 0.65rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: color 0.2s; display: flex; align-items: center; gap: 0.4rem; }
.footer-links a:hover { color: var(--secondary); }
.footer-links a i { font-size: 0.65rem; color: var(--primary); }
.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.875rem; font-size: 0.875rem; }
.footer-contact-item i { color: var(--secondary); font-size: 0.85rem; margin-top: 0.15rem; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact-item a:hover { color: white; }
.footer-hipaa { background: rgba(8,145,178,0.12); border: 1px solid rgba(8,145,178,0.25); border-radius: 10px; padding: 1rem; text-align: center; margin-top: 0.5rem; }
.footer-hipaa p { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-bottom: 0.3rem; }
.footer-hipaa .hipaa-badge { color: var(--primary-light); font-size: 0.8rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

/* ===== INSURANCE LOGOS ===== */
.insurance-section { background: var(--gray-100); padding: 3.5rem 0; }
.insurance-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.insurance-pill {
  background: white; border: 2px solid var(--gray-200); border-radius: 999px;
  padding: 0.55rem 1.5rem; font-size: 0.88rem; font-weight: 600; color: var(--gray-700);
  transition: all 0.2s;
}
.insurance-pill:hover { border-color: var(--primary); color: var(--primary); }

/* ===== PULSE ANIMATION ===== */
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.pulse-green { animation: pulse-green 2s infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .about-story-grid { grid-template-columns: 1fr; }
  .why-image, .about-image { height: 340px; }
}
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--dark); flex-direction: column; align-items: center; justify-content: center; gap: 1rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .mobile-menu-btn { display: flex; z-index: 1001; }
  .hero-buttons { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-card.reverse { direction: ltr; }
  .service-detail-img { height: 210px; }
  .contact-grid, .appt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .chatbot-window { width: calc(100vw - 2rem); right: 1rem; bottom: 6rem; height: 460px; }
  .top-bar-left { gap: 1rem; }
}
@media (max-width: 480px) {
  .top-bar { font-size: 0.75rem; }
  .top-bar-right { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
}
