/* ============================================================
   PAL DENTAL CLINIC — style.css
   Brand: Urbanist (body), Lexend (buttons)
   Primary: #c1a66f | Dark: #7c6430 | BG: #f9f4e8
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --primary: #c1a66f;
  --primary-dark: #7c6430;
  --primary-light: #e8d9bc;
  --bg: #f9f4e8;
  --bg-alt: #f2ead8;
  --bg-dark: #1a1410;
  --text: #2c2416;
  --text-muted: #7a6a4f;
  --white: #ffffff;
  --border: rgba(193,166,111,0.25);
  --shadow-sm: 0 2px 12px rgba(124,100,48,0.10);
  --shadow-md: 0 6px 28px rgba(124,100,48,0.14);
  --shadow-lg: 0 16px 56px rgba(124,100,48,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --font-body: 'Urbanist', sans-serif;
  --font-btn: 'Lexend', sans-serif;
  --nav-h: 100px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
ul { list-style: none; }

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

/* ── Section ── */
.section {
  padding: 96px 0;
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-top: 12px; }
.section-header p { margin-top: 14px; color: var(--text-muted); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(193,166,111,0.12);
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(193,166,111,0.3);
}

.section-cta { text-align: center; margin-top: 52px; }

/* ── Headings ── */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-btn);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 8px;
  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);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,100,48,0.28);
}

.nav-cta:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }
.btn-sm { padding: 9px 20px; font-size: 0.83rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #7c6430;;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}
.logo-img {
  width: 80px;
  height: 80px;
}
.logo-circle {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  flex-shrink: 0;
}
.logo-circle.small { width: 26px; height: 26px; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}
.logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary); }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 80px;
  background: linear-gradient(160deg, var(--bg) 60%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,166,111,0.12), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
}

/* Form Card */
.hero-form-wrap { position: relative; }
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text);
  text-align: center;
}
.form-group { margin-bottom: 16px; position: relative; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(193,166,111,0.18);
}
.form-group input.invalid { border-color: #e05252; }
.error-msg {
  display: none;
  font-size: 0.78rem;
  color: #e05252;
  margin-top: 5px;
}
.error-msg.show { display: block; }

/* Hero Content */
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(193,166,111,0.15);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(193,166,111,0.4);
  margin-bottom: 20px;
}
.hero-heading {
  color: var(--text);
  margin-bottom: 20px;
}
.hero-heading em {
  font-style: normal;
  color: var(--primary-dark);
  position: relative;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; gap: 3px; }
.trust-item strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.trust-item span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  flex-shrink: 0;
}
.service-img-wrap img {
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body h3 { margin-bottom: 12px; }
.service-body p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 20px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--bg); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-content > * + * { margin-top: 16px; }
.about-content .section-tag { margin-bottom: 0; }
.about-content h2 { margin-top: 12px; }
.about-content p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.78; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px !important;
  margin-bottom: 8px !important;
}
.stat-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.stat-item span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; line-height: 1.3; }

.about-images { display: flex; flex-direction: column; gap: 16px; }
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.about-img-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-img-sub div,
.about-img-sub > * {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item img { transition: transform 0.5s ease; height: 100%; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item.g-wide { grid-column: span 2; }

.lightbox {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.92); align-items: center;
  justify-content: center; opacity: 0; transition: opacity 0.25s ease;
}
.lightbox.active     { display: flex; }
.lightbox.fade-in-ready { opacity: 1; }

.lightbox__inner {
  position: relative; max-width: 90vw; max-height: 90vh;
  border-radius: 10px; overflow: hidden;
  transform: scale(0.94); transition: transform 0.25s ease;
}
.lightbox.fade-in-ready .lightbox__inner { transform: scale(1); }

.lightbox__img {
  display: block; max-width: 90vw; max-height: 90vh;
  width: auto; height: auto; border-radius: 10px; object-fit: contain;
}

/* --- Close button --- */
.lightbox__close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.65);
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; outline: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.7);
  transform: scale(1.1);
}
.lightbox__close:active { transform: scale(0.95); }
.lightbox__close svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 600px) {
  .lightbox__close { width: 44px; height: 44px; top: 10px; right: 10px; }
  .lightbox__close svg { width: 20px; height: 20px; }
}

