/* Contact page layout */
.rfp-contact-page {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(42, 157, 143, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(15, 39, 68, 0.08), transparent 50%),
    linear-gradient(180deg, #f4f7fa 0%, #eef2f6 100%);
  min-height: 100vh;
}

.rfp-contact-main {
  padding-top: var(--rfp-nav-h);
}

.rfp-contact-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15, 39, 68, 0.92), rgba(26, 58, 92, 0.85)),
    url(/img/1.96721075.webp) center/cover no-repeat;
  color: #fff;
  padding: 72px 24px 64px;
}

.rfp-contact-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rfp-teal), transparent);
}

.rfp-contact-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  animation: rfp-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rfp-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rfp-teal);
}

.rfp-contact-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rfp-lead {
  margin: 0 auto;
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.rfp-contact-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.rfp-contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.2fr);
  gap: 36px;
  align-items: start;
}

.rfp-contact-info,
.rfp-contact-form-wrap {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: 0 18px 40px rgba(15, 39, 68, 0.06);
  animation: rfp-fade-up 0.75s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rfp-contact-form-wrap {
  animation-delay: 0.22s;
}

.rfp-contact-info h2,
.rfp-contact-form-wrap h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rfp-navy);
  letter-spacing: -0.01em;
}

.rfp-info-intro,
.rfp-form-intro {
  margin: 0 0 28px;
  color: var(--rfp-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.rfp-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.rfp-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.rfp-info-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(42, 157, 143, 0.1);
  color: var(--rfp-teal);
}

.rfp-info-icon svg {
  width: 20px;
  height: 20px;
}

.rfp-info-list strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rfp-muted);
  margin-bottom: 4px;
}

.rfp-info-list a,
.rfp-info-list span {
  color: var(--rfp-navy);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.4;
}

.rfp-info-list a:hover {
  color: var(--rfp-teal);
}

.rfp-hours {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 39, 68, 0.08);
}

.rfp-hours h3 {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rfp-muted);
}

.rfp-hours p {
  margin: 0;
  color: var(--rfp-navy);
  font-weight: 600;
  line-height: 1.55;
}

.rfp-page-form {
  display: grid;
  gap: 16px;
}

.rfp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rfp-page-form label {
  display: grid;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rfp-navy);
}

.rfp-page-form input,
.rfp-page-form textarea,
.rfp-page-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(15, 39, 68, 0.14);
  border-radius: 3px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rfp-ink);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rfp-page-form input:focus,
.rfp-page-form textarea:focus,
.rfp-page-form select:focus {
  outline: none;
  border-color: var(--rfp-teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

.rfp-page-form textarea {
  min-height: 140px;
  resize: vertical;
}

.rfp-page-form .rfp-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.rfp-page-form .rfp-status {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  min-height: 1.2em;
  margin: 0;
}

.rfp-page-form .rfp-status.ok { color: #157347; }
.rfp-page-form .rfp-status.err { color: #b42318; }

.rfp-page-submit {
  justify-self: start;
  margin-top: 4px;
  border: 0;
  border-radius: 2px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--rfp-navy), var(--rfp-navy-mid));
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 39, 68, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rfp-page-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--rfp-teal-dark), var(--rfp-teal));
  box-shadow: 0 12px 26px rgba(15, 39, 68, 0.25);
}

.rfp-page-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 860px) {
  .rfp-contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .rfp-contact-hero {
    padding: 56px 20px 48px;
  }

  .rfp-contact-section {
    padding: 36px 16px 64px;
  }

  .rfp-contact-info,
  .rfp-contact-form-wrap {
    padding: 24px 20px;
  }
}
