/* ══════════════════════════════════════
   Section Styles
══════════════════════════════════════ */

/* ── Hero ── */
#home {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: hsl(24, 30%, 98%);
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(224,90,0,.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(240,122,16,.05) 0%, transparent 60%);
}

.hero-dots {
  position: absolute; inset: 0; opacity: .4;
  background-image: radial-gradient(circle, rgba(224,90,0,.12) 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative; z-index: 1;
  padding: 3rem 0 5rem;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding: 6rem 0; }
}

.hero-badge {
  display: inline-flex;
  align-items: center; gap: .5rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: rgba(224,90,0,.1);
  color: var(--primary-hex);
  font-size: .875rem; font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge svg { width: 1rem; height: 1rem; fill: var(--primary-hex); }

h1.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
h1.hero-title span { color: var(--primary-hex); }
.hero-sub { font-size: 1.1rem; color: var(--muted-foreground); margin-bottom: 2rem; line-height: 1.7; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-img-wrap { position: relative; display: none; }
@media (min-width: 1024px) { .hero-img-wrap { display: block; } }

.hero-img-glow {
  position: absolute; inset: -1rem;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, rgba(224,90,0,.15), rgba(240,122,16,.12));
  transform: rotate(3deg) scale(1.05); z-index: -1;
}

.hero-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 2.5rem;
  border: 8px solid white;
  box-shadow: 0 25px 60px rgba(0,0,0,.15);
}

.hero-badge-float {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: white; padding: 1rem; border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid var(--border);
}
.hero-badge-float .icon-wrap {
  width: 3rem; height: 3rem;
  background: rgba(224,90,0,.12);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
}
.hero-badge-float .icon-wrap svg { width: 1.5rem; height: 1.5rem; color: var(--primary-hex); }
.hero-badge-float p     { font-size: .875rem; font-weight: 700; }
.hero-badge-float small { font-size: .75rem; color: var(--muted-foreground); }

/* ── Services ── */
#services { padding: 6rem 0; background: hsl(24, 20%, 98%); }

.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0;
  position: relative; overflow: hidden;
  transition: all .3s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  border-color: rgba(224,90,0,.3);
  box-shadow: 0 8px 24px rgba(224,90,0,.1);
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; right: 0;
  width: 6rem; height: 6rem;
  background: rgba(224,90,0,.04);
  border-radius: 0 0 0 100%; z-index: 0;
  transition: transform .5s;
}
.service-card:hover::before { transform: scale(1.5); }

/* Service card image */
.service-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  flex-shrink: 0;
  position: relative;
}
.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
  display: block;
}
.service-card:hover .service-card-img { transform: scale(1.07); }

/* Card body (icon + text) */
.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 3rem; height: 3rem; border-radius: .75rem;
  background: rgba(224,90,0,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-hex);
  position: relative; z-index: 1;
  transition: all .3s;
}
.service-card:hover .service-icon { background: var(--primary); color: white; }
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-title { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; position: relative; z-index: 1; transition: color .3s; }
.service-card:hover .service-title { color: var(--primary-hex); }
.service-desc { font-size: .8125rem; color: var(--muted-foreground); line-height: 1.6; position: relative; z-index: 1; }

/* ── Meet the Doctors ── */
#doctors { padding: 6rem 0; background: white; }

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px)  { .doctors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .doctors-grid { grid-template-columns: repeat(3, 1fr); } }

.doctor-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: white;
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
}
.doctor-card:hover {
  box-shadow: 0 12px 36px rgba(224,90,0,.13);
  transform: translateY(-4px);
}

.doctor-img-wrap {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.doctor-card-img {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.doctor-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doctor-exp {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary-hex);
  background: rgba(224,90,0,.1);
  padding: .2rem .65rem;
  border-radius: 9999px;
  margin-bottom: .75rem;
  letter-spacing: .03em;
  width: fit-content;
}

.doctor-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .2rem;
  color: var(--foreground);
}

.doctor-degree {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: .4rem;
}

.doctor-title-badge {
  font-size: .825rem;
  font-weight: 600;
  color: var(--primary-hex);
  margin-bottom: .85rem;
}

