/* =====================================================================
   Hai Long Land Group — giao dien
   ===================================================================== */
:root {
  --ink: #0a1730;
  --ink-2: #122447;
  --ink-3: #1b3263;
  --brand: #2149e6;
  --brand-2: #4d72ff;
  --brand-soft: #e8eeff;
  --ivory: #f6f3ed;
  --paper: #fcfbf8;
  --line: #e5dfd4;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #1b2233;
  --muted: #5e6678;
  --white: #fff;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(10, 23, 48, .35);
  --shadow-lg: 0 40px 90px -40px rgba(10, 23, 48, .55);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16.5px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }

h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--brand); font-weight: 500; }
p { margin: 0 0 1em; }
.lead { font-size: 1.12rem; color: var(--muted); line-height: 1.8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: #c7d4ff; }

/* ---------------------------------------------------------------- nut */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover, var(--brand)); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { --bg: var(--brand); --hover: var(--ink); }
.btn-ghost { --bg: rgba(255, 255, 255, .08); --hover: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--ink); }
.btn-outline { --bg: transparent; --fg: var(--ink); --hover: var(--ink); border-color: var(--ink); }
.btn-outline:hover { color: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); --hover: var(--brand); }
.btn-light:hover { color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--brand); }
.more svg { transition: transform .4s var(--ease); }

/* ---------------------------------------------------------------- man mo dau */
.preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--ink); transition: transform .9s var(--ease-io) .15s;
}
.pl-inner { display: grid; justify-items: center; gap: 22px; }
.pl-inner img { width: 220px; filter: brightness(0) invert(1); opacity: 0; animation: plIn .8s var(--ease) .1s forwards; }
.pl-inner b { color: #fff; font-family: var(--serif); font-size: 1.6rem; }
.pl-bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; border-radius: 2px; }
.pl-bar i { display: block; height: 100%; width: 100%; background: var(--brand-2); transform: translateX(-100%); animation: plBar 1s var(--ease) forwards; }
@keyframes plIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes plBar { to { transform: translateX(0); } }
body.is-ready .preloader { transform: translateY(-100%); }
body.is-ready .preloader .pl-inner { opacity: 0; transition: opacity .3s; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------------------------------------------------------------- dau trang */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(252, 251, 248, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s, transform .5s var(--ease), box-shadow .5s;
}
body:not(.has-hero) { padding-top: var(--header-h); }
.site-header.is-over { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { --header-h: 70px; background: rgba(252, 251, 248, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(10, 23, 48, .4); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 44px; width: auto; transition: filter .5s, height .5s var(--ease); }
.is-scrolled .brand img { height: 38px; }
.site-header.is-over:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a:not(.btn), .has-sub > a {
  position: relative; padding: 10px 14px; font-size: .93rem; font-weight: 500; color: var(--ink); transition: color .3s;
}
.site-header.is-over:not(.is-scrolled) .main-nav > a:not(.btn),
.site-header.is-over:not(.is-scrolled) .has-sub > a { color: #fff; }
.main-nav > a:not(.btn)::after, .has-sub > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav > a:not(.btn):hover::after, .has-sub:hover > a::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { margin-left: 10px; }
.has-sub { position: relative; }
.has-sub .sub {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 310px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease);
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub .sub a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; color: var(--ink); transition: background .25s, padding .35s var(--ease), color .25s; }
.has-sub .sub a:hover { background: var(--brand-soft); color: var(--brand); padding-left: 20px; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 110; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease), opacity .3s, background .3s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
.site-header.is-over:not(.is-scrolled) .nav-toggle span { background: #fff; }
.nav-open .nav-toggle span { background: #fff !important; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden; isolation: isolate; background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.18); animation: kenburns 18s var(--ease) forwards;
}
body.is-ready .hero-bg { animation-play-state: running; }
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 23, 48, .92) 0%, rgba(10, 23, 48, .72) 42%, rgba(10, 23, 48, .2) 100%),
    linear-gradient(0deg, rgba(10, 23, 48, .75) 0%, transparent 38%);
}
.hero-inner { padding: calc(var(--header-h) + 60px) 0 170px; max-width: 1240px; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: 26px; }
.hero-lead { max-width: 560px; font-size: 1.15rem; color: rgba(255, 255, 255, .82); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.center { justify-content: center; }

/* hieu ung chu hien tung tu */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(.35s + var(--i) * .07s); }
body.is-ready .split .w > span { transform: none; }
.hero .eyebrow, .hero-lead, .hero-actions { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.is-ready .hero .eyebrow { opacity: 1; transform: none; transition-delay: .25s; }
body.is-ready .hero-lead { opacity: 1; transform: none; transition-delay: .85s; }
body.is-ready .hero-actions { opacity: 1; transform: none; transition-delay: 1s; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 128px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 20px; opacity: 0; transition: opacity 1s 1.4s;
}
body.is-ready .scroll-cue { opacity: 1; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero-facilities {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(10, 23, 48, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  transform: translateY(100%); transition: transform 1.1s var(--ease) 1.2s;
}
body.is-ready .hero-facilities { transform: none; }
.facilities { display: grid; grid-template-columns: repeat(3, 1fr); }
.facility { display: flex; gap: 16px; align-items: center; padding: 24px 22px; }
.hero .facility + .facility { border-left: 1px solid var(--line-dark); }
.facility svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(77, 114, 255, .18); color: #9fb5ff; }
.facility b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; opacity: .7; }
.facility span { font-size: .95rem; line-height: 1.5; }
.facilities.stacked { grid-template-columns: 1fr; gap: 4px; }
.facilities.stacked .facility { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facilities.stacked .facility svg { background: var(--brand-soft); color: var(--brand); }
.facilities.stacked .facility b { color: var(--ink); }

/* ---------------------------------------------------------------- dai chu chay */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 22px 0; border-block: 1px solid var(--line-dark); }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); font-style: italic; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--brand-2); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- khoi chung */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.tight { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 18px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row .section-head { margin-bottom: 0; }

/* hien khi cuon */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.curtain { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io); }
.in .curtain, .curtain.in { clip-path: inset(0 0 0 0); }

/* ---------------------------------------------------------------- gioi thieu nhanh */
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; font-weight: 500; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232149e6' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.intro-media { position: relative; height: clamp(420px, 48vw, 600px); }
.intro-media img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.im-a { width: 72%; height: 78%; top: 0; right: 0; }
.im-b { width: 52%; height: 52%; bottom: 0; left: 0; border: 8px solid var(--paper); }
.im-b.curtain { transition-delay: .25s; }
.im-badge {
  position: absolute; right: 6%; bottom: 8%; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 18px 24px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.im-badge b { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--brand-2); }
.im-badge span { font-size: .86rem; line-height: 1.4; opacity: .85; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------------------------------------------------------------- dich vu */
.services { background: var(--ivory); }
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.svc-card.is-big { grid-column: span 3; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink-2); }
.is-big .svc-img { aspect-ratio: 16 / 9; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.08); }
.svc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 23, 48, .45), transparent 55%); opacity: .6; transition: opacity .6s; }
.svc-card:hover .svc-img::after { opacity: 1; }
.svc-body { position: relative; padding: 28px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.svc-num {
  position: absolute; top: -26px; right: 24px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 600; font-size: .9rem;
  box-shadow: 0 10px 24px -10px rgba(33, 73, 230, .8); transition: transform .6s var(--ease), background .4s;
}
.svc-card:hover .svc-num { transform: rotate(360deg); background: var(--ink); }
.svc-body h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin: 4px 60px 12px 0; }
.is-big .svc-body h3 { font-size: 1.75rem; }
.svc-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-card:hover .more svg, .item-card:hover .more svg { transform: translateX(6px); }

