/* Laxmis Clinic — landing page slider & imagery */

.hero-slider {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 72vh, 640px);
  overflow: hidden;
  background: var(--md-secondary);
}

.hero-slider__track {
  display: flex;
  height: 100%;
  min-height: inherit;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider__slide {
  flex: 0 0 100%;
  min-height: inherit;
  position: relative;
  overflow: hidden;
}

.hero-slider__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-slider__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(27, 73, 101, 0.92) 0%,
    rgba(27, 73, 101, 0.65) 42%,
    rgba(232, 93, 4, 0.35) 100%
  );
  z-index: 1;
}

.hero-slider__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-slider__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(46, 196, 182, 0.25);
  border: 1px solid rgba(46, 196, 182, 0.5);
  font-size: 0.8rem;
  font-weight: 500;
  width: fit-content;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.hero-slider__content h2 {
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.15;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-slider__content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 0 0 1.75rem;
  max-width: 520px;
  line-height: 1.65;
  opacity: 0.95;
}

.hero-slider__callline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: -0.75rem 0 1.5rem !important;
  padding: 0.55rem 1rem;
  max-width: 520px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: clamp(0.92rem, 2vw, 1.05rem) !important;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.hero-slider__callline .material-icons-round {
  font-size: 1.15rem;
  color: var(--md-accent, #2ec4b6);
}

.hero-slider__callline a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
}

.hero-slider__callline a:hover {
  color: var(--md-accent, #2ec4b6);
  border-bottom-color: var(--md-accent, #2ec4b6);
}

/* Public branch booking (hero + footer) */
.public-branch-book {
  margin: 0 0 1.25rem;
  max-width: 520px;
}

.public-branch-book__field {
  margin-bottom: 0.75rem;
}

.public-branch-book__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  opacity: 0.92;
}

.public-branch-book__label .material-icons-round {
  font-size: 1rem;
  color: var(--md-accent, #2ec4b6);
}

.public-branch-book__select {
  width: 100%;
  min-height: 46px;
  border-radius: 12px !important;
  font-weight: 500;
}

.public-branch-book--hero .public-branch-book__select {
  background: rgba(255, 255, 255, 0.95);
  color: var(--md-secondary, #1b4965);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.public-branch-book__call {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: clamp(0.92rem, 2vw, 1.05rem) !important;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.public-branch-book__call .material-icons-round {
  font-size: 1.15rem;
  color: var(--md-accent, #2ec4b6);
}

.public-branch-book__call a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
}

.public-branch-book__call a:hover {
  color: var(--md-accent, #2ec4b6);
}

.public-branch-book__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.public-branch-book__btn {
  min-height: 46px !important;
  font-weight: 600 !important;
}

.public-branch-book--footer {
  max-width: none;
  width: 100%;
}

.public-branch-book--footer .public-branch-book__select {
  background: rgba(255, 255, 255, 0.96);
  color: var(--md-secondary, #1b4965);
}

.public-branch-book--footer .public-branch-book__call {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92) !important;
}

.public-branch-book--footer .public-branch-book__actions {
  margin-top: 0.25rem;
}

.footer-landing__cta-buttons .public-branch-book {
  flex: 1 1 100%;
}

.hero-slider__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-slider__nav {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1rem;
  pointer-events: none;
}

.hero-slider__nav > * {
  pointer-events: auto;
}

.hero-slider__counter {
  margin: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.hero-slider__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  max-width: min(920px, 100%);
  overflow-x: auto;
  padding: 0.35rem 0.5rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  scrollbar-width: thin;
}

.hero-slider__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 48px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.72;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-slider__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider__thumb.is-active,
.hero-slider__thumb:hover {
  opacity: 1;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.hero-slider--top {
  margin-top: 0;
}

.hero-slider--top + .branch-select-bar {
  border-top: none;
}

.hero-slider__dots {
  display: flex;
  gap: 0.5rem;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.2s;
}

.hero-slider__dot.is-active,
.hero-slider__dot:hover {
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.hero-slider__arrow--prev { left: 1rem; }
.hero-slider__arrow--next { right: 1rem; }

@media (max-width: 640px) {
  .hero-slider__arrow { display: none; }
  .hero-slider__content { padding: 4rem 1.25rem 8rem; }
  .hero-slider__thumbs { max-width: 100%; }
  .hero-slider__thumb { width: 58px; height: 40px; }
}

/* Trust strip — floats over branch bar only; must not cover news ticker below */
.trust-strip {
  background: #fff;
  box-shadow: var(--md-elev-2);
  position: relative;
  z-index: 4;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--md-radius);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  text-align: center;
}

.branch-select-bar + .trust-strip {
  margin-top: -2rem;
}

.trust-strip + .news-ticker,
.trust-strip + .flash-banner {
  position: relative;
  z-index: 6;
}

.news-ticker,
.flash-banner {
  position: relative;
  z-index: 6;
}

.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.trust-strip__item .material-icons-round {
  font-size: 2rem;
  color: var(--md-primary);
}

.trust-strip__item strong {
  font-size: 1.1rem;
  color: var(--md-secondary);
}

.trust-strip__item span {
  font-size: 0.8rem;
  color: #666;
}

/* Feature cards with images */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border-radius: var(--md-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--md-elev-1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--md-elev-3);
}

.feature-card__img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.feature-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 73, 101, 0.5), transparent 50%);
}

.feature-card__icon {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--md-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--md-elev-2);
}

.feature-card__body {
  padding: 1.25rem;
}

.feature-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--md-secondary);
}

.feature-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* Gallery strip */
.gallery-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.35rem;
  border-radius: var(--md-radius);
  -webkit-overflow-scrolling: touch;
}

.gallery-strip__item {
  flex: 0 0 min(320px, 78vw);
  min-height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--md-elev-2);
}

