/* Trang chủ Thiệp Cưới 99 */
:root {
  --bg: #faf6f0;
  --alt: #f3ebe3;
  --surface: #ffffff;
  --ink: #3b3129;
  --muted: #7d6e61;
  --accent: #b07d62;
  --accent-dark: #93654d;
  --line: #e8ddd2;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(59, 49, 41, 0.08);
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.25; }

.container { width: min(1100px, 100% - 32px); margin: 0 auto; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: 500 0.95rem var(--font-body);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn--sm { padding: 7px 18px; font-size: 0.85rem; }

.eyebrow { letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.75rem; color: var(--accent); margin: 0 0 12px; font-weight: 500; }

/* ---------- Thanh điều hướng ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--font-heading); font-size: 1.3rem; text-decoration: none; font-weight: 600; }
.brand span { font-family: "Dancing Script", cursive; color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; }
.nav__links a:not(.btn) { text-decoration: none; }
.nav__links a:not(.btn):hover { color: var(--accent); }
@media (max-width: 560px) { .nav__links a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; }
.hero__inner { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 18px; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero__lead { color: var(--muted); font-size: 1.08rem; margin: 0 0 28px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__phone { display: flex; justify-content: center; }
.phone {
  width: 300px;
  height: 610px;
  border-radius: 42px;
  border: 10px solid var(--ink);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(59, 49, 41, 0.25);
  background: var(--ink);
}
.phone iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.2fr 1fr; } }

/* ---------- Khối chung ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--alt); }
.section__title { text-align: center; font-size: clamp(1.7rem, 4.5vw, 2.3rem); margin: 0 0 12px; }
.section__lead { text-align: center; color: var(--muted); margin: 0 0 40px; }
.section__title + :not(.section__lead) { margin-top: 40px; }

/* ---------- Tính năng ---------- */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feature { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--alt);
  color: var(--accent);
  font-size: 1.3rem;
}
.feature h3 { font-size: 1.15rem; margin: 16px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Mẫu thiệp ---------- */
.templates { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tpl {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s;
}
.tpl:hover { transform: translateY(-4px); }
.tpl__thumb { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; background: var(--line); }
.tpl__body { padding: 20px 22px 24px; }
.tpl__name { font-family: var(--font-heading); font-size: 1.3rem; margin: 0 0 6px; }
.tpl__desc { color: var(--muted); margin: 0 0 14px; font-size: 0.93rem; }
.tpl__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.tpl__tags li { font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; background: var(--alt); color: var(--accent-dark); }
.tpl__link { color: var(--accent); font-weight: 500; }
.tpl--soon { opacity: 0.6; justify-content: center; align-items: center; min-height: 240px; border: 2px dashed var(--line); box-shadow: none; background: transparent; }

/* ---------- Quy trình ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; text-align: center; padding: 12px; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.4rem;
}
.steps strong { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 1.2rem; }
.steps span { color: var(--muted); }

/* ---------- Bảng giá ---------- */
.pricing { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px; margin: 40px auto 0; }
.plan { background: var(--surface); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); text-align: center; }
.plan--featured { outline: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 1.4rem; }
.plan__price { font-family: var(--font-heading); font-size: 1.8rem; color: var(--accent); margin: 8px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.plan li { padding: 7px 0 7px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 0.95rem; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); }

/* ---------- Liên hệ & chân trang ---------- */
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.footer { padding: 28px 0; text-align: center; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); }
