/*-----------------------------------*\
  #GIAO DIỆN THƯƠNG HIỆU CÁ NHÂN
  Nguyễn Kiêm Thành — nguyenkiemthanh.com
\*-----------------------------------*/

:root {
  /* Bảng màu Onyx & Vàng Kim trang nhã */
  --bg-gradient-onyx: linear-gradient(
    to bottom right,
    hsl(230, 6%, 24%) 3%,
    hsl(230, 6%, 16%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right,
    hsla(230, 6%, 20%, 0.35) 0%,
    hsla(230, 6%, 12%, 0) 100%
  ), hsl(230, 6%, 13%);
  --bg-gradient-gold-1: linear-gradient(
    to bottom right,
    hsl(43, 92%, 72%) 0%,
    hsla(38, 85%, 62%, 0) 55%
  );
  --bg-gradient-gold-2: linear-gradient(
    135deg,
    hsla(43, 92%, 72%, 0.22) 0%,
    hsla(38, 85%, 62%, 0) 60%
  ), hsl(230, 6%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right,
    hsl(42, 28%, 32%) 0%,
    hsla(230, 6%, 24%, 0.25) 60%
  );
  --text-gradient-gold: linear-gradient(
    to right,
    hsl(44, 96%, 76%),
    hsl(38, 78%, 60%)
  );

  --jet: hsl(230, 5%, 23%);
  --onyx: hsl(230, 6%, 17%);
  --eerie-black-1: hsl(230, 6%, 13%);
  --eerie-black-2: hsl(230, 7%, 11.5%);
  --smoky-black: hsl(230, 8%, 7%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(40, 20%, 97%);
  --gold-primary: hsl(43, 92%, 72%);
  --vegas-gold: hsl(42, 62%, 62%);
  --light-gray: hsl(225, 10%, 86%);
  --light-gray-70: hsla(225, 10%, 82%, 0.74);
  --bittersweet-shimmer: hsl(4, 62%, 58%);

  /* Phông chữ tiếng Việt Be Vietnam Pro */
  --ff-vietnam: 'Be Vietnam Pro', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 18px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14.5px;
  --fs-7: 13.5px;
  --fs-8: 11.5px;

  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.28);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.28);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.28);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.18);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.32);

  --transition-1: 0.25s ease;
  --transition-2: 0.45s ease-in-out;
}

/*-----------------------------------*\
  #RESET & TIẾNG VIỆT CHUẨN
\*-----------------------------------*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

a {
  text-decoration: none;
  color: inherit;
}

li { list-style: none; }

img, ion-icon, a, button, time, span { display: block; }

p span,
h1 span,
h2 span,
h3 span,
h4 span,
a span {
  display: inline;
}

.nowrap { white-space: nowrap; }

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input, textarea, select {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--gold-primary);
  color: var(--smoky-black);
}

:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

html {
  font-family: var(--ff-vietnam);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--smoky-black);
  color: var(--light-gray);
  line-height: 1.65;
}

/*-----------------------------------*\
  #THÀNH PHẦN DÙNG CHUNG
\*-----------------------------------*/

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--jet);
  margin: 16px 0;
}

.icon-box {
  position: relative;
  background: var(--border-gradient-onyx);
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  color: var(--gold-primary);
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--eerie-black-1);
  border-radius: inherit;
  z-index: -1;
}

.icon-box ion-icon { --ionicon-stroke-width: 35px; }

article { display: none; }

article.active {
  display: block;
  animation: fade 0.4s ease backwards;
}

@keyframes fade {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
  text-transform: none;
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

.h2 {
  font-size: var(--fs-1);
  font-weight: var(--fw-700);
  line-height: 1.3;
}

.h3 {
  font-size: var(--fs-2);
  font-weight: var(--fw-600);
  line-height: 1.38;
}

.h4 {
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  line-height: 1.4;
}

.h5 {
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  line-height: 1.45;
}

.article-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 4px;
  background: var(--text-gradient-gold);
  border-radius: 4px;
}

.section-intro {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  line-height: 1.72;
  margin-bottom: 24px;
}

.content-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

/*-----------------------------------*\
  #KHUNG CHÍNH & SIDEBAR
\*-----------------------------------*/

main {
  margin: 14px 12px 92px;
  min-width: 260px;
}

