/*
Theme Name: Easy Move Experts 2026
Theme URI: https://easymoveexperts.com
Author: Easy Move Experts
Description: Fast, accessible, mobile-first lead generation theme for Easy Move Experts (Western Sydney removalist quotes). No page builder, no tracking, self-hosted font.
Version: 1.0.2
Requires at least: 6.5
Tested up to: 7.0
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: easymoveexperts
*/

/* ---------- Font (Poppins Bold, SIL Open Font License 1.1, self-hosted) ---------- */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/poppins-700.woff") format("woff");
}

/* ---------- Tokens ---------- */
:root {
	--ink: #111111;
	--red: #DC2626;
	--red-dark: #B91C1C;
	--red-tint: #FEF2F2;
	--red-on-dark: #F87171;
	--body: #374151;
	--muted: #4B5563;
	--muted-2: #525252;
	--line: #E5E5E5;
	--line-strong: #D4D4D4;
	--field: #8A8A8A;
	--bg: #F5F5F5;
	--white: #FFFFFF;
	--on-dark: #D4D4D4;
	--focus: #2563EB;
	--radius: 12px;
	--radius-lg: 14px;
	--wrap: 1180px;
	--head: "Poppins", "Segoe UI", system-ui, sans-serif;
	--text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--text);
	font-size: 1.0625rem;
	line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw + 0.6rem, 3.1rem); letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.1rem); }
h3 { font-size: 1.1rem; font-family: var(--text); letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 16px; }
.container { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .container { padding-left: 16px; padding-right: 16px; } }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 10px 22px; border-radius: 8px; border: 0;
	font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #333; color: var(--white); }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 54px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-logo { display: flex; align-items: center; min-height: 44px; }
