:root{
  --primary:#0A4FB5;
  --primary-2:#145fc0;
  --bg:#FFFFFF;
  --muted:#6b7280;
  --light:#F6F8FB;
  --accent:#E6F0FF;
  --card-radius:14px;
  --text-primary:#0b1b3b;
  --text-secondary:#6b7280;
  --border-color:#eef4ff;
  --shadow-color:rgba(6,18,50,0.08);
}

html.dark-mode {
  --primary:#0A4FB5;
  --primary-2:#145fc0;
  --bg:#0f1419;
  --muted:#a0aec0;
  --light:#1a2332;
  --accent:#1e3a5f;
  --text-primary:#e8eef7;
  --text-secondary:#a0aec0;
  --border-color:#2d3748;
  --shadow-color:rgba(0,0,0,0.3);
}

html, html.dark-mode {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body{
  position:relative;
  overflow-x:hidden;
  background:linear-gradient(180deg, #fbfdff 0%, #f4f8ff 42%, #eef5ff 100%);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
}

body::before{
  background-image:
    linear-gradient(rgba(10,79,181,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,79,181,0.09) 1px, transparent 1px);
  background-size: 84px 84px, 84px 84px;
  opacity:0.98;
}

html.dark-mode body{
  background:linear-gradient(180deg, #0e1319 0%, #111827 42%, #0c1117 100%);
}

html.dark-mode body::before{
  background-image:
    linear-gradient(rgba(96,165,250,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.07) 1px, transparent 1px);
}

html.dark-mode .site-header,
html.dark-mode .faq,
html.dark-mode .faq-btn,
html.dark-mode .faq-content,
html.dark-mode .dentistry-copy,
html.dark-mode .reviews-card,
html.dark-mode .footer-brand-section,
html.dark-mode .footer-section,
html.dark-mode .doctor-caption,
html.dark-mode .stat,
html.dark-mode .stat-card,
html.dark-mode .review-item,
html.dark-mode .btn-outline{
  background-color:#111827;
  border-color:var(--border-color);
  color:var(--text-primary);
}

html.dark-mode .site-header{
  box-shadow:0 10px 30px rgba(0,0,0,0.35);
}

html.dark-mode .btn-outline:hover{
  border-color:var(--primary);
}

html.dark-mode .site-footer{
  background:linear-gradient(180deg,#10213d 0%, #0b1729 100%);
  color:var(--text-primary);
}

html.dark-mode .footer-cta{
  background:#e5eefc;
  color:#0a4fb5;
  border-color:rgba(255,255,255,0.08);
}

html.dark-mode .footer-brand-header h2,
html.dark-mode .footer-section h3,
html.dark-mode .reviews-card h2,
html.dark-mode .section-title,
html.dark-mode .specialties h2,
html.dark-mode .specialties h3,
html.dark-mode .specialties h4,
html.dark-mode .about h2,
html.dark-mode .dentistry-copy h2,
html.dark-mode .doctor-caption strong{
  color:var(--text-primary);
}

html.dark-mode .footer-brand-header p,
html.dark-mode .footer-brand-desc,
html.dark-mode .footer-info p,
html.dark-mode .footer-hours p,
html.dark-mode .footer-contact-item,
html.dark-mode .reviews-sub,
html.dark-mode .review-body p,
html.dark-mode .faq-content p,
html.dark-mode .specialties p,
html.dark-mode .dentistry-copy p,
html.dark-mode .about p,
html.dark-mode .benefit span,
html.dark-mode .doctor-caption span,
html.dark-mode .stat span{
  color:var(--text-secondary);
}

html.dark-mode .faq-btn{
  background:#0f1724;
}

html.dark-mode .faq-item.open .faq-btn{
  background:#122033;
}

html.dark-mode .faq-content{
  background:linear-gradient(180deg, rgba(10,79,181,0.95), rgba(10,79,181,0.82));
  color:#f8fbff;
}

html.dark-mode .reviews-card{
  background:linear-gradient(180deg, rgba(17,24,39,0.98), rgba(15,23,36,0.98));
}

html.dark-mode .reviews-cta{
  background:#1d4ed8;
  color:#fff;
}

html.dark-mode .reviews-cta:hover{
  background:#2563eb;
}

html.dark-mode .doctor-card::after{
  background:linear-gradient(180deg, rgba(2,6,23,0.1) 30%, rgba(2,6,23,0.82) 100%);
}

html.dark-mode .doctor-caption{
  background:rgba(15,23,36,0.92);
}

html.dark-mode .specialties .spec-item.active{
  color:#60a5fa;
}

html.dark-mode .specialties .spec-item:hover{
  color:#93c5fd;
}

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
.animate-in.delay-3 { animation-delay: 0.3s; }
.animate-in.delay-4 { animation-delay: 0.4s; }
.animate-in.delay-5 { animation-delay: 0.5s; }

*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial;color:var(--text-primary);transition:background-color 0.3s ease, color 0.3s ease;overflow-x:hidden}
a{color:inherit}
img,video,iframe,svg{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}

.site-logo{display:block;object-fit:contain;flex-shrink:0}
.site-logo-header{width:clamp(44px,6vw,64px)}
.site-logo-links-hero{width:clamp(84px,20vw,108px)}
.site-logo-footer-brand{width:clamp(30px,4vw,36px)}
.site-logo-footer-bottom{width:clamp(36px,5vw,48px)}
.links-logo-wrap{width:clamp(112px,30vw,144px);height:clamp(112px,30vw,144px)}

.container{max-width:1100px;margin:0 auto;padding:0 28px}

/* Social icon buttons for links page */
.social-links{display:flex;gap:20px;justify-content:center;margin-top:16px}
.social-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;transition:transform 0.22s ease;flex:0 0 auto;padding:0;background:transparent;border:none;box-shadow:none}
.social-btn:hover{transform:scale(1.06)}
.social-btn img,.social-btn svg{display:block;width:24px;height:24px}

/* Links page responsive */
.links-container{display:flex;flex-direction:column}
@media (max-width:768px){
  main{padding:48px 12px !important;min-height:auto !important}
  .links-container{padding:42px 22px !important;gap:4px}
  .links-container h1{font-size:18px;margin:4px 0 8px !important}
  .links-container p{font-size:14px;margin:0 0 12px !important}
  .social-links{gap:14px;margin-top:12px}
  .social-btn{width:52px;height:52px}
  .social-btn img,.social-btn svg{width:22px;height:22px}
  .btn-outline{font-size:14px;padding:10px 16px}
  .links-container > p:last-child{font-size:12px;margin-top:12px !important}
}
@media (max-width:480px){
  main{padding:32px 8px !important}
  .links-container{padding:36px 16px !important}
  .links-logo-wrap{width:96px !important;height:96px !important;margin:0 auto 10px !important}
  .site-logo-links-hero{width:68px !important}
  .links-container h1{font-size:16px;margin:2px 0 6px !important}
  .links-container p{font-size:13px;margin:0 0 10px !important}
  .social-links{gap:12px;margin-top:10px}
  .social-btn{width:44px;height:44px}
  .social-btn img,.social-btn svg{width:18px;height:18px}
  .btn-outline{font-size:13px;padding:8px 14px}
  .links-container > p:last-child{font-size:11px;margin-top:10px !important}
}


.site-header{background:var(--bg);box-shadow:0 10px 30px rgba(8,18,40,0.06);position:relative;z-index:40;transition:all 0.3s ease}
.site-header .container{display:flex;align-items:center;gap:28px;padding:22px 28px}
.site-header nav{display:flex;gap:28px;align-items:center;justify-content:center;flex:1}
.site-header nav a{color:#163155;text-decoration:none;font-weight:700;letter-spacing:0.6px;transition:color 0.3s ease;position:relative}
.site-header nav a:hover{color:var(--primary)}
.site-header nav a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--primary);transition:width 0.3s ease}
.site-header nav a:hover::after{width:100%}
.site-header .brand{font-weight:800;color:var(--primary);font-size:18px}
.site-header .cta a{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;background:linear-gradient(180deg,var(--primary),var(--primary-2));color:#fff;border-radius:14px;box-shadow:0 14px 40px rgba(10,79,181,0.12);text-decoration:none;font-weight:800;transition:all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}
.site-header .cta a:hover{transform:translateY(-4px);box-shadow:0 18px 50px rgba(10,79,181,0.25)}

.theme-btn{background:transparent;border:2px solid var(--border-color);color:var(--text-primary);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.3s ease;position:relative}
.theme-btn:hover{border-color:var(--primary);color:var(--primary);transform:scale(1.1)}
.theme-btn svg{position:absolute;transition:opacity 0.3s ease, transform 0.3s ease}
.theme-btn .sun-icon{opacity:1;transform:rotate(0deg)}
.theme-btn .moon-icon{opacity:0;transform:rotate(-180deg)}
html.dark-mode .theme-btn .sun-icon{opacity:0;transform:rotate(180deg)}
html.dark-mode .theme-btn .moon-icon{opacity:1;transform:rotate(0deg)}

.hero{padding:80px 0 48px;background:transparent;min-height:auto}
.hero .container{display:flex;align-items:center;gap:52px;justify-content:space-between}
.eyebrow{color:var(--primary);font-weight:700;letter-spacing:0.6px;font-size:14px;margin-bottom:12px}
.hero h1{font-size:64px;line-height:1.1;margin:0;color:var(--primary);font-weight:800}
.hero p{margin:24px 0 0;color:var(--muted);max-width:580px;font-size:18px;line-height:1.7}
.hero .actions{display:flex;gap:18px;margin-top:32px}
.btn{display:inline-flex;align-items:center;gap:12px;padding:12px 18px;border-radius:12px;text-decoration:none;font-weight:800;transition:all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}
.btn-primary{background:linear-gradient(180deg,var(--primary),var(--primary-2));color:#fff;box-shadow:0 14px 40px rgba(10,79,181,0.14)}
.btn-primary:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(10,79,181,0.25)}
.btn-outline{background:#fff;border:2px solid #eef4ff;color:var(--primary);box-shadow:0 6px 18px rgba(8,18,40,0.04);transition:all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}
.btn-outline:hover{transform:translateY(-4px);box-shadow:0 12px 35px rgba(8,18,40,0.08);border-color:var(--primary)}

.hero-image{flex:0 0 48%;display:flex;justify-content:flex-end}
.hero-image img{width:520px;height:520px;object-fit:cover;border-radius:10px;box-shadow:0 28px 70px rgba(6,18,50,0.18);transition:all 0.4s ease}
.hero-image img:hover{transform:scale(1.03);box-shadow:0 32px 80px rgba(6,18,50,0.25)}

.benefits{width:calc(100% - 56px);max-width:1100px;background:var(--primary);color:#fff;padding:28px 0;margin:18px auto 0;border-radius:18px;box-shadow:0 18px 50px rgba(10,79,181,0.14);overflow:hidden}
.benefits .container{display:flex;justify-content:space-between;align-items:center;gap:18px}
.benefit{display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:700;text-align:center;transition:all 0.3s ease}
.benefit:hover{transform:translateY(-4px)}
.benefit .icon{position:relative;width:86px;height:86px;display:flex;align-items:center;justify-content:center;transition:all 0.3s ease}
.benefit .icon:hover{animation:iconPulse 0.6s ease-in-out}
.benefit .icon::before{content:"";position:absolute;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,0.25);box-shadow:inset 0 -6px 18px rgba(10,79,181,0.08);border:2.5px solid rgba(255,255,255,0.5);transition:all 0.3s ease}
.benefit .icon img{width:30px;height:30px;position:relative;z-index:3}
.benefit span{font-size:15px;color:#fff}

.section{padding:34px 0}
.card{display:flex;gap:20px;align-items:center;background:var(--light);padding:14px;border-radius:12px;box-shadow:0 20px 50px var(--shadow-color);transition:all 0.4s ease;border:1px solid var(--border-color)}
.card:hover{transform:translateY(-8px);box-shadow:0 28px 60px var(--shadow-color)}
.card img{width:48%;border-radius:12px;object-fit:cover}
.card .content{flex:1;padding:20px;color:var(--text-primary)}
.card .eyebrow{color:var(--primary);font-weight:700;font-size:12px;margin-bottom:8px}
.card h2{margin:0 0 12px;font-size:24px;color:var(--text-primary)}
.card p{color:var(--muted);margin:0 0 16px;font-size:15px}
.card .btn{padding:12px 18px;border-radius:12px}

.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;justify-items:center}
.stat{display:flex;flex-direction:column;justify-content:center;min-height:74px;padding:14px 16px;border-radius:16px;background:linear-gradient(180deg,rgba(10,79,181,0.08),rgba(10,79,181,0.03));border:1px solid rgba(10,79,181,0.14);box-shadow:0 10px 24px rgba(6,18,50,0.06);transition:transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;width:100%}
.stat:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(6,18,50,0.1);border-color:rgba(10,79,181,0.24)}
.stat strong{font-size:18px;line-height:1.1;color:var(--primary);font-weight:800;letter-spacing:-0.2px}
.stat span{margin-top:4px;font-size:13px;line-height:1.35;color:var(--text-primary);font-weight:600}

.about{padding:42px 0 34px;margin-top:32px}
.about .container{display:flex;gap:42px;align-items:center}
.about img{flex:0 0 40%;max-width:420px;height:auto;border-radius:12px;object-fit:cover}
.about > .container > div{flex:1}

.appointment{display:flex;align-items:center;justify-content:space-between;padding:18px;border-radius:12px;background:linear-gradient(90deg,var(--primary),var(--primary-2));color:#fff;margin:22px 0}
.appointment .meta{display:flex;align-items:center;gap:16px}
.appointment .meta img{width:64px;height:64px}

.carousel-section{padding:40px 0;background:var(--light);border-radius:8px;margin:28px 0}
.carousel-container{position:relative;width:100%;max-width:1100px;margin:0 auto;padding:0 28px}
.carousel-wrapper{position:relative;width:100%;overflow:hidden;border-radius:12px;box-shadow:0 20px 50px var(--shadow-color)}
.carousel-slides{display:flex;transition:transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);width:100%}
.carousel-slide{min-width:100%;width:100%;height:750px;object-fit:cover;display:block;object-position:center center}
.carousel-slide.active{display:block}

.carousel-btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.18);backdrop-filter:blur(10px);color:#fff;border:1px solid rgba(255,255,255,0.26);width:40px;height:40px;border-radius:999px;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;transition:all 0.22s ease;z-index:12;box-shadow:0 8px 20px rgba(6,18,50,0.12)}
.carousel-btn:hover{background:rgba(255,255,255,0.28);transform:translateY(-50%) scale(1.04)}
.carousel-btn.prev{left:14px}
.carousel-btn.next{right:14px}

.carousel-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:12}
.dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.45);cursor:pointer;transition:all 0.22s ease;border:0}
.dot.active{background:#fff;width:22px;border-radius:999px;background:var(--primary)}
.dot:hover{background:rgba(255,255,255,0.75)}

.doctor-highlight{padding:8px 0 18px}
.doctor-highlight .container{max-width:880px}
.doctor-card{position:relative;overflow:hidden;min-height:260px;max-width:760px;margin:0 auto;border-radius:20px;box-shadow:0 18px 48px rgba(6,18,50,0.14);background:linear-gradient(135deg, rgba(10,79,181,0.12), rgba(10,79,181,0.02))}
.doctor-card img{display:block;width:100%;height:100%;min-height:260px;object-fit:cover;filter:saturate(0.95) contrast(1.02)}
.doctor-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(5,15,38,0.04) 30%, rgba(5,15,38,0.72) 100%)}
.doctor-caption{position:absolute;left:24px;bottom:24px;z-index:2;display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,0.9);backdrop-filter:blur(8px);box-shadow:0 12px 30px rgba(6,18,50,0.12)}
.doctor-caption strong{font-size:28px;line-height:1;color:var(--primary);font-weight:800}
.doctor-caption span{font-size:14px;color:var(--text-primary);font-weight:700;letter-spacing:0.02em}