.sidebar {
  margin-bottom: 16px;
  max-height: 124px;
  overflow: hidden;
  transition: var(--transition-2);
}

.sidebar.active { max-height: 680px; }

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
}

.avatar-box {
  background: var(--bg-gradient-onyx);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid hsla(43, 92%, 72%, 0.28);
  flex-shrink: 0;
}

.avatar-box img {
  width: 78px;
  height: 88px;
  object-fit: cover;
}

.info-content .name {
  color: var(--white-2);
  font-size: var(--fs-3);
  font-weight: var(--fw-700);
  letter-spacing: -0.2px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.info-content .title {
  color: var(--gold-primary);
  background: var(--onyx);
  border: 1px solid hsla(43, 92%, 72%, 0.2);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  width: max-content;
  max-width: 100%;
  padding: 4px 11px;
  border-radius: 8px;
}

.info_more-btn {
  position: absolute;
  top: -18px;
  right: -18px;
  border-radius: 0 18px;
  font-size: 13px;
  color: var(--gold-primary);
  background: var(--border-gradient-onyx);
  padding: 10px 12px;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  z-index: 1;
}

.info_more-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-gradient-jet);
  transition: var(--transition-1);
  z-index: -1;
}

.info_more-btn:hover,
.info_more-btn:focus-visible { background: var(--bg-gradient-gold-1); }

.info_more-btn:hover::before,
.info_more-btn:focus-visible::before { background: var(--bg-gradient-gold-2); }

.info_more-btn span { display: none; }

.sidebar-info_more {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
}

.sidebar.active .sidebar-info_more {
  opacity: 1;
  visibility: visible;
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.contact-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-info {
  max-width: calc(100% - 50px);
  width: calc(100% - 50px);
}

.contact-title {
  color: var(--light-gray-70);
  font-size: 11px;
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-info .contact-link:hover { color: var(--gold-primary); }

.contact-info address { font-style: normal; }

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
}

.social-item .social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--onyx);
  border: 1px solid var(--jet);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gray);
  font-size: 18px;
  transition: var(--transition-1);
}

.social-item .social-link:hover {
  color: var(--gold-primary);
  border-color: hsla(43, 92%, 72%, 0.45);
}

/*-----------------------------------*\
  #THANH ĐIỀU HƯỚNG (ĐIỆN THOẠI & MÁY TÍNH)
\*-----------------------------------*/

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(230, 7%, 12%, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--jet);
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-2);
  z-index: 10;
}

.navbar-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 6px 4px 8px;
}

.navbar-item {
  display: flex;
  justify-content: center;
}

.navbar-link {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--light-gray-70);
  font-size: 10.5px;
  font-weight: var(--fw-500);
  padding: 6px 2px;
  text-align: center;
  transition: color var(--transition-1);
}

.navbar-link .nav-icon {
  font-size: 18px;
}

.navbar-link .nav-full { display: none; }
.navbar-link .nav-short { display: block; white-space: nowrap; }

.navbar-link:hover,
.navbar-link:focus-visible { color: var(--white-2); }

.navbar-link.active {
  color: var(--gold-primary);
  font-weight: var(--fw-600);
}

/*-----------------------------------*\
  #MỤC 1: GIỚI THIỆU
\*-----------------------------------*/

.hero-statement {
  position: relative;
  background: linear-gradient(135deg, hsla(43, 92%, 72%, 0.12), hsla(230, 6%, 16%, 0.65));
  border: 1px solid hsla(43, 92%, 72%, 0.28);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 22px;
}

.hero-kicker {
  color: var(--gold-primary);
  font-size: 11.5px;
  font-weight: var(--fw-600);
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.hero-headline {
  font-size: 19px;
  line-height: 1.45;
  color: var(--white-2);
  text-wrap: balance;
}

.about-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  line-height: 1.75;
  margin-bottom: 30px;
}

.about-text p + p { margin-top: 14px; }

.about-text strong {
  color: var(--white-2);
  font-weight: var(--fw-600);
}

.service { margin-bottom: 32px; }

.service-title { margin-bottom: 18px; }

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-item {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.service-icon-box { margin-bottom: 12px; }
.service-icon-box img { margin: auto; }

.service-content-box { text-align: center; }

.service-item-title { margin-bottom: 8px; }

.service-item-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  line-height: 1.68;
}