/* ---------------------------------------------------------------- vi sao */
.why { background: var(--ink); color: #fff; overflow: hidden; }
.why::before {
  content: ''; position: absolute; width: 900px; height: 900px; right: -300px; top: -400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 114, 255, .22), transparent 65%); pointer-events: none;
  animation: glow 12s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-160px, 180px) scale(1.15); } }
.why h2, .why h3 { color: #fff; }
.why h2 em { color: var(--brand-2); }
.why .eyebrow { color: #9fb5ff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.why-item {
  position: relative; padding: 44px 38px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  overflow: hidden; isolation: isolate;
}
.why-item::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--brand), var(--ink-3));
  transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease);
}
.why-item:hover::before { transform: scaleY(1); }
.why-num { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--brand-2); line-height: 1; margin-bottom: 22px; transition: color .5s, transform .6s var(--ease); }
.why-item:hover .why-num { color: #fff; transform: translateX(8px); }
.why-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.why-item p { color: rgba(255, 255, 255, .7); margin: 0; font-size: .95rem; transition: color .5s; }
.why-item:hover p { color: rgba(255, 255, 255, .92); }

/* ---------------------------------------------------------------- thu vien anh */
.works { background: var(--paper); }
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery.is-home { columns: 4 240px; }
.g-item { display: block; margin-bottom: 18px; border-radius: var(--radius-sm); overflow: hidden; position: relative; break-inside: avoid; cursor: zoom-in; background: var(--ivory); }
.g-item img { width: 100%; transition: transform 1.1s var(--ease), filter .6s; }
.g-item::after {
  content: '+'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2.4rem; font-weight: 300; color: #fff; background: rgba(10, 23, 48, .45);
  opacity: 0; transition: opacity .5s var(--ease);
}
.g-item:hover img { transform: scale(1.07); }
.g-item:hover::after { opacity: 1; }

/* ---------------------------------------------------------------- quy trinh */
.process { background: var(--ivory); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; }
.steps-line { position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.steps-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-io) .2s; }
.steps.in .steps-line i { transform: scaleX(1); }
.steps li { position: relative; text-align: center; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px;
  border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--ink);
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; transition: all .6s var(--ease);
}
.steps li:hover .step-num { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.1); box-shadow: 0 0 0 10px rgba(33, 73, 230, .12); }
.steps h3 { font-size: 1.08rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------------------------------------------------------------- su menh */
.mission-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.mission .prose { font-size: 1.08rem; }
.mission .prose ul { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 24px; }
.mission .prose li {
  padding: 22px 26px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.mission .prose li:hover { transform: translateX(10px); box-shadow: var(--shadow); border-color: var(--brand); }
.mission .prose li::before { display: none; }

/* ---------------------------------------------------------------- tin tuc */
.news { background: var(--ivory); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s; }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.08); }
.post-body { padding: 26px 28px 30px; }
.post-body time { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.post-body h3 { font-family: var(--serif); font-size: 1.3rem; margin: 10px 0 12px; transition: color .3s; }
.post-card:hover h3 { color: var(--brand); }
.post-body p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------------------------------------------------------------- keu goi lien he */
.cta-band { background: var(--ink); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; left: -200px; bottom: -300px; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 73, 230, .35), transparent 65%); animation: glow 14s ease-in-out infinite alternate;
}
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.cta-copy h2 { color: #fff; margin-bottom: 20px; }
.cta-copy h2 em { color: var(--brand-2); }
.cta-copy p { color: rgba(255, 255, 255, .75); font-size: 1.08rem; }
.cta-lines { display: grid; gap: 14px; margin-top: 34px; }
.cta-lines a { display: flex; align-items: center; gap: 16px; transition: transform .4s var(--ease); }
.cta-lines a:hover { transform: translateX(8px); }
.cta-lines svg { width: 50px; height: 50px; padding: 14px; border-radius: 50%; background: rgba(77, 114, 255, .2); color: #b9c9ff; }
.cta-lines small { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.cta-lines span { min-width: 0; font-size: clamp(1.05rem, 4.4vw, 1.3rem); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.cta-form-wrap { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }

/* ---------------------------------------------------------------- form */
.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .82rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper);
  transition: border-color .3s, box-shadow .3s, background .3s; font-size: .96rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(33, 73, 230, .12); }
.field textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { justify-self: start; }
.contact-form.is-sending .btn { opacity: .6; pointer-events: none; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: #117a45; }
.form-msg.err { color: #c02b2b; }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- trang con */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 8vw, 100px); overflow: hidden; isolation: isolate;
  background: var(--ink); color: #fff;
}
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 23, 48, .95), rgba(10, 23, 48, .7) 60%, rgba(10, 23, 48, .45)); }
.page-hero:not(.has-img)::after {
  content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(77, 114, 255, .3), transparent 65%); animation: glow 12s ease-in-out infinite alternate;
}
.page-hero-bg { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 20ch; animation: rise 1s var(--ease) .2s both; }
.page-hero .lead { color: rgba(255, 255, 255, .78); max-width: 640px; margin: 20px 0 0; animation: rise 1s var(--ease) .35s both; }
.crumbs { font-size: .86rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; animation: rise 1s var(--ease) both; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 6px; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.side-box { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.side-box h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 16px; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; font-weight: 500; transition: color .3s, padding .4s var(--ease); }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a svg { opacity: 0; transform: translateX(-8px); transition: all .4s var(--ease); color: var(--brand); }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: var(--brand); padding-left: 8px; }
.side-nav a:hover svg, .side-nav a[aria-current="page"] svg { opacity: 1; transform: none; }
.side-cta { background: linear-gradient(145deg, var(--ink), var(--ink-3)); color: #fff; border: 0; }
.side-cta h3 { color: #fff; }
.side-cta p { color: rgba(255, 255, 255, .72); font-size: .94rem; }
.side-cta .btn { width: 100%; margin-bottom: 14px; }
.link-light { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: #b9c9ff; }
.side-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.side-posts a { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; font-size: .92rem; font-weight: 500; line-height: 1.45; transition: color .3s; }
.side-posts a:hover { color: var(--brand); }
.side-posts img { width: 84px; height: 62px; object-fit: cover; border-radius: 8px; }

.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.item-grid.two { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.item-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s; }
.item-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.item-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory); }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.item-card:hover .item-img img { transform: scale(1.08); }
.item-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.item-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.item-body p { color: var(--muted); font-size: .9rem; flex: 1; }

.sub-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 64px 0 28px; }
.feature-img { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-img img { width: 100%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 0 0 36px; }
.facts div { background: #fff; padding: 18px 20px; }
.facts dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.pager a { padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 600; transition: all .4s var(--ease); }
.pager a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.pager small { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pager .next { text-align: right; }

/* noi dung soan tu trang quan tri */
.prose { font-size: 1.04rem; color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 1.8em 0 .7em; }
.prose h3 { font-family: var(--serif); font-size: 1.35rem; margin: 1.6em 0 .6em; }
.prose h4 { font-size: 1.05rem; margin: 1.4em 0 .5em; }
.prose p { margin: 0 0 1.15em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--brand); }
.prose img { border-radius: var(--radius-sm); margin: 1.8em auto; box-shadow: var(--shadow); height: auto; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 18px 26px; border-left: 3px solid var(--brand); background: var(--ivory); border-radius: 0 12px 12px 0; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.article .lead { font-size: 1.2rem; color: var(--ink); font-family: var(--serif); font-style: italic; }
.empty { color: var(--muted); padding: 40px 0; }

/* lien he */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info h2, .contact-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 14px; }
.contact-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { margin-top: 5px; color: var(--brand-2); }
.contact-list b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; font-weight: 600; }
.contact-list.big { margin-top: 26px; }
.contact-list.big svg { width: 44px; height: 44px; padding: 12px; margin: 0; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.contact-list.big a { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.contact-list.big a:hover { color: var(--brand); }
.map { line-height: 0; filter: grayscale(.35) contrast(1.05); }
.map iframe { width: 100%; height: 460px; border: 0; }
.notfound { min-height: 60vh; display: grid; place-items: center; }
.notfound .eyebrow { justify-content: center; }

/* ---------------------------------------------------------------- chan trang */
.site-footer { background: #060f22; color: rgba(255, 255, 255, .72); padding-top: 90px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1.3fr 1fr; gap: 48px; padding-bottom: 60px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 22px; }
.footer-brand img.invert { filter: brightness(0) invert(1); }
.footer-brand p { margin: 0 0 6px; color: #fff; font-weight: 500; }
.footer-brand .muted { color: rgba(255, 255, 255, .5); font-weight: 400; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.site-footer ul a { transition: color .3s, padding .4s var(--ease); }
.site-footer ul a:hover { color: #fff; padding-left: 6px; }
.site-footer .contact-list b { color: #fff; opacity: .55; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line-dark); font-size: .84rem; color: rgba(255, 255, 255, .45); }
.footer-bottom a:hover { color: #fff; }

/* nut noi */
.float-actions { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 12px; }
.float-actions a {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; box-shadow: 0 12px 28px -10px rgba(10, 23, 48, .6); transition: transform .4s var(--ease);
}
.float-actions a:hover { transform: scale(1.1); }
.float-actions svg { width: 26px; height: 26px; }
.fa-zalo { background: #0068ff; }
.fa-zalo svg { width: 34px; height: 34px; }
.fa-zalo svg path:first-child { fill: #0068ff; }
.fa-call { background: var(--brand); }
.fa-call::before, .fa-call::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ring 2.4s var(--ease) infinite; }
.fa-call::after { animation-delay: 1.2s; }
.fa-call svg { animation: shake 2.4s ease-in-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.8); opacity: 0; } }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-14deg); } 70%, 80%, 90% { transform: rotate(14deg); } }

/* xem anh lon */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 60px 70px;
  background: rgba(6, 15, 34, .94); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: 10px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); transform: scale(.94); opacity: 0; transition: transform .6s var(--ease), opacity .5s; }
.lightbox.open img.ready { transform: none; opacity: 1; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.5rem; cursor: pointer; transition: background .3s, transform .3s; }
.lb-btn:hover { background: var(--brand); transform: scale(1.06); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -26px; }
.lb-next { right: 18px; top: 50%; margin-top: -26px; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .6); font-size: .86rem; letter-spacing: .1em; }

/* ---------------------------------------------------------------- man hinh nho */
@media (max-width: 1080px) {
  .main-nav > a:not(.btn), .has-sub > a { padding: 10px 10px; }
  .svc-card, .svc-card.is-big { grid-column: span 3; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .steps-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .with-side { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 105; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 90px 32px 40px; background: var(--ink); overflow-y: auto;
    clip-path: circle(0 at calc(100% - 44px) 36px); transition: clip-path .8s var(--ease-io); visibility: hidden;
  }
  .nav-open .main-nav { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
  .main-nav > a:not(.btn), .has-sub > a {
    color: #fff !important; font-family: var(--serif); font-size: 1.8rem; padding: 8px 0;
    opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .nav-open .main-nav > * > a, .nav-open .main-nav > a { opacity: 1; transform: none; }
  .nav-open .main-nav > :nth-child(2) > a, .nav-open .main-nav > :nth-child(2) { transition-delay: .05s; }
  .main-nav > a:not(.btn)::after, .has-sub > a::after { display: none; }
  .nav-open .main-nav > *:nth-child(1) { transition-delay: .25s; }
  .nav-open .main-nav > *:nth-child(2) { transition-delay: .3s; }
  .nav-open .main-nav > *:nth-child(3) > a { transition-delay: .35s; }
  .nav-open .main-nav > *:nth-child(4) { transition-delay: .4s; }
  .nav-open .main-nav > *:nth-child(5) { transition-delay: .45s; }
  .nav-open .main-nav > *:nth-child(6) { transition-delay: .5s; }
  .has-sub .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 10px 14px; min-width: 0; }
  .has-sub .sub a { color: rgba(255, 255, 255, .6); padding: 5px 0; font-size: .95rem; }
  .has-sub .sub a:hover { background: none; color: #fff; }
  .main-nav > * { flex-shrink: 0; }   /* menu dai hon man hinh thi cuon, khong ep det nut */
  .nav-cta { margin: 24px 0 0; align-self: flex-start; padding: 14px 26px; font-size: 1rem; }
  .nav-open .site-header { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open .brand img { filter: brightness(0) invert(1); position: relative; z-index: 110; }
  .nav-open { overflow: hidden; }

  .facilities { grid-template-columns: 1fr; }
  .hero .facility + .facility { border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero .facility { padding: 12px 0; }
  .hero-facilities { position: relative; }
  .hero-inner { padding-bottom: 70px; }
  .scroll-cue { display: none; }
  .intro-grid, .mission-grid, .cta-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }   /* minmax(0): noi dung dai (email, o chon) khong day luoi tran man hinh */
  .mission-grid { gap: 0; }
  .mission-grid .section-head { margin-bottom: 28px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .svc-card, .svc-card.is-big { grid-column: span 6; }
  .why-grid, .post-grid, .steps, .field-row, .footer-grid, .pager { grid-template-columns: 1fr; }
  .why-item { padding: 34px 26px; }
  .intro-media { height: 360px; }
  .im-badge { padding: 12px 16px; }
  .im-badge b { font-size: 2.2rem; }
  .hero-actions .btn { width: 100%; }
  .gallery, .gallery.is-home { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; }
  .map iframe { height: 340px; }
  .float-actions { right: 14px; bottom: 14px; }
  .float-actions a { width: 50px; height: 50px; }
  .pager .next { text-align: left; }
}

/* ---------------------------------------------------------------- nguoi dung giam chuyen dong */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .split .w > span, .hero .eyebrow, .hero-lead, .hero-actions { opacity: 1 !important; transform: none !important; }
  .curtain { clip-path: none !important; }
  .marquee-track { animation: none; }
}

/* ================================================================
   UU TIEN DIEN THOAI
   ================================================================ */
#lien-he, #form, #gioi-thieu-nhanh { scroll-margin-top: calc(var(--header-h) + 10px); }
.mobile-bar { display: none; }

@media (max-width: 960px) {
  /* thanh bam co dinh day man hinh */
  .float-actions { display: none; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1fr 1.25fr;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    background: rgba(252, 251, 248, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(10, 23, 48, .35);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  body.show-bar .mobile-bar { transform: none; }
  body.nav-open .mobile-bar { transform: translateY(110%); }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
    border-radius: 14px; font-weight: 600; font-size: .92rem; -webkit-tap-highlight-color: transparent;
    transition: transform .2s;
  }
  .mobile-bar a:active { transform: scale(.96); }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mb-call { background: var(--brand-soft); color: var(--brand); }
  .mb-call svg { animation: shake 2.4s ease-in-out infinite; }
  .mb-zalo { background: #e6f0ff; color: #0068ff; }
  .mb-zalo svg { width: 26px; height: 26px; }
  .mb-zalo svg path:first-child { fill: #0068ff; }
  .mb-quote { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px rgba(33, 73, 230, .9); }
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

  /* dau trang gon */
  .brand img { height: 36px; }
  .is-scrolled .brand img { height: 32px; }
  .site-header.is-hidden { transform: translateY(-100%); }

  /* hero vua man hinh dien thoai */
  .hero { min-height: 100svh; justify-content: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 23, 48, .96) 0%, rgba(10, 23, 48, .72) 45%, rgba(10, 23, 48, .35) 100%); }
  .hero-inner { padding: calc(var(--header-h) + 40px) 0 34px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); max-width: 12ch; margin-bottom: 18px; }
  .hero-lead { font-size: 1rem; margin-bottom: 26px; }
  .hero-facilities { background: rgba(10, 23, 48, .9); }
  .facility svg { width: 34px; height: 34px; padding: 8px; }
  .facility span { font-size: .88rem; }

  /* khoang cach vua ngon cai */
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 36px; }
  .head-row { margin-bottom: 36px; align-items: flex-start; }
  .lead { font-size: 1.02rem; }
  .marquee { padding: 16px 0; }
  .marquee-track { animation-duration: 28s; gap: 28px; }

  /* the: bo hieu ung phong to khi cham (tren cam ung khong can) */
  .svc-card:hover, .item-card:hover, .post-card:hover { transform: none; }
  .svc-body { padding: 24px 22px 26px; }
  .svc-body h3, .is-big .svc-body h3 { font-size: 1.35rem; }
  .svc-num { width: 46px; height: 46px; top: -23px; }

  .why-item::before { display: none; }
  .cta-form-wrap, .contact-card { padding: 24px 20px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 14px; }   /* 16px: iPhone khong tu phong to */
  .contact-form .btn { width: 100%; }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .page-hero-bg { top: 0; height: 100%; }
}

@media (max-width: 640px) {
  .mobile-bar a span { font-size: .86rem; }
  .intro-media { height: 330px; margin-top: 10px; }
  .im-a { width: 78%; height: 80%; }
  .im-b { width: 56%; height: 50%; border-width: 5px; }
  .ticks { margin: 22px 0 28px; }
  .steps li { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start; }
  .steps .step-num { width: 52px; height: 52px; margin: 0; grid-row: span 2; font-size: 1.25rem; }
  .steps h3 { margin: 4px 0 6px; }
  .steps { row-gap: 26px; }
  .hero-actions { gap: 10px; }
  .btn-lg { padding: 15px 24px; }
}

/* thiet bi cam ung: an con tro "phong to" */
@media (hover: none) {
  .g-item::after { display: none; }
  .has-sub .sub a:hover { padding-left: 0; }
}

/* the dich vu rong o hang cuoi */
.svc-card.is-half { grid-column: span 3; }
.svc-card.is-half .svc-img { aspect-ratio: 16 / 8; }
@media (max-width: 1080px) { .svc-card.is-half { grid-column: span 3; } }
@media (max-width: 640px) { .svc-card.is-half { grid-column: span 6; } .svc-card.is-half .svc-img { aspect-ratio: 16 / 11; } }

/* dien thoai: khoi dia chi gon, the dich vu thap hon */
@media (max-width: 960px) {
  .hero .facilities { gap: 0; }
  .hero .facility { padding: 10px 0; gap: 12px; }
  .hero .facility b { font-size: .68rem; letter-spacing: .1em; }
  .hero .facility span { font-size: .84rem; line-height: 1.4; }
  .hero .facility svg { width: 30px; height: 30px; padding: 7px; }
  .hero-facilities { padding: 6px 0; }
}
@media (max-width: 640px) {
  .svc-img, .is-big .svc-img { aspect-ratio: 16 / 10; }
  .svc-body p { font-size: .92rem; }
}

/* ================================================================
   HUONG B — TAP DOAN CHUOI GIA TRI
   ================================================================ */
.container.narrow { max-width: 860px; }
.mini-title { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 34px 0 6px; }

/* ---- menu nhieu cot ---- */
.has-sub.is-mega { position: static; }
.site-header .header-row { position: relative; }
.sub.mega {
  left: auto; right: 0; top: calc(100% + 4px); width: min(920px, 100%); min-width: 0; padding: 26px;
  display: grid; grid-template-columns: 1.15fr 1fr .95fr; gap: 26px;
}
.mega-col { display: grid; align-content: start; gap: 2px; }
.mega-head { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); padding: 6px 14px; }
.mega-col .mega-head:not(:first-child) { margin-top: 14px; }
.has-sub .sub.mega a b { font-weight: 600; }
.has-sub .sub.mega a.mega-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--ink), var(--ink-3)); color: #fff;
}
.has-sub .sub.mega a.mega-card:hover { background: linear-gradient(145deg, var(--ink-2), var(--brand)); color: #fff; padding-left: 22px; }
.mega-card .mega-head { padding: 0; color: #9fb5ff; }
.mega-card strong { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; font-weight: 600; }
.mega-card .mega-chain { font-size: .84rem; color: rgba(255, 255, 255, .7); line-height: 1.6; flex: 1; }
.mega-card .more { color: #fff; }

/* ---- dai so lieu ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { padding: 24px 22px; display: grid; gap: 4px; }
.stat b { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--brand); font-weight: 600; }
.stat > span { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.stats.on-dark .stat b { color: #fff; }
.stats.on-dark .stat > span { color: rgba(255, 255, 255, .72); }
.stats.on-dark .stat + .stat { border-left: 1px solid var(--line-dark); }
.stats-light { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stats-light .stat + .stat { border-left: 1px solid var(--line); }

/* ---- so do chuoi ---- */
.chain-sec { background: var(--paper); overflow: hidden; }
.chain { --n: 6; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 18px; }
.chain-line { position: absolute; top: 44px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px; background: var(--line); }
.chain-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease-io) .3s; }
.chain.in .chain-line i { transform: scaleX(1); }
.chain-node { position: relative; text-align: center; }
.chain-node > a, .chain-node > div { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 0 6px 18px; border-radius: var(--radius); transition: transform .5s var(--ease); }
.chain-node > a:hover { transform: translateY(-6px); }
.cn-icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line); color: var(--brand); margin-bottom: 18px;
  box-shadow: 0 0 0 8px var(--paper); transition: background .5s var(--ease), color .5s, border-color .5s, box-shadow .5s;
}
.cn-icon svg { width: 36px; height: 36px; }
.chain-node > a:hover .cn-icon { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 0 0 8px var(--paper), 0 18px 40px -16px rgba(33, 73, 230, .8); }
.chain-node.is-end .cn-icon { background: var(--ink); color: #fff; border-color: var(--ink); }
.cn-step { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.chain-node h3 { font-family: var(--serif); font-size: 1.35rem; margin: 6px 0 6px; }
.chain-node p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.chain.in .chain-node .cn-icon { animation: pop .8s var(--ease) both; animation-delay: calc(.3s + var(--k, 0) * .35s); }
.chain-node:nth-of-type(2) { --k: 1; } .chain-node:nth-of-type(3) { --k: 2; } .chain-node:nth-of-type(4) { --k: 3; }
.chain-node:nth-of-type(5) { --k: 4; } .chain-node:nth-of-type(6) { --k: 5; } .chain-node:nth-of-type(7) { --k: 6; }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.chain-loop {
  display: flex; align-items: center; gap: 16px; margin: 34px auto 0; max-width: 760px; padding: 16px 22px;
  border-radius: 999px; border: 1px dashed var(--brand-2); background: var(--brand-soft); color: var(--ink); font-size: .95rem;
  transition: background .4s, transform .4s var(--ease);
}
.chain-loop:hover { background: #fff; transform: translateY(-3px); }
.chain-loop > span:nth-child(2) { flex: 1; }
.cl-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; flex: none; }
.cl-ic svg { width: 22px; height: 22px; }
.chain-loop > svg { color: var(--brand); }

/* ---- 2 loi vao ---- */
.doors { background: var(--ivory); }
.door-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door {
  position: relative; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); background: var(--ink); color: #fff;
}
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.door::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 23, 48, .96) 10%, rgba(10, 23, 48, .55) 60%, rgba(10, 23, 48, .25)); transition: background .6s; }
.door:nth-child(2)::before { background: linear-gradient(0deg, rgba(6, 15, 34, .97) 10%, rgba(18, 36, 71, .7) 60%, rgba(33, 73, 230, .35)); }
.door:hover img { transform: scale(1.07); }
.door-body { padding: clamp(28px, 4vw, 44px); width: 100%; }
.door h3 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); color: #fff; margin-bottom: 18px; }
.door ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.door li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .85); font-size: .98rem; }
.door li svg { margin-top: 5px; color: #9fb5ff; }
.door .btn svg { transition: transform .45s var(--ease); }
.door:hover .btn svg { transform: translateX(6px); }

/* ---- doi sa lan ---- */
.fleet { background: linear-gradient(160deg, var(--ink) 0%, #0d2250 100%); color: #fff; overflow: hidden; }
.fleet-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.fleet h2 { color: #fff; margin-bottom: 18px; }
.fleet h2 em { color: var(--brand-2); }
.fleet-copy > p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.fleet-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.fleet-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.fleet-points svg { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(77, 114, 255, .25); color: #b9c9ff; margin-top: 1px; }
.fleet-art svg { width: 100%; height: auto; overflow: visible; }
.barge { animation: bob 5s ease-in-out infinite; transform-origin: center; }
@keyframes bob { 50% { transform: translateY(6px) rotate(-.6deg); } }
.wv { fill: rgba(77, 114, 255, .3); animation: wave 6s linear infinite; }
.wv2 { fill: rgba(33, 73, 230, .45); animation-duration: 10s; animation-direction: reverse; }
@keyframes wave { to { transform: translateX(120px); } }

/* ---- vung phuc vu ---- */
.area-sec { background: var(--paper); }
.area { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.area-map { position: relative; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.area-map svg { width: 100%; height: auto; display: block; }
.area-map small { position: absolute; left: 22px; bottom: 12px; font-size: .74rem; color: var(--muted); }
.area-map .sea { fill: var(--brand-soft); }
.sea-label { fill: var(--brand-2); font-size: 20px; font-style: italic; font-family: var(--serif); }
.route { fill: none; stroke: var(--brand-2); stroke-width: 2; stroke-dasharray: 700; stroke-dashoffset: 700; opacity: .7; transition: stroke-dashoffset 1.6s var(--ease-io); transition-delay: calc(.2s + var(--i) * .12s); }
.area-map.in .route { stroke-dashoffset: 0; }
.place .dot { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.place.is-home .dot { fill: var(--brand); stroke: #fff; }
.place .pulse { fill: var(--brand); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .45; } to { transform: scale(2.4); opacity: 0; } }
.place text { font-size: 19px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; }
.place.is-home text { font-size: 24px; fill: var(--brand); }
.place { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(.1s + var(--i) * .12s); }
.area-map.in .place { opacity: 1; }
.area-copy h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.area-copy p { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--ink); font-size: .88rem; font-weight: 500; }
.chips.big li { padding: 10px 18px; font-size: .95rem; background: #fff; border: 1px solid var(--line); }

/* ---- he sinh thai ---- */
.principle { margin: 0 0 56px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--ink); color: #fff; }
.principle p { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.4; }
.principle em { color: var(--brand-2); }
.principle .eyebrow { color: #9fb5ff; }
.block-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.block-row { display: grid; grid-template-columns: 150px 1.2fr 1fr; gap: clamp(20px, 4vw, 56px); padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.br-head { display: flex; align-items: center; gap: 14px; }
.br-num { font-family: var(--serif); font-size: 2.4rem; color: var(--brand-2); line-height: 1; }
.br-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); transition: all .5s var(--ease); }
.br-ic svg { width: 28px; height: 28px; }
.block-row:hover .br-ic { background: var(--brand); color: #fff; transform: rotate(-8deg) scale(1.06); }
.br-main h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.br-main p { color: var(--muted); margin: 0; }
.br-side ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.br-side li { display: flex; gap: 10px; font-size: .95rem; font-weight: 500; }
.br-side li svg { flex: none; margin-top: 5px; color: var(--brand); }
.flows { background: var(--ivory); }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flow { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.flow h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 18px; }
.flow ol { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 0 0 18px 44px; font-weight: 500; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .8rem; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: var(--brand-soft); }

/* ---- chu nha: hanh trinh ---- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.journey-step a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s; }
.journey-step a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.js-img { position: relative; aspect-ratio: 4 / 3; background: var(--ink-2); overflow: hidden; }
.js-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.journey-step a:hover .js-img img { transform: scale(1.08); }
.js-img span { position: absolute; left: 14px; bottom: 12px; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: #fff; text-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.js-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.js-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.js-body p { color: var(--muted); font-size: .9rem; flex: 1; }

/* ---- nha thau ---- */
.pro-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.buy-grid { display: grid; gap: 18px; }
.buy-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.buy-card h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 8px; }
.buy-card p { margin: 0; color: var(--muted); }
.buy-card.is-dark { background: linear-gradient(145deg, var(--ink), var(--ink-3)); border: 0; color: #fff; }
.buy-card.is-dark h3 { color: #fff; }
.buy-card.is-dark p { color: rgba(255, 255, 255, .75); }
.materials { background: var(--ivory); }
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mat-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mat-card h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--brand); display: inline-block; }
.mat-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.mat-card li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-weight: 500; }
.mat-card li:last-child { border-bottom: 0; }
.mat-card small { color: var(--muted); font-weight: 400; text-align: right; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }

/* ---- van tai / bat dong san ---- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.cap:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand); }
.cap-num { font-family: var(--serif); font-size: 2rem; color: var(--brand-2); line-height: 1; }
.cap h3 { font-size: 1.12rem; margin: 16px 0 8px; }
.cap p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---- nang luc ---- */
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.site-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.site-card img { margin: -30px -28px 22px; width: calc(100% + 56px); max-width: none; aspect-ratio: 16 / 10; object-fit: cover; }
.site-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); margin-bottom: 20px; }
.site-ic svg { width: 28px; height: 28px; }
.site-num { position: absolute; top: 24px; right: 26px; font-family: var(--serif); font-size: 2.4rem; color: var(--line); line-height: 1; }
.site-card h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 8px; }
.site-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.site-addr { display: flex; gap: 8px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 500; font-size: .92rem; color: var(--ink); }
.site-addr svg { flex: none; margin-top: 4px; color: var(--brand); }
.site-addr:hover { color: var(--brand); }
.products { background: var(--ivory); }
.prod-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.prod-head h2 { margin-bottom: 14px; }
.prod-head .lead { max-width: 620px; margin: 0; }
.prod-count { display: flex; align-items: center; gap: 16px; padding: 20px 28px; border-radius: var(--radius); background: var(--ink); color: #fff; flex: none; }
.prod-count b { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--brand-2); font-weight: 600; }
.prod-count span { font-size: .9rem; line-height: 1.4; opacity: .85; }
.made-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.made { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s; }
.made:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.made-img { position: relative; aspect-ratio: 16 / 10; background: var(--ink-2); overflow: hidden; }
.made-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.made:hover .made-img img { transform: scale(1.07); }
.made-tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 23, 48, .8); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .06em; backdrop-filter: blur(6px); }
.made-body { padding: 26px 28px 28px; flex: 1; }
.made-body h3 { font-family: var(--serif); font-size: 1.55rem; margin-bottom: 6px; }
.made-body > p { color: var(--muted); font-size: .93rem; margin: 0 0 18px; }
.made-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.made-list li { position: relative; padding: 9px 0 9px 16px; border-top: 1px solid var(--line); font-weight: 500; font-size: .95rem; }
.made-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--brand); }
.dist-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.dist { padding: clamp(28px, 3.5vw, 40px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.dist h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 26px; }
.dist-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dist-cols h4 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
.dist-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dist-cols li { display: flex; gap: 8px; align-items: flex-start; font-size: .94rem; font-weight: 500; }
.dist-cols li svg { flex: none; margin-top: 5px; color: var(--brand-2); }
.dist.is-dark { background: linear-gradient(150deg, var(--ink), var(--ink-3)); border: 0; color: #fff; }
.dist.is-dark h3 { color: #fff; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); overflow: hidden; }
.brand { display: grid; gap: 2px; padding: 16px 18px; background: var(--ink-2); transition: background .4s; }
.brand:hover { background: var(--brand); }
.brand b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.brand small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb5ff; }
.brand:hover small { color: #fff; }
.prod-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 28px 36px; border-radius: var(--radius); background: var(--brand); color: #fff; }
.prod-cta h3 { color: #fff; font-family: var(--serif); font-size: 1.5rem; margin-bottom: 4px; }
.prod-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.prod-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
#san-pham { padding-bottom: 24px; }
@media (max-width: 1080px) {
  .dist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .made-grid.is-scroll .made-img { aspect-ratio: 16 / 9; }
  .made-grid.is-scroll .made-list li { font-size: .88rem; }
}
@media (max-width: 960px) {
  .prod-head { flex-direction: column; align-items: flex-start; }
  .prod-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .dist-cols { grid-template-columns: 1fr 1fr; }
  .dist-cols > div:last-child { grid-column: span 2; }
  .made-body { padding: 22px; }
  .prod-cta { padding: 24px 22px; }
  .prod-cta-btns .btn { width: 100%; }
  .prod-count b { font-size: 2.6rem; }
}

/* ---- lien he: tab ---- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin-bottom: 26px; border-radius: 999px; background: var(--ivory); }
.tabs button { border: 0; padding: 12px 10px; border-radius: 999px; background: transparent; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--muted); transition: background .35s, color .35s, box-shadow .35s; }
.tabs button[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px rgba(33, 73, 230, .9); }
a.facility { color: inherit; transition: color .3s; }
a.facility:hover span { color: var(--brand); }

/* ---- chan trang ---- */
.footer-grid { grid-template-columns: 1.2fr .9fr 1.5fr 1fr; }
.footer-brand .contact-list { margin-top: 20px; }
.footer-sites .contact-list span { font-size: .9rem; }
.footer-sites .contact-list a:hover { color: #fff; }
.footer-note { color: rgba(255, 255, 255, .6); font-size: .9rem; }
.site-footer .btn { margin: 0 6px 10px 0; }

/* ---- man hinh vua ---- */
@media (max-width: 1080px) {
  .journey { grid-template-columns: repeat(3, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .mat-grid, .site-grid { grid-template-columns: repeat(2, 1fr); }
  .made-grid { grid-template-columns: 1fr 1fr; }
  .made:last-child { grid-column: span 2; }
  .block-row { grid-template-columns: 110px 1fr; }
  .br-side { grid-column: 2; }
  .area { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  /* menu dien thoai: bo cot, bo the */
  .has-sub.is-mega { position: relative; }
  .sub.mega { display: block; width: auto; padding: 0 0 10px 14px; }
  .mega-card { display: none !important; }
  .nav-open .site-header::before { content: ''; position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: var(--ink); z-index: 106; }   /* che chu menu khi cuon */
  .nav-toggle { z-index: 110; }
  .brand { position: relative; z-index: 110; }
  .mega-head { padding: 12px 0 4px; color: #9fb5ff; }
  .has-sub .sub.mega a b { font-weight: 600; color: #fff; }

  .stats.on-dark { grid-template-columns: 1fr 1fr; }
  .stats.on-dark .stat { padding: 14px 4px; }
  .stats.on-dark .stat + .stat { border-left: 0; }
  .stats.on-dark .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-dark); }
  .stats.on-dark .stat b { font-size: 1.9rem; }
  .stats.on-dark .stat > span { font-size: .8rem; }

  /* chuoi doc */
  .chain { grid-template-columns: 1fr; gap: 0; }
  .chain-line { top: 20px; bottom: 20px; left: 35px; right: auto; width: 2px; height: auto; }
  .chain-line i { transform: scaleY(0); transform-origin: top; height: 100%; }
  .chain.in .chain-line i { transform: scaleY(1); }
  .chain-node { text-align: left; }
  .chain-node > a, .chain-node > div { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; align-items: center; padding: 10px 0; }
  .cn-icon { width: 72px; height: 72px; margin: 0; grid-row: span 3; box-shadow: 0 0 0 6px var(--paper); }
  .cn-icon svg { width: 30px; height: 30px; }
  .chain-node h3 { margin: 2px 0; font-size: 1.25rem; }
  .chain-node > a:hover { transform: none; }
  .chain-loop { border-radius: var(--radius); align-items: flex-start; }

  .door-grid, .fleet-grid, .pro-intro { grid-template-columns: 1fr; }
  .door { min-height: 400px; }
  .fleet-art { order: -1; max-width: 460px; }
  .flow-grid { grid-template-columns: 1fr; }
  .stats-light { grid-template-columns: 1fr 1fr; }
  .stats-light .stat + .stat { border-left: 0; }
  .stats-light .stat:nth-child(even) { border-left: 1px solid var(--line); }

  /* vuot ngang tren dien thoai cho trang ngan lai */
  .is-scroll {
    display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: min(78%, 340px);
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -24px; padding: 4px 24px 18px; scroll-padding-inline: 24px; scrollbar-width: none;
  }
  .is-scroll::-webkit-scrollbar { display: none; }
  .is-scroll > * { scroll-snap-align: start; grid-column: auto !important; }
  .is-scroll .svc-img, .is-scroll .is-big .svc-img { aspect-ratio: 4 / 3; }
  .is-scroll .svc-body h3 { font-size: 1.2rem; margin-right: 50px; }
  .is-scroll .svc-body p { font-size: .88rem; }
  .is-scroll .reveal { transform: none; opacity: 1; }
}
@media (max-width: 640px) {
  .is-scroll { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; grid-auto-columns: 82%; }
  .journey { grid-template-columns: 1fr; gap: 12px; }
  .journey-step a { display: grid; grid-template-columns: 112px 1fr; }
  .js-img { aspect-ratio: auto; height: 100%; min-height: 120px; }
  .js-img span { font-size: 1.6rem; }
  .js-body { padding: 14px 16px; }
  .js-body p { font-size: .86rem; margin-bottom: 6px; }
  .cap-grid, .mat-grid, .made-grid, .site-grid, .field-row.three { grid-template-columns: 1fr; }
  .made:last-child { grid-column: auto; }
  .place:not(.is-home) text { display: none; }   /* chu qua nho tren dien thoai: da co danh sach ben duoi */
  .block-row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .br-side { grid-column: auto; }
  .door-body { padding: 26px 22px; }
  .door li { font-size: .92rem; }
  .area-map { padding: 8px 8px 26px; }
  .place text { font-size: 24px; }
  .place.is-home text { font-size: 28px; }
  .sea-label { display: none; }
  .chips li { font-size: .84rem; padding: 6px 12px; }
  .principle { margin-bottom: 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat b { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .route { stroke-dashoffset: 0 !important; }
  .place { opacity: 1 !important; }
  .chain-line i { transform: none !important; }
}

/* trang chu: he thong co so */
.sites-sec { background: var(--ivory); }
.sites-sec .site-card { background: #fff; }

/* minh hoa van tai: xe tai chay tren duong */
.truck { animation: drive 10s linear infinite; }
.truck.t2 { animation-duration: 14s; animation-delay: -7s; }
@keyframes drive { from { transform: translateX(-170px); } to { transform: translateX(760px); } }
.lane { animation: lane 1.2s linear infinite; }
@keyframes lane { to { stroke-dashoffset: 32; } }
