/* ============================================================
   Đức Sơn Nhà Đất — Trust Pages (404, Giới thiệu, Liên hệ)
   Mobile-first · Pixel parity với main.css
   ============================================================ */

/* ── Shared page hero ──────────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 20px 48px;
  text-align: center;
}
.page-hero__eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.page-hero__title {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.page-hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Shared section wrapper ────────────────────────────── */
.page-section {
  padding: 40px 20px;
}
.page-section--alt {
  background: var(--bg-alt, #f8f7f5);
  padding: 40px 20px;
}
.page-section__title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}
.page-section__lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 28px;
}

/* ── 404 ───────────────────────────────────────────────── */
.error-404-wrap {
  padding: 60px 20px 40px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.error-404-code {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0;
}
.error-404-title {
  font-size: 22px;
  color: var(--navy);
  margin: 8px 0 10px;
}
.error-404-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.error-404-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s;
}
.error-404-actions .btn-primary:hover { background: var(--gold); color: var(--navy); }
.error-404-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.error-404-actions .btn-outline:hover { background: var(--navy); color: var(--white); }

/* 404 search form */
.error-404-search {
  margin-bottom: 40px;
}
.error-404-search form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.error-404-search input[type="search"] {
  flex: 1;
  border: none;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.error-404-search button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
}

/* 404 suggested properties */
.error-404-suggest {
  padding: 32px 20px 48px;
  background: var(--bg-alt, #f8f7f5);
}
.error-404-suggest__title {
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 20px;
}

/* ── About page ────────────────────────────────────────── */
.about-brand {
  display: grid;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}
.about-brand__text { font-size: 15px; line-height: 1.75; color: var(--text); }
.about-brand__text p { margin-bottom: 14px; }
.about-brand__text strong { color: var(--navy); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.about-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--sh-card);
}
.about-stat__num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.about-stat__label { font-size: 13px; color: var(--text-muted); }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--sh-card);
}
.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
  border: 3px solid var(--gold);
}
.team-card__avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 3px solid var(--gold);
}
.team-card__name { font-weight: 600; color: var(--navy); font-size: 15px; margin-bottom: 3px; }
.team-card__role { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.team-card__phone { color: var(--gold); font-size: 13px; text-decoration: none; }
.team-card__phone:hover { text-decoration: underline; }

/* Areas coverage */
.about-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.about-area-tag {
  background: var(--navy);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

/* About CTA */
.about-cta {
  background: var(--navy);
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
}
.about-cta__title {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 8px;
}
.about-cta__sub {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
}
.about-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.about-cta__btns a {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #b8904f; }
.btn-white-outline { border: 1.5px solid rgba(255,255,255,.6); color: var(--white); }
.btn-white-outline:hover { background: rgba(255,255,255,.1); }

/* ── Contact page ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.contact-info-cards {
  display: grid;
  gap: 14px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--sh-card);
}
.contact-info-card__icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.contact-info-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-card__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.contact-info-card__value a {
  color: var(--gold);
  text-decoration: none;
}
.contact-info-card__value a:hover { text-decoration: underline; }
.contact-info-card__sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Map embed */
.contact-map {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}

/* CF7 form styling — match theme */
.dsnd-cf7-wrap .wpcf7 { font-family: var(--sans); }
.dsnd-cf7-wrap .wpcf7 input[type="text"],
.dsnd-cf7-wrap .wpcf7 input[type="tel"],
.dsnd-cf7-wrap .wpcf7 input[type="email"],
.dsnd-cf7-wrap .wpcf7 textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
  box-sizing: border-box;
}
.dsnd-cf7-wrap .wpcf7 input:focus,
.dsnd-cf7-wrap .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.dsnd-cf7-wrap .wpcf7 textarea { height: 110px; resize: vertical; }
.dsnd-cf7-wrap .wpcf7 .wpcf7-form-control-wrap { display: block; margin-bottom: 14px; }
.dsnd-cf7-wrap .wpcf7 label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; color: var(--navy); }
.dsnd-cf7-wrap .wpcf7 .wpcf7-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  width: 100%;
}
.dsnd-cf7-wrap .wpcf7 .wpcf7-submit:hover { background: var(--gold); color: var(--navy); }
.dsnd-cf7-wrap .wpcf7 .wpcf7-response-output {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
}
.dsnd-cf7-wrap .wpcf7 .wpcf7-mail-sent-ok {
  border: 1px solid #00a32a;
  background: #edfaef;
  color: #00a32a;
}
.dsnd-cf7-wrap .wpcf7 .wpcf7-validation-errors,
.dsnd-cf7-wrap .wpcf7 .wpcf7-mail-sent-ng {
  border: 1px solid #d63638;
  background: #fce7e7;
  color: #d63638;
}
.dsnd-cf7-wrap .wpcf7 .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #d63638;
  margin-top: 3px;
}

/* ══════════════════════════════════════════════════════════
   DỰ ÁN — Coming soon + featured suggestion
   ══════════════════════════════════════════════════════════ */