.service-item-text strong {
  color: var(--gold-primary);
  font-weight: var(--fw-500);
}

/* Năm nhịp cầu đồng hành */
.community-pillars { margin-bottom: 8px; }

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.audience-card {
  background: var(--onyx);
  border: 1px solid var(--jet);
  border-radius: 14px;
  padding: 18px;
  transition: border-color var(--transition-1);
}

.audience-card:hover {
  border-color: hsla(43, 92%, 72%, 0.4);
}

.audience-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-600);
  color: var(--gold-primary);
  background: hsla(43, 92%, 72%, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.audience-card-title {
  margin-bottom: 6px;
  font-size: 15.5px;
}

.audience-card p {
  font-size: var(--fs-7);
  color: var(--light-gray);
  line-height: 1.65;
}

/*-----------------------------------*\
  #MỤC 2: HÀNH TRÌNH & VAI TRÒ
\*-----------------------------------*/

.timeline { margin-bottom: 32px; }

.timeline .title-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.timeline-list {
  font-size: var(--fs-6);
  margin-left: 46px;
}

.timeline-item { position: relative; }

.timeline-item:not(:last-child) { margin-bottom: 24px; }

.timeline-item-title {
  font-size: var(--fs-4);
  line-height: 1.4;
  margin-bottom: 6px;
}

.timeline-list > .timeline-item > span {
  color: var(--vegas-gold);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  margin-bottom: 6px;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -29px;
  width: 1px;
  height: calc(100% + 44px);
  background: var(--jet);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 7px;
  left: -32px;
  height: 7px;
  width: 7px;
  background: var(--text-gradient-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--jet);
}

.timeline-text {
  color: var(--light-gray);
  font-weight: var(--fw-400);
  line-height: 1.7;
}

.timeline-text strong {
  color: var(--gold-primary);
  font-weight: var(--fw-500);
}

.skills-title { margin-bottom: 18px; }

.skills-list { padding: 22px; }

.skills-item:not(:last-child) { margin-bottom: 18px; }

.skill .title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.skill .title-wrapper data {
  color: var(--gold-primary);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  flex-shrink: 0;
}

.skill-progress-bg {
  background: var(--jet);
  width: 100%;
  height: 8px;
  border-radius: 10px;
}

.skill-progress-fill {
  background: var(--text-gradient-gold);
  height: 100%;
  border-radius: inherit;
}

/*-----------------------------------*\
  #MỤC 3: HỆ SINH THÁI DỰ ÁN
\*-----------------------------------*/

.filter-list { display: none; }

.filter-select-box {
  position: relative;
  margin-bottom: 24px;
}

.filter-select {
  background: var(--onyx);
  color: var(--white-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
}

.filter-select.active .select-icon { transform: rotate(0.5turn); }

.select-list {
  background: var(--onyx);
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  padding: 6px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  box-shadow: var(--shadow-3);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.15s ease-in-out;
}

.filter-select.active + .select-list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.select-item button {
  background: transparent;
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  text-transform: none;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
}

.select-item button:hover {
  background: hsla(43, 92%, 72%, 0.12);
  color: var(--gold-primary);
}

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 10px;
}

.project-item { display: none; }

.project-item.active {
  display: block;
  animation: scaleUp 0.25s ease forwards;
}

@keyframes scaleUp {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.project-item > a {
  width: 100%;
  background: var(--onyx);
  border: 1px solid var(--jet);
  border-radius: 16px;
  padding: 12px;
  transition: border-color var(--transition-1), transform var(--transition-1);
}

.project-item > a:hover {
  border-color: hsla(43, 92%, 72%, 0.45);
  transform: translateY(-2px);
}

.project-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.project-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  transition: var(--transition-1);
}

.project-item > a:hover .project-img::before {
  background: hsla(0, 0%, 0%, 0.42);
}

.project-item-icon-box {
  --scale: 0.85;
  background: var(--eerie-black-2);
  border: 1px solid hsla(43, 92%, 72%, 0.4);
  color: var(--gold-primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  font-size: 20px;
  padding: 14px;
  border-radius: 12px;
  opacity: 0;
  z-index: 2;
  transition: var(--transition-1);
}

.project-item > a:hover .project-item-icon-box {
  --scale: 1;
  opacity: 1;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-1);
}

.project-item > a:hover img { transform: scale(1.04); }

.project-title,
.project-category { padding-inline: 4px; }

.project-title {
  color: var(--white-2);
  font-size: 16px;
  font-weight: var(--fw-600);
  text-transform: none;
  line-height: 1.4;
  margin-bottom: 4px;
  text-wrap: balance;
}

.project-category {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
}

/*-----------------------------------*\
  #MỤC 4: CHIA SẺ THÂN - TÂM - TRÍ
\*-----------------------------------*/

.blog-posts { margin-bottom: 10px; }

.blog-posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.blog-post-item > a {
  position: relative;
  background: var(--border-gradient-onyx);
  height: 100%;
  box-shadow: var(--shadow-4);
  border-radius: 16px;
  z-index: 1;
  overflow: hidden;
}

.blog-post-item > a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--eerie-black-1);
  z-index: -1;
}

