/* home.css — Trang chủ nền tảng thiệp cưới online. */
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: #22301f; background: #fdf8ec; }
a { color: #1e4d2b; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.site { position: sticky; top: 0; z-index: 20; background: rgba(253, 248, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid #e3d9b8; }
header.site .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.logo { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: #1e4d2b; text-decoration: none; white-space: nowrap; }
.logo span { color: #b08d2e; }
nav.main { display: flex; gap: 18px; margin-left: auto; }
nav.main a { text-decoration: none; color: #44503f; font-size: 14.5px; }
.btn { display: inline-block; background: #1e4d2b; color: #fff; border: 0; border-radius: 999px; padding: 13px 26px; font-size: 15px; font-family: var(--font-body); cursor: pointer; text-decoration: none; box-shadow: 0 4px 14px rgba(30,77,43,.3); }
.btn.ghost { background: transparent; color: #1e4d2b; border: 1.5px solid #1e4d2b; box-shadow: none; }
.btn.small { padding: 9px 18px; font-size: 14px; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 0 56px; }
.hero h1 { font-family: var(--font-display); font-size: 46px; line-height: 1.15; margin: 0 0 16px; color: #1e4d2b; }
.hero h1 em { font-family: var(--font-script); font-weight: 400; color: #b08d2e; font-size: 54px; }
.hero p.lead { font-size: 17px; line-height: 1.75; color: #5b6b52; margin: 0 0 24px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .trust { margin-top: 18px; font-size: 14px; color: #6b7a5e; }
.hero .hero-img { position: relative; }
.hero .hero-img img { width: 100%; height: 460px; object-fit: cover; border-radius: 220px 220px 18px 18px; display: block; box-shadow: 0 20px 50px rgba(30,77,43,.25); }
.hero-card { position: absolute; left: -24px; bottom: 28px; background: #fffdf5; border: 1px solid #e3d9b8; border-radius: 14px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.16); max-width: 250px; }
.hero-card .names { font-family: var(--font-script); font-size: 26px; color: #1e4d2b; line-height: 1.2; }
.hero-card .date { font-size: 13px; letter-spacing: .14em; color: #6b7a5e; margin-top: 4px; }
section.home { padding: 56px 0; }
section.home h2 { font-family: var(--font-display); font-size: 32px; color: #1e4d2b; margin: 0 0 8px; text-align: center; }
section.home .sub { text-align: center; color: #6b7a5e; margin: 0 0 32px; font-size: 16px; }
.filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { border: 1.5px solid #d8cfa8; background: #fffdf5; color: #44503f; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-family: var(--font-body); cursor: pointer; }
.filters button.on { background: #1e4d2b; color: #fff; border-color: #1e4d2b; }
.tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tpl-card { background: #fffdf5; border: 1px solid #e3d9b8; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.tpl-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.tpl-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tpl-card h3 { margin: 0; font-family: var(--font-display); font-size: 18px; color: #1e4d2b; }
.tpl-card .tag { font-size: 12px; color: #b08d2e; letter-spacing: .08em; text-transform: uppercase; }
.tpl-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #5b6b52; flex: 1; }
.tpl-card .actions { display: flex; gap: 8px; margin-top: 10px; }
.tpl-card .actions a { flex: 1; text-align: center; padding: 9px 4px; font-size: 13.5px; border-radius: 999px; text-decoration: none; }
.tpl-card .actions .view { background: #1e4d2b; color: #fff; }
.tpl-card .actions .use { border: 1.5px solid #1e4d2b; color: #1e4d2b; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: #fffdf5; border: 1px solid #e3d9b8; border-radius: 16px; padding: 22px; }
.feat .ic { font-size: 30px; }
.feat h3 { font-family: var(--font-display); margin: 10px 0 6px; font-size: 19px; color: #1e4d2b; }
.feat p { margin: 0; font-size: 14.5px; line-height: 1.7; color: #5b6b52; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { text-align: center; padding: 10px; }
.step .num { width: 52px; height: 52px; border-radius: 50%; background: #1e4d2b; color: #fff; font-family: var(--font-display); font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step h3 { font-family: var(--font-display); color: #1e4d2b; margin: 0 0 6px; }
.step p { color: #5b6b52; font-size: 14.5px; line-height: 1.7; margin: 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { background: #fffdf5; border: 1px solid #e3d9b8; border-radius: 18px; padding: 26px 22px; text-align: center; }
.price.hot { border: 2px solid #1e4d2b; transform: scale(1.03); box-shadow: 0 12px 30px rgba(30,77,43,.16); }
.price h3 { font-family: var(--font-display); color: #1e4d2b; margin: 0; font-size: 20px; }
.price .amount { font-family: var(--font-display); font-size: 38px; color: #1e4d2b; margin: 12px 0 4px; }
.price .amount small { font-size: 15px; color: #6b7a5e; }
.price ul { list-style: none; padding: 0; margin: 18px 0; text-align: left; font-size: 14.5px; line-height: 2; color: #44503f; }
.price ul li::before { content: "✓ "; color: #1e4d2b; font-weight: 700; }
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sample-card { display: flex; gap: 16px; background: #fffdf5; border: 1px solid #e3d9b8; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; }
.sample-card img { width: 150px; min-height: 150px; object-fit: cover; }
.sample-card .body { padding: 16px 16px 16px 0; }
.sample-card h3 { font-family: var(--font-script); font-weight: 400; font-size: 28px; color: #1e4d2b; margin: 0 0 4px; }
.sample-card p { margin: 0; font-size: 14px; line-height: 1.6; color: #5b6b52; }
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: #fffdf5; border: 1px solid #e3d9b8; border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: #1e4d2b; font-size: 15.5px; }
.faq p { margin: 10px 0 2px; font-size: 14.5px; line-height: 1.75; color: #44503f; }
.sources { font-size: 13px; color: #6b7a5e; line-height: 1.9; }
.sources a { color: #1e4d2b; }
footer.site { border-top: 1px solid #e3d9b8; padding: 32px 0; background: #f6efdb; }
footer.site .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; font-size: 14px; color: #5b6b52; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0; gap: 28px; }
  .hero h1 { font-size: 34px; }
  .hero .hero-img img { height: 380px; }
  .hero-card { left: 12px; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .price.hot { transform: none; }
  .samples { grid-template-columns: 1fr; }
  nav.main { display: none; }
}
