﻿/* ============================================================
   ILAGAN DENTAL CLINIC — Premium Purple Theme
   ============================================================ */

:root {
  --purple:      #6858A0;
  --purple-d:    #4A3A7A;
  --purple-dd:   #2E2050;
  --purple-m:    #8470B8;
  --purple-l:    #EDE9F7;
  --purple-xl:   #F7F5FC;
  --white:       #ffffff;
  --text:        #2A1F4A;
  --text-muted:  #7A6E94;
  --nav-h:       96px;
  --font-head:   'Poppins', sans-serif;
  --font-body:   'Inter', sans-serif;
  --ease:        cubic-bezier(.4,0,.2,1);
  --t:           .35s;
}

*, *::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(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
em    { font-style: italic; }

.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--text); line-height: 1.15;
  margin: .75rem 0 1rem;
}
.section-header p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }

.section-chip {
  display: inline-block;
  background: var(--purple-l); color: var(--purple-d);
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem 1.1rem; border-radius: 50px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1.1rem 2.6rem;
  background: linear-gradient(135deg, var(--purple-m), var(--purple-d));
  color: var(--white); border-radius: 50px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  box-shadow: 0 6px 24px rgba(104,88,160,.4);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(104,88,160,.5); }
.btn-primary.large { padding: 1.2rem 3rem; font-size: 1.1rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1.1rem 2.6rem;
  background: transparent; color: var(--purple);
  border: 2.5px solid var(--purple); border-radius: 50px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  transition: background var(--t), color var(--t), transform var(--t) var(--ease), box-shadow var(--t);
}
.btn-outline:hover { background: var(--purple); color: var(--white); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(104,88,160,.3); }
.btn-outline.large { padding: 1.2rem 3rem; font-size: 1.1rem; }

/* Hero buttons (on dark bg) */
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1.1rem 2.6rem;
  background: var(--white); color: var(--purple-d);
  border-radius: 50px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.3); }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1.1rem 2.6rem;
  background: rgba(255,255,255,.12); color: var(--white);
  border: 2px solid rgba(255,255,255,.4); border-radius: 50px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  backdrop-filter: blur(8px);
  transition: background var(--t), border-color var(--t), transform var(--t) var(--ease);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.7); transform: translateY(-3px); }

/* ── Floating Blobs (re-usable) ── */
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(20px,-25px) scale(1.04); }
  66%       { transform: translate(-15px,15px) scale(.97); }
}

