/* ===== Contact Page (Theme-matched) ===== */
.contact-container{
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.contact-hero{
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0 90px;
}

.contact-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.18));
}

.contact-hero .contact-container{
  position: relative;
  z-index: 1;
}

.contact-hero-kicker{
  margin: 0 0 12px 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 700;
}

.contact-hero-title{
  margin: 0;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
}

.contact-hero-sub{
  margin: 14px 0 0 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
}

.contact-sec{
  padding: 84px 0 88px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
}

.contact-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: 34px;
  align-items: start;
}

.contact-copy{
  padding-top: 24px;
}

.contact-kicker{
  margin: 0 0 16px 0;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(16,19,25,.58);
}

.contact-title{
  margin: 0 0 16px 0;
  font-size: 58px;
  line-height: 1.03;
  font-weight: 900;
  color: #101319;
}

.contact-text{
  margin: 0 0 28px 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(16,19,25,.72);
}

.contact-info-list{
  display: grid;
  gap: 18px;
  max-width: 520px;
}

.contact-info-card{
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  border-radius: 24px;
  background: #eef1f7;
  border: 1px solid rgba(16,19,25,.08);
  box-shadow: 0 14px 38px rgba(16,19,25,.06);
}

.contact-info-icon{
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: rgba(16,19,25,.42);
  border: 1px solid rgba(16,19,25,.05);
}

.contact-info-icon svg{
  width: 34px;
  height: 34px;
}

.contact-info-label{
  margin: 0 0 6px 0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #101319;
}

.contact-info-value{
  color: rgba(16,19,25,.72);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.contact-info-value:hover{
  color: #101319;
}

.contact-form-card{
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #121720, #1b2330 55%, #2a3547 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 65px rgba(8, 12, 20, .24);
}

.contact-form-kicker{
  margin: 0 0 10px 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  font-weight: 700;
}

.contact-form-title{
  margin: 0 0 24px 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
}

.contact-field{
  display: block;
  margin-bottom: 14px;
}

.contact-input{
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  color: #fff;
  min-height: 60px;
  padding: 0 20px;
  font-size: 16px;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.contact-input::placeholder{
  color: rgba(255,255,255,.68);
}

.contact-input:focus{
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.15);
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}

.contact-input--textarea{
  min-height: 180px;
  border-radius: 24px;
  padding: 18px 20px;
  resize: vertical;
}

.contact-submit{
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
  color: #101319;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-submit:hover{
  transform: translateY(-1px);
  background: #f2f4f8;
  box-shadow: 0 18px 34px rgba(0,0,0,.20);
}

.contact-alert{
  margin: 0 0 22px 0;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 700;
}

.contact-alert--success{
  background: rgba(19, 128, 78, .08);
  color: #106b45;
  border: 1px solid rgba(19, 128, 78, .18);
}

.contact-alert--error{
  background: rgba(169, 41, 41, .08);
  color: #8f1f1f;
  border: 1px solid rgba(169, 41, 41, .16);
}

.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 991.98px){
  .contact-hero{
    min-height: 380px;
    padding: 120px 0 80px;
  }

  .contact-hero-title{
    font-size: 48px;
  }

  .contact-sec{
    padding: 70px 0;
  }

  .contact-layout{
    grid-template-columns: 1fr;
  }

  .contact-copy{
    padding-top: 0;
  }

  .contact-title{
    font-size: 44px;
  }

  .contact-text{
    font-size: 16px;
    max-width: 100%;
  }

  .contact-info-list{
    max-width: 100%;
  }

  .contact-form-title{
    font-size: 34px;
  }
}

@media (max-width: 575.98px){
  .contact-container{
    width: calc(100% - 22px);
  }

  .contact-hero{
    min-height: 340px;
    padding: 110px 0 70px;
  }

  .contact-hero-title{
    font-size: 38px;
  }

  .contact-title{
    font-size: 34px;
  }

  .contact-text{
    font-size: 15px;
    line-height: 1.75;
  }

  .contact-info-card{
    gap: 16px;
    padding: 20px;
  }

  .contact-info-icon{
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }

  .contact-info-icon svg{
    width: 28px;
    height: 28px;
  }

  .contact-info-value{
    font-size: 18px;
  }

  .contact-form-card{
    padding: 22px;
    border-radius: 24px;
  }

  .contact-form-title{
    font-size: 30px;
  }

  .contact-input{
    min-height: 56px;
    font-size: 15px;
  }

  .contact-input--textarea{
    min-height: 160px;
  }
}
