/* ==== Single-Page Styles ==== */

/* Hero */
.hero {
  position: relative;
  min-height: 580px;
  background: linear-gradient(135deg, rgba(13,13,13,0.78) 0%, rgba(4,157,217,0.55) 100%), url('../Images/treatment-team.jpg') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 100px 0;
}
.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero .hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(194,217,26,0.4);
  border-radius: 4px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 18px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.hero .hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: 1.08rem;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.hero-actions {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Clinic Split — image + unified info card */
.clinic-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.clinic-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 520px;
  background: #f3f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clinic-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Unified info card — 3 columns: Specialities | Services | Hours */
.info-card-unified {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.info-card-unified .info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
}
.info-block {
  padding: 30px 28px;
  border-bottom: 1px solid var(--border);
}
.info-block:nth-child(1) { border-right: 1px solid var(--border); }
.info-block-full {
  padding: 26px 28px;
  background: var(--primary);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.info-block h3 {
  color: var(--primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-block h3 i { color: var(--primary-light); font-size: 0.95rem; }
.info-block ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.info-block ul li {
  font-size: 0.92rem;
  color: var(--text-dark);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.info-block ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
}
.info-block-full .hours-content h3 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 600;
  opacity: 0.85;
}
.info-block-full .hours-content p {
  font-size: 0.98rem;
  line-height: 1.7;
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-split h2 {
  margin-bottom: 20px;
  font-weight: 600;
}
.about-split p {
  margin-bottom: 14px;
  color: var(--text-dark);
  line-height: 1.75;
}
.about-split .highlight { color: var(--primary); font-weight: 600; }

.philosophy-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.philosophy-tags span {
  background: var(--bg-light);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

.about-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9/16;
  max-width: 340px;
  min-height: 400px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.about-video iframe { width: 100%; height: 100%; border: 0; }

/* YouTube Shorts facade — thumbnail + click-to-play */
.yt-short {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #000;
}
.yt-short img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s;
}
.yt-short:hover img { opacity: 0.75; }
.yt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(255,0,0,0.88);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
  transition: background 0.2s, transform 0.2s;
  pointer-events: none;
}
.yt-short:hover .yt-play-btn {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
}
.yt-short iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Carousel — shared ===== */
.carousel {
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-track { background: transparent; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.carousel-btn:hover { background: var(--primary); color: #fff; }
.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }

@media (max-width: 900px) {
  .carousel-btn.prev { left: 4px; }
  .carousel-btn.next { right: 4px; }
}

/* Doctors carousel */
.doctors-section { background: var(--bg-light); }
.doctor-card {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doctor-card .photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-light);
}
.doctor-card .placeholder-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--bg-light) 0%, #dfe9f2 100%);
  display: grid;
  place-items: center;
  color: var(--primary-light);
  font-size: 3.5rem;
}
.doctor-card .info {
  padding: 20px 22px;
  border-top: 3px solid var(--primary);
}
.doctor-card h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 600;
}
.doctor-card .role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) { .doctor-card { flex: 0 0 calc(60% - 10px); } }
@media (max-width: 560px) { .doctor-card { flex: 0 0 calc(85% - 10px); } }

/* Why Us — refined */
.why-us {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.why-us h2 { color: #fff; }
.why-us .section-eyebrow { color: var(--accent); }
.why-us .section-subtitle { color: rgba(255,255,255,0.75); }

.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
  text-align: left;
  position: relative;
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(194,217,26,0.4);
  transform: translateY(-4px);
}
.why-card .icon-wrap {
  width: 52px; height: 52px;
  background: rgba(194,217,26,0.15);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.why-card h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 720px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}
.stat { text-align: center; }
.stat .num {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat .lbl {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
}

/* Gallery carousel */
.gallery-slide {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  background: var(--bg-light);
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-slide:hover img { transform: scale(1.04); }

@media (max-width: 900px) { .gallery-slide { flex: 0 0 calc(60% - 10px); } }
@media (max-width: 560px) { .gallery-slide { flex: 0 0 calc(85% - 10px); } }

/* Testimonials carousel */
.testimonials-section { background: var(--bg-light); }
.testimonial-slide {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  max-width: 320px;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-slide iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) { .testimonial-slide { flex: 0 0 calc(65% - 10px); } }
@media (max-width: 560px) { .testimonial-slide { flex: 0 0 calc(80% - 10px); } }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}
.contact-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.contact-card h2 {
  color: #fff;
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-card > p {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  margin-bottom: 28px;
}
.contact-block {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-block .icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-block .details h4 {
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  font-weight: 500;
}
.contact-block .details p,
.contact-block .details a {
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.55;
}
.contact-block .details a:hover { color: var(--accent); }

.contact-socials {
  display: flex;
  gap: 10px;
  margin: 8px 0 24px;
}
.contact-socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.contact-socials a:hover { background: var(--accent); color: var(--primary); }

.contact-card .btn-whatsapp { margin-top: auto; }

.map-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.map-card iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  flex: 1;
}
.map-info {
  padding: 22px 26px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.map-info h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}
.map-info p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-dark);
}
.map-info .hours {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}
.map-info .hours strong { color: var(--primary); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 99;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 900px) {
  .clinic-split, .about-split, .contact-grid { grid-template-columns: 1fr; }
  .clinic-image { min-height: 360px; }
  .info-card-unified .info-columns { grid-template-columns: 1fr; }
  .info-block:nth-child(1) { border-right: none; }
  .why-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-strip { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 500px) {
  .why-cards { grid-template-columns: 1fr; }
  .info-block-full { flex-direction: column; align-items: flex-start; }
}
