/* ================================================================
   ZNA Law Company – Contact Page Styles
   Figma node 4260:1035 (Liên hệ)
   Design baseline: 1920px
================================================================ */

/* ── HEADER CTA ──────────────────────────────────── */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 55px;
  background: #fdeb01;
  border: 2px solid #07568e;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #07568e;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.header-cta:hover {
  background: #07568e;
  color: #fff;
}
.nav a[aria-current="page"] {
  color: #07568e;
}

/* ── HERO ─────────────────────────────────────────── */
.contact-hero {
  width: 100%;
  height: 663px;
  overflow: hidden;
  background: #d9d9d9;
}
.contact-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── FORM SECTION ─────────────────────────────────── */
.contact-section {
  max-width: 1452px;
  margin: 0 auto;
  padding: 60px 0;
}

.contact-wrap {
  display: flex;
  width: 100%;
  min-height: 635px;
}

/* ── LEFT PANEL (Form) ────────────────────────────── */
.contact-form-panel {
  flex: 0 0 700px;
  width: 700px;
  background: #07568e;
  padding: 50px 78px;
  display: flex;
  flex-direction: column;
}

.contact-form-title {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  color: #d9d9d9;
  text-align: center;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-label {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #d9d9d9;
  margin-bottom: 2px;
}
.contact-field:first-child .contact-label {
  font-size: 16px;
}

.contact-input {
  width: 100%;
  height: 50px;
  background: transparent;
  border: 1px solid #d9d9d9;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 0 18px;
  outline: none;
}
.contact-field:nth-child(n+2) .contact-input {
  font-size: 18px;
}

.contact-textarea {
  width: 100%;
  height: 133px;
  background: transparent;
  border: 1px solid #d9d9d9;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  padding: 14px 18px;
  outline: none;
  resize: none;
}
.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.contact-submit-btn {
  width: 100%;
  height: 75px;
  background: #fdeb01;
  border: 2px solid #07568e;
  color: #07568e;
  font-family: 'Roboto', sans-serif;
  font-size: 25px;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.contact-submit-btn:hover {
  background: #07568e;
  color: #fff;
}

/* ── RIGHT PANEL (Contact Info) ───────────────────── */
.contact-info-panel {
  flex: 1;
  background: #fff;
  padding: 52px 85px 50px;
}

.contact-info-title {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  color: #07568e;
  margin-bottom: 18px;
}

.contact-info-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #07568e;
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-item-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8d8d8d;
  font-size: 22px;
}

.contact-item-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #07568e;
  line-height: 1.3;
}

.contact-social {
  display: flex;
  gap: 16px;
}
.contact-social a {
  color: #959595;
  font-size: 22px;
  transition: color .2s;
}
.contact-social a:hover {
  color: #07568e;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1200px) {
  .contact-section {
    padding: 40px 20px;
  }
  .contact-form-panel {
    flex: 0 0 560px;
    width: 560px;
    padding: 40px 48px;
  }
  .contact-info-panel {
    padding: 40px 40px 40px;
  }
  .contact-info-title {
    font-size: 34px;
  }
}

@media (max-width: 900px) {
  .contact-hero {
    height: 420px;
  }
  .contact-wrap {
    flex-direction: column;
  }
  .contact-form-panel {
    flex: none;
    width: 100%;
    padding: 40px 32px;
  }
  .contact-info-panel {
    padding: 40px 32px;
  }
  .contact-form-title {
    font-size: 32px;
  }
  .contact-info-title {
    font-size: 28px;
  }
  .contact-info-desc {
    font-size: 16px;
  }
  .contact-item-text {
    font-size: 18px;
  }
}

@media (max-width: 700px) {
  .contact-hero {
    height: 280px;
  }
  .contact-section {
    padding: 24px 16px;
  }
  .contact-form-panel {
    padding: 32px 20px;
  }
  .contact-info-panel {
    padding: 32px 20px;
  }
  .contact-form-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .contact-info-title {
    font-size: 24px;
  }
  .contact-label {
    font-size: 15px;
  }
  .contact-input,
  .contact-textarea {
    font-size: 15px;
  }
  .contact-submit-btn {
    height: 60px;
    font-size: 20px;
  }
  .contact-list {
    gap: 18px;
  }
  .contact-item-icon {
    font-size: 18px;
  }
  .contact-item-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    height: 200px;
  }
  .contact-section {
    padding: 20px 12px;
  }
  .contact-form-panel {
    padding: 24px 14px;
  }
  .contact-info-panel {
    padding: 24px 14px;
  }
  .contact-form-title {
    font-size: 22px;
  }
  .contact-info-title {
    font-size: 20px;
  }
  .contact-info-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .contact-label {
    font-size: 14px;
  }
  .contact-input {
    height: 44px;
    font-size: 14px;
  }
  .contact-textarea {
    height: 100px;
    font-size: 14px;
  }
  .contact-submit-btn {
    height: 52px;
    font-size: 18px;
  }
  .contact-item-text {
    font-size: 14px;
  }
  .contact-social a {
    font-size: 18px;
  }
}
