/* ============================================
   Environment Page — Minimal Style
   ============================================ */

/* ── Full-Width Hero ── */
.env-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.env-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.env-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: envKenBurns 20s ease-in-out infinite alternate;
}

@keyframes envKenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.env-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: 0;
}

.env-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
}

.env-hero__label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: envFadeIn 0.7s 0.3s ease forwards;
}

.env-hero__heading {
  font-size: 3.2rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(30px);
  animation: envFadeIn 0.8s 0.5s ease forwards;
}

.env-hero__sub {
  font-size: 1rem;
  color: #333;
  line-height: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: envFadeIn 0.8s 0.7s ease forwards;
}

@keyframes envFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.env-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.env-hero__scroll span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}

.env-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.env-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #93c5fd;
  animation: envScrollLine 2s infinite;
}

@keyframes envScrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ── Shared Section Styles ── */
.env-section {
  padding: 80px 0;
}

.env-section__header {
  margin-bottom: 24px;
}

.env-section__label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a3a5c;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.env-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.4;
}

.env-section__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 40px;
}

/* ── Data Infographic ── */
/* ── Numbers Grid ── */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.numbers-grid.is-visible .numbers-card {
  opacity: 1;
  transform: translateY(0);
}

.numbers-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.numbers-card:nth-child(1) { transition-delay: 0s; }
.numbers-card:nth-child(2) { transition-delay: 0.08s; }
.numbers-card:nth-child(3) { transition-delay: 0.16s; }
.numbers-card:nth-child(4) { transition-delay: 0.24s; }
.numbers-card:nth-child(5) { transition-delay: 0.32s; }
.numbers-card:nth-child(6) { transition-delay: 0.4s; }
.numbers-card:nth-child(7) { transition-delay: 0.48s; }
.numbers-card:nth-child(8) { transition-delay: 0.56s; }
.numbers-card:nth-child(9) { transition-delay: 0.64s; }

.numbers-card:hover {
  box-shadow: 0 8px 32px rgba(26, 58, 92, 0.12);
}

.numbers-card__sub-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 8px;
}

.numbers-card__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.numbers-card__num,
.numbers-card__num-static {
  font-family: var(--font-en, 'Inter', sans-serif);
  font-size: 3.2rem;
  font-weight: 800;
  color: #1a3a5c;
  line-height: 1;
}

.numbers-card__colon {
  font-family: var(--font-en, 'Inter', sans-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a3a5c;
  margin: 0 4px;
}

.numbers-card__unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-left: 2px;
}

.numbers-card__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 12px;
}

.numbers-card__note {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.7;
  margin-top: 8px;
}

/* Bar chart */
.numbers-card__bar-group {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.numbers-card__bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}

.numbers-card__bar-label {
  width: 32px;
  text-align: right;
  font-weight: 600;
  color: #1a3a5c;
  flex-shrink: 0;
}

.numbers-card__bar-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.numbers-card__bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1a3a5c, #3b82f6);
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.numbers-card__bar-pct {
  width: 32px;
  font-weight: 600;
  color: #475569;
  flex-shrink: 0;
}

/* Donut chart */
.numbers-card__donut {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.numbers-card__donut-svg {
  width: 80px;
  height: 80px;
}

.numbers-card__donut-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: #475569;
}

.numbers-card__donut-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 2px;
}

.numbers-card__donut-dot--m { background: #1a3a5c; }
.numbers-card__donut-dot--f { background: #60a5fa; }

@media (max-width: 768px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .numbers-card { padding: 24px 16px; }
  .numbers-card__num,
  .numbers-card__num-static { font-size: 2.4rem; }
}

@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ── Benefits ── */
/* ── Benefits Showcase (icon-centered tiles) ── */
/* ── Benefits Slider ── */
.benefits-slider {
  position: relative;
  overflow: hidden;
}

.benefits-slider__track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  user-select: none;
}

.benefits-slider__track:active { cursor: grabbing; }

.benefit-tile {
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px 24px 36px;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-tile:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(26, 58, 92, 0.1);
}

.benefit-tile__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(26, 58, 92, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}

.benefit-tile:hover .benefit-tile__icon {
  background: var(--color-primary);
  transform: scale(1.1) rotate(-4deg);
}

.benefit-tile__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.benefit-tile:hover .benefit-tile__icon svg {
  color: #fff;
}

.benefit-tile__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 6px;
}

