/**
 * Arya Homeo Clinic — homepage only (scoped under .ahc-home-wrap)
 */
.ahc-home-wrap {
  --ahc-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ahc-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --ahc-bg: #f6f8fb;
  --ahc-ink: #0c1222;
  --ahc-muted: #5c6578;
  --ahc-mint: #0f766e;
  --ahc-mint-bright: #14b8a6;
  --ahc-sun: #f59e0b;
  --ahc-sun-soft: #fde68a;
  --ahc-card: rgba(255, 255, 255, 0.72);
  --ahc-edge: rgba(12, 18, 34, 0.08);
  --ahc-shadow: 0 24px 60px rgba(15, 118, 110, 0.12);
  font-family: var(--ahc-sans);
  color: var(--ahc-muted);
  background: var(--ahc-bg);
  overflow-x: hidden;
}

/* Neutralize Medilab global section spacing inside homepage shell */
.ahc-home-wrap section {
  padding: 0 !important;
  overflow: visible !important;
}

.ahc-home-wrap section.ahc-panel {
  padding: clamp(56px, 8vw, 96px) 20px !important;
}

.ahc-home-wrap section#hero {
  padding: 0 !important;
}

.ahc-home-wrap section.ahc-panel.pt-0 {
  padding-top: 0 !important;
}

.ahc-home-wrap section.ahc-panel.pb-2 {
  padding-bottom: clamp(24px, 4vw, 40px) !important;
}

.ahc-home-wrap h1,
.ahc-home-wrap h2,
.ahc-home-wrap h3,
.ahc-home-wrap h4 {
  font-family: var(--ahc-display);
  color: var(--ahc-ink);
  font-weight: 600;
}

.ahc-home-wrap #hero {
  position: relative;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: none !important;
  animation: none !important;
  min-height: unset !important;
  height: auto !important;
}

.ahc-home-wrap .hero-slider.swiper {
  width: 100%;
  height: min(92vh, 900px);
  min-height: 480px;
}

.ahc-home-wrap .hero-slider .swiper-slide {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 clamp(24px, 5vw, 48px) clamp(24px, 5vw, 48px);
}

.ahc-home-wrap .hero-slide-bg {
  transform: scale(1.06);
  transition: transform 9s linear;
}

.ahc-home-wrap .hero-slider .swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

.ahc-home-wrap .hero-slide-overlay {
  background: radial-gradient(ellipse 120% 80% at 20% 40%, rgba(15, 118, 110, 0.92) 0%, rgba(12, 18, 34, 0.55) 55%, rgba(245, 158, 11, 0.35) 100%);
}

.ahc-home-wrap .hero-slide-content {
  align-items: flex-end;
  padding: clamp(100px, 14vh, 140px) 24px clamp(56px, 8vh, 88px);
}

@media (min-width: 992px) {
  .ahc-home-wrap .hero-slide-content {
    align-items: center;
    padding-bottom: 72px;
  }
}

.ahc-home-wrap .hero-caption-inner {
  max-width: 38rem;
}

.ahc-home-wrap .hero-eyebrow {
  font-family: var(--ahc-sans);
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.ahc-home-wrap .hero-caption-inner h1,
.ahc-home-wrap .hero-caption-inner h2 {
  font-family: var(--ahc-display);
  font-weight: 600;
  line-height: 1.12;
}

.ahc-home-wrap .hero-caption-inner .btn-get-started {
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--ahc-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
}

.ahc-home-wrap .hero-slider-pagination .swiper-pagination-bullet-active {
  background: var(--ahc-sun-soft);
  box-shadow: 0 0 12px rgba(253, 230, 138, 0.8);
}

.ahc-home-wrap .hero-slider-nav {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ahc-home-wrap .ahc-orbit {
  margin-top: -48px;
  position: relative;
  z-index: 3;
  padding: 0 16px 56px;
}

@media (min-width: 992px) {
  .ahc-home-wrap .ahc-orbit {
    margin-top: -64px;
  }
}

.ahc-home-wrap .ahc-orbit-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ahc-home-wrap .ahc-orbit-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ahc-shadow);
  color: var(--ahc-mint);
  border: 1px solid var(--ahc-edge);
}

