:root {
	--red: #b11e24;
	--red-dark: #8c161b;
	--red-soft: #fdecec;
	--ink: #14171f;
	--ink-2: #1e232e;
	--text: #2b303b;
	--muted: #6b7280;
	--line: #e6e8ec;
	--bg: #ffffff;
	--bg-soft: #f6f7f9;
	--wa: #1faa53;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(20, 23, 31, .08);
	--shadow-lg: 0 24px 60px rgba(20, 23, 31, .18);
	--font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.85;
	color: var(--text);
	background: var(--bg);
	direction: rtl;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); }
.muted { color: var(--muted); }
.skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; }

.ico { width: 1.2em; height: 1.2em; flex: none; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .75em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
	font-weight: 700; line-height: 1.2; white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(177, 30, 36, .35); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(31, 170, 83, .3); }
.btn-wa:hover { background: #18914a; color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { color: var(--red-dark); }
.btn-sm { padding: .55em 1.1em; font-size: 15px; }
.btn-lg { padding: .9em 1.7em; font-size: 18px; }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: var(--ink); color: #cfd3db; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar-note { display: inline-flex; align-items: center; gap: 6px; }
.topbar-phones { display: flex; gap: 16px; }
.topbar a { color: #fff; font-weight: 700; direction: ltr; }
.topbar a:hover { color: #ffb3b5; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s ease;
}
.scrolled .site-header { box-shadow: 0 6px 24px rgba(20, 23, 31, .08); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 210px; height: auto; }
.main-nav { margin-inline-start: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: block; padding: 10px 14px; border-radius: 10px;
	color: var(--ink); font-weight: 700; font-size: 16px;
}
.main-nav .menu > li > a:hover,
.main-nav .current-menu-item > a { color: var(--red); background: var(--red-soft); }
.main-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-start: 8px;
	border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(-45deg);
}
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: 100%; inset-inline-start: 0; min-width: 280px;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-weight: 600; font-size: 15px; }
.main-nav .sub-menu a:hover { background: var(--bg-soft); color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
	display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
	background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .ico-close { display: none; }
.nav-open .nav-toggle .ico-menu { display: none; }
.nav-open .nav-toggle .ico-close { display: block; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(270deg, rgba(14, 16, 22, .94) 0%, rgba(14, 16, 22, .82) 45%, rgba(14, 16, 22, .55) 100%),
		radial-gradient(circle at 85% 20%, rgba(177, 30, 36, .45), transparent 55%);
}
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding: 72px 0 88px; }
.pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
	background: rgba(177, 30, 36, .9); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; line-height: 1.3; }
