/*
Theme Name: NCCS Store
Theme URI: https://namecentury.online/
Author: Name Century LLC
Description: Cửa hàng NCCS, NCpanel và tên miền cho namecentury.online.
Version: 1.1.0
Text Domain: nccs-store
*/

:root {
  --ink: #142033;
  --muted: #5c6b7e;
  --line: #d9e2ec;
  --bg: #f5f7fb;
  --card: #fff;
  --navy: #0c2340;
  --blue: #1d5fa7;
  --teal: #0e7c68;
  --soft: #e7f2fb;
  --font: "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topbar { background: var(--navy); color: #d5e4f2; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center; }
.topbar a { color: #fff; }
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; }
.mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.brand strong { display: block; font-size: 20px; letter-spacing: -0.03em; }
.brand small { color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .drop > a { display: inline-block; padding: 10px 12px; color: var(--ink); }
.nav > a:hover, .drop > a:hover, .nav > a.is-on { color: var(--blue); }
.drop { position: relative; }
.menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 12px 30px rgba(12, 35, 64, 0.08);
}
.drop:hover .menu, .drop:focus-within .menu { display: block; }
.menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.menu a:hover { background: var(--soft); }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 12px; }
.hero { background: linear-gradient(180deg, #e7f0f8 0%, #f5f7fb 70%); padding: 64px 0 28px; }
.hero h1 { margin: 0 0 10px; font-size: 48px; letter-spacing: -0.045em; line-height: 1.05; max-width: 16ch; }
.kicker { margin: 0 0 8px; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.hero .lead { margin: 0 0 22px; color: var(--muted); max-width: 38rem; font-size: 18px; }
.search { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-width: 720px; }
.search input, .search select { border: 0; padding: 16px; background: #fff; }
.search input { flex: 1; min-width: 0; }
.search select { border-left: 1px solid var(--line); }
.search button { border: 0; background: var(--teal); color: #fff; padding: 0 22px; cursor: pointer; }
.quote { min-height: 1.4em; margin: 12px 0; }
.quote a { color: var(--blue); }
.tld-strip { display: flex; gap: 18px; list-style: none; padding: 8px 0 0; margin: 0; flex-wrap: wrap; color: var(--muted); }
.tld-strip b { color: var(--ink); }
.section { padding: 28px 0; }
.section h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.03em; }
.doors, .guides, .plans, .features { display: grid; gap: 14px; }
.doors, .guides, .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans { grid-template-columns: 1.1fr 0.9fr; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h3 { margin: 0 0 8px; }
.card p, .article p { color: var(--muted); }
.place { margin: 0 0 6px; color: var(--blue); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.price { font-size: 32px; font-weight: 700; margin: 8px 0; letter-spacing: -0.03em; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.btn { display: inline-block; background: var(--blue); color: #fff; border-radius: 8px; padding: 10px 14px; margin: 8px 8px 0 0; }
.btn.secondary { background: #fff; color: var(--blue); border: 1px solid #b9d0e6; }
.features { margin-top: 14px; }
.features article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.features h3 { margin: 0 0 6px; font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps b { display: block; color: var(--teal); margin-bottom: 4px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 650; }
.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.article { max-width: 46rem; }
main > .article { width: min(46rem, calc(100% - 40px)); margin: 36px auto 56px; }
.article h1 { letter-spacing: -0.03em; font-size: 36px; }
.site-foot { background: var(--navy); color: #d5e4f2; padding: 36px 0 28px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 18px; }
.site-foot h2 { color: #fff; font-size: 14px; margin: 0 0 8px; }
.site-foot a { color: #fff; display: block; margin: 0 0 6px; }
.site-foot p { margin: 0 0 8px; font-size: 14px; }
@media (max-width: 900px) {
  .hero h1 { font-size: 34px; }
  .doors, .guides, .features, .plans, .steps, .foot-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 110px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.is-open { display: block; }
  .menu { position: static; box-shadow: none; display: block; border: 0; padding: 0 0 8px 12px; }
  .search { flex-direction: column; }
  .search select, .search button { border-left: 0; min-height: 46px; }
}
