/* ==========================================================================
   About Page Styles
   ========================================================================== */

/* Hero */
.hero {
  height: 100svh;
  max-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-ivory);
  overflow: hidden;
  background: var(--deep-forest);
  padding: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero-text {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-inline: var(--gutter);
}
.hero-text h1 {
  color: var(--warm-ivory);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
}
.hero-text .sub {
  font-family: var(--font-subheading);
  font-style: italic;
  color: var(--sand);
  font-size: clamp(1.3rem, 1.8vw, 1.15rem);
  margin: 12px 0;
}
.hero-text p {
  color: var(--sand);
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.6;
}

/* Story */
.story {
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  height: 100svh;
  max-height: 100svh;
  background: var(--warm-ivory);
  overflow: hidden;
}
.story-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(30, 39, 25, 0.14);
  max-height: 55vh;
}
.story-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  max-height: 55vh;
}
.story-content h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  margin-bottom: clamp(10px, 2vh, 20px);
}
.story-content p {
  color: var(--muted-grey);
  margin-bottom: clamp(8px, 1.5vh, 16px);
  line-height: 1.6;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
}

/* Values */
.values {
  background: var(--warm-ivory);
  height: 100svh;
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.values-head {
  max-width: 640px;
  margin: 0 auto clamp(16px, 3vh, 36px);
  padding-inline: var(--gutter);
  text-align: center;
}
.values-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}
.values-head p {
  margin-top: 8px;
  color: var(--muted-grey);
  line-height: 1.5;
  font-size: clamp(0.85rem, 1vw, 0.98rem);
}
.values-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.5vw, 20px);
  width: 100%;
  justify-items: center;
}
.value-item {
  background: var(--white);
  border-radius: 18px;
  padding: clamp(14px, 2.5vh, 24px) clamp(14px, 1.8vw, 22px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(30, 39, 25, 0.08);
}
.value-icon {
  width: clamp(30px, 4vh, 40px);
  height: clamp(30px, 4vh, 40px);
  color: var(--soft-gold);
  margin: 0 auto 12px;
}
.value-icon svg {
  width: 100%;
  height: 100%;
}
.value-item h3 {
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  margin-bottom: 6px;
}
.value-item p {
  color: var(--muted-grey);
  font-size: clamp(0.8rem, 0.88vw, 0.92rem);
  line-height: 1.5;
  text-align: center;
}

/* Approach */
.approach {
  height: 100svh;
  max-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  background: linear-gradient(
    rgba(30, 39, 25, 0.88),
    rgba(30, 39, 25, 0.93)
  );
  color: var(--warm-ivory);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.approach::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--deep-forest);
  transform: scale(1.05);
}
.approach::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(30, 39, 25, 0.65);
}
.approach > * {
  position: relative;
  z-index: 2;
}
.approach-content {
  padding: clamp(20px, 4vh, 60px) var(--gutter);
  max-width: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.approach-content h2 {
  color: var(--warm-ivory);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  margin-bottom: clamp(10px, 2vh, 20px);
}
.approach-content p {
  color: var(--muted-sage);
  margin-bottom: clamp(8px, 1.5vh, 16px);
  line-height: 1.6;
  font-size: clamp(0.85rem, 1vw, 1rem);
}
.approach-content .btn {
  margin-top: 10px;
  background: var(--soft-gold);
  color: var(--deep-forest);
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  align-self: flex-start;
}
/* .approach-content .btn:hover {
  background: var(--warm-ivory);
} */
.approach-img {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.approach-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Offer intro — full-screen two-panel layout: header+list on left, image on right */
.offer-intro {
  background: var(--warm-ivory);
  height: 100svh;
  max-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  overflow: hidden;
}

/* Left panel: header + scrollable service list */
.offer-left-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 120px clamp(24px, var(--gutter), 60px) clamp(20px, 4vh, 34px)
    var(--gutter);
  border-right: 1px solid rgba(30, 39, 25, 0.08);
  overflow: hidden;
  margin-top: 3%;
}
.offer-head {
  margin-bottom: clamp(12px, 2vh, 18px);
}
.offer-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: var(--deep-forest);
}
.offer-head p {
  margin-top: 6px;
  color: var(--muted-grey);
  line-height: 1.5;
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
}

