:root {
  --ink: #14181d;
  --steel: #232a32;
  --steel-2: #323b45;
  --paper: #f4f1ea;
  --white: #fff;
  --muted: #5b6570;
  --line: #ddd8cc;
  --accent: #ff6a13;
  --accent-dark: #d95200;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 18px; font-weight: 600; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary, .btn-call { background: var(--accent); color: var(--white); }
.btn-primary:hover, .btn-call:hover { background: var(--accent-dark); }
.btn-ghost { border-color: #6b7682; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Thanh trên cùng */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 20px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: var(--ink); color: var(--white);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 18px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 5px; border: 2px solid var(--accent);
  background: repeating-linear-gradient(var(--accent) 0 3px, transparent 3px 6px);
}
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: #cfd5dc; text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--white); }
.btn-call { padding: 8px 14px; white-space: nowrap; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(40px, 7vw, 88px) clamp(16px, 4vw, 48px);
  background: var(--ink); color: var(--white);
}
.eyebrow { margin: 0 0 14px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 58px); font-weight: 800; letter-spacing: -0.02em; }
.hero h1 span { color: var(--accent); display: block; }
.lead { font-size: 18px; color: #cfd5dc; max-width: 34em; margin: 20px 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hours { color: #9aa4af; font-size: 14px; margin: 18px 0 0; }

/* Hình cửa cuốn vẽ bằng CSS: lá cửa cuộn lên khi tải trang */
.door {
  position: relative; aspect-ratio: 4 / 3.4; max-width: 460px; width: 100%; justify-self: center;
  border: 10px solid var(--steel-2); border-bottom-width: 0; border-radius: 6px 6px 0 0;
  background: var(--steel); overflow: hidden;
}
.door-box { position: absolute; inset: 0 0 auto 0; height: 13%; background: var(--steel-2); border-bottom: 3px solid #1a2026; z-index: 2; }
.door-inside {
  position: absolute; inset: 13% 0 0 0;
  background: radial-gradient(ellipse at 50% 100%, #ffb27a 0%, #b4541c 38%, #2a211c 78%);
}
.door-shutter {
  position: absolute; inset: 13% 0 0 0;
  background: repeating-linear-gradient(#aeb6bf 0 12px, #8d96a0 12px 14px, #c3cad1 14px 16px);
  border-bottom: 8px solid #6d7680;
  animation: roll-up 2.2s cubic-bezier(0.3, 0, 0.2, 1) 0.4s forwards;
}
@keyframes roll-up { to { transform: translateY(-58%); } }
@media (prefers-reduced-motion: reduce) {
  .door-shutter { animation: none; transform: translateY(-58%); }
  html { scroll-behavior: auto; }
}

/* Khối nội dung */
.section { padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 48px); max-width: 1200px; margin: 0 auto; }
.section-lead { color: var(--muted); max-width: 42em; margin: 10px 0 28px; }
.section-dark { max-width: none; background: var(--steel); color: var(--white); }
.section-dark > * { max-width: 1104px; margin-left: auto; margin-right: auto; }
.section-dark .section-lead { color: #b9c1ca; margin-bottom: 28px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  border-top: 4px solid var(--accent); display: flex; flex-direction: column;
}
.card p { color: var(--muted); margin: 8px 0 16px; flex: 1; }
.card a { font-weight: 600; text-decoration: none; }
.card a:hover { text-decoration: underline; }

.table-wrap { overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { padding: 14px 12px; text-align: left; border-bottom: 1px solid #47525e; }
.prices th { color: #9aa4af; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.prices .price { color: var(--accent); font-weight: 600; white-space: nowrap; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: "0" counter(step); display: block; font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 6px 0 0; }

/* Form */
.section-form { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.form-intro p { color: var(--muted); }
#booking-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px);
}
#booking-form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
#booking-form small { font-weight: 400; color: var(--muted); }
#booking-form .wide { grid-column: 1 / -1; }
input, select, textarea {
  font: inherit; width: 100%; padding: 11px 12px; border: 1px solid #c9c3b6; border-radius: 8px; background: var(--white); color: var(--ink);
}
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: #c62828; }
.err { color: #c62828; font-size: 13px; font-weight: 400; min-height: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: #166534; background: #dcfce7; padding: 12px 14px; border-radius: 8px; }
.form-status.fail { color: #c62828; }

/* Hỏi đáp */
.faq { margin-top: 24px; max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 17px; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.foot {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
  padding: 36px clamp(16px, 4vw, 48px); background: var(--ink); color: #b9c1ca; font-size: 15px;
}
.foot strong { color: var(--white); font-size: 18px; }
.foot p { margin: 4px 0; }
.foot a { color: var(--white); }

.mobile-bar { display: none; }

@media (max-width: 860px) {
  .top nav { display: none; }
  .btn-call { margin-left: auto; }
  .hero, .section-form { grid-template-columns: 1fr; }
  .door { max-width: 340px; }
  #booking-form { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 10;
    background: var(--ink); border-top: 1px solid var(--steel-2);
  }
  .mobile-bar a { color: var(--white); text-decoration: none; text-align: center; padding: 14px 6px; font-weight: 600; }
  .mobile-bar a:first-child { background: var(--accent); }
  body { padding-bottom: 54px; }
}
