/* ── Navigation ─────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 35px;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}
.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 10px 10px 24px;
  background-color: var(--primary-color);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: all;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}
.site-nav.scrolled .nav-container {
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.45);
}
.nav-logo {
  padding: 0 8px;
}
.nav-logo img {
  height: 48px;
  width: auto;
  background: transparent;
  mix-blend-mode: screen; /* removes white background from PNG on dark nav */
}
.nav-cta img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .site-nav {
    top: 16px;
  }
  .nav-container {
    padding: 8px 8px 8px 16px;
  }
  .nav-logo img {
    height: 26px;
  }
}

/* ── Stars (text fallback) ──────────────────────────── */
.stars {
  color: #f59e0b;
  font-size: 20px;
  letter-spacing: 2px;
}

/* ── FAQ icon ───────────────────────────────────────── */
.faq-icon {
  font-size: 24px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  user-select: none;
  flex-shrink: 0;
}
.faq-item.expanded .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
}
.faq-item.expanded .faq-answer {
  display: block;
}

/* ── Scroll animations ──────────────────────────────── */
.animate-fade-up,
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fade-up.is-visible,
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.15s; }
.animate-delay-2 { transition-delay: 0.30s; }

/* ── Variables ──────────────────────────────────────── */
:root {
    --primary-color: #051d4a;
    --text-white: #ffffff;
    --text-light: #e3e4d4;
    --text-dark: #000000;
    --text-gray: #3b3939;
    --bg-light: #dae0e8;
    --bg-white: #ffffff;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  
  .page-wrapper {
    max-width: 1920px;
    margin: 0 auto;
    /* allow tally card to paint over hero (negative margin); avoid clipping */
    overflow: visible;
    background-color: var(--bg-white);
  }
  
  .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 42px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: none;
  }
  
  .btn:hover {
    opacity: 0.9;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
  }
  
  .btn-white {
    background-color: var(--text-white);
    color: var(--primary-color);
  }
  
  /* CTA / nav icons: global img { max-width: 100% } would stretch SVGs in flex buttons */
  .btn img {
    width: 18px;
    height: 18px;
    max-width: none;
    flex-shrink: 0;
    object-fit: contain;
  }
  
  .tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 16px;
    border-radius: 20px;
    background-color: var(--text-light);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
  }
  
  .tag-outline {
    display: inline-flex;
    align-items: center;
    padding: 4px 16px;
    border-radius: 999px;
    border: 1px solid rgba(187, 187, 187, 0.3);
    color: var(--text-light);
    font-size: 14px;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.2;
    margin: 0;
  }
  
  h2 {
    font-size: 48px;
    font-weight: 700;
  }
  
  h3 {
    font-size: 32px;
    font-weight: 600;
  }
  
  h4 {
    font-size: 24px;
    font-weight: 600;
  }
  
  p {
    margin: 0;
  }
  
img {
  max-width: 100%;
  height: auto;
  display: block;
  background: unset;
}

video {
  display: block;
  max-width: 100%;
}

/* Video elements that replace images inherit the same sizing/radius rules */
.video-thumb {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}

.feat-img-2 {
  border-radius: 20px;
  width: 100%;
  height: auto;
}

/* Wraps hero + absolutely positioned form so bottom:0 = seam under hero */
.hero-wrapper {
  position: relative;
  z-index: 1;
}

.hero-section {
  position: relative;
  z-index: 1;
  min-height: 850px;
  display: flex;
  align-items: bottom;
  /* room under hero content before the floating form overlaps the image */
  padding: 200px 0 clamp(120px, 14vw, 200px);
  overflow: hidden;
}
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }

  /* Thank-you page: single centered column over gallery-style bg */
  .thank-you-section.hero-section {
    min-height: min(100vh, 900px);
    align-items: center;
    justify-content: center;
    padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 12vw, 120px);
  }
  .thank-you-section .hero-container {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .thank-you-section .hero-content {
    align-items: center;
    text-align: center;
    max-width: 560px;
  }
  .thank-you-section .hero-desc {
    max-width: none;
  }

  .hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
  }
  .hero-content {
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  .hero-title {
    font-size: 64px;
    color: var(--text-white);
    font-weight: 700;
  }
  .hero-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 450px;
  }
  .hero-video-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .video-thumb {
    border-radius: 12px;
    width: 100%;
  }
  .video-quote {
    color: #f2f3ee;
    font-size: 14px;
    font-weight: 500;
  }
  .video-source {
    color: #8f8f8f;
    font-size: 12px;
    margin-top: 10px;
  }
  @media (max-width: 991px) {
    .hero-container {
      flex-direction: column;
      align-items: flex-start;
    }
    .hero-title {
      font-size: 48px;
    }
  }
  @media (max-width: 767px) {
    .hero-section {
      /* tall bottom band: pushes seam down so the floating form overlaps bg, not the video card */
      padding: 160px 0 clamp(150px, 34vw, 260px);
    }
    .hero-title {
      /* ~30% under 48px (991px breakpoint) */
      font-size: 34px;
    }
    .hero-container {
      align-items: center;
    }
    .hero-content {
      align-items: center;
      text-align: center;
    }
    .hero-desc {
      max-width: 100%;
    }
    .hero-video-card {
      max-width: 100%;
      width: 100%;
    }
  }

