body {
  margin: 0;
  background: #FFFFFF;
  font-family: "Inter", Arial, sans-serif;
  color: #314159;
  font-size: 17px;
  line-height: 1.5;
}

a {
  color: #0CA8AC;
}

a:hover {
  color: #314159;
}

input,
select,
button {
  font: inherit;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-track {
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

html {
  scroll-padding-top: 96px;
}

/* Small screens: collapse the header nav behind the menu button */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex !important;
  }

  .main-nav {
    display: none !important;
    width: 100%;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 8px 0 4px;
  }

  .main-nav.is-open {
    display: flex !important;
  }
}

/* Click-to-call widget (assets/js/call-widget.js) */
.call-widget {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  font-family: "Inter", Arial, sans-serif;
}

.call-widget * {
  box-sizing: border-box;
}

.call-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 22px 0 8px;
  border: 0;
  border-radius: 999px;
  background: #6AE5CE;
  color: #314159;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(4, 30, 41, 0.3);
  transition: transform 0.15s;
}

.call-pill:hover {
  transform: translateY(-2px);
}

.call-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #041E29;
  color: #6AE5CE;
}

.call-card {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: 320px;
  padding: 18px;
  border-radius: 16px;
  background: #041E29;
  color: #FFFFFF;
  box-shadow: 0 16px 40px rgba(4, 30, 41, 0.4);
}

.call-card[hidden] {
  display: none;
}

.call-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #D7E0E4;
  font-size: 22px;
  line-height: 30px;
  cursor: pointer;
}

.call-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6AE5CE;
}

.call-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3CCF5C;
}

.call-headline {
  margin: 8px 0 6px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.call-sub {
  margin: 0 0 14px;
  font-size: 14px;
  color: #D7E0E4;
}

.call-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #6AE5CE;
  color: #314159;
  text-decoration: none;
}

.call-link:hover {
  color: #314159;
  background: #8FEDDB;
}

.call-number {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.call-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.call-pill:focus-visible,
.call-link:focus-visible,
.call-close:focus-visible {
  outline: 3px solid #0CA8AC;
  outline-offset: 2px;
}

/* Phones: a full-width bar along the bottom, with room left for the footer */
@media (max-width: 640px) {
  .call-widget {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .call-pill {
    width: 100%;
    justify-content: center;
  }

  .call-card {
    width: auto;
    left: 0;
  }

  body.has-call-widget {
    padding-bottom: 78px;
  }
}

/* Hero phone slideshow (assets/js/phone-slides.js). The track holds the four
   screens plus a copy of the first, so the loop restarts without a jump. */
.phone-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.phone-slides-track {
  display: flex;
  width: 500%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.phone-slides-track.is-instant {
  transition: none;
}

.phone-slides-track img {
  width: 20%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* The sign-in screen's spare room is the plain gradient at the top, so trim
   from there and keep its buttons in view. */
.phone-slides-track img.phone-slide-bottom {
  object-position: bottom;
}

.phone-slides-dots {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.phone-slides-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}

.phone-slides-dots button:hover {
  background: rgba(255, 255, 255, 0.8);
}

.phone-slides-dots button[aria-current="true"] {
  width: 26px;
  background: #6AE5CE;
}

.phone-slides-dots button:focus-visible {
  outline: 2px solid #6AE5CE;
  outline-offset: 3px;
}
