/* Điều Hòa Nam Anh — Contact page. */

.na-contact-page {
  color: var(--na-text);
  background: #f5f8fc;
}

.na-contact-page *,
.na-contact-page *::before,
.na-contact-page *::after {
  box-sizing: border-box;
}

.na-contact-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   HERO
========================================================= */

.na-contact-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 25%, rgba(94, 188, 255, 0.28), transparent 24%),
    linear-gradient(125deg, #0756b8 0%, #0b72e7 55%, #1595ed 100%);
}

.na-contact-hero::before,
.na-contact-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.na-contact-hero::before {
  width: 480px;
  height: 480px;
  top: -240px;
  right: -90px;
}

.na-contact-hero::after {
  width: 320px;
  height: 320px;
  right: 110px;
  bottom: -230px;
}

.na-contact-hero .na-contact-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  min-height: 420px;
  padding-bottom: 44px;
}

.na-contact-hero__content {
  max-width: 680px;
}

.na-contact-eyebrow,
.na-contact-section-heading > span,
.na-contact-side-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.na-contact-eyebrow::before,
.na-contact-section-heading > span::before,
.na-contact-side-card__label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.na-contact-hero h1 {
  max-width: 650px;
  margin: 0 0 17px;
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.6px;
}

.na-contact-hero__content > p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.75;
}

.na-contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.na-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 21px;
  font-size: 13px;
  font-weight: 750;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.na-contact-button:hover {
  transform: translateY(-2px);
}

.na-contact-button--light {
  color: var(--na-blue-dark);
  background: #fff;
  box-shadow: 0 9px 24px rgba(0, 45, 105, 0.2);
}

.na-contact-button--light:hover {
  color: var(--na-blue);
  box-shadow: 0 12px 30px rgba(0, 45, 105, 0.28);
}

.na-contact-button--outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

.na-contact-button--outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.na-contact-zalo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  color: currentColor;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  border: 2px solid currentColor;
  border-radius: 7px;
}

.na-contact-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.na-contact-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.na-contact-orbit--one {
  width: 280px;
  height: 280px;
}

.na-contact-orbit--two {
  width: 190px;
  height: 190px;
  border-style: dashed;
}

.na-contact-hero__badge {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.08), 0 20px 55px rgba(0, 49, 106, 0.2);
  backdrop-filter: blur(8px);
}

.na-contact-hero__badge span {
  align-self: end;
  color: #fff;
  font-size: 42px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -1px;
}

.na-contact-hero__badge small {
  align-self: start;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =========================================================
   CONTACT INFO CARDS
========================================================= */

.na-contact-info-section {
  position: relative;
  z-index: 4;
  margin-top: -52px;
}

.na-contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--na-border);
  border-radius: 17px;
  box-shadow: 0 16px 48px rgba(20, 65, 110, 0.12);
}

.na-contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 24px 20px;
  background: #fff;
}

.na-contact-info-card + .na-contact-info-card {
  border-left: 1px solid var(--na-border);
}

.na-contact-info-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  color: var(--na-blue);
  font-size: 19px;
  font-weight: 800;
  background: var(--na-blue-soft);
  border: 1px solid #dceafa;
  border-radius: 12px;
}

.na-contact-info-card > div {
  min-width: 0;
}