/* ═══════════════════════════════════════════════════════════ */
/*  NAVBAR                                                     */
/* ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--t), box-shadow var(--t), height var(--t);
}
.navbar.scrolled {
  background: rgba(46,32,80,.96);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
  height: 80px;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.nav-brand { display: flex; align-items: center; gap: 1rem; }
.nav-logo-wrap {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  transition: background var(--t), transform var(--t) var(--ease);
  flex-shrink: 0;
}
.nav-logo-wrap:hover { background: rgba(255,255,255,.25); transform: scale(1.05); }
.nav-logo-wrap img { width: 44px; height: 44px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--white); }
.brand-sub  { font-size: .7rem; color: rgba(255,255,255,.55); font-weight: 400; }
.navbar.scrolled .brand-name { color: var(--white); }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links li a {
  padding: .55rem 1.1rem;
  font-family: var(--font-head); font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 50px;
  transition: background var(--t), color var(--t);
}
.nav-links li a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav-links li a.nav-active { background: rgba(255,255,255,.18); color: var(--white); font-weight: 700; }
.nav-cta {
  margin-left: .5rem !important;
  background: var(--white) !important;
  color: var(--purple-d) !important;
  padding: .7rem 1.6rem !important;
  font-weight: 700 !important; font-size: .9rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.15) !important;
  transition: transform var(--t) var(--ease), box-shadow var(--t) !important;
}
.nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(0,0,0,.2) !important; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 8px; border-radius: 10px;
  transition: background var(--t);
}
.nav-toggle:hover { background: rgba(255,255,255,.12); }
.nav-toggle span { display: block; width: 100%; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════ */
/*  HERO                                                       */
/* ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--purple-dd) 0%, #3D2870 45%, var(--purple) 100%);
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}

/* Animated bg blobs */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .25;
  animation: blobFloat 10s ease-in-out infinite;
  pointer-events: none;
}
.blob-1 { width: 500px; height: 500px; background: var(--purple-m); top: -100px; left: -150px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: #9070D0; bottom: -80px; right: -100px; animation-delay: -4s; }
.blob-3 { width: 300px; height: 300px; background: #5040A0; top: 40%; left: 40%; animation-delay: -7s; opacity: .15; }

/* Background rings */
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.hero-ring-1 { width: 700px; height: 700px; top: 50%; right: -100px; transform: translateY(-50%); }
.hero-ring-2 { width: 500px; height: 500px; top: 50%; right: 50px; transform: translateY(-50%); }

.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 5rem 40px 8rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; width: 100%;
  position: relative; z-index: 2;
}

/* Fade-in animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up  { animation: fadeInUp .8s var(--ease) both; }
.delay-1     { animation-delay: .15s; }
.delay-2     { animation-delay: .3s; }
.delay-3     { animation-delay: .45s; }
.delay-4     { animation-delay: .6s; }

.hero-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  padding: .5rem 1.2rem; border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-chip i { color: var(--purple-l); }

.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800; color: var(--white); line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-text h1 em { font-style: italic; font-weight: 300; color: var(--purple-l); }
.hero-text p {
  font-size: 1.1rem; color: rgba(255,255,255,.72); line-height: 1.8;
  max-width: 460px; margin-bottom: 2.2rem;
}
.hero-btns { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem; }
.trust-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  font-size: .78rem; font-weight: 500;
  padding: .4rem .9rem; border-radius: 50px;
  backdrop-filter: blur(6px);
}
.trust-pill .fa-star { color: #f8c94a; font-size: .7rem; }

/* Hero circle */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-circle-wrap { position: relative; width: min(480px,100%); }

@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ringRotateRev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.hero-ring-anim {
  position: absolute; border-radius: 50%; inset: -20px;
  border: 1.5px dashed rgba(255,255,255,.2);
  animation: ringRotate 20s linear infinite;
}
.ring-b { inset: -42px; border-color: rgba(255,255,255,.1); animation: ringRotateRev 30s linear infinite; animation-delay: -5s; }

.hero-circle {
  width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.35), inset 0 0 40px rgba(104,88,160,.3);
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }

/* Floating info cards */
.hero-card {
  position: absolute;
  display: flex; align-items: center; gap: .65rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  padding: .85rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  min-width: 185px;
}
.hero-card strong { display: block; font-family: var(--font-head); font-size: .84rem; font-weight: 700; color: var(--text); }
.hero-card small  { font-size: .72rem; color: var(--text-muted); }
.hc-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--purple-l); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.hc-top    { top: 8%; left: -10%; animation: blobFloat 5s ease-in-out infinite; }
.hc-bottom { bottom: 8%; right: -10%; animation: blobFloat 5s ease-in-out infinite; animation-delay: -2.5s; }

/* Wave divider */
.wave-divider {
  position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; z-index: 3;
}
.wave-divider svg { width: 100%; height: 120px; }
.wave-flip { bottom: auto; top: 0; }
.wave-flip svg { transform: scaleY(-1); }

.wave-section-divider { line-height: 0; }
.wave-section-divider svg { width: 100%; height: 100px; }
.wave-flip-white svg { transform: scaleY(-1); }

/* ═══════════════════════════════════════════════════════════ */
/*  PATIENT JOURNEY                                            */
/* ═══════════════════════════════════════════════════════════ */
.section-journey {
  background: var(--purple-xl);
  padding: 8rem 0 6rem;
  position: relative; overflow: hidden;
}
.journey-blob-1 {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(104,88,160,.12) 0%, transparent 70%);
  top: -100px; right: -200px; border-radius: 50%; pointer-events: none;
}
.journey-steps {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem;
}
.journey-step {
  text-align: center; padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(104,88,160,.1);
  border: 1px solid rgba(104,88,160,.08);
  position: relative;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.journey-step:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(104,88,160,.18); }

.jstep-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-l), var(--purple-xl));
  border: 2px solid var(--purple-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--purple);
  margin: 0 auto 1.5rem; position: relative;
}
.jstep-num {
  position: absolute; top: -8px; right: -8px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--purple); color: var(--white);
  font-family: var(--font-head); font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* Connector line between steps */
.jstep-connector {
  position: absolute;
  top: 3rem; right: -1.3rem;
  width: 2.6rem; height: 2px;
  background: linear-gradient(to right, var(--purple-l), var(--purple));
  z-index: 2;
}
.jstep-connector.last { display: none; }

