/*!
Theme Name: Amanah Care Services
Theme URI: https://www.ausasiaonline.com.au/
Author: Aus Asia Online
Author URI: https://www.ausasiaonline.com.au/
Description: Custom theme for Amanah Care Services, an NDIS provider in Epping, Victoria. Homepage, About Us, single-page Services, Referral and Contact Us templates, with header, footer, contact details, social links, homepage content and services managed in Appearance → Customize → Amanah Theme Options.
Version: 1.0.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: amanahcare
Tags: custom-logo, custom-menu, featured-images, translation-ready

Based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Brand: Purple #521A94 · Green #2FA22A · "Quality Care You Can Trust"
*/

/* ==========================================================================
   1. Tokens and base (from the approved homepage design)
   ========================================================================== */

:root {
	--purple: #521A94;
	--purple-dark: #3C126E;
	--purple-light: #F1ECF9;
	--green: #2FA22A;
	--green-dark: #23801F;
	--green-light: #EAF7E8;
	--leaf: #8FE38A;
	--ink: #1F1A2E;
	--body: #4A4560;
	--muted: #7A7590;
	--line: #E6E2F0;
	--bg: #FFFFFF;
	--bg-soft: #FAF8FD;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(82, 26, 148, 0.10);
	--shadow-sm: 0 4px 14px rgba(31, 26, 46, 0.08);
	--shadow-lg: 0 30px 70px -20px rgba(60, 18, 110, 0.35);
	--max: 1400px;
	--header-h: 96px;
}

