
/* Ultra-Smooth Scrolling & Performance Optimizations */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  content-visibility: auto;
}

svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

svg:not([width]):not([height]) {
  width: 1.25rem;
  height: 1.25rem;
}

.gmb-gallery-track,
.service-card,
.component-card,
.timeline-step-card,
.aftercare-card,
.why-choose-card {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}
/* Pepper Dent Dental Clinic - Service Detail Page Stylesheet */

:root {
  --color-primary: rgb(26, 123, 123);
  --color-primary-glow: rgb(34, 150, 150);
  --color-primary-dark: #0f172a;
  --color-accent: rgb(26, 123, 123);
  --color-accent-hover: rgb(20, 95, 95);
  --color-accent-light: #f0fdfa;
  --color-accent-border: #99f6e4;
  --color-bg-white: #ffffff;
  --color-bg-muted: #f8fafc;
  --color-text-dark: #0f172a;
  --color-text-body: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 24px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* Base Body & Container */
body {
  background-color: #ffffff;
  color: var(--color-text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1540px;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.section-padding {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Force Brand Teal Green on Header Navbar Buttons & Active Links */
.header .btn-primary,
.header .btn-desktop,
.btn-primary {
  background-color: rgb(26, 123, 123) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px -4px rgba(26, 123, 123, 0.25) !important;
}

.header .btn-primary:hover,
.header .btn-desktop:hover,
.btn-primary:hover {
  background-color: rgb(20, 95, 95) !important;
}

.nav-link {
  color: rgba(30, 41, 59, 0.85);
}

.nav-link.active {
  color: rgb(26, 123, 123) !important;
  font-weight: 700 !important;
}

.nav-link.active::after,
.nav-link:hover::after {
  background-color: rgb(26, 123, 123) !important;
  width: 100% !important;
}

.nav-link:hover {
  color: rgb(26, 123, 123) !important;
}

.footer-links a:hover {
  color: rgb(26, 123, 123) !important;
}

/* Headings & Eyebrows */
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(26, 123, 123) !important;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title-editorial {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0f172a !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-lead-p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 720px;
  line-height: 1.65;
  margin-top: 0.5rem;
}

/* Hero Section */
.service-hero-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.service-hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.8vw, 3.25rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  margin-bottom: 1.25rem !important;
}

.service-hero-p {
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
  color: var(--color-text-body) !important;
  max-width: 660px !important;
  margin-bottom: 2rem !important;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero svg {
  width: 18px;
  height: 18px;
}

.btn-primary-hero {
  background-color: rgb(26, 123, 123) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px -4px rgba(26, 123, 123, 0.3);
}

.btn-primary-hero:hover {
  background-color: rgb(20, 95, 95) !important;
  transform: translateY(-2px);
}

.btn-secondary-hero {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid var(--color-border);
}

.btn-secondary-hero:hover {
  background-color: var(--color-bg-muted);
  border-color: rgb(26, 123, 123);
  color: rgb(26, 123, 123);
}

.service-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.right-hero-media-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.right-hero-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.simple-hero-address-card {
  background-color: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.address-clinic-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-clinic-name svg,
.address-details svg,
.address-phone svg {
  width: 18px;
  height: 18px;
  color: rgb(26, 123, 123);
  flex-shrink: 0;
}

.address-details, .address-phone {
  font-size: 0.9rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 3-Column Component Cards Grid */
.component-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.component-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.component-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.1);
  border-color: #99f6e4;
}

.component-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f0fdfa;
  color: rgb(26, 123, 123);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.component-card-icon svg {
  width: 26px;
  height: 26px;
}

.component-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.component-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

/* 2-Column Editorial Grid (Candidacy vs Risks) */
.editorial-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .editorial-2col-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Icon Lists */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  color: #1e293b;
  line-height: 1.5;
}

.icon-list-item svg {
  width: 22px;
  height: 22px;
  color: rgb(26, 123, 123);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 5-Step Treatment Process Timeline Cards */
.process-timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.timeline-step-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-top: 4px solid rgb(26, 123, 123);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.timeline-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -6px rgba(26, 123, 123, 0.15);
}

.step-badge-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0fdfa;
  color: rgb(26, 123, 123);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid #99f6e4;
}

.step-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.6;
}

/* Benefits Grid 3-Col */
.benefits-grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.benefit-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}

.benefit-box:hover {
  border-color: #99f6e4;
  background: #f0fdfa;
  transform: translateY(-2px);
}

.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f0fdfa;
  color: rgb(26, 123, 123);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
}

.benefit-text {
  font-size: 0.975rem;
  font-weight: 600;
  color: #0f172a;
}

/* Structured Why Choose Feature Grid */
.why-choose-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.why-choose-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-4px);
  border-color: #99f6e4;
  box-shadow: 0 12px 30px -6px rgba(26, 123, 123, 0.12);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0fdfa;
  color: rgb(26, 123, 123);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.why-card-icon svg {
  width: 24px;
  height: 24px;
}

.why-choose-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.why-choose-card p {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.6;
}

/* Structured Aftercare Card Grid */
.aftercare-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.aftercare-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-top: 3px solid rgb(26, 123, 123);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.aftercare-card:hover {
  transform: translateY(-3px);
  border-color: #99f6e4;
  box-shadow: 0 10px 24px -6px rgba(26, 123, 123, 0.12);
}

.aftercare-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0fdfa;
  color: rgb(26, 123, 123);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.aftercare-card-icon svg {
  width: 22px;
  height: 22px;
}

.aftercare-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.aftercare-card p {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.6;
}

/* FAQ Accordion Styling */
.faq-accordion-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item-row {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}

.faq-icon-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: transform 0.3s ease;
}

.faq-icon-toggle svg {
  width: 16px;
  height: 16px;
}

.faq-answer-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer-body p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.faq-item-row.active .faq-answer-body {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-item-row.active .faq-icon-toggle {
  transform: rotate(180deg);
  background: #f0fdfa;
  color: rgb(26, 123, 123);
}


