/* ===== Sehouse – màu theo logo; tiêu đề Noto Serif, nội dung Be Vietnam Pro ===== */
:root {
  --blue: #02659C;          /* xanh biển – logo */
  --blue-dark: #014a73;
  --navy: #082c45;
  --blue-soft: #e8f1f7;
  --sand: #DEC289;          /* vàng cát – logo */
  --sand-dark: #c7a865;
  --sand-soft: #f8f2e5;
  --ink: #15232f;
  --muted: #5b6b78;
  --line: #dfe7ee;
  --white: #fff;
  --bg: #fbfaf7;

  --font-heading: "Noto Serif", "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 44, 69, .08);
  --shadow-lg: 0 24px 60px rgba(8, 44, 69, .18);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.25; margin: 0 0 .6em; color: var(--navy); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-lead { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sand); }
.eyebrow-light { color: var(--sand); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--font-body); cursor: pointer; transition: .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.btn-sand { background: var(--sand); color: var(--navy); }
.btn-sand:hover { background: var(--sand-dark); color: var(--navy); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-soft); }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(8,44,69,.06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 54px; height: 54px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.45rem; letter-spacing: .04em; color: var(--blue); }
.brand-tag { font-size: .72rem; color: var(--sand-dark); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--sand); transition: width .25s;
}
.main-nav a:not(.btn):hover { color: var(--blue); }
.main-nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  position: relative; min-height: min(88vh, 760px); display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,44,69,.88) 0%, rgba(8,44,69,.6) 45%, rgba(8,44,69,.1) 100%); }
.hero-content { position: relative; padding-top: 60px; padding-bottom: 120px; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 900px; margin-bottom: 20px; }
.hero h1 em { color: var(--sand); font-style: italic; font-weight: 400; }
.hero-lead { font-size: 1.12rem; max-width: 600px; color: rgba(255,255,255,.88); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: var(--bg); }

/* ----- Stats ----- */
.stats { position: relative; z-index: 2; margin-top: -50px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; max-width: 1080px;
}
.stat { padding: 24px 22px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { display: block; font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--blue); line-height: 1.1; }
.stat-label { display: block; font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* ----- About ----- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media > img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-badge {
  position: absolute; right: -24px; bottom: 36px; display: flex; align-items: center; gap: 14px;
  background: var(--blue); color: var(--white); padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.3;
}
.about-badge img { width: 52px; height: 52px; border-radius: 50%; }
.about-badge::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -4px; height: 4px; background: var(--sand); border-radius: 0 0 4px 4px; }
.about-text p { color: #33424e; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.value { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--sand); border-radius: 10px; padding: 18px; }
.value h3 { font-size: 1.02rem; color: var(--blue); margin-bottom: 6px; }
.value p { font-size: .9rem; margin: 0; color: var(--muted); }

/* ----- Projects ----- */
.projects { background: var(--white); }
.filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter {
  padding: 10px 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font: 500 .95rem var(--font-body); color: var(--ink); cursor: pointer; transition: .2s;
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
}
.card[hidden] { display: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.06); }
.chip { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.chip-city { left: 14px; background: rgba(255,255,255,.95); color: var(--blue); }
.chip-status { right: 14px; background: var(--sand); color: var(--navy); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-sub { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 6px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card-summary { font-size: .92rem; color: var(--muted); }
.specs { margin: 4px 0 20px; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; }
.specs dt { color: var(--muted); flex-shrink: 0; }
.specs dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); }
.specs div:last-child dd { color: var(--blue); }
.card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-actions .btn { padding: 10px 12px; font-size: .88rem; }
.note { font-size: .82rem; color: var(--muted); font-style: italic; margin-top: 28px; text-align: center; }

/* ----- Destinations ----- */
.dest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dest { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: var(--white); }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.dest:hover img { transform: scale(1.05); }
.dest::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,44,69,0) 30%, rgba(8,44,69,.92) 100%); z-index: 1; }
.dest-body { position: relative; z-index: 2; padding: 32px; }
.dest h3 { color: var(--white); font-size: 2rem; }
.dest p { color: rgba(255,255,255,.88); font-size: .95rem; }
.link-arrow { color: var(--sand); font-weight: 600; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover { color: var(--white); }

/* ----- Why ----- */
.why { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px;
  background: url("../images/sehouse-mark-white.png") center/contain no-repeat; opacity: .05;
}
.why h2 { color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.why-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px 24px; transition: .3s; }
.why-item:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.why-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--sand); margin-bottom: 18px; }
.why-icon svg { width: 26px; height: 26px; fill: var(--navy); }
.why-item h3 { color: var(--white); font-size: 1.15rem; }
.why-item p { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0; }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 2px; background: rgba(222,194,137,.4); }
.steps li { text-align: center; font-weight: 500; position: relative; }
.steps span {
  display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--sand); color: var(--sand); font-family: var(--font-heading); font-weight: 700;
}