.dentistry-section{padding:20px 0 44px}
.dentistry-panel{display:grid;grid-template-columns:minmax(0,0.95fr) minmax(0,1.05fr);gap:20px;align-items:stretch}
.dentistry-copy{background:var(--bg);border-radius:22px;padding:28px;box-shadow:0 20px 50px rgba(6,18,50,0.08);border:1px solid var(--border-color);display:flex;flex-direction:column;justify-content:center}
.dentistry-copy h2{margin-bottom:12px}
.dentistry-copy p{margin-top:0;color:var(--muted);font-size:16px;line-height:1.7}
.dentistry-points{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:12px}
.dentistry-points li{position:relative;padding-left:22px;color:var(--text-primary);font-weight:600;line-height:1.55}
.dentistry-points li::before{content:"";position:absolute;left:0;top:9px;width:10px;height:10px;border-radius:999px;background:linear-gradient(180deg,var(--primary),var(--primary-2));box-shadow:0 0 0 4px rgba(10,79,181,0.12)}
.dentistry-carousel-shell{padding:0;max-width:none;margin:0;align-self:stretch}
.dentistry-carousel-shell .carousel-wrapper{height:100%;border-radius:22px;aspect-ratio:16/10}
.dentistry-carousel-shell .carousel-slides{height:100%}
.dentistry-carousel-shell .carousel-slide{height:100%;min-height:0;object-fit:cover;object-position:center center}
.dentistry-carousel-shell .carousel-dots{bottom:18px}