* { box-sizing: border-box; }
/* clip (not hidden) stops sideways scrolling on phones without breaking the sticky header. */
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--body);
	background: var(--bg);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--green);
	outline-offset: 2px;
}
h1, h2, h3, h4, .h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.purple { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: #EDE7F8; }
.section.purple h2, .section.purple h3 { color: #fff; }
.section-head { margin-bottom: 48px; }
.eyebrow {
	display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--green); margin-bottom: 14px;
}
.section.purple .eyebrow { color: var(--leaf); }
.lead { font-size: 1.15rem; color: var(--body); max-width: 720px; }
.lead-sm { font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sr-only, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
	clip-path: inset(50%); white-space: nowrap; word-wrap: normal !important;
}
.skip-link:focus {
	position: fixed !important; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto; clip-path: none;
	padding: 12px 18px; border-radius: 8px; background: #fff; color: var(--purple); font-weight: 700; box-shadow: var(--shadow);
}

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem; font-family: inherit;
	border: 2px solid transparent; cursor: pointer; transition: all .2s ease; line-height: 1; text-align: center;
}
.btn svg { flex: none; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(47,162,42,.3); }
.btn-purple { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-purple:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-white { background: #fff; color: var(--purple); border-color: #fff; }
.btn-white:hover { background: var(--purple-light); color: var(--purple-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   2. Top bar and header
   ========================================================================== */

.topbar { position: relative; background: linear-gradient(90deg, #1E0B3C 0%, var(--purple-dark) 45%, var(--purple) 100%); color: #E6DDF5; font-size: .86rem; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(143, 227, 138, .55), transparent); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; transition: color .2s; }
.topbar a:hover { color: var(--leaf); }
.topbar .tb-left { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar .tb-left > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-left svg { padding: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.topbar .tb-right { display: flex; gap: 12px; align-items: center; }
.topbar .tb-right .badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .04em; box-shadow: 0 4px 12px -4px rgba(47, 162, 42, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.topbar .tb-right .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.tb-social { display: flex; gap: 6px; margin-left: 6px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .18); }
.tb-social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .72rem; transition: all .2s; }
.tb-social a:hover { background: var(--leaf); border-color: var(--leaf); color: var(--ink); transform: translateY(-1px); }

/* Glass header */
.header {
	position: sticky; top: 0; z-index: 100;
	background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .7));
	-webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
	border-bottom: 1px solid rgba(255, 255, 255, .7);
	box-shadow: 0 1px 0 rgba(82, 26, 148, .08), 0 10px 30px -24px rgba(60, 18, 110, .35);
	transition: background .3s ease, box-shadow .3s ease;
}
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(82, 26, 148, .22), rgba(47, 162, 42, .28), transparent); pointer-events: none; }
.header.is-scrolled { background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .85)); box-shadow: 0 18px 40px -22px rgba(60, 18, 110, .35); }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); position: relative; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; transition: transform .25s ease; }
.brand:hover { transform: translateY(-1px); }
.brand img { height: 76px; width: auto; filter: drop-shadow(0 6px 12px rgba(82, 26, 148, .15)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; letter-spacing: .06em; color: var(--purple); font-weight: 700; }
.brand-text em { font-style: normal; font-size: .82rem; letter-spacing: .18em; color: var(--purple); text-transform: uppercase; margin-top: 4px; }

/* Glass menu pill */
.nav { display: flex; align-items: center; gap: 14px; }
.nav .menu {
	display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 6px;
	border-radius: 999px; border: 1px solid rgba(255, 255, 255, .85);
	background: linear-gradient(135deg, rgba(241, 236, 249, .75), rgba(234, 247, 232, .55));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 8px 24px -16px rgba(60, 18, 110, .4);
}
.nav .menu li { position: relative; }
.nav .menu a { position: relative; display: block; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .96rem; color: var(--ink); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.nav .menu > li > a:hover { background: rgba(255, 255, 255, .7); color: var(--purple); }
.nav .menu > .current-menu-item > a,
.nav .menu > .current_page_item > a,
.nav .menu > .current-menu-ancestor > a {
	background: linear-gradient(135deg, #36B230, var(--green-dark)); color: #fff; font-weight: 700;
	box-shadow: 0 8px 18px -8px rgba(47, 162, 42, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* Call button */
.nav > .btn {
	padding: 7px 22px 7px 7px; gap: 10px;
	background: linear-gradient(135deg, #36B230, var(--green-dark)); border-color: transparent;
	box-shadow: 0 12px 26px -10px rgba(47, 162, 42, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.nav > .btn:hover { background: linear-gradient(135deg, var(--green), #1D6E1A); box-shadow: 0 16px 30px -10px rgba(47, 162, 42, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.nav > .btn:not(:has(.btn-icon)) { padding: 13px 24px; }
.btn-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); }
.nav > .btn:hover .btn-icon { animation: ring .6s ease; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-6deg); } }

/* Dropdowns */
.nav .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 0; z-index: 20; min-width: 240px; margin: 0; padding: 8px; list-style: none;
	background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, .8); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(60, 18, 110, .35);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease;
}
.nav .menu li:hover > .sub-menu, .nav .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { font-size: .95rem; padding: 10px 12px; border-radius: 10px; }
.nav .sub-menu a:hover { background: var(--purple-light); color: var(--purple); }
.nav .menu-item-has-children > a::before { content: ""; float: right; width: 7px; height: 7px; margin: 7px 0 0 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.submenu-toggle { display: none; }

.nav-toggle { display: none; width: 46px; height: 44px; padding: 0; cursor: pointer; position: relative; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .85); background: linear-gradient(135deg, rgba(241, 236, 249, .9), rgba(234, 247, 232, .7)); box-shadow: inset 0 1px 0 #fff, 0 8px 20px -12px rgba(60, 18, 110, .45); }
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--purple); margin: 4px auto; border-radius: 2px; transition: .2s; }
.nav-toggle.is-open { background: var(--purple); }
.nav-toggle.is-open span { background: #fff; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   3. Homepage sections (from the approved design)
   ========================================================================== */

.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #F6F2FC 0%, #FFFFFF 55%, #EEF8ED 100%); }
.hero::before { content: ""; position: absolute; right: -180px; top: -180px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(82,26,148,.12), transparent 65%); }
.hero::after { content: ""; position: absolute; left: -200px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(47,162,42,.14), transparent 65%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { margin-bottom: 20px; color: var(--purple); }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero .lead { margin-bottom: 30px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.hero-points svg { flex: none; margin-top: 3px; }
.hero-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 36px; border: 1px solid var(--line); position: relative; }
.hero-card .logo-big { width: 240px; margin: 0 auto 18px; }
.hero-card .h3 { text-align: center; margin-bottom: 6px; }
.hero-card .tag { text-align: center; color: var(--green); font-weight: 700; font-style: italic; margin-bottom: 22px; }
.hero-card .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-card .mini div { background: var(--bg-soft); border-radius: 12px; padding: 14px; text-align: center; border: 1px solid var(--line); }
.hero-card .mini strong { display: block; color: var(--purple); font-size: 1.35rem; }
.hero-card .mini span { font-size: .85rem; color: var(--muted); }

/* Trust strip: five glass badges in one row, split by soft dividers. */
.trust {
	position: relative; overflow: hidden; isolation: isolate; color: #fff;
	background: radial-gradient(ellipse 60% 90% at 50% 40%, rgba(98, 32, 178, .55), transparent 70%), linear-gradient(180deg, #4A129A 0%, #43108D 55%, #4B1699 100%);
}
.trust__wave { position: absolute; z-index: -2; border-radius: 50%; pointer-events: none; }
.trust__wave--tl { left: -260px; top: -260px; width: 560px; height: 480px; background: linear-gradient(160deg, rgba(128, 56, 214, .55), rgba(96, 30, 180, .12) 70%); transform: rotate(-18deg); }
.trust__wave--bl { left: -220px; bottom: -300px; width: 640px; height: 380px; background: linear-gradient(20deg, rgba(128, 56, 214, .55), rgba(96, 30, 180, 0) 70%); transform: rotate(8deg); }
.trust__wave--br { right: -300px; bottom: -300px; width: 620px; height: 420px; background: linear-gradient(200deg, rgba(136, 64, 222, .45), rgba(96, 30, 180, 0) 65%); transform: rotate(-22deg); }
.trust .container { padding-top: 44px; padding-bottom: 44px; }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.trust__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 2px 16px; text-align: center; }
.trust__item + .trust__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .2) 12%, rgba(255, 255, 255, .2) 88%, rgba(255, 255, 255, 0)); }
.trust__badge {
	position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
	background: radial-gradient(circle at 32% 28%, #8A4AE0 0%, #6326BE 55%, #521AA6 100%);
	border: 1px solid rgba(255, 255, 255, .22);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, .3), inset 0 -10px 20px rgba(38, 6, 88, .4), 0 18px 34px -14px rgba(18, 0, 48, .7);
}
.trust__badge svg { position: relative; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .08)); }
.trust__label { max-width: 210px; font-size: 1.02rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.005em; color: #fff; }

/* Grids and cards */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; color: inherit; }
a.card { color: inherit; }
a.card:hover, .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--purple-light); display: grid; place-items: center; margin-bottom: 18px; color: var(--purple); }
.card.green .icon { background: var(--green-light); color: var(--green); }
.card h3, .card .h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; color: var(--body); }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--green); }
.card .code { font-size: .75rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.card-purple { background: var(--purple); border-color: var(--purple); }
.card-purple h3 { color: #fff; font-size: 1.1rem; margin-top: 14px; }
.card-purple p { color: #E6DDF5; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 30px 30px 84px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 26px; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.15rem; }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; }
.step-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.step-dark h3 { color: #fff; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-top { align-items: start; }
.split > * { min-width: 0; }
.split .visual, .visual { border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, var(--purple-light), var(--green-light)); padding: 40px; border: 1px solid var(--line); }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 4px; }

.values .card { text-align: center; }
.values .card .icon { margin: 0 auto 18px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat strong { display: block; font-size: 2rem; color: #fff; }
.stat span { font-size: .95rem; }

/* CTA band */
.cta { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; }
.cta h2 { color: #fff; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.cta p { margin: 0; font-size: 1.1rem; max-width: 640px; color: #F0FAEF; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; margin: 0; }

/* ==========================================================================
   4. Footer and mobile call bar
   ========================================================================== */

.footer { background: linear-gradient(180deg, #231A38 0%, var(--ink) 100%); color: #B9B3CC; padding: 72px 0 0; }
.footer .container { max-width: 1600px; }
.footer > .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer .f-heading { color: #fff; font-size: 1.05rem; margin-bottom: 20px; letter-spacing: .01em; }
.footer a { color: #D6D0E8; transition: color .2s ease; }
.footer a:hover { color: var(--leaf); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; line-height: 1.5; }
.footer .f-logo { display: block; background: #fff; border-radius: 16px; padding: 12px; width: 160px; margin-bottom: 22px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.footer .f-logo img { width: 100%; }
.footer p { font-size: .95rem; line-height: 1.75; }
.footer .f-strong { color: #fff; }
.f-social, .c-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.f-social a, .c-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: all .2s ease; }
.f-social a:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding: 24px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.fb-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ack { font-size: .86rem; line-height: 1.7; color: #9F98B8; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }


/* ==========================================================================
   5. Inner-page banner
   ========================================================================== */

.page-hero {
	position: relative; overflow: hidden; isolation: isolate; color: #F3EEFB;
	display: flex; align-items: center; min-height: 420px; max-height: 500px; padding: 64px 0;
	background: linear-gradient(135deg, #5B2A9E, var(--purple) 60%, #7A4BC0);
}
.page-hero > .container { width: 100%; }
.page-hero.has-image::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: var(--banner-image) center / cover no-repeat;
}
.page-hero.has-image::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(45, 14, 84, .7) 0%, rgba(60, 18, 110, .45) 42%, rgba(82, 26, 148, 0) 100%);
}
.page-hero:not(.has-image)::after { content: ""; position: absolute; right: -120px; bottom: -200px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(47,162,42,.45), transparent 65%); z-index: -1; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 14px; max-width: 820px; }
.page-hero p { max-width: 720px; font-size: 1.15rem; margin: 0; text-shadow: 0 1px 12px rgba(30, 8, 60, .35); }
.page-hero h1 { text-shadow: 0 2px 18px rgba(30, 8, 60, .35); }
.page-hero .eyebrow { color: var(--leaf); }
.page-hero__mark { position: absolute; right: 6%; top: 50%; width: 260px; transform: translateY(-50%); opacity: .08; filter: brightness(0) invert(1); pointer-events: none; }
.page-hero__chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: .9rem; font-weight: 600; backdrop-filter: blur(6px); }
.crumbs { margin-bottom: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 6px 14px; display: inline-flex; flex-wrap: wrap; gap: 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: #C9BCE6; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: #fff; font-weight: 600; }
.crumbs a:hover { color: var(--leaf); }

/* ==========================================================================
   6. About page
   ========================================================================== */

.split-wide { grid-template-columns: 1fr 1.05fr; }
.media-frame { position: relative; isolation: isolate; border-radius: 26px; }
.media-frame > img { width: 100%; aspect-ratio: 1 / 1; max-height: 540px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg); }
.media-frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 26px; background: linear-gradient(135deg, var(--green-light), var(--purple-light)); z-index: -1; }
.media-frame__badge { position: absolute; left: -22px; top: 36px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.media-frame__badge img { width: 48px; height: auto; }
.media-frame__badge span { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); line-height: 1.3; }
.media-frame__badge strong { color: var(--purple); font-size: 1.1rem; }
.media-frame__quote { position: absolute; right: -18px; bottom: 34px; max-width: 250px; padding: 16px 20px; border-radius: 16px; background: var(--purple); color: #fff; font-weight: 700; font-style: italic; box-shadow: var(--shadow); }
.media-frame--short > img { aspect-ratio: 16 / 10; }
.media-frame--short::before { inset: 16px -16px -16px 16px; }
.media-frame--short .media-frame__quote { right: 16px; bottom: -18px; font-style: normal; }

.founder { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.founder__avatar { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--green)); color: #fff; font-weight: 800; font-size: 1rem; line-height: 1; letter-spacing: .02em; }
.founder > span:not(.founder__avatar) { display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); }
.founder strong { color: var(--ink); font-size: 1.05rem; }

.meaning { position: relative; overflow: hidden; padding: 70px 0; background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; text-align: center; }
.meaning__word { margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; color: rgba(255,255,255,.22); }
.meaning blockquote { margin: 10px auto 0; max-width: 820px; }
.meaning blockquote p { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; line-height: 1.45; color: #fff; }

.feature-card { position: relative; overflow: hidden; padding: 44px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(82,26,148,.12), transparent 70%); }
.feature-card.is-green::after { background: radial-gradient(circle, rgba(47,162,42,.16), transparent 70%); }
.feature-card .icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--purple); color: #fff; margin-bottom: 22px; }
.feature-card.is-green .icon { background: var(--green); }
.feature-card__label { display: block; margin-bottom: 12px; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.feature-card.is-green .feature-card__label { color: var(--green-dark); }
.feature-card p { margin: 0; font-size: 1.15rem; line-height: 1.7; color: var(--ink); font-weight: 500; }

.reg-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 600; }

.age-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.age-card { padding: 20px 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); text-align: center; }
.age-card strong { display: block; font-size: 1.6rem; color: var(--purple); line-height: 1.1; }
.age-card span { font-size: .88rem; color: var(--muted); }
.visual__title { font-size: 1.15rem; margin-bottom: 8px; }
.checklist-cards li { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.75); font-weight: 600; color: var(--ink); }

.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: journey; position: relative; }
.journey::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--purple), var(--green)); opacity: .3; }
.journey li { position: relative; text-align: center; padding: 0 8px; counter-increment: journey; }
.journey__icon { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #fff; color: var(--purple); border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.journey__icon::after { content: counter(journey); position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .78rem; font-weight: 800; }
.journey h3 { font-size: 1.12rem; margin-bottom: 8px; }
.journey p { margin: 0; font-size: .96rem; }

/* ==========================================================================
   7. Services page
   ========================================================================== */

.svc-section { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #FBF9FE 45%, #F6FBF5 100%); }
.svc-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.svc-orb--purple { top: 240px; left: -140px; width: 520px; height: 520px; background: rgba(123, 77, 209, .30); }
.svc-orb--green { top: 300px; right: -160px; width: 480px; height: 480px; background: rgba(143, 227, 138, .45); }
.svc-orb--lilac { top: 520px; left: 35%; width: 560px; height: 360px; background: rgba(201, 182, 240, .40); }

/* Services intro */
.svc-intro { max-width: 980px; margin: 0 auto 52px; text-align: center; }
.svc-intro__label {
	position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; margin-bottom: 22px;
	border-radius: 999px; border: 1px solid rgba(255, 255, 255, .85);
	background: linear-gradient(135deg, rgba(234, 247, 232, .9), rgba(241, 236, 249, .8));
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: inset 0 1px 0 #fff, 0 10px 24px -14px rgba(60, 18, 110, .35);
	color: var(--green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.svc-intro__label::before, .svc-intro__label::after { content: ""; position: absolute; top: 50%; width: 56px; height: 1px; }
.svc-intro__label::before { right: calc(100% + 14px); background: linear-gradient(90deg, transparent, rgba(47, 162, 42, .5)); }
.svc-intro__label::after { left: calc(100% + 14px); background: linear-gradient(90deg, rgba(82, 26, 148, .45), transparent); }
.svc-intro__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.svc-intro__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: svcPulse 2.2s ease-out infinite; }
@keyframes svcPulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.svc-intro__title { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; }
.text-gradient { white-space: nowrap; background: linear-gradient(100deg, var(--purple) 10%, #7A3FC4 45%, var(--green) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.svc-intro__lead { max-width: 660px; margin: 0 auto; font-size: 1.12rem; line-height: 1.75; color: var(--body); }
.svc-intro__chips { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.svc-intro__chips li {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .6);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: inset 0 1px 0 #fff, 0 10px 24px -16px rgba(60, 18, 110, .4);
	font-size: .92rem; color: var(--body);
}
.svc-intro__chips strong { color: var(--ink); }
.svc-intro__chip-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--purple-light), var(--green-light)); color: var(--purple); }

/* Glass tab bar */
.svc-tabs {
	position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 12px;
	border-radius: 28px; border: 1px solid rgba(255, 255, 255, .75);
	background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .30));
	-webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 30px 60px -30px rgba(60, 18, 110, .35);
}
.svc-tab {
	position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px; overflow: hidden;
	border-radius: 18px; border: 1px solid rgba(255, 255, 255, .7);
	background: rgba(255, 255, 255, .5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 16px -10px rgba(31, 26, 46, .18);
	color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.3;
	transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease, color .3s ease;
}
.svc-tab::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: linear-gradient(120deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 45%);
}
.svc-tab:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .78); border-color: rgba(82, 26, 148, .22); color: var(--purple); box-shadow: inset 0 1px 0 #fff, 0 14px 28px -14px rgba(82, 26, 148, .35); }
.svc-tab__icon {
	position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px;
	background: linear-gradient(135deg, rgba(241, 236, 249, .95), rgba(234, 247, 232, .95));
	border: 1px solid rgba(255, 255, 255, .9); color: var(--purple);
	box-shadow: 0 6px 14px -8px rgba(82, 26, 148, .4); transition: all .3s ease;
}
.svc-tab__text { position: relative; }
/* "All services" spans the full row so the 12 service tabs below fill the grid evenly. */
.svc-tab--all { grid-column: 1 / -1; justify-content: center; min-height: 60px; }
.svc-tab:hover .svc-tab__icon { color: var(--green-dark); }
.svc-tab[aria-selected="true"] {
	color: #fff; border-color: rgba(255, 255, 255, .28);
	background: linear-gradient(135deg, rgba(82, 26, 148, .92), rgba(60, 18, 110, .88));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 18px 34px -14px rgba(82, 26, 148, .65);
	transform: translateY(-2px);
}
.svc-tab[aria-selected="true"]::before { background: linear-gradient(120deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 50%); }
.svc-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--leaf), var(--green)); }
.svc-tab[aria-selected="true"] .svc-tab__icon { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: var(--leaf); box-shadow: none; }

