/* =========================================================
   contact.css — Contact Us page
   Reuses shared header/footer, .container, .btn, and the
   .sp-hero pattern from service-providers.css.
   ========================================================= */

/* Breadcrumb strip flush under the sticky header */
.sp-breadcrumb {
  top: 0;
}

/* Hero overlay — navy left-to-right gradient over the skyline */
.contact-hero .sp-hero__overlay {
  background: linear-gradient(90deg, rgba(18, 1, 70, 0.85) 7%, rgba(18, 1, 70, 0) 68%);
}

/* Decorative rounded-line glyph anchored to the top-right of the banner */
.contact-hero .sp-hero__deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  max-width: 430px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

/* -----------------------------------------------------
   SECTION: Contact (map + info + form)
   ----------------------------------------------------- */
.contact {
  background: #fff;
  padding: 76px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact__map {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact__map img {
  width: 100%;
  height: 408px;
  object-fit: cover;
  display: block;
}

.contact__map iframe {
  width: 100%;
  height: 408px;
  border: 0;
  display: block;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-list__item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-list__icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: block;
}

.contact-list__icon img {
  width: 58px;
  height: 58px;
  display: block;
}

.contact-list__text {
  font-size: 20px;
  line-height: 1.4;
  color: #181819;
  text-decoration: none;
}

a.contact-list__text:hover {
  color: #1c62cb;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field__input {
  width: 100%;
  background: #fafafa;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 16px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: #181819;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field__input::placeholder {
  color: #6b6b6b;
}

.field__input:focus {
  outline: none;
  border-color: #39cdd8;
  box-shadow: 0 0 0 3px rgba(57, 205, 216, 0.18);
}

.field__textarea {
  min-height: 150px;
  resize: vertical;
}

/* Custom select with caret */
.field__select {
  appearance: none;
  -webkit-appearance: none;
  color: #6b6b6b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  padding-right: 44px;
  cursor: pointer;
}

.field__select:valid {
  color: #181819;
}

.contact-form__submit {
  margin-top: 4px;
  padding: 13px 28px;
}

/* Visually-hidden labels (accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------------------------------
   SECTION: CTA banner (rounded panel)
   ----------------------------------------------------- */
.final-cta {
  background: #fff;
  padding: 0 0 72px;
}

.final-cta__panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.final-cta__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.1) 95%);
  z-index: -1;
}

.final-cta__inner {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 60px 24px;
  color: #fff;
}

.final-cta__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

.final-cta__copy {
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

.final-cta__actions {
  margin-top: 4px;
}

/* -----------------------------------------------------
   Responsive
   ----------------------------------------------------- */
@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
  .final-cta__title {
    font-size: 30px;
  }
}
