/* American Dental Group - Premium Elite Dentistry CSS */
/* Modern, luxurious design for LA's premier dental practice */

/* Prevent DearDoc widget from auto-opening - hide popup on page load */
/* The chat button will still be visible but won't auto-expand */
[class*="qb-widget"][class*="open"],
[class*="qb-widget"][class*="expanded"],
[id*="qb-widget"][class*="open"],
[id*="qb-widget"][class*="expanded"] {
  transform: scale(0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* Re-enable when user clicks the chat button */
[class*="qb-widget"]:focus-within,
[class*="qb-widget"]:active,
[id*="qb-widget"]:focus-within,
[id*="qb-widget"]:active {
  transform: scale(1) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

:root {
  /* Premium Color Palette */
  --primary: #0a1628;           /* Deep navy - sophistication */
  --primary-light: #1a2d4a;     /* Lighter navy */
  --secondary: #c9a962;         /* Gold - luxury accent */
  --secondary-light: #d4bc7d;   /* Light gold */
  --accent: #267abf;            /* Clippers blue */
  --accent-dark: #1d5a8f;       /* Darker blue */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-max: 1200px;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow: 0 4px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 20px rgba(201,169,98,0.3);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.text-gold { color: var(--secondary); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10, 34, 64, 0.95) 0%, rgba(10, 34, 64, 0.85) 50%, rgba(10, 34, 64, 0.6) 80%, transparent 100%);
  transition: var(--transition);
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}

.header.scrolled .nav-link {
  color: var(--gray-800);
}

.header.scrolled .logo-light {
  display: none;
}

.header.scrolled .logo-dark {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 85px;
  width: auto;
}

.logo-dark {
  display: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.header.scrolled .logo-text {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 10px;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown > .nav-link::after {
  display: none;
}

.nav-dropdown-arrow {
  width: 10px;
  height: 10px;
  fill: currentColor;
  transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 15px 0;
  margin-top: 15px;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 10px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 25px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  text-transform: none;
  letter-spacing: 0;
  transition: var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--secondary);
}

.header.scrolled .nav-dropdown-menu {
  background: var(--white);
}

.nav-cta .btn {
  padding: 12px 20px;
  font-size: 0.8rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled .mobile-toggle span {
  background: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-pattern.svg') repeat;
  opacity: 0.05;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-size: cover;
  background-position: center;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 120px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,169,98,0.3);
  border-radius: 50px;
  margin-bottom: 30px;
}

.hero-badge img {
  height: 30px;
}

.hero-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Styles */
section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
}

/* Clippers Partnership Banner */
.clippers-banner {
  background: linear-gradient(135deg, #ED1C24 0%, #1D428A 100%);
  padding: 30px 0;
  overflow: hidden;
}

.clippers-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.clippers-logo {
  height: 60px;
}

.clippers-text {
  text-align: center;
}

.clippers-text h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.clippers-text p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-size: 1rem;
}

/* Services Section */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--secondary);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 8px;
  margin-bottom: 25px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--secondary);
}

.service-card h4 {
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.service-link:hover {
  gap: 12px;
}

/* About Section */
.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 250px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}

.about-badge {
  position: absolute;
  bottom: -50px;
  left: 20px;
  background: var(--secondary);
  color: var(--primary);
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.about-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
}

.about-badge .text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature svg {
  width: 24px;
  height: 24px;
  fill: var(--secondary);
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
  color: var(--gray-700);
}

/* Doctors Section */
.doctors {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.doctors::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern-dots.svg') repeat;
  opacity: 0.03;
}

.doctors .section-subtitle {
  color: var(--secondary);
}

.doctors .section-title {
  color: var(--white);
}

.doctors .section-desc {
  color: var(--gray-400);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.doctor-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}

.doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.doctor-img {
  position: relative;
  overflow: hidden;
}

.doctor-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 20%;
  transition: var(--transition-slow);
}

.doctor-card:hover .doctor-img img {
  transform: scale(1.05);
}

.doctor-info {
  padding: 30px;
}

.doctor-info h4 {
  margin-bottom: 5px;
}