.na-contact-info-card > div > span {
  display: block;
  margin-bottom: 5px;
  color: var(--na-text-light);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.na-contact-info-card :is(a, strong) {
  display: block;
  color: var(--na-text);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.na-contact-info-card a:hover {
  color: var(--na-blue);
}

.na-contact-info-card .na-contact-info-card__secondary {
  margin-top: 2px;
  color: var(--na-text-light);
  font-size: 11px;
  font-weight: 650;
}

/* =========================================================
   FORM & QUICK CONTACT
========================================================= */

.na-contact-main-section {
  padding: 72px 0 68px;
}

.na-contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(310px, 0.8fr);
  align-items: start;
  gap: 26px;
}

.na-contact-form-card,
.na-contact-side-card {
  background: #fff;
  border: 1px solid var(--na-border);
  border-radius: var(--na-radius);
  box-shadow: var(--na-shadow);
}

.na-contact-form-card {
  padding: 34px 36px 36px;
}

.na-contact-section-heading > span,
.na-contact-side-card__label {
  color: var(--na-blue);
}

.na-contact-section-heading h2,
.na-contact-side-card h2 {
  margin: 0 0 10px;
  color: var(--na-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.45px;
}

.na-contact-section-heading p,
.na-contact-side-card > p {
  margin: 0;
  color: var(--na-text-light);
  font-size: 13px;
  line-height: 1.7;
}

.na-contact-form {
  margin-top: 25px;
}

.na-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.na-contact-field {
  margin: 0 0 17px;
}

.na-contact-field label {
  display: block;
  margin-bottom: 7px;
  color: #42526a;
  font-size: 12px;
  font-weight: 700;
}

.na-contact-field label span {
  color: var(--na-red);
}

.na-contact-field :is(input, select, textarea) {
  width: 100%;
  margin: 0;
  color: var(--na-text);
  font-size: 13px;
  background: #f9fbfd;
  border: 1px solid var(--na-border);
  border-radius: 10px;
  box-shadow: none;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.na-contact-field :is(input, select) {
  height: 48px;
  padding: 0 14px;
}

.na-contact-field textarea {
  min-height: 125px;
  padding: 13px 14px;
  line-height: 1.6;
  resize: vertical;
}

.na-contact-field :is(input, select, textarea):focus {
  background: #fff;
  border-color: var(--na-blue);
  box-shadow: 0 0 0 3px rgba(11, 114, 231, 0.1);
}

.na-contact-field :is(input, textarea)::placeholder {
  color: #a1aab8;
}

.na-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 51px;
  padding: 0 23px;
  margin: 2px 0 0;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  background: linear-gradient(135deg, var(--na-blue), var(--na-blue-dark));
  border: 0;
  border-radius: 11px;
  box-shadow: 0 9px 23px rgba(11, 114, 231, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.na-contact-submit:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 114, 231, 0.3);
}

.na-contact-submit span {
  font-size: 17px;
}

.na-contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.na-contact-notice {
  padding: 12px 14px;
  margin: 19px 0 -4px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
  border-radius: 10px;
}

.na-contact-notice--success {
  color: #087443;
  background: #ecfaf3;
  border: 1px solid #bcebd2;
}

.na-contact-notice--error {
  color: #b42318;
  background: #fff4f3;
  border: 1px solid #f2cbc7;
}

.na-contact-product-context {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  margin: 19px 0 -5px;
  color: var(--na-text);
  background: var(--na-blue-soft);
  border: 1px solid #cfe2f6;
  border-radius: 10px;
}

.na-contact-product-context > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--na-blue);
  border-radius: 9px;
}

.na-contact-product-context :is(small, strong) {
  display: block;
}

.na-contact-product-context small {
  margin-bottom: 3px;
  color: var(--na-text-light);
  font-size: 10px;
}

.na-contact-product-context strong {
  font-size: 12px;
  line-height: 1.5;
}

.na-contact-side-card {
  position: sticky;
  top: 100px;
  padding: 31px 28px;
  border: 1px solid var(--na-border);
}

.na-contact-side-card > p {
  margin-bottom: 22px;
}

.na-contact-quick-links {
  display: grid;
  gap: 10px;
}

.na-contact-quick-links > a {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--na-text);
  background: #f8fbff;
  border: 1px solid #deebf8;
  border-radius: 11px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.na-contact-quick-links > a:hover {
  color: var(--na-blue);
  background: var(--na-blue-soft);
  border-color: #bcd9f6;
  transform: translateX(3px);
}

.na-contact-quick-links > a > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  background: var(--na-blue);
  border-radius: 10px;
}