/* ----- Contact ----- */
.contact { background: linear-gradient(180deg, var(--sand-soft), var(--bg)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--blue); fill: var(--white); flex-shrink: 0; }
.contact-list span { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-weight: 600; font-size: 1.05rem; }
.contact-form { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 4px solid var(--sand); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: 400 .95rem var(--font-body); color: var(--ink); background: var(--bg); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(2,101,156,.12); }
.form-msg { margin: 14px 0 0; font-size: .9rem; color: #1f7a4d; }
.form-msg.error { color: #b42318; }
.form-msg:empty { display: none; }

/* ----- Bản đồ văn phòng ----- */
.map-section { position: relative; background: var(--blue-soft); }
.map-frame { height: 500px; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-overlay { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.map-card {
  pointer-events: auto; width: 100%; max-width: 400px; background: var(--white); padding: 32px;
  border-radius: var(--radius); border-top: 4px solid var(--sand); box-shadow: var(--shadow-lg);
}
.map-card h2 { font-size: 1.7rem; margin-bottom: 10px; }
.map-lead { color: var(--muted); font-size: .93rem; }
.map-info { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.map-info li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.map-info svg { width: 20px; height: 20px; fill: var(--blue); flex-shrink: 0; margin-top: 2px; }
.map-info a { font-weight: 600; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map-actions .btn { flex: 1; padding: 11px 16px; }

/* ----- Footer ----- */
.site-footer { position: relative; background: #061f31; color: rgba(255,255,255,.68); font-size: .92rem; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--sand) 50%, var(--blue)); }
.site-footer::after {
  content: ""; position: absolute; right: -80px; top: 40px; width: 460px; height: 240px; pointer-events: none;
  background: url("../images/sehouse-mark-white.png") center/contain no-repeat; opacity: .035;
}
.site-footer a { color: rgba(255,255,255,.75); transition: color .2s; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--sand); }
.footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr .85fr 1.3fr; gap: 48px; padding-top: 72px; padding-bottom: 52px; }
.footer-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.07); }
.footer-logo strong { display: block; color: var(--white); font-size: 1.4rem; font-weight: 800; letter-spacing: .06em; line-height: 1.1; }
.footer-logo em { display: block; font-style: normal; color: var(--sand); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 5px; }
.footer-about { max-width: 340px; line-height: 1.75; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: .68rem; font-weight: 700; transition: .2s;
}
.footer-social a:hover { background: var(--sand); border-color: var(--sand); color: var(--navy); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-col h3 {
  position: relative; font-family: var(--font-body); color: var(--white); font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; padding-bottom: 12px;
}
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--sand); }
.footer-col h4 { font-family: var(--font-body); color: rgba(255,255,255,.45); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.footer-col ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.footer-col ul:last-child { margin-bottom: 0; }
.footer-contact { gap: 16px !important; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--sand); flex-shrink: 0; margin-top: 4px; }
.footer-contact span { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.footer-contact a { color: var(--white); font-weight: 500; }
.footer-legal {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, auto) 1fr; gap: 16px 48px; align-items: center;
  padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.1);
}
.footer-legal-name strong { display: block; color: var(--white); font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.footer-legal-name span { font-size: .84rem; }
.footer-legal dl { margin: 0; display: grid; grid-template-columns: auto 1.6fr auto; gap: 12px 32px; }
.footer-legal dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.footer-legal dd { margin: 2px 0 0; color: rgba(255,255,255,.85); font-size: .88rem; }
.footer-bottom { position: relative; z-index: 1; background: rgba(0,0,0,.22); font-size: .84rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; }
.footer-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.footer-top svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); fill: currentColor; transition: .2s; }
.footer-top:hover svg { background: var(--sand); border-color: var(--sand); fill: var(--navy); }