.blog-banner-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.blog-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-1);
}

.blog-post-item > a:hover .blog-banner-box img { transform: scale(1.05); }

.blog-content { padding: 18px; }

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.blog-meta .blog-category {
  color: var(--gold-primary);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
}

.blog-meta time {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  font-weight: var(--fw-400);
}

.blog-meta .dot {
  background: var(--light-gray-70);
  width: 4px;
  height: 4px;
  border-radius: 4px;
}

.blog-item-title {
  margin-bottom: 10px;
  font-size: 17.5px;
  line-height: 1.42;
  transition: var(--transition-1);
  text-wrap: balance;
}

.blog-post-item > a:hover .blog-item-title { color: var(--gold-primary); }

.blog-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  line-height: 1.68;
}

/*-----------------------------------*\
  #MỤC 5: LIÊN HỆ & KHUNG CHÂN DUNG CHUẨN
\*-----------------------------------*/

.portrait-connect-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--onyx);
  border: 1px solid var(--jet);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 30px;
}

.portrait-slot-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portrait-frame {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid hsla(43, 92%, 72%, 0.42);
  background: var(--eerie-black-2);
  box-shadow: var(--shadow-2);
  margin-bottom: 14px;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--eerie-black-2);
  border: 1px solid hsla(43, 92%, 72%, 0.38);
  color: var(--gold-primary);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  cursor: pointer;
  transition: var(--transition-1);
  margin-bottom: 10px;
}

.portrait-preview-btn:hover {
  background: hsla(43, 92%, 72%, 0.14);
}

.portrait-hint {
  font-size: 12px;
  color: var(--light-gray-70);
  line-height: 1.55;
  max-width: 280px;
}

.portrait-hint code {
  color: var(--gold-primary);
  font-family: Consolas, monospace;
  font-size: 11.5px;
}

