:root {
  --bg: #FAF0ED;
  --ink: #3A1E33;
  --muted: #5A3B50;
  --gold: #A8823F;
  --gold-bright: #E8B96A;
  --accent: #A82A56;
  --accent-hover: #8F2148;
  --card: #FFF8F5;
  --white: #FFFFFF;
  --line: #EFD9D4;
  --input-line: #E3C9C3;
  --dark: #2C1526;
  --on-dark: #F7E8E4;
  --on-dark-muted: #D9B9C6;
  --on-dark-soft: #C7A3B4;
  --cta-text: #FFF7F4;
  --footer: #9B7C8E;
  --serif: Prata, "Times New Roman", serif;
  --sans: Manrope, "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang="vi"] {
  --serif: "Be Vietnam Pro", Manrope, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.i18n-pending body { visibility: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #7C1F40; text-decoration: underline; }
button, input { font-family: inherit; }

.lang-bar {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  max-width: 1020px;
  margin: 0 auto;
  padding: 16px 20px 0;
}
.lang-bar a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A6B7E;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.lang-bar a:hover { color: var(--ink); text-decoration: none; background: rgba(168, 42, 86, 0.06); }
.lang-bar a.is-active { color: var(--accent); background: rgba(168, 42, 86, 0.1); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.lead { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.65; color: var(--muted); }
.body { font-size: 15px; line-height: 1.6; color: var(--muted); }
.accent { color: var(--accent); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--cta-text);
  font-weight: 700;
  font-size: 17px;
  padding: 17px 38px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(168, 42, 86, 0.3);
}
.btn:hover {
  background: var(--accent-hover);
  color: var(--cta-text);
  text-decoration: none;
}

.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 8vw, 90px) 24px clamp(48px, 8vw, 90px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero h1 {
  font-size: clamp(30px, 5.5vw, 52px);
  line-height: 1.22;
}
.hero .lead { max-width: 620px; }
.hero .note { font-size: 14px; color: #8A6B7E; }

.section { margin: 0 auto; padding: clamp(40px, 7vw, 80px) 24px; }
.section h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.3;
  text-align: center;
  margin: 0 0 clamp(28px, 5vw, 48px);
}

.steps { max-width: 1020px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card .num { font-family: var(--serif); font-size: 15px; color: var(--gold); }
.card h3 { font-size: 21px; }
.card .x { font-size: 22px; color: var(--accent); line-height: 1; }

.why { max-width: 860px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}
.why-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 2px solid var(--gold-bright);
  padding-top: 18px;
}
.why-item h3 { font-size: 20px; }

.calc-wrap { max-width: 860px; padding-left: 16px; padding-right: 16px; }
.calc {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 26px;
  padding: clamp(32px, 6vw, 60px) clamp(22px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 24px 60px rgba(44, 21, 38, 0.35);
}
.calc h2 { margin: 0; color: inherit; }
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.calc-label span { font-size: 15px; color: var(--on-dark-muted); }
.calc-count { font-family: var(--serif); font-size: 30px; color: var(--gold-bright); }
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.calc-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 185, 106, 0.35);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-box .k {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.calc-box .v {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 48px);
}
.calc-box .v.gold { color: var(--gold-bright); }
.calc-box .v.cream { color: #FFF3E6; }
.calc-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--on-dark-soft);
  text-align: center;
}

input[type=range].calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  background: linear-gradient(90deg, #E8B96A 0%, #A82A56 100%);
  accent-color: #E8B96A;
  margin-top: 14px;
}
input[type=range].calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E8B96A;
  border: 3px solid #2C1526;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
input[type=range].calc-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E8B96A;
  border: 3px solid #2C1526;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.punch {
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: clamp(48px, 8vw, 100px) 24px;
}
.punch p.quote {
  font-family: var(--serif);
  font-size: clamp(24px, 4.2vw, 40px);
  line-height: 1.35;
}
.punch .lead { max-width: 620px; font-size: clamp(15px, 2vw, 17px); }

.none { max-width: 1020px; padding-top: clamp(24px, 5vw, 50px); }
.none .card h3 { font-size: 20px; }
.none .card { gap: 10px; }

.faq { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  line-height: 1.65;
  color: var(--muted);
  font-size: 15px;
}

.form-section { max-width: 640px; padding-bottom: clamp(56px, 8vw, 90px); }
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(30px, 6vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(58, 30, 51, 0.08);
}
.form-card h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); }
form { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
form input {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--input-line);
  background: var(--white);
  font-size: 16px;
  color: var(--ink);
}
form input:focus {
  outline: 2px solid var(--gold-bright);
  outline-offset: 1px;
}
.form-success { display: none; }
.form-success.show { display: block; }
.form-success h3 { font-size: 28px; margin-bottom: 10px; }
.form-error {
  display: none;
  font-size: 14px;
  color: var(--accent);
}
.form-error.show { display: block; }

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 48px;
  text-align: center;
}
footer p { font-size: 12.5px; line-height: 1.7; color: var(--footer); }
