/*
Theme Name: Salaam
Theme URI: https://www.aqntech.com/salaam/
Author: AQNTech
Description: A clean, hand-built, mobile-first classic WordPress theme for Salam Mediation — no page builder. Premium family-mediation design: coral brand accent, deep teal-ink for trust, Plus Jakarta Sans + Inter.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salaam
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--ink: #14314e;           /* corporate navy — dark bands, footer, trust */
	--ink-2: #0e2438;
	--coral: #e0574a;         /* deepened brand accent / CTA */
	--coral-dark: #c8432f;
	--coral-soft: #fbeeeb;
	--amber: #e0a52e;         /* rating stars */
	--heading: #16273c;       /* headings (navy-slate) */
	--text: #48535f;          /* body copy */
	--muted: #7c8894;
	--line: #e4e8ee;
	--bg: #ffffff;
	--soft: #f4f6f9;          /* alt section bg (cool) */
	--warm: #f5f7f9;          /* secondary section bg (cool) */
	--maxw: 1160px;
	--r-lg: 12px;
	--r: 8px;
	--r-sm: 6px;
	--sh-sm: 0 2px 10px rgba(20, 49, 78, .06);
	--sh: 0 12px 30px rgba(20, 49, 78, .09);
	--sh-lg: 0 24px 55px rgba(20, 49, 78, .13);
	--font-display: "Lora", Georgia, "Times New Roman", serif;
	--font-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--header-h: 64px;
}

/* ==========================================================================
   2. Base (mobile-first)
   ========================================================================== */
