/*
Theme Name: Navstore Zoom SEO
Theme URI: https://navstore.my.id/
Author: Navstore
Description: Tema ringan untuk layanan sewa Zoom Meeting dan Webinar. SEO bawaan (title, meta, Open Graph, schema JSON-LD), halaman landing per kata kunci, tabel harga yang terbaca Google, dan formulir pesanan ke WhatsApp. Siap upload, halaman dan menu dibuat otomatis saat diaktifkan.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: navstore
*/

@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
}

:root {
	--ink: #0c1b3f;
	--ink-deep: #081230;
	--blue: #1860f2;
	--blue-dark: #0f47c0;
	--sky: #eaf2ff;
	--mist: #f5f8ff;
	--sun: #ffc93c;
	--wa: #15803d;
	--wa-dark: #166534;
	--text: #172446;
	--muted: #4a5878;
	--line: #d9e2f3;
	--white: #fff;
	--font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 22px;
	--header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.section--navy :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.35rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 780px; }

/* ---------- Tombol ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .7rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
	font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	background: var(--blue); color: #fff; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn--primary { background: var(--blue); }
.btn--wa { background: var(--wa); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--sm { padding: .45rem .9rem; font-size: .9rem; }
.btn--lg { padding: .9rem 1.6rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-mark { display: inline-flex; }
.brand--logo img { max-height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav-list a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: var(--blue); border-bottom-color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); content: ""; position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
	.site-header.is-open .site-nav { display: flex; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
	.nav-cta { text-align: center; }
}

/* ---------- Section ---------- */
.section { padding: 4.5rem 0; }
.section--tint { background: var(--mist); }
.section--navy { background: var(--ink); color: #dbe5fb; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--cta { background: var(--sky); }
.section-head { max-width: 680px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Hero ---------- */
.hero { background: var(--sky); padding: 4rem 0 4.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.hero-meta { font-size: .98rem; color: var(--muted); margin: 0; }

.hero-visual { position: relative; padding: 0 0 2.5rem 1.5rem; }
.meet { background: var(--ink); border-radius: var(--r-lg); padding: .9rem; box-shadow: 0 24px 50px -24px rgba(12,27,63,.55); }
.meet-bar { display: flex; align-items: center; gap: .4rem; padding: .2rem .3rem .8rem; }
.meet-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4a78; }
.meet-bar b { margin-left: .6rem; font: 600 .82rem var(--font-body); color: #aebbe0; }
.meet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.tile { aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; }
.tile span { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255,255,255,.22); color: #fff; display: grid; place-items: center; font: 700 .9rem var(--font-head); }
.t1 { background: #1860f2; } .t2 { background: #e0a400; } .t3 { background: #0f9d8e; }
.t4 { background: #e2651a; } .t5 { background: #7a4be0; }
.t2 span { color: var(--ink); background: rgba(255,255,255,.4); }
.tile--more { background: #1e2d57; }
.tile--more span { width: auto; height: auto; background: none; font-size: 1.15rem; }
.meet-tools { display: flex; justify-content: center; gap: .6rem; padding-top: .9rem; }
.meet-tools i { width: 34px; height: 34px; border-radius: 50%; background: #1e2d57; }
.meet-tools .end { width: 52px; border-radius: 999px; background: #d92d20; }
.price-tag { position: absolute; left: -.5rem; bottom: 0; background: var(--sun); color: var(--ink); padding: .8rem 1.3rem; border-radius: var(--r-md); transform: rotate(-4deg); display: flex; flex-direction: column; line-height: 1.1; box-shadow: 0 10px 24px -12px rgba(12,27,63,.5); }
.price-tag small { font-size: .85rem; font-weight: 600; }
.price-tag strong { font: 800 2.1rem var(--font-head); letter-spacing: -0.03em; }

@media (max-width: 900px) {
	.hero { padding: 2.5rem 0 3rem; }
	.hero-grid { grid-template-columns: 1fr; gap: 2rem; }
	.hero-visual { max-width: 460px; }
}

/* ---------- Tabel harga ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; margin-bottom: 1.75rem; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.price-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:nth-child(even) { background: var(--mist); }
.price-link { display: inline-block; font-weight: 800; color: var(--blue); text-decoration: none; padding: .2rem .5rem; margin: -.2rem -.5rem; border-radius: var(--r-sm); }
.price-link:hover { background: var(--sky); color: var(--blue-dark); text-decoration: underline; }
.price-na { color: #8a96b3; }
.price-val { font-weight: 800; color: var(--ink); white-space: nowrap; }
.price-sub { margin: 1.75rem 0 .8rem; font-size: 1.3rem; }
.price-sub:first-of-type { margin-top: 0; }
.price-foot { color: var(--muted); font-size: .95rem; }

.pricelist-img { margin: 2rem 0 0; max-width: 460px; }
.pricelist-img img { border-radius: var(--r-md); border: 1px solid var(--line); display: block; width: 100%; }
.pricelist-img figcaption { font-size: .92rem; color: var(--muted); margin-top: .6rem; }

/* ---------- Kartu layanan, keunggulan, testimoni ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.svc { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1.3rem 1.1rem; text-decoration: none; color: var(--text); transition: border-color .15s, background-color .15s; }
.svc:hover { border-color: var(--blue); background: #fcfdff; color: var(--text); }
.svc h3 { color: var(--blue); margin-bottom: .35rem; }
.svc p { margin: 0; color: var(--muted); font-size: .98rem; }
.svc-grid--small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; max-width: 900px; }
.why { border-left: 4px solid var(--sun); padding-left: 1.1rem; }
.why h3 { margin-bottom: .3rem; }
.why p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.quote { margin: 0; border-top: 3px solid var(--ink); padding-top: 1rem; }
.quote blockquote { margin: 0 0 .8rem; font: 600 1.25rem/1.4 var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.quote blockquote p { margin: 0; }
.quote figcaption { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font: 400 1.7rem/1 var(--font-body); color: var(--blue); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0 0 1.2rem; color: var(--muted); max-width: 66ch; }

/* ---------- Form pesanan ---------- */
.order-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.order-intro p { max-width: 46ch; }
.steps { list-style: none; counter-reset: s; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .9rem; align-items: start; }
.steps li::before { content: counter(s); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--sun); color: var(--ink); font: 800 1rem/2.2rem var(--font-head); text-align: center; }
.steps strong { color: #fff; }
.steps span { color: #b9c7ea; font-size: .97rem; }

.order-form { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.order-form h3 { grid-column: 1 / -1; color: var(--ink); margin: 0; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field[hidden] { display: none; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .93rem; color: var(--ink); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: .7rem .8rem; border: 1.5px solid #b9c6e2; border-radius: 10px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(24,96,242,.3); border-color: var(--blue); }
.form-error { grid-column: 1 / -1; margin: 0; padding: .7rem .9rem; border-radius: 10px; background: #fdecea; color: #8a1c13; font-weight: 600; }
.form-error[hidden] { display: none; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) {
	.order-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
	.order-form { grid-template-columns: 1fr; padding: 1.25rem; }
}

/* ---------- Halaman landing & halaman biasa ---------- */
.page-hero { background: var(--sky); padding: 1.5rem 0 3.5rem; }
.page-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: start; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.fit { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.4rem 1.2rem; }
.fit h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { position: relative; padding: .45rem 0 .45rem 1.7rem; border-top: 1px solid var(--line); font-size: .98rem; }
.fit li:first-child { border-top: 0; }
.fit li::before { content: ""; position: absolute; left: .2rem; top: 1rem; width: .5rem; height: .85rem; border: solid var(--blue); border-width: 0 3px 3px 0; transform: translateY(-50%) rotate(40deg); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

.crumbs { margin: 0 0 1.25rem; font-size: .9rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #8a96b3; }
.crumbs a { color: var(--muted); }
.page-plain { padding: 2rem 0 4rem; }
.page-plain h1 { font-size: clamp(2rem, 4vw, 2.9rem); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4em; }
.container--narrow.prose { max-width: 780px; }
.container--narrow.prose > * { max-width: 68ch; }

.cta { text-align: left; }
.cta p { color: var(--muted); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.section--cta .btn--ghost { color: var(--blue); border-color: var(--blue); }
.section--cta .btn--ghost:hover { background: #fff; color: var(--blue-dark); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.post-card h2 { font-size: 1.3rem; margin: .8rem 0 .3rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--blue); }
.post-card img { border-radius: var(--r-md); width: 100%; height: auto; }
.post-meta { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
.post-hero { border-radius: var(--r-md); margin: 0 0 1.5rem; }
.pager { margin-top: 2rem; }
.empty { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #b9c7ea; padding: 3.5rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #dbe5fb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { font: 800 1.4rem var(--font-head); color: #fff; margin-bottom: .5rem; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: .6rem; }
.footer-col ul, .footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-wa a { font-weight: 700; }
.footer-legal { border-top: 1px solid #1d2c57; margin-top: 2.5rem; padding-top: 1.2rem; font-size: .88rem; }
.footer-legal p { margin: 0 0 .3rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Tombol WhatsApp melayang ---------- */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: .55rem; background: var(--wa); color: #fff; padding: .8rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.wa-float:hover { background: var(--wa-dark); color: #fff; }
@media (max-width: 560px) {
	.wa-float { padding: .85rem; }
	.wa-float span { display: none; }
}

/* ---------- Gerak dikurangi ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