/* ----- Floating contact ----- */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: var(--white); font-weight: 700; font-size: .78rem; transition: transform .2s; }
.float-btn:hover { transform: scale(1.08); color: var(--white); }
.float-zalo { background: #0068ff; }
.float-call { background: var(--blue); animation: pulse 2s infinite; }
.float-call svg { width: 24px; height: 24px; fill: var(--white); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(2,101,156,.5); } 70% { box-shadow: 0 0 0 16px rgba(2,101,156,0); } 100% { box-shadow: 0 0 0 0 rgba(2,101,156,0); } }

/* ----- Trang chính sách ----- */
.page-hero { background: var(--navy); color: var(--white); padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 380px; height: 380px; background: url("../images/sehouse-mark-white.png") center/contain no-repeat; opacity: .06; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0; }
.page-hero .page-meta { color: var(--sand); font-size: .88rem; margin-top: 14px; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a { color: var(--sand); }
.legal { padding-top: 64px; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--sand); border-radius: var(--radius); padding: 22px 22px 14px; }
.legal-toc-title { font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 20px; font-size: .9rem; }
.legal-toc li { margin-bottom: 8px; color: var(--muted); }
.legal-toc a { color: var(--ink); }
.legal-toc a:hover { color: var(--blue); }
.legal-content { max-width: 780px; color: #33424e; }
.legal-content h2 { font-size: 1.45rem; margin: 44px 0 14px; padding-top: 4px; }
.legal-content h2:first-of-type { margin-top: 28px; }
.legal-content h3 { font-family: var(--font-body); font-size: 1.02rem; color: var(--blue); margin: 20px 0 8px; }
.legal-content ul { padding-left: 22px; margin: 0 0 1em; }
.legal-content li { margin-bottom: 6px; }
.legal-content li::marker { color: var(--sand-dark); }
.legal-intro { font-size: 1.05rem; background: var(--sand-soft); border-left: 4px solid var(--sand); padding: 18px 22px; border-radius: 0 10px 10px 0; }
.legal-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }
.legal-card p { margin: 0 0 6px; }
.form-consent { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ----- Thẻ dự án: link ----- */
.card-media { display: block; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--blue); }

/* ===== Trang dự án ===== */
.breadcrumb-dark { color: var(--muted); margin-bottom: 14px; }
.breadcrumb-dark a { color: var(--blue); }
.p-hero { padding: 28px 0 40px; }
.p-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.p-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); margin-bottom: 12px; }
.p-head .eyebrow { margin-bottom: 10px; }
.p-address { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); margin: 0; }
.p-address svg { width: 18px; height: 18px; fill: var(--sand-dark); flex-shrink: 0; margin-top: 3px; }
.p-head-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.chip-static { background: var(--sand); color: var(--navy); font-weight: 600; font-size: .82rem; padding: 7px 14px; border-radius: 999px; }

.p-gallery { position: relative; display: grid; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.p-gallery.n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; }
.p-gallery.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 230px 230px; }
.p-gallery.n5 .p-tile:first-child, .p-gallery.n3 .p-tile:first-child { grid-row: span 2; }
.p-gallery.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 420px; }
.p-gallery.n1 { grid-template-rows: 480px; }
.p-tile { padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; display: block; }
.p-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.p-tile:hover img { transform: scale(1.05); }
.p-gallery-all {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); color: var(--navy); border: 0; border-radius: 999px; padding: 10px 18px;
  font: 600 .88rem var(--font-body); cursor: pointer; box-shadow: var(--shadow);
}
.p-gallery-all svg { width: 16px; height: 16px; fill: var(--blue); }
.p-gallery-all:hover { background: var(--white); color: var(--blue); }