/* Interactive Services Panel — list on the left, photo swaps in on hover */
.services-interactive {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  overflow: visible;
  align-content: start;
  margin-top: 8%
}

.services-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(30, 39, 25, 0.06);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  min-width: 0;
}
.services-list-item > a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.services-list-item:last-child {
  border-bottom: 1px solid rgba(30, 39, 25, 0.06);
}
.services-list-item .num {
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  color: var(--soft-gold);
  min-width: 24px;
  flex-shrink: 0;
}
.services-list-item .s-text {
  flex: 1;
  min-width: 0;
}
.services-list-item .s-text h3 {
  font-size: clamp(0.76rem, 0.9vw, 0.9rem);
  margin: 0;
  transition: color 0.3s ease;
  white-space: normal;
  overflow: hidden;
  line-height: 1.22;
}
.services-list-item .s-text p {
  font-size: 0.72rem;
  color: var(--muted-grey);
  line-height: 1.35;
  max-height: none;
  opacity: 1;
  overflow: visible;
  margin: 0;
  margin-top: 2px;
  transition: color 0.3s ease;
}
.services-list-item:hover,
.services-list-item.active {
  background: var(--soft-beige);
}
.services-list-item.active .s-text h3 {
  color: var(--soft-gold);
}
.services-list-item.active .s-text h3 {
  white-space: normal;
}
.services-list-item.active .s-text p {
  margin-top: 2px;
}

/* Right panel: sticky photo */
.services-visual {
  position: relative;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  background: var(--soft-beige);
}
.services-visual-stack {
  position: absolute;
  inset: 0;
}
.visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(60px);
  transition:
    transform 0.7s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.5s ease;
}
.visual-img.in {
  opacity: 1;
  transform: translateX(0);
}
.visual-img.leaving {
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.7s ease;
  z-index: 1 !important;
}

/* Mobile-only auto-scrolling service carousel */
.services-carousel {
  display: none;
}
.carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: servicesCarouselScroll 40s linear infinite;
}
.carousel-card {
  position: relative;
  width: clamp(140px, 40vw, 190px);
  height: clamp(170px, 38vh, 240px);
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(30, 39, 25, 0.2);
  color: inherit;
  text-decoration: none;
}
.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-card::after {
  content: "";
  position: absolute;
  inset: 0;
}
.carousel-card h3 {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  color: var(--warm-ivory);
  font-size: clamp(1rem, 2.5vw, 0.92rem);
  line-height: 1.3;
  margin: 0;
}
@keyframes servicesCarouselScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
    overflow-x: auto;
  }
}

/* Impact */
.impact {
  background: var(--deep-forest);
  color: var(--warm-ivory);
  height: 100svh;
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.impact-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}
.impact-header {
  max-width: 620px;
  margin: 0 auto clamp(16px, 3vh, 36px);
  text-align: center;
}
.impact-label {
  display: block;
  font-size: clamp(0.7rem, 0.8vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft-gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.impact-header h2 {
  color: var(--warm-ivory);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}
.impact-header p {
  color: var(--muted-sage);
  line-height: 1.5;
  font-size: clamp(0.85rem, 0.95vw, 0.98rem);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.5vw, 24px);
  width: 100%;
  margin-bottom: 1%;
}
.stat {
  text-align: center;
  padding: clamp(12px, 2vh, 26px) clamp(10px, 1.2vw, 16px);
  border: 1px solid rgba(244, 232, 220, 0.12);
  border-radius: 16px;
}
.stat-icon {
  width: clamp(24px, 3.5vh, 34px);
  height: clamp(24px, 3.5vh, 34px);
  margin: 0 auto 10px;
  color: var(--soft-gold);
}
.stat-icon svg {
  width: 100%;
  height: 100%;
}
.stat .n {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: var(--warm-ivory);
}
.stat-divider {
  width: 24px;
  height: 2px;
  background: var(--soft-gold);
  margin: 8px auto;
}
.stat .l {
  font-size: clamp(0.75rem, 0.8vw, 0.85rem);
  color: var(--muted-sage);
  letter-spacing: 0.02em;
}

/* CTA band — lives as a banner inside the Impact section */
.cta-band {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  min-height: clamp(180px, 18vw, 240px);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(197, 167, 106, 0.25);
  background: var(--deep-forest);
}
.cta-band-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  z-index: 0;
}
.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta-band-text {
  position: relative;
  z-index: 1;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-band h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--warm-ivory);
  line-height: 1.25;
  text-align: center;
}
.cta-band p {
  color: var(--sand);
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  margin: 0;
  text-align: center;
  max-width: 520px;
}
.cta-band .btn {
  margin-top: 6px;
  align-self: center;
  background: var(--soft-gold);
  color: var(--deep-forest);
  padding: 11px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
}
.cta-band .btn:hover {
  background: var(--warm-ivory);
  color: var(--deep-forest);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .values-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0 var(--gutter) 8px;
    width: 100%;
    margin-inline: 0;
    overflow: visible;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-inline: 0;
  }
  .stat {
    padding: 16px 10px;
  }
}

