/* ==========================================================================
   Delivero main stylesheet
   ========================================================================== */

:root {
	--primary: #0b1f4b;
	--accent: #ff6b2c;
	--blue: #2563eb;
	--text: #475569;
	--soft: #f3f6fc;
	--container: 1200px;
	--btn-radius: 12px;
	--radius: 18px;
	--font-h: "Plus Jakarta Sans", system-ui, sans-serif;
	--font-b: "Inter", system-ui, sans-serif;
	--header-bg: #ffffff;
	--header-text: #0b1f4b;
	--footer-bg: #071538;
	--footer-text: #b6c2de;
	--logo-w: 160px;
	--border: #e3e9f4;
	--shadow: 0 10px 30px rgba(11, 31, 75, 0.08);
	--shadow-lg: 0 24px 60px rgba(11, 31, 75, 0.16);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-b);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-h);
	color: var(--primary);
	line-height: 1.2;
	margin: 0 0 .5em;
	font-weight: 800;
	letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.icon.big { width: 120px; height: 120px; }
.hl { color: var(--accent); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	background: #fff; color: var(--primary); padding: 12px 20px; z-index: 100000;
	top: 8px; left: 8px; border-radius: 8px; box-shadow: var(--shadow);
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 24px; border: 2px solid transparent; border-radius: var(--btn-radius);
	font-family: var(--font-h); font-weight: 700; font-size: .95rem; line-height: 1.2;
	cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
	text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255, 107, 44, .35); }
.btn-accent:hover { background: #e85a1c; color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: #fff; color: var(--primary); }

/* ---------- Top bar ---------- */
.topbar { background: var(--primary); color: #d5def2; font-size: .85rem; position: relative; z-index: 60; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: #d5def2; }
.topbar a.topbar-item:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }
.social-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.social-links a {
	display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
	border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: .7rem; font-weight: 700;
}
.social-links a:hover { background: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
	background: var(--header-bg); position: relative; z-index: 50;
	box-shadow: 0 1px 0 var(--border); transition: box-shadow .3s, background .3s;
}
.header-sticky .site-header { position: sticky; top: 0; }
.admin-bar.header-sticky .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 800; font-size: 1.5rem; color: var(--header-text); }
.brand:hover { color: var(--accent); }
.brand-mark {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
	border-radius: 12px; background: var(--accent); color: #fff;
}
.custom-logo { width: var(--logo-w); height: auto; display: block; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav .menu > li { position: relative; }
.main-nav a {
	display: block; padding: 10px 14px; color: var(--header-text); font-family: var(--font-h);
	font-weight: 600; font-size: .95rem; border-radius: 10px;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--accent); }