.p-overview { background: var(--navy); color: var(--white); padding: 64px 0; }
.p-ov-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.p-ov-media { margin: 0; }
.p-ov-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.p-ov-list { margin: 0; display: grid; }
.p-ov-list div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.p-ov-list dt { color: var(--sand); font-weight: 600; font-size: .9rem; }
.p-ov-list dd { margin: 0; color: rgba(255,255,255,.9); font-size: .95rem; }

.p-subnav { position: sticky; top: var(--header-h); z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 6px 16px rgba(8,44,69,.05); }
.p-subnav-inner { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.p-subnav-inner::-webkit-scrollbar { display: none; }
.p-subnav a { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; color: var(--ink); font-size: .9rem; font-weight: 500; white-space: nowrap; }
.p-subnav a:hover { background: var(--blue-soft); color: var(--blue); }
.p-subnav a.active { background: var(--navy); color: var(--white); }
.p-subnav a.p-subnav-cta { margin-left: auto; background: var(--sand); color: var(--navy); font-weight: 600; }

.p-body { padding: 56px 0 72px; }
.p-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.p-aside { position: sticky; top: calc(var(--header-h) + 76px); }
.p-form { padding: 28px; }
.p-form h2 { font-size: 1.35rem; margin-bottom: 6px; }
.p-form-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 6px; }
.p-form-lead { font-size: .9rem; color: var(--muted); }
.p-hotline { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--ink); }
.p-hotline svg { width: 20px; height: 20px; fill: var(--blue); }
.p-hotline strong { color: var(--blue); }

/* Nội dung bài dự án */
.p-article { color: #33424e; font-size: 1.02rem; min-width: 0; }
.p-article > :first-child { margin-top: 0; }
.p-article h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 56px 0 18px; scroll-margin-top: calc(var(--header-h) + 80px); }
.p-article h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--sand); margin-bottom: 14px; }
.p-article h3 { font-size: 1.22rem; color: var(--blue); margin: 32px 0 12px; }
.p-article h4 { font-family: var(--font-body); font-size: 1.02rem; color: var(--navy); margin: 18px 0 8px; }
.p-article img { max-width: 100%; height: auto; border-radius: 10px; cursor: zoom-in; }
.p-article ul, .p-article ol { padding-left: 22px; }
.p-article li { margin-bottom: 6px; }
.p-article li::marker { color: var(--sand-dark); }
.t-center { text-align: center; }
.sh-figure { margin: 24px 0; }
.sh-figure img { display: block; margin: 0 auto; }
figcaption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 8px; font-style: italic; }
.sh-check { list-style: none; padding-left: 0 !important; }
.sh-check li { position: relative; padding-left: 30px; }
.sh-check li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.sh-quote { margin: 24px 0; padding: 18px 22px; background: var(--sand-soft); border-left: 4px solid var(--sand); border-radius: 0 10px 10px 0; }
.sh-quote p { margin: 0; }
.sh-table { margin: 20px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.sh-table table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.sh-table th, .sh-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.sh-table thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.sh-table tbody tr:nth-child(even) { background: #f7f9fb; }
.sh-table tbody tr:last-child td { border-bottom: 0; }
.sh-table td:first-child { font-weight: 600; color: var(--navy); }
.sh-gallery { margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.sh-gallery .sh-figure { margin: 0; }
.sh-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.sh-gallery figcaption { font-size: .78rem; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 20px 0; }
.sh-cell .sh-figure { margin: 0 0 8px; }
.sh-cell p { margin: 0; }
.sh-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 20px 0; }
.sh-col > :first-child { margin-top: 0; }
.sh-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin: 28px 0; }
.sh-media-text.is-right .sh-mt-media { order: 2; }
.sh-mt-media { margin: 0; }
.sh-info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.sh-info img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0; }
.sh-info__body { padding: 16px 18px 18px; }
.sh-info__body h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--navy); }
.sh-info__body p { font-size: .92rem; margin: 0; color: var(--muted); }
.sh-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 20px 0; }
.sh-card-mini { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sh-card-mini img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0; }
.sh-card-mini h4 { padding: 0 18px; margin-top: 16px; }
.sh-card-mini p { padding: 0 18px 18px; margin: 0; font-size: .92rem; color: var(--muted); }
.sh-embed, .sh-video { margin: 24px 0; }
.sh-embed iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 10px; }
.sh-video video { width: 100%; border-radius: 10px; background: #000; }
.sh-faq { border: 1px solid var(--line); border-radius: 10px; background: var(--white); margin-bottom: 10px; }
.sh-faq summary { cursor: pointer; padding: 14px 48px 14px 18px; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); }
.sh-faq[open] summary::after { content: "–"; }
.sh-faq > :not(summary) { padding: 0 18px; }
.sh-faq[open] { padding-bottom: 6px; }
.sh-tabs { margin: 24px 0; }
.sh-tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sh-tab { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 500 .92rem var(--font-body); color: var(--ink); cursor: pointer; }
.sh-tab:hover { border-color: var(--blue); color: var(--blue); }
.sh-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sh-tabpanel > :first-child { margin-top: 0; }
.p-related { background: var(--white); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,20,32,.94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; text-align: center; grid-column: 2; grid-row: 1; }
.lb-figure img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 6px; }
.lb-figure figcaption { color: rgba(255,255,255,.75); font-style: normal; margin-top: 12px; }
.lb-nav, .lb-close { background: rgba(255,255,255,.1); color: var(--white); border: 0; cursor: pointer; border-radius: 50%; }
.lb-nav { width: 48px; height: 48px; font-size: 2rem; line-height: 1; justify-self: center; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; font-size: 1.8rem; }
.lb-nav:hover, .lb-close:hover { background: rgba(255,255,255,.25); }

