.static-chevron {
  display: inline-block;
  margin-left: 0.35em;
  font-size: 0.75em;
  transform: translateY(-0.05em);
}

[data-modal-target][role="button"] {
  cursor: pointer;
}

#testimonial-content.popup_team .dp-dfg-item {
  position: relative;
}

#testimonial-content.popup_team .dp-dfg-item .dp-dfg-image,
#testimonial-content.popup_team .dp-dfg-item .dp-dfg-overlay,
#testimonial-content.popup_team .dp-dfg-item .dp-dfg-featured-image {
  position: relative;
  z-index: 3;
}

#testimonial-content.popup_team .dp-dfg-item .btn-popup.et_pb_button {
  z-index: 2;
}

.static-modal {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(24, 33, 33, 0.18);
}

.static-modal.mfp-hide {
  display: none !important;
}

.static-modal__media {
  margin-bottom: 1.5rem;
}

.static-modal__media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.static-modal__eyebrow {
  margin: 0 0 0.35rem;
  color: #016ca0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.static-modal__title {
  margin: 0 0 0.5rem;
  color: #182121;
  font-size: 2rem;
  line-height: 1.15;
}

.static-modal__meta {
  margin: 0 0 1rem;
  color: #6a7070;
  font-size: 1rem;
  font-weight: 600;
}

.static-modal__content p,
.static-modal__content ul {
  margin-bottom: 1rem;
  color: #313133;
}

.static-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.static-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.static-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f7f7;
  box-shadow: 0 16px 40px rgba(24, 33, 33, 0.12);
}

.static-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 250ms ease;
}

.static-gallery__item:hover img {
  transform: scale(1.03);
}

.static-gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(24, 33, 33, 0) 0%, rgba(24, 33, 33, 0.82) 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.static-contact {
  display: grid;
  gap: 1rem;
}

.static-contact__row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.static-contact__field {
  display: grid;
  gap: 0.4rem;
}

.static-contact__field label {
  color: #182121;
  font-size: 0.95rem;
  font-weight: 700;
}

.static-contact__field input,
.static-contact__field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #d8dddd;
  border-radius: 12px;
  background: #ffffff;
  color: #313133;
}

.static-contact__field input:focus,
.static-contact__field textarea:focus {
  border-color: #016ca0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 108, 160, 0.12);
}

.static-contact__message {
  min-height: 1.5rem;
  color: #016ca0;
  font-weight: 600;
}

.static-contact__message[data-state="error"] {
  color: #a53b3b;
}

.static-contact__message[data-state="success"] {
  color: #2f7a43;
}

.static-contact__honeypot {
  position: absolute;
  left: -9999px;
}

.testimonial-video-thumb {
  display: block;
  overflow: hidden;
  border-radius: 14px;
}

.testimonial-video-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .static-modal {
    padding: 1.4rem;
  }

  .static-modal__title {
    font-size: 1.6rem;
  }

  .static-contact__row {
    grid-template-columns: 1fr;
  }
}