.connect-greeting {
  color: var(--gold-primary);
  font-size: 12px;
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.connect-heading {
  margin-bottom: 12px;
  line-height: 1.4;
}

.connect-desc {
  font-size: var(--fs-6);
  color: var(--light-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.direct-channels-list {
  display: grid;
  gap: 10px;
  font-size: var(--fs-7);
}

.direct-channels-list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
}

.direct-channels-list strong {
  color: var(--white-2);
  display: block;
  margin-bottom: 2px;
}

.direct-channels-list a {
  color: var(--gold-primary);
  font-weight: var(--fw-500);
}

.direct-channels-list a:hover { text-decoration: underline; }

.direct-channels-list span {
  color: var(--light-gray-70);
}

/* Biểu mẫu liên hệ */
.contact-form { margin-bottom: 10px; }

.form-title { margin-bottom: 18px; }

.input-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.select-topic-wrapper {
  display: block !important;
  margin-bottom: 18px;
}

.topic-select-btn {
  padding: 13px 18px;
  border-radius: 14px;
}

.form-input {
  color: var(--white-2);
  background: var(--onyx);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  padding: 13px 18px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  outline: none;
  transition: border-color var(--transition-1);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fad470' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-select option {
  background: var(--eerie-black-2);
  color: var(--white-2);
}

.form-input::placeholder {
  color: var(--light-gray-70);
  font-weight: var(--fw-400);
}

.form-input:focus { border-color: var(--gold-primary); }

textarea.form-input {
  min-height: 110px;
  height: 130px;
  max-height: 220px;
  resize: vertical;
  margin-bottom: 20px;
}

.form-btn {
  position: relative;
  width: 100%;
  background: var(--border-gradient-onyx);
  color: var(--gold-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  text-transform: none;
  box-shadow: var(--shadow-3);
  z-index: 1;
  transition: var(--transition-1);
}

.form-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.form-btn:hover:not(:disabled) { background: var(--bg-gradient-gold-1); }
.form-btn:hover:not(:disabled)::before { background: var(--bg-gradient-gold-2); }

.form-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-feedback {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: hsla(43, 92%, 72%, 0.1);
  border: 1px solid hsla(43, 92%, 72%, 0.38);
}

.feedback-title {
  color: var(--gold-primary);
  font-weight: var(--fw-600);
  margin-bottom: 6px;
}

.feedback-body {
  font-size: var(--fs-7);
  color: var(--white-2);
  margin-bottom: 14px;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-action-link,
.feedback-copy-btn {
  padding: 9px 15px;
  border-radius: 10px;
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
}

.feedback-action-link {
  background: var(--gold-primary);
  color: var(--smoky-black);
}

.feedback-copy-btn {
  background: var(--onyx);
  border: 1px solid var(--jet);
  color: var(--white-2);
}

.site-footer {
  margin-top: 18px;
  padding: 12px 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--light-gray-70);
}

.site-footer strong {
  color: var(--gold-primary);
  font-weight: var(--fw-500);
}

/*-----------------------------------*\
  #MODAL ĐỌC BÀI VIẾT & CHI TIẾT DỰ ÁN
\*-----------------------------------*/

.modal-container {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  overflow-y: auto;
  z-index: 30;
  pointer-events: none;
  visibility: hidden;
}

.modal-container.active {
  pointer-events: all;
  visibility: visible;
}

.overlay {
  position: fixed;
  inset: 0;
  background: hsla(230, 10%, 4%, 0.82);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.detail-modal {
  background: var(--eerie-black-2);
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 86vh;
  overflow-y: auto;
  padding: 26px 22px;
  border: 1px solid hsla(43, 92%, 72%, 0.32);
  border-radius: 20px;
  box-shadow: var(--shadow-5);
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition: var(--transition-1);
  z-index: 2;
}

.modal-container.active .detail-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--onyx);
  border: 1px solid var(--jet);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-2);
  font-size: 20px;
}

.modal-close-btn:hover { color: var(--gold-primary); }

.detail-modal-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: var(--fw-600);
  color: var(--gold-primary);
  background: hsla(43, 92%, 72%, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.detail-modal-header .modal-title {
  padding-right: 36px;
  margin-bottom: 6px;
  line-height: 1.38;
}

.detail-modal-meta {
  font-size: var(--fs-7);
  color: var(--light-gray-70);
  margin-bottom: 18px;
}

.detail-modal-body {
  font-size: var(--fs-6);
  color: var(--light-gray);
  line-height: 1.78;
}

.detail-modal-body p + p { margin-top: 14px; }

.detail-modal-body ul {
  margin: 12px 0;
  padding-left: 18px;
}

.detail-modal-body li {
  list-style: disc;
  margin-bottom: 8px;
}

.detail-modal-body strong {
  color: var(--white-2);
}

.detail-modal-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--jet);
  display: flex;
  justify-content: flex-end;
}

.detail-connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--onyx);
  border: 1px solid hsla(43, 92%, 72%, 0.4);
  color: var(--gold-primary);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
}

.detail-connect-btn:hover {
  background: hsla(43, 92%, 72%, 0.15);
}

/*-----------------------------------*\
  #ĐÁP ỨNG ĐA MÀN HÌNH (RESPONSIVE)
\*-----------------------------------*/

