﻿:root {
  --brand-900: #1f285f;
  --brand-700: #30387a;
  --brand-600: #3a4388;
  --brand-500: #5b67b3;
  --brand-100: #eceffa;
  --mint-400: #50c8c8;
  --sun-300: #f1d573;
}

.landing-page {
  background:
    radial-gradient(960px 440px at 86% -12%, rgba(58, 67, 136, 0.14), transparent 60%),
    radial-gradient(760px 380px at -8% 30%, rgba(80, 200, 200, 0.13), transparent 56%),
    #f7f8fd;
}

.text-brand-ink {
  color: var(--brand-900);
}

.bg-pulse {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(58, 67, 136, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(58, 67, 136, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 48% 38%, black 42%, transparent 80%);
  pointer-events: none;
}

.section-wrap {
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, rgba(236, 239, 250, 0.64), rgba(236, 239, 250, 0.28));
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand-500);
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-600), transparent);
}

.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--brand-900);
}

.section-text {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.7;
  color: #4c5687;
}

.text-balance {
  text-wrap: balance;
}

.btn-primary,
.btn-secondary,
.btn-light,
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  padding: 0.78rem 1.35rem;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.btn-primary {
  border: 1px solid #374199;
  color: #ffffff;
  background: linear-gradient(130deg, #3a4388, #2d356f);
  box-shadow: 0 18px 36px -24px rgba(33, 43, 109, 0.95);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -24px rgba(33, 43, 109, 0.95);
}

.btn-secondary {
  border: 1px solid #c4caed;
  background: #ffffff;
  color: var(--brand-700);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #a5afe4;
  box-shadow: 0 15px 28px -24px rgba(58, 67, 136, 0.8);
}

.btn-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #ffffff;
  color: var(--brand-700);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -22px rgba(255, 255, 255, 0.9);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #ffffff;
}

.btn-ghost-light:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.stat-card {
  border-radius: 1rem;
  border: 1px solid #d9def5;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.95rem 1rem;
  box-shadow: 0 14px 26px -24px rgba(58, 67, 136, 0.85);
}

.stat-value {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--brand-900);
}

.stat-label {
  margin: 0.16rem 0 0;
  font-size: 0.81rem;
  color: #5d6795;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid #d4daf4;
  background: #e9edf9;
  box-shadow: 0 20px 38px -28px rgba(39, 51, 126, 0.9);
}

.hero-frame {
  min-height: 25rem;
}

.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-frame:hover .media-image {
  transform: scale(1.025);
}

.image-note {
  margin: 0;
  padding: 0.56rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #4f5b97;
  background: rgba(247, 248, 253, 0.92);
  border-top: 1px solid #d4daf4;
}

.image-note code {
  font-family: "Nunito Sans", sans-serif;
}

.floating-card {
  position: absolute;
  z-index: 2;
  border: 1px solid #cad2f3;
  border-radius: 0.92rem;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 32px -24px rgba(44, 54, 124, 0.95);
  animation: float-card 3.6s ease-in-out infinite;
}

.floating-card-a {
  left: -1.2rem;
  bottom: 1.5rem;
}

.floating-card-b {
  right: -1.2rem;
  top: 1.8rem;
  animation-delay: 1.2s;
}

.floating-title {
  margin: 0;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a74a8;
}

.floating-value {
  margin: 0.18rem 0 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-900);
}

.feature-pill {
  border: 1px solid #d0d6f3;
  border-radius: 999px;
  padding: 0.5rem 0.78rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #3f4a89;
  background: #f7f8ff;
}

.services-carousel {
  border: 1px solid #d6dcf4;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.66);
  padding: 1rem;
  box-shadow: 0 16px 34px -28px rgba(58, 67, 136, 0.86);
}

.carousel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.carousel-hint {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #616ea8;
}

.carousel-actions {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.carousel-btn {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #c9d1f2;
  border-radius: 0.8rem;
  background: #ffffff;
  color: #2f397b;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  border-color: #a9b4e8;
  background: #f8f9ff;
}

.carousel-btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.3rem;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  scroll-snap-align: start;
  min-width: 0;
  flex: 0 0 100%;
  width: 100%;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  margin-top: 0.9rem;
}

.carousel-dot {
  width: 0.52rem;
  height: 0.52rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #c6cdeb;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-dot.is-active {
  transform: scale(1.3);
  background: #3a4388;
}

.service-card {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #d6dcf4;
  background: #ffffff;
  box-shadow: 0 16px 30px -26px rgba(58, 67, 136, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px -28px rgba(58, 67, 136, 0.95);
}

.service-media {
  margin: 0;
  height: 13rem;
  overflow: hidden;
  border-bottom: 1px solid #d6dcf4;
}

.service-body {
  padding: 1.2rem 1.2rem 1.3rem;
}

.service-body h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--brand-900);
}

.service-body p {
  margin: 0.78rem 0 0;
  font-size: 0.99rem;
  line-height: 1.64;
  color: #4e5a8f;
}

.carousel-slide .service-body h3 {
  font-size: 1.55rem;
  line-height: 1.15;
}

.timeline-grid {
  display: grid;
  gap: 0.7rem;
}

.timeline-item {
  border: 1px solid #d8def5;
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.85rem 0.95rem;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.78rem;
  height: 1.78rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #3a4388, #4f5ebb);
}

.timeline-item p {
  margin: 0;
  color: #4f5b8e;
  line-height: 1.5;
}

.mini-frame {
  min-height: 11.7rem;
}

