/* =========================================================================
   Carevia — Community Care & Support Centre
   Brand-driven, fully responsive stylesheet.
   ========================================================================= */

:root {
	--navy:        #173a5e;
	--navy-dark:   #102b46;
	--teal:        #169b8e;
	--teal-dark:   #0f7b71;
	--green:       #7cb342;
	--green-dark:  #689a32;
	--blue:        #2e93d1;
	--orange:      #f5921e;
	--coral:       #ea4f63;

	--ink:         #2a3b4c;
	--muted:       #5d6b78;
	--line:        #e4e9ee;
	--bg-soft:     #f4f8f6;
	--bg-tint:     #eef4f9;
	--white:       #ffffff;

	--shadow-sm:   0 4px 14px rgba(23, 58, 94, .08);
	--shadow-md:   0 14px 38px rgba(23, 58, 94, .12);
	--shadow-lg:   0 26px 60px rgba(23, 58, 94, .18);

	--radius:      14px;
	--radius-lg:   22px;
	--container:   1180px;
	--ease:        .3s cubic-bezier(.4, 0, .2, 1);

	--ff-head: "Poppins", "Segoe UI", sans-serif;
	--ff-body: "Open Sans", "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--ff-body);
	color: var(--ink);
	line-height: 1.7;
	background: var(--white);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
	font-family: var(--ff-head);
	color: var(--navy);
	line-height: 1.25;
	font-weight: 700;
}

p { color: var(--muted); }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--navy); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 15px;
	padding: 14px 30px;
	border-radius: 50px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
	text-align: center;
	line-height: 1.2;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(245, 146, 30, .35); }
.btn-primary:hover { background: #e07f0c; color: #fff; }
.btn-secondary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(22, 155, 142, .32); }
.btn-secondary:hover { background: var(--teal-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(124, 179, 66, .32); }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-soft); color: var(--navy); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 17px 38px; font-size: 16px; }

/* ---------- Top bar ---------- */
.topbar {
	background: var(--navy);
	color: #d6e2ee;
	font-size: 13.5px;
}
.topbar a { color: #d6e2ee; }
.topbar a:hover { color: var(--orange); }
.topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 44px;
	gap: 18px;
	flex-wrap: wrap;
}
.topbar-info {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}
.topbar-info .ico { color: var(--green); margin-right: 5px; }
.topbar-tag {
	font-family: var(--ff-head);
	font-weight: 600;
	color: var(--green);
	letter-spacing: .04em;
	font-size: 13px;
}

