/* The theme has no global box-sizing reset, and these styles are written
   assuming border-box — without this, width:100% + padding overflows. */
.cta-dispatch,
.cta-dispatch *,
.cta-dispatch *::before,
.cta-dispatch *::after {
  box-sizing: border-box;
}

.cta-dispatch {
  width: 100%;
  margin: 0;
  padding: clamp(52px, 9vw, 76px) clamp(20px, 6vw, 120px);
  background: var(--Secondary-Light-Green, #4fa550);
  color: #fff;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

html.has-scroll-animations .cta-dispatch__inner {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.has-scroll-animations .cta-dispatch.is-visible .cta-dispatch__inner {
  opacity: 1;
  transform: none;
}

.cta-dispatch__inner {
  width: 100%;
  max-width: var(--Container-container-large, 1280px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.cta-dispatch__title {
  margin: 0 0 18px;
  color: #fff;
  font-family: 'Teachers', Inter, system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.cta-dispatch__text {
  max-width: 520px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
}

.cta-dispatch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-dispatch__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-family: 'Teachers', Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-dispatch__button--primary {
  border: 1px solid #fff;
  border-radius: 4px;
  background: #fff;
  color: var(--Main-Green, #395935);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.cta-dispatch__button--primary:hover,
.cta-dispatch__button--primary:focus-visible {
  background: var(--Light-Grey, #f3f4f6);
  color: var(--Main-Green, #395935);
}

.cta-dispatch__button--ghost {
  border: 1px solid #fff;
  border-radius: 2px;
  background: transparent;
  color: #fff;
}

.cta-dispatch__button--ghost:hover,
.cta-dispatch__button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cta-dispatch__card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.cta-dispatch__card-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Teachers', Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-dispatch__card-phone {
  display: block;
  color: #fff;
  font-family: 'Teachers', Inter, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.cta-dispatch__card-phone:hover,
.cta-dispatch__card-phone:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.cta-dispatch__card-note {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.cta-dispatch__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #fff;
  font-size: 13px;
}

.cta-dispatch__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: cta-dispatch-pulse 1.6s ease-in-out infinite;
}

@keyframes cta-dispatch-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@media (max-width: 1024px) {
  .cta-dispatch__inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-dispatch__status-dot {
    animation: none;
  }
}