/* ============================================================
   TEAM
   ============================================================ */
.team-section { background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.team-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-alt);
}
.team-img-wrap img { transition: transform 0.5s ease; }
.team-card:hover .team-img-wrap img { transform: scale(1.04); }
.team-info { padding: 20px 16px 22px; }
.team-info h3 { font-size: 1rem; margin-bottom: 6px; }
.team-role { font-size: 0.8rem; color: var(--primary-dark); font-weight: 500; line-height: 1.4; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 10px; font-size: 0.95rem; }
.contact-actions { display: flex; gap: 14px; margin-top: 24px; margin-bottom: 32px; }
.opening-hours { margin-top: 24px; }
.opening-hours h4 { margin-bottom: 14px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hours-row:last-child { border-bottom: none; }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { background: var(--bg-alt); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.why-content { }
.why-content > * + * { margin-top: 16px; }
.why-content h2 { margin-top: 12px; }
.why-content > p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.78; }
.why-features { display: flex; flex-direction: column; gap: 20px; margin-top: 28px !important; margin-bottom: 12px !important; }
.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-feature strong { display: block; margin-bottom: 4px; }
.why-feature p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--white); }
.testimonials-slider { position: relative; overflow: hidden; }
.slider-track {
  display: grid;
  grid-template-columns: repeat(4, calc(50% - 14px));
  gap: 28px;
  transition: transform 0.48s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.stars { color: var(--primary); font-size: 1rem; letter-spacing: 2px; }
.testimonial-card > p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--primary); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.slider-btn {
  width: 44px; height: 44px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text);
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.slider-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  padding: 0;
}
.dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--bg); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.faq-col { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary-dark); }
.faq-question[aria-expanded="true"] { color: var(--primary-dark); }
.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 300px; }
.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   ALSO SEARCH
   ============================================================ */
.also-search-section { background: var(--white); padding: 72px 0; }
.also-search-section .section-header { margin-bottom: 40px; }
.also-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.search-tag {
  display: inline-block;
  padding: 9px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.search-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: var(--white); margin-top: 12px; display: block; font-size: 1.2rem; }
.footer-brand .logo-text span { color: var(--primary); }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  text-transform: uppercase;
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 0.95rem; }
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   FLOATING CTA
   ============================================================ */

.floating-stack {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: background 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease, opacity 0.2s ease 0s;
}