/* Hộp thông báo "sắp ra mắt" */
.coming-soon-box {
  background: linear-gradient(135deg, var(--navy) 0%, #132240 100%);
  color: var(--white);
  border-radius: var(--r-card, 10px);
  padding: 40px 28px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.coming-soon-box__icon { font-size: 48px; margin-bottom: 14px; }
.coming-soon-box__title {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 8px;
}
.coming-soon-box__desc {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 20px;
}
.coming-soon-box__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy);
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.coming-soon-box__cta:hover { background: #b8904f; }

/* Notify subscription mini-form */
.notify-form {
  display: flex;
  max-width: 420px;
  margin: 16px auto 0;
  gap: 0;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 6px;
  overflow: hidden;
}
.notify-form input[type="tel"] {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: none;
  padding: 10px 14px;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.notify-form input::placeholder { color: rgba(255,255,255,.45); }
.notify-form button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   KÝ GỬI — Trust + Process + Benefits
   ══════════════════════════════════════════════════════════ */

/* Khối trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card, 10px);
  padding: 16px 14px;
  box-shadow: var(--sh-card);
}
.trust-item__icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.trust-item__title { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 3px; }
.trust-item__desc  { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Các bước quy trình */
.process-steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.process-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card, 10px);
  box-shadow: var(--sh-card);
}
.process-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-step__title { font-weight: 600; color: var(--navy); font-size: 15px; margin-bottom: 4px; }
.process-step__desc  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card, 10px);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--sh-card);
}
.benefit-card__icon  { font-size: 32px; margin-bottom: 10px; }
.benefit-card__title { font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 5px; }
.benefit-card__desc  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Ký gửi layout trang */
.kygui-grid { display: grid; gap: 32px; max-width: 960px; margin: 0 auto; }

/* ══════════════════════════════════════════════════════════
   TIN TỨC THỊ TRƯỜNG — News grid
   ══════════════════════════════════════════════════════════ */

/* Ô tìm kiếm tin tức */
.news-search {
  max-width: 500px;
  margin: 0 auto 32px;
}
.news-search form {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.news-search input[type="search"] {
  flex: 1;
  border: none;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.news-search button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  transition: background .2s;
}
.news-search button:hover { background: var(--gold); color: var(--navy); }

/* Grid bài viết */
.news-grid {
  display: grid;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card, 10px);
  overflow: hidden;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.news-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.news-card:hover .news-card__img img { transform: scale(1.03); }
.news-card__body { padding: 18px 16px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-card__cat {
  background: rgba(139,94,43,.15);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.news-card__title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
  text-decoration: none;
  display: block;
}
.news-card__title:hover { color: var(--gold); }
.news-card__excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  /* 3 dòng giới hạn */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.news-card__read-more:hover { text-decoration: underline; }

/* Phân trang */
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.news-pagination a,
.news-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  color: var(--navy);
  transition: all .15s;
}
.news-pagination a:hover          { background: var(--navy); color: var(--white); border-color: var(--navy); }
.news-pagination span.current     { background: var(--navy); color: var(--white); border-color: var(--navy); }
.news-pagination .page-numbers.dots { border: none; cursor: default; }

/* Fallback khi không có bài */
.news-empty {
  text-align: center;
  padding: 48px 20px;
  max-width: 460px;
  margin: 0 auto;
}
.news-empty__icon  { font-size: 48px; margin-bottom: 12px; }
.news-empty__title { font-family: var(--serif); font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.news-empty__desc  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Responsive bổ sung ────────────────────────────────── */
/* ── Responsive ────────────────────────────────────────── */
@media (min-width: 600px) {
  .about-stats   { grid-template-columns: repeat(4, 1fr); }
  .team-grid     { grid-template-columns: repeat(3, 1fr); }
  .trust-bar     { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .page-hero { padding: 72px 40px 60px; }
  .page-hero__title { font-size: 42px; }
  .page-section { padding: 56px 40px; }
  .page-section--alt { padding: 56px 40px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
  .contact-map iframe { height: 340px; }
  .error-404-wrap { padding: 80px 40px 48px; }
  .error-404-code { font-size: 120px; }
  .kygui-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .trust-bar     { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
  .page-hero { padding: 88px 48px 72px; }
  .page-section { padding: 64px 48px; }
  .page-section--alt { padding: 64px 48px; }
  .about-cta { padding: 64px 48px; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .error-404-suggest { padding: 40px 48px 64px; }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── CHÍNH SÁCH BẢO MẬT ─────────────────────────────────────── */

.page-hero__eyebrow {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
  margin: 0 0 10px;
}
.page-hero__meta {
  font-size: 12px;
  opacity: .6;
  margin: 10px 0 0;
}

.privacy-content {
  background: #fff;
}
.privacy-content__inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Mỗi mục chính sách */
.privacy-block {
  padding: 28px 0;
  border-bottom: 1px solid #f0f0f0;
}
.privacy-block:last-child {
  border-bottom: none;
}
.privacy-block__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a3c5e;
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.privacy-block__num {
  color: #c8a951;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.privacy-block__content {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}
.privacy-block__content p  { margin: 0 0 10px; }
.privacy-block__content ul,
.privacy-block__content ol { padding-left: 20px; margin: 0 0 10px; }
.privacy-block__content li { margin-bottom: 5px; }
.privacy-block__content strong { color: #222; }
.privacy-block__content a { color: #2a5298; }
.privacy-block__content a:hover { text-decoration: underline; }

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