.svc { min-width: 0; }
.svc-panels { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.svc-panel__grid > *, .svc-duo > * { min-width: 0; }
.svc-panel { padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-panel:focus { outline: none; }
.svc-panel[hidden] { display: none; }
.is-ready .svc-panel:not([hidden]) { animation: svcIn .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes svcIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.svc-panel__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: stretch; }
/* The photo fills the full height of the text column beside it. */
.svc-media { position: relative; overflow: hidden; min-height: 460px; height: 100%; width: 100%; border-radius: 22px; background: linear-gradient(135deg, var(--purple-light), var(--green-light)); }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,26,46,0) 45%, rgba(40,10,78,.85) 100%); }
.svc-media__placeholder { display: grid; place-items: center; height: 100%; color: var(--purple); }
.svc-media__chip { position: absolute; left: 16px; top: 16px; z-index: 1; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--purple); font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.svc-media__num { position: absolute; right: 18px; top: 8px; z-index: 1; font-size: 4rem; font-weight: 800; color: rgba(255,255,255,.55); line-height: 1; }
.svc-media__card { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-weight: 700; line-height: 1.3; }
.svc-media__card small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.svc-media__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: #fff; }
.svc-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc-kicker span { padding: 5px 10px; border-radius: 999px; background: var(--purple-light); color: var(--purple); }
.is-green .svc-kicker span { background: var(--green-light); color: var(--green-dark); }
.svc-body h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.svc-lead { font-size: 1.15rem; font-weight: 600; color: var(--ink); padding-left: 16px; border-left: 4px solid var(--green); }
.svc-subhead { display: flex; align-items: center; gap: 10px; margin: 28px 0 14px; font-size: 1.05rem; }
.svc-subhead svg { color: var(--purple); }
.is-green .svc-subhead svg { color: var(--green); }
.svc-includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-includes li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; font-size: .96rem; color: var(--ink); line-height: 1.45; }
.svc-includes svg { flex: none; margin-top: 2px; }
.svc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.svc-duo > div { padding: 26px; border-radius: 18px; background: linear-gradient(135deg, var(--bg-soft), #fff); border: 1px solid var(--line); }
.svc-duo .svc-subhead { margin-top: 0; }
.svc-dots, .svc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc-dots li { position: relative; padding-left: 20px; font-weight: 600; color: var(--ink); }
.svc-dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-light); }
.svc-steps { counter-reset: out; }
.svc-steps li { counter-increment: out; display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.svc-steps li::before { content: counter(out); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: #fff; font-size: .8rem; font-weight: 800; }
.svc-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 32px; padding: 26px 30px; border-radius: 20px; background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: #E6DDF5; }
.svc-cta p { margin: 0; }
.svc-cta__title { color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 4px !important; }
.svc-cta .btn { padding: 13px 22px; }
.svc-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; }
.svc-pager a { display: flex; align-items: center; gap: 12px; max-width: 48%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.3; transition: all .2s; }
.svc-pager a:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-light); }
.svc-pager a.is-next { text-align: right; margin-left: auto; }
.svc-pager small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc-pager svg { flex: none; color: var(--green); }

