/* Angelskin Medical — homepage layer (responsive, motion) */
:root {
  --as-bg-deep: #0c0f14;
  --as-bg-soft: #f4f2ef;
  --as-surface: #ffffff;
  --as-gold: #c9a962;
  --as-gold-soft: rgba(201, 169, 98, 0.35);
  --as-text: #1a1d24;
  --as-muted: #5c6370;
  --as-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --as-radius: 12px;
  --as-shadow: 0 24px 80px rgba(12, 15, 20, 0.12);
}

html.as-home {
  scroll-behavior: smooth;
}

html.as-home body {
  -webkit-font-smoothing: antialiased;
  font-family: "DM Sans", "Lato", Helvetica, Arial, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  html.as-home {
    scroll-behavior: auto;
  }
  .as-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .as-b2b-card:hover,
  .as-hover-zoom:hover .as-img-ph,
  .as-hero .btn.as-btn-gold:hover {
    transform: none !important;
  }
}

/* Hero slides: cinematic overlay + readable type */
.as-hero .swiper-slide {
  background-size: cover !important;
  background-position: center !important;
}
.as-hero .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(12, 15, 20, 0.88) 0%,
    rgba(12, 15, 20, 0.45) 45%,
    rgba(12, 15, 20, 0.25) 100%
  );
  z-index: 0;
}
.as-hero .swiper-caption {
  position: relative;
  z-index: 1;
}
.as-hero .swiper-slide-caption h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.as-hero .swiper-slide-caption .as-hero-lead {
  font-family: "DM Sans", "Lato", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
}
.as-hero .btn.as-btn-gold {
  border-radius: 999px;
  padding: 0.65rem 1.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  background: var(--as-gold);
  border: none;
  color: #0c0f14;
  transition: transform 0.45s var(--as-ease-out), box-shadow 0.45s var(--as-ease-out);
}
.as-hero .btn.as-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--as-gold-soft);
  color: #0c0f14;
}
.as-hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: background 0.35s var(--as-ease-out), transform 0.35s var(--as-ease-out);
}
.as-hero .swiper-pagination-bullet-active {
  background: var(--as-gold);
  transform: scale(1.15);
}

/* Full-chain tagline above each slide headline */
.as-hero-chain {
  font-size: clamp(0.62rem, 1.1vw, 0.72rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
  line-height: 1.55;
  border-left: 2px solid var(--as-gold);
  padding-left: 0.85rem;
}

/* Six function icons (inline SVG, same ring treatment as top bar circles) */
.as-dept-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 1px solid rgba(42, 147, 201, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2a93c9;
  line-height: 1;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(12, 15, 20, 0.06);
}
.as-dept-icon .as-dept-svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}

/* CTA bands (no parallax image) */
.as-cta-band {
  background: linear-gradient(135deg, #f4f2ef 0%, #e8e4df 100%);
  color: var(--as-text);
}
.as-cta-band--dark {
  background: linear-gradient(145deg, #0c0f14 0%, #1a2230 55%, #0c0f14 100%);
  color: #fff;
}
.as-cta-band-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin: 0;
}
.as-cta-band--dark .as-cta-band-title {
  color: #fff;
}
.as-cta-band-lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  line-height: 1.6;
  opacity: 0.88;
}
.as-cta-band--dark .as-cta-band-lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Insight cards (no thumbnail) */
.as-insight-card {
  text-align: start;
  padding: 1.75rem 1.5rem;
  border-radius: var(--as-radius);
  border: 1px solid rgba(12, 15, 20, 0.08);
  background: #fff;
  box-shadow: var(--as-shadow);
  border-left: 3px solid var(--as-gold);
  transition: transform 0.45s var(--as-ease-out), box-shadow 0.45s var(--as-ease-out);
}
.as-insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(12, 15, 20, 0.12);
}
.as-insight-meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--as-muted);
  margin-bottom: 0.75rem;
}

