/* ==========================================
   SUCCESS STORY PAGE
   ========================================== */

.ss-page-body {
  background: #ffffff;
}

.ss-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--premium-gold, #c5a059);
}

.ss-kicker--light {
  color: rgba(197, 160, 89, 0.95);
}

.ss-head {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.ss-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-main, 'DM Sans', sans-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--primary-color, #076d9e);
}

.ss-head p:last-child {
  margin: 0;
  color: #4b616c;
  font-size: 1.02rem;
  line-height: 1.6;
}

.ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 12px;
  font-family: var(--font-main, 'DM Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ss-btn:hover {
  transform: translateY(-1px);
}

.ss-btn--light {
  background: #e6eff4;
  color: #076d9e;
}

.ss-btn--light:hover {
  background: #fff;
  color: #0a3f5c;
}

.ss-btn--solid {
  background: #fff;
  color: #0a3f5c;
}

.ss-btn--solid:hover {
  background: #e6eff4;
}

.ss-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.ss-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Hero */
.ss-hero {
  position: relative;
  min-height: min(90vh, 780px);
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 0 4rem;
  overflow: hidden;
  color: #fff;
}

.ss-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ss-hero__media picture,
.ss-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-hero__media img {
  transform: scale(1.05);
  animation: ssHeroZoom 9s ease-out both;
}

.ss-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 25, 34, 0.86) 0%, rgba(6, 25, 34, 0.55) 48%, rgba(6, 25, 34, 0.28) 100%),
    linear-gradient(0deg, rgba(6, 25, 34, 0.7) 0%, transparent 52%);
}

.ss-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  animation: ssFadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.ss-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.ss-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ss-breadcrumb a:hover {
  color: #fff;
}

.ss-hero__brand {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.ss-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}

.ss-hero__text {
  margin: 0 0 1.5rem;
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(252, 248, 237, 0.9);
}

/* Journey timeline */
.ss-journey {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 55% 45% at 8% 0%, rgba(7, 109, 158, 0.07), transparent 55%),
    #ffffff;
}

.ss-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  counter-reset: none;
}

.ss-timeline li {
  position: relative;
  padding-top: 1.15rem;
  border-top: 2px solid rgba(7, 109, 158, 0.18);
}

.ss-timeline li::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color, #076d9e);
  box-shadow: 0 0 0 4px rgba(7, 109, 158, 0.12);
}

.ss-timeline strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--premium-gold, #c5a059);
}

.ss-timeline h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color, #076d9e);
}

.ss-timeline p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #5f5f5f;
}

/* Awards / features */
.ss-awards {
  padding: clamp(3rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 3.5rem);
  background: #fff;
}

.ss-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ss-feature:last-child {
  margin-bottom: 0;
}

.ss-feature--reverse .ss-feature__copy {
  order: 2;
}

.ss-feature--reverse .ss-feature__visual {
  order: 1;
}

.ss-feature__copy h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-color, #076d9e);
}

.ss-feature__copy > p {
  margin: 0 0 1rem;
  color: #555;
  font-size: 1.02rem;
  line-height: 1.7;
}

.ss-feature__copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ss-feature__copy li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #304650;
}

.ss-feature__copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary-color, #076d9e);
}

.ss-feature__visual {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #e6eff4;
  aspect-ratio: 4 / 3;
  box-shadow: 0 22px 50px -28px rgba(7, 109, 158, 0.4);
}

.ss-feature__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ss-feature__visual:hover img {
  transform: scale(1.04);
}

/* Gallery */
.ss-moments {
  padding: clamp(3rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(197, 160, 89, 0.12), transparent 55%),
    #ffffff;
}

.ss-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

.ss-gallery__item {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #e0eaef;
  box-shadow: 0 14px 32px -22px rgba(7, 109, 158, 0.35);
}

.ss-gallery__item:nth-child(1),
.ss-gallery__item:nth-child(6) {
  grid-column: span 2;
  aspect-ratio: 21 / 10;
}

.ss-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ss-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 25, 34, 0.78) 0%, transparent 55%);
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.ss-gallery__item figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ss-gallery__item:hover img {
  transform: scale(1.05);
}

.ss-gallery__item:hover::after {
  opacity: 1;
}

/* CTA */
.ss-cta {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(197, 160, 89, 0.18), transparent 60%),
    #0a3f5c;
  color: #fff;
}

.ss-cta__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.ss-cta__inner h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}

.ss-cta__inner > p:not(.ss-kicker) {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.6;
}

.ss-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@keyframes ssFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ssHeroZoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.05);
  }
}

@media (max-width: 991.98px) {
  .ss-hero {
    min-height: 74vh;
    padding: 6.5rem 0 3rem;
  }

  .ss-hero__shade {
    background:
      linear-gradient(0deg, rgba(6, 25, 34, 0.88) 0%, rgba(6, 25, 34, 0.45) 55%, rgba(6, 25, 34, 0.28) 100%);
  }

  .ss-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .ss-feature,
  .ss-feature--reverse .ss-feature__copy,
  .ss-feature--reverse .ss-feature__visual {
    grid-template-columns: 1fr;
  }

  .ss-feature--reverse .ss-feature__copy,
  .ss-feature--reverse .ss-feature__visual {
    order: initial;
  }

  .ss-feature__visual {
    aspect-ratio: 16 / 11;
  }

  .ss-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .ss-gallery__item:nth-child(1),
  .ss-gallery__item:nth-child(6) {
    grid-column: span 2;
  }
}

@media (max-width: 575.98px) {
  .ss-hero__brand {
    font-size: 1.85rem;
  }

  .ss-timeline {
    grid-template-columns: 1fr;
  }

  .ss-gallery {
    grid-template-columns: 1fr;
  }

  .ss-gallery__item:nth-child(1),
  .ss-gallery__item:nth-child(6),
  .ss-gallery__item {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .ss-cta__actions {
    flex-direction: column;
  }

  .ss-cta__actions .ss-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ss-hero__inner,
  .ss-hero__media img,
  .ss-feature__visual img,
  .ss-gallery__item img {
    animation: none !important;
    transition: none !important;
  }
}
