/* ============================================
   TOKENS
   ============================================ */
:root {
  --navy: #0A2E5C;
  --navy-soft: #123a72;
  --blue: #1D5FA8;
  --sky: #4A90D9;
  --white: #FFFFFF;
  --pale: #F4F7FB;
  --charcoal: #333333;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-height: 84px;
  --nav-height-mobile: 68px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ============================================
   ANIMATE.CSS TUNING
   ============================================ */
:root {
  --animate-duration: 0.85s;
  --animate-delay: 0s;
}

/* Hidden until the entrance animation is applied by JS — prevents any
   flash of unanimated content before the class is added. */
[data-animate] {
  opacity: 0;
}

[data-animate].animate__animated {
  opacity: 1;
}

/* Respect users who've asked for reduced motion: skip the animation
   library entirely and just show content immediately. */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn--lg {
  padding: 1rem 2.1rem;
  font-size: 1rem;
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}
.btn--outline:disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(10, 46, 92, 0.08);
  height: 72px;
}

.navbar__inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: #fff;
}

.navbar__logo-img {
  height: 62px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
  transition: height 0.35s var(--ease);
}

.navbar.is-scrolled .navbar__logo-img {
  height: 50px;
  filter: drop-shadow(0 2px 6px rgba(10, 46, 92, 0.1));
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex: 1;
  justify-content: center;
}

.navbar__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}

.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--sky);
  transition: width 0.3s var(--ease);
}

.navbar__link:hover::after,
.navbar__link.is-active::after {
  width: 100%;
}

.navbar.is-scrolled .navbar__link {
  color: var(--charcoal);
}

.navbar.is-scrolled .navbar__link.is-active,
.navbar.is-scrolled .navbar__link:hover {
  color: var(--navy);
}

.navbar__actions { flex-shrink: 0; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  flex-shrink: 0;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.navbar.is-scrolled .navbar__toggle span { background: var(--navy); }

.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  top: var(--nav-height-mobile);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem 2.5rem;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__link {
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--pale);
}

.mobile-menu__cta {
  margin-top: 1.5rem;
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero__video.is-active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 46, 92, 0.55) 0%, rgba(10, 46, 92, 0.35) 35%, rgba(10, 46, 92, 0.55) 75%, rgba(10, 46, 92, 0.8) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--white);
  margin-top: -2rem;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin: 0 0 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.08;
  margin: 0 0 1.4rem;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Index / progress dots naming each video */
.hero__index {
  position: absolute;
  z-index: 2;
  bottom: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
}

.hero__index-dot {
  background: none;
  border: none;
  padding: 0 0 0.9rem;
  position: relative;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
}

.hero__index-dot::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.hero__index-dot::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--sky);
  z-index: 1;
  transition: width 0.2s linear;
}

.hero__index-dot.is-active {
  color: var(--white);
}

.hero__index-dot.is-active::before {
  animation: fillDot 8s linear forwards;
}

@keyframes fillDot {
  from { width: 0%; }
  to { width: 100%; }
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 2.75rem;
  right: 2.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__scroll span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(45deg);
  margin-top: -4px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(3px, 3px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .navbar__nav { gap: 1.4rem; }
  .navbar__inner { padding: 0 1.5rem; }
}

@media (max-width: 860px) {
  .navbar__nav,
  .navbar__actions {
    display: none;
  }
  .navbar__toggle {
    display: flex;
  }
  .navbar {
    height: var(--nav-height-mobile);
  }
  .navbar.is-scrolled {
    height: var(--nav-height-mobile);
  }
  .navbar__logo-img,
  .navbar.is-scrolled .navbar__logo-img {
    height: 46px;
  }

  .hero__scroll { display: none; }
  .hero__index {
    gap: 1.1rem;
    bottom: 2rem;
    max-width: 90%;
  }
  .hero__index-label {
    font-size: 0.68rem;
  }
}

@media (max-width: 560px) {
  .navbar__inner { padding: 0 1.25rem; }
  .navbar__logo-text { font-size: 1.1rem; }

  .hero__content { margin-top: -1rem; }
  .hero__subtitle { margin-bottom: 1.75rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__index {
    bottom: 1.5rem;
    gap: 0.75rem;
  }
  .hero__index-dot { padding-bottom: 0.7rem; }
}

@media (max-width: 400px) {
  .hero__index-label { display: none; }
  .hero__index-dot {
    width: 28px;
    height: 4px;
    padding: 0;
  }
  .hero__index-dot::after,
  .hero__index-dot::before {
    top: 0;
    bottom: auto;
    height: 100%;
  }
}

/* ============================================
   SECTION HEADERS (shared)
   ============================================ */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #5b6472;
  max-width: 600px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  position: relative;
  padding: 6rem 2rem 4rem;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

/* Accent color tokens sampled from the logo's balloons */
:root {
  --accent-purple: #A02496;
  --accent-blue: #0080D7;
  --accent-pink: #F73083;
  --accent-yellow: #F2C200;
  --accent-green: #56B229;
  --accent-orange: #FF9F0A;
}

.services__confetti {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  border-radius: 3px;
  opacity: 0.16;
}

.confetti--1 { width: 14px; height: 14px; top: 8%;  left: 4%;  background: var(--accent-pink); transform: rotate(18deg); border-radius: 50%; }
.confetti--2 { width: 18px; height: 18px; top: 20%; right: 6%; background: var(--accent-yellow); transform: rotate(-12deg); }
.confetti--3 { width: 12px; height: 12px; top: 55%; left: 2%;  background: var(--accent-blue); border-radius: 50%; }
.confetti--4 { width: 16px; height: 16px; bottom: 12%; right: 4%; background: var(--accent-purple); transform: rotate(30deg); }
.confetti--5 { width: 10px; height: 10px; bottom: 30%; left: 7%; background: var(--accent-green); border-radius: 50%; }
.confetti--6 { width: 14px; height: 14px; top: 40%; right: 12%; background: var(--accent-orange); transform: rotate(-20deg); }

.services__header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.services__header .section-subtitle {
  max-width: 100%;
  margin: 0 auto;
}

.services__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ECEFF4;
  box-shadow: 0 10px 30px rgba(10, 46, 92, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(10, 46, 92, 0.14);
}

/* Bigger feature tile: first card spans 2 columns + 2 rows on desktop */
.service-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.service-card:nth-child(1) .service-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 260px;
}

.service-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: linear-gradient(135deg, var(--pale) 0%, #E3EAF4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .service-card__img {
  transform: scale(1.06);
}

.service-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(10, 46, 92, 0.06) 49%, rgba(10, 46, 92, 0.06) 51%, transparent 52%);
  transition: transform 0.5s var(--ease);
}

