/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--blue:hover { background: #4470E0; border-color: #4470E0; }

.btn--white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn--white:hover { background: #F0F4FF; }

.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); }

.btn--navy { background: var(--white); color: var(--navy); border-color: var(--white); }

/* === Top Banner (sticky call CTA on desktop) === */
.top-banner {
  background: var(--blue);
  text-align: center;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 101;
}
.top-banner a {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-banner svg { width: 14px; height: 14px; }

/* === Mobile CTA Bar (sticky bottom on mobile) === */
.mobile-cta-bar {
  display: none;
}

/* === Nav === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 80px;
  background: var(--white);
  position: sticky;
  top: 40px; /* below sticky top-banner */
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar__logo img { height: 44px; width: auto; }
.navbar__menu { display: flex; align-items: center; gap: 32px; }
.navbar__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar__link:hover { color: var(--blue); }
.navbar__link .chevron { width: 12px; height: 12px; transition: transform 0.2s; }

/* Services dropdown */
.navbar__dropdown { position: relative; }
.navbar__dropdown-trigger {
  font-family: var(--font);
  cursor: pointer;
  background: none;
  border: none;
}
.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 0;
  min-width: 240px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 200;
}
.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown.open .navbar__dropdown-menu { display: block; }
.navbar__dropdown:hover .chevron { transform: rotate(180deg); }
.navbar__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.navbar__dropdown-menu a:hover { background: var(--light-blue); color: var(--blue); }

.navbar__menu-logo { display: none; } /* hidden on desktop, shown on mobile */
.navbar__cta .btn { font-size: 14px; padding: 10px 20px; }
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* === Partner / Featured On === */
.partner[hidden] {
  display: none !important;
}
.partner {
  padding: 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: var(--white);
}
.partner__title {
  font-size: 16px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.partner__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  flex-wrap: nowrap;
}
.partner__logos img {
  height: 26px;
  width: auto;
  opacity: 0.9;
}

/* === Testimonials === */
.testimonials {
  background: var(--light-blue);
  padding: 72px 80px 29px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.testimonials__title {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  max-width: 680px;
  line-height: 1.15;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  width: 100%;
}
.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid #E2E8F0;
}
.testimonial-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.testimonial-card__google { height: 24px; width: auto; }
.testimonial-card__stars { display: flex; gap: 3px; }
.testimonial-card__stars svg { width: 20px; height: 20px; }
.testimonial-card__text {
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.65;
  flex: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.testimonial-card__city {
  font-size: 14px;
  font-weight: 400;
  color: var(--grey);
  margin-left: 8px;
}

/* === Reviews Carousel === */
.testimonial-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  width: 100%;
}
.testimonial-carousel {
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.3s ease;
}
.testimonial-track .testimonial-card {
  flex: 0 0 340px;
  max-width: 340px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

/* Google review card styles */
.testimonial-card .review-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.testimonial-card .review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-card .review-avatar-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-card .review-author-info {
  flex: 1;
  min-width: 0;
}
.testimonial-card .review-author-name {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  line-height: 1.3;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testimonial-card .review-author-time {
  font-size: 12px;
  color: #70757a;
  margin: 0;
  line-height: 1.3;
}
.testimonial-card .review-google-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.testimonial-card .review-stars-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.testimonial-card .review-stars-row svg {
  flex-shrink: 0;
}
.testimonial-card .review-verified {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}
.testimonial-card .review-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Carousel arrows */
.carousel-arrow-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 20px;
  color: var(--navy);
  transition: box-shadow 0.2s;
}
.carousel-arrow-side:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.carousel-arrow-side.prev { left: -22px; }
.carousel-arrow-side.next { right: -22px; }

/* === CTA (shared) === */
.cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--white);
  padding: 80px 80px;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}
.cta__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta__title {
  font-size: 44px;
  line-height: 1.15;
}
.cta__subtitle {
  font-size: 17px;
  opacity: 0.88;
  line-height: 1.65;
  max-width: 560px;
}
.cta__buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

/* === Footer === */
.footer {
  background: var(--white);
  border-top: 4px solid var(--blue);
}
.footer__main {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  gap: 40px;
  padding: 52px 80px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__logo {
  width: 160px;
  height: auto;
}
.footer__map-img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}
.footer__map-iframe {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}
.footer__col {
  display: flex;
  flex-direction: column;
}
.footer__heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer__heading--socials {
  margin-top: 28px;
}
.footer__link {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer__link:hover { color: var(--blue); }
.footer__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 4px;
  margin-top: 12px;
}
.footer__label:first-of-type { margin-top: 0; }
.footer__info {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.5;
  margin-bottom: 4px;
}
.footer__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.footer__areas a {
  font-size: 14px;
  color: var(--body-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__areas a:hover { color: var(--blue); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  border-top: 1px solid #E2E8F0;
  font-size: 13px;
  color: var(--grey);
}
.footer__bottom p { margin: 0; }

/* Lock body scroll when mobile nav is open */
body.nav-open { overflow: hidden; }

@media (max-width: 768px) {
  /* Top banner: not sticky on mobile — bottom bar handles it */
  .top-banner { position: static; }
  .navbar { padding: 12px 20px; top: 0; }
  .navbar__menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 24px;
    gap: 20px;
    overflow-y: auto;
    z-index: 998;
  }
  .navbar__menu.active { display: flex; }

  /* Logo inside mobile menu */
  .navbar__menu-logo { display: block; margin-bottom: 8px; }
  .navbar__menu-logo img { height: 40px; width: auto; }

  /* Mobile dropdown: static, no hover */
  .navbar__dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; display: none; }
  .navbar__dropdown:hover .navbar__dropdown-menu { display: none; }
  .navbar__dropdown.open .navbar__dropdown-menu { display: block; }

  /* Mobile CTA bar — sticky bottom, centered */
  .mobile-cta-bar {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #E2E8F0;
    padding: 12px 20px;
    z-index: 99;
  }
  .mobile-cta-bar .btn {
    height: 48px;
    padding: 12px 24px;
    font-size: 15px;
  }
  body { padding-bottom: 72px; }
  .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }

  /* --- Shared: PARTNER mobile --- */
  .partner {
    padding: 32px 20px;
    gap: 16px;
  }
  .partner__logos {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .partner__logos img {
    height: 20px;
  }

  /* --- Shared: TESTIMONIALS mobile --- */
  .testimonials {
    padding: 48px 20px 19px;
    gap: 32px;
  }
  .testimonials__title {
    font-size: 28px;
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .testimonial-card {
    padding: 28px 24px;
  }
  .testimonial-carousel-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .testimonial-carousel {
    order: 1;
    width: 100%;
  }
  .carousel-arrow-side {
    position: static;
    transform: none;
    order: 2;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .testimonial-track {
    gap: 0;
  }
  .testimonial-track .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* --- Shared: CTA mobile --- */
  .cta {
    min-height: auto;
    padding: 64px 20px;
  }
  .cta__title {
    font-size: 28px;
  }
  .cta__buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .cta__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Shared: FOOTER mobile --- */
  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 32px;
  }
  .footer__logo {
    width: 140px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    text-align: center;
  }
}
