/* ===== BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f9fafb;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.btn-primary:hover {
  background: #115e59;
  border-color: #115e59;
}

.btn-outline {
  border-color: #0f766e;
  color: #0f766e;
  background: transparent;
}

.btn-outline:hover {
  background: #ecfdf5;
}

.btn-ghost {
  background: transparent;
  border-color: #e5e7eb;
  color: #111827;
}

.btn-ghost:hover {
  background: #f3f4f6;
}

.btn-block {
  width: 100%;
}

.small-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* ===== HEADER / NAVBAR ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: #6b7280;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: #4b5563;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: #0f766e;
  transition: width 0.2s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ===== HERO ===== */
.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at top left, #ecfeff, #f9fafb 50%, #f1f5f9 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f766e;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge {
  background: #ffffff;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.08);
  min-width: 9rem;
}

.badge-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f766e;
}

.badge-label {
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-image {
  position: relative;
}

.hero-photo-placeholder {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecfdf5;
  font-weight: 500;
  box-shadow: 0 25px 50px rgba(15, 118, 110, 0.4);
}

.hero-highlight-card {
  position: absolute;
  bottom: -1.25rem;
  right: 1.25rem;
  background: #ffffff;
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
  max-width: 240px;
}

.highlight-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.highlight-text {
  font-size: 0.8rem;
  color: #4b5563;
  margin: 0 0 0.4rem;
}

.highlight-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f766e;
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: #0f172a;
  color: #e5e7eb;
  padding: 1.5rem 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* ===== GENERIC SECTIONS ===== */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f766e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: 1.8rem;
  margin: 0.3rem 0 0.75rem;
}

