/* ============================================================
   CONTACT PAGE — Hero
   ============================================================ */
.page-contact .contact-hero {
  position: relative;
  min-height: clamp(280px, 34vw, 520px);
  overflow: hidden;
}

.page-contact .contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-contact .contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-contact .contact-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    270deg,
    rgba(16, 16, 16, 0) 20%,
    rgba(11, 10, 10, 0.55) 70%,
    rgba(11, 10, 10, 0.78) 100%
  );
}

.page-contact .contact-hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(900px, 100%);
  padding: clamp(48px, 6vw, 100px) var(--px) clamp(36px, 4vw, 72px);
}

.page-contact .contact-hero-title {
  margin: 0 0 0.35em;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.15;
}

.page-contact .contact-hero-sub {
  margin: 0;
  max-width: 48ch;
  font-weight: 500;
  font-size: clamp(14px, 1.823vw, 28px);
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: var(--muted);
}

/* ============================================================
   MAIN SECTION
   ============================================================ */
.page-contact .contact-main {
  padding-block: clamp(40px, 4.5vw, 80px);
  background: #fff;
}

.page-contact .contact-intro {
  text-align: center;
  max-width: min(920px, 100%);
  margin-inline: auto;
  margin-bottom: clamp(32px, 3.5vw, 56px);
}

.page-contact .contact-intro .section-heading {
  margin-bottom: 0.4em;
}

.page-contact .contact-intro .section-sub {
  text-align: center;
  max-width: 55ch;
  margin-inline: auto;
}

/* ============================================================
   TWO-COLUMN LAYOUT: info (left) + form (right)
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 2.5vw, 48px);
  align-items: start;
}

/* ============================================================
   CONTACT INFO CARD (left column)
   ============================================================ */
.contact-info-card {
  background: rgba(190, 190, 190, 0.2);
  border-radius: clamp(16px, 1.563vw, 30px);
  padding: clamp(24px, 2.5vw, 40px);
}

.contact-info-item {
  display: flex;
  gap: clamp(12px, 1.2vw, 18px);
  margin-bottom: clamp(16px, 1.8vw, 28px);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  flex-shrink: 0;
  width: clamp(36px, 2.5vw, 48px);
  height: clamp(36px, 2.5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 81, 50, 0.1);
  border-radius: clamp(8px, 0.8vw, 12px);
  font-size: clamp(16px, 1.2vw, 22px);
}

.contact-info-item h3 {
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item address {
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.6);
  font-style: normal;
}

.contact-info-item a {
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ============================================================
   FORM CARD (right column)
   ============================================================ */
.form-card {
  background: rgba(190, 190, 190, 0.2);
  border-radius: clamp(16px, 1.563vw, 30px);
  padding: clamp(24px, 2.5vw, 40px);
}

.form-card-title {
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 4px;
}

.form-card-sub {
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: clamp(20px, 2vw, 32px);
}

/* ============================================================
   FORM FIELDS
   ============================================================ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.2vw, 20px);
  margin-bottom: clamp(12px, 1.2vw, 20px);
}

.field {
  margin-bottom: clamp(12px, 1.2vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.4vw, 8px);
}

.field label {
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dark);
}

.field label .required {
  color: var(--green);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: clamp(10px, 0.9vw, 16px) clamp(12px, 1vw, 18px);
  border-radius: clamp(8px, 0.6vw, 12px);
  border: 1px solid var(--border);
  font-family: 'Murecho', sans-serif;
  font-size: clamp(13px, 1.25vw, 20px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23242425' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right clamp(12px, 1vw, 18px) center;
  padding-right: clamp(32px, 3vw, 48px);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(8, 81, 50, 0.12);
}

.field textarea {
  min-height: clamp(100px, 10vw, 140px);
  resize: vertical;
}

/* ============================================================
   STATUS MESSAGE
   ============================================================ */
.form-status {
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 1.4em;
  margin-bottom: 8px;
}

.form-status--success {
  color: #085132;
}

.form-status--error {
  color: #c92a2a;
}

/* ============================================================
   SUBMIT BUTTON
   ============================================================ */
.form-submit-btn {
  width: 100%;
  cursor: pointer;
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .page-contact .contact-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(11, 10, 10, 0.35) 0%,
      rgba(11, 10, 10, 0.75) 100%
    );
  }
}
