/* ================================================================
   TATAGARDEN — page-contact.css
   Template: Trang Liên hệ (page-lien-he.php)
================================================================ */

/* ── Shared tokens ── */
.tg-contact-page {
  --c-g:     var(--tg-main);
  --c-dark:  var(--tg-dark);
  --c-gold:  var(--tg-gold);
  --c-muted: var(--tg-muted);
  --c-stone: var(--tg-stone);
  --c-pale:  #e8f5f1;
  --c-white: #ffffff;
  --c-ink:   #1c2621;
  --c-r:     10px;
  --c-r-lg:  16px;
  --c-trans: all .22s cubic-bezier(.4,0,.2,1);
}

/* ================================================================
   HERO
================================================================ */
.tg-contact-hero {
  background: var(--c-dark);
  position: relative; overflow: hidden;
}
.tg-contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(90,170,42,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 0% 0%, rgba(201,168,76,.08) 0%, transparent 55%);
  pointer-events: none;
}

.tg-contact-hero__inner {
  position: relative; z-index: 1;
  padding: 80px 0 72px;
}
.tg-contact-hero__title {
  font-family: var(--tg-font-main, 'Google Sans', sans-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; color: #fff;
  line-height: 1.08; letter-spacing: -.025em;
  margin: 0 0 18px;
}
.tg-contact-hero__title em { font-style: normal; color: #a8e6cf; }
.tg-contact-hero__sub {
  font-size: 16px; color: rgba(255,255,255,.65);
  line-height: 1.75; max-width: 480px; margin: 0;
}

/* ================================================================
   BODY / GRID
================================================================ */
.tg-contact-body { padding: 72px 0 80px; background: #f7faf9; }

.tg-contact-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 40px; align-items: start;
}

/* ================================================================
   FORM
================================================================ */
.tg-contact-form-wrap {
  background: #fff;
  border-radius: var(--c-r-lg);
  padding: 40px 44px;
  box-shadow: 0 4px 24px rgba(20,102,83,.07);
  border: 1px solid rgba(20,102,83,.08);
}
.tg-contact-form-title {
  font-size: 22px; font-weight: 700; color: var(--c-ink);
  margin: 0 0 6px;
  font-family: var(--tg-font-main);
}
.tg-contact-form-sub {
  font-size: 14px; color: var(--c-muted); margin: 0 0 32px;
}

.tg-cform { display: flex; flex-direction: column; gap: 18px; }

.tg-cform__row { display: flex; flex-direction: column; gap: 18px; }
.tg-cform__row--2 { flex-direction: row; gap: 16px; }
.tg-cform__row--2 .tg-cform__field { flex: 1; min-width: 0; }

.tg-cform__field {
  display: flex; flex-direction: column; gap: 7px;
}
.tg-cform__field label {
  font-size: 13px; font-weight: 500; color: var(--c-ink);
}
.tg-cform__field label span { color: var(--c-g); margin-left: 1px; }
.tg-cform__field input,
.tg-cform__field select,
.tg-cform__field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--c-stone);
  border-radius: var(--c-r);
  font-size: 14px; font-family: var(--tg-font-main, inherit);
  color: var(--c-ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none; appearance: none;
}
.tg-cform__field input::placeholder,
.tg-cform__field textarea::placeholder { color: #b0bdb9; }
.tg-cform__field input:focus,
.tg-cform__field select:focus,
.tg-cform__field textarea:focus {
  border-color: var(--c-g);
  box-shadow: 0 0 0 3px rgba(20,102,83,.1);
}
.tg-cform__field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.tg-cform__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b8077' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}

.tg-cform__submit {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 36px; border-radius: 100px;
  background: var(--c-g); color: #fff; border: none;
  font-size: 14.5px; font-weight: 600;
  font-family: var(--tg-font-main, inherit);
  cursor: pointer; transition: var(--c-trans);
  white-space: nowrap; align-self: flex-start;
  box-shadow: 0 4px 20px rgba(20,102,83,.28);
}
.tg-cform__submit svg { flex-shrink: 0; transition: transform .2s; }
.tg-cform__submit:hover {
  background: var(--c-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20,102,83,.38);
}
.tg-cform__submit:hover svg { transform: translateX(3px); }

/* ================================================================
   INFO
================================================================ */
.tg-contact-info {
  display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 100px;
}

.tg-contact-info__card {
  background: #fff;
  border-radius: var(--c-r-lg); padding: 28px 28px;
  box-shadow: 0 4px 24px rgba(20,102,83,.07);
  border: 1px solid rgba(20,102,83,.08);
}

.tg-contact-info__title {
  font-size: 16px; font-weight: 700; color: var(--c-ink);
  margin: 0 0 20px;
  font-family: var(--tg-font-main);
}

.tg-contact-info__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.tg-contact-info__list li {
  display: flex; align-items: flex-start; gap: 14px;
}
.tg-contact-info__icon {
  width: 40px; height: 40px; border-radius: var(--c-r);
  background: var(--c-pale); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.tg-contact-info__icon svg {
  width: 18px; height: 18px; color: var(--c-g);
}
.tg-contact-info__list li > div:not(.tg-contact-info__icon) span {
  display: block; font-size: 11px; text-transform: uppercase;
  letter-spacing: .09em; color: var(--c-muted); margin-bottom: 3px;
}
.tg-contact-info__list li > div:not(.tg-contact-info__icon) strong {
  font-size: 14px; color: var(--c-ink); font-weight: 500;
}
.tg-contact-info__list li a { text-decoration: none; color: var(--c-ink); }
.tg-contact-info__list li a:hover { color: var(--c-g); }

/* CTA card */
.tg-contact-info__card--cta {
  background: var(--c-dark);
  border-color: transparent;
  text-align: left;
}
.tg-contact-cta__eye {
  font-size: 10px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--c-gold);
  margin: 0 0 8px; display: block;
}
.tg-contact-cta__title {
  font-size: 22px; font-weight: 700; color: #fff;
  line-height: 1.25; margin: 0 0 10px;
  font-family: var(--tg-font-main);
}
.tg-contact-cta__desc {
  font-size: 13.5px; color: rgba(255,255,255,.6);
  line-height: 1.65; margin: 0 0 20px;
}
.tg-contact-cta__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 100px;
  background: #fff; color: var(--c-dark);
  font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: var(--c-trans);
  font-family: var(--tg-font-main);
}
.tg-contact-cta__btn:hover {
  background: var(--c-pale); color: var(--c-dark);
  transform: translateY(-1px);
}

/* ================================================================
   MAP
================================================================ */
.tg-contact-map {
  margin-top: 48px; border-radius: var(--c-r-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(20,102,83,.1);
  border: 1px solid rgba(20,102,83,.08);
  line-height: 0;
}
.tg-contact-map iframe {
  display: block; width: 100%; height: 400px;
  border: none;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .tg-contact-grid { grid-template-columns: 1fr; }
  .tg-contact-info { position: static; flex-direction: row; flex-wrap: wrap; }
  .tg-contact-info__card { flex: 1; min-width: 260px; }
}
@media (max-width: 768px) {
  .tg-contact-hero__inner { padding: 56px 0 52px; }
  .tg-contact-hero__title { font-size: clamp(30px, 9vw, 48px); }
  .tg-contact-body { padding: 48px 0 56px; }
  .tg-contact-form-wrap { padding: 28px 24px; }
  .tg-cform__row--2 { flex-direction: column; }
  .tg-contact-info { flex-direction: column; }
  .tg-cform__submit { width: 100%; justify-content: center; }
  .tg-contact-map iframe { height: 300px; }
}
@media (max-width: 480px) {
  .tg-contact-form-wrap { padding: 22px 18px; }
}