.floating-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.floating-btn--whatsapp { background: #25D366; }
.floating-btn--call { background: #7a5c1e; }

.floating-btn svg { width: 24px; height: 24px; fill: #fff; }

.floating-btn .btn-label {
  display: none;
  position: absolute;
  right: 68px;
  background: rgba(0,0,0,0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
}

.floating-btn:hover .btn-label { display: block; }

@media (max-width: 600px) {
  .floating-stack { right: 16px; bottom: 20px; gap: 10px; }
  .floating-btn   { width: 50px; height: 50px; }
  .floating-btn .btn-label { display: none !important; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — TABLET (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .section { padding: 72px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    width: 100%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-form-wrap { order: 2; }
  .hero-content { order: 1; }
  .hero-form-card { max-width: 480px; margin: 0 auto; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-inner .about-images { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item.g-tall { grid-row: span 1; }
  .gallery-item.g-wide { grid-column: span 2; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-map { height: 320px; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .slider-track { grid-template-columns: repeat(4, calc(80% - 14px)); }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-col:last-child .faq-item:first-child { border-top: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px; }
  .hero-actions { flex-direction: column; }
  .hero-trust { gap: 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery-item.g-tall { grid-row: span 1; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-info h3 { font-size: 0.88rem; }
  .contact-actions { flex-direction: column; }
  .slider-track { grid-template-columns: repeat(4, calc(90% - 10px)); }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 6px; }
  .floating-cta { bottom: 20px; right: 20px; }
  .section-header { margin-bottom: 44px; }
    .nav-links a {color: var(--text);}
}

/* ============================================================
   HERO BANNER IMAGE ADDITIONS
   ============================================================ */

/* Hero now uses a background image layer */
.hero {
  position: relative;
}

/* Background image wrapper — sits behind everything */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Warm beige-tinted desaturate to blend with brand palette */
  filter: saturate(0.7) brightness(0.82);
  display: block;
}
/* Gradient overlay — preserves readability & brand warmth */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    18deg,
    rgba(249,244,232,0.0) 0%,
    rgba(249,244,232,0.08) 0%,
    rgba(249,244,232,0.65) 0%,
    rgba(249,244,232,0.97) 100%
  );
}

/* Ensure hero content sits above background */
.hero .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   IMAGE FALLBACK — shown while images/ folder is empty
   Gives every image placeholder a branded beige background
   so layout never breaks before real images are added.
   ============================================================ */

/* Specific placeholder sizes so sections keep their shape */
.hero-bg-img {
  background: linear-gradient(135deg, #e8d9bc 0%, #c1a66f22 100%);
}
.service-img-wrap img,
.about-img-main img,
.about-img-sub img,
.gallery-item img,
.team-img-wrap img,
.why-image img {
  background: var(--bg-alt);
  min-height: 100%;
}

/* ============================================================
   IMAGE PATH REFERENCE GUIDE (replace src= in HTML)
   ============================================================
   images/banner.jpg         → Hero background (1920×900 dental clinic / smile)
   images/service-xray.jpg   → Dental X-Ray (500×320)
   images/service-scanning.jpg → Intraoral scan (500×320)
   images/service-laser.jpg  → Laser treatment (500×320)
   images/service-rootcanal.jpg → Root canal (500×320)
   images/service-whitening.jpg → Teeth whitening (500×320)
   images/service-implants.jpg  → Dental implants (500×320)
   images/about-clinic.jpg   → Clinic interior (600×450)
   images/about-equipment.jpg → Equipment close-up (300×200)
   images/about-care.jpg     → Patient/care (300×200)
   images/gallery-1.jpg      → Gallery reception (600×440)
   images/gallery-2.jpg      → Gallery treatment room (400×220)
   images/gallery-3.jpg      → Gallery X-ray machine (400×220)
   images/gallery-4.jpg      → Gallery dental chair (600×220)
   images/gallery-5.jpg      → Gallery sterilisation (400×220)
   images/doctor-1.jpg       → Dr. Fathima Sherin (400×533)
   images/doctor-2.jpg       → Dr. Anil Ashraof (400×533)
   images/doctor-3.jpg       → Dr. Ruqaul Lakshmam (400×533)
   images/doctor-4.jpg       → Dr. Vaneida Sathyawathi (400×533)
   images/why-choose-us.jpg  → Why choose us (600×750)
   ============================================================ */

    /* ── Service Detail Page Specific Styles ── */

    /* Breadcrumb */
    .breadcrumb-bar {
      padding-top: calc(var(--nav-h) + 20px);
      padding-bottom: 0;
      background: var(--bg);
    }
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      color: var(--text-muted);
      flex-wrap: wrap;
    }
    .breadcrumb a {
      color: var(--primary-dark);
      font-weight: 500;
      transition: color var(--transition);
    }
    .breadcrumb a:hover { color: var(--primary); }
    .breadcrumb-sep { color: var(--primary); font-size: 0.75rem; }

    /* Service Hero */
    .service-hero {
      padding: 40px 0 80px;
      background: linear-gradient(160deg, var(--bg) 60%, var(--bg-alt) 100%);
      position: relative;
      overflow: hidden;
    }
    .service-hero::before {
      content: '';
      position: absolute;
      top: -100px; right: -100px;
      width: 500px; height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(193,166,111,0.10), transparent 70%);
      pointer-events: none;
    }
    .service-hero-inner {
      display: grid;
      grid-template-columns: 1fr 400px;
      gap: 64px;
      align-items: center;
    }
    .service-hero-content {}
    .service-hero-content .hero-badge { margin-bottom: 16px; }
    .service-hero-content h1 {
      margin-bottom: 20px;
      color: var(--text);
    }
    .service-hero-content h1 em {
      font-style: normal;
      color: var(--primary-dark);
    }
    .service-hero-content .hero-sub {
      font-size: 1.08rem;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 32px;
      max-width: 560px;
    }
    .service-hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .service-trust {
      display: flex;
      align-items: center;
      gap: 28px;
      margin-top: 36px;
      flex-wrap: wrap;
    }
    .service-trust .trust-item {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .service-trust .trust-item strong {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--primary-dark);
      line-height: 1;
    }
    .service-trust .trust-item span {
      font-size: 0.78rem;
      color: var(--text-muted);
      font-weight: 500;
    }
    .service-trust .trust-divider {
      width: 1px;
      height: 32px;
      background: var(--border);
    }

    /* Appointment form card (reused from hero) */
    .service-form-wrap { position: relative; }

    /* What is RCT Section */
    .what-is-section { background: var(--white); }
    .what-is-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
      align-items: center;
    }
    .what-is-content .section-tag { margin-bottom: 16px; }
    .what-is-content h2 { margin-bottom: 20px; }
    .what-is-content p {
      color: var(--text-muted);
      font-size: 1rem;
      line-height: 1.8;
      margin-bottom: 16px;
    }
    .rct-steps {
      margin-top: 28px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .rct-step {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px 16px;
      background: var(--bg);
      border-radius: var(--radius);
      border: 1px solid var(--border);
    }
    .rct-step-num {
      flex-shrink: 0;
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--primary);
      color: var(--white);
      font-size: 0.78rem;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
    }
    .rct-step p {
      margin: 0;
      font-size: 0.92rem;
      color: var(--text);
      line-height: 1.5;
    }
    .what-is-visual {
      position: relative;
    }
    .what-is-img-wrap {
      border-radius: var(--radius-lg);
      overflow: hidden;
      aspect-ratio: 4/5;
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border);
    }
    .what-is-img-wrap img {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .visual-badge {
      position: absolute;
      bottom: -20px;
      left: -20px;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px 20px;
      box-shadow: var(--shadow-md);
      text-align: center;
    }
    .visual-badge strong {
      display: block;
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--primary-dark);
      line-height: 1;
    }
    .visual-badge span {
      font-size: 0.78rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* Signs Section */
    .signs-section { background: var(--bg); }
    .signs-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .sign-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px 24px;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .sign-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .sign-icon {
      width: 48px; height: 48px;
      background: rgba(193,166,111,0.12);
      border: 1px solid rgba(193,166,111,0.25);
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 16px;
    }
    .sign-card h3 {
      font-size: 1rem;
      margin-bottom: 8px;
    }
    .sign-card p {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* Procedure Section */
    .procedure-section { background: var(--white); }
    .procedure-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
      align-items: start;
    }
    .procedure-steps {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .procedure-step {
      display: flex;
      gap: 20px;
      padding: 28px 0;
      border-bottom: 1px solid var(--border);
    }
    .procedure-step:first-child { border-top: 1px solid var(--border); }
    .step-number {
      flex-shrink: 0;
      width: 44px; height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: var(--white);
      font-size: 0.95rem;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 12px rgba(124,100,48,0.25);
    }
    .step-content h3 {
      font-size: 1.05rem;
      margin-bottom: 6px;
      color: var(--text);
    }
    .step-content p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.7;
    }
    .procedure-visual {
      position: sticky;
      top: calc(var(--nav-h) + 24px);
    }
    .procedure-img-wrap {
      border-radius: var(--radius-lg);
      overflow: hidden;
      aspect-ratio: 3/4;
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border);
    }
    .procedure-img-wrap img {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .procedure-highlight {
      margin-top: 20px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px 24px;
    }
    .procedure-highlight p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.7;
      font-style: italic;
    }
    .procedure-highlight p strong {
      color: var(--primary-dark);
      font-style: normal;
    }

    /* Benefits Section */
    .benefits-section { background: var(--bg-dark); color: var(--white); }
    .benefits-section .section-header h2 { color: var(--white); }
    .benefits-section .section-header p { color: rgba(255,255,255,0.65); }
    .benefits-section .section-tag {
      color: var(--primary);
      background: rgba(193,166,111,0.12);
      border-color: rgba(193,166,111,0.25);
    }
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .benefit-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.09);
      border-radius: var(--radius);
      padding: 28px 24px;
      transition: background var(--transition), border-color var(--transition), transform var(--transition);
    }
    .benefit-card:hover {
      background: rgba(193,166,111,0.10);
      border-color: rgba(193,166,111,0.30);
      transform: translateY(-4px);
    }
    .benefit-icon {
      font-size: 1.8rem;
      margin-bottom: 14px;
    }
    .benefit-card h3 {
      font-size: 1rem;
      color: var(--white);
      margin-bottom: 8px;
    }
    .benefit-card p {
      font-size: 0.87rem;
      color: rgba(255,255,255,0.6);
      line-height: 1.65;
    }

    /* Why Choose Section */
    .why-rct-section { background: var(--bg); }
    .why-rct-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
      align-items: center;
    }
    .why-rct-content .section-tag { margin-bottom: 16px; }
    .why-rct-content h2 { margin-bottom: 16px; }
    .why-rct-content > p {
      color: var(--text-muted);
      margin-bottom: 32px;
      line-height: 1.75;
    }
    .why-rct-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .why-rct-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      padding: 20px;
      background: var(--white);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .why-rct-item:hover {
      transform: translateX(4px);
      box-shadow: var(--shadow-md);
    }
    .why-icon {
      flex-shrink: 0;
      width: 44px; height: 44px;
      background: rgba(193,166,111,0.12);
      border: 1px solid rgba(193,166,111,0.25);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
    }
    .why-rct-item h3 {
      font-size: 0.97rem;
      margin-bottom: 4px;
    }
    .why-rct-item p {
      font-size: 0.86rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .why-rct-visual {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .why-img-main {
      border-radius: var(--radius-lg);
      overflow: hidden;
      aspect-ratio: 16/10;
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border);
    }
    .why-img-main img {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .why-stats-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
    .why-stat {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px 16px;
      text-align: center;
      box-shadow: var(--shadow-sm);
    }
    .why-stat strong {
      display: block;
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--primary-dark);
    }
    .why-stat span {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* RCT FAQ Section */
    .rct-faq-section { background: var(--white); }

    /* CTA Banner */
    .cta-banner-section {
      background: linear-gradient(135deg, var(--primary-dark) 0%, #5a4620 100%);
      padding: 80px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-banner-section::before {
      content: '';
      position: absolute;
      top: -80px; left: 50%;
      transform: translateX(-50%);
      width: 600px; height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(193,166,111,0.15), transparent 70%);
      pointer-events: none;
    }
    .cta-banner-section h2 {
      color: var(--white);
      margin-bottom: 16px;
      font-size: clamp(1.6rem, 3vw, 2.4rem);
    }
    .cta-banner-section p {
      color: rgba(255,255,255,0.75);
      font-size: 1.05rem;
      margin-bottom: 36px;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
    }
    .cta-banner-actions {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn-white {
      background: var(--white);
      color: var(--primary-dark);
      border-color: var(--white);
    }
    .btn-white:hover {
      background: var(--bg);
      border-color: var(--bg);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    }
    .btn-outline-white {
      background: transparent;
      color: var(--white);
      border-color: rgba(255,255,255,0.5);
    }
    .btn-outline-white:hover {
      background: rgba(255,255,255,0.10);
      border-color: rgba(255,255,255,0.8);
      transform: translateY(-2px);
    }

    /* Responsive overrides */
    @media (max-width: 900px) {
      .service-hero-inner { grid-template-columns: 1fr; gap: 48px; }
      .service-form-wrap { order: 2; }
      .service-hero-content { order: 1; }
      .hero-form-card { max-width: 480px; margin: 0 auto; }

      .what-is-inner { grid-template-columns: 1fr; gap: 48px; }
      .what-is-visual { order: -1; }
      .what-is-img-wrap { aspect-ratio: 16/9; }
      .visual-badge { bottom: 12px; left: 12px; }

      .signs-grid { grid-template-columns: 1fr 1fr; }

      .procedure-inner { grid-template-columns: 1fr; gap: 48px; }
      .procedure-visual { position: static; }
      .procedure-img-wrap { aspect-ratio: 16/9; }

      .benefits-grid { grid-template-columns: 1fr 1fr; }

      .why-rct-inner { grid-template-columns: 1fr; gap: 48px; }
      .why-img-main { aspect-ratio: 16/9; }
    }

    @media (max-width: 600px) {
      .signs-grid { grid-template-columns: 1fr; }
      .benefits-grid { grid-template-columns: 1fr; }
      .service-hero-actions { flex-direction: column; }
      .why-stats-row { grid-template-columns: repeat(3, 1fr); }
      .cta-banner-actions { flex-direction: column; align-items: center; }
      .service-trust { gap: 16px; }
      .logo-img {width: 50px; height: 50px;
}
    }

 /* ============================================================
       SLIDER SHARED STYLES
       Only affects .services-slider and .team-slider wrappers.
       All card styles (.service-card, .team-card) are untouched.
    ============================================================ */

    /* ---- Slider wrapper ---- */
    .slider-wrapper {
      position: relative;
      overflow: hidden;
      /* Subtle fade edges on desktop for premium feel */

    }

    /* ---- Track (the scrollable row) ---- */
    .slider-track-cards {
      display: flex;
      gap: 28px;
      transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform;
      cursor: grab;
      user-select: none;
    }
    .slider-track-cards.is-dragging {
      cursor: grabbing;
      transition: none;
    }

    /* ---- Each slide cell ---- */
    .slider-slide {
      flex: 0 0 auto;
      /* width set via JS / responsive rules */
    }

#teamSliderWrapper .slider-slide {
  flex: 0 0 calc(25% - 15px); /* 4 cards per row */
  max-width: calc(25% - 15px);
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 992px) {
#teamSliderWrapper .slider-slide {
    flex: 0 0 calc(50% - 10px); /* 2 cards */
    max-width: calc(50% - 10px);
  }
}

/* Mobile */
@media (max-width: 576px) {
#teamSliderWrapper .slider-slide {
    flex: 0 0 100%; /* 1 card */
    max-width: 100%;
  }
}

    /* ---- Navigation bar (arrows + dots) ---- */
    .slider-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-top: 40px;
    }

    /* ---- Arrow buttons ---- */
    .slider-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 1.5px solid rgba(0,0,0,0.15);
      background: #fff;
      cursor: pointer;
      transition: background 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.18s;
      box-shadow: 0 2px 12px rgba(0,0,0,0.07);
      flex-shrink: 0;
    }
    .slider-arrow svg {
      display: block;
    }
    .slider-arrow:hover {
      background: #7C6430 !important;
      border-color: var(--primary-dark);
      box-shadow: 0 4px 20px rgba(26,127,191,0.22);
      transform: scale(1.07);
    }
    .slider-arrow:hover svg path {
      stroke: #fff;
    }
    .slider-arrow:disabled,
    .slider-arrow.is-disabled {
      opacity: 0.35;
      pointer-events: none;
    }

    /* ---- Pagination dots ---- */
    .slider-dots-nav {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .slider-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: rgba(0,0,0,0.18);
      border: none;
      cursor: pointer;
      padding: 0;
      transition: background 0.25s, transform 0.25s, width 0.25s;
    }
    .slider-dot.is-active {
      background: var(--primary-dark);
      transform: scale(1.25);
      width: 20px;
      border-radius: 4px;
    }

    /* ---- Responsive: ensure original card grid-like widths ---- */
    /* Desktop: 3 visible, Tablet: 2, Mobile: 1 */

    /* Remove the original static grids — replaced by slider */
    .services-grid,
    .team-grid {
      display: none !important;
    }

    /* Remove bottom margin from section-cta that was inside grid */
    .services-section .section-cta,
    .team-section .section-cta {
      margin-top: 40px;
    }

    /* ============================================================
       MOBILE / TABLET EDGE MASK ADJUSTMENT
    ============================================================ */
    @media (max-width: 768px) {
      .slider-wrapper {
        -webkit-mask-image: none;
        mask-image: none;
        overflow: hidden;
      }
      .slider-nav {
        margin-top: 28px;
        gap: 12px;
      }
      .slider-arrow {
        width: 40px;
        height: 40px;
      }
    }    



/* ── Appointment form: submit button loading/success states ── */
.appt-submit-btn { transition: background var(--transition, .25s), opacity var(--transition, .25s); }
.appt-submit-btn:disabled { cursor: not-allowed; }

/* ── Appointment form: status banner (shown via JS inline styles) ── */
.appt-form-status {
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ============================================================
   BLOG SYSTEM — PAL Dental Clinic
   blog/index.php + blog/[slug].php
   Uses same design tokens as the main site.
   ============================================================ */

/* ── Blog Hero ── */
.blog-hero {
  padding: calc(var(--nav-h) + 56px) 0 64px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2e220e 100%);
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/paldentalclinic-banner.jpg') center/cover no-repeat;
  opacity: 0.10;
}
.blog-hero-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.blog-hero-inner h1 { color: var(--white); }
.blog-hero-inner p {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  margin-top: 14px;
  line-height: 1.7;
}
.blog-hero-inner .section-tag { margin-bottom: 16px; }

/* ── Blog Grid Layout ── */
.blog-listing-section {
  padding: 80px 0 96px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Featured Blog Card (first card) ── */
.blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card--featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
  .blog-card--featured { grid-template-columns: 1fr; }
}
.blog-card--featured .blog-card-img {
  height: 100%;
  min-height: 320px;
}
.blog-card--featured .blog-card-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-card--featured .blog-card-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  margin: 12px 0 16px;
}
.blog-card--featured .blog-card-excerpt { font-size: 1rem; }

/* ── Standard Blog Card ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-card-img img,
.blog-card--featured:hover .blog-card-img img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.blog-card-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-card-date svg { color: var(--primary); }
.blog-card-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(193,166,111,0.12);
  border: 1px solid rgba(193,166,111,0.28);
  padding: 3px 10px;
  border-radius: 50px;
}
.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.blog-card:hover .blog-card-title,
.blog-card--featured:hover .blog-card-title { color: var(--primary-dark); }
.blog-card-excerpt {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.blog-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-family: var(--font-btn);
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}
.blog-card-read-more svg {
  transition: transform var(--transition);
}
.blog-card:hover .blog-card-read-more,
.blog-card--featured:hover .blog-card-read-more {
  gap: 10px;
  color: var(--primary);
}
.blog-card:hover .blog-card-read-more svg,
.blog-card--featured:hover .blog-card-read-more svg {
  transform: translateX(3px);
}

/* ── Blog Detail Page ── */
.blog-detail-hero {
  padding: calc(var(--nav-h) + 48px) 0 56px;
  background: linear-gradient(150deg, var(--bg-dark) 0%, #2a1c08 100%);
  position: relative;
  overflow: hidden;
}
.blog-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: url('../images/paldentalclinic-banner.jpg') center/cover no-repeat;
}
.blog-detail-hero-inner {
  position: relative;
  max-width: 820px;
}
.blog-detail-hero-inner .blog-card-meta { margin-bottom: 18px; }
.blog-detail-hero-inner h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 18px;
}
.blog-detail-hero-inner .hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Blog Content Layout ── */
.blog-content-section {
  padding: 72px 0 96px;
}
.blog-content-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1024px) {
  .blog-content-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Blog Featured Image ── */
.blog-featured-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  max-height: 480px;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Blog Article Typography ── */
.blog-article h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  margin: 40px 0 16px;
  color: var(--text);
  line-height: 1.3;
}
.blog-article h2:first-child { margin-top: 0; }
.blog-article h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--text);
}
.blog-article p {
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 18px;
  font-size: 1rem;
}
.blog-article ul, .blog-article ol {
  padding-left: 1.4rem;
  margin-bottom: 18px;
}
.blog-article li {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.blog-article ul { list-style: disc; }
.blog-article ol { list-style: decimal; }
.blog-article strong { color: var(--text); font-weight: 700; }
.blog-article em { font-style: italic; }

/* ── Blog Highlight Box ── */
.blog-highlight {
  background: rgba(193,166,111,0.09);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.blog-highlight p { margin: 0; color: var(--text); font-weight: 500; }

/* ── Blog Conditions Grid ── */
.blog-conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 600px) { .blog-conditions-grid { grid-template-columns: 1fr; } }
.blog-condition-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.blog-condition-card h4 {
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-condition-card h4 svg { color: var(--primary); flex-shrink: 0; }
.blog-condition-card ul { padding-left: 1rem; margin: 0; }
.blog-condition-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  list-style: disc;
}

/* ── Blog Benefits List ── */
.blog-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}
.blog-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.blog-benefit-icon {
  width: 36px;
  height: 36px;
  background: rgba(193,166,111,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-dark);
}
.blog-benefit-item h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.blog-benefit-item p { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ── Blog FAQ Section ── */
.blog-faq-section {
  padding: 72px 0;
  background: var(--bg-alt);
}
.blog-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin-top: 40px;
}
@media (max-width: 768px) { .blog-faq-grid { grid-template-columns: 1fr; } }