.plan-types { display: grid; gap: 14px; }
.plan-type { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.plan-type__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--purple-light); color: var(--purple); }
.plan-type h3 { font-size: 1.05rem; margin-bottom: 4px; }
.plan-type p { margin: 0; font-size: .95rem; }

/* ==========================================================================
   8. Forms, Referral and Contact pages
   ========================================================================== */

.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.form-anchor { scroll-margin-top: calc(var(--header-h) + 20px); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.form-card__head { margin-bottom: 8px; }
.form-card__head h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-step { border: 0; margin: 28px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); min-width: 0; }
.form-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-weight: 800; color: var(--purple); font-size: 1.12rem; float: left; width: 100%; }
.form-step legend + * { clear: both; }
.form-step__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; font-size: .95rem; }
.form-step .btn { margin-top: 0; }
.amanah-form > .btn { margin-top: 30px; }
label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
label .req, .req { color: #C62828; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="search"], input[type="url"], select, textarea {
	width: 100%; padding: 13px 15px; border: 1.5px solid #D8D3E6; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(82,26,148,.12); }
textarea { min-height: 130px; resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C62828; background: #FFF8F8; }
.field-error { margin: 6px 0 0; font-size: .88rem; font-weight: 600; color: #C62828; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.check-card { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft); font-weight: 600; font-size: .93rem; line-height: 1.4; cursor: pointer; transition: border-color .2s, background .2s; }
.check-card:hover { border-color: #CFC4E6; }
.check-card:has(input:checked) { border-color: var(--green); background: var(--green-light); }
.check-card small { display: block; font-weight: 700; font-size: .72rem; color: var(--muted); letter-spacing: .06em; }
.check-card input, .consent input { margin-top: 3px; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .95rem; margin: 0; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-note svg { display: inline-block; vertical-align: -2px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin-bottom: 20px; padding: 18px 22px; border-radius: 14px; border: 1px solid; }
.form-notice:focus { outline: none; }
.form-notice strong { display: block; margin-bottom: 2px; }
.form-notice p { margin: 0; }
.form-notice.is-success { background: var(--green-light); border-color: #BFE6BC; color: var(--green-dark); }
.form-notice.is-error { background: #FFF4F4; border-color: #F2C4C4; color: #9B1C1C; }
.form-card--done { text-align: center; padding: 56px 40px; }
.done-icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 10px var(--green-light); }

.form-aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { background: var(--purple); color: #E6DDF5; border-radius: 20px; padding: 34px; }
.side-card h3 { color: #fff; }
.side-card a:not(.btn) { color: #fff; font-weight: 700; }
.side-card p:last-child { margin-bottom: 0; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: tl; display: grid; gap: 18px; }
.timeline li { position: relative; padding-left: 48px; counter-increment: tl; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: .9rem; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: -16px; width: 2px; background: rgba(255,255,255,.2); }
.timeline strong { color: #fff; }
.aside-card:hover { transform: none; }
.mini-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.mini-list li { display: flex; gap: 8px; align-items: center; }

/* Contact page: Contact information panel (stretches to the form's height) */
.contact-panel {
	position: relative; overflow: hidden; isolation: isolate; flex: 1; display: flex; flex-direction: column; gap: 28px;
	padding: 40px; border-radius: 24px; color: #E9E1F7;
	background: linear-gradient(155deg, #22094A 0%, var(--purple-dark) 45%, var(--purple) 100%);
	box-shadow: 0 30px 60px -30px rgba(60, 18, 110, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.contact-panel::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .14), transparent 42%);
}
.contact-panel__glow { position: absolute; right: -90px; bottom: -110px; z-index: -1; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 162, 42, .5), transparent 65%); filter: blur(14px); pointer-events: none; }
.contact-panel__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); }
.contact-panel__eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--leaf); }
.contact-panel__title { margin: 10px 0 0; color: #fff; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.02em; }

.contact-panel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-panel__row {
	display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; color: #fff;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
	transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
a.contact-panel__row:hover { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); transform: translateX(3px); }
.contact-panel__icon {
	display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px;
	background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .18); color: var(--leaf);
}
.contact-panel__icon.is-whatsapp { background: #25D366; border-color: #25D366; color: #fff; font-size: 1.3rem; }
.contact-panel__text { flex: 1; min-width: 0; line-height: 1.4; }
.contact-panel__text small { display: block; margin-bottom: 2px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(233, 225, 247, .7); }
.contact-panel__text strong { display: block; font-size: 1rem; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.contact-panel__note { display: block; margin-top: 2px; font-size: .86rem; color: rgba(233, 225, 247, .75); }
.contact-panel__arrow { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); transition: background-color .25s ease, color .25s ease; }
a.contact-panel__row:hover .contact-panel__arrow { background: var(--leaf); color: var(--purple-dark); }

/* Business details sit at the bottom of the panel. */
.contact-panel__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: auto 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-panel__facts .is-wide { grid-column: 1 / -1; }
.contact-panel__facts dt { margin-bottom: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(233, 225, 247, .7); }
.contact-panel__facts dd { margin: 0; color: #fff; font-weight: 600; line-height: 1.45; }

.contact-panel__follow { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: auto; font-weight: 700; color: #fff; }
.contact-panel__facts + .contact-panel__follow { margin-top: -6px; }
.contact-panel__social { display: flex; gap: 8px; }
.contact-panel__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.contact-panel__social a:hover { background: var(--leaf); border-color: var(--leaf); color: var(--purple-dark); transform: translateY(-2px); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.follow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; font-weight: 700; color: var(--ink); }
.follow .c-social { margin: 0; }
.c-social a { background: var(--purple-light); border-color: var(--line); color: var(--purple); }
.c-social a:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }

/* Contact page: left column */
.contact-layout { align-items: stretch; }
/* Both columns end level: the form card grows and its message box takes the extra space. */
.contact-layout > .form-anchor { display: flex; flex-direction: column; }
.contact-layout .amanah-form { flex: 1; display: flex; flex-direction: column; }
.contact-layout .amanah-form .form-grid { flex: 1; grid-template-rows: auto auto auto 1fr auto; }
.contact-layout .amanah-form .form-grid .field:has(textarea) { display: flex; flex-direction: column; }
.contact-layout .amanah-form textarea { flex: 1; min-height: 160px; }
.contact-aside { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.glass-label {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; margin-bottom: 18px;
	border-radius: 999px; border: 1px solid rgba(255, 255, 255, .85);
	background: linear-gradient(135deg, rgba(234, 247, 232, .9), rgba(241, 236, 249, .8));
	box-shadow: inset 0 1px 0 #fff, 0 10px 24px -14px rgba(60, 18, 110, .35);
	color: var(--green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.glass-label__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.glass-label__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: svcPulse 2.2s ease-out infinite; }
.contact-intro { text-align: center; margin-bottom: 44px; }
.contact-intro__title { margin: 0; color: var(--purple); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.03em; }

.info-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-card {
	display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
	background: linear-gradient(135deg, #fff, var(--bg-soft)); border: 1px solid var(--line);
	box-shadow: 0 10px 24px -18px rgba(60, 18, 110, .45); color: var(--ink); font-weight: 700; line-height: 1.4;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.info-card:hover { transform: translateY(-2px); border-color: rgba(82, 26, 148, .2); box-shadow: 0 16px 30px -18px rgba(60, 18, 110, .5); }
.info-card--wide { grid-column: 1 / -1; }
.info-card small { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-card__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--purple-light); color: var(--purple); }
.info-card__icon.is-green { background: var(--green-light); color: var(--green); }

.help-chips__label { display: block; margin-bottom: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.help-chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.help-chips li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink); box-shadow: 0 6px 14px -12px rgba(60, 18, 110, .4); }
.help-chips li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--green); }
.follow { margin-top: 0; }

.feedback-card {
	position: relative; overflow: hidden; isolation: isolate; margin-top: auto; padding: 32px;
	border-radius: 24px; color: #E9E1F7;
	background: linear-gradient(140deg, #2A0F57 0%, var(--purple-dark) 40%, var(--purple) 100%);
	box-shadow: 0 30px 60px -30px rgba(60, 18, 110, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.feedback-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .12), transparent 45%); }
.feedback-card__glow { position: absolute; right: -60px; bottom: -80px; z-index: -1; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 162, 42, .55), transparent 65%); filter: blur(10px); }
.feedback-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.feedback-card__head h3 { margin: 0; color: #fff; font-size: 1.3rem; }
.feedback-card__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: var(--leaf); }
.feedback-card p { margin: 0 0 22px; line-height: 1.7; }
.feedback-card__tel { color: #fff; font-weight: 800; white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(143, 227, 138, .7); text-underline-offset: 3px; }
.feedback-card__tel:hover { color: var(--leaf); }
.feedback-card__btn {
	display: inline-flex; align-items: center; gap: 12px; padding: 7px 22px 7px 7px; border-radius: 999px;
	background: linear-gradient(180deg, #fff, #F3EEFB); color: var(--purple); font-weight: 800; font-size: 1rem;
	box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .45), inset 0 1px 0 #fff;
	transition: transform .25s ease, box-shadow .25s ease, color .25s ease;
}
.feedback-card__btn:hover { color: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(0, 0, 0, .5), inset 0 1px 0 #fff; }
.feedback-card__btn > svg { transition: transform .25s ease; }
.feedback-card__btn:hover > svg { transform: translateX(4px); }
.feedback-card__btn-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #36B230, var(--green-dark)); color: #fff; box-shadow: 0 6px 14px -6px rgba(47, 162, 42, .7); }

/* Referral page */
/* overflow: clip (not hidden) keeps the sticky sidebar and step navigator sticking to the page. */
.ref-section { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(180deg, #fff 0%, #FBF9FE 50%, #F6FBF5 100%); }
.ref-card { padding: 0; border-radius: 28px; border-color: rgba(230, 226, 240, .9); box-shadow: 0 40px 80px -40px rgba(60, 18, 110, .35); }
.ref-card__head {
	display: flex; flex-wrap: wrap; align-items: center; gap: 18px 20px; padding: 34px 40px 28px; border-radius: 28px 28px 0 0;
	background: linear-gradient(135deg, rgba(241, 236, 249, .9), rgba(234, 247, 232, .6));
	border-bottom: 1px solid var(--line);
}
.ref-card__badge { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: #fff; box-shadow: 0 14px 28px -12px rgba(82, 26, 148, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ref-card__title { flex: 1; min-width: 240px; }
.ref-card__title h2 { margin: 0 0 4px; font-size: 1.75rem; }
.ref-card__title .form-note { margin: 0; font-size: .8rem; line-height: 1.5; }
/* CF7 textareas default to 10 rows; keep them compact (they can still be resized). */
.ref-card textarea { height: 150px; min-height: 110px; }
.ref-card input::placeholder, .ref-card textarea::placeholder,
.contact-layout input::placeholder, .contact-layout textarea::placeholder { color: #A29DB5; font-size: .92rem; }
.ref-card__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ref-card__meta li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 6px 14px -10px rgba(60, 18, 110, .4); font-size: .85rem; font-weight: 700; color: var(--ink); }
.ref-card__meta svg { color: var(--green); }

/* Step navigator: sticks under the header while the form scrolls. */
.ref-steps {
	position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
	margin: 20px 28px 0; padding: 8px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .85);
	background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
	box-shadow: inset 0 1px 0 #fff, 0 14px 30px -20px rgba(60, 18, 110, .45);
}
.admin-bar .ref-steps { top: calc(var(--header-h) + 42px); }
.ref-steps a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.2; transition: background .2s ease, color .2s ease; }
.ref-steps a:hover { background: var(--purple-light); color: var(--purple); }
.ref-steps small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ref-steps__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--purple-light), var(--green-light)); color: var(--purple); }

.ref-card__body { padding: 8px 40px 36px; }
.ref-card > .form-notice { margin: 20px 40px 0; }
.ref-card .form-step {
	margin: 22px 0 0; padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: 22px;
	background: linear-gradient(180deg, #fff, #FDFCFF); scroll-margin-top: calc(var(--header-h) + 110px);
}
.ref-card .form-step legend { margin-bottom: 20px; }
.form-step__num { flex: none; width: 40px; height: 40px; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); box-shadow: 0 8px 18px -8px rgba(82, 26, 148, .7); }
.form-step__text { display: flex; flex-direction: column; color: var(--ink); font-size: 1.12rem; line-height: 1.3; }
.form-step__text small { margin-top: 2px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.ref-submit { margin-top: 26px; }
.ref-submit .btn, .ref-submit .wpcf7-submit { min-height: 58px; font-size: 1.08rem; box-shadow: 0 16px 30px -14px rgba(47, 162, 42, .7); }
.ref-card__foot { margin: 0; padding: 18px 40px 26px; border-top: 1px solid var(--line); text-align: center; font-size: .92rem; color: var(--muted); }
.ref-card__foot a { font-weight: 700; }
.ref-card .form-card--done { padding: 48px 40px 40px; text-align: center; }

/* Contact Form 7 markup inside the theme's form layout. */
.amanah-cf7 .wpcf7-form-control-wrap { display: block; }
.amanah-cf7 input[type="number"] { width: 100%; padding: 13px 15px; border: 1.5px solid #D8D3E6; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.amanah-cf7 .wpcf7-not-valid { border-color: #C62828 !important; background: #FFF8F8; }
.amanah-cf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: .88rem; font-weight: 600; color: #C62828; }
.amanah-cf7 .field.check-grid { display: block; }
.amanah-cf7 .check-grid .wpcf7-checkbox { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amanah-cf7 .wpcf7-list-item { display: block; margin: 0; }
.amanah-cf7 .check-grid .wpcf7-list-item label {
	display: flex; gap: 10px; align-items: flex-start; height: 100%; margin: 0; padding: 13px 14px; border-radius: 12px;
	border: 1.5px solid var(--line); background: var(--bg-soft); font-weight: 600; font-size: .93rem; line-height: 1.4; color: var(--ink); cursor: pointer;
	transition: border-color .2s, background .2s;
}
.amanah-cf7 .check-grid .wpcf7-list-item label:hover { border-color: #CFC4E6; }
.amanah-cf7 .check-grid .wpcf7-list-item label:has(input:checked) { border-color: var(--green); background: var(--green-light); }
.amanah-cf7 .consent .wpcf7-list-item label { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-weight: 500; font-size: .95rem; color: var(--ink); cursor: pointer; }
.amanah-cf7 input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.amanah-cf7 .wpcf7-submit { width: 100%; }
.amanah-cf7 .wpcf7-spinner { display: block; margin: 12px auto 0; }
.amanah-cf7 .wpcf7-response-output { margin: 22px 0 0 !important; padding: 16px 20px !important; border-radius: 14px; border-width: 1px !important; font-weight: 600; }
.amanah-cf7.sent .wpcf7-response-output { background: var(--green-light); border-color: #BFE6BC !important; color: var(--green-dark); }
.amanah-cf7.invalid .wpcf7-response-output, .amanah-cf7.unaccepted .wpcf7-response-output, .amanah-cf7.failed .wpcf7-response-output { background: #FFF4F4; border-color: #F2C4C4 !important; color: #9B1C1C; }

/* Referral sidebar */
.ref-aside { gap: 20px; }
.ref-next { margin-top: 0; }
.ref-next .timeline { margin-top: 20px; }
.glass-card {
	padding: 28px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .9);
	background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(250, 248, 253, .7));
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: inset 0 1px 0 #fff, 0 24px 50px -30px rgba(60, 18, 110, .45);
}
.glass-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.glass-card p { margin-bottom: 0; font-size: .95rem; }
.glass-card .help-chips { margin-top: 14px; }
.ref-call .info-card__icon { margin-bottom: 16px; }
.ref-call p { margin-bottom: 18px; }
.ref-call .feedback-card__btn { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: #fff; box-shadow: 0 14px 28px -12px rgba(82, 26, 148, .6), inset 0 1px 0 rgba(255, 255, 255, .2); }
.ref-call .feedback-card__btn:hover { color: #fff; }
.ref-privacy { display: flex; gap: 16px; align-items: flex-start; }

@media (max-width: 860px) {
	.ref-card__head { padding: 26px 22px 22px; }
	.ref-steps { grid-template-columns: repeat(2, 1fr); margin: 16px 14px 0; }
	.ref-card__body { padding: 4px 16px 26px; }
	.ref-card > .form-notice { margin: 16px 16px 0; }
	.ref-card .form-step { padding: 20px 16px 22px; }
	.amanah-cf7 .check-grid .wpcf7-checkbox { grid-template-columns: 1fr; }
	.ref-card__foot { padding: 16px 20px 22px; }
}
@media (max-width: 560px) {
	.info-cards { grid-template-columns: 1fr; }
	.feedback-card { padding: 26px; }
	.contact-panel { padding: 26px 20px; gap: 24px; }
	.contact-panel__row { padding: 12px; gap: 12px; }
	.contact-panel__facts { grid-template-columns: 1fr; }
}
.map-section { padding-top: 0; background: linear-gradient(180deg, #fff 0, #fff 50%, var(--bg-soft) 50%); }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 520px; }
.map iframe { width: 100%; height: 520px; border: 0; display: block; }

/* ==========================================================================
   9. Generic content, posts, pagination, search
   ========================================================================== */

.content-narrow { max-width: 860px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 1.8rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--green); background: var(--bg-soft); border-radius: 0 12px 12px 0; color: var(--ink); }
.entry-content img { border-radius: 14px; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry-meta { margin-bottom: 22px; font-size: .92rem; color: var(--muted); }
.entry-meta > span { margin-right: 14px; }
.entry-footer { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.entry-footer > span { margin-right: 14px; }
.edit-link { margin-top: 30px; font-size: .9rem; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption, .wp-block-image figcaption { font-size: .88rem; color: var(--muted); }
.post-card { display: flex; flex-direction: column; padding: 0 0 28px; overflow: hidden; }
.post-card > *:not(.post-card__media) { padding: 0 28px; }
.post-card__media { display: block; margin-bottom: 22px; }
.post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card:not(:has(.post-card__media)) { padding-top: 28px; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--purple); }
.post-card .more { margin-top: auto; padding-top: 14px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; }
.nav-links .page-numbers.current { background: var(--purple); color: #fff; border-color: var(--purple); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation .nav-links a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; }
.nav-subtitle { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.search-form label { flex: 1; margin: 0; }
.search-submit { padding: 13px 22px; border-radius: 999px; border: 0; background: var(--purple); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.no-results { margin: 0 auto; }
.comments-area { margin-top: 48px; }

/* Reveal on scroll (only when JS is running and motion is allowed). */
.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal-ready.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   10. Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.nav .menu a { padding: 10px 13px; }
	.nav { gap: 10px; }
	.nav > .btn { padding-right: 16px; }
	.topbar .tb-address { display: none; }
	/* Keep the 2×2 feature cards inside their panel on tablets. */
	.split { gap: 40px; }
	.visual { padding: 24px; }
	.visual .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.visual .card { padding: 22px 18px; }
	.visual .card h3 { font-size: 1.1rem; }
}
@media (max-width: 1024px) {
	.grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	/* Tablet: 3 + 2, centred, without dividers. */
	.trust__list { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 28px; }
	.trust__item { flex: 0 0 33.333%; }
	.trust__item + .trust__item::before { display: none; }
	.trust__label { font-size: .98rem; }
	.footer > .container { grid-template-columns: 1fr 1fr; }
	.svc-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.svc-panel__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.svc-media { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
	.svc-intro__label::before, .svc-intro__label::after { display: none; }
	.svc-intro { margin-bottom: 36px; }
	.journey { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
	.journey::before { display: none; }
	.form-layout, .contact-layout { grid-template-columns: 1fr; }
	.form-aside { position: static; }
}
@media (max-width: 860px) {
	:root { --header-h: 80px; }
	.section { padding: 60px 0; }
	.nav { display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border-radius: 22px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px -20px rgba(60, 18, 110, .4); max-height: calc(100vh - 110px); overflow-y: auto; }
	.nav.open { display: flex; }
	.nav .menu { flex-direction: column; align-items: stretch; gap: 4px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
	.nav .menu a { padding: 14px 16px; border-radius: 14px; }
	.nav .menu > li > a::after { display: none !important; }
	.nav .menu-item-has-children > a::before { display: none; }
	.nav .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.nav .submenu-open > .sub-menu { display: block; }
	.submenu-toggle { display: block; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
	.submenu-toggle::before { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto; border: solid var(--purple); border-width: 0 2px 2px 0; transform: rotate(45deg); }
	.submenu-open > .submenu-toggle::before { transform: rotate(-135deg); }
	.nav > .btn { margin: 12px 0 0; justify-content: center; }
	.nav-toggle { display: block; }
	.hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
	.split, .split-wide, .grid-2 { grid-template-columns: 1fr; }
	.form-grid, .check-grid, .svc-includes, .svc-duo { grid-template-columns: 1fr; }
	.form-card { padding: 26px; }
	.topbar .tb-right { display: none; }
	.brand img { height: 58px; }
	.brand-text strong { font-size: 1.35rem; }
	.brand-text em { font-size: .7rem; }
	.page-hero { min-height: 0; max-height: none; padding: 56px 0 60px; }
	.page-hero__mark { display: none; }
	.media-frame { margin: 0 12px 24px; }
	.media-frame__badge { left: -8px; }
	.media-frame__quote { right: -8px; }
	.svc-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.svc-tabs::-webkit-scrollbar { display: none; }
	.svc-tab { flex: 0 0 auto; width: 250px; scroll-snap-align: start; }
	.svc-panel { padding: 24px; border-radius: 22px; }
	.svc-pager { flex-direction: column; }
	.svc-pager a { max-width: none; }
	.map, .map iframe { min-height: 380px; height: 380px; }
	.age-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
	.trust .container { padding-top: 36px; padding-bottom: 36px; }
	.trust__item { flex-basis: 50%; gap: 12px; padding: 0 10px; }
	.trust__badge { width: 52px; height: 52px; }
	.trust__badge svg { width: 24px; height: 24px; }
	.trust__label { font-size: .9rem; }
	.grid-3, .grid-4, .stats, .footer > .container, .journey { grid-template-columns: 1fr; }
	.hero-card .mini { grid-template-columns: 1fr 1fr; }	.visual .grid-2 { grid-template-columns: 1fr; }
	.btn-group .btn { width: 100%; }
	.topbar .tb-left { gap: 4px 16px; font-size: .82rem; padding: 6px 0; }
	.age-grid { grid-template-columns: 1fr; }
	.feature-card { padding: 30px; }
	.form-card--done { padding: 40px 22px; }
	.media-frame__badge, .media-frame__quote { position: static; margin-top: 14px; max-width: none; }
	.media-frame::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.reveal-ready { opacity: 1; transform: none; }
}