/* Form sits on seam: bottom edge on hero bottom, translateY(75%) → ~25% above / ~75% below */
.floating-form {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 75%);
  /* wide card — nearly full content width (matches ~1320px container feel) */
  width: min(96%, 1180px);
  max-width: calc(100% - 40px);
  box-sizing: border-box;
  padding: 0 20px;
  z-index: 10;
}
.floating-form-inner {
  background: #fff;
  border-radius: 16px;
  padding: 26px 36px 12px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(5, 29, 74, 0.08);
}
@media (max-width: 767px) {
  /* Higher translateY% = less of the card above the seam (vs 75% desktop). */
  /* A lower % was wrongly covering more hero — see translateY direction. */
  .floating-form {
    width: calc(100% - 24px);
    max-width: none;
    padding: 0 12px;
    transform: translate(-50%, 82%);
  }
  .floating-form-inner {
    padding: 20px 16px 12px;
    border-radius: 18px;
  }
}
.tally-offer-header {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 12px;
  padding: 0 4px;
}
.tally-offer-header .section-title {
  font-size: clamp(26px, 4.5vw, 38px);
}
.tally-offer-header .section-subtitle {
  margin-bottom: 6px;
}
.tally-embed-wrap {
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.tally-embed-wrap iframe {
  display: block;
  width: 100%;
  /* low min-height — Tally dynamicHeight sets real height; tall min/height = empty band */
  min-height: 240px;
  border: 0;
  vertical-align: top;
}

.solutions-section {
  background-color: var(--bg-light);
  /* clear the ~75% of the floating form that extends below the hero seam */
  padding: clamp(220px, 36vh, 500px) 0 80px;
}
@media (max-width: 767px) {
  .solutions-section {
    /* tall mobile form extends far below seam — keep “More than shadows” fully clear */
    padding: clamp(260px, 56vh, 520px) 0 80px;
  }
}
.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}
.section-title {
  color: var(--text-dark);
}
.solutions-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: -100px;
}
.solutions-grid {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}
  .solution-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  }
  .card-tall {
    min-height: 585px;
  }
  .card-tallest {
    min-height: 775px;
  }
  .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
  }