.service-card:hover .service-card__media::before {
  transform: scale(1.08) rotate(2deg);
}

.service-card__placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-link, #9AA7BC);
  opacity: 0.6;
}

.service-card__placeholder svg {
  width: 34px;
  height: 34px;
}

.service-card__placeholder span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 18px rgba(10, 46, 92, 0.18);
}

.service-card__badge svg {
  width: 20px;
  height: 20px;
}

.service-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.service-card:nth-child(1) .service-card__title {
  font-size: 2.6rem;
}

.service-card__text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #5b6472;
  margin: 0 0 0.9rem;
  flex: 1;
}

.service-card__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-link, var(--blue));
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
  transition: gap 0.25s var(--ease);
  background: none;
  border: none;
}

.service-card__link:hover {
  gap: 0.55rem;
}

/* Accent color assignment per card */
.service-card.accent-purple { --accent-link: var(--accent-purple); }
.service-card.accent-blue   { --accent-link: var(--accent-blue); }
.service-card.accent-pink   { --accent-link: var(--accent-pink); }
.service-card.accent-yellow { --accent-link: #B38A00; }
.service-card.accent-green  { --accent-link: var(--accent-green); }
.service-card.accent-orange { --accent-link: var(--accent-orange); }

.service-card.accent-purple .service-card__badge { background: var(--accent-purple); }
.service-card.accent-blue   .service-card__badge { background: var(--accent-blue); }
.service-card.accent-pink   .service-card__badge { background: var(--accent-pink); }
.service-card.accent-yellow .service-card__badge { background: var(--accent-yellow); color: var(--navy); }
.service-card.accent-green  .service-card__badge { background: var(--accent-green); }
.service-card.accent-orange .service-card__badge { background: var(--accent-orange); }

.service-card.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .service-card:nth-child(1) .service-card__media {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }
  .service-card:nth-child(1) .service-card__title {
    font-size: 2.1rem;
  }
}

@media (max-width: 620px) {
  .services {
    padding: 4.5rem 1.25rem 2.5rem;
  }
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card:nth-child(1) {
    grid-column: span 1;
  }
}

.services__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0 1rem;
  transition: opacity 0.3s var(--ease);
}

.services__loader.is-done {
  display: none;
}

.services__loader-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.services__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(29, 95, 168, 0.3);
  border-top-color: var(--blue);
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

.services__loader-btn.is-loading .services__spinner {
  display: inline-block;
}

.services__loader-btn.is-loading .services__loader-btn-text::after {
  content: "";
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 6.5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 55px rgba(10, 46, 92, 0.16);
}

.about__quote-card {
  position: absolute;
  bottom: -1.75rem;
  right: -1.75rem;
  max-width: 300px;
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 1.7rem;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(10, 46, 92, 0.3);
}

.about__quote-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

.about__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.22;
  color: var(--navy);
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.about__text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #5b6472;
  margin: 0 0 1.2rem;
}

.about__emphasis {
  font-family: "Great Vibes", cursive;
  font-size: 1.9rem;
  line-height: 1.3;
  color: var(--blue);
  margin: 1.5rem 0 2rem;
}

.about__signoff {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
  border-top: 1px solid #E7ECF3;
}

.about__signoff-logo {
  height: 46px;
  width: auto;
}