.ahc-home-wrap .ahc-orbit-pill span {
  color: var(--ahc-sun);
  margin-right: 8px;
}

.ahc-home-wrap section.ahc-panel {
  padding: clamp(56px, 8vw, 96px) 20px;
  position: relative;
}

.ahc-home-wrap .ahc-panel-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin-bottom: 12px;
}

.ahc-home-wrap .ahc-panel-lead {
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.65;
}

.ahc-home-wrap .ahc-bento {
  display: grid;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .ahc-home-wrap .ahc-bento {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  .ahc-home-wrap .ahc-bento-main {
    grid-row: span 2;
  }
}

.ahc-home-wrap .ahc-glass {
  background: var(--ahc-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--ahc-edge);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 16px 48px rgba(12, 18, 34, 0.06);
}

.ahc-home-wrap .ahc-tile {
  border-radius: 20px;
  padding: 22px 22px 26px;
  background: linear-gradient(155deg, #fff 0%, #f0fdfa 100%);
  border: 1px solid var(--ahc-edge);
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ahc-home-wrap .ahc-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--ahc-shadow);
}

.ahc-home-wrap .ahc-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ahc-mint-bright), var(--ahc-mint));
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.ahc-home-wrap .ahc-tile h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.ahc-home-wrap .ahc-link-arrow {
  font-weight: 600;
  color: var(--ahc-mint);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.ahc-home-wrap .ahc-link-arrow:hover {
  color: var(--ahc-ink);
}

.ahc-home-wrap .ahc-about-split {
  display: grid;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 992px) {
  .ahc-home-wrap .ahc-about-split {
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
  }
}

.ahc-home-wrap .ahc-video-shell {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16/11;
  box-shadow: var(--ahc-shadow);
}

.ahc-home-wrap .ahc-video-shell .glightbox.ahc-video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: url("../img/gallery/gallery-5.jpg") center/cover;
  position: relative;
}

.ahc-home-wrap .ahc-video-shell .ahc-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--ahc-mint);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.ahc-home-wrap .ahc-video-shell .glightbox.ahc-video-play:hover .ahc-play-icon {
  transform: scale(1.08);
}

.ahc-home-wrap .ahc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.ahc-home-wrap .ahc-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px dashed rgba(15, 118, 110, 0.35);
  color: var(--ahc-mint);
}

.ahc-home-wrap .ahc-cond-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .ahc-home-wrap .ahc-cond-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ahc-home-wrap .ahc-cond-card {
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--ahc-edge);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ahc-home-wrap .ahc-cond-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.45);
}

.ahc-home-wrap .ahc-cond-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.ahc-home-wrap .ahc-cond-card a {
  color: inherit;
  text-decoration: none;
}

.ahc-home-wrap .ahc-stats-band {
  background: linear-gradient(135deg, #0f766e 0%, #134e4a 48%, #422006 100%);
  color: rgba(255, 255, 255, 0.88);
  border-radius: clamp(24px, 4vw, 40px);
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px);
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, 1fr);
  box-shadow: 0 28px 70px rgba(15, 118, 110, 0.35);
}

@media (min-width: 768px) {
  .ahc-home-wrap .ahc-stats-band {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ahc-home-wrap .ahc-stat {
  text-align: center;
}

.ahc-home-wrap .ahc-stat i {
  font-size: 1.5rem;
  opacity: 0.85;
  margin-bottom: 10px;
  display: block;
}

.ahc-home-wrap .ahc-stat .purecounter {
  font-family: var(--ahc-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
}

.ahc-home-wrap .ahc-stat p {
  margin: 10px 0 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.ahc-home-wrap .ahc-story {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.ahc-home-wrap .ahc-story-card {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%);
  border: 1px solid var(--ahc-edge);
}

.ahc-home-wrap .ahc-story-card ul {
  text-align: left;
  max-width: 520px;
  margin: 24px auto 0;
  padding-left: 1.2rem;
}

.ahc-home-wrap .ahc-story-card li {
  margin-bottom: 10px;
}

.ahc-home-wrap .ahc-vision-wave {
  border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(40px, 6vw, 72px) 28px;
  max-width: 1160px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 10% 20%, rgba(253, 230, 138, 0.45) 0%, transparent 42%),
    radial-gradient(circle at 90% 80%, rgba(45, 212, 191, 0.35) 0%, transparent 45%),
    linear-gradient(135deg, #ecfdf5, #cffafe);
  border: 1px solid rgba(15, 118, 110, 0.12);
  text-align: center;
}

.ahc-home-wrap .ahc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--ahc-sun-soft), var(--ahc-sun));
  color: var(--ahc-ink);
  text-decoration: none;
  border: none;
  margin-top: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ahc-home-wrap .ahc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35);
  color: var(--ahc-ink);
}