.journey-step h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
.journey-step p  { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════ */
/*  FEATURES                                                   */
/* ═══════════════════════════════════════════════════════════ */
.section-features {
  padding: 7rem 0; background: var(--white);
  position: relative; overflow: hidden;
}
.feat-blob-1 {
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(104,88,160,.07) 0%, transparent 70%);
  bottom: -200px; left: -200px; border-radius: 50%; pointer-events: none;
}
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }

.feat-card {
  background: var(--purple-xl);
  border: 1.5px solid rgba(104,88,160,.1);
  border-radius: 24px; padding: 2.2rem 2rem;
  position: relative; overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
  cursor: default;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(104,88,160,.16); border-color: var(--purple-m); }
.feat-card:hover .feat-hover-bar { width: 100%; }

.feat-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.3rem;
  transition: transform var(--t) var(--ease);
}
.feat-card:hover .feat-icon { transform: scale(1.1) rotate(-3deg); }
.fc-purple   { background: var(--purple-l); color: var(--purple); }
.fc-blue     { background: #dbeafe; color: #2563eb; }
.fc-indigo   { background: #e0e7ff; color: #4338ca; }
.fc-violet   { background: #f3e8ff; color: #7c3aed; }
.fc-lavender { background: #f5f3ff; color: #6d28d9; }

.feat-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; }
.feat-card p  { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }

.feat-hover-bar {
  position: absolute; bottom: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(to right, var(--purple-m), var(--purple-d));
  transition: width .45s var(--ease);
  border-radius: 0 0 24px 24px;
}

/* ═══════════════════════════════════════════════════════════ */
/*  STATS BAR                                                  */
/* ═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, var(--purple-dd) 0%, #3D2870 100%);
  padding: 7rem 0 6rem; position: relative; overflow: hidden;
}
.stats-blob {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(132,112,184,.25) 0%, transparent 60%);
  pointer-events: none;
}
.stats-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.stat-col { flex: 1; min-width: 160px; text-align: center; padding: 1.5rem 1rem; }
.stat-num {
  display: inline;
  font-family: var(--font-head); font-size: 3.2rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stat-plus { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--purple-l); }
.stat-lbl  { display: block; font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.55); letter-spacing: .04em; margin-top: .5rem; }
.stat-sep  { width: 1px; height: 70px; background: rgba(255,255,255,.12); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════ */
/*  ABOUT                                                      */
/* ═══════════════════════════════════════════════════════════ */
.section-about {
  background: var(--purple-xl);
  padding: 8rem 0; position: relative; overflow: hidden;
}
.about-blob-1 {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(104,88,160,.15) 0%, transparent 70%);
  top: 0; right: -100px; border-radius: 50%; pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }

/* About images */
.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(104,88,160,.2);
}
.about-img-secondary {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 220px; height: 160px; object-fit: cover;
  border-radius: 20px;
  border: 5px solid var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
}
.about-badge {
  position: absolute; top: 2rem; left: -2rem;
  display: flex; align-items: center; gap: .75rem;
  background: var(--white);
  padding: 1rem 1.3rem; border-radius: 16px;
  box-shadow: 0 10px 40px rgba(104,88,160,.18);
}
.about-badge i { font-size: 1.5rem; color: var(--purple); }
.about-badge span { font-family: var(--font-head); font-size: .85rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.about-badge small { font-size: .72rem; color: var(--text-muted); font-weight: 400; }

/* About text */
.about-text .section-chip { margin-bottom: .75rem; }
.about-text h2 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--text); line-height: 1.15; margin-bottom: 1.25rem; }
.about-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }

.check-list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2.5rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .75rem 1rem; background: var(--white);
  border-radius: 14px; border: 1px solid rgba(104,88,160,.08);
  transition: box-shadow var(--t), border-color var(--t), transform var(--t) var(--ease);
}
.check-list li:hover { box-shadow: 0 6px 20px rgba(104,88,160,.12); border-color: var(--purple-l); transform: translateX(4px); }
.check-list li > i { color: var(--purple); font-size: 1rem; margin-top: .2rem; flex-shrink: 0; }
.check-list li div strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .1rem; }
.check-list li div small  { font-size: .8rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════ */
/*  MAP                                                        */
/* ═══════════════════════════════════════════════════════════ */
.section-map { background: var(--white); padding: 6rem 0 0; }
.section-map .section-header p { font-size: .97rem; line-height: 1.8; }
.map-wrap { margin-top: 2rem; }
#map { width: 100%; height: 520px; }

/* ═══════════════════════════════════════════════════════════ */
/*  CTA                                                        */
/* ═══════════════════════════════════════════════════════════ */
.section-cta {
  background: linear-gradient(145deg, var(--purple-d) 0%, var(--purple) 50%, var(--purple-m) 100%);
  padding: 8rem 0;
  position: relative; overflow: hidden;
}
.cta-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .2; pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite;
}
.cta-blob-1 { width: 500px; height: 500px; background: var(--white); top: -100px; left: -150px; }
.cta-blob-2 { width: 400px; height: 400px; background: var(--purple-l); bottom: -80px; right: -100px; animation-delay: -5s; }