.doctor-bio {
  font-size: .875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.doctor-tag {
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary-hex);
  background: rgba(224,90,0,.08);
  border: 1px solid rgba(224,90,0,.2);
  padding: .25rem .65rem;
  border-radius: 9999px;
  transition: background .2s;
}
.doctor-card:hover .doctor-tag { background: rgba(224,90,0,.14); }

/* ── Gallery ── */
#gallery {
  padding: 6rem 0;
  background: hsl(220, 40%, 8%);
  color: white;
}

.gallery-header {
  display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .gallery-header { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.gallery-header h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
.gallery-header p  { color: hsl(24, 15%, 58%); font-size: 1.1rem; }

.gallery-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
  position: relative; overflow: hidden;
  border-radius: .75rem; aspect-ratio: 4/3;
  cursor: pointer;
  background: hsl(220, 30%, 10%);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.18);
  transition: background .3s; z-index: 1;
}
.gallery-item:hover .gallery-overlay { background: transparent; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  opacity: 0; transition: opacity .3s; z-index: 2;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption p { color: white; font-size: .8125rem; font-weight: 500; }

/* Gallery Modal */
.gallery-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.95); z-index: 200;
  flex-direction: column; align-items: center; justify-content: center;
}
.gallery-modal.open { display: flex; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: white; cursor: pointer;
  padding: .5rem; display: flex; align-items: center; justify-content: center;
}
.modal-counter {
  position: absolute; top: 1.25rem; right: 4.5rem;
  background: rgba(0,0,0,.5); color: rgba(255,255,255,.85);
  font-size: .8125rem; font-weight: 500;
  padding: .25rem .75rem; border-radius: 9999px;
  backdrop-filter: blur(8px);
}
.modal-img-wrap {
  position: relative; width: 100%; flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 5rem; min-height: 0;
}
.modal-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: .5rem; }
.modal-desc { text-align: center; padding: 1.5rem 2rem 2rem; color: rgba(255,255,255,.9); font-size: 1.0625rem; font-weight: 500; }
.modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: white; cursor: pointer;
  padding: .5rem; display: none; align-items: center; justify-content: center;
  transition: background .2s; border-radius: 9999px;
}
@media (min-width: 768px) { .modal-nav { display: flex; } }
.modal-nav:hover { background: rgba(255,255,255,.15); }
.modal-nav.prev { left: 1rem; }
.modal-nav.next { right: 1rem; }
.modal-mobile-nav { display: flex; justify-content: center; gap: 2rem; padding-bottom: 1.5rem; }
@media (min-width: 768px) { .modal-mobile-nav { display: none; } }
.modal-mobile-btn {
  width: 3rem; height: 3rem;
  background: rgba(255,255,255,.1); color: white;
  border: none; border-radius: 9999px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ── Testimonials ── */
#testimonials { padding: 6rem 0; background: hsl(24, 20%, 98%); overflow: hidden; }

/* ── Google Rating Badge ── */
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  padding: .6rem 1.25rem .6rem .875rem;
  background: white;
  border: 1.5px solid #e0e0e0;
  border-radius: 9999px;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.google-rating-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.google-rating-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5f6368;
}
.google-rating-stars {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.google-rating-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #202124;
  line-height: 1;
}
.google-stars {
  display: flex;
  gap: .1rem;
}
.google-stars svg {
  width: 1rem;
  height: 1rem;
}
.google-rating-count {
  font-size: .75rem;
  font-weight: 600;
  color: #5f6368;
  padding-left: .5rem;
  border-left: 1px solid #e0e0e0;
  white-space: nowrap;
}

/* ── Reviews Horizontal Carousel ── */
.reviews-carousel-wrap {
  position: relative;
  overflow: hidden;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  padding: 1rem 0 2rem;
}

.reviews-carousel {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: reviews-scroll 36s linear infinite;
}

.reviews-carousel:hover {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
  width: 360px;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(224,90,0,.14);
  transform: translateY(-3px);
}
/* Subtle quote mark decoration */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: .75rem; right: 1.25rem;
  font-size: 4rem;
  line-height: 1;
  color: rgba(224,90,0,.08);
  font-family: Georgia, serif;
  pointer-events: none;
}

