/* ===================================================
   EASTDALE FAMILY DENTAL — Main Stylesheet
   =================================================== */

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

:root {
  --primary:     #00a1a3;
  --primary-dark:#007d7e;
  --accent:      #00bdbf;
  --accent-dark: #00a1a3;
  --dark:        #00a1a3;
  --mid:         #009496;
  --light-bg:    #f0fafa;
  --off-white:   #e5f5f5;
  --white:       #ffffff;
  --text:        #1e3252;
  --text-light:  #5a7a8a;
  --border:      #b8e4e4;
  --shadow-sm:   0 2px 8px rgba(0,161,163,.10);
  --shadow-md:   0 6px 24px rgba(0,161,163,.14);
  --shadow-lg:   0 12px 40px rgba(0,161,163,.18);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --transition:  .3s ease;
  --font-body:   'Poppins', 'Segoe UI', sans-serif;
  --font-head:   'Poppins', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.02em;
}

/* --- Utilities --- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-bg { background: var(--light-bg); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h1,.section-dark h2,.section-dark h3 { color: var(--white); }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header .label {
  display: inline-block;
  background: rgba(0,161,163,.12);
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-header h2 { font-size: 2.1rem; margin-bottom: 14px; }
.section-header p  { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.divider {
  width: 55px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 4px;
  margin: 14px auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}
.btn-accent:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar .container { display: contents; }
.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: #ffffff; text-decoration: underline; }
.top-bar .cdcp-link, .top-bar .cdcp-link:hover { color: var(--primary); font-weight: 600; }
.top-bar-left,.top-bar-right { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.top-bar span { display: flex; align-items: center; gap: 8px; }
.top-bar i { font-size: 1rem; }
.top-bar i { color: #ffffff; font-size: .9rem; }

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: box-shadow var(--transition);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.logo { display: flex; align-items: center; margin-left: -24px; }
.logo-img { height: 90px; width: auto; display: block; max-width: 260px; border-radius: 0; }
.footer-logo-img { height: 65px; width: auto; display: block; margin-bottom: 16px; border-radius: 0; }
.logo-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 26px; height: 26px; fill: white; }
.logo-text h1 { font-size: 1.15rem; color: var(--dark); margin: 0; line-height: 1.1; }
.logo-text span { font-size: .72rem; color: var(--text-light); font-family: var(--font-body); font-weight: 400; letter-spacing: .5px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: .93rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--off-white);
}
.nav-cta { margin-left: 4px; border-radius: 50px !important; }
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover {
  color: var(--white);
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 4px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 88vh;
  background: linear-gradient(120deg, var(--dark) 0%, #1a3f6f 55%, #1e5799 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8,58,52,.84) 0%, rgba(13,100,90,.76) 55%, rgba(20,130,117,.65) 100%);
  z-index: 0;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,195,176,.15);
  border: 1px solid rgba(79,195,176,.3);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
.hero h1 {
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero h1 span { color: var(--primary); }
.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
  font-style: italic;
}
.hero-desc {
  color: rgba(255,255,255,.7);
  margin-bottom: 38px;
  font-size: 1rem;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 32px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; color: var(--white); font-family: var(--font-head); }
.stat span   { font-size: .78rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  text-align: center;
  max-width: 440px;
  width: 100%;
}
.hero-icon-wrap {
  width: 110px; height: 110px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(79,195,176,.35);
  overflow: hidden;
}
.hero-icon-wrap svg { width: 44px; height: 44px; fill: white; flex-shrink: 0; }
.hero-card h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 14px; }
.hero-card p  { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 28px; }
.hero-card-hours {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  line-height: 1.5;
}
.hero-card-hours strong { color: var(--primary); }

/* ===========================
   ANNOUNCEMENT BAR
   =========================== */
.announcement {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: white;
  text-align: center;
  padding: 14px 24px;
  font-size: .92rem;
  font-weight: 500;
}
.announcement span { margin: 0 10px; }

/* ===========================
   FEATURES STRIP
   =========================== */