.cta-inner {
  max-width: 680px; margin: 0 auto; text-align: center;
  position: relative; z-index: 1;
}
.cta-icon-ring {
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white);
  margin: 0 auto 2rem;
  backdrop-filter: blur(8px);
  animation: blobFloat 5s ease-in-out infinite;
}
.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 1.2rem;
}
.cta-inner p { font-size: 1.05rem; color: rgba(255,255,255,.75); line-height: 1.75; margin-bottom: 2.5rem; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.btn-row   { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 2rem; }
/* Override outline for dark bg */
.section-cta .btn-outline {
  border-color: rgba(255,255,255,.5); color: var(--white);
}
.section-cta .btn-outline:hover {
  background: rgba(255,255,255,.15); border-color: var(--white);
}

/* ═══════════════════════════════════════════════════════════ */
/*  FOOTER                                                     */
/* ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--purple-dd);
  padding: 5rem 40px 0;
  position: relative; overflow: hidden;
}
.footer-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(104,88,160,.25) 0%, transparent 60%);
  pointer-events: none;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
  gap: 3rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative; z-index: 1;
}
.footer-brand { display: flex; flex-direction: column; gap: .75rem; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; opacity: .9; }
.footer-brand strong { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); }
.footer-brand > div { display: flex; flex-direction: column; }
.footer-brand span { font-size: .75rem; color: rgba(255,255,255,.4); }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.65; margin-top: .5rem; }

.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col h4 { font-family: var(--font-head); font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.5); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color var(--t); }
.footer-col a:hover { color: var(--white); }
.footer-addr { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.75; }

.footer-copy {
  max-width: 1200px; margin: 0 auto;
  text-align: center; padding: 1.75rem 0;
  position: relative; z-index: 1;
}
.footer-copy p { font-size: .78rem; color: rgba(255,255,255,.25); }

/* ═══════════════════════════════════════════════════════════ */
/*  SCROLL REVEAL                                              */
/* ═══════════════════════════════════════════════════════════ */
.reveal-up    { opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0); }
.reveal-up.delay-1 { transition-delay: .1s; }
.reveal-up.delay-2 { transition-delay: .22s; }
.reveal-up.delay-3 { transition-delay: .34s; }
.reveal-up.delay-4 { transition-delay: .46s; }