.benefit-tile__desc {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Holiday tile — accent style */
.benefit-tile--holiday {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.benefit-tile--holiday .benefit-tile__icon {
  background: rgba(255, 255, 255, 0.15);
}

.benefit-tile--holiday:hover .benefit-tile__icon {
  background: rgba(255, 255, 255, 0.25);
}

.benefit-tile--holiday .benefit-tile__icon svg {
  color: #fff;
}

.benefit-tile--holiday .benefit-tile__title {
  color: #fff;
}

.benefit-tile--holiday .benefit-tile__desc {
  color: rgba(255, 255, 255, 0.8);
}

.benefit-tile--holiday:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(26, 58, 92, 0.2);
}

/* Slider controls */
.benefits-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.benefits-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(26, 58, 92, 0.2);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.benefits-slider__btn:hover {
  background: #1a3a5c;
  border-color: #1a3a5c;
}

.benefits-slider__btn svg {
  width: 20px;
  height: 20px;
  color: #1a3a5c;
  transition: color 0.3s ease;
}

.benefits-slider__btn:hover svg { color: #fff; }

.benefits-slider__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.benefits-slider__btn:disabled:hover {
  background: #fff;
  border-color: rgba(26, 58, 92, 0.2);
}

.benefits-slider__btn:disabled:hover svg { color: #1a3a5c; }

.benefits-slider__dots {
  display: flex;
  gap: 8px;
}

.benefits-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26, 58, 92, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.benefits-slider__dot.is-active {
  background: #1a3a5c;
  transform: scale(1.2);
}

/* ── Growth Steps ── */
.growth-steps {
  display: flex;
  gap: 0;
  position: relative;
}

/* Horizontal connecting line */
.growth-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, #1a3a5c, #06b6d4);
  z-index: 0;
}

.growth-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.growth-step__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1a3a5c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.growth-step:hover .growth-step__icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.growth-step__icon svg {
  width: 36px;
  height: 36px;
  color: #1a3a5c;
}

.growth-step__card {
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  flex: 1;
  margin: 0 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.growth-step:hover .growth-step__card {
  border-color: #1a3a5c;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.growth-step__en {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 4px;
}

.growth-step__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 12px;
}

.growth-step__desc {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.8;
  text-align: left;
}

.growth-step__year {
  margin-top: 16px;
  background: #1a3a5c;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── Page Nav Cards (Hubble-style) ── */
/* ── Nav Photo Overlay Cards ── */
.env-nav-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.env-nav-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
}

.env-nav-photo-card__img {
  position: absolute;
  inset: 0;
}

.env-nav-photo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.env-nav-photo-card:hover .env-nav-photo-card__img img {
  transform: scale(1.08);
}

.env-nav-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.15) 60%,
    transparent 100%
  );
  z-index: 1;
  transition: background 0.4s ease;
}

.env-nav-photo-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.env-nav-photo-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.env-nav-photo-card__label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.env-nav-photo-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* ── CTA ── */
.cta-section { position: relative; padding: 100px 0; }
.cta-section__bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--color-black) 0%, #1a365d 50%, #1e40af 100%); z-index: -1; }
.cta-section__content { text-align: center; color: #fff; }
.cta-section__title { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 32px; line-height: 1.6; }
.cta-section__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Photo Band (full-bleed) ── */
.photo-band {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 8px 0;
}

.photo-band__track {
  display: flex;
  gap: 12px;
  padding: 0;
  /* Total width exceeds viewport so last image bleeds off-screen */
  min-width: calc(100vw + 200px);
}

.photo-band__item {
  flex: 1 0 22%;
  min-width: 260px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
}

.photo-band__item--wide {
  flex: 1.5 0 30%;
  min-width: 380px;
}

.photo-band__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.photo-band__item:hover img {
  transform: scale(1.05);
}

/* Parallax-like scroll offset for variety */
.photo-band__item:nth-child(odd) {
  margin-top: 20px;
}

.photo-band__item:nth-child(even) {
  margin-top: 0;
}

/* Reverse band shifts the other direction */
.photo-band--reverse .photo-band__item:nth-child(odd) {
  margin-top: 0;
}

.photo-band--reverse .photo-band__item:nth-child(even) {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .photo-band__item { min-width: 200px; height: 180px; }
  .photo-band__item--wide { min-width: 280px; }
}

@media (max-width: 480px) {
  .photo-band__item { min-width: 160px; height: 140px; }
  .photo-band__item--wide { min-width: 220px; }
}

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Container triggers — don't animate the container itself, just trigger children */
.benefits-slider.fade-in,
.growth-steps.fade-in,
.env-nav-row.fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Growth steps stagger */
.growth-steps > .growth-step {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.growth-steps.is-visible > .growth-step:nth-child(1) { transition-delay: 0.1s; }
.growth-steps.is-visible > .growth-step:nth-child(2) { transition-delay: 0.2s; }
.growth-steps.is-visible > .growth-step:nth-child(3) { transition-delay: 0.3s; }
.growth-steps.is-visible > .growth-step:nth-child(4) { transition-delay: 0.4s; }
.growth-steps.is-visible > .growth-step:nth-child(5) { transition-delay: 0.5s; }

.growth-steps.is-visible > .growth-step {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Nav photo cards stagger */
.env-nav-row > .env-nav-photo-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.env-nav-row.is-visible > .env-nav-photo-card:nth-child(1) { transition-delay: 0.05s; }
.env-nav-row.is-visible > .env-nav-photo-card:nth-child(2) { transition-delay: 0.15s; }

.env-nav-row.is-visible > .env-nav-photo-card {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .env-hero { min-height: 50vh; }
  .env-hero__heading { font-size: 2.4rem; }
  .env-hero__scroll { display: none; }
  .env-section { padding: 60px 0; }
  .env-section__title { font-size: 1.4rem; }
  .benefit-tile { flex: 0 0 calc((100% - 20px) / 2); }
}

@media (max-width: 480px) {
  .benefit-tile { flex: 0 0 calc(100% - 20px); }
  .growth-steps {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .growth-steps::before {
    top: 0;
    bottom: 0;
    left: 40px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .growth-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }
  .growth-step__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }
  .growth-step__icon svg { width: 28px; height: 28px; }
  .growth-step__card { margin: 0; text-align: left; }
  .growth-step__year {
    position: absolute;
    bottom: -8px;
    left: 12px;
    padding: 6px 16px;
    font-size: 0.75rem;
  }
  .env-nav-row { grid-template-columns: 1fr; }
  .cta-section__title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .env-page-title__en { font-size: 2rem; }
  .env-section__title { font-size: 1.2rem; }
}