.quote-card {
  border: 1px solid #d7ddf4;
  border-radius: 1.12rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 1.4rem;
  box-shadow: 0 16px 30px -28px rgba(58, 67, 136, 0.85);
}

.quote-card p {
  margin: 0;
  color: #313f83;
  line-height: 1.72;
  font-size: 1.05rem;
}

.quote-card span {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #5f6ba1;
}

.team-card {
  border: 1px solid #d4daf3;
  border-radius: 1.2rem;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 16px 30px -27px rgba(58, 67, 136, 0.85);
}

.team-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 0.92rem;
  border: 1px solid #d8ddf5;
  height: 15rem;
}

.team-photo .media-image {
  object-position: center top;
}

.team-photo--portrait .media-image {
  object-position: center 14%;
}

.team-photo--wide .media-image {
  object-position: center 20%;
}

.team-card h3 {
  margin: 0.9rem 0 0;
  font-size: 1.25rem;
  color: var(--brand-900);
}

.team-card p {
  margin: 0.3rem 0 0;
  color: #4f5c92;
}

.team-card small {
  display: block;
  margin-top: 0.7rem;
  color: #6672a8;
}

.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.team-overview {
  margin-top: 1rem;
  border: 1px solid #d4daf3;
  border-radius: 1.25rem;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 30px -27px rgba(58, 67, 136, 0.85);
}

.team-overview-media {
  margin: 0;
  border-bottom: 1px solid #d8ddf5;
  height: 16.5rem;
  overflow: hidden;
}

.team-overview-media .media-image {
  object-position: center 12%;
}

.team-overview-body {
  padding: 1rem 1.05rem 1.1rem;
}

.team-overview-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5f6ba1;
  font-weight: 800;
}

.team-overview-body h3 {
  margin: 0.4rem 0 0;
  color: var(--brand-900);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.25;
}

.team-overview-body p {
  margin: 0.55rem 0 0;
  color: #4f5c92;
  line-height: 1.58;
}

.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.45rem;
  background:
    radial-gradient(320px 200px at 94% -10%, rgba(241, 213, 115, 0.35), transparent 70%),
    radial-gradient(300px 180px at -6% 120%, rgba(80, 200, 200, 0.33), transparent 72%),
    linear-gradient(135deg, #1e2760, #3a4388 54%, #4b55a6);
  padding: clamp(1.5rem, 4vw, 2.3rem);
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] {
  transition-delay: 120ms;
}

[data-delay="2"] {
  transition-delay: 220ms;
}

[data-delay="3"] {
  transition-delay: 320ms;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 639px) {
  .section-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .section-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
    line-height: 1.14;
  }

  .section-text {
    font-size: 0.97rem;
    line-height: 1.62;
  }

  .btn-primary,
  .btn-secondary,
  .btn-light,
  .btn-ghost-light {
    width: 100%;
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
  }

  .services-carousel {
    padding: 0.78rem;
    border-radius: 1rem;
  }

  .carousel-top {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.72rem;
  }

  .carousel-hint {
    width: 100%;
    text-align: center;
    font-size: 0.71rem;
  }

  .service-media {
    height: 11.2rem;
  }

  .carousel-track {
    gap: 0.78rem;
    padding-bottom: 0.2rem;
  }

  .service-body {
    padding: 1rem;
  }

  .service-body h3 {
    font-size: 1.36rem;
    line-height: 1.12;
  }

  .service-body p {
    font-size: 0.93rem;
    line-height: 1.52;
  }

  .quote-card,
  .team-card {
    padding: 0.92rem;
  }

  .quote-card p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .team-photo {
    height: auto;
    aspect-ratio: 4 / 5;
    background: #eef2fb;
  }

  .team-photo--wide {
    aspect-ratio: 16 / 10;
  }

  .team-photo .media-image {
    object-fit: cover;
    object-position: center top;
  }

  .team-photo--portrait .media-image {
    object-position: center 12%;
  }

  .team-photo--wide .media-image {
    object-position: center 20%;
  }

  .team-overview {
    margin-top: 0.85rem;
  }

  .team-overview-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .team-overview-media .media-image {
    object-fit: cover;
    object-position: center 8%;
  }

  .team-overview-body {
    padding: 0.9rem 0.92rem 1rem;
  }

  .team-overview-body p {
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .cta-panel {
    border-radius: 1rem;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .hero-frame {
    min-height: 16.8rem;
  }

  .carousel-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.7rem;
  }

  .image-note {
    font-size: 0.69rem;
    padding: 0.5rem 0.7rem;
  }

  .service-body h3 {
    font-size: 1.24rem;
  }
}

@media (max-width: 1023px) {
  .carousel-track {
    gap: 0.9rem;
  }

  .floating-card {
    position: static;
    margin-top: 0.8rem;
    animation: none;
  }

  .hero-frame {
    min-height: 20rem;
  }

  .service-body h3 {
    font-size: 1.45rem;
  }
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 640px) {
  .carousel-slide {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (min-width: 1280px) {
  .team-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .team-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .team-overview-media {
    height: 100%;
    min-height: 19rem;
    border-bottom: 0;
    border-right: 1px solid #d8ddf5;
  }

  .team-overview-body {
    padding: 1.2rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 1280px) {
  .carousel-slide {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .floating-card,
  .media-image,
  .service-card,
  .carousel-btn,
  .carousel-dot,
  .btn-primary,
  .btn-secondary,
  .btn-light,
  .btn-ghost-light {
    animation: none;
    transition: none;
  }
}