/* ----- Reveal ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .float-call { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .p-body-grid { grid-template-columns: 1fr; }
  .p-aside { position: static; max-width: 560px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .footer-legal { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 20px 20px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media > img { aspect-ratio: 16/11; }
  .about-badge { right: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .map-frame { height: 380px; }
  .map-overlay { position: static; display: block; padding-bottom: 56px; }
  .map-card { max-width: none; margin-top: -72px; position: relative; }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .p-ov-grid { grid-template-columns: 1fr; gap: 28px; }
  .p-head { flex-direction: column; align-items: flex-start; }
  .sh-media-text { grid-template-columns: 1fr; }
  .sh-media-text.is-right .sh-mt-media { order: 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 72px 0; }
  .brand-name { font-size: 1.25rem; }
  .hero { min-height: 640px; }
  .hero-content { padding-bottom: 110px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(8,44,69,.55) 0%, rgba(8,44,69,.85) 100%); }
  .hero-actions .btn { width: 100%; }
  .stat { padding: 18px 10px; }
  .stat-num { font-size: 1.7rem; }
  .values, .project-grid, .dest-grid, .why-grid { grid-template-columns: 1fr; }
  .dest { min-height: 360px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .steps::before { display: none; }
  .contact-form { padding: 24px 20px; }
  .brand-icon { width: 46px; height: 46px; }
  .map-frame { height: 320px; }
  .map-card { padding: 24px 20px; }
  .map-actions .btn { flex-basis: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
  .footer-legal dl { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .p-gallery.n5, .p-gallery.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; }
  .p-gallery.n5 .p-tile:first-child, .p-gallery.n3 .p-tile:first-child { grid-row: auto; grid-column: span 2; }
  .p-gallery.n5 .p-tile:nth-child(n+4) { display: none; }
  .p-gallery.n2 { grid-template-rows: 200px; }
  .p-gallery.n1 { grid-template-rows: 240px; }
  .p-gallery-all { right: 10px; bottom: 10px; padding: 8px 14px; font-size: .8rem; }
  .p-overview { padding: 44px 0; }
  .p-ov-list div { grid-template-columns: 1fr; gap: 2px; }
  .p-body { padding: 36px 0 56px; }
  .p-article { font-size: 1rem; }
  .p-form { padding: 22px 18px; }
  .sh-table { font-size: .86rem; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