/* ---------- Header ---------- */
.site-header {
	background: #fff;
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 0;
	z-index: 200;
	transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 86px;
	gap: 20px;
}
.site-branding .brand img,
.site-branding .custom-logo-link img {
	height: 60px;
	width: auto;
}
.main-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}
.nav-menu {
	display: flex;
	gap: 6px;
	align-items: center;
}
.nav-menu li { position: relative; }
.nav-menu a {
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 15.5px;
	color: var(--navy);
	padding: 12px 14px;
	display: block;
	border-radius: 8px;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
	color: var(--teal);
	background: var(--bg-soft);
}
/* Sub-menus */
.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	min-width: 210px;
	box-shadow: var(--shadow-md);
	border-radius: 10px;
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--ease);
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}
.nav-toggle span {
	width: 26px; height: 3px;
	background: var(--navy);
	border-radius: 3px;
	transition: var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Section helpers ---------- */
.section { padding: 92px 0; }
.section-sm { padding: 62px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-navy { background: var(--navy); }

.section-head {
	max-width: 680px;
	margin: 0 auto 56px;
	text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--ff-head);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--teal);
	background: rgba(22, 155, 142, .1);
	padding: 7px 16px;
	border-radius: 50px;
	margin-bottom: 16px;
}
.section-title {
	font-size: clamp(28px, 4vw, 40px);
	margin-bottom: 14px;
}
.section-navy .section-title,
.section-navy p { color: #fff; }
.section-navy p { color: #c4d3e2; }
.lead { font-size: 17px; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background:
		linear-gradient(120deg, rgba(16,43,70,.92) 0%, rgba(22,155,142,.82) 100%),
		url(../images/food-distribution.jpg) center/cover no-repeat;
	color: #fff;
	padding: 120px 0 130px;
	overflow: hidden;
}
.hero::after {
	content: "";
	position: absolute;
	bottom: -1px; left: 0; right: 0;
	height: 90px;
	background: #fff;
	clip-path: ellipse(75% 100% at 50% 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.hero h1 {
	color: #fff;
	font-size: clamp(34px, 5.4vw, 58px);
	line-height: 1.12;
	margin-bottom: 20px;
}
.hero h1 .hl { color: var(--orange); }
.hero p { color: #e3ecf3; font-size: 18px; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Page banner ---------- */
.page-banner {
	position: relative;
	background:
		linear-gradient(120deg, rgba(16,43,70,.93) 0%, rgba(22,155,142,.85) 100%),
		url(../images/outreach-event.jpg) center/cover no-repeat;
	color: #fff;
	padding: 84px 0;
	text-align: center;
}
.page-banner h1 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 12px; }
.breadcrumbs { font-size: 14px; color: #cdd9e4; }
.breadcrumbs a { color: var(--orange); }
.breadcrumbs span { margin: 0 8px; opacity: .6; }

/* ---------- Stats ---------- */
.stats-band {
	margin-top: -70px;
	position: relative;
	z-index: 5;
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.stat {
	padding: 36px 24px;
	text-align: center;
	border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-num {
	font-family: var(--ff-head);
	font-weight: 800;
	font-size: 42px;
	color: var(--teal);
	line-height: 1;
}
.stat:nth-child(2) .stat-num { color: var(--orange); }
.stat:nth-child(3) .stat-num { color: var(--green); }
.stat:nth-child(4) .stat-num { color: var(--blue); }
.stat-label {
	font-family: var(--ff-head);
	font-weight: 600;
	color: var(--navy);
	margin-top: 8px;
	font-size: 15px;
}

/* ---------- About / split media ---------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	width: 100%;
	object-fit: cover;
}
.split-media .img-tall { aspect-ratio: 4 / 5; }
.split-media .img-wide { aspect-ratio: 4 / 3; }
.media-badge {
	position: absolute;
	bottom: -26px;
	left: -26px;
	background: var(--orange);
	color: #fff;
	border-radius: var(--radius);
	padding: 22px 26px;
	box-shadow: var(--shadow-md);
	max-width: 230px;
}
.media-badge strong {
	font-family: var(--ff-head);
	font-size: 30px;
	display: block;
	line-height: 1;
}
.media-badge span { font-size: 13.5px; }

.check-list li {
	position: relative;
	padding-left: 38px;
	margin-bottom: 14px;
	color: var(--ink);
	font-weight: 500;
}
.check-list li::before {
	content: "\2714";
	position: absolute;
	left: 0; top: 1px;
	width: 24px; height: 24px;
	background: var(--green);
	color: #fff;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

/* ---------- Service cards ---------- */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }
.service-card {
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--ease), box-shadow var(--ease);
	border: 1px solid var(--line);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card .card-media {
	height: 210px;
	overflow: hidden;
}
.service-card .card-media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.service-card:hover .card-media img { transform: scale(1.07); }
.service-card .card-body { padding: 30px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.card-icon {
	width: 60px; height: 60px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #fff;
	margin: -56px 0 18px;
	position: relative;
	z-index: 2;
	box-shadow: var(--shadow-sm);
}
.ic-orange { background: var(--orange); }
.ic-green  { background: var(--green); }
.ic-blue   { background: var(--blue); }
.ic-teal   { background: var(--teal); }
.ic-coral  { background: var(--coral); }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { margin-bottom: 16px; }
.service-card .card-link {
	margin-top: auto;
	font-family: var(--ff-head);
	font-weight: 600;
	color: var(--teal);
	display: inline-flex;
	gap: 6px;
}
.service-card .card-link:hover { gap: 12px; }

/* ---------- Feature list (no media) ---------- */
.feature {
	background: #fff;
	border-radius: var(--radius);
	padding: 34px 30px;
	box-shadow: var(--shadow-sm);
	border-top: 4px solid var(--teal);
	height: 100%;
}
.feature:nth-child(2) { border-top-color: var(--orange); }
.feature:nth-child(3) { border-top-color: var(--green); }
.feature .card-icon { margin: 0 0 18px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }

/* ---------- Purpose / values ---------- */
.purpose-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.purpose-item {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--radius);
	padding: 32px 28px;
}
.purpose-item .num {
	font-family: var(--ff-head);
	font-weight: 800;
	font-size: 20px;
	width: 48px; height: 48px;
	border-radius: 12px;
	background: var(--orange);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.purpose-item:nth-child(2) .num { background: var(--green); }
.purpose-item:nth-child(3) .num { background: var(--blue); }
.purpose-item h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.purpose-item p { color: #c4d3e2; }

/* ---------- Get involved ---------- */
.involve-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.involve-card {
	text-align: center;
	padding: 40px 28px;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: transform var(--ease);
}
.involve-card:hover { transform: translateY(-6px); }
.involve-card .ring {
	width: 78px; height: 78px;
	margin: 0 auto 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	background: rgba(22,155,142,.12);
	color: var(--teal);
}
.involve-card:nth-child(2) .ring { background: rgba(245,146,30,.14); color: var(--orange); }
.involve-card:nth-child(3) .ring { background: rgba(124,179,66,.16); color: var(--green-dark); }
.involve-card h3 { font-size: 20px; margin-bottom: 10px; }

/* ---------- Steps ---------- */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}
.step { text-align: center; position: relative; }
.step .step-num {
	width: 64px; height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #fff;
	border: 3px dashed var(--teal);
	color: var(--navy);
	font-family: var(--ff-head);
	font-weight: 800;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }

/* ---------- Quote / mission ---------- */
.mission-quote {
	max-width: 880px;
	margin: 0 auto;
	text-align: center;
}
.mission-quote .mark {
	font-size: 60px;
	color: var(--green);
	font-family: var(--ff-head);
	line-height: .6;
}
.mission-quote p {
	font-family: var(--ff-head);
	font-size: clamp(20px, 2.6vw, 27px);
	color: var(--navy);
	font-weight: 600;
	line-height: 1.5;
	margin: 16px 0 14px;
}
.mission-quote cite {
	font-style: normal;
	color: var(--teal);
	font-weight: 600;
}

/* ---------- Partners / CTA band ---------- */
.cta-band {
	background: linear-gradient(120deg, var(--teal) 0%, var(--green) 100%);
	color: #fff;
}
.cta-band-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 56px 24px;
	flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 6px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Blog ---------- */
.blog-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 48px;
}
.posts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

/* Homepage latest posts — 3-up grid, single-post swipe slider on mobile */
.home-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
@media (max-width: 900px) {
	.home-posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
	.home-posts {
		display: flex;
		grid-template-columns: none;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		margin: 0 -18px;
		padding: 6px 18px 16px;
		scrollbar-width: none;
	}
	.home-posts::-webkit-scrollbar { display: none; }
	.home-posts > .post-card {
		flex: 0 0 87%;
		scroll-snap-align: center;
	}
}
.post-card {
	background: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: transform var(--ease), box-shadow var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-cat {
	position: absolute;
	top: 14px; left: 14px;
	background: var(--orange);
	color: #fff;
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 12px;
	padding: 5px 13px;
	border-radius: 50px;
}
.post-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.post-meta {
	font-size: 13px;
	color: var(--muted);
	display: flex;
	gap: 16px;
	margin-bottom: 10px;
}
.post-meta .ico { color: var(--teal); margin-right: 4px; }
.post-body h3 { font-size: 20px; margin-bottom: 10px; }
.post-body h3 a { color: var(--navy); }
.post-body h3 a:hover { color: var(--teal); }
.post-body p { margin-bottom: 16px; }
.post-body .card-link { margin-top: auto; font-family: var(--ff-head); font-weight: 600; }

/* Sidebar */
.widget {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px;
	margin-bottom: 28px;
}
.widget-title {
	font-size: 18px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--bg-soft);
}
.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
}
.widget ul li:last-child { border-bottom: 0; }
.widget a { color: var(--ink); }
.widget a:hover { color: var(--teal); }

/* Single post */
.single-post .entry-content { margin-top: 24px; }
.single-post .entry-content p { margin-bottom: 18px; font-size: 16.5px; }
.single-post .featured-media img { border-radius: var(--radius-lg); width: 100%; }
.entry-content h2, .entry-content h3 { margin: 28px 0 12px; }
.entry-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; color: var(--muted); }
blockquote {
	border-left: 4px solid var(--teal);
	background: var(--bg-soft);
	padding: 18px 24px;
	border-radius: 8px;
	margin: 22px 0;
	font-style: italic;
	color: var(--navy);
}

/* Pagination */
.carevia-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}
.carevia-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--navy);
	font-family: var(--ff-head);
	font-weight: 600;
}
.carevia-pagination .page-numbers.current,
.carevia-pagination .page-numbers:hover {
	background: var(--teal);
	color: #fff;
	border-color: var(--teal);
}

/* ---------- Contact ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 44px;
	align-items: start;
}
.contact-info-card {
	background: var(--navy);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 44px 38px;
}
.contact-info-card h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.contact-info-card > p { color: #c4d3e2; margin-bottom: 26px; }
.contact-line {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255,255,255,.12);
}
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .ci {
	flex: none;
	width: 46px; height: 46px;
	border-radius: 12px;
	background: rgba(255,255,255,.1);
	color: var(--green);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.contact-line h4 { color: #fff; font-size: 15px; margin-bottom: 2px; }
.contact-line p, .contact-line a { color: #c4d3e2; font-size: 14.5px; }
.contact-line a:hover { color: var(--orange); }

.form-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 40px 36px;
	box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 25px; margin-bottom: 6px; }
.form-card > p { margin-bottom: 22px; }
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.field { margin-bottom: 18px; }
.field label {
	display: block;
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 14px;
	color: var(--navy);
	margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	font-family: var(--ff-body);
	font-size: 15px;
	color: var(--ink);
	background: var(--bg-soft);
	transition: border-color var(--ease), background var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--teal);
	background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note {
	background: #eafaf3;
	border: 1px solid #bfe8d4;
	color: #1d7a52;
	padding: 13px 16px;
	border-radius: 10px;
	margin-bottom: 18px;
	font-size: 14.5px;
}
.form-note.error {
	background: #fdecec;
	border-color: #f3c3c3;
	color: #c0392b;
}

.map-embed {
	margin-top: 56px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Generic page content ---------- */
.page-content { padding: 80px 0; }
.page-content .entry-content > * { margin-bottom: 18px; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 48px; }
.comment-list { margin: 20px 0; }
.comment-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-respond input, .comment-respond textarea {
	width: 100%; padding: 12px 14px;
	border: 1.5px solid var(--line); border-radius: 10px;
	margin-bottom: 14px; font-family: var(--ff-body);
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy-dark);
	color: #b9c8d6;
	padding-top: 70px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
	gap: 40px;
	padding-bottom: 50px;
}
.footer-col h3 {
	color: #fff;
	font-size: 18px;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 12px;
}
.footer-col h3::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 42px; height: 3px;
	background: var(--green);
	border-radius: 3px;
}
.footer-logo {
	border-radius: 10px;
	padding: 12px 14px;
	max-width: 210px;
	margin-bottom: 18px;
}
.footer-about p { color: #9fb2c2; }
.footer-menu li, .footer-contact li { padding: 7px 0; }
.footer-menu a { color: #b9c8d6; }
.footer-menu a:hover { color: var(--green); padding-left: 5px; }
.footer-contact li {
	display: flex;
	gap: 11px;
	color: #9fb2c2;
	font-size: 14.5px;
	align-items: flex-start;
}
.footer-contact .ico { color: var(--green); }
.footer-contact a { color: #9fb2c2; }
.footer-contact a:hover { color: var(--green); }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.08);
	padding: 20px 0;
}
.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 13.5px;
}
.footer-bottom p { color: #8499aa; }

/* ---------- Back to top ---------- */
.back-to-top {
	position: fixed;
	right: 22px; bottom: 22px;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--orange);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: var(--ease);
	z-index: 150;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #e07f0c; color: #fff; }

/* ---------- Fixed left-side contact buttons ---------- */
.float-contact {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 160;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.float-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 54px;
	height: 54px;
	padding: 0 15px;
	border-radius: 0 50px 50px 0;
	color: #fff;
	overflow: hidden;
	white-space: nowrap;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .26);
	transition: width .35s cubic-bezier(.4, 0, .2, 1), background .3s;
}
.float-btn svg { width: 24px; height: 24px; flex: none; }
.float-btn .float-label {
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 14.5px;
	opacity: 0;
	transition: opacity .25s ease .05s;
}
.float-btn:hover { width: 172px; color: #fff; }
.float-btn:hover .float-label { opacity: 1; }
.float-call { background: var(--teal); }
.float-call:hover { background: var(--teal-dark); }
.float-whatsapp { background: #25d366; }
.float-whatsapp:hover { background: #1da851; }

@media (hover: none) {
	.float-btn { width: 52px; }
	.float-btn .float-label { display: none; }
}
@media (max-width: 640px) {
	.float-contact { gap: 9px; }
	.float-btn { width: 46px; height: 46px; padding: 0 11px; }
	.float-btn svg { width: 21px; height: 21px; }
	.float-btn .float-label { display: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- FAQ ---------- */
.faq-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 14px;
	overflow: hidden;
}
.faq-q {
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 20px 24px;
	font-family: var(--ff-head);
	font-weight: 600;
	font-size: 16.5px;
	color: var(--navy);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
}
.faq-q .sign { color: var(--teal); font-size: 22px; transition: transform var(--ease); flex: none; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--ease); }
.faq-a p { padding: 0 24px 22px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
	.section { padding: 76px 0; }
	.split { gap: 40px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.blog-layout { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
	.nav-toggle { display: flex; }
	.main-nav {
		position: fixed;
		top: 0; right: -100%;
		width: min(320px, 86vw);
		height: 100vh;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		padding: 96px 26px 40px;
		gap: 6px;
		box-shadow: var(--shadow-lg);
		transition: right var(--ease);
		overflow-y: auto;
		z-index: 190;
	}
	.main-nav.open { right: 0; }
	.nav-menu { flex-direction: column; gap: 2px; }
	.nav-menu a { padding: 13px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		padding: 0 0 0 14px;
	}
	.nav-cta { margin-top: 14px; }
	.nav-overlay {
		position: fixed;
		inset: 0;
		background: rgba(16,43,70,.5);
		opacity: 0;
		visibility: hidden;
		transition: var(--ease);
		z-index: 180;
	}
	.nav-overlay.show { opacity: 1; visibility: visible; }

	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

	.cards-grid, .cards-grid.two,
	.purpose-grid, .involve-grid,
	.steps-grid, .posts-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.section { padding: 60px 0; }
	.container { padding: 0 18px; }
	.topbar-info .hide-sm { display: none; }
	.topbar-inner { justify-content: center; }
	.topbar-tag { display: none; }
	.header-inner { min-height: 72px; }
	.site-branding .brand img,
	.site-branding .custom-logo-link img { height: 48px; }

	.hero { padding: 84px 0 96px; }
	.hero-actions .btn { width: 100%; }

	.split, .split.reverse { grid-template-columns: 1fr; }
	.split.reverse .split-media { order: 0; }
	.media-badge { left: 16px; bottom: 16px; }

	.stats-grid { grid-template-columns: 1fr; }
	.stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
	.stat:last-child { border-bottom: 0; }

	.cards-grid, .cards-grid.two,
	.purpose-grid, .involve-grid,
	.steps-grid, .posts-grid {
		grid-template-columns: 1fr;
	}

	.contact-layout { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.contact-info-card, .form-card { padding: 30px 24px; }

	.cta-band-inner { padding: 42px 18px; text-align: center; flex-direction: column; }
	.cta-band-actions { justify-content: center; width: 100%; }
	.cta-band-actions .btn { flex: 1; }

	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom-inner { justify-content: center; text-align: center; }
}