*, *::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: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--heading);
	line-height: 1.2;
	letter-spacing: -.005em;
	margin: 0 0 .55em;
	font-weight: 600;
	overflow-wrap: break-word;
}
h1 { font-size: 2.05rem; letter-spacing: -.02em; }
h2 { font-size: 1.7rem; letter-spacing: -.02em; }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
a { color: var(--coral-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coral); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
strong { color: var(--heading); }

blockquote {
	margin: 1.5em 0; padding: 1.1em 1.3em;
	border-left: 4px solid var(--coral); background: var(--coral-soft);
	color: var(--heading); font-style: italic; border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }

.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
	display: inline-block; font-family: var(--font-head); text-transform: uppercase;
	letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--coral-dark); margin: 0 0 14px;
}
.eyebrow--light { color: var(--coral); }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1;
	padding: 15px 26px; border-radius: 8px; border: 2px solid transparent; cursor: pointer;
	text-align: center; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn--cta { background: var(--coral); color: #fff; box-shadow: 0 12px 24px rgba(255, 111, 97, .32); }
.btn--cta:hover { background: var(--coral-dark); color: #fff; transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--heading); border-color: #d7dee0; }
.btn--ghost:hover { border-color: var(--coral); color: var(--coral-dark); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 1rem; }

/* ==========================================================================
   4. Topbar + Header
   ========================================================================== */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: center; align-items: center; min-height: 38px; gap: 16px; flex-wrap: wrap; text-align: center; }
.topbar__contact { display: flex; gap: 18px; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: #fff; }
.topbar__meta { display: none; color: rgba(255,255,255,.6); }
.topbar__meta .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #58d68d; margin-right: 5px; vertical-align: middle; }

.site-header { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 14px; }
.site-branding img, .custom-logo { max-height: 40px; width: auto; }
.site-branding .custom-logo-link { display: inline-block; line-height: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta-desktop { display: none; }

/* Hamburger */
.menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; margin-right: -8px;
	background: var(--coral-soft); border: 0; border-radius: 12px; cursor: pointer;
	position: relative; z-index: 1100;
}
.menu-toggle__box { display: block; width: 22px; height: 16px; position: relative; }
.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
	content: ""; position: absolute; left: 0; width: 22px; height: 2.5px; background: var(--coral-dark);
	border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle__bar { top: 7px; }
.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after { top: 7px; }
.menu-toggle.is-active .menu-toggle__bar { background: transparent; }
.menu-toggle.is-active .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Off-canvas nav (mobile), driven by body.nav-open */
.main-navigation {
	position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
	background: #fff; z-index: 1050;
	display: flex; flex-direction: column; align-items: stretch;
	padding: calc(var(--header-h) + 24px) 22px 32px;
	box-shadow: -16px 0 50px rgba(16, 49, 56, .18);
	transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
	overflow-y: auto; -webkit-overflow-scrolling: touch;
}
body.nav-open .main-navigation { transform: translateX(0); }

.nav-overlay {
	position: fixed; inset: 0; background: rgba(11, 38, 44, .5);
	opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: 800;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }

.nav-menu { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; width: 100%; }
.nav-menu li { position: relative; }
.nav-menu a {
	display: block; padding: 14px 4px; color: var(--heading); font-family: var(--font-head);
	font-weight: 600; font-size: 1.02rem; border-bottom: 1px solid var(--line);
}
.nav-menu a:hover { color: var(--coral-dark); }
.menu-item-has-children > a::after {
	content: "\25BE"; float: right; font-size: .7em; opacity: .5; margin-top: 5px; transition: transform .2s ease;
}
.menu-item-has-children.submenu-open > a::after { transform: rotate(180deg); }
.nav-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 6px 14px; display: none; }
.nav-menu li.submenu-open > .sub-menu { display: block; }
.nav-menu .sub-menu a { font-size: .96rem; font-weight: 500; opacity: .9; border-bottom: 1px solid var(--line); }

.header-cta { margin-top: 20px; }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; background: linear-gradient(180deg, var(--warm) 0%, #fff 100%); padding: 40px 0 44px; overflow: hidden; }
.hero::before {
	content: ""; position: absolute; top: -140px; right: -120px; width: 380px; height: 380px;
	background: radial-gradient(circle, rgba(20,49,78,.07) 0%, rgba(20,49,78,0) 70%); z-index: 0;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.hero__title { margin-bottom: 16px; font-size: 2.25rem; }
.hero__title .hl { color: var(--coral-dark); }
.hero__lead { font-size: 1.08rem; margin-bottom: 24px; max-width: 34em; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__cred { margin: 20px 0 0; font-size: .84rem; color: var(--muted); }
.hero__trust { display: flex; justify-content: center; }
.hero__rating {
	display: inline-flex; align-items: center; gap: 12px; text-align: left;
	background: #fff; border: 1px solid var(--line); border-radius: 8px;
	padding: 9px 20px; box-shadow: var(--sh-sm);
}
.hero__rating .stars { color: var(--amber); font-size: 1.05rem; letter-spacing: 1px; }
.hero__rating small { color: var(--muted); font-size: .8rem; display: block; }
.hero__rating strong { color: var(--heading); font-family: var(--font-head); }

.hero__media { position: relative; max-width: 460px; margin: 0 auto; }
.hero__media > img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; object-fit: cover; aspect-ratio: 5 / 5.2; }
.hero__float {
	position: absolute; left: -10px; bottom: 18px; background: #fff; border-radius: var(--r);
	box-shadow: var(--sh); padding: 12px 16px; display: flex; align-items: center; gap: 10px; max-width: 74%;
}
.hero__float .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(88,214,141,.16); color: #24a35a; display: grid; place-items: center; flex: none; }
.hero__float b { color: var(--heading); font-family: var(--font-head); font-size: .92rem; display: block; }
.hero__float span { font-size: .78rem; color: var(--muted); }

/* ==========================================================================
   6. Trust strip
   ========================================================================== */
.trust-strip { background: var(--ink); color: #fff; }
.trust-strip__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 26px 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ic { color: var(--coral); flex: none; }
.trust-item .ic svg { width: 26px; height: 26px; }
.trust-item b { display: block; font-family: var(--font-head); font-size: 1rem; color: #fff; line-height: 1.2; }
.trust-item span { font-size: .8rem; color: rgba(255,255,255,.6); }

/* ==========================================================================
   7. Sections
   ========================================================================== */
.section { padding: 52px 0; }
.section--soft { background: var(--soft); }
.section--warm { background: var(--warm); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.82); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section__head p { color: var(--text); margin: 0; font-size: 1.05rem; }
.section--ink .section__head p { color: rgba(255,255,255,.72); }

/* Empathy / lead-in */
.lead-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.lead-copy p { font-size: 1.06rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before {
	content: "\2713"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
	background: rgba(88,214,141,.16); color: #24a35a; font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}

/* How it works — steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: step; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px 26px; box-shadow: var(--sh-sm); }
.step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--coral-soft); color: var(--coral-dark); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.step-card p { margin: 0; font-size: .97rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.service-card__ic { width: 56px; height: 56px; border-radius: 15px; background: var(--coral-soft); color: var(--coral-dark); display: grid; place-items: center; margin-bottom: 16px; }
.service-card__ic svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.16rem; margin-bottom: .45em; }
.service-card p { font-size: .95rem; margin: 0 0 1em; }
.service-card .more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; }

/* Why choose — feature list with media */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.why-media img { border-radius: var(--r-lg); box-shadow: var(--sh); width: 100%; }
.feature-list { display: grid; gap: 18px; }
.feature-row { display: flex; gap: 15px; }
.feature-row .ic { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--coral-soft); color: var(--coral-dark); display: grid; place-items: center; }
.feature-row .ic svg { width: 24px; height: 24px; }
.feature-row h3 { font-size: 1.08rem; margin-bottom: .25em; }
.feature-row p { margin: 0; font-size: .95rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--sh-sm); }
.price-card--feature { border: 2px solid var(--coral); box-shadow: var(--sh); position: relative; }
.price-tag { font-family: var(--font-head); font-weight: 800; color: var(--heading); font-size: 2.4rem; line-height: 1; margin: 6px 0 4px; }
.price-tag span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card ul { list-style: none; margin: 18px 0 22px; padding: 0; }
.price-card li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .96rem; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: #24a35a; font-weight: 800; }
.price-badge { position: absolute; top: -13px; left: 28px; background: var(--coral); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 8px; }
.price-compare { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.price-compare h3 { color: #fff; }
.compare-rows { display: grid; gap: 14px; margin-top: 16px; }
.compare-row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.compare-row .lbl { color: rgba(255,255,255,.75); font-size: .95rem; }
.compare-row .val { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }
.compare-row .val.good { color: #58d68d; }
.compare-row .val.bad { color: #ff9a8f; text-decoration: line-through; text-decoration-thickness: 2px; }
.price-compare .note { font-size: .85rem; color: rgba(255,255,255,.6); margin: 14px 0 0; }

/* Testimonials */
.rating-badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 20px; box-shadow: var(--sh-sm); margin-bottom: 8px; }
.rating-badge .stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 1px; }
.rating-badge b { font-family: var(--font-head); color: var(--heading); }
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--sh-sm); }
.testi-card .stars { color: var(--amber); font-size: 1rem; letter-spacing: 1px; margin-bottom: 10px; }
.testi-card p { font-size: 1rem; color: var(--heading); margin: 0 0 16px; }
.testi-card .who { font-family: var(--font-head); font-weight: 700; color: var(--heading); }
.testi-card .who span { display: block; font-weight: 500; font-family: var(--font-body); font-size: .85rem; color: var(--muted); }

/* Carousels (reviews + topic articles) */
.carousel { position: relative; }
.carousel__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.carousel__title { margin: 0; font-size: 1.3rem; }
.carousel__nav { display: flex; align-items: center; gap: 8px; }
.carousel__viewall { font-family: var(--font-head); font-weight: 600; font-size: .86rem; white-space: nowrap; margin-right: 4px; }
.carousel__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--heading); font-size: 1.2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease; flex: none; }
.carousel__btn:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.carousel__btn[disabled] { opacity: .3; cursor: default; }
.carousel__btn[disabled]:hover { background: #fff; color: var(--heading); border-color: var(--line); }
.carousel__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 4px 2px 14px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 82%; scroll-snap-align: start; }

/* Article card */
.acard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.acard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.acard__thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); }
.acard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.acard:hover .acard__thumb img { transform: scale(1.04); }
.acard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.acard__tag { align-self: flex-start; font-family: var(--font-head); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--coral-dark); background: var(--coral-soft); padding: 4px 11px; border-radius: 8px; }
.acard h4 { margin: 0; font-size: 1.03rem; line-height: 1.32; }
.acard h4 a { color: var(--heading); }
.acard h4 a:hover { color: var(--coral-dark); }
.acard__date { color: var(--muted); font-size: .77rem; font-family: var(--font-head); margin-top: auto; }