.stars { display: flex; gap: .25rem; margin-bottom: 1rem; }
.stars svg { width: 1.05rem; height: 1.05rem; fill: #fbbf24; color: #fbbf24; }
.review-text {
  color: var(--foreground);
  line-height: 1.75;
  font-size: .9375rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.testimonial-footer {
  padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: space-between;
}
.reviewer-name { font-weight: 600; display: flex; align-items: center; gap: .375rem; }
.reviewer-name svg { width: 1rem; height: 1rem; color: var(--primary-hex); }
.reviewer-type { font-size: .75rem; color: var(--muted-foreground); margin-top: .125rem; }
.review-date {
  font-size: .75rem; color: var(--muted-foreground);
  background: var(--muted); padding: .25rem .5rem; border-radius: .375rem;
}

/* ── Contact ── */
#contact { padding: 6rem 0; background: white; }

.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.practo-banner {
  background: linear-gradient(135deg, #0d7a6e, #10a898);
  padding: 2rem; border-radius: 1.5rem;
  color: white;
  box-shadow: 0 10px 40px rgba(224,90,0,.3);
  margin-bottom: 3rem;
  position: relative; overflow: hidden;
}
.practo-banner::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 16rem; height: 16rem;
  background: rgba(255,255,255,.07);
  border-radius: 9999px;
  transform: translate(25%, -50%);
  pointer-events: none;
}
.practo-banner h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; position: relative; z-index: 1; }
.practo-banner p  { color: rgba(255,255,255,.9); margin-bottom: 1.5rem; position: relative; z-index: 1; font-size: .9375rem; }
.practo-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.4);
  color: white; font-weight: 700;
  padding: .875rem 1.5rem; border-radius: .75rem;
  transition: all .3s;
  position: relative; z-index: 1;
  cursor: pointer; font-size: .9375rem; font-family: var(--font-body);
}
.practo-btn:hover { background: rgba(255,255,255,.25); transform: translateY(-1px); }
.practo-btn svg { width: 1rem; height: 1rem; }

.contact-info h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
.contact-info > p { font-size: 1.1rem; color: var(--muted-foreground); margin-bottom: 2.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 2rem; }
.contact-item  { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon  {
  width: 3rem; height: 3rem;
  background: rgba(224,90,0,.1); border-radius: .75rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary-hex); }
.contact-item h4 { font-weight: 600; font-size: 1rem; margin-bottom: .25rem; }
.contact-item p,
.contact-item a { color: var(--muted-foreground); font-size: .9375rem; transition: color .2s; }
.contact-item a:hover { color: var(--primary-hex); }
.contact-phones { display: flex; flex-direction: column; gap: .25rem; }

.contact-form-wrap {
  background: hsl(24, 20%, 98%);
  padding: 2.5rem; border-radius: 1.5rem;
  border: 1px solid var(--border);
}
.contact-form-wrap h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }

.map-wrap {
  margin-top: 4rem; border-radius: 1.5rem; overflow: hidden;
  height: 400px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── Map Icon Link ── */
.map-icon-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  padding: .875rem 1.25rem;
  background: rgba(224,90,0,.08);
  border: 1.5px solid rgba(224,90,0,.25);
  border-radius: .875rem;
  color: var(--primary-hex);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  transition: all .3s;
  width: 100%;
  box-sizing: border-box;
}
.map-icon-link:hover {
  background: rgba(224,90,0,.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(224,90,0,.15);
}
.map-icon-link svg { flex-shrink: 0; }

/* ── Home Dental Card ── */
.home-dental-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #fff3eb, #ffe0cc);
  border: 1.5px solid rgba(224,90,0,.3);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: all .3s;
  box-shadow: 0 4px 20px rgba(224,90,0,.1);
  position: relative;
  overflow: hidden;
}
.home-dental-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: rgba(224,90,0,.08);
  border-radius: 50%;
  pointer-events: none;
}
.home-dental-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(224,90,0,.18);
  background: linear-gradient(135deg, #ffe8d6, #ffd0b0);
}
.home-dental-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: var(--primary-hex);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 4px 12px rgba(224,90,0,.3);
}
.home-dental-text { flex: 1; min-width: 0; }
.home-dental-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-hex);
  margin-bottom: .25rem;
}
.home-dental-text p {
  font-size: .8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0;
}
.home-dental-arrow {
  color: var(--primary-hex);
  flex-shrink: 0;
  transition: transform .3s;
}
.home-dental-card:hover .home-dental-arrow {
  transform: translateX(4px);
}