.ahc-home-wrap .ahc-btn-ghost {
  display: inline-flex;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--ahc-mint);
  color: var(--ahc-mint);
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.ahc-home-wrap .ahc-btn-ghost:hover {
  background: var(--ahc-mint);
  color: #fff;
}

.ahc-home-wrap .ahc-team-grid {
  display: grid;
  gap: 28px;
  max-width: 960px;
  margin: 40px auto 0;
}

@media (min-width: 768px) {
  .ahc-home-wrap .ahc-team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ahc-home-wrap .ahc-person {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ahc-edge);
  transition: box-shadow 0.35s ease;
}

.ahc-home-wrap .ahc-person:hover {
  box-shadow: var(--ahc-shadow);
}

.ahc-home-wrap .ahc-person img {
  width: 108px;
  height: 108px;
  border-radius: 22px;
  object-fit: cover;
}

.ahc-home-wrap .ahc-person-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ahc-mint);
}

.ahc-home-wrap .ahc-person h4 {
  margin: 6px 0 4px;
  font-size: 1.25rem;
}

.ahc-home-wrap .ahc-acc .accordion-item {
  border: none;
  margin-bottom: 12px;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(12, 18, 34, 0.06);
}

.ahc-home-wrap .ahc-acc .accordion-button {
  font-family: var(--ahc-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ahc-ink);
  padding: 18px 22px;
}

.ahc-home-wrap .ahc-acc .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(204, 251, 241, 0.6), transparent);
  color: var(--ahc-mint);
  box-shadow: none;
}

.ahc-home-wrap .ahc-acc .accordion-body {
  padding: 0 22px 18px;
  color: var(--ahc-muted);
  line-height: 1.65;
}

.ahc-home-wrap .ahc-gal-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1160px;
  margin: 36px auto 0;
}

@media (min-width: 768px) {
  .ahc-home-wrap .ahc-gal-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, 18vw);
  }
}

.ahc-home-wrap .ahc-gal-item {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.ahc-home-wrap .ahc-gal-item a {
  display: block;
  height: 100%;
  min-height: 140px;
}

.ahc-home-wrap .ahc-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ahc-home-wrap .ahc-gal-item:hover img {
  transform: scale(1.06);
}

.ahc-home-wrap .ahc-cta-fin {
  margin: 24px 16px 48px;
  border-radius: clamp(28px, 5vw, 48px);
  padding: clamp(40px, 7vw, 72px) 28px;
  background: linear-gradient(120deg, #134e4a 0%, #0f766e 38%, #78350f 100%);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ahc-home-wrap .ahc-cta-fin::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(253, 230, 138, 0.15) 0%, transparent 55%);
  animation: ahc-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ahc-drift {
  from {
    transform: translate(-6%, -4%) rotate(0deg);
  }
  to {
    transform: translate(4%, 8%) rotate(8deg);
  }
}

.ahc-home-wrap .ahc-cta-fin h2 {
  color: #fff;
  position: relative;
  z-index: 1;
}

.ahc-home-wrap .ahc-cta-fin p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 16px auto 0;
  opacity: 0.92;
}

.ahc-home-wrap .ahc-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.ahc-home-wrap .ahc-cta-fin .ahc-btn-primary {
  background: #fff;
  color: var(--ahc-mint);
}

.ahc-home-wrap .ahc-cta-fin .ahc-btn-ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.ahc-home-wrap .ahc-cta-fin .ahc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ahc-home-wrap .ahc-cta-fin::before {
    animation: none;
  }

  .ahc-home-wrap .hero-slide-bg {
    transition: none;
  }
}
