/* === SECTION: Contact === */

/* ----------------------------------------
   Reset scope
---------------------------------------- */
.contact *,
.contact *::before,
.contact *::after {
  box-sizing: border-box;
}

/* ----------------------------------------
   .contact — section wrapper
   Dark navy background
---------------------------------------- */
.contact {
  width: 100%;
  background-color: var(--color-navy);
  padding: 96px 0;
}

/* ----------------------------------------
   .contact__inner — centered two-column layout
---------------------------------------- */
.contact__inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* ----------------------------------------
   .contact__left — heading + subhead + info block
---------------------------------------- */
.contact__left {
  flex: 0 0 420px;
  max-width: 420px;
}

.contact__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-5xl);
  color: var(--color-white);
  margin: 0 0 20px;
}

.contact__subhead {
  font-family: var(--font-primary);
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-xl);
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 48px;
}

/* ----------------------------------------
   .contact__info — address / phone / email block
---------------------------------------- */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-primary);
}

.contact__info-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact__info-text {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-md);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

a.contact__info-text:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* ----------------------------------------
   .contact__social — "Follow us :" row
---------------------------------------- */
.contact__social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact__social-label {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  text-decoration: none;
  transition: background-color 180ms ease, transform 160ms ease;
  flex-shrink: 0;
}

.contact__social-link:hover {
  background-color: var(--color-primary);
  transform: scale(1.08);
}

.contact__social-link svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ----------------------------------------
   .contact__right — form column
---------------------------------------- */
.contact__right {
  flex: 1;
  min-width: 0;
}

/* ----------------------------------------
   .contact__form — the static form
---------------------------------------- */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Two-column row for Name + Email, Phone + Service */
.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ----------------------------------------
   .contact__field — label + input wrapper
---------------------------------------- */
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__label {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.02em;
}

/* Shared input / select / textarea styles */
.contact__input,
.contact__select,
.contact__textarea {
  width: 100%;
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.12);
}

/* Select — custom arrow */
.contact__select-wrapper {
  position: relative;
}

.contact__select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.contact__select {
  cursor: pointer;
  padding-right: 40px;
}

.contact__select option {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Textarea */
.contact__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: var(--lh-md);
}

/* ----------------------------------------
   .contact__submit — submit button
---------------------------------------- */
.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  padding: 16px 40px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 90px;
  cursor: pointer;
  transition: background-color 180ms ease, transform 150ms ease;
}

.contact__submit:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.contact__submit:active {
  transform: translateY(0);
}

/* ----------------------------------------
   RESPONSIVE: Tablet — 1280px
---------------------------------------- */
@media (max-width: 1280px) {
  .contact__inner {
    padding: 0 40px;
    gap: 56px;
  }

  .contact__left {
    flex: 0 0 360px;
    max-width: 360px;
  }

  .contact__heading {
    font-size: var(--fs-4xl);
    line-height: var(--lh-4xl);
  }
}

/* ----------------------------------------
   RESPONSIVE: Mobile — 768px
   Stack columns vertically
---------------------------------------- */
@media (max-width: 768px) {
  .contact {
    padding: 64px 0;
  }

  .contact__inner {
    padding: 0 20px;
    flex-direction: column;
    gap: 48px;
  }

  .contact__left {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .contact__heading {
    font-size: var(--fs-3xl);
    line-height: var(--lh-3xl);
  }

  .contact__subhead {
    font-size: var(--fs-base);
    margin-bottom: 36px;
  }

  .contact__form-row {
    grid-template-columns: 1fr;
  }

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

/* ----------------------------------------
   RESPONSIVE: Small — 375px
---------------------------------------- */
@media (max-width: 375px) {
  .contact__heading {
    font-size: var(--fs-2xl);
    line-height: var(--lh-2xl);
  }

  .contact__input,
  .contact__select,
  .contact__textarea {
    font-size: var(--fs-sm);
    padding: 12px 14px;
  }
}

/* === END SECTION: Contact === */