/* ── Blog CTA Banner ── */
.blog-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #5a4520 100%);
  text-align: center;
}
.blog-cta-section h2 { color: var(--white); margin-bottom: 14px; }
.blog-cta-section p { color: rgba(255,255,255,0.78); max-width: 600px; margin: 0 auto 32px; font-size: 1.05rem; line-height: 1.7; }
.blog-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--primary-dark); border-color: var(--white); }
.btn-white:hover { background: var(--bg); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ── Blog Sidebar ── */
.blog-sidebar {}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(193,166,111,0.2);
}
.sidebar-services-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-services-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.sidebar-services-list a:hover {
  background: rgba(193,166,111,0.08);
  color: var(--primary-dark);
}
.sidebar-services-list a svg { color: var(--primary); flex-shrink: 0; }

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary-dark), #5a4520);
  border: none;
  text-align: center;
}
.sidebar-cta h3 { color: var(--white); border-color: rgba(255,255,255,0.2); }
.sidebar-cta p { color: rgba(255,255,255,0.78); font-size: 0.9rem; line-height: 1.6; margin-bottom: 18px; }
.sidebar-cta .btn { width: 100%; }

.sidebar-recent-list { display: flex; flex-direction: column; gap: 16px; }
.sidebar-recent-item { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-recent-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.sidebar-recent-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent-text a {
  font-size: 0.855rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  display: block;
  margin-bottom: 4px;
  transition: color var(--transition);
}
.sidebar-recent-text a:hover { color: var(--primary-dark); }
.sidebar-recent-text span { font-size: 0.75rem; color: var(--text-muted); }

/* ── Blog Tags ── */
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.blog-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(193,166,111,0.1);
  border: 1px solid rgba(193,166,111,0.25);
  padding: 5px 12px;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
}
.blog-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ── Blog Breadcrumb ── */
.breadcrumb-bar {
  background: var(--bg-alt);
  padding: calc(var(--nav-h) + 10px) 0 12px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--primary-dark); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--text-muted); opacity: 0.55; }

/* ── Also Search Tags ── */
.also-search-section { padding: 56px 0; background: var(--bg-alt); }
.also-search-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; justify-content: center; }
.search-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--primary-dark);
  background: rgba(193,166,111,0.1);
  border: 1px solid rgba(193,166,111,0.3);
  transition: all var(--transition);
}
.search-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