html.dark-mode .carousel-btn{background:rgba(10,79,181,0.6)}
html.dark-mode .carousel-btn:hover{background:rgba(10,79,181,0.9)}
html.dark-mode .dot{background:rgba(255,255,255,0.3)}

.specialties{padding:32px 0}
.specialties h2{font-size:24px;margin-bottom:6px;color:var(--text-primary)}
.specialties p{margin-bottom:18px;color:var(--muted)}
.specialties .container{padding:0}
.specialties aside ul li{padding:12px 0;border-bottom:1px solid var(--border-color)}
.specialties aside ul li:first-child{font-weight:800}
.specialties aside{padding-right:12px}
.specialties h3{font-size:22px;color:var(--primary)}
.specialties h4{font-size:16px;margin-top:14px;color:var(--text-primary)}
.specialties img{max-width:100%}

.spec-grid{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:start}

.specialties .spec-item{padding:12px 0;border-bottom:1px solid var(--border-color);color:var(--text-primary);cursor:pointer;transition:color 0.25s ease, background 0.25s ease;word-wrap:break-word;word-break:break-word}
.specialties .spec-item.active{color:var(--primary);font-weight:800}
.specialties .spec-item:hover{color:var(--primary-2);transform:none}

#spec-nav{
  max-height:330px;
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:10px;
  scroll-behavior:smooth;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:var(--primary) transparent;
  width:100%;
  box-sizing:border-box;
}