.na-contact-quick-links > a > span.na-contact-zalo-mark {
  border: 0;
}

.na-contact-quick-links small,
.na-contact-quick-links strong {
  display: block;
}

.na-contact-quick-links small {
  margin-bottom: 2px;
  color: var(--na-text-light);
  font-size: 10px;
  font-weight: 650;
}

.na-contact-quick-links strong {
  color: inherit;
  font-size: 13px;
  font-weight: 750;
}

.na-contact-quick-links b {
  color: var(--na-blue);
  font-size: 15px;
}

.na-contact-commitment {
  padding: 18px;
  margin-top: 20px;
  background: #f7fafc;
  border-radius: 12px;
}

.na-contact-commitment > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--na-text);
  font-size: 12px;
  font-weight: 800;
}

.na-contact-commitment ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.na-contact-commitment li {
  position: relative;
  padding-left: 20px;
  margin: 0;
  color: var(--na-text-light);
  font-size: 11px;
  line-height: 1.5;
  list-style: none;
}

.na-contact-commitment li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #18a463;
  font-weight: 800;
}

/* =========================================================
   MAP
========================================================= */

.na-contact-map-section {
  padding: 66px 0 74px;
  background: #fff;
}

.na-contact-section-heading--center {
  max-width: 650px;
  margin: 0 auto 27px;
  text-align: center;
}

.na-contact-section-heading--center > span {
  justify-content: center;
}

.na-contact-section-heading--center h2 {
  font-size: 31px;
}

.na-contact-map {
  position: relative;
  height: 430px;
  padding: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--na-border);
  border-radius: var(--na-radius);
  box-shadow: var(--na-shadow);
}

.na-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 13px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 999px) {
  .na-contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .na-contact-info-card:nth-child(3) {
    border-left: 0;
  }

  .na-contact-info-card:nth-child(n + 3) {
    border-top: 1px solid var(--na-border);
  }

  .na-contact-main-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.8fr);
  }
}

@media (max-width: 849px) {
  .na-contact-hero,
  .na-contact-hero .na-contact-container {
    min-height: 390px;
  }

  .na-contact-hero .na-contact-container {
    grid-template-columns: 1fr;
    padding-bottom: 62px;
  }

  .na-contact-hero__visual {
    display: none;
  }

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

  .na-contact-side-card {
    position: static;
  }

  .na-contact-main-section {
    padding-top: 54px;
  }
}

@media (max-width: 549px) {
  .na-contact-container {
    width: min(100% - 28px, 1180px);
  }

  .na-contact-hero,
  .na-contact-hero .na-contact-container {
    min-height: 430px;
  }

  .na-contact-hero .na-contact-container {
    padding-bottom: 64px;
  }

  .na-contact-hero h1 {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .na-contact-hero__content > p {
    font-size: 14px;
  }

  .na-contact-hero__actions {
    display: grid;
  }

  .na-contact-button {
    width: 100%;
  }

  .na-contact-info-section {
    margin-top: -42px;
  }

  .na-contact-info-grid {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .na-contact-info-card {
    padding: 18px;
  }

  .na-contact-info-card + .na-contact-info-card {
    border-top: 1px solid var(--na-border);
    border-left: 0;
  }

  .na-contact-main-section {
    padding: 42px 0;
  }

  .na-contact-form-card,
  .na-contact-side-card {
    padding: 23px 18px;
    border-radius: 14px;
  }

  .na-contact-section-heading h2,
  .na-contact-side-card h2 {
    font-size: 23px;
  }

  .na-contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .na-contact-submit {
    width: 100%;
  }

  .na-contact-map-section {
    padding: 46px 0 52px;
  }

  .na-contact-section-heading--center h2 {
    font-size: 25px;
  }

  .na-contact-map {
    height: 330px;
    padding: 5px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .na-contact-page * {
    transition-duration: 0.01ms !important;
  }
}