.features-strip { padding: 60px 0; background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, rgba(26,111,186,.1), rgba(79,195,176,.1));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}
.feature-item h4 { font-size: 1rem; margin-bottom: 8px; }
.feature-item p  { font-size: .85rem; color: var(--text-light); }

/* ===========================
   ABOUT SECTION
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.about-img-placeholder {
  background: linear-gradient(135deg, var(--light-bg), var(--off-white));
  border-radius: var(--radius-lg);
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  color: var(--text-light);
  font-size: .9rem;
  gap: 12px;
}
.about-img-placeholder svg { width: 56px; height: 56px; opacity: .35; }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge strong { display: block; font-size: 2rem; font-family: var(--font-head); }
.about-badge span   { font-size: .78rem; opacity: .9; }

.about-label {
  display: inline-block;
  background: rgba(26,111,186,.08);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.about-content h2 { font-size: 2rem; margin-bottom: 18px; }
.about-content p  { color: var(--text-light); margin-bottom: 16px; line-height: 1.75; }
.about-list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
}
.about-list li .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.about-list li .check::after {
  content: '✓';
  color: white;
  font-size: .7rem;
  font-weight: 700;
}

/* ===========================
   SERVICES
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card-img { height: 180px; overflow: hidden; margin: -24px -24px 20px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-emoji { font-size: 2.4rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p  { font-size: .88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 18px; }
.service-card a  { font-size: .85rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.service-card a:hover { gap: 8px; }

/* ===========================
   TEAM
   =========================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 780px;
  margin: 0 auto;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.team-photo {
  height: 400px;
  background: linear-gradient(135deg, var(--light-bg), var(--off-white));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .85rem;
  gap: 10px;
  border-bottom: 1.5px solid var(--border);
  position: relative;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  inset: 0;
}
.team-photo-placeholder svg { width: 64px; height: 64px; opacity: .3; }
.team-info { padding: 24px; }
.team-info h3  { font-size: 1.25rem; margin-bottom: 4px; }
.team-role     { color: var(--primary); font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.team-exp      { color: var(--text-light); font-size: .82rem; margin-bottom: 12px; }
.team-bio      { font-size: .88rem; color: var(--text-light); line-height: 1.65; }

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars { color: #f5a623; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: .92rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.author-name  { font-weight: 600; font-size: .9rem; }
.author-since { font-size: .78rem; color: var(--text-light); }

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3f6f 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(79,195,176,.12), transparent 70%);
}
.cta-section .container { position: relative; }
.cta-section h2 { font-size: 2.3rem; color: white; margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  color: white;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
}
.cta-phone:hover { background: rgba(255,255,255,.18); color: white; }

/* ===========================
   MAP & INFO
   =========================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-cards { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.info-card-icon {
  flex-shrink: 0;
  width: 56px; height: 56px; min-width: 56px;
  background: linear-gradient(135deg, rgba(26,111,186,.1), rgba(79,195,176,.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  overflow: visible;
}
.info-card h4 { font-size: .95rem; margin-bottom: 4px; color: var(--dark); }
.info-card p, .info-card a {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 360px; display: block; border: 0; }

/* ===========================
   APPOINTMENT FORM
   =========================== */
.appointment-section { background: var(--light-bg); }
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.appointment-info h2 { font-size: 1.9rem; margin-bottom: 16px; }
.appointment-info p  { color: var(--text-light); margin-bottom: 24px; line-height: 1.75; }
.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table td { padding: 10px 0; font-size: .9rem; color: var(--text); }
.hours-table td:last-child { text-align: right; color: var(--primary); font-weight: 600; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card .subtitle { color: var(--text-light); font-size: .88rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group label span { color: #e74c3c; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,111,186,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 6px; }
.form-note { font-size: .8rem; color: var(--text-light); margin-top: 10px; text-align: center; }
.input-error { border-color: #e74c3c !important; box-shadow: 0 0 0 3px rgba(231,76,60,.12) !important; }
.field-error-msg { display: block; color: #e74c3c; font-size: .78rem; margin-top: 4px; }

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: url('/images/hero.jpg') center/cover no-repeat;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8,58,52,.86) 0%, rgba(13,100,90,.78) 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: 2.6rem; color: white; margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,.72); max-width: 580px; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .82rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: rgba(255,255,255,.4); }
.breadcrumb strong { color: var(--primary); }

/* ===========================
   NEW PATIENT PAGE
   =========================== */
.new-patient-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1.5px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-head);
  margin: 0 auto 18px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step-card p  { font-size: .88rem; color: var(--text-light); line-height: 1.65; }

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  padding: 12px 14px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  margin-top: 1px;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light-bg); }
.faq-question.open   { background: var(--off-white); color: var(--primary); }
.faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: transform var(--transition); font-style: normal; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-answer.open { display: block; }