.topic-carousel + .topic-carousel { margin-top: 42px; }

/* Consultation CTA */
.consult { background: var(--warm); }
.consult__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.consult__info h2 { margin-bottom: .4em; }
.consult__contact { list-style: none; margin: 22px 0 0; padding: 0; }
.consult__contact li { padding: 9px 0; border-bottom: 1px dashed #ddd6cf; display: flex; gap: 10px; }
.consult__contact span { min-width: 84px; font-family: var(--font-head); font-weight: 600; color: var(--heading); }
.consult-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh); }
.consult-form h3 { margin-top: 0; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.consult-form input, .consult-form textarea {
	width: 100%; padding: 13px 15px; border: 1px solid #e0e5e6; border-radius: var(--r-sm);
	font-family: inherit; font-size: 1rem; color: var(--heading); background: #fbfcfc;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.consult-form input:focus, .consult-form textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,111,97,.15); background: #fff; }
.consult-form .btn { width: 100%; margin-top: 4px; }
.form-notice { padding: 13px 16px; border-radius: var(--r-sm); margin-bottom: 16px; font-size: .95rem; }
.form-notice--ok { background: rgba(88,214,141,.14); color: #1e8f4e; border: 1px solid rgba(88,214,141,.4); }
.form-notice--err { background: #fdecec; color: var(--coral-dark); border: 1px solid #f6c9c9; }

/* Contact block (no form) */
.contact-block { text-align: center; }
.contact-block > p { max-width: 40em; margin-left: auto; margin-right: auto; }
.contact-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.contact-methods a {
	display: flex; flex-direction: column; gap: 4px; align-items: center;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	padding: 18px 30px; min-width: 210px; box-shadow: var(--sh-sm);
	font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--heading);
	transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.contact-methods a span { font-weight: 500; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-methods a:hover { border-color: var(--coral); color: var(--coral-dark); transform: translateY(-2px); }

/* ==========================================================================
   8. Page + post templates
   ========================================================================== */
.page-banner { background: linear-gradient(180deg, var(--warm) 0%, #fff 100%); padding: 40px 0; border-bottom: 1px solid var(--line); position: relative; }
.page-banner__title { margin: 0; }
.page-banner .breadcrumb { color: var(--muted); font-size: .86rem; margin-bottom: 8px; }
.page-banner .breadcrumb a { color: var(--coral-dark); }

.site-main { padding: 44px 0; }
.entry-content { font-size: 1.04rem; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--r-sm); margin: 1.2em 0; }
.entry-content a { text-decoration: underline; }
.entry-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 8px 10px; }
.entry-thumb { margin-bottom: 26px; }
.entry-thumb img { border-radius: var(--r); width: 100%; }
.post-meta { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.post-meta a { color: var(--coral-dark); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.post-nav a { font-family: var(--font-head); font-weight: 600; }

.post-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.post-card__thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--soft); display: block; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { font-size: 1.16rem; margin-bottom: .5em; }
.post-card__body h3 a { color: var(--heading); }
.post-card__body h3 a:hover { color: var(--coral-dark); }
.post-card .date { color: var(--muted); font-size: .78rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-head); }
.post-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--coral-dark); }

.pagination { margin-top: 44px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 10px 15px; margin: 3px; border-radius: 10px; border: 1px solid var(--line); color: var(--heading); font-weight: 600; font-family: var(--font-head); }
.pagination .page-numbers.current { background: var(--coral); color: #fff; border-color: var(--coral); }
.pagination a.page-numbers:hover { border-color: var(--coral); color: var(--coral-dark); }

.content-sidebar { display: grid; grid-template-columns: 1fr; gap: 40px; }
.widget { margin-bottom: 30px; }
.widget-title { font-size: 1.1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--coral-soft); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.7); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 46px 20px 34px; }
.site-footer h4, .site-footer .footer-title { color: #fff; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 16px; }
.footer-logo { max-height: 46px; margin-bottom: 16px; background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer-about p { font-size: .95rem; }
.footer-contact { list-style: none; padding: 0; margin: 16px 0 0; }
.footer-contact li { padding: 5px 0; font-size: .95rem; }
.footer-contact span { display: inline-block; width: 76px; color: rgba(255,255,255,.45); }
.footer-contact a { color: #fff; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { padding: 6px 0; }
.footer-menu a { color: rgba(255,255,255,.7); }
.footer-menu a:hover { color: var(--coral); }
.footer-membership-note { font-size: .88rem; margin-bottom: 14px; }
.footer-badges { display: flex; gap: 12px; }
.footer-badges img { height: 74px; width: auto; background: #fff; padding: 6px; border-radius: 10px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bottom-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
.copyright { margin: 0; font-size: .8rem; color: rgba(255,255,255,.5); }
.legal-links { margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.legal-links a { color: rgba(255,255,255,.7); font-size: .84rem; }
.legal-links a:hover { color: var(--coral); }

/* ==========================================================================
   10. Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
	.container { padding: 0 24px; }
	.topbar__meta { display: block; }
	.services-grid { grid-template-columns: 1fr 1fr; }
	.testi-grid { grid-template-columns: 1fr 1fr; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.hero__actions .btn { flex: 0 1 auto; }
	.carousel__track > * { flex-basis: 47%; }
	.trust-strip__grid { grid-template-columns: repeat(4, 1fr); }
	.site-footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
	body { font-size: 17px; }
	h1 { font-size: 2.6rem; }
	h2 { font-size: 2.1rem; }
	.section { padding: 72px 0; }
	.hero { padding: 60px 0 64px; }
	.hero__title { font-size: 3rem; }
	.site-main { padding: 56px 0; }
	.lead-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.pricing-grid { grid-template-columns: 1fr 1fr; }
	.why-grid { grid-template-columns: .9fr 1.1fr; gap: 44px; }
	.consult__grid { grid-template-columns: 1fr 1.05fr; gap: 44px; }
	.site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
	.consult-form { padding: 34px; }
}

@media (min-width: 992px) {
	:root { --header-h: 78px; }

	.menu-toggle { display: none; }
	.nav-overlay { display: none; }
	.header-cta-desktop { display: inline-flex; }
	.header-cta { display: none; }

	.site-branding img, .custom-logo { max-height: 52px; }

	.main-navigation { position: static; width: auto; transform: none; box-shadow: none; background: transparent; flex-direction: row; align-items: center; padding: 0; overflow: visible; }
	.nav-menu { flex-direction: row; align-items: center; gap: 2px; width: auto; }
	.nav-menu a { border-bottom: 0; padding: 10px 14px; font-size: .92rem; font-weight: 600; }
	.nav-menu > li > a { position: relative; }
	.nav-menu > li > a::after { content: none; }
	.menu-item-has-children > a { padding-right: 26px; }
	.menu-item-has-children > a::after { content: "\25BE"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); float: none; margin: 0; }
	.nav-menu > li > a:hover { color: var(--coral-dark); }

	.nav-menu .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 236px; background: #fff;
		border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--sh);
		padding: 8px; display: block; opacity: 0; visibility: hidden; transform: translateY(10px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
	.nav-menu .sub-menu a { padding: 10px 14px; border-radius: 8px; border-bottom: 0; }
	.nav-menu .sub-menu a:hover { background: var(--coral-soft); }

	.hero { padding: 86px 0 78px; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__content { max-width: 780px; }
	.lead-grid { grid-template-columns: 1.1fr .9fr; gap: 54px; }
	.services-grid { grid-template-columns: repeat(4, 1fr); }
	.testi-grid { grid-template-columns: repeat(3, 1fr); }
	.post-grid { grid-template-columns: repeat(3, 1fr); }
	.content-sidebar { grid-template-columns: 1fr 320px; gap: 46px; }
	.carousel__track > * { flex-basis: 320px; }
	.section { padding: 88px 0; }
	.section__head { margin-bottom: 48px; }
}

@media (min-width: 1200px) {
	.hero__title { font-size: 3.3rem; }
}

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