/* =========================
   CONTACT (compact)
   ========================= */

.contact-page{
  padding-block: 22px;
}

.contact-page .container{
  max-width: 980px;
}

.contact-page .section-head{
  margin-bottom: 10px;
}

.contact-page .section-title{
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* cards */
.contact-page .card{
  padding: 14px;
}

.contact-layout{
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 cột đều nhau */
  gap: 12px;
}

.contact-aside{
  display: grid;
  gap: 12px;
}

.contact-card,
.contact-form-card{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.contact-card{
  display: flex;
  flex-direction: column;
}

.contact-card-head{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.contact-icon{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(127,127,127,.08);
  font-size: 15px;
  flex: 0 0 34px;
}

/* left column content */
.contact-profile-lines{
  display: grid;
  row-gap: 12px;
}

.role-block{
  display: grid;
  gap: 3px;
}

.contact-role{
  margin: 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  color: var(--fg);
}

.contact-desc{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.contact-meta--stack{
  display: grid;
  gap: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg);
}

.contact-meta--stack .contact-role strong{
  color: var(--fg);
}

/* email rows */
.email-row{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.contact-email{
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* copy icon (no background) */
.copy-email{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;

  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: inherit;
  cursor: pointer;
  opacity: .9;

  appearance: none;
  -webkit-appearance: none;
}

.copy-email:hover{
  opacity: 1;
  color: var(--fg);
}

.copy-email:focus-visible{
  outline: 2px solid rgba(255,255,255,.28);
  outline-offset: 2px;
  border-radius: 6px;
}

.contact-note{
  margin: 2px 0 0;
  min-height: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* =========================
   MAP (more compact)
   ========================= */

.contact-card.map-card{
  padding: 12px;
}

.contact-card.map-card .contact-card-head{
  margin-bottom: -1px;
}

.map-embed{
  margin-top: 6px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe{
  width: 100%;
  height: 250px; /* tăng cao hơn để vừa khung */
  border: 0;
}

/* =========================
   FORM (compact)
   ========================= */

.contact-form-card{
  display: flex;
  flex-direction: column;
}

.contact-form-card .form{
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.contact-form-card .label{
  gap: 6px;
  font-size: 13.5px;
  color: var(--fg);
}

.contact-form-card .input{
  height: 40px;
}

.contact-form-card .textarea{
  min-height: 170px;
}

.contact-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.contact-actions .btn{
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 860px){
  .contact-layout{ grid-template-columns: 1fr; }
  .contact-actions{ grid-template-columns: 1fr; }
  .map-embed iframe{ height: 200px; }
    .hero-media{
    padding:0 14px;
    max-width:1200px;

  }
}

.hero-media{
width:100%;
max-width:981px;
margin: 13px auto 13px auto;
}

.hero-media img{
width:100%;
object-fit:cover;
border-radius:14px;
display:block;

}