/* ===========================
   SERVICES PAGE (full)
   =========================== */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-full-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1.5px solid var(--border);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--transition);
}
.service-full-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); transform: translateY(-3px); }
.service-full-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(26,111,186,.1), rgba(79,195,176,.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.service-full-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-full-card p  { font-size: .87rem; color: var(--text-light); line-height: 1.6; }

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h4 {
  color: white;
  font-size: .95rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.footer-logo-wrap { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.footer-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-icon svg { width: 22px; height: 22px; fill: white; }
.footer-logo-text { color: white; font-family: var(--font-head); font-size: 1.1rem; }
.footer-col p { font-size: .87rem; line-height: 1.75; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #ffffff; text-decoration: underline; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-contact li i { color: #ffffff; margin-top: 3px; font-size: .9rem; flex-shrink: 0; }
.social-links { display: flex; gap: 10px; margin-top: 6px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-2px); }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--primary); }

/* ===========================
   SCROLL TO TOP
   =========================== */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0; pointer-events: none;
  z-index: 999;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===========================
   MOBILE STICKY BAR
   =========================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: var(--dark);
  padding: 10px 12px;
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.mobile-sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: .2s;
}
.mobile-sticky-call     { background: var(--primary); color: #fff; }
.mobile-sticky-callback { background: var(--primary-dark); color: #fff; }
.mobile-sticky-book     { background: var(--dark); color: #fff; }
@media (max-width: 768px) {
  .mobile-sticky-bar { display: flex; }
  .scroll-top { bottom: 80px; }
  body { padding-bottom: 68px; }
}

/* ===========================
   MOBILE NAV DRAWER
   =========================== */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0,0,0,.12);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 90px 24px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 12px 16px; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 12px; }
  .hamburger { display: flex; z-index: 1001; }
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 998;
  }
  .nav-overlay.open { display: block; }
}

/* ===========================
   RESPONSIVE LAYOUT UTILITIES
   =========================== */
.resp-sidebar  { display:grid; grid-template-columns:1fr 360px; gap:60px; align-items:flex-start; }
.resp-2col     { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.resp-2col-top { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:flex-start; }
.resp-3col     { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.resp-benefits { display:grid; grid-template-columns:1fr 1fr; gap:12px 24px; list-style:none; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { position: static; margin-top: 20px; display: inline-block; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 480px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .appointment-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .new-patient-steps { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .resp-sidebar  { grid-template-columns: 1fr; gap: 0; }
  .resp-sidebar > *:last-child { order: -1; position:static !important; top:auto !important; margin-bottom:24px; }
  .resp-2col, .resp-2col-top { grid-template-columns: 1fr; gap: 32px; }
  .resp-3col     { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .resp-benefits { grid-template-columns: 1fr; }
  .dr-photo-wrap { height: 320px !important; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 1.7rem; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section h2 { font-size: 1.7rem; }
  .resp-3col { grid-template-columns: 1fr; }
}

/* Category quick-nav */
.svc-cat-nav {
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 99;
  box-shadow: 0 2px 12px rgba(0,161,163,.08);
}
.svc-cat-nav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.svc-cat-nav-inner::-webkit-scrollbar { display: none; }
.svc-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  background: var(--light-bg);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .2s;
  flex-shrink: 0;
}
.svc-cat-pill:hover,
.svc-cat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.svc-cat-pill span { font-size: .9rem; }

@media (max-width: 600px) {
  .svc-cat-nav { top: 64px; }
}