.site-logo img { height: 50px; width: auto; display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav .nav-cta a { background: var(--red); color: var(--white); padding: 12px 18px; border-radius: 8px; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.site-nav .nav-cta a:hover { background: var(--red-dark); color: var(--white); }
.site-nav .nav-phone a { font-weight: 700; }
.menu-toggle {
	display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 8px;
	background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
@media (max-width: 1060px) {
	.site-logo img { height: 42px; }
	.header-inner { min-height: 68px; }
	.js .menu-toggle { display: inline-flex; }
	.js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(17,17,17,.08); }
	.js .site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
	.no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; padding: 0 0 12px; gap: 4px 16px; }
	.no-js .header-inner { flex-wrap: wrap; }
	.site-nav li a { display: flex; align-items: center; min-height: 48px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
	.site-nav .nav-cta a { justify-content: center; margin-top: 12px; border-bottom: 0; }
}

/* ---------- Hero (dark) ---------- */
.hero { background: var(--ink); color: var(--white); }
.hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 64px; padding-bottom: 72px; }
.hero-copy { flex: 999 1 460px; min-width: 0; }
.hero-form { flex: 1 1 360px; min-width: 0; }
.hero h1 { color: var(--white); }
.hero .lead { color: var(--on-dark); font-size: 1.15rem; max-width: 600px; }
.hero a:not(.btn) { color: var(--white); }
.hero .form-card a:not(.btn) { color: var(--red-dark); }
.eyebrow { margin: 0 0 14px; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red-dark); }
.hero .eyebrow, .dark .eyebrow { color: var(--red-on-dark); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 3px; color: var(--red); }
.hero .ticks { color: #E5E5E5; }
.hero .ticks svg { color: var(--red-on-dark); }
.hero--simple .hero-inner { display: block; padding-top: 48px; padding-bottom: 56px; }
.hero--simple .lead { margin-bottom: 28px; }
@media (max-width: 600px) {
	.hero-inner { padding-top: 32px; padding-bottom: 32px; gap: 28px; }
	.hero .lead { font-size: 1.05rem; }
	.hero-form { margin: 0 -4px; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .9rem; color: var(--muted-2); margin: 0 0 16px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: inherit; }
.hero .breadcrumbs { color: var(--on-dark); }

/* ---------- Sections and cards ---------- */
.section { padding-top: 64px; padding-bottom: 24px; }
.section:last-child { padding-bottom: 72px; }
.section-intro { color: var(--muted); margin: -8px 0 28px; max-width: 680px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 6px; }
.card p:last-child { margin-bottom: 0; }
.card--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card--dark p, .card--dark li { color: #E5E5E5; }
.card--dark a:not(.btn) { color: var(--white); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--tight { gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.step-num { font-family: var(--head); font-weight: 700; font-size: 2.2rem; color: var(--red); line-height: 1; display: block; margin-bottom: 12px; }
.steps { list-style: none; padding: 0; margin: 0; }
.link-card {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	background: var(--white); border: 1px solid var(--line); border-radius: 10px;
	padding: 18px 22px; min-height: 56px; text-decoration: none; color: var(--ink); font-weight: 600;
}
.link-card:hover { border-color: var(--red); color: var(--ink); }
.link-card svg { color: var(--red); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
	background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px;
	color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.chips a:hover { border-color: var(--red); }
.also-covering { color: var(--muted); margin-top: 20px; font-size: .95rem; }
.feature-box { display: flex; flex-wrap: wrap; gap: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.feature-box > div { flex: 1 1 300px; min-width: 0; }
.feature-box > ul { flex: 2 1 420px; min-width: 0; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-box strong { display: block; margin-bottom: 4px; }
.feature-box span { color: var(--muted); }
.tint-band { background: var(--red-tint); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.tint-band .eyebrow { color: var(--red-dark); }
.tint-band h2 { margin-bottom: 10px; }
.tint-band p { color: var(--body); margin: 0; }
.tint-band > div { flex: 999 1 420px; min-width: 0; }
.cta-band { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--on-dark); margin: 0; }
.cta-band > div { flex: 999 1 420px; min-width: 0; }
@media (max-width: 600px) {
	.section { padding-top: 44px; }
	.feature-box, .tint-band, .cta-band { padding: 26px 22px; }
	.cta-band .btn, .tint-band .btn { width: 100%; }
}

/* ---------- Two-column page layout ---------- */
.layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 56px; padding-bottom: 24px; }
.layout-main { flex: 999 1 600px; min-width: 0; }
.layout-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.layout-main > section { margin-bottom: 48px; }
.layout-main > section:last-child { margin-bottom: 0; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: block; padding: 8px 0; }
.page-head { padding-top: 48px; }
.page-head .lead { color: var(--muted); font-size: 1.1rem; max-width: 680px; }
@media (max-width: 600px) { .layout { padding-top: 36px; gap: 32px; } .page-head { padding-top: 32px; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 460px; }
.table-wrap caption { text-align: left; padding: 16px 20px 4px; font-weight: 700; }
.table-wrap th, .table-wrap td { padding: 12px 20px; text-align: left; vertical-align: top; }
.table-wrap thead tr { border-bottom: 2px solid var(--ink); }
.table-wrap tbody tr + tr { border-top: 1px solid var(--line); }
.table-wrap td:last-child { font-weight: 700; white-space: nowrap; }
.table-note { margin: 0; padding: 12px 20px 16px; font-size: .9rem; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; }
.faq summary { font-weight: 700; cursor: pointer; padding: 18px 0; min-height: 44px; list-style-position: outside; }
.faq details[open] summary { padding-bottom: 6px; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; margin-top: 3px; color: var(--red); }
.num-list { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--body); }
.num-list strong { color: var(--ink); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.form-card h2 { font-size: 1.45rem; margin: 0; }
.form-card .form-sub { margin: -8px 0 0; color: var(--muted); font-size: .95rem; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--muted-2); font-size: .9rem; }
.field .optional { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--field); border-radius: 8px;
	background: var(--white); color: var(--ink); font-size: 16px; font-weight: 400;
}
.field textarea { min-height: 96px; resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border: 2px solid var(--red-dark); }
.field-error { color: var(--red-dark); font-weight: 600; font-size: .9rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.5; background: var(--bg); padding: 14px; border-radius: 10px; }
.consent input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--red); }
.consent.has-error { outline: 2px solid var(--red-dark); }
fieldset.group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
fieldset.group legend { font-family: var(--head); font-weight: 700; font-size: 1.2rem; padding: 0; margin-bottom: 14px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 6px; }
.checkbox-grid label { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 500; }
.checkbox-grid input { width: 24px; height: 24px; margin: 0; accent-color: var(--red); flex: none; }
.form-errors { border: 2px solid var(--red-dark); background: var(--red-tint); border-radius: 10px; padding: 14px 18px; }
.form-errors h2 { font-size: 1.05rem; font-family: var(--text); margin: 0 0 6px; }
.form-errors ul { margin: 0; padding-left: 20px; }
.form-errors a { color: var(--red-dark); font-weight: 600; }
.eme-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.hero .form-card { border: 0; }

/* ---------- Pricing ---------- */
.price-card .price { font-family: var(--head); font-weight: 700; font-size: 2.4rem; line-height: 1; margin: 12px 0 0; }
.price-card .price span { font-family: var(--text); font-weight: 500; font-size: 1rem; color: var(--muted); }
.price-card--featured { border: 2px solid var(--red); padding: 23px; }

/* ---------- Prose (legal pages, blog) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--body); line-height: 1.7; }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius); }
.summary-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 32px; }
.summary-box h2 { font-size: 1.15rem; margin: 0 0 8px; }
.summary-box p { margin: 0; }
.updated { color: var(--muted-2); font-size: .95rem; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; font-size: .95rem; }
.toc h2 { font-size: 1.05rem; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.post-card h2 { font-size: 1.25rem; margin: 0; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--red); }
.post-meta { color: var(--muted-2); font-size: .9rem; }
.pagination { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: .95rem; margin-top: 72px; }
.site-footer a { color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 48px; padding-bottom: 40px; }
.footer-brand { flex: 1 1 280px; min-width: 0; }
.footer-brand img { height: 52px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 6px; }
.footer-nav { flex: 1 1 420px; min-width: 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-legal { border-top: 1px solid #2A2A2A; padding-top: 18px; padding-bottom: 24px; font-size: .85rem; color: #A3A3A3; }
.footer-legal p { margin: 0; }
.site-main + .site-footer, .no-gap + .site-footer { margin-top: 0; }

/* ---------- Sticky mobile call to action ---------- */
.sticky-cta { display: none; }
@media (max-width: 900px) {
	.has-sticky-cta .sticky-cta {
		display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
		background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -2px 8px rgba(17,17,17,.08);
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	}
	.has-sticky-cta .sticky-cta .btn { flex: 1; min-height: 50px; }
	.has-sticky-cta { padding-bottom: 76px; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .sticky-cta, .hero-form, .cta-band { display: none !important; }
	body { background: #fff; }
}