.doctor-title {
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.doctor-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Testimonials */
.testimonials {
  background: var(--off-white);
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
  padding: 40px;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 30px;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary);
  line-height: 0;
  display: block;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h5 {
  font-family: var(--font-body);
  font-size: 1rem;
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.05;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta p {
  color: var(--gray-300);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
  justify-content: center;
}

.cta-phone svg {
  width: 24px;
  height: 24px;
  fill: var(--secondary);
}

.cta-phone a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.cta-phone a:hover {
  color: var(--secondary);
}

/* Footer */
.footer {
  background: var(--gray-900);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--secondary);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--gray-400);
  font-size: 0.95rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-bg {
    width: 50%;
  }

  .about-grid {
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: var(--transition);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-cta {
    margin: 20px 0 0 0;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile dropdown */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    padding: 10px 0 0 20px;
    margin-top: 0;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    color: var(--gray-300);
    padding: 8px 0;
  }

  .nav-dropdown-menu a:hover {
    background: transparent;
    color: var(--secondary);
  }

  .nav-dropdown > .nav-link {
    justify-content: center;
  }

  .hero {
    text-align: center;
  }

  .hero-bg {
    width: 100%;
    clip-path: none;
    opacity: 0.3;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-img-secondary {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: -80px;
    margin-left: auto;
  }

  .about-badge {
    top: auto;
    bottom: -20px;
    left: 20px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .clippers-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.85rem;
  }

  .service-card {
    padding: 30px;
  }

  .testimonial-quote {
    font-size: 1.25rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Locations Section */
.locations {
  padding: var(--section-padding) 0;
  background: var(--off-white);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.location-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.location-brand {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

/* American Dental Group Brand Colors */
.location-adg .location-brand {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.location-adg .location-logo {
  height: 60px;
  width: auto;
}

/* Mid Wilshire Dentistry Brand Colors - Teal/Modern */
.location-mwd .location-brand {
  background: linear-gradient(135deg, #0a6e6e 0%, #0d8585 100%);
}

.location-mwd .location-logo {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.location-info {
  padding: 35px 40px 40px;
}

.location-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.location-tagline {
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 25px;
}

.location-details {
  margin-bottom: 30px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.location-detail:last-child {
  margin-bottom: 0;
}

.location-detail svg {
  width: 20px;
  height: 20px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-detail a {
  color: var(--gray-700);
  font-weight: 500;
}

.location-detail a:hover {
  color: var(--secondary);
}

.location-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.location-ctas .btn {
  flex: 1;
  min-width: 140px;
  padding: 14px 20px;
  font-size: 0.85rem;
}

/* Mid Wilshire specific button colors */
.btn-mwd-primary {
  background: #0a6e6e;
  color: var(--white);
}

.btn-mwd-primary:hover {
  background: #0d8585;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(10, 110, 110, 0.3);
}

.btn-mwd-outline {
  background: transparent;
  color: #0a6e6e;
  border: 2px solid #0a6e6e;
}

.btn-mwd-outline:hover {
  background: #0a6e6e;
  color: var(--white);
}

/* Responsive Locations */
@media (max-width: 900px) {
  .locations-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .location-brand {
    padding: 30px;
    min-height: 100px;
  }

  .location-info {
    padding: 25px 30px 30px;
  }

  .location-ctas {
    flex-direction: column;
  }

  .location-ctas .btn {
    width: 100%;
  }
}

/* ===========================================
   Appointment & Contact Page Styles
   =========================================== */

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.appointment-info h2 {
  margin-bottom: 20px;
}

.appointment-info > p {
  color: var(--gray-600);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--secondary);
}

.contact-details h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-details p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.contact-details a {
  color: var(--gray-700);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--secondary);
}

.emergency-notice {
  background: linear-gradient(135deg, #fef3cd 0%, #fff8e1 100%);
  border: 1px solid #f5c518;
  border-radius: 12px;
  padding: 25px;
}

.emergency-notice h4 {
  color: #856404;
  font-size: 1rem;
  margin-bottom: 10px;
}

.emergency-notice p {
  color: #856404;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.emergency-notice a {
  color: var(--primary);
  font-weight: 600;
}

/* Appointment Form */
.appointment-form-wrapper {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.appointment-form h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--secondary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
}

.form-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 15px;
}

/* Map Wrapper */
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  display: block;
}

/* Section Gray Background */
.section-gray {
  background: var(--gray-100);
}

/* Footer Contact Styles */
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.footer-contact p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--gray-400);
}

.footer-contact a:hover {
  color: var(--secondary);
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul a {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.footer-links ul a:hover {
  color: var(--secondary);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--secondary);
}

/* Appointment Page Responsive */
@media (max-width: 900px) {
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .appointment-form-wrapper {
    order: -1;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .appointment-form-wrapper {
    padding: 30px 25px;
  }
}

/* ===========================================
   Patient Information Page Styles
   =========================================== */

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.info-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 20px;
}

.info-card-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--secondary);
}

.info-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.info-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.info-card .btn {
  margin-top: auto;
}

/* Accordion Styles */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.accordion-header {
  width: 100%;
  padding: 25px 30px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--gray-100);
}

.accordion-header svg {
  width: 24px;
  height: 24px;
  stroke: var(--secondary);
  transition: var(--transition);
  flex-shrink: 0;
}

.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding: 0 30px 25px;
  color: var(--gray-600);
  line-height: 1.7;
}

.accordion-body ul {
  margin: 15px 0;
  padding-left: 20px;
}

.accordion-body li {
  margin-bottom: 10px;
}

/* Insurance Grid */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.insurance-item {
  background: var(--white);
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.insurance-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.insurance-item img {
  max-height: 40px;
  max-width: 100%;
  margin-bottom: 10px;
}

.insurance-item span {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* Content Sections */
.content-section {
  padding: var(--section-padding) 0;
}

.content-section.alt {
  background: var(--gray-100);
}

.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-text h2 {
  margin-bottom: 20px;
}

.content-text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 15px;
}

.content-text ul {
  list-style: none;
  margin: 25px 0;
}

.content-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--gray-600);
}

.content-text ul li svg {
  width: 24px;
  height: 24px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.content-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Patient Info Responsive */
@media (max-width: 900px) {
  .info-cards-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .content-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-image {
    order: -1;
  }
}

/* ===========================================
   Privacy & Accessibility Page Styles
   =========================================== */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: 50px;
  margin-bottom: 20px;
  color: var(--primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary);
}

.legal-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-content ul {
  margin: 20px 0 20px 25px;
}

.legal-content ul li {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-content a {
  color: var(--accent);
}

.legal-content a:hover {
  color: var(--secondary);
}

.last-updated {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* ===========================================
   Blog Page Styles
   =========================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 30px;
}

.blog-card-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.blog-card-meta span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.blog-card-meta .category {
  color: var(--secondary);
  font-weight: 500;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--primary);
  line-height: 1.4;
}

.blog-card h3 a {
  color: inherit;
}

.blog-card h3 a:hover {
  color: var(--secondary);
}

.blog-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.read-more svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: var(--transition);
}

.read-more:hover svg {
  transform: translateX(5px);
}

/* Blog Responsive */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===========================================
   Blog Article Page Styles
   =========================================== */

.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.blog-article-meta .category {
  background: var(--secondary);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-article-meta .date {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.blog-article-meta .reading-time {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.blog-article h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--primary);
  margin: 48px 0 20px;
  line-height: 1.3;
}

.blog-article h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary);
  margin: 36px 0 16px;
  line-height: 1.4;
}

.blog-article p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.blog-article ul,
.blog-article ol {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0 0 24px 24px;
}

.blog-article ul li,
.blog-article ol li {
  margin-bottom: 10px;
}

.blog-article strong {
  color: var(--primary);
  font-weight: 600;
}

.blog-article blockquote {
  border-left: 4px solid var(--secondary);
  margin: 32px 0;
  padding: 20px 30px;
  background: var(--gray-100);
  border-radius: 0 12px 12px 0;
}

.blog-article blockquote p {
  color: var(--gray-700);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.blog-article-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 40px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-article .tip-box {
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.08), rgba(201, 169, 98, 0.04));
  border: 1px solid rgba(201, 169, 98, 0.25);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 28px 0;
}

.blog-article .tip-box h4 {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.blog-article .tip-box p {
  margin-bottom: 0;
  font-size: 1rem;
}

.blog-article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.blog-article-nav a {
  color: var(--secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.blog-article-nav a:hover {
  color: var(--secondary-light);
}

.blog-article-nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Blog Article Responsive */
@media (max-width: 768px) {
  .blog-article h2 {
    font-size: 1.45rem;
  }

  .blog-article h3 {
    font-size: 1.2rem;
  }

  .blog-article p {
    font-size: 1rem;
  }
}