/* ═══════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                 */
/* ═══════════════════════════════════════════════════════════ */
@media (max-width: 1120px) {
  .about-grid { gap: 4rem; }
  .about-img-secondary { width: 180px; height: 130px; right: -1rem; }
  .about-badge { left: -1rem; }
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 3rem; }
  .hero-circle-wrap { width: min(400px,100%); }
}
@media (max-width: 900px) {
  .journey-steps { grid-template-columns: 1fr; }
  .jstep-connector { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-secondary { display: none; }
  .about-badge { left: 1rem; }
}
@media (max-width: 768px) {
  :root { --nav-h: 76px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: rgba(46,32,80,.98);
    backdrop-filter: blur(20px);
    padding: 1rem; gap: .25rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: .8rem 1.2rem; border-radius: 10px; font-size: .95rem; }
  .nav-cta { margin-left: 0 !important; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 4rem 24px 7rem; gap: 3rem; }
  .hero-text p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-circle-wrap { width: min(320px,90%); margin: 0 auto; }
  .hc-top, .hc-bottom { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stat-sep { width: 100%; height: 1px; }
  .stat-col { flex-basis: 50%; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-wrap { padding: 0 24px; }
  #map { height: 380px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .cta-btns  { flex-direction: column; align-items: center; }
  .btn-row   { flex-direction: column; align-items: flex-start; }
  .btn-hero-primary, .btn-hero-ghost, .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .stat-col  { flex-basis: 100%; }
  .stat-sep  { height: 1px; }
}

/* ═══════════════════════════════════════════════════════════ */
/*  QUOTE / SAYING SECTION                                     */
/* ═══════════════════════════════════════════════════════════ */
.section-quote {
  background: var(--purple-xl);
  padding: 7rem 0 10rem;
  position: relative; overflow: hidden;
}
.quote-blob {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(104,88,160,.13) 0%, transparent 70%);
  top: -100px; right: -150px; border-radius: 50%; pointer-events: none;
}
.quote-inner {
  max-width: 820px; margin: 0 auto; text-align: center;
  position: relative; z-index: 1;
}
.quote-mark-icon {
  font-size: 5rem; color: var(--purple-l); line-height: 1; margin-bottom: 1.5rem;
  display: block;
}
.quote-mark-icon i { color: var(--purple); opacity: .35; }
.clinic-quote {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 600; font-style: italic;
  color: var(--text); line-height: 1.6;
  margin-bottom: 2rem;
}
.quote-line {
  width: 64px; height: 3.5px;
  background: linear-gradient(to right, var(--purple-m), var(--purple-d));
  border-radius: 2px; margin: 0 auto 1.25rem;
}
.quote-attr {
  font-size: .9rem; color: var(--text-muted);
  font-weight: 500; letter-spacing: .04em; margin-bottom: 2.8rem;
}
.quote-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
}
.q-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--white); color: var(--purple-d);
  border: 1.5px solid rgba(104,88,160,.15);
  font-size: .82rem; font-weight: 600;
  padding: .55rem 1.2rem; border-radius: 50px;
  box-shadow: 0 3px 16px rgba(104,88,160,.1);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.q-pill:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(104,88,160,.18); }
.q-pill i { color: var(--purple); font-size: .8rem; }

/* ═══════════════════════════════════════════════════════════ */
/*  MEET THE DENTIST                                           */
/* ═══════════════════════════════════════════════════════════ */
.section-team {
  background: var(--white);
  padding: 7rem 0 6rem;
  position: relative; overflow: hidden;
}
.team-blob {
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(104,88,160,.06) 0%, transparent 70%);
  bottom: -200px; left: -200px; border-radius: 50%; pointer-events: none;
}
/* Featured dentist card */
.dentist-featured {
  display: grid; grid-template-columns: 440px 1fr;
  gap: 0; align-items: stretch;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(104,88,160,.18);
  border: 1.5px solid rgba(104,88,160,.1);
}
.dentist-photo-wrap {
  position: relative; min-height: 520px;
}
.dentist-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.dentist-badge {
  position: absolute; top: 1.5rem; left: 1.5rem;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--purple); color: var(--white);
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  padding: .45rem 1rem; border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.dentist-exp-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  padding: .65rem 1.1rem; border-radius: 14px;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800;
  color: var(--purple-d); line-height: 1.1;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.dentist-exp-badge span {
  display: block; font-size: .7rem; font-weight: 500; color: var(--text-muted);
}

.dentist-info-wrap {
  background: var(--purple-xl);
  padding: 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.dentist-creds {
  font-size: .78rem; font-weight: 700; color: var(--purple);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem;
}
.dentist-name {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  color: var(--text); line-height: 1.2; margin-bottom: 1rem;
}
.dentist-desc {
  font-size: .95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem;
}
.dentist-tags {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem;
}
.dentist-tags span {
  display: inline-block;
  background: var(--white); color: var(--purple-d);
  border: 1.5px solid var(--purple-l);
  font-size: .78rem; font-weight: 600;
  padding: .35rem .9rem; border-radius: 50px;
}
.dentist-meta {
  display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.2rem;
}
.dm-item {
  display: flex; align-items: center; gap: 1rem;
}
.dm-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--white); border: 1.5px solid var(--purple-l);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple); font-size: .95rem;
}
.dm-text strong { display: block; font-size: .85rem; font-weight: 700; color: var(--text); }
.dm-text small  { font-size: .78rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════ */
/*  MAP — Split Card Layout                                    */
/* ═══════════════════════════════════════════════════════════ */
.section-map {
  background: var(--purple-dd);
  position: relative;
}
.map-layout {
  display: grid; grid-template-columns: 400px 1fr; min-height: 580px;
}
.map-info-card {
  background: linear-gradient(160deg, var(--purple-d) 0%, var(--purple-dd) 100%);
  padding: 4rem 3rem;
  display: flex; flex-direction: column;
  position: relative; z-index: 2;
}
.mic-location-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 50px;
  width: fit-content; margin-bottom: 1rem;
}
.mic-location-chip i { color: var(--purple-l); }
.mic-heading {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 800;
  color: var(--white); line-height: 1.15; margin-bottom: 0;
}
.mic-details {
  display: flex; flex-direction: column; gap: 1.5rem;
  flex: 1; margin-top: 2.5rem; margin-bottom: 2.5rem;
}
.mic-row {
  display: flex; gap: 1rem; align-items: flex-start;
}
.mic-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-l); font-size: .95rem;
}
.mic-row-text strong {
  display: block; font-family: var(--font-head);
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.45);
  margin-bottom: .3rem;
}
.mic-row-text span {
  font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.55;
}
.mic-btn {
  align-self: flex-start;
  background: var(--white) !important;
  color: var(--purple-d) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.25) !important;
}
.mic-btn:hover { transform: translateY(-3px) !important; box-shadow: 0 10px 32px rgba(0,0,0,.3) !important; }