/* Map / visit gradient strip */
.as-map-gradient {
  background: linear-gradient(120deg, #1a2230 0%, #2d3a4d 40%, #0c0f14 100%);
  color: #fff;
}
.as-map-gradient-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.as-map-gradient-text {
  max-width: 32rem;
  opacity: 0.95;
  margin: 0 auto;
  line-height: 1.55;
}
.as-map-gradient-hint {
  max-width: 36rem;
  opacity: 0.78;
  margin: 1rem auto 0;
  font-size: 0.95rem;
}
.as-map-iframe-wrap {
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: 1.75rem auto 0;
  border-radius: var(--as-radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
  min-height: 220px;
  background: rgba(12, 15, 20, 0.6);
}
.as-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* B2B strip cards */
.as-strip {
  background: var(--as-bg-soft);
}
.as-b2b-card {
  background: var(--as-surface);
  border-radius: var(--as-radius);
  box-shadow: var(--as-shadow);
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform 0.5s var(--as-ease-out), box-shadow 0.5s var(--as-ease-out);
  border: 1px solid rgba(12, 15, 20, 0.06);
}
.as-b2b-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 90px rgba(12, 15, 20, 0.14);
}
.as-b2b-card h6 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--as-gold);
}
.as-b2b-card p {
  color: var(--as-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Section titles */
.as-sec-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--as-text);
}
.as-sec-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--as-gold);
  font-weight: 700;
}

/* Pale section backgrounds: theme .text-gray-light blends into bg-default-liac / bg-default */
html.as-home section.bg-default-liac p.text-gray-light,
html.as-home section.bg-default p.text-gray-light {
  color: var(--as-muted) !important;
}
html.as-home .as-insight-card p.text-gray-light {
  color: var(--as-muted) !important;
}

/* Pillars */
.as-pillar {
  padding: 2rem 1.25rem;
  border-radius: var(--as-radius);
  background: var(--as-surface);
  border: 1px solid rgba(12, 15, 20, 0.06);
  height: 100%;
  transition: border-color 0.4s var(--as-ease-out);
}
.as-pillar:hover {
  border-color: var(--as-gold-soft);
}
.as-pillar h5 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: var(--as-text);
}

/* Full chain */
.as-chain {
  background: var(--as-bg-deep);
  color: rgba(255, 255, 255, 0.92);
}
.as-chain-item {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 992px) {
  .as-chain-item {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.35rem 0.75rem;
  }
  .as-chain-item:last-child {
    border-right: none;
  }
}

/* Image placeholder universal */
.as-img-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s var(--as-ease-out);
}
.as-hover-zoom:hover .as-img-ph {
  transform: scale(1.04);
}
.as-media-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--as-radius);
  background: #e8e6e3;
}
.as-media-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(12, 15, 20, 0.06);
  border-radius: inherit;
}

/* Service / solution tiles */
.as-tile .as-media-wrap {
  aspect-ratio: 1 / 1;
}
@media (max-width: 575px) {
  .as-tile .as-media-wrap {
    aspect-ratio: 4 / 3;
  }
}
.as-tile-title {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--as-text);
}

/* Leadership */
.as-lead-card .as-media-wrap {
  aspect-ratio: 3 / 4;
}
.as-lead-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}
.as-lead-role {
  font-size: 0.85rem;
  color: var(--as-muted);
}

/* Testimonial avatar from same placeholder */
.as-avatar-ph {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--as-gold-soft);
}

/* Reveal on scroll (lightweight) */
.as-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--as-ease-out), transform 0.8s var(--as-ease-out);
}
.as-reveal.as-inview {
  opacity: 1;
  transform: none;
}

/* News / insights carousel (not full-width hero — horizontal slides) */
.as-news-carousel.swiper-container {
  overflow: visible;
  padding-bottom: 3rem;
}

.as-news-carousel .swiper-slide {
  height: auto;
  display: flex;
}

.as-news-carousel .swiper-slide > .as-insight-card {
  width: 100%;
}

.as-news-carousel-pagination.swiper-pagination-bullets {
  bottom: 0 !important;
}

.as-news-carousel-pagination .swiper-pagination-bullet {
  background: rgba(12, 15, 20, 0.25);
  opacity: 1;
}

.as-news-carousel-pagination .swiper-pagination-bullet-active {
  background: var(--as-gold);
}

