/* ==========================================================================
   GENKI HOUSE - TRANG LIÊN HỆ (/lien-he)
   - Đồng bộ nền giấy nhăn (Hero & CTA cuối) + giấy kẻ ô vuông (Thông tin & Bản đồ)
   - Format thuần Bảng màu 2 (Giấy Ngà, Vàng mềm, Cam nhạt, Lục nhạt, Lam nhạt, Mực nâu)
   - Đúng 2 asset logo (Asset 6nut + Asset 8nut) & 1 ghim kẹp giấy SVG Cam
   ========================================================================== */
.ct-page {
  --ct-border: rgba(51, 39, 28, 0.22);
  --ct-border-strong: rgba(51, 39, 28, 0.42);
  --ct-shadow-sm: 2px 3px 0 rgba(51, 39, 28, 0.14);
  --ct-shadow-card: 4px 5px 0 rgba(51, 39, 28, 0.14);
  color: var(--gk-ink, #33271C);
  overflow-x: clip;
}

.ct-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 11px;
  background-color: var(--gk-yellow-soft, #FBEDC0);
  color: var(--gk-ink, #33271C);
  border: 1px solid rgba(51, 39, 28, 0.14);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--ct-shadow-sm);
}

.ct-btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 0;
  background-color: var(--gk-ink, #33271C);
  border: 1.5px solid var(--gk-ink, #33271C);
  color: var(--gk-ivory, #F8F3E9);
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--ct-shadow-sm);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-btn-ink:hover,
.ct-btn-ink:focus-visible {
  background-color: #4A3828;
  border-color: #4A3828;
  color: var(--gk-ivory, #F8F3E9);
  transform: translate(-1px, -1px);
  box-shadow: 3px 4px 0 rgba(51, 39, 28, 0.24);
}

.ct-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 0;
  background-color: var(--gk-ivory-card, #FCF9F2);
  border: 1.5px solid var(--gk-ink, #33271C);
  color: var(--gk-ink, #33271C);
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--ct-shadow-sm);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-btn-outline:hover,
.ct-btn-outline:focus-visible {
  background-color: var(--gk-yellow-soft, #FBEDC0);
  color: var(--gk-ink, #33271C);
  transform: translate(-1px, -1px);
  box-shadow: 3px 4px 0 rgba(51, 39, 28, 0.20);
}

/* ==========================================================================
   KHỐI 1: ĐẦU TRANG LIÊN HỆ (NỀN GIẤY NHĂN ẤM + VIỀN ĐÁY CAM NHỚ)
   ========================================================================== */
.ct-hero {
  padding: 32px 0 40px;
  background-color: var(--gk-ivory, #F8F3E9);
  background-image:
    linear-gradient(180deg, rgba(248, 243, 233, 0.24) 0%, rgba(248, 243, 233, 0.36) 100%),
    url('/images/hero-paper-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 4px solid var(--gk-orange, #EC6A4E);
}

.ct-hero-inner {
  max-width: 780px;
}

.ct-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gk-ink-muted, #594636);
}

.ct-breadcrumb a {
  color: var(--gk-ink-muted, #594636);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.ct-breadcrumb a:hover,
.ct-breadcrumb a:focus-visible {
  color: var(--gk-ink, #33271C);
  border-bottom-color: var(--gk-ink, #33271C);
}

.ct-breadcrumb-current {
  color: var(--gk-ink, #33271C);
  font-weight: 800;
}

.ct-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--gk-blue, #2C4A8C);
  text-transform: none;
}

.ct-hero-lead {
  margin: 0 0 22px;
  max-width: 60ch;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--gk-ink-muted, #594636);
}

.ct-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   KHỐI 2: THÔNG TIN LIÊN HỆ & BẢN ĐỒ (NỀN GIẤY KẺ Ô VUÔNG)
   ========================================================================== */
.ct-main {
  padding: 52px 0 60px;
  scroll-margin-top: 90px;
}

.ct-main.home-grid-paper-band {
  background-color: var(--gk-ivory, #F8F3E9);
  background-image: none;
}

.ct-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: stretch;
}

/* Thẻ thông tin liên hệ (Cột trái - Thuần Bảng màu 2 + Asset 6nut) */
.ct-info-card {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  background-color: var(--gk-ivory-card, #FCF9F2);
  border: 1.5px solid var(--gk-ink, #33271C);
  box-shadow: var(--ct-shadow-card);
}

.ct-card-seal {
  position: absolute;
  top: -22px;
  right: 20px;
  width: 48px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 5px 10px rgba(51, 39, 28, 0.22));
}

.ct-info-head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed rgba(51, 39, 28, 0.24);
}

.ct-info-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.28;
  color: var(--gk-ink, #33271C);
}

.ct-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background-color: #FFFDF8;
  border: 1px solid var(--ct-border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-info-item:hover {
  transform: translateX(3px);
  border-color: var(--gk-ink, #33271C);
  box-shadow: 2px 3px 0 rgba(51, 39, 28, 0.10);
}

.ct-info-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(51, 39, 28, 0.18);
  color: var(--gk-ink, #33271C);
  font-size: 15px;
}

.ct-icon-orange { background-color: #FBD9C7; }
.ct-icon-yellow { background-color: #FBEDC0; }
.ct-icon-blue   { background-color: #CFDCEF; }
.ct-icon-green  { background-color: #E3E9DA; }
.ct-icon-ivory  { background-color: #EFE6D5; }

.ct-info-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-info-copy strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gk-ink-muted, #594636);
}

.ct-info-copy a,
.ct-info-copy span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.48;
  color: var(--gk-ink, #33271C);
  overflow-wrap: anywhere;
}

.ct-info-copy a:hover,
.ct-info-copy a:focus-visible {
  color: #8C3B1A;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-info-highlight {
  font-size: 16.5px !important;
  font-weight: 800 !important;
}

.ct-info-note {
  margin-top: auto;
  padding-top: 16px;
}

.ct-info-note-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background-color: var(--gk-yellow-soft, #FBEDC0);
  border: 1px dashed var(--ct-border-strong);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--gk-ink, #33271C);
}

.ct-info-note-box i {
  margin-top: 3px;
  flex: none;
  font-size: 14px;
}

.ct-info-note-box p {
  margin: 0;
}

/* Thẻ Bản đồ chỉ đường (Cột phải + Ghim kẹp giấy SVG Cam) */
.ct-map-card {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background-color: var(--gk-ivory-card, #FCF9F2);
  border: 1.5px solid var(--gk-ink, #33271C);
  box-shadow: var(--ct-shadow-card);
}

.ct-paperclip {
  position: absolute;
  top: -22px;
  right: 26px;
  width: 22px;
  height: auto;
  z-index: 3;
  transform: rotate(12deg);
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 3px 5px rgba(51, 39, 28, 0.18));
}

.ct-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.ct-map-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--gk-ink, #33271C);
}

.ct-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background-color: #FFFDF8;
  border: 1.5px solid var(--gk-ink, #33271C);
  color: var(--gk-ink, #33271C);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--ct-shadow-sm);
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.ct-map-link:hover,
.ct-map-link:focus-visible {
  background-color: var(--gk-yellow-soft, #FBEDC0);
  transform: translate(-1px, -1px);
}

.ct-map-frame {
  flex: 1;
  min-height: 430px;
  padding: 6px;
  background-color: #EFE6D5;
  border: 1.5px solid var(--gk-kraft-border, #B3966E);
  overflow: hidden;
}

.ct-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 416px;
  border: 0;
}

.ct-map-empty {
  flex: 1;
  min-height: 360px;
  padding: 28px 20px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background-color: var(--gk-ivory, #F8F3E9);
  border: 1.5px dashed var(--ct-border-strong);
  text-align: center;
}

.ct-map-empty p {
  margin: 0;
  font-size: 14.5px;
  color: var(--gk-ink-muted, #594636);
}

/* ==========================================================================
   KHỐI 3: PHIẾU MỜI GHÉ THĂM & ĐẶT LỊCH (GIẤY NHĂN + CAM NHẠT + ASSET 8NUT)
   ========================================================================== */
.ct-visit-band {
  padding: 54px 0;
  background-color: var(--gk-ivory, #F8F3E9);
  background-image:
    linear-gradient(180deg, rgba(248, 243, 233, 0.26) 0%, rgba(248, 243, 233, 0.42) 100%),
    url('/images/hero-paper-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(51, 39, 28, 0.16);
}

.ct-visit-card {
  position: relative;
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 28px;
  padding: 32px 34px;
  background-color: #FBD9C7;
  border: 1.5px solid var(--gk-ink, #33271C);
  box-shadow: 5px 6px 0 rgba(51, 39, 28, 0.16);
}

.ct-visit-seal {
  position: absolute;
  top: -24px;
  right: 22px;
  width: 52px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 5px 10px rgba(51, 39, 28, 0.22));
}

.ct-visit-copy {
  max-width: 600px;
}

.ct-visit-copy h2 {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 29px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--gk-ink, #33271C);
}

.ct-visit-copy p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gk-ink-muted, #594636);
}

.ct-visit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .ct-map-frame,
  .ct-map-frame iframe {
    min-height: 360px;
  }
}

@media (max-width: 600px) {
  .ct-hero {
    padding: 24px 0 32px;
  }
  .ct-main {
    padding: 38px 0 44px;
  }
  .ct-info-card,
  .ct-map-card {
    padding: 22px 18px;
  }
  .ct-card-seal {
    width: 38px;
    top: -18px;
    right: 14px;
  }
  .ct-paperclip {
    width: 19px;
    top: -18px;
    right: 16px;
  }
  .ct-map-frame,
  .ct-map-frame iframe {
    min-height: 300px;
  }
  .ct-visit-band {
    padding: 40px 0;
  }
  .ct-visit-card {
    padding: 24px 18px;
  }
  .ct-visit-seal {
    width: 42px;
    top: -20px;
    right: 14px;
  }
  .ct-hero-actions,
  .ct-hero-actions a,
  .ct-visit-actions,
  .ct-visit-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-btn-ink,
  .ct-btn-outline,
  .ct-info-item,
  .ct-map-link {
    transition: none !important;
    transform: none !important;
  }
}