#spec-nav::-webkit-scrollbar{width:8px}
#spec-nav::-webkit-scrollbar-track{background:transparent}
#spec-nav::-webkit-scrollbar-thumb{background:rgba(10,79,181,0.45);border-radius:999px}
#spec-nav::-webkit-scrollbar-thumb:hover{background:rgba(10,79,181,0.7)}

html.dark-mode #spec-nav{scrollbar-color:#3b82f6 transparent}
html.dark-mode #spec-nav::-webkit-scrollbar-thumb{background:rgba(59,130,246,0.5)}
html.dark-mode #spec-nav::-webkit-scrollbar-thumb:hover{background:rgba(59,130,246,0.8)}

.spec-grid{display:grid;grid-template-columns:220px 1fr;gap:28px;align-items:start}
.spec-team{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.spec-team .member{width:100%;text-align:left;padding:10px 12px;border:1px solid rgba(255,255,255,0.18);border-radius:12px;background:rgba(255,255,255,0.05)}
.spec-team .name{font-size:13px;color:var(--text-primary);margin:0;font-weight:700}

h1{letter-spacing:-0.4px}
h2,h3,h4{color:var(--primary);font-weight:800;letter-spacing:-0.03em;line-height:1.08;margin-top:0}
h2{font-size:clamp(2rem, 2vw + 1rem, 2.75rem)}
h3{font-size:clamp(1.6rem, 1.2vw + 1rem, 2rem)}
h4{font-size:clamp(1.05rem, 0.8vw + 0.85rem, 1.25rem)}
p{line-height:1.6}

.section-title{display:block;text-align:center;margin:0 auto 18px;max-width:fit-content;text-wrap:balance}
.section-title::after{content:"";display:block;width:72px;height:4px;border-radius:999px;margin:12px auto 0;background:linear-gradient(90deg,var(--primary),var(--primary-2));opacity:0.85}

.hero,.section,.specialties,.about,.contact,.carousel-section,.doctor-highlight,.dentistry-section{position:relative;z-index:1}

.site-header,
.benefits,
.card,
.appointment,
.specialties,
.about,
.contact,
.site-footer{
  backdrop-filter:saturate(140%) blur(2px);
}

.appointment{display:flex;align-items:center;justify-content:center;padding:28px 32px;border-radius:12px;background:var(--light);color:var(--primary);margin:22px auto;box-shadow:0 16px 40px var(--shadow-color);gap:32px;transition:all 0.3s ease;border:1px solid var(--border-color);max-width:850px;flex-wrap:wrap}
.appointment:hover{box-shadow:0 20px 50px var(--shadow-color);transform:translateY(-2px)}
.appointment .meta{display:flex;align-items:center;gap:12px;flex:1}
.appointment .meta img{width:52px;height:52px}
.appointment .cta-btn{display:inline-flex;padding:12px 24px;border-radius:12px;background:linear-gradient(180deg,var(--primary),var(--primary-2));color:#fff;font-weight:800;text-decoration:none;white-space:nowrap;flex-shrink:0;transition:all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}
.appointment .cta-btn:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(10,79,181,0.3)}

.site-footer{background:var(--primary);color:#0066ff;padding:42px 0 0;margin-top:24px;transition:all 0.3s ease}
.site-footer .container{max-width:1260px;margin:0 auto;padding:0 28px}
.footer-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:42px 0;border-bottom:1px solid rgba(255,255,255,0.15);align-items:stretch;justify-items:stretch}
.footer-brand-section{padding:32px;border:1px solid rgba(148,163,184,0.35);border-radius:20px;background:#e5e7eb;backdrop-filter:blur(10px);display:flex;flex-direction:column;gap:20px;min-height:100%}
.footer-brand-header{display:flex;gap:12px;align-items:flex-start}
.footer-brand-header img{flex-shrink:0;width:48px;height:48px}
.footer-brand-header h2{margin:0;font-size:16px;font-weight:800;line-height:1.2;color:#0a4fb5}
.footer-brand-header p{margin:4px 0 0;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.8px;color:#1e3a8a}
.footer-brand-desc{margin:0;font-size:13px;line-height:1.6;color:#1e3a8a;font-weight:500}
.footer-cta{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:2px solid ffffff;border-radius:999px;background:#ffffff;color:#0a4fb5;text-decoration:none;font-size:13px;font-weight:800;transition:all 0.3s ease;cursor:pointer;width:fit-content;box-shadow:0 10px 24px rgba(0,0,0,0.12)}
.footer-cta:hover{border-color:dbeafe;background:f8fbff;color:#0a4fb5;transform:translateY(-2px)}
.footer-mobile-stack{display:contents}
.footer-section{display:flex;flex-direction:column;padding:18px 20px;border:1px solid rgba(255,255,255,0.2);border-radius:16px;background:rgba(255,255,255,0.06);min-height:100%}
.footer-section h3{font-size:14px;font-weight:800;margin:0 0 14px;text-transform:uppercase;letter-spacing:0.5px;color:#fff}
.footer-section ul{list-style:none;padding:0;margin:0}
.footer-section li{margin-bottom:10px}
.footer-section a{color:#fff;text-decoration:none;font-size:14px;transition:color 0.3s ease,opacity 0.3s ease;display:inline-block}
.footer-section a:hover{color:#e0e7ff;opacity:0.85}
.footer-info{font-size:14px;line-height:1.8}
.footer-info p{margin:0 0 12px;color:rgba(255,255,255,0.95)}
.footer-info a{color:#fff;text-decoration:none;transition:color 0.3s ease}
.footer-info a:hover{color:#e0e7ff}
.footer-hours{font-size:14px}
.footer-hours p{margin:8px 0;color:rgba(255,255,255,0.95)}
.footer-contact-list{display:flex;flex-direction:column;gap:14px}
.footer-contact-item{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,0.96);font-size:13px;line-height:1.4;text-decoration:none;min-width:0;flex-wrap:nowrap}
.footer-contact-item:hover{opacity:0.9}
.footer-contact-item > span{min-width:0}
.footer-contact-item > span:last-child{display:inline;flex:1;min-width:0;overflow-wrap:break-word;word-break:break-word}
.footer-contact-icon{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:0}
.footer-contact-icon svg{width:16px;height:16px}
.footer-section-contacts,
.footer-section-care{
  justify-content:flex-start;
}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:24px 0;gap:20px}
.footer-brand{display:flex;gap:12px;align-items:center}
.footer-brand div{display:flex;flex-direction:column}
.footer-brand div > div:first-child{font-weight:800;font-size:14px}
.footer-brand div > div:last-child{font-size:12px;color:rgba(255,255,255,0.8)}

.differentials{background:var(--primary);color:#fff;padding:28px 0;margin-top:18px}
.differentials .container{display:flex;justify-content:space-between;align-items:center}
.differentials li{display:flex;align-items:center;gap:10px}

.contact{padding:28px 0}
.contact .container{display:flex;gap:28px;align-items:center}
.contact .office{flex:0 0 44%}
.contact iframe{display:block;max-width:100%;width:100%;height:280px}

/* Reviews section */
.reviews-section{padding:40px 0}
.reviews-card{background:linear-gradient(180deg, rgba(34,106,206,0.96), rgba(22,84,178,0.94));color:#fff;padding:28px;border-radius:18px;box-shadow:0 20px 60px rgba(20,53,120,0.28);border:1px solid rgba(255,255,255,0.08)}
.reviews-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.reviews-header h2{margin:0;color:#fff}
.reviews-sub{color:rgba(255,255,255,0.8);margin-top:6px}
.reviews-cta{padding:10px 16px;border-radius:12px;background:#072f66;color:#fff;border:1px solid rgba(255,255,255,0.06);box-shadow:0 8px 20px rgba(7,47,102,0.12);display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
html:not(.dark-mode) .reviews-cta{background:linear-gradient(180deg,#98f0ff,#66dbf0);color:#08324f;border-color:rgba(102,219,240,0.55);box-shadow:0 10px 24px rgba(102,219,240,0.2)}
html:not(.dark-mode) .reviews-cta:hover{background:linear-gradient(180deg,#b1f6ff,#7be4f4)}
.reviews-grid{display:grid;grid-template-columns:1fr;gap:20px}
.reviews-stats{grid-column:1 / -1;display:flex;gap:18px;flex-wrap:wrap;align-items:center;justify-content:center}
.stat-card{background:rgba(255,255,255,0.10);padding:14px 20px;border-radius:999px;min-width:120px;max-width:240px;flex:0 0 auto;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:default;transition:all 0.18s ease;border:1px solid rgba(255,255,255,0.08)}
.stat-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(6,18,50,0.18)}
.stat-card .stat-value{font-size:24px;font-weight:800;letter-spacing:-0.5px}
.stat-value{font-size:20px;font-weight:800;color:#d9ecff}
.stat-label{font-size:13px;color:rgba(255,255,255,0.85);margin-top:6px}
.review-sample{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.review-item{display:flex;gap:12px;align-items:center;background:rgba(255,255,255,0.08);padding:24px;border-radius:12px;border:1px solid rgba(255,255,255,0.10);min-height:140px}
.review-avatar{width:72px;height:72px;border-radius:50%;border:2px solid rgba(255,255,255,0.16);display:flex;align-items:center;justify-content:center;font-weight:800;color:#fff;font-size:18px;flex-shrink:0;overflow:hidden;background:#2d78de}
.review-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.review-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}
.review-meta .review-stars{color:#d9ecff;font-weight:800}
.review-body p{margin:8px 0 0;color:rgba(255,255,255,0.92);line-height:1.5}

@media (max-width:900px){
  .reviews-grid{grid-template-columns:1fr;}
  .reviews-header{flex-direction:column;align-items:flex-start;gap:12px}
  .reviews-cta{align-self:flex-start}
  .dentistry-panel{grid-template-columns:1fr}
  .doctor-card{min-height:300px}
  .doctor-card img{min-height:300px}
}

@media (max-width:1200px){
  .hero h1{font-size:56px}
  .hero-image img{width:420px;height:340px}
  .spec-grid{grid-template-columns:180px 1fr}
  .about .container{gap:36px}
  .about img{max-width:380px}
}
@media (max-width:1024px){
  .container{max-width:850px}
  .hero h1{font-size:48px}
  .hero .actions{flex-wrap:wrap}
  .hero-image img{width:380px;height:310px}
  .spec-grid{gap:20px}
  .footer-content{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .footer-brand-section{grid-column:span 1}
  .about .container{gap:32px}
  .about img{flex:0 0 35%;max-width:340px}
}
@media (max-width:900px){
  .container{max-width:750px}
  .hero .container{gap:32px}
  .hero h1{font-size:44px}
  .hero p{font-size:16px}
  .hero-image img{width:100%;height:auto;max-width:400px}
  .benefits .container{flex-direction:column;gap:14px}
  .benefit span{font-size:14px}
  .card{flex-direction:column}
  .card img{width:100%}
  .spec-grid{grid-template-columns:160px 1fr}
  .spec-team{flex-wrap:wrap}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .about .container{gap:28px}
  .about img{flex:0 0 38%;max-width:300px}
}
@media (max-width:768px){
  .container{max-width:100%;padding:0 16px}
  .site-header .container{padding:16px 16px;flex-direction:column;align-items:center;gap:12px}
  .site-header .container > a{width:100%;justify-content:center}
  .site-header .container > div:last-child{margin-left:0 !important;justify-content:center;width:100%;flex-wrap:wrap}
  .hero{padding:56px 0 40px}
  .hero .container{flex-direction:column;gap:28px}
  .hero-image{order:2;justify-content:center}
  .section-title{margin-bottom:14px}
  .section-title::after{width:56px;height:3px;margin-top:10px}
  .hero-image img{width:100%;height:auto}
  .hero h1{font-size:40px}
  .hero p{font-size:15px;max-width:100%}
  .hero .actions{flex-direction:column;width:100%}
  .hero .actions .btn{width:100%;justify-content:center}
  .benefits{width:100%;max-width:none;border-radius:0;margin-top:16px}
  .benefits .container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 16px}
  .benefit{gap:8px}
  .benefit .icon{width:72px;height:72px}
  .benefit .icon img{width:26px;height:26px}
  .benefit span{font-size:13px}
  .carousel-section{margin:22px 0;padding:28px 0}
  .carousel-slide{height:525px}
  .carousel-btn{width:36px;height:36px;font-size:16px}
  .carousel-btn.prev{left:12px}
  .carousel-btn.next{right:12px}
  .doctor-highlight{padding:8px 0 16px}
  .doctor-highlight .container{padding:0 16px}
  .doctor-card{min-height:220px;border-radius:18px}
  .doctor-card img{min-height:220px}
  .doctor-caption{left:14px;bottom:14px;padding:12px 14px;border-radius:12px}
  .doctor-caption strong{font-size:20px}
  .doctor-caption span{font-size:12px}
  .dentistry-section{padding:16px 0 36px}
  .dentistry-copy{padding:20px;border-radius:18px}
  .dentistry-points{gap:10px}
  .dentistry-carousel-shell .carousel-wrapper{aspect-ratio:4/3}
  .appointment{flex-direction:row;align-items:center;justify-content:center;gap:20px;padding:20px 24px;max-width:700px;margin:22px auto}
  .appointment .meta{flex-direction:row;width:auto}
  .appointment .cta-btn{width:auto}
  .specialties{padding:40px 0}
  .spec-grid{grid-template-columns:1fr;gap:14px;align-items:stretch;width:100%;overflow:hidden}
  .specialties aside{display:flex;justify-content:center;padding-right:0;width:100%;overflow-x:auto}
  #spec-nav{max-height:240px;max-width:100%;margin:0 auto;padding:0 16px;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;width:100%;overflow-x:auto;box-sizing:border-box}
  #spec-nav ul{width:100%}
  .specialties .spec-item{text-align:center;padding:8px 12px;font-size:13px;white-space:nowrap;flex:0 0 auto}
  .specialties .spec-item:hover{transform:none}
  .specialties h3{text-align:center;font-size:1.2rem}
  .specialties #spec-content{text-align:center}
  .specialties #spec-content div{text-align:center}
  .specialties #spec-content p{text-align:center;font-size:14px;line-height:1.55;padding:0 8px}
  .specialties #spec-content h4{text-align:center}
  .spec-grid > div:nth-child(2){text-align:center;padding-left:0 !important;padding:0 16px;box-sizing:border-box}
  .spec-team{justify-content:flex-start}
  .spec-team .member{padding:10px 12px}
  .section{padding:40px 0}
  .about{padding:36px 0 30px;margin-top:28px}
  .about .container{gap:18px;flex-direction:column;align-items:center}
  .about img{display:none}
  .about > .container > div{text-align:center;max-width:100%}
  .contact{padding:36px 0}
  .contact .container{flex-direction:column;align-items:stretch;gap:18px}
  .contact .office{flex:1 1 auto;width:100%}
  .contact iframe{height:240px;max-width:100%;overflow:hidden}
  .stats{grid-template-columns:1fr}
  .site-footer{padding:28px 0}
  .site-footer .container{padding:0 16px}
  .footer-content{grid-template-columns:1fr;gap:12px;padding:24px 0;border-bottom:1px solid rgba(255,255,255,0.15);align-items:stretch}
  .footer-brand-section{grid-column:1;grid-row:1;flex-direction:column;gap:12px;padding:18px}
  .footer-mobile-stack{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;min-width:0;align-items:stretch}
  .footer-section{padding:12px 10px;min-height:100%;overflow:hidden}
  .footer-contact-item{font-size:10px;line-height:1.25;word-break:break-word;gap:6px}
  .footer-contact-icon{width:13px;height:13px;flex-shrink:0}
  .footer-contact-icon svg{width:13px;height:13px}
  .footer-section h3{font-size:11px;line-height:1.2}
  .footer-hours{font-size:11px}
  .footer-hours p{font-size:11px;line-height:1.35;margin:5px 0}
  .reviews-card{padding:22px}
  .review-item{flex-direction:column;align-items:flex-start;padding:18px}
  .review-avatar{width:60px;height:60px;font-size:16px}
  .review-meta{width:100%}
  .footer-bottom{flex-direction:column;text-align:center;gap:16px}
  .footer-brand{justify-content:center}
  .footer-brand img{width:40px !important;height:40px !important}
  .footer-brand div div:first-child{font-size:13px !important}
  .footer-brand div div:last-child{font-size:11px !important}
}
@media (max-width:480px){
  .container{padding:0 12px}
  .site-header .container{padding:12px 12px;flex-wrap:wrap;gap:10px}
  .site-header .btn{padding:8px 14px;font-size:12px}
  .theme-btn{width:38px;height:38px}
  .hero{padding:44px 0 26px}
  .hero h1{font-size:32px;line-height:1.15}
  .hero p{font-size:14px}
  .eyebrow{font-size:12px}
  .hero .actions{gap:10px}
  .hero .actions .btn{padding:10px 14px;font-size:13px;gap:6px}
  .benefit .icon{width:64px;height:64px}
  .benefit .icon img{width:22px;height:22px}
  .benefit span{font-size:12px}
  .benefits{width:100%;max-width:none;border-radius:0;margin-top:14px}
  .benefits .container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 12px}
  .carousel-section{margin:18px 0;padding:24px 0}
  .carousel-slide{height:420px}
  .carousel-btn{width:34px;height:34px;font-size:15px}
  .carousel-dots{bottom:10px}
  .dot{width:8px;height:8px}
  .dot.active{width:24px}
  .doctor-highlight{padding:6px 0 14px}
  .doctor-highlight .container{padding:0 12px}
  .doctor-card{min-height:200px;border-radius:16px}
  .doctor-card img{min-height:200px}
  .doctor-caption{left:12px;bottom:12px;padding:10px 12px}
  .doctor-caption strong{font-size:18px}
  .doctor-caption span{font-size:11px}
  .dentistry-section{padding:14px 0 30px}
  .dentistry-copy{padding:18px}
  .dentistry-copy p{font-size:14px}
  .dentistry-points li{font-size:13px}
  .dentistry-carousel-shell .carousel-wrapper{aspect-ratio:1 / 1.1}
  .appointment{padding:12px;flex-direction:column;max-width:calc(100% - 24px);margin:16px auto}
  .appointment .meta{gap:8px;width:100%;flex-direction:column;text-align:center}
  .appointment .meta img{width:40px;height:40px}
  .appointment .cta-btn{width:100%;justify-content:center}
  .card{padding:8px}
  .stats{gap:10px}
  .stat{min-height:66px;padding:12px 14px;border-radius:14px}
  .stat strong{font-size:16px}
  .stat span{font-size:12px}
  .specialties{padding:34px 0}
  .specialties .container{padding:0 12px;width:100%;box-sizing:border-box}
  .spec-grid{gap:12px;width:100%;overflow:hidden}
  #spec-nav{max-height:160px;max-width:100%;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;list-style:none;width:100%;overflow-x:auto;padding:0;margin:0;box-sizing:border-box;scrollbar-width:thin;overflow-wrap:anywhere}
  .specialties .spec-item{padding:6px 10px;text-align:center;font-size:12px;white-space:nowrap;flex:0 0 auto;display:inline-block}
  .specialties h3{font-size:1.1rem;text-align:center}
  .specialties h4{font-size:0.95rem;text-align:center}
  .specialties #spec-content{text-align:center;width:100%;overflow:hidden}
  .specialties #spec-content p{text-align:center;font-size:12.5px;line-height:1.5;padding:0 8px;word-wrap:break-word;overflow-wrap:break-word;width:100%;box-sizing:border-box}
  .spec-team{justify-content:flex-start}
  .about{text-align:center}
  .about img{display:none}
  .about .container{flex-direction:column;align-items:center}
  .about > div{text-align:center}
  .about h2{text-align:center}
  .about p{text-align:center}
  .site-footer{padding:24px 0}
  .site-footer .container{padding:0 12px}
  .footer-content{grid-template-columns:1fr;gap:10px;padding:20px 0;align-items:stretch}
  .footer-brand-section{grid-column:1;grid-row:1;padding:14px 10px;gap:10px}
  .footer-mobile-stack{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px}
  .footer-section{padding:10px 8px;min-height:100%;overflow:hidden}
  .footer-brand-header{gap:10px}
  .footer-brand-header h2{font-size:14px}
  .footer-brand-header p{font-size:10px}
  .footer-brand-desc{font-size:12px;line-height:1.5}
  .footer-cta{font-size:12px;padding:10px 20px}
  .footer-section h3{font-size:10px;margin-bottom:8px}
  .footer-section a{font-size:10px}
  .footer-info{font-size:11px;line-height:1.45}
  .footer-info p{margin:0 0 8px}
  .footer-hours p{font-size:10px;line-height:1.3;margin:4px 0}
  .footer-contact-item{font-size:9px;gap:5px;line-height:1.2}
  .footer-contact-icon{width:11px;height:11px;margin-top:0;flex-shrink:0}
  .footer-contact-icon svg{width:11px;height:11px}
  .reviews-card{padding:18px}
  .reviews-header h2{font-size:clamp(1.35rem, 6vw, 1.8rem)}
  .review-item{padding:16px}
  .review-avatar{width:54px;height:54px;font-size:15px}
  .review-body p{font-size:13px}
  .footer-bottom{padding:14px 0;gap:12px}
  .footer-brand img{width:36px !important;height:36px !important}
  .footer-brand div div:first-child{font-size:12px !important}
  .footer-brand div div:last-child{font-size:11px !important}
  .contact{padding:30px 0}
  .contact iframe{height:210px;max-width:100%;overflow:hidden}
}

.clinic-hero-card{
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#fff;
  padding:48px 32px;
  border-radius:20px;
  text-align:center;
  box-shadow:0 20px 60px rgba(10,79,181,0.3);
  max-width:500px;
  margin:0 auto;
}
.clinic-hero-card .logo{width:80px;height:80px;margin:0 auto 24px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.15);border-radius:16px}
.clinic-hero-card .logo img{width:64px;height:64px}
.clinic-hero-card h1{color:#fff;font-size:28px;margin:0 0 8px;font-weight:800;letter-spacing:-0.3px}
.clinic-hero-card .subtitle{color:rgba(255,255,255,0.95);font-size:14px;font-weight:700;letter-spacing:0.8px;margin:0 0 16px;text-transform:uppercase}
.clinic-hero-card p{color:rgba(255,255,255,0.9);font-size:15px;line-height:1.6;margin:16px 0;font-weight:500}
.clinic-hero-card .btn{display:inline-flex;margin-top:12px;border:2px solid rgba(255,255,255,0.4);background:transparent;color:#fff;padding:12px 28px;border-radius:999px;font-weight:800;transition:all 0.3s ease}
.clinic-hero-card .btn:hover{border-color:#fff;background:rgba(255,255,255,0.1)}

/* FAQ styles */
.faq{padding:42px 0;margin:24px 0;background:#e5e7eb;border-radius:16px}
.faq .container{padding:18px;max-width:1100px}
.faq .section-title{color:var(--text-primary);margin-bottom:18px}
.faq-list{display:flex;flex-direction:column;gap:12px;max-width:760px;margin:0 auto;align-items:stretch}
.faq-item{width:100%}
.faq-btn{width:100%;text-align:left;padding:14px 18px;background:#e5e7eb;color:var(--text-primary);border:none;border-radius:12px;font-weight:800;font-size:16px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(6,18,50,0.08);transition:transform 0.18s ease, box-shadow 0.18s ease}
.faq-btn:hover{transform:translateY(-4px);box-shadow:0 14px 40px rgba(6,18,50,0.12)}
.faq-btn .chev{margin-left:12px;transition:transform 320ms ease}
.faq-content{display:none;overflow:hidden;background:var(--primary);color:#fff;padding:14px 18px;border-radius:10px;margin-top:8px;will-change:height,opacity,transform}
.faq-content p{margin:0;line-height:1.6}
.faq-item.open .faq-btn{background:#d7dce0}
.faq-item.open .chev{transform:rotate(180deg)}

@media (max-width:900px){
  .faq .container{max-width:100%}
  .faq-list{max-width:100%;margin:0 auto}
}

@media (max-width:768px){
  .faq{padding:24px 12px;margin:18px 0}
  .faq .container{padding:0 12px}
  .faq-list{gap:10px}
  .faq-btn{padding:16px 14px;font-size:15px;border-radius:10px;box-shadow:0 8px 24px rgba(6,18,50,0.06)}
  .faq-content{padding:12px 14px;margin-top:6px;border-radius:8px}
}

@media (max-width:480px){
  .faq{padding:18px 10px;margin:12px 0}
  .faq .container{padding:0 10px}
  .faq-list{gap:8px}
  .faq-btn{padding:18px 12px;font-size:15px;border-radius:10px}
  .faq-content{padding:12px;margin-top:6px;font-size:14px;line-height:1.5}
  .faq-btn{box-shadow:none}
}

/* ensure no horizontal overflow from FAQ */
.faq, .faq .container, .faq-list {box-sizing:border-box;max-width:100%;overflow:visible}