.about__signoff-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
}

@media (max-width: 960px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about__media {
    max-width: 420px;
    margin: 0 auto;
  }
  .about__quote-card {
    right: 0.5rem;
    bottom: -1.5rem;
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .about {
    padding: 4.5rem 1.25rem;
  }
  .about__quote-card {
    position: static;
    max-width: 100%;
    margin-top: 1.25rem;
  }
  .about__signoff {
    flex-wrap: wrap;
  }
}

/* ============================================
   TESTIMONIALS (slider)
   ============================================ */
.testimonials {
  padding: 6.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.testimonials__header .section-subtitle {
  max-width: 100%;
  margin: 0 auto;
}

.testimonial-slider {
  position: relative;
}

.testimonial-slider__viewport {
  overflow: hidden;
}

.testimonial-slider__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.testimonial-slide {
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
  padding: 0.5rem 1.5rem 0;
}

.testimonial-slide__stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  color: var(--accent-yellow);
  margin-bottom: 1.5rem;
}

.testimonial-slide__stars svg {
  width: 20px;
  height: 20px;
}

.testimonial-slide__quote {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  line-height: 1.65;
  color: var(--navy);
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.testimonial-slide__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.2rem;
}

.testimonial-slide__meta {
  font-size: 0.88rem;
  color: #8994A3;
  margin: 0;
}

.testimonial-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-slider__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #DEE5EF;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.testimonial-slider__arrow svg {
  width: 18px;
  height: 18px;
}

.testimonial-slider__arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.testimonial-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.testimonial-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DEE5EF;
  border: none;
  padding: 0;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.testimonial-slider__dot.is-active {
  background: var(--blue);
  transform: scale(1.3);
}

@media (max-width: 640px) {
  .testimonials {
    padding: 4.5rem 1.25rem;
  }
  .testimonial-slide {
    padding: 0 0.5rem;
  }
  .testimonial-slider__controls {
    gap: 1rem;
    margin-top: 2rem;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--pale);
  padding: 6rem 2rem 6.5rem;
}

.contact__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}

.contact__info .section-title,
.contact__info .section-eyebrow {
  text-align: left;
}

.contact__info .section-subtitle {
  margin: 0 0 2.5rem;
}

.contact__details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__detail-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(10, 46, 92, 0.08);
}

.contact__detail-icon svg {
  width: 19px;
  height: 19px;
}

.contact__detail-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8994A3;
  margin-bottom: 0.2rem;
}

.contact__detail-value {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
}

a.contact__detail-value:hover {
  color: var(--blue);
}

.contact__form {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(10, 46, 92, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #DEE5EF;
  border-radius: 6px;
  background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 95, 168, 0.15);
}

.contact__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.contact__form-note {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--blue);
  text-align: center;
  min-height: 1.2rem;
}

@media (max-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact__info .section-title,
  .contact__info .section-eyebrow,
  .contact__info .section-subtitle {
    text-align: center;
  }
  .contact__info .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .contact__details {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .contact {
    padding: 4.5rem 1.25rem 4.5rem;
  }
  .contact__form {
    padding: 1.75rem 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 2rem 0;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.1rem;
  background: #fff;
}

.footer__logo-img {
  height: 72px;
  width: auto;
  display: block;
}

.footer__tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  max-width: 320px;
  margin: 0 0 1.6rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer__social-link svg {
  width: 17px;
  height: 17px;
}

.footer__social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1.35rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__link {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
  width: fit-content;
}

.footer__link:hover {
  color: var(--sky);
}

.footer__link--static {
  cursor: default;
}
.footer__link--static:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 0;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease);
}

.footer__legal-link:hover {
  color: var(--white);
}

.footer__to-top {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  flex-shrink: 0;
}

.footer__to-top svg {
  width: 16px;
  height: 16px;
}

.footer__to-top:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer {
    padding: 3.5rem 1.25rem 0;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer__legal {
    gap: 1.25rem;
  }
}

/* ============================================
   SERVICE DETAIL MODAL
   ============================================ */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.service-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 46, 92, 0.55);
  backdrop-filter: blur(2px);
}

.service-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  padding: 2.5rem 2.25rem 2.25rem;
  box-shadow: 0 30px 70px rgba(10, 46, 92, 0.35);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s var(--ease);
}

.service-modal.is-open .service-modal__panel {
  transform: translateY(0) scale(1);
}

.service-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--pale);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease);
}

.service-modal__close:hover {
  background: #E3EAF4;
}

.service-modal__close svg {
  width: 16px;
  height: 16px;
}

.service-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.service-modal__badge svg {
  width: 24px;
  height: 24px;
}

.service-modal__title {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: 2.1rem;
  color: var(--navy);
  margin: 0 0 0.9rem;
}

.service-modal__text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #5b6472;
  margin: 0 0 1.75rem;
}

.service-modal__cta {
  width: 100%;
}

@media (max-width: 480px) {
  .service-modal__panel {
    padding: 2.25rem 1.5rem 1.75rem;
  }
}