.card-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.card-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
  .card-content h4 {
    color: var(--text-white);
  }
  .card-content p {
    color: var(--text-light);
    font-size: 14px;
  }
  .card-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  @media (max-width: 991px) {
    .solutions-header {
      margin-bottom: 32px;
    }
    .solutions-grid {
      flex-direction: column;
      align-items: stretch;
    }
    .solution-card,
    .card-tall,
    .card-tallest {
      min-height: 400px;
    }
  }
  
  .stats-section {
    background-color: var(--bg-white);
    padding: 80px 0;
  }
  .stats-header {
    text-align: center;
    margin-bottom: 60px;
  }
  .stats-header h2 {
    color: var(--primary-color);
  }
  .stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
  }
  .stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .stat-item h3 {
    font-size: 48px;
    color: var(--text-dark);
  }
  .stat-item p {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
  }
  .stat-divider {
    height: 80px;
    display: flex;
    align-items: center;
  }
  .stat-divider img {
    height: 100%;
  }
  @media (max-width: 767px) {
    .stats-grid {
      flex-direction: column;
      gap: 40px;
    }
    .stat-divider {
      display: none;
    }
  }
  
  .features-section {
    background-color: var(--bg-light);
    padding: 100px 0;
  }
  .features-container {
    display: flex;
    align-items: center;
    gap: 60px;
  }
  .features-content {
    flex: 1;
    max-width: 600px;
  }
  .features-desc {
    color: var(--text-gray);
    margin: 20px 0 40px;
    font-size: 18px;
  }
  .features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }
  .feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .feature-icon {
    background-color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .feature-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
  }
  .feature-text h4 {
    margin-bottom: 10px;
  }
  .feature-text p {
    color: var(--text-gray);
    font-size: 14px;
  }
  .mt-4 {
    margin-top: 20px;
  }
  .features-images {
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: flex-end;
  }
  .img-col {
    flex: 1;
  }
  .feat-img-1 {
    border-radius: 20px;
    width: 100%;
    height: auto;
  }
  .feat-img-2 {
    border-radius: 20px;
    width: 100%;
    height: auto;
  }
  @media (max-width: 991px) {
    .features-container {
      flex-direction: column;
    }
    .features-images {
      width: 100%;
    }
  }
  
  .how-it-works-section {
    background-color: var(--bg-light);
    padding: 80px 0 120px;
  }
  .hiw-header {
    text-align: center;
    margin-bottom: 60px;
  }
  .hiw-grid {
    display: flex;
    gap: 24px;
  }
  .hiw-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    flex: 1;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .hiw-step {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
  }
  .hiw-card-content h4 {
    margin-bottom: 15px;
    font-size: 20px;
  }
  .hiw-card-content p {
    color: var(--text-gray);
    font-size: 15px;
  }
  @media (max-width: 991px) {
    .hiw-grid {
      flex-direction: column;
    }
  }
  
  .banner-section {
    background-color: var(--bg-white);
    padding: 100px 0;
  }
  .banner-container {
    background-color: var(--primary-color);
    border-radius: 20px;
    padding: 60px 90px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .banner-container h2 {
    color: var(--text-white);
  }
  .banner-container p {
    color: var(--text-white);
    max-width: 800px;
    font-size: 16px;
    opacity: 0.9;
  }
  @media (max-width: 767px) {
    .banner-section {
      padding: 60px 0;
    }
    .banner-container {
      padding: 48px 28px;
      gap: 20px;
    }
  }
  
  .gallery-section {
    background-color: var(--bg-light);
    padding: 100px 0 0 0;
  }
  .gallery-header {
    text-align: center;
    margin-bottom: 60px;
  }
  .gallery-grid {
    display: flex;
    width: 100%;
  }
  .gallery-col {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .gallery-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  @media (max-width: 767px) {
    .gallery-grid {
      flex-wrap: wrap;
    }
    .gallery-col {
      flex: 0 0 50%;
    }
  }
  
  .testimonials-section {
    background-color: var(--bg-light);
    padding: 100px 0;
  }
  .testi-header {
    margin-bottom: 60px;
  }
  .testi-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    padding: 0 calc((100vw - 1320px) / 2);
  }
  .testi-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
  }
  .testi-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--navy);
    transition: stroke 0.2s;
  }
  .testi-btn:hover {
    background: var(--navy);
  }
  .testi-btn:hover svg {
    stroke: #fff;
  }
  .testi-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    padding: 0;
  }
  .testi-dot.active {
    background: var(--navy);
    transform: scale(1.3);
  }
  .testi-slider-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
  }
  .testi-slider-container::-webkit-scrollbar {
    display: none;
  }
  .testi-slider {
    display: flex;
    gap: 50px;
    padding: 0 calc((100vw - 1320px) / 2);
    width: max-content;
  }
  .testi-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    width: 766px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  .quote-icon {
    width: 28px;
    height: 28px;
  }
  .quote-icon img {
    width: 100%;
    height: 100%;
  }
  .testi-text {
    font-size: 18px;
    color: var(--text-dark);
    flex-grow: 1;
  }
  .testi-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
  }
  .author-name {
    font-weight: 600;
  }
  @media (max-width: 1360px) {
    .testi-slider {
      padding: 0 20px;
    }
    .testi-controls {
      padding: 0 20px;
    }
  }
  @media (max-width: 767px) {
    .testi-card {
      width: 85vw;
      padding: 20px;
    }
  }
  
  .faq-section {
    background-color: var(--bg-white);
    padding: 100px 0;
  }
  .faq-header {
    text-align: center;
    margin-bottom: 60px;
  }
  .faq-content {
    display: flex;
    gap: 60px;
    align-items: stretch;
  }
  .faq-accordion {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .faq-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 24px 32px;
    background-color: var(--bg-white);
  }
  .faq-item.expanded {
    background-color: var(--bg-light);
    border-color: transparent;
  }
  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  .faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
  }
.faq-answer {
  margin-top: 20px;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
}
  .faq-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
  }
  .faq-image video,
  .faq-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  @media (max-width: 991px) {
    .faq-content {
      flex-direction: column;
    }
  }
  
  .site-footer {
    position: relative;
    padding: 80px 0 40px;
    color: var(--text-white);
  }
  .footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  .footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
  }
  .footer-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .footer-logo {
    height: 44px;
  }
  .footer-tagline {
    flex: 1;
    margin-left: 20px;
    font-size: 16px;
  }
  .footer-btn {
    background-color: var(--primary-color);
    color: var(--text-white);
  }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
  }
  @media (max-width: 767px) {
    .footer-top {
      flex-direction: column;
      text-align: center;
    }
    .footer-tagline {
      margin-left: 0;
    }
  }
  