@media (min-width: 580px) {
  :root {
    --fs-1: 30px;
    --fs-2: 22px;
    --fs-3: 24px;
    --fs-4: 17px;
    --fs-6: 15px;
    --fs-7: 14px;
    --fs-8: 12px;
  }

  .sidebar,
  article {
    width: 540px;
    margin-inline: auto;
    padding: 28px;
  }

  main {
    margin-top: 40px;
    margin-bottom: 95px;
  }

  .sidebar {
    max-height: 176px;
    margin-bottom: 26px;
  }

  .sidebar.active { max-height: 620px; }

  .sidebar-info { gap: 22px; }

  .avatar-box { border-radius: 24px; }

  .avatar-box img {
    width: 112px;
    height: 124px;
  }

  .info_more-btn {
    top: -28px;
    right: -28px;
    padding: 10px 16px;
  }

  .info_more-btn span {
    display: block;
    font-size: var(--fs-8);
    font-weight: var(--fw-500);
  }

  .info_more-btn ion-icon { display: none; }

  .service-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
  }

  .service-icon-box {
    margin-bottom: 0;
    margin-top: 3px;
    flex-shrink: 0;
  }

  .service-content-box { text-align: left; }

  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audience-card-wide {
    grid-column: 1 / -1;
  }

  .detail-modal { padding: 32px; }
}

@media (min-width: 768px) {
  .sidebar,
  article { width: 720px; }

  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }

  .navbar-list {
    padding: 8px 16px;
  }

  .navbar-link {
    flex-direction: row;
    gap: 6px;
    font-size: 13px;
    padding: 12px 6px;
  }

  .navbar-link .nav-icon { display: none; }
  .navbar-link .nav-short { display: none; }
  .navbar-link .nav-full { display: inline; white-space: nowrap; }

  .filter-select-box { display: none; }

  .filter-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 22px;
    margin-bottom: 26px;
  }

  .filter-item button {
    color: var(--light-gray-70);
    font-size: var(--fs-5);
    font-weight: var(--fw-500);
    transition: var(--transition-1);
  }

  .filter-item button:hover { color: var(--white-2); }

  .filter-item button.active {
    color: var(--gold-primary);
    font-weight: var(--fw-600);
  }

  .project-list,
  .blog-posts-list {
    grid-template-columns: 1fr 1fr;
  }

  .portrait-connect-card {
    grid-template-columns: 240px 1fr;
    align-items: center;
    padding: 26px;
  }

  .input-wrapper { grid-template-columns: 1fr 1fr; }

  .form-btn {
    width: max-content;
    margin-left: auto;
  }
}

@media (min-width: 1024px) {
  .sidebar,
  article {
    width: 960px;
    box-shadow: var(--shadow-5);
  }

  main { margin-bottom: 60px; }

  .main-content {
    position: relative;
    width: 960px;
    margin: auto;
  }

  /* Thanh điều hướng gắn góc trên bên phải tinh tế, không đè tiêu đề */
  .navbar {
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: max-content;
    border-top: none;
    border-left: 1px solid var(--jet);
    border-bottom: 1px solid var(--jet);
    border-radius: 0 20px 0 20px;
    padding: 0 18px;
    box-shadow: none;
  }

  .navbar-list {
    display: flex;
    gap: 22px;
    padding: 0 6px;
  }

  .navbar-link {
    font-size: 13.5px;
    padding: 18px 2px;
  }

  article {
    padding-top: 72px;
  }

  .hero-headline { font-size: 22px; }

  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (min-width: 1250px) {
  .sidebar,
  article { width: auto; }

  article { min-height: 100%; }

  main {
    max-width: 1220px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 26px;
  }

  .sidebar {
    width: 326px;
    flex-shrink: 0;
    position: sticky;
    top: 40px;
    max-height: max-content;
    height: max-content;
    margin-bottom: 0;
    padding-top: 42px;
  }

  .sidebar .contact-info {
    max-width: calc(100% - 50px);
    width: calc(100% - 50px);
  }

  .main-content {
    flex: 1;
    min-width: 0;
    width: auto;
    margin: 0;
  }

  .sidebar-info { flex-direction: column; }

  .avatar-box img {
    width: 146px;
    height: 164px;
  }

  .info-content .name {
    font-size: 22px;
    white-space: nowrap;
    text-align: center;
  }

  .info-content .title { margin: auto; }

  .info_more-btn { display: none; }

  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }

  .contacts-list { grid-template-columns: 1fr; }

  .social-list { justify-content: center; }

  .project-list { grid-template-columns: repeat(3, 1fr); }
}