/* ════════════════════════════════════
   MOBILE RESPONSIVE FIXES
════════════════════════════════════ */

/* Base mobile adjustments */
@media (max-width: 767px) {

  /* Hero section */
  #home {
    min-height: auto;
    padding-top: 4.5rem;
  }
  .hero-grid {
    padding: 2rem 0 3rem;
    gap: 2rem;
  }
  h1.hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Services */
  #services { padding: 4rem 0; }
  .services-grid { grid-template-columns: 1fr; }

  /* Doctors */
  #doctors { padding: 4rem 0; }
  .doctors-grid { grid-template-columns: 1fr; }
  .doctor-card-img { height: 220px; }

  /* Gallery */
  #gallery { padding: 4rem 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-header h2 { font-size: 1.5rem; }

  /* Testimonials */
  #testimonials { padding: 4rem 0; }
  .masonry-grid { column-count: 1; }

  /* Contact */
  #contact { padding: 4rem 0; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-info h2 { font-size: 1.5rem; }
  .contact-form-wrap {
    padding: 1.5rem;
  }
  .practo-banner {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  .practo-banner h3 { font-size: 1.25rem; }
  .home-dental-card {
    padding: 1rem 1.125rem;
    gap: .875rem;
  }
  .home-dental-icon {
    width: 2.75rem;
    height: 2.75rem;
  }
  .map-icon-link { font-size: .875rem; }

  /* Section headers */
  .section-header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .footer-legal { flex-wrap: wrap; gap: 1rem; }

  /* Floating buttons — slightly smaller on mobile */
  .floating-btns { bottom: 1rem; right: 1rem; gap: .75rem; }
  .float-btn { width: 2.75rem; height: 2.75rem; }
  .float-btn svg { width: 1.25rem; height: 1.25rem; }

  /* Modal on mobile */
  .modal-img-wrap { padding: 3rem 1rem 1rem; }
  .modal-desc { padding: 1rem 1rem 1.5rem; font-size: .9375rem; }
}

/* Tablet adjustments */
@media (min-width: 640px) and (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid  { column-count: 2; }
  .contact-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid   { grid-template-columns: repeat(2, 1fr); }
  h1.hero-title  { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-grid     { padding: 3rem 0 4rem; }
}

/* ── Premium Hero Badge ── */
.hero-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1.1rem;
  border-radius: 9999px;
  background: white;
  border: 1.5px solid rgba(224,90,0,.3);
  color: hsl(220, 40%, 12%);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: .875rem;
  box-shadow: 0 2px 12px rgba(224,90,0,.1);
}
.hero-premium-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 9999px;
  background: var(--primary-hex);
  box-shadow: 0 0 0 3px rgba(224,90,0,.2);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   Our Speciality Section
══════════════════════════════════════ */

#our-speciality {
  padding: 6rem 0;
  background: hsl(220, 40%, 8%);
  color: white;
  position: relative;
  overflow: hidden;
}

.speciality-bg-dots {
  position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background-image: radial-gradient(circle, rgba(224,90,0,.25) 1px, transparent 1px);
  background-size: 24px 24px;
}

.speciality-container { position: relative; z-index: 1; }

/* ── Eyebrow label ── */
.speciality-eyebrow {
  display: inline-flex;
  align-items: center; gap: .5rem;
  padding: .35rem 1rem;
  border-radius: 9999px;
  background: rgba(224,90,0,.15);
  border: 1px solid rgba(224,90,0,.35);
  color: hsl(24, 95%, 65%);
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.speciality-eyebrow-dot {
  width: .45rem; height: .45rem;
  border-radius: 9999px;
  background: var(--primary-hex);
  box-shadow: 0 0 0 3px rgba(224,90,0,.25);
  flex-shrink: 0;
}

/* Override section-header colours for dark background */
#our-speciality .section-header h2 { color: white; }
#our-speciality .section-header p  { color: hsl(24, 15%, 65%); }
.speciality-heading-accent { color: var(--secondary-hex); }

/* ── Stats row ── */
.speciality-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin-bottom: 3.5rem;
  backdrop-filter: blur(8px);
}

.speciality-stat {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: .75rem 1.5rem;
}

.speciality-stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--secondary-hex);
  line-height: 1;
  margin-bottom: .4rem;
}
.speciality-stat-value span {
  font-size: 60%;
  color: var(--primary-hex);
}
.speciality-stat-value--text {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: -.01em;
}