.map-canvas { position: relative; }
.map-canvas #map { width: 100%; height: 100%; min-height: 580px; }

/* ── Responsive new sections ── */
@media (max-width: 1024px) {
  .dentist-featured { grid-template-columns: 360px 1fr; }
  .map-layout { grid-template-columns: 340px 1fr; }
  .mic-heading { font-size: 2rem; }
}
@media (max-width: 900px) {
  .dentist-featured { grid-template-columns: 1fr; }
  .dentist-photo-wrap { min-height: 380px; }
  .dentist-info-wrap { padding: 2.5rem; }
  .map-layout { grid-template-columns: 1fr; }
  .map-info-card { padding: 3rem 2rem; }
  .mic-heading { font-size: 1.8rem; }
  .map-canvas #map { min-height: 420px; }
}
@media (max-width: 768px) {
  .section-quote { padding: 5rem 0 9rem; }
  .clinic-quote { font-size: 1.2rem; }
  .dentist-name { font-size: 1.6rem; }
}

/* ── Leaflet popup overrides ── */
.leaflet-popup-content-wrapper {
  border-radius: 14px !important;
  box-shadow: 0 12px 40px rgba(104,88,160,.25) !important;
  border: 1.5px solid rgba(104,88,160,.12) !important;
  padding: 0 !important;
}
.leaflet-popup-content { margin: 1rem 1.1rem !important; }
.leaflet-popup-tip-container { margin-top: -1px; }
.leaflet-popup-tip { background: #fff !important; box-shadow: none !important; }
.leaflet-control-zoom a {
  color: var(--purple) !important;
  font-weight: 700 !important;
}
.leaflet-control-zoom a:hover { background: var(--purple-l) !important; }

/* ═══════════════════════════════════════════════════════════ */
/*  FIXES — logo, mini-map card, CTA button                   */
/* ═══════════════════════════════════════════════════════════ */

/* 1. Navbar logo — white bg so logo is always visible */
.nav-logo-wrap {
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}

/* 2. Mini map hero card */
.hc-map-card {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: .5rem !important;
  min-width: 210px !important;
  padding: .75rem !important;
}
#mini-map-hero {
  width: 100%; height: 100px; border-radius: 10px; overflow: hidden;
  border: 1.5px solid rgba(104,88,160,.15);
}
.hc-map-label {
  display: flex; align-items: center; gap: .5rem; padding: 0 .1rem;
}
.hc-icon-sm {
  width: 28px !important; height: 28px !important;
  border-radius: 8px !important; font-size: .75rem !important;
}

/* 3. CTA section — big white button */
.btn-cta-white {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1.2rem 3rem;
  background: #ffffff; color: var(--purple-d);
  border-radius: 50px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  transition: transform var(--t) var(--ease), box-shadow var(--t), background var(--t);
  border: none;
}
.btn-cta-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,.3);
  background: var(--purple-xl);
}
.btn-cta-white.large { padding: 1.25rem 3.2rem; font-size: 1.15rem; }

/* Quote section — learn more link */
.quote-learn-more {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 2rem;
  color: var(--purple-d); font-family: var(--font-head);
  font-size: .9rem; font-weight: 700;
  border-bottom: 2px solid var(--purple-l);
  padding-bottom: .2rem;
  transition: color var(--t), border-color var(--t), gap var(--t) var(--ease);
}
.quote-learn-more:hover { color: var(--purple); border-color: var(--purple); gap: .8rem; }