.gallery-strip__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.82));
}

.gallery-strip__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 73, 101, 0.15);
  transition: background 0.3s;
}

.gallery-strip__item:hover::after {
  background: rgba(27, 73, 101, 0.05);
}

@media (max-width: 768px) {
  .gallery-strip__item {
    flex-basis: min(260px, 85vw);
    min-height: 160px;
  }
}

/* Enhanced branch cards */
.branch-card--visual {
  padding: 0;
  overflow: hidden;
  border-left: none;
}

.branch-card__photo {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.branch-card--visual .branch-card__body {
  padding: 1.25rem;
}

/* Doctor cards with photo */
.doctor-card--visual {
  padding: 0;
  text-align: center;
}

.doctor-card__photo {
  height: 200px;
  background-size: cover;
  background-position: center top;
  position: relative;
}

.doctor-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, transparent 45%);
}

.doctor-card--visual .doctor-card__body {
  padding: 0 1.25rem 1.25rem;
  margin-top: -2rem;
  position: relative;
  z-index: 1;
}

.doctor-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  display: block;
  box-shadow: var(--md-elev-2);
  background: var(--md-secondary);
}

/* Portal cards with gradient */
.portal-card--img {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.portal-card--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--portal-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  transition: opacity 0.3s, transform 0.4s;
}

.portal-card--img:hover::before {
  opacity: 0.35;
  transform: scale(1.05);
}

.portal-card--img .portal-card__inner {
  position: relative;
  z-index: 1;
}

/* Section intro with side image */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.section-split__visual {
  border-radius: var(--md-radius);
  min-height: 320px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--md-elev-3);
  position: relative;
  overflow: hidden;
}

.section-split__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.section-split__text h2 {
  font-size: 1.75rem;
  color: var(--md-secondary);
  margin: 0 0 1rem;
}

.section-split__text p {
  color: #444;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.section-split__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-split__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.section-split__list .material-icons-round {
  color: var(--md-accent);
  font-size: 1.25rem;
}

@media (max-width: 900px) {
  .section-split { grid-template-columns: 1fr; }
  .section-split__visual { min-height: 240px; order: -1; }
}

/* Footer — base layout (visual polish in site-chrome.css) */
.footer-landing__copy {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

/* Site navigation — link defaults (header polish in site-chrome.css) */
.site-nav { align-items: center; }
.site-nav__call { margin-left: 0; }
.hide-mobile { display: inline; }
@media (max-width: 900px) {
  .hide-mobile { display: none; }
}
.contact-hero {
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.contact-hero__inner { max-width: 640px; margin: 0 auto; }
.contact-hero h1 { margin: 0 0 0.5rem; font-size: 2rem; }
.contact-hero p { margin: 0; opacity: 0.92; font-size: 1.1rem; }

/* Trust strip spacing — news/flash now sit below trust strip */
.section--after-slider { padding-top: 2rem; }

/* Site navigation — mobile tweaks */
@media (max-width: 900px) {
  .site-nav__link { padding: 0.35rem 0.5rem; font-size: 0.8rem; }
}

/* Contact page hero */
.page-hero {
  background-size: cover;
  background-position: center top;
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}
.page-hero__inner { max-width: 720px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin: 0 0 0.75rem; }
.page-hero p { font-size: 1.1rem; opacity: 0.95; margin: 0; line-height: 1.6; }

.section--muted { background: #eef2f6; }
.section-lead { color: #555; margin: -0.75rem 0 1.5rem; font-size: 1rem; }
.section-lead a { color: var(--md-primary); }

/* Mission cards */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.mission-card { text-align: center; }
.mission-card__icon {
  font-size: 2.5rem;
  color: var(--md-primary);
  margin-bottom: 0.5rem;
}
.mission-card h3 { margin: 0 0 0.5rem; color: var(--md-secondary); }

/* Doctor flyer cards */
.doctor-flyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.doctor-flyer-card { overflow: hidden; padding: 0; }
.doctor-flyer-card__img-wrap {
  background: #f0f0f0;
  max-height: 320px;
  overflow: hidden;
}
.doctor-flyer-card__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.doctor-flyer-card__body h3 { margin: 0 0 0.25rem; color: var(--md-secondary); }

/* Map cards */
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.map-card { overflow: hidden; padding: 0; }
.map-card__map {
  position: relative;
  height: 280px;
  background: #e5e7eb;
}
.map-card__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-card__body h3 { margin: 0 0 0.5rem; color: var(--md-secondary); }
.map-card__address,
.map-card__phone {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: #444;
}
.map-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Contact quick actions */
.contact-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-quick__item {
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-quick__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--md-elev-2);
}
.contact-quick__item .material-icons-round {
  font-size: 2.5rem;
  color: var(--md-primary);
}
.contact-quick__item strong { display: block; margin: 0.5rem 0 0.25rem; }
.contact-quick__item span { font-size: 0.9rem; color: #555; }

.contact-form-card { box-shadow: var(--md-elev-2); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--md-secondary), var(--md-primary));
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--md-radius);
  margin: 0 1.5rem 2rem;
  max-width: 1168px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner h2 { margin: 0 0 0.5rem; font-size: 1.75rem; }
.cta-banner p { opacity: 0.92; margin: 0 0 1.25rem; }

/* High-quality clinic hero imagery */
.hero-slider {
  min-height: clamp(460px, 78vh, 720px);
}

.hero-slider__bg {
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero-slider__slide.is-active .hero-slider__bg,
.hero-slider__track:focus-within .hero-slider__slide:first-child .hero-slider__bg {
  transform: scale(1);
}

/* Hide old duplicate hero */
.hero-banner-wrap { display: none; }
.landing .hero--secondary {
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
}