.speciality-stat-label {
  font-size: .8125rem;
  font-weight: 500;
  color: hsl(24, 15%, 60%);
  line-height: 1.5;
}

.speciality-stat-divider {
  width: 1px;
  height: 3.5rem;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 640px) {
  .speciality-stat-divider { display: none; }
  .speciality-stat { min-width: 45%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .speciality-stat:last-child { border-bottom: none; }
}

/* ── Speciality Cards Grid ── */
.speciality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .speciality-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .speciality-grid { grid-template-columns: repeat(4, 1fr); } }

.speciality-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
  cursor: default;
}

.speciality-card:hover {
  background: rgba(224,90,0,.1);
  border-color: rgba(224,90,0,.35);
  box-shadow: 0 12px 36px rgba(224,90,0,.18);
  transform: translateY(-4px);
}

/* Featured / Emergency card */
.speciality-card--featured {
  background: rgba(224,90,0,.12);
  border-color: rgba(224,90,0,.35);
  cursor: pointer;
}
.speciality-card--featured:hover {
  background: rgba(224,90,0,.2);
  border-color: rgba(224,90,0,.55);
  box-shadow: 0 12px 40px rgba(224,90,0,.28);
}

.speciality-card-featured-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--secondary-hex);
  background: rgba(240,122,16,.15);
  border: 1px solid rgba(240,122,16,.35);
  border-radius: 9999px;
  padding: .2rem .65rem;
}

/* Card icon */
.speciality-card-icon {
  width: 3rem; height: 3rem;
  border-radius: .875rem;
  background: rgba(224,90,0,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary-hex);
  margin-bottom: 1.25rem;
  transition: background .3s, color .3s;
  flex-shrink: 0;
}
.speciality-card:hover .speciality-card-icon {
  background: var(--primary);
  color: white;
}

.speciality-card-title {
  font-size: .9375rem;
  font-weight: 700;
  color: white;
  margin-bottom: .625rem;
  line-height: 1.35;
}

.speciality-card-desc {
  font-size: .8125rem;
  color: hsl(24, 15%, 60%);
  line-height: 1.65;
}
.speciality-card:hover .speciality-card-desc { color: hsl(24, 20%, 72%); }

/* Corner shine on hover */
.speciality-card-shine {
  position: absolute;
  top: 0; right: 0;
  width: 6rem; height: 6rem;
  background: radial-gradient(circle at top right, rgba(224,90,0,.12), transparent 70%);
  border-radius: 0 var(--radius-lg) 0 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.speciality-card:hover .speciality-card-shine { opacity: 1; }

/* ── Mobile adjustments ── */
@media (max-width: 767px) {
  #our-speciality { padding: 4rem 0; }
  .speciality-stats-row { padding: 1.5rem 1rem; margin-bottom: 2.5rem; }
  .speciality-stat { padding: .5rem 1rem; }
  .speciality-grid { gap: 1rem; }
  .speciality-card { padding: 1.5rem 1.25rem; }
}

/* ── Open 7 Days a Week badge (Clinic Timings) ── */
.open-7-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background: rgba(224,90,0,.1);
  border: 1px solid rgba(224,90,0,.25);
  color: var(--primary-hex);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.open-7-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 9999px;
  background: var(--primary-hex);
  flex-shrink: 0;
  animation: open7pulse 2s ease-in-out infinite;
}
@keyframes open7pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ── WhatsApp float button ring animation ── */
@keyframes wa-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.6), 0 4px 14px rgba(37,211,102,.35); }
  50%  { box-shadow: 0 0 0 12px rgba(37,211,102,0), 0 4px 14px rgba(37,211,102,.35); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 4px 14px rgba(37,211,102,.35); }
}
.float-wa {
  animation: wa-ring 2s ease-out infinite;
}
.float-wa:hover {
  animation: none;
  box-shadow: 0 0 0 6px rgba(37,211,102,.3), 0 8px 20px rgba(37,211,102,.4) !important;
}

/* ── Book Home btn home icon bounce ── */
@keyframes home-bounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-4px); }
  60%       { transform: translateY(-2px); }
}
.btn-home-icon {
  animation: home-bounce 1.6s ease-in-out infinite;
  display: inline-flex;
}