.main-nav .menu-item-has-children > a::after, .main-nav .page_item_has_children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.main-nav .sub-menu, .main-nav .children {
	list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%;
	min-width: 220px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; z-index: 10;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu,
.main-nav li:hover > .children, .main-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a, .main-nav .children a { color: var(--primary); padding: 10px 14px; }
.main-nav .sub-menu .sub-menu, .main-nav .children .children { left: 100%; top: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-search { color: var(--header-text); display: inline-flex; padding: 8px; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger, .burger::before, .burger::after {
	display: block; width: 26px; height: 3px; background: var(--header-text); border-radius: 3px; transition: transform .3s, opacity .3s;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -8px; }
.burger::after { top: 8px; }
.nav-open .burger { background: transparent; }
.nav-open .burger::before { transform: translateY(8px) rotate(45deg); }
.nav-open .burger::after { transform: translateY(-8px) rotate(-45deg); }

/* Centered layout */
.header-layout-centered .header-inner { flex-wrap: wrap; justify-content: center; padding-top: 14px; padding-bottom: 6px; }
.header-layout-centered .site-branding { flex: 1 0 100%; display: flex; justify-content: center; }
.header-layout-centered .main-nav { order: 3; }
.header-layout-centered .header-actions { order: 4; }

/* Transparent header over hero */
.header-transparent .site-header { position: absolute; left: 0; right: 0; background: transparent; box-shadow: none; }
.header-transparent .site-header:not(.is-stuck) .brand,
.header-transparent .site-header:not(.is-stuck) .main-nav a,
.header-transparent .site-header:not(.is-stuck) .header-search { color: #fff; }
.header-transparent .site-header:not(.is-stuck) .burger,
.header-transparent .site-header:not(.is-stuck) .burger::before,
.header-transparent .site-header:not(.is-stuck) .burger::after { background: #fff; }
.header-transparent.header-sticky .site-header.is-stuck { position: fixed; top: 0; background: var(--header-bg); box-shadow: var(--shadow); }
.admin-bar.header-transparent.header-sticky .site-header.is-stuck { top: 32px; }
.site-header.is-stuck { box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(37, 99, 235, .45), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(255, 107, 44, .22), transparent 60%),
		linear-gradient(135deg, var(--primary) 0%, #0d2a6b 100%);
	padding: 90px 0 150px;
}
.header-transparent .hero { padding-top: 190px; }
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; margin-bottom: 22px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 100px; font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px);
}
.hero-badge .icon { color: var(--accent); width: 16px; height: 16px; }
.hero-text { font-size: 1.15rem; color: #d3dcf0; max-width: 560px; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.track-form {
	display: flex; align-items: center; gap: 8px; background: #fff; padding: 8px 8px 8px 16px;
	border-radius: 16px; max-width: 520px; box-shadow: var(--shadow-lg); margin-bottom: 26px;
}
.track-icon { color: var(--accent); display: inline-flex; }
.track-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; color: var(--primary); padding: 10px 6px; background: transparent; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: #e5ecfb; }
.hero-points .icon { color: #4ade80; width: 18px; height: 18px; }

.hero-visual { position: relative; min-height: 420px; }
.hero-img { width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); object-fit: cover; }
.hero-art { position: absolute; inset: 20px 0 0 20px; border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.art-truck { color: #fff; }
.art-truck .icon { width: 190px; height: 190px; stroke-width: 1.2; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.art-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.art-orb-1 { width: 220px; height: 220px; right: -60px; top: -60px; background: radial-gradient(circle, rgba(255,107,44,.6), transparent 70%); }
.art-orb-2 { width: 260px; height: 260px; left: -80px; bottom: -80px; background: radial-gradient(circle, rgba(37,99,235,.7), transparent 70%); }
.float-card {
	position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
	background: #fff; color: var(--primary); border-radius: 16px; box-shadow: var(--shadow-lg);
	animation: floaty 6s ease-in-out infinite; z-index: 2;
}
.float-card strong { display: block; font-family: var(--font-h); font-size: .9rem; line-height: 1.2; }
.float-card small { color: #64748b; font-size: .75rem; }
.float-card-1 { top: 10px; left: -10px; }
.float-card-2 { bottom: 40px; right: -10px; animation-delay: -2s; }
.float-card-3 { bottom: -10px; left: 30px; animation-delay: -4s; }
.fc-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #fff1ea; color: var(--accent); }
.fc-green { background: #e7f9ee; color: #16a34a; }
.fc-blue { background: #e8effe; color: var(--blue); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -80px; }
.stats-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 24px;
	box-shadow: var(--shadow-lg); padding: 14px; border: 1px solid var(--border);
}
.stat { text-align: center; padding: 26px 12px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--border); }
.stat-number { display: block; font-family: var(--font-h); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.8rem); color: var(--primary); line-height: 1.1; }
.stat-label { font-size: .92rem; color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }
.eyebrow {
	display: inline-block; font-family: var(--font-h); font-weight: 700; font-size: .8rem; letter-spacing: .12em;
	text-transform: uppercase; color: var(--accent); background: #fff1ea; padding: 6px 14px; border-radius: 100px; margin-bottom: 14px;
}
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.icon-badge {
	display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 18px;
	background: linear-gradient(135deg, var(--accent), #ff9a5c); color: #fff; margin-bottom: 20px; box-shadow: 0 10px 20px rgba(255, 107, 44, .3);
}
.icon-badge .icon { width: 28px; height: 28px; }
.icon-badge.sm { width: 48px; height: 48px; border-radius: 14px; margin: 0; }
.icon-badge.sm .icon { width: 22px; height: 22px; }
.service-card { padding: 34px 30px; }
.service-card p { margin-bottom: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 700; font-size: .92rem; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step:not(:last-child)::after {
	content: ""; position: absolute; top: 36px; left: calc(50% + 46px); right: calc(-50% + 46px);
	border-top: 2px dashed #c3cfe6;
}
.step-num {
	display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%;
	background: var(--primary); color: #fff; font-family: var(--font-h); font-weight: 800; font-size: 1.5rem;
	margin-bottom: 20px; box-shadow: 0 0 0 8px #fff, var(--shadow); position: relative; z-index: 1;
}

/* Features split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media img { width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); object-fit: cover; }
.media-art {
	position: relative; aspect-ratio: 6 / 5; border-radius: 28px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(145deg, var(--primary), #1d4ed8); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden;
}
.media-art .icon.big { stroke-width: 1; opacity: .95; }
.media-chip {
	position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary);
	padding: 10px 16px; border-radius: 100px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-lg);
}
.media-chip .icon { color: var(--accent); width: 16px; height: 16px; }
.chip-1 { top: 24px; left: 24px; }
.chip-2 { bottom: 24px; right: 24px; }
.split-copy .section-head { margin-bottom: 28px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; }
.feature-list h3 { margin-bottom: 4px; font-size: 1.08rem; }
.feature-list p { margin: 0; }

/* Testimonials */
.testimonial { padding: 32px; margin: 0; display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; color: #f59e0b; margin-bottom: 16px; }
.stars .icon { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 24px; flex: 1; }
.testimonial blockquote p { font-size: 1.02rem; color: #334155; margin: 0; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial figcaption strong { display: block; color: var(--primary); font-family: var(--font-h); }
.testimonial figcaption small { color: #64748b; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-h); flex-shrink: 0; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 0 26px; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary {
	list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
	font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; color: var(--primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--accent);
	display: flex; align-items: center; justify-content: center; font-size: 1.3rem; line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--accent); color: #fff; }
.faq-item p { padding-bottom: 22px; margin: 0; }

/* Posts */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.thumb-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--accent); background: linear-gradient(135deg, #e8effe, #fff1ea); }
.thumb-fallback .icon { width: 56px; height: 56px; }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-body p { flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: #64748b; margin-bottom: 10px; flex-wrap: wrap; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #94a3b8; }
.post-title { font-size: 1.2rem; }
.post-title a { color: var(--primary); }
.post-title a:hover { color: var(--accent); }

/* CTA */
.section-cta { padding: 90px 0; }
.cta-box {
	position: relative; overflow: hidden; text-align: center; color: #fff; padding: 80px 30px; border-radius: 32px;
	background:
		radial-gradient(600px 300px at 90% 0%, rgba(255, 107, 44, .4), transparent 60%),
		linear-gradient(135deg, var(--primary), #153a8f);
}
.cta-box h2 { color: #fff; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-box p { color: #d3dcf0; max-width: 620px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero / content ---------- */
.page-hero { background: linear-gradient(135deg, var(--primary), #153a8f); color: #fff; padding: 70px 0 60px; }
.header-transparent .page-hero { padding-top: 150px; }
.page-title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.breadcrumbs { font-size: .9rem; color: #c2cfec; }
.breadcrumbs a { color: #fff; }
.breadcrumbs .sep { opacity: .5; margin: 0 4px; }
.content-area { padding-top: 70px; padding-bottom: 90px; display: grid; grid-template-columns: 1fr; gap: 48px; }
.content-area.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
.content-narrow { max-width: 860px; margin: 0 auto; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { border-radius: var(--radius); width: 100%; }
.entry-content { font-size: 1.05rem; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content img { border-radius: 14px; }
.entry-content blockquote { border-left: 4px solid var(--accent); margin: 1.5em 0; padding: 8px 24px; background: var(--soft); border-radius: 0 14px 14px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--soft); color: var(--primary); }
.fullwidth-content > *:not(.alignfull):not(.alignwide) { max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.alignwide { max-width: calc(var(--container) + 200px); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: #64748b; }
.entry-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 100px; background: var(--soft); font-size: .85rem; }
.page-links { margin-top: 24px; }

.navigation.pagination, .post-navigation { margin-top: 48px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.post-navigation .nav-links { justify-content: space-between; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	border-radius: 12px; border: 1px solid var(--border); font-weight: 700; color: var(--primary);
}
.page-numbers.current, .page-numbers:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.sidebar .widget { background: var(--soft); border-radius: var(--radius); padding: 28px; margin-bottom: 28px; }
.widget-title, .footer-title { font-size: 1.1rem; margin-bottom: 18px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar li:last-child { border: 0; }

.search-form { display: flex; gap: 8px; max-width: 520px; margin: 20px 0; }
.center .search-form { margin-left: auto; margin-right: auto; }
.search-field { flex: 1; min-width: 0; padding: 13px 18px; border: 1px solid var(--border); border-radius: 12px; font: inherit; }
.search-submit { border: 0; background: var(--primary); color: #fff; border-radius: 12px; padding: 0 18px; cursor: pointer; }
.search-submit:hover { background: var(--accent); }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"], input[type="number"], textarea, select {
	width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; font: inherit; color: var(--primary); background: #fff;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 4px rgba(255, 107, 44, .15); }
button[type="submit"], input[type="submit"] {
	padding: 13px 28px; border: 0; border-radius: var(--btn-radius); background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; font-family: var(--font-h);
}
.track-form input[type="text"] { border: 0; box-shadow: none; padding: 10px 6px; }
.track-form button[type="submit"] { background: var(--primary); }

.comments-area { margin-top: 60px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-author img { border-radius: 50%; margin-right: 10px; vertical-align: middle; }

.error-404 { padding: 120px 0; }
.error-code { display: block; font-family: var(--font-h); font-weight: 800; font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: var(--accent); }

/* ---------- Footer ---------- */
.footer-cta { background: var(--soft); padding: 0; position: relative; z-index: 2; margin-top: 0; }
.footer-cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
	background: linear-gradient(135deg, var(--accent), #ff8f4f); color: #fff; padding: 44px 50px; border-radius: 28px;
	transform: translateY(50%); box-shadow: var(--shadow-lg);
}
.footer-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 6px; }
.footer-cta p { margin: 0; color: #fff4ee; }
.footer-cta .btn-accent { background: var(--primary); box-shadow: none; }
.footer-cta .btn-accent:hover { background: #fff; color: var(--primary); }
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.footer-cta + .site-footer { padding-top: 110px; }
.footer-cta { background: transparent; }
.footer-cta + .site-footer { margin-top: -1px; }
.footer-grid { display: grid; gap: 40px; padding-top: 70px; padding-bottom: 60px; }
.footer-cta + .site-footer .footer-grid { padding-top: 20px; }
.footer-grid.cols-4 { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
.footer-grid.cols-3 { grid-template-columns: 1.5fr 1fr 1fr; }
.footer-grid.cols-2 { grid-template-columns: 1.5fr 1fr; }
.site-footer .brand { color: #fff; }
.footer-brand { margin-bottom: 18px; }
.footer-title, .site-footer h3, .site-footer h4 { color: #fff; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--accent); }
.site-footer .menu, .site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .menu li { margin-bottom: 10px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-list .icon { color: var(--accent); margin-top: 3px; }
.footer-social { margin-top: 20px; }
.footer-newsletter { margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom-nav .menu { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom-nav .menu li { margin: 0; }

.back-to-top {
	position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; border: 0; z-index: 90;
	background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
	box-shadow: 0 10px 24px rgba(255, 107, 44, .4); transition: transform .2s;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; gap: 60px; }
	.hero-visual { min-height: 360px; max-width: 560px; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
	.step:not(:last-child)::after { display: none; }
	.split { grid-template-columns: 1fr; gap: 44px; }
	.content-area.has-sidebar { grid-template-columns: 1fr; }
	.footer-grid.cols-4, .footer-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; order: 3; }
	.header-actions .btn { display: none; }
	.header-actions { margin-left: auto; }
	.header-layout-centered .site-branding { flex: 0 0 auto; justify-content: flex-start; }
	.header-layout-centered .header-inner { flex-wrap: nowrap; justify-content: space-between; padding: 0 24px; }
	.main-nav {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; z-index: 200;
		padding: 90px 22px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow-lg);
	}
	.nav-open .main-nav { transform: none; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(7, 21, 56, .55); z-index: 150; }
	.nav-open .nav-toggle { position: relative; z-index: 210; }
	.nav-open .burger { background: transparent; }
	.nav-open .burger::before, .nav-open .burger::after { background: var(--primary) !important; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav a, .header-transparent .site-header:not(.is-stuck) .main-nav a { color: var(--primary); padding: 14px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
	.main-nav .sub-menu, .main-nav .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
	.nav-cta-mobile { display: inline-flex; margin-top: 22px; width: 100%; }
	.topbar-msg { display: none; }
	.topbar-inner { justify-content: center; }
	.topbar-social, .topbar-mail { display: none; }
	.admin-bar .main-nav { top: 46px; }
}

@media (max-width: 782px) {
	.admin-bar.header-sticky .site-header, .admin-bar.header-transparent.header-sticky .site-header.is-stuck { top: 46px; }
}

@media (max-width: 720px) {
	.section { padding: 70px 0; }
	.hero { padding: 60px 0 120px; }
	.header-transparent .hero { padding-top: 150px; }
	.grid-3, .post-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3)::before { display: none; }
	.steps { grid-template-columns: 1fr; }
	.hero-visual { display: none; }
	.track-form { flex-wrap: wrap; padding: 12px; }
	.track-form input { flex: 1 1 100%; order: 2; }
	.track-form .track-icon { display: none; }
	.track-form button { order: 3; width: 100%; }
	.footer-grid.cols-4, .footer-grid.cols-3, .footer-grid.cols-2 { grid-template-columns: 1fr; }
	.footer-cta-inner { padding: 32px 24px; }
	.cta-box { padding: 56px 22px; }
	.footer-bottom-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .site-footer, .footer-cta, .back-to-top { display: none; }
}