@media (max-width: 900px) {
  .offer-intro {
    grid-template-columns: 1fr;
  }
  .story {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    height: auto;
    max-height: none;
    padding-block: 72px;
  }
  .story-img-wrap {
    order: 2;
  }
  .story-content {
    order: 1;
  }
  .story-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .story-img-wrap {
    display: block;
    width: min(100%, 420px);
    max-height: none;
    border-radius: 28px;
  }
  .story-img img {
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .approach {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    padding-block: 72px;
  }
  .approach-img {
    display: block;
    height: 320px;
    margin-top: 24px;
    border-radius: 28px;
    padding-inline: 18px;
  }
  .approach-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .approach-content .btn {
    align-self: center;
  }

  .offer-intro {
    height: auto;
    max-height: none;
    padding-block: 72px;
  }
  .offer-left-panel {
    border-right: none;
    border-bottom: 1px solid rgba(30, 39, 25, 0.08);
    padding: 22px var(--gutter) 18px;
    width: 100%;
  }
  .services-interactive {
    display: none;
  }
  .services-visual {
    display: none;
  }
  .services-carousel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 18px var(--gutter) 22px;
    width: 100%;
    height: auto;
    gap: 14px;
  }
  .services-carousel-head {
    display: none;
  }
  .offer-head {
    margin-bottom: 14px;
    text-align: center;
    width: 100%;
  }
  .offer-head h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  .offer-head p {
    margin-inline: auto;
    max-width: 38rem;
  }
  .services-carousel-head h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.7rem);
    color: var(--deep-forest);
    line-height: 1.2;
  }
  .services-carousel .carousel-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    animation: servicesCarouselScroll 70s linear infinite;
  }
  .carousel-card {
    width: clamp(170px, 70vw, 240px);
    height: clamp(220px, 58vw, 300px);
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 10px 0 0;
    width: 100%;
    margin-inline: 0;
  }

  .cta-band {
    min-height: 210px;
  }
}

@media (max-width: 640px) {
  .hero,
  .story,
  .values,
  .approach,
  .offer-intro,
  .impact {
    height: auto;
    max-height: none;
    min-height: auto;
    padding-block: 64px;
  }

  .hero {
    min-height: 100svh;
    padding-block: 0;
  }

  .hero {
    padding: 0;
  }

  .story-img-wrap,
  .approach-img,
  .cta-band-media {
    border-radius: 28px;
  }

  .story-img-wrap {
    width: 100%;
  }

  .approach-img {
    height: 240px;
    padding-inline: 16px;
  }

  .cta-band {
    min-height: 180px;
  }
}
.hero-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-cta-buttons .btn {
  min-width: 180px;
}
@media (max-width: 768px) {
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .hero-cta-buttons .btn {
    width: 100%;
    max-width: 260px;
    margin: 0 !important;
  }
}
.hero-cta-buttons {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.hero-cta-buttons .btn {
  min-width: 220px;
}
.hero-cta-buttons {
  display: flex !important;
  /* flex-direction: column !important; */
  align-items: center !important;
  gap: 16px !important;
  margin-top: 32px;
}

.hero-cta-buttons .btn {
  min-width: 220px;
  margin: 0 !important;
}