.section-subtitle {
  max-width: 34rem;
  margin: 0 auto;
  color: #6b7280;
  font-size: 0.95rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* ===== ABOUT ===== */
.about-container {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-text p {
  font-size: 0.95rem;
  color: #4b5563;
}

.about-list {
  padding-left: 1.1rem;
  margin-top: 1rem;
  color: #374151;
  font-size: 0.9rem;
}

.about-list li {
  margin-bottom: 0.4rem;
}

.about-highlight {
  display: grid;
  gap: 1rem;
}

.about-card {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.about-card ul {
  padding-left: 1.1rem;
  margin: 0;
}

.team-card p {
  margin: 0;
}

/* ===== APPOINTMENT SECTION ===== */
.appointment-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.appointment-text p {
  font-size: 0.95rem;
  color: #4b5563;
}

.contact-snippet p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.appointment-form {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: #4b5563;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.2);
  background-color: #ffffff;
}

.form-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-card {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.rating {
  color: #f97316;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.testimonial-text {
  margin: 0 0 0.8rem;
  color: #374151;
}

.testimonial-name {
  font-weight: 600;
  margin: 0;
}

.testimonial-location {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.centered {
  text-align: center;
}

/* ===== CONTACT STRIP ===== */
.contact-strip {
  background: #0f172a;
  color: #e5e7eb;
  padding: 2.5rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-block h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-block p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #d1d5db;
}

.link-inline {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #6ee7b7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.5rem 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.footer-brand p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
}

.footer-links h4 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #6ee7b7;
}

.footer-note p {
  margin: 0;
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    order: -1;
  }

  .stats-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .appointment-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    right: 0;
    top: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1rem;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero-badges {
    gap: 0.75rem;
  }

  .hero-highlight-card {
    position: static;
    margin-top: 1rem;
  }

  .stats-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Extra small tweaks */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .service-card,
  .testimonial-card,
  .appointment-form {
    padding: 1.1rem 1.2rem;
  }
}



/*new*/
/* ===== SUB HERO (COMMON FOR INNER PAGES) ===== */
.sub-hero {
  padding: 3.25rem 0 2.5rem;
  background: radial-gradient(circle at top left, #ecfeff, #f9fafb 55%, #e5e7eb 110%);
  border-bottom: 1px solid #e5e7eb;
}

.sub-hero-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.sub-hero h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  margin: 0.2rem 0 0.75rem;
}

.sub-hero-text {
  max-width: 34rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.breadcrumb a {
  color: #0f766e;
}

.breadcrumb span {
  color: #9ca3af;
}

/* ===== SERVICE PAGE LAYOUT ===== */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: flex-start;
}

.service-nav {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 5.5rem;
}

.service-nav-title {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.service-nav ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
}

.service-nav ul li {
  margin-bottom: 0.4rem;
}

.service-nav ul a {
  color: #374151;
}

.service-nav ul a:hover {
  color: #0f766e;
}

.service-nav-cta {
  padding-top: 0.75rem;
  border-top: 1px dashed #e5e7eb;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ===== SERVICE DETAIL CARDS ===== */
.service-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.service-detail-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.service-detail-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.service-detail-card > p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.service-detail-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.service-detail-grid ul {
  margin: 0;
  padding-left: 1.1rem;
}

.service-detail-grid li {
  margin-bottom: 0.35rem;
}

.note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
  background: #ecfdf5;
  border-radius: 0.75rem;
  padding: 0.6rem 0.7rem;
}

.service-final-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.service-final-cta h2 {
  margin-bottom: 0.5rem;
}

.service-final-cta p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #4b5563;
  font-size: 0.95rem;
}

/* ===== TEAM PAGE ===== */
.team-intro {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: #4b5563;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

.team-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.1fr);
  gap: 1.25rem;
  align-items: flex-start;
}

.team-card--compact {
  grid-template-columns: minmax(0, 1fr);
}

.team-photo-placeholder {
  border-radius: 1rem;
  min-height: 160px;
  background: linear-gradient(135deg, #0f766e, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecfdf5;
  font-size: 0.9rem;
  font-weight: 500;
}

.team-name {
  margin-top: 0;
  margin-bottom: 0.2rem;
  font-size: 1.3rem;
}

.team-title {
  margin: 0;
  font-size: 0.9rem;
  color: #0f766e;
  font-weight: 500;
}

.team-qualifications {
  margin: 0.5rem 0 0.7rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.team-bio {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: #374151;
}

.team-highlights {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.team-highlights li {
  margin-bottom: 0.3rem;
}

/* Team philosophy */
.team-philosophy {
  margin-top: 2.5rem;
}

.team-philosophy-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1.5rem;
  padding: 1.7rem 1.8rem;
  text-align: left;
}

.team-philosophy-card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.team-philosophy-card p {
  font-size: 0.95rem;
  margin: 0.3rem 0;
  color: #d1d5db;
}

.team-philosophy-card .btn {
  margin-top: 0.9rem;
}

/* ===== RESPONSIVE TWEAKS FOR NEW PAGES ===== */
@media (max-width: 960px) {
  .service-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-nav {
    position: static;
    order: -1;
  }

  .service-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .sub-hero-container {
    flex-direction: column;
  }

  .breadcrumb {
    align-self: flex-start;
  }
}


/* reviews styles */
/* ===== REVIEWS PAGE ===== */
.reviews-intro {
  margin-bottom: 2rem;
}

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.reviews-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f766e;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.reviews-score {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.reviews-score span {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  margin-left: 0.1rem;
}

.reviews-based-on {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.reviews-badge {
  font-size: 1.1rem;
  font-weight: 600;
  background: #0f172a;
  color: #fcd34d;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.reviews-badge span {
  font-size: 0.8rem;
  color: #e5e7eb;
}

.reviews-note {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* Grid of reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.review-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  background: #ecfdf5;
  color: #0f766e;
}

.review-name {
  margin: 0;
  font-weight: 600;
}

.review-location {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.review-rating {
  font-size: 0.9rem;
  color: #f97316;
}

.review-rating--4 {
  /* you can tone down color if you want 4-star to look a bit different */
  color: #fb923c;
}

.review-text {
  margin: 0.2rem 0 0;
  color: #374151;
  line-height: 1.5;
}

/* CTA under reviews */
.reviews-cta {
  margin-top: 2.5rem;
}

.reviews-cta-card {
  background: #ecfdf5;
  border-radius: 1.5rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid #bbf7d0;
  text-align: left;
}

.reviews-cta-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.reviews-cta-card p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #14532d;
}

/* Responsive for reviews */
@media (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .reviews-summary {
    align-items: flex-start;
  }

  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-image {
  height: 60px;
  width: 60px;
  object-fit: contain;
  border-radius: 8px; /* optional: soften corners */
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: #6b7280;
  text-transform: uppercase;
}

.team-photo-placeholder {
  overflow: hidden; /* keeps image nicely clipped to rounded corners */
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.link-inline-small {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #0f766e;
  text-decoration: underline;
}
/* ===== EMERGENCY PAGE / ACCORDION ===== */

.emergency-container {
  max-width: 880px;
  margin: 0 auto;
}

.emergency-accordion {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.emergency-accordion-item {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  overflow: hidden;
}

.emergency-accordion-header {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.emergency-title {
  flex: 1;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.emergency-toggle {
  font-weight: 700;
  font-size: 1.2rem;
  color: #4b5563;
}

/* Accordion body */
.emergency-accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
  font-size: 0.9rem;
  color: #374151;
}

.emergency-accordion-body ul {
  margin: 0.4rem 0 0.4rem 1.2rem;
  list-style: disc;
}

/* Open state */
.emergency-accordion-item.open .emergency-accordion-body {
  max-height: 260px; /* enough for your content */
  padding-bottom: 0.9rem;
}

.emergency-accordion-item.open .emergency-toggle {
  transform: rotate(45deg);
}

/* Icons */
.emergency-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* base colours */
.emergency-icon--alert {
  background: #fee2e2;
  color: #b91c1c;
  position: relative;
}
.emergency-icon--alert::before {
  content: "!";
}

.emergency-icon--swelling {
  background: #ffedd5;
  color: #c2410c;
}
.emergency-icon--swelling::before {
  content: "⬤";
  font-size: 0.7rem;
}

.emergency-icon--tooth {
  background: #e0f2fe;
  color: #0369a1;
}
.emergency-icon--tooth::before {
  content: "🦷";
}

.emergency-icon--fever {
  background: #fef3c7;
  color: #92400e;
}
.emergency-icon--fever::before {
  content: "🌡";
}

.emergency-icon--trauma {
  background: #fce7f3;
  color: #9d174d;
}
.emergency-icon--trauma::before {
  content: "✚";
}

.emergency-cta {
  margin-top: 2.5rem;
  padding: 1.8rem 1.6rem;
  border-radius: 1.25rem;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  text-align: center;
}

.emergency-cta h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.emergency-cta p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #14532d;
}

.emergency-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn-large {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

/* WhatsApp button flavour */
.btn-whatsapp {
  border-color: #22c55e;
  color: #15803d;
}

.btn-whatsapp:hover {
  background: #22c55e;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 640px) {
  .emergency-accordion-header {
    align-items: flex-start;
  }

  .emergency-title {
    font-size: 0.9rem;
  }
}

/* ===== EMERGENCY ALERT STRIP (GLOBAL) ===== */

.emergency-strip {
  background: #fef2f2;            /* soft red background */
  border-top: 1px solid #fecaca;
  border-bottom: 1px solid #fecaca;
}

.emergency-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  flex-wrap: wrap;
}

.emergency-strip-text h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #b91c1c;
}

.emergency-strip-text p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #7f1d1d;
}

.emergency-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.emergency-strip .small-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* WhatsApp button already has .btn-whatsapp, reuse from earlier.
   If not present, you can keep this: */
.btn-whatsapp {
  border-color: #22c55e;
  color: #15803d;
}

.btn-whatsapp:hover {
  background: #22c55e;
  color: #ffffff;
}

.link-inline-small {
  font-size: 0.8rem;
  color: #0f766e;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .emergency-strip-inner {
    align-items: flex-start;
  }

  .emergency-strip-actions {
    justify-content: flex-start;
  }
}
/* ===============================
   CLINICAL CASES – HOMEPAGE
================================ */

.clinical-cases-preview {
  background: #f7f9f8;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Case Card */
.case-card {
  background: #ffffff;
  border: 1px solid #e1e5e3;
  display: flex;
  flex-direction: column;
}

/* Images */
.case-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-right: 1px solid #e1e5e3;
}

.case-images img:last-child {
  border-right: none;
}

/* Content */
.case-content {
  padding: 1.25rem 1.25rem 1.5rem;
}

.case-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: #0b3d2e;
}

.case-content p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.case-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: #333;
}

.case-meta li {
  margin-bottom: 0.35rem;
}

/* CTA spacing */
.clinical-cases-preview .centered {
  margin-top: 2.5rem;
}

/* ===============================
   RESPONSIVENESS
================================ */

/* Tablets */
@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-images {
    grid-template-columns: 1fr;
  }

  .case-images img {
    height: 200px;
    border-right: none;
    border-bottom: 1px solid #e1e5e3;
  }

  .case-images img:last-child {
    border-bottom: none;
  }
}

/* ===============================
   CLINICAL CASES – DETAIL PAGE
================================ */

.case-card {
  background: #ffffff;
  border: 1px solid #e2e6e4;
  padding: 2rem;
}

/* Header */
.case-header {
  border-bottom: 1px solid #e2e6e4;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.case-header h2 {
  color: #0b3d2e;
  margin-bottom: 0.5rem;
}

.case-meta {
  font-size: 0.9rem;
  color: #555;
}

/* Sections */
.case-section {
  margin-bottom: 2.5rem;
}

.case-section h3 {
  margin-bottom: 1rem;
  color: #0b3d2e;
  font-size: 1.1rem;
}

/* ===============================
   IMAGE GRID (KEY FIX)
================================ */

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.case-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 1px solid #dfe4e1;
  background: #f5f7f6;
}

/* 2-image rows (auto-adjust) */
.case-gallery img:nth-child(1):nth-last-child(2),
.case-gallery img:nth-child(2):nth-last-child(1) {
  grid-column: span 1;
}

/* ===============================
   DISCLAIMER
================================ */

.case-disclaimer {
  background: #f7f9f8;
  padding: 1rem 1.2rem;
  border-left: 4px solid #0b3d2e;
  font-size: 0.85rem;
  color: #444;
}

/* ===============================
   RESPONSIVENESS
================================ */

/* Tablets */
@media (max-width: 1024px) {
  .case-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-gallery img {
    height: 240px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .case-card {
    padding: 1.25rem;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-gallery img {
    height: 220px;
  }

  .case-header h2 {
    font-size: 1.2rem;
  }
}
/* ===== ORAL HEALTH INSIGHTS ===== */
.oral-health-insights {
  background: #f7f9f8;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insight-card {
  background: #fff;
  border: 1px solid #e2e8e4;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.insight-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.insight-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.insight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.insight-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2f7d5a;
  font-weight: 600;
}

.coming-soon {
  font-size: 0.75rem;
  color: #888;
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insight-card {
    min-height: auto;
  }
}