.hero h1 span { color: #ff6b70; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #e6e8ee; max-width: 620px; }
.hero .lead strong { color: #fff; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: #dfe2e8; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ico { color: #4ade80; }

.quote-card {
	background: #fff; color: var(--text); border-radius: 20px; padding: 28px;
	box-shadow: var(--shadow-lg); border-top: 5px solid var(--red);
}
.quote-card h2 { font-size: 23px; margin-bottom: 2px; }
.quote-card .muted { font-size: 15px; margin-bottom: 16px; }
.quote-card label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.quote-card input,
.quote-card select {
	display: block; width: 100%; margin-top: 6px; padding: 11px 14px;
	border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: var(--ink);
	transition: border-color .15s ease, background .15s ease;
}
.quote-card input:focus,
.quote-card select:focus { outline: none; border-color: var(--red); background: #fff; }
.quote-card .invalid { border-color: var(--red); background: var(--red-soft); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { text-align: center; margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.form-note a { font-weight: 800; direction: ltr; display: inline-block; }

/* Stats */
.stats { background: var(--red); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-in > div { display: flex; flex-direction: column; align-items: center; padding: 22px 10px; text-align: center; }
.stats-in > div + div { border-inline-start: 1px solid rgba(255, 255, 255, .2); }
.stats .ico { width: 28px; height: 28px; opacity: .85; margin-bottom: 4px; }
.stats strong { font-size: 30px; font-weight: 900; line-height: 1.2; }
.stats span { font-size: 15px; opacity: .9; }

/* Sections */
.section { padding: 84px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; }
.sec-head p { color: var(--muted); font-size: 18px; }
.kicker {
	display: inline-block; color: var(--red); font-weight: 800; font-size: 15px; letter-spacing: .02em;
	padding: 4px 14px; border-radius: 999px; background: var(--red-soft); margin-bottom: 12px;
}

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
	position: relative; display: block; padding: 30px 26px; border-radius: 18px;
	background: #fff; border: 1px solid var(--line); color: var(--text);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	overflow: hidden;
}
.card::after {
	content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 100%; height: 4px;
	background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.card:hover::after { transform: scaleX(1); }
.card-ico {
	display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px;
	border-radius: 16px; background: var(--red-soft); color: var(--red); margin-bottom: 16px;
}
.card-ico .ico { width: 30px; height: 30px; }
.card h3 { font-size: 21px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.more { display: inline-flex; align-items: center; gap: 4px; color: var(--red); font-weight: 700; font-size: 15px; }
.more .ico { width: 16px; height: 16px; }

/* Why */
.why { background: var(--bg-soft); }
.why-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-media { position: relative; }
.why-media img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.why-media::before {
	content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 22px;
	border: 3px solid var(--red); z-index: -1;
}
.why-media { isolation: isolate; }
.why-text h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; }
.why-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list > li > .ico {
	width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: #fff; color: var(--red);
	box-shadow: var(--shadow);
}
.why-list h3 { font-size: 19px; margin-bottom: 2px; }
.why-list p { margin: 0; color: var(--muted); font-size: 16px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; text-align: center; padding: 30px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.steps span {
	display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%;
	background: var(--ink); color: #fff; font-size: 22px; font-weight: 900; margin-bottom: 12px;
	box-shadow: 0 0 0 6px var(--red-soft);
}
.steps li:nth-child(odd) span { background: var(--red); }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* Areas */
.areas { background: var(--ink); color: #fff; }
.areas .sec-head h2 { color: #fff; }
.areas .kicker { background: rgba(255, 255, 255, .08); color: #ff8a8e; }
.area-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.area-tags a {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
	background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 700;
	transition: background .15s ease, transform .15s ease;
}
.area-tags a:hover { background: var(--red); transform: translateY(-2px); color: #fff; }
.area-tags .ico { color: #ff8a8e; }
.area-tags a:hover .ico { color: #fff; }

/* About (front page content) */
.about-box { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.about-entry { padding: 36px 36px 80px; }
.about-entry h3 { font-size: 18px; font-weight: 600; line-height: 1.9; color: var(--text); }
.about-box.is-collapsed .about-entry { max-height: 560px; overflow: hidden; }
.about-box.is-collapsed::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 200px; border-radius: 0 0 20px 20px; pointer-events: none;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 75%);
}
.about-more { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; }
.about-more:hover { transform: translateX(-50%) translateY(-2px); }

/* Posts */
.blog-sec, .related { background: var(--bg-soft); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
	display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
	border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-img { display: block; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #c9ccd3; }
.post-card-ph .ico { width: 64px; height: 64px; }
.post-card-body { padding: 20px 22px 24px; }
.post-card-cat { display: inline-block; font-size: 13px; font-weight: 800; color: var(--red); margin-bottom: 6px; }
.post-card h3 { font-size: 19px; line-height: 1.5; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--red); }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
	list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 18px; color: var(--ink);
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--red-soft); color: var(--red);
	display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.faq details[open] summary::after { content: "−"; background: var(--red); color: #fff; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 4px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-white { direction: ltr; }

/* Footer */
.site-footer { background: var(--ink); color: #b9bec9; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.site-footer h3 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #b9bec9; }
.site-footer a:hover { color: #fff; }
.footer-about img { width: 200px; margin-bottom: 14px; }
.footer-phones a { display: inline-flex; align-items: center; gap: 8px; direction: ltr; font-weight: 700; color: #fff; }
.footer-phones .ico { color: #ff8a8e; width: 18px; height: 18px; }
.social {
	display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center;
	background: var(--ink-2); color: #fff !important;
}
.social:hover { background: #1877f2; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.footer-menu { display: flex !important; gap: 16px !important; }

/* Floating buttons */
.float-btns { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btns a {
	width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; box-shadow: 0 10px 25px rgba(0, 0, 0, .25); transition: transform .15s ease;
}
.float-btns a:hover { transform: scale(1.08); color: #fff; }
.float-btns .ico { width: 28px; height: 28px; }
.float-wa { background: var(--wa); }
.float-call { background: var(--red); }

/* Call buttons: pulsing waves + ringing phone icon */
.float-call,
a.btn-red[href^="tel:"] { position: relative; animation: ring 1.8s ease-out infinite; }
.float-call::before,
.float-call::after,
a.btn-red[href^="tel:"]::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	border: 2px solid var(--red); animation: wave 1.8s ease-out infinite;
}
.float-call::after { animation-delay: .9s; }
.float-call .ico,
a.btn-red[href^="tel:"] .ico { animation: phone-shake 1.8s ease-in-out infinite; transform-origin: 50% 60%; }
.float-call:hover,
a.btn-red[href^="tel:"]:hover { animation-play-state: paused; }
@keyframes ring {
	0% { box-shadow: 0 0 0 0 rgba(177, 30, 36, .6); }
	70% { box-shadow: 0 0 0 18px rgba(177, 30, 36, 0); }
	100% { box-shadow: 0 0 0 0 rgba(177, 30, 36, 0); }
}
@keyframes wave {
	0% { transform: scale(1); opacity: .8; }
	100% { transform: scale(1.6); opacity: 0; }
}
a.btn-red[href^="tel:"]::before { animation-name: wave-btn; }
@keyframes wave-btn {
	0% { transform: scale(1); opacity: .7; }
	100% { transform: scale(1.12, 1.45); opacity: 0; }
}
@keyframes phone-shake {
	0%, 50%, 100% { transform: rotate(0); }
	5%, 15%, 25%, 35% { transform: rotate(-18deg); }
	10%, 20%, 30%, 40% { transform: rotate(18deg); }
}

/* Inner pages */
.page-hero { background: linear-gradient(135deg, var(--ink) 0%, #2a1416 100%); color: #fff; padding: 46px 0 50px; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; margin: 6px 0 0; }
.page-hero .meta { color: #b9bec9; font-size: 15px; margin-top: 8px; }
.page-hero-desc { color: #cfd3db; margin-top: 10px; }
.crumbs { font-size: 14px; color: #b9bec9; }
.crumbs a { color: #ff9a9e; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #b9bec9; }
.crumbs .aioseo-breadcrumb-separator { margin: 0 6px; }

.single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 48px 0 70px; align-items: start; }
.page-body { padding: 48px 0 70px; }
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { border-radius: 18px; width: 100%; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.widget { background: var(--bg-soft); border-radius: 16px; padding: 22px; }
.widget-title { font-size: 18px; }
.widget ul { margin: 0; padding-inline-start: 18px; }

/* Post content typography */
.entry { font-size: 18px; color: #2f3440; overflow-wrap: anywhere; }
.entry h2 { font-size: 28px; margin: 1.6em 0 .6em; padding-inline-start: 14px; border-inline-start: 5px solid var(--red); }
.entry h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.entry h4 { font-size: 19px; margin: 1.2em 0 .5em; }
.entry > :first-child { margin-top: 0; }
.entry a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.entry ul, .entry ol { padding-inline-start: 1.4em; margin: 0 0 1.2em; }
.entry li { margin-bottom: .4em; }
.entry img { border-radius: 12px; margin-inline: auto; }
.entry figure, .entry .wp-caption { max-width: 100%; margin: 1.6em auto; }
.entry .wp-caption-text, .entry figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry .aligncenter { margin-inline: auto; }
.entry .alignright { float: right; margin: .4em 0 1em 1.4em; }
.entry .alignleft { float: left; margin: .4em 1.4em 1em 0; }
.entry blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--red-soft); border-radius: 12px; border-inline-start: 4px solid var(--red); }
.entry table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; }
.entry th { background: var(--bg-soft); }
.entry iframe { max-width: 100%; }
.entry .btn, .entry a.btn { text-decoration: none; background: var(--red); color: #fff; }
.entry::after { content: ""; display: table; clear: both; }
.entry a[href^="tel:"] { direction: ltr; display: inline-block; }

/* Easy TOC */
.entry #ez-toc-container { border-radius: 14px; border-color: var(--line); background: var(--bg-soft); padding: 16px 20px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tags a { padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 14px; }
.tags a:hover { background: var(--red); color: #fff; }

.cta-box {
	margin-top: 36px; padding: 30px; border-radius: 20px; color: #fff;
	background: radial-gradient(circle at 10% 0%, rgba(177, 30, 36, .55), transparent 55%), var(--ink);
}
.cta-box h3 { color: #fff; font-size: 23px; }
.cta-box p { color: #cfd3db; }
.cta-box-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-box .btn-red { direction: ltr; }
.cta-box-compact { margin-top: 0; padding: 24px; }
.cta-box-compact h3 { font-size: 20px; }
.cta-box-compact .btn { width: 100%; }

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

.notfound { text-align: center; }
.nf-code { display: block; font-size: 120px; font-weight: 900; color: var(--red); line-height: 1; }
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 20px auto; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; }
.search-form .search-submit { padding: 12px 22px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }
.empty { text-align: center; padding: 40px 0; }

.comments-wrap { padding-bottom: 60px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; }
.comment-form .submit { padding: 12px 24px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }

/* Responsive */
@media (max-width: 1100px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-header { backdrop-filter: none; background: #fff; }
	.main-nav {
		position: fixed; inset: 0 0 0 auto; top: 0; width: min(340px, 86vw); height: 100vh; height: 100dvh;
		background: #fff; box-shadow: var(--shadow-lg); padding: 90px 16px 24px; overflow-y: auto;
		transform: translateX(100%); transition: transform .25s ease; z-index: 40; margin: 0;
	}
	.nav-open .main-nav { transform: none; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 30; }
	.header-cta { margin-inline-start: auto; position: relative; z-index: 45; }
	.main-nav .menu { flex-direction: column; gap: 2px; }
	.main-nav .menu a { padding: 12px 14px; font-size: 17px; }
	.main-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		min-width: 0; padding: 0 12px 0 0; display: none; background: transparent;
	}
	.main-nav .sub-open > .sub-menu { display: block; }
	.main-nav li:hover > .sub-menu { display: none; }
	.main-nav .sub-open:hover > .sub-menu { display: block; }

	.hero-in { grid-template-columns: 1fr; padding: 48px 0 56px; gap: 32px; }
	.why-in { grid-template-columns: 1fr; gap: 40px; }
	.why-media::before { inset: 14px -14px -14px 14px; }
	.cards, .posts-grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.single-grid { grid-template-columns: 1fr; }
	.sidebar { position: static; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar-note { display: none; }
	.topbar-in { justify-content: center; }
	.header-in { min-height: 64px; gap: 12px; }
	.brand img { width: 160px; }
	.header-cta .btn span { display: none; }
	.header-cta .btn { width: 44px; height: 44px; padding: 0; }
	.section { padding: 60px 0; }
	.sec-head { margin-bottom: 30px; }
	.hero-btns .btn { width: 100%; }
	.quote-card { padding: 22px 18px; }
	.row2 { grid-template-columns: 1fr; gap: 0; }
	.stats-in { grid-template-columns: 1fr 1fr; }
	.stats-in > div:nth-child(3) { border-inline-start: 0; }
	.stats-in > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .2); }
	.cards, .posts-grid, .steps { grid-template-columns: 1fr; }
	.about-entry { padding: 22px 18px 80px; }
	.entry { font-size: 17px; }
	.entry h2 { font-size: 23px; }
	.entry .alignright, .entry .alignleft { float: none; margin: 1em auto; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
	.cta-band-in { text-align: center; justify-content: center; }
	.cta-band-btns { justify-content: center; width: 100%; }
	.float-btns { inset-inline-end: 12px; bottom: 12px; }
	.float-btns a { width: 52px; height: 52px; }
}

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