/* ============================================================
   DENTAL CLINIC WEBSITE — MAIN STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── Design Tokens ── */
:root {
  --primary:        #0D5EA6;
  --primary-dark:   #0A4A84;
  --primary-light:  #1E88E5;
  --primary-pale:   #EBF4FF;
  --accent:         #00B4D8;
  --accent-dark:    #0096B4;
  --accent-pale:    #E0F7FA;
  --text-dark:      #1A202C;
  --text-body:      #4A5568;
  --text-muted:     #718096;
  --bg:             #FFFFFF;
  --bg-light:       #F7FAFF;
  --bg-grey:        #F1F5F9;
  --border:         #E2E8F0;
  --border-strong:  #CBD5E0;
  --success:        #38A169;
  --warning:        #D69E2E;
  --error:          #E53E3E;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow:         0 4px 12px rgba(0,0,0,0.08);
  --shadow-md:      0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.14);
  --radius-sm:      6px;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-full:    9999px;
  --transition:     0.25s ease;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:     'Playfair Display', Georgia, serif;
  --nav-height:     72px;
  --emergency-height: 40px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { line-height: 1.75; }

.text-primary  { color: var(--primary); }
.text-accent   { color: var(--accent); }
.text-muted    { color: var(--text-muted); }
.text-dark     { color: var(--text-dark); }
.text-center   { text-align: center; }
.font-serif    { font-family: var(--font-serif); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }
.section-bg     { background: var(--bg-light); }
.section-grey   { background: var(--bg-grey); }
.section-primary { background: var(--primary); color: #fff; }
.section-dark   { background: var(--text-dark); color: #fff; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

/* ── Grid ── */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,94,166,0.35);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,180,216,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--primary-pale);
  transform: translateY(-1px);
}
.btn-sm  { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg  { padding: 16px 40px; font-size: 1.05rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* ── Cards ── */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-pale);
}
.card-body { padding: 28px; }
.card-img { width: 100%; height: 200px; object-fit: cover; }

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-pale); color: var(--primary); }
.badge-accent  { background: var(--accent-pale);  color: var(--accent-dark); }
.badge-success { background: #F0FFF4; color: var(--success); }

/* ── Emergency Bar ── */
.emergency-bar {
  background: linear-gradient(135deg, #C62828, #D32F2F);
  color: #fff;
  text-align: center;
  padding: 0 24px;
  height: var(--emergency-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}
.emergency-bar a {
  color: #FFD54F;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
}
.emergency-bar a:hover { text-decoration: underline; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-logo { height: 34px; width: auto; flex-shrink: 0; }
.nav-brand-text { color: var(--primary); white-space: nowrap; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 7px 10px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-pale);
}
.nav-links .btn { padding: 8px 16px; font-size: 0.84rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Page Header (inner pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.page-header .container { position: relative; }
.page-header h1 { color: #fff; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 540px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.5); }
/* handle agents that wrap breadcrumb in <ol> */
.breadcrumb ol,
.breadcrumb ul,
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.breadcrumb-list li { color: rgba(255,255,255,0.7); }

/* ── Hero Section ── */
.hero {
  min-height: calc(100vh - var(--nav-height) - var(--emergency-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 0;
}
.hero-content .section-tag { margin-bottom: 20px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 36px;
  left: -20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.hero-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.hero-badge strong { display: block; font-size: 1rem; color: var(--text-dark); }
.hero-badge span   { font-size: 0.8rem; color: var(--text-muted); }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
}
.stats-bar .grid-4 { gap: 0; }
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.8); }

/* ── Service Cards ── */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 28px;
  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(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  transform: scale(1.1);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.service-card ul { list-style: none; }
.service-card ul li {
  font-size: 0.875rem;
  color: var(--text-body);
  padding: 4px 0;
  display: flex;
  gap: 8px;
}
.service-card ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ── Team Cards ── */
.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}
.team-body { padding: 24px; }
.team-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-role { color: var(--accent-dark); font-size: 0.875rem; font-weight: 600; margin-bottom: 12px; }
.team-qual { font-size: 0.825rem; color: var(--text-muted); margin-bottom: 14px; }
.team-quote { font-style: italic; font-size: 0.875rem; color: var(--text-body); line-height: 1.6; }

/* ── Testimonials ── */
.testimonials { background: var(--primary-dark); color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.stars { color: #FFD700; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.75; color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-name  { font-weight: 600; font-size: 0.9rem; color: #fff; }
.author-label { font-size: 0.775rem; color: rgba(255,255,255,0.6); }

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 64px 0;
  text-align: center;
  color: #fff;
}
.cta-strip h2 { color: #fff; margin-bottom: 12px; }
.cta-strip p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-strip .flex-center { gap: 14px; flex-wrap: wrap; }

/* ── About / Split Sections ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split-image img { width: 100%; height: 460px; object-fit: cover; }
.split-badge {
  position: absolute;
  bottom: 28px;
  right: -16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.split-badge strong { display: block; font-size: 1.8rem; font-family: var(--font-serif); }
.split-badge span   { font-size: 0.8rem; opacity: 0.85; }
.split-content h2  { margin-bottom: 16px; }
.split-content p   { color: var(--text-body); margin-bottom: 20px; }
.check-list { list-style: none; }
.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  min-width: 22px;
  width: 22px;
  height: 22px;
  background: var(--accent-pale);
  color: var(--accent-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: Arial, sans-serif;
}

/* SVG checkmarks used by some pages instead of ::before */
.check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  color: var(--accent-dark);
  background: var(--accent-pale);
  border-radius: 50%;
  padding: 3px;
  margin-top: 2px;
}
/* hide ::before when an SVG is present to avoid double icons */
.check-list li:has(.check-icon)::before { display: none; }

/* ── Info Cards (Patient Info, FAQ) ── */
.info-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 24px;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 14px; color: var(--primary); }

/* ── FAQ Accordion ── */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition);
}
.faq-question:hover { background: var(--bg-light); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}
.faq-answer p { padding-bottom: 20px; color: var(--text-body); font-size: 0.95rem; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item.span-2 img { height: 360px; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,94,166,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: #fff;
  font-size: 2rem;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Blog Cards ── */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-img { width: 100%; height: 200px; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 12px; margin-bottom: 12px; align-items: center; }
.blog-cat { font-size: 0.75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
.blog-date { font-size: 0.78rem; color: var(--text-muted); }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body p  { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 16px; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ── Contact ── */
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-item strong { display: block; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-info-item a, .contact-info-item p { color: var(--text-dark); font-weight: 500; }
.contact-info-item a:hover { color: var(--primary); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-embed iframe { width: 100%; height: 380px; border: none; display: block; }

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  color: var(--text-body);
}
.social-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-label .req { color: var(--error); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-pale);
}
.form-control::placeholder { color: #A0AEC0; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.radio-group, .checkbox-group { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-item, .checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}
.radio-item input, .checkbox-item input { accent-color: var(--primary); width: 16px; height: 16px; }

.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }

/* ── Payment Methods ── */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.payment-method {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.payment-method .pm-icon { font-size: 1.5rem; }

/* ── Hours Table ── */
.hours-table { width: 100%; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; color: var(--text-dark); }
.hours-time { color: var(--text-body); }
.hours-closed { color: var(--error); }
.hours-emergency { color: var(--warning); font-weight: 600; }

/* ── Insurance / Affiliations ── */
.partner-logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.partner-logo {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Floating Buttons ── */
.float-btn-group {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-wa {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all var(--transition);
  text-decoration: none;
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.float-call {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(13,94,166,0.5);
  transition: all var(--transition);
  text-decoration: none;
}
.float-call:hover { transform: scale(1.1); background: var(--primary-dark); }
.float-label {
  position: absolute;
  right: 68px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.float-btn-group a:hover .float-label { opacity: 1; }

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: rgba(255,255,255,0.9);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  flex-wrap: wrap;
  font-size: 0.875rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}
.cookie-accept:hover { background: var(--primary-light); }
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ── Footer ── */
.footer {
  background: #0D1B2A;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand { margin-bottom: 16px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-img { height: 36px; filter: brightness(0) invert(1) opacity(0.9); }
.footer-logo-text { font-family: var(--font-serif); font-size: 1.2rem; color: #fff; font-weight: 700; }
.footer p { font-size: 0.875rem; line-height: 1.75; margin-bottom: 20px; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.875rem; }
.footer-contact-item a { color: rgba(255,255,255,0.85); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Awards / Certifications ── */
.cert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.cert-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cert-icon { font-size: 2.5rem; flex-shrink: 0; }
.cert-item h4 { font-size: 0.95rem; margin-bottom: 2px; }
.cert-item p  { font-size: 0.8rem; color: var(--text-muted); }

/* ── Process Steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step:last-child::before { display: none; }
.step-content h4 { margin-bottom: 6px; }
.step-content p  { font-size: 0.9rem; color: var(--text-muted); }

/* ── Alert / Notice ── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.alert-info { background: var(--primary-pale); color: var(--primary-dark); border: 1px solid var(--primary); }
.alert-success { background: #F0FFF4; color: #276749; border: 1px solid var(--success); }
.alert-warning { background: #FFFFF0; color: #744210; border: 1px solid var(--warning); }

/* ── Utilities ── */
.mt-8  { margin-top: 8px;  }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px;  }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.w-full { width: 100%; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.float-call::before {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-ring 2s ease-out infinite;
}
.float-call { position: relative; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px 0 40px; text-align: center; }
  .hero-content p { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { height: 400px; }
  .hero-badge { left: 20px; }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav-links {
    position: fixed;
    top: calc(var(--emergency-height) + var(--nav-height));
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--transition);
    gap: 4px;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-links .btn { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.span-2 { grid-column: span 1; }
  .gallery-item.span-2 img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-bar .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(2n) { border-right: none; }
  .float-btn-group { bottom: 20px; right: 20px; }
  .cookie-banner { flex-direction: column; gap: 14px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .page-header { padding: 52px 0 44px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .emergency-bar { font-size: 0.78rem; gap: 6px; }
}
