/* ==========================================================================
   Asigau Mortgage Brokers — design layer
   Brand colours sampled from the supplied logo (indigo #180862, slate #4C5460).
   ========================================================================== */

:root:root {
	--ag-ink: #180862;
	--ag-ink-2: #2b1d8f;
	--ag-deep: #0e0540;
	--ag-text: #1c1a2b;
	--ag-body: #3f4554;
	--ag-muted: #5d6372;
	--ag-line: #e3e1ee;
	--ag-tint: #f6f5fb;
	--ag-tint-2: #eceaf6;
	--ag-gold: #c39b45;
	--ag-gold-soft: #f6efdf;
	--ag-white: #fff;
	--ag-radius: 14px;
	--ag-radius-lg: 22px;
	--ag-shadow: 0 1px 2px rgba(24, 8, 98, .06), 0 8px 24px rgba(24, 8, 98, .06);
	--ag-shadow-lg: 0 2px 4px rgba(24, 8, 98, .06), 0 24px 48px rgba(24, 8, 98, .12);
	--ag-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ag-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ag-wrap: 1180px;

	/* Neve theme variables */
	--nv-primary-accent: #180862;
	--nv-secondary-accent: #2b1d8f;
	--nv-site-bg: #ffffff;
	--nv-light-bg: #f6f5fb;
	--nv-dark-bg: #0e0540;
	--nv-text-color: #3f4554;
	--nv-text-dark-bg: #ffffff;
	--primarybtnbg: #180862;
	--primarybtnhoverbg: #2b1d8f;
	--primarybtncolor: #fff;
	--primarybtnhovercolor: #fff;
	--primarybtnborderradius: 999px;
	--bodyfontfamily: var(--ag-sans);
	--headingsfontfamily: var(--ag-head);
}

/* ---------- Base typography ---------- */
body.asigau-site {
	font-family: var(--ag-sans);
	color: var(--ag-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.asigau-site h1, .asigau-site h2, .asigau-site h3, .asigau-site h4, .asigau-site h5,
.asigau-site .site-logo .brand .nv-title-tagline-wrap .site-title {
	font-family: var(--ag-head);
	color: var(--ag-text);
	letter-spacing: -0.02em;
	line-height: 1.15;
	font-weight: 800;
}
.asigau-site h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); }
.asigau-site h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.asigau-site h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.asigau-site a { color: var(--ag-ink); text-underline-offset: 3px; }
.asigau-site a:hover { color: var(--ag-ink-2); }
.asigau-site :focus-visible { outline: 3px solid var(--ag-gold); outline-offset: 2px; border-radius: 4px; }
.asigau-site ::selection { background: var(--ag-tint-2); color: var(--ag-ink); }

/* ---------- Header (Neve) ---------- */
.asigau-site .header-main-inner, .asigau-site .header-main { background: rgba(255,255,255,.96); }
.asigau-site .hfg_header { box-shadow: 0 1px 0 var(--ag-line); }
.asigau-site .header--row.header-main { backdrop-filter: saturate(160%) blur(8px); }
.asigau-site .site-logo img { max-height: 46px; width: auto; }
.asigau-site .site-logo .site-title { font-size: 1.15rem; color: var(--ag-ink) !important; font-weight: 800; letter-spacing: -0.01em; }
.asigau-site .nav-ul > li > .wrap > a, .asigau-site .nav-ul > li > a {
	font-family: var(--ag-sans); font-weight: 500; font-size: 15px; color: var(--ag-text);
}
.asigau-site .nav-ul > li.current-menu-item > .wrap > a,
.asigau-site .nav-ul > li > .wrap > a:hover { color: var(--ag-ink); }
.asigau-site .nav-ul li.current-menu-item > .wrap > a { box-shadow: inset 0 -2px 0 var(--ag-gold); }
.asigau-site .nav-ul .sub-menu { border-radius: 12px; box-shadow: var(--ag-shadow-lg); border: 1px solid var(--ag-line); padding: 6px 0; }
.asigau-site .nav-ul .sub-menu li > .wrap > a { font-size: 14.5px; padding: 8px 18px; }
.asigau-site .nav-ul li.ag-nav-cta > .wrap > a {
	background: var(--ag-ink); color: #fff !important; padding: 10px 20px; border-radius: 999px; font-weight: 600;
}
.asigau-site .nav-ul li.ag-nav-cta > .wrap > a:hover { background: var(--ag-ink-2); }
.asigau-site .button.button-primary, .asigau-site .header .builder-item .button {
	border-radius: 999px; font-weight: 600; padding: 11px 22px; font-family: var(--ag-sans); text-transform: none; letter-spacing: 0;
}

/* Hide Neve's default footer: replaced by .ag-footer */
.asigau-site footer.site-footer .hfg_footer { display: none; }

/* ---------- Layout helpers ---------- */
/* Neve (classic theme) wraps group content in an inner container; let our layouts see the real children. */
.asigau-site [class*="ag-"] > .wp-block-group__inner-container { display: contents; }
.asigau-site .wp-block-button__link, .asigau-site .wp-block-button .wp-block-button__link { text-transform: none; letter-spacing: 0; }
.ag-wrap { max-width: var(--ag-wrap); margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; box-sizing: border-box; width: 100%; }
.ag-section { padding: clamp(64px, 9vw, 112px) 0; margin: 0 !important; }
.ag-section--tint { background: var(--ag-tint); }
.ag-section--dark { background: var(--ag-deep); color: #d8d5ee; }
.ag-section--dark h2, .ag-section--dark h3 { color: #fff; }
.ag-section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.asigau-site .entry-content > .ag-section, .asigau-site .nv-content-wrap > .ag-section { max-width: none; }
.ag-center { text-align: center; }
.ag-narrow { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.ag-eyebrow {
	font-family: var(--ag-sans); font-size: 13px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ag-ink) !important; margin: 0 0 14px !important; display: inline-flex; align-items: center; gap: 10px;
}
.ag-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ag-gold); display: inline-block; }
.ag-center .ag-eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--ag-gold); display: inline-block; }
.ag-section--dark .ag-eyebrow { color: #c9c3f2 !important; }
.ag-lead { font-size: 1.15rem; color: var(--ag-muted); max-width: 680px; }
.ag-center .ag-lead { margin-left: auto; margin-right: auto; }
.ag-section h2 { margin-top: 0; margin-bottom: 16px; }
.ag-section-head { margin-bottom: 48px !important; }

/* ---------- Buttons ---------- */
.ag-btn, .asigau-site .wp-block-button.ag-b-primary .wp-block-button__link,
.asigau-site .wp-block-button.ag-b-secondary .wp-block-button__link,
.asigau-site .wp-block-button.ag-b-light .wp-block-button__link,
.asigau-site .wp-block-button.ag-b-gold .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--ag-sans); font-weight: 600; font-size: 16px; line-height: 1.2;
	padding: 14px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; cursor: pointer;
}
.ag-btn--lg { padding: 16px 30px; font-size: 16.5px; }
.ag-btn--primary, .asigau-site .wp-block-button.ag-b-primary .wp-block-button__link { background: var(--ag-ink); color: #fff !important; }
.ag-btn--primary:hover, .asigau-site .wp-block-button.ag-b-primary .wp-block-button__link:hover { background: var(--ag-ink-2); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(24,8,98,.22); }
.asigau-site .wp-block-button.ag-b-secondary .wp-block-button__link { background: transparent; color: var(--ag-ink) !important; border-color: rgba(24,8,98,.25); }
.asigau-site .wp-block-button.ag-b-secondary .wp-block-button__link:hover { border-color: var(--ag-ink); background: #fff; }
.ag-btn--light, .asigau-site .wp-block-button.ag-b-light .wp-block-button__link { background: #fff; color: var(--ag-ink) !important; }
.ag-btn--light:hover, .asigau-site .wp-block-button.ag-b-light .wp-block-button__link:hover { background: var(--ag-tint-2); }
.ag-btn--gold, .asigau-site .wp-block-button.ag-b-gold .wp-block-button__link { background: var(--ag-gold); color: var(--ag-deep) !important; }
.ag-btn--gold:hover, .asigau-site .wp-block-button.ag-b-gold .wp-block-button__link:hover { background: #d4af5a; transform: translateY(-1px); }
.ag-btn[disabled] { opacity: .6; cursor: wait; }
.ag-link-arrow a, a.ag-link-arrow { font-weight: 600; text-decoration: none; }
.ag-link-arrow a::after, a.ag-link-arrow::after { content: " →"; transition: margin .2s; }
.ag-link-arrow a:hover::after { margin-left: 4px; }

/* ---------- Hero ---------- */
.ag-hero {
	position: relative; overflow: hidden; margin: 0 !important;
	padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
	background:
		radial-gradient(1100px 520px at 88% -10%, rgba(43,29,143,.10), transparent 60%),
		radial-gradient(700px 420px at -10% 110%, rgba(195,155,69,.10), transparent 60%),
		linear-gradient(180deg, #fbfaff 0%, #f4f2fb 100%);
}
.ag-hero::after {
	content: ""; position: absolute; right: -140px; bottom: -180px; width: 560px; height: 560px; opacity: .05; pointer-events: none;
	background: url("asigau-icon.png") center/contain no-repeat; filter: grayscale(1);
}
.ag-hero .ag-wrap { position: relative; z-index: 1; }
.ag-hero h1 { margin: 0 0 22px; }
.ag-hero h1 .ag-accent, .ag-hero h1 em { font-style: normal; color: var(--ag-ink); background: linear-gradient(transparent 70%, rgba(195,155,69,.35) 70%); }
.ag-hero .ag-lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); margin-bottom: 32px; }
.ag-hero .wp-block-columns { align-items: center !important; gap: clamp(32px, 5vw, 72px); }
.ag-hero-points { list-style: none; padding: 0 !important; margin: 36px 0 0 !important; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 15px; color: var(--ag-text); font-weight: 500; }
.ag-hero-points li { display: flex; align-items: center; gap: 8px; margin: 0; }
.ag-hero-points li::before, .ag-check li::before {
	content: ""; width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; background: var(--ag-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ag-hero-card {
	background: #fff; border-radius: var(--ag-radius-lg); box-shadow: var(--ag-shadow-lg); padding: 34px !important; border: 1px solid var(--ag-line); position: relative;
}
.ag-hero-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: var(--ag-radius-lg) var(--ag-radius-lg) 0 0; background: linear-gradient(90deg, var(--ag-ink), var(--ag-ink-2) 60%, var(--ag-gold)); }
.ag-hero-card .wp-block-image { margin: 0 0 18px; }
.ag-hero-card .wp-block-image img { width: 64px; height: 64px; }
.ag-hero-card h2, .ag-hero-card h3 { font-size: 1.4rem; margin: 0 0 8px; }
.ag-hero-card p { color: var(--ag-muted); font-size: 15.5px; }
.ag-mini-steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 20px 0 24px !important; }
.ag-mini-steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--ag-line); color: var(--ag-text); font-weight: 500; font-size: 15.5px; margin: 0; }
.ag-mini-steps li::before { content: counter(s); width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ag-tint-2); color: var(--ag-ink); font-weight: 700; font-size: 13px; font-family: var(--ag-head); }
.ag-hero-card .wp-block-buttons, .ag-hero-card .wp-block-button, .ag-hero-card .wp-block-button__link { width: 100%; }

/* Inner page hero */
.ag-page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, #fbfaff, #f2f0fa); margin: 0 !important; position: relative; overflow: hidden; border-bottom: 1px solid var(--ag-line); }
.ag-page-hero::after { content: ""; position: absolute; right: -90px; top: -90px; width: 380px; height: 380px; opacity: .05; background: url("asigau-icon.png") center/contain no-repeat; filter: grayscale(1); pointer-events: none; }
.ag-page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin: 0 0 16px; max-width: 860px; }
.ag-page-hero .ag-lead { margin-bottom: 0; }
.ag-page-hero .wp-block-buttons { margin-top: 28px; }
.ag-breadcrumb { font-size: 14px !important; color: var(--ag-muted); margin-bottom: 18px !important; }
.ag-breadcrumb a { color: var(--ag-muted); text-decoration: none; }
.ag-breadcrumb a:hover { color: var(--ag-ink); text-decoration: underline; }

/* ---------- Cards ---------- */
.ag-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ag-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ag-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ag-cards > *, .ag-cards > .wp-block-group__inner-container > * { margin: 0 !important; }
.ag-card {
	position: relative; background: #fff; border: 1px solid var(--ag-line); border-radius: var(--ag-radius); padding: 30px !important;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; display: flex; flex-direction: column;
}
.ag-card:hover { transform: translateY(-3px); box-shadow: var(--ag-shadow-lg); border-color: #d3cfe8; }
.ag-card h3 { margin: 0 0 10px; font-size: 1.18rem; }
.ag-card p { font-size: 15.5px; color: var(--ag-muted); margin: 0 0 14px; }
.ag-card p:last-child { margin-bottom: 0; }
.ag-card .ag-link-arrow { margin-top: auto !important; padding-top: 6px; font-size: 15px; }
.ag-card .ag-link-arrow a::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.ag-card[class*="ag-i-"]::before {
	content: ""; display: block; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
	background-color: var(--ag-tint-2); background-repeat: no-repeat; background-position: center; background-size: 26px;
}
.ag-section--tint .ag-card { border-color: transparent; box-shadow: var(--ag-shadow); }
.ag-card--plain:hover { transform: none; box-shadow: none; }
.ag-section--tint .ag-card--plain:hover { box-shadow: var(--ag-shadow); }

/* Icons (stroke icons in brand indigo) */
.ag-i-key::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.8-9.8M17 6l3 3M14.5 8.5l2 2'/%3E%3C/svg%3E"); }
.ag-i-home::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.ag-i-build::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M5 20V9l7-5 7 5v11M9 20v-5h6v5M9 11h.01M15 11h.01'/%3E%3C/svg%3E"); }
.ag-i-chart::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.ag-i-refresh::before{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.6-6.4L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E"); }
.ag-i-office::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='1'/%3E%3Cpath d='M9 22v-4h6v4M8 6h.01M12 6h.01M16 6h.01M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M16 14h.01'/%3E%3C/svg%3E"); }
.ag-i-compass::before{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m16.2 7.8-2.1 6.3-6.3 2.1 2.1-6.3z'/%3E%3C/svg%3E"); }
.ag-i-shield::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ag-i-people::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
.ag-i-doc::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.ag-i-calc::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 11h.01M12 11h.01M16 11h.01M8 15h.01M12 15h.01M16 15h.01M8 19h.01M12 19h4'/%3E%3C/svg%3E"); }
.ag-i-chat::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.ag-i-coins::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='9' cy='7' rx='6' ry='3'/%3E%3Cpath d='M3 7v5c0 1.7 2.7 3 6 3s6-1.3 6-3V7M3 12v5c0 1.7 2.7 3 6 3 1.3 0 2.6-.2 3.6-.6M15 13.5c3.3 0 6-1.3 6-3M21 10.5V16c0 1.7-2.7 3-6 3'/%3E%3C/svg%3E"); }

/* ---------- Feature list (why us) ---------- */
.ag-why .wp-block-columns { gap: clamp(32px, 6vw, 80px); align-items: center !important; }
.ag-features { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 32px; }
.ag-features > *, .ag-features > .wp-block-group__inner-container > * { margin: 0 !important; }
.ag-feature h3 { font-size: 1.08rem; margin: 0 0 6px; display: flex; gap: 12px; align-items: center; }
.ag-feature h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--ag-gold); transform: rotate(45deg); flex: 0 0 10px; }
.ag-feature p { font-size: 15.5px; color: var(--ag-muted); margin: 0; padding-left: 22px; }
.ag-section--dark .ag-feature p { color: #bdb8de; }
.ag-stat-panel { background: var(--ag-ink); border-radius: var(--ag-radius-lg); padding: 40px !important; color: #e4e1f7; position: relative; overflow: hidden; }
.ag-stat-panel::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 260px; height: 260px; background: url("asigau-icon.png") center/contain no-repeat; filter: brightness(0) invert(1); opacity: .07; }
.ag-stat-panel h3 { color: #fff; font-size: 1.5rem; margin-top: 0; }
.ag-stat-panel p { color: #cfcaf0; }
.ag-stat-panel .ag-check li { color: #fff; }
.ag-stat-panel .ag-check li::before { background-color: var(--ag-gold); }

.ag-check { list-style: none; padding: 0 !important; margin: 16px 0 !important; }
.ag-check li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.ag-check li::before { margin-top: 3px; }

/* ---------- Steps ---------- */
.ag-steps { display: grid !important; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; counter-reset: step; position: relative; }
.ag-steps > *, .ag-steps > .wp-block-group__inner-container > * { margin: 0 !important; }
.ag-step { counter-increment: step; position: relative; padding: 0 !important; }
.ag-step::before {
	content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: #fff; border: 2px solid var(--ag-ink); color: var(--ag-ink); font: 800 17px/1 var(--ag-head); margin-bottom: 20px; position: relative; z-index: 1;
}
.ag-step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 64px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, #cbc6e6 0 6px, transparent 6px 12px); }
.ag-step h3 { font-size: 1.08rem; margin: 0 0 8px; }
.ag-step p { font-size: 15px; color: var(--ag-muted); margin: 0; }
.ag-section--dark .ag-step::before { background: var(--ag-deep); border-color: var(--ag-gold); color: #fff; }
.ag-section--dark .ag-step p { color: #bdb8de; }

/* Long-form steps (How It Works page) */
.ag-timeline { counter-reset: tl; max-width: 860px; margin: 0 auto !important; }
.ag-tl-item { counter-increment: tl; position: relative; padding: 0 0 44px 88px !important; margin: 0 !important; }
.ag-tl-item::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--ag-ink); color: #fff; display: grid; place-items: center; font: 800 20px/1 var(--ag-head); }
.ag-tl-item:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 2px; background: var(--ag-line); }
.ag-tl-item h3 { margin: 12px 0 10px; font-size: 1.35rem; }
.ag-tl-item p, .ag-tl-item li { color: var(--ag-muted); }

/* ---------- Notice / callout ---------- */
.ag-callout { background: var(--ag-gold-soft); border-left: 4px solid var(--ag-gold); border-radius: 10px; padding: 20px 24px !important; font-size: 15.5px; color: #4a3d1e; }
.ag-callout p { margin: 0; color: inherit; }
.ag-callout--info { background: var(--ag-tint); border-color: var(--ag-ink); color: var(--ag-body); }
.ag-tbc { display: inline-block; font-size: .85em; background: var(--ag-gold-soft); color: #6d5317; border: 1px dashed #d9bd7c; border-radius: 6px; padding: 1px 8px; }

/* ---------- Split section (content + aside) ---------- */
.ag-split { gap: clamp(32px, 6vw, 72px) !important; }
.ag-split h2 { margin-top: 0; }
.ag-aside { background: var(--ag-tint); border-radius: var(--ag-radius-lg); padding: 32px !important; position: sticky; top: 110px; }
.ag-aside h3 { margin-top: 0; }
.ag-prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 48px 0 14px; }
.ag-prose h2:first-child { margin-top: 0; }
.ag-prose h3 { margin: 32px 0 10px; }
.ag-prose ul:not(.ag-check) { padding-left: 1.2em; }
.ag-prose li { margin-bottom: 8px; }

/* ---------- FAQ (core/details) ---------- */
.asigau-site .wp-block-details.ag-faq, .asigau-site details.ag-faq {
	border: 1px solid var(--ag-line); border-radius: 12px; background: #fff; margin: 0 0 12px !important; padding: 0 !important; transition: box-shadow .2s, border-color .2s;
}
.asigau-site details.ag-faq[open] { border-color: #cfcae6; box-shadow: var(--ag-shadow); }
.asigau-site details.ag-faq > summary {
	list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font: 700 1.04rem/1.4 var(--ag-head); color: var(--ag-text); position: relative;
}
.asigau-site details.ag-faq > summary::-webkit-details-marker { display: none; }
.asigau-site details.ag-faq > summary::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
	background: var(--ag-tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/13px no-repeat; transition: transform .25s;
}
.asigau-site details.ag-faq[open] > summary::after { transform: rotate(45deg); }
.asigau-site details.ag-faq > :not(summary) { padding: 0 24px; color: var(--ag-muted); margin-top: 0; }
.asigau-site details.ag-faq > :last-child { padding-bottom: 22px; }
.ag-faq-group { margin-bottom: 48px !important; }
.ag-faq-group h2 { font-size: 1.5rem; margin-bottom: 18px; }

/* ---------- Forms ---------- */
.ag-form-wrap { background: #fff; border: 1px solid var(--ag-line); border-radius: var(--ag-radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--ag-shadow); }
.ag-form-title { margin-top: 0; }
.ag-form fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.ag-form legend { font: 700 1.05rem/1.3 var(--ag-head); color: var(--ag-text); margin-bottom: 14px; padding: 0; }
.ag-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 18px; }
.ag-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ag-field--full { grid-column: 1 / -1; }
.ag-field label { font-size: 14.5px; font-weight: 600; color: var(--ag-text); margin: 0; }
.ag-field label span[aria-hidden] { color: #b42318; }
.asigau-site .ag-field input, .asigau-site .ag-field select, .asigau-site .ag-field textarea, .asigau-site .ag-calc select {
	width: 100%; font: 400 16px/1.4 var(--ag-sans); color: var(--ag-text); background: #fff; border: 1.5px solid #d6d3e4; border-radius: 10px;
	padding: 12px 14px; min-height: 48px; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; margin: 0;
}
.asigau-site .ag-field textarea { min-height: 110px; resize: vertical; }
.asigau-site .ag-field input:focus, .asigau-site .ag-field select:focus, .asigau-site .ag-field textarea:focus, .asigau-site .ag-calc select:focus {
	outline: none; border-color: var(--ag-ink); box-shadow: 0 0 0 4px rgba(24,8,98,.12);
}
.asigau-site .ag-invalid { border-color: #b42318 !important; }
.ag-field-msg { color: #b42318; font-size: 13.5px; font-weight: 500; }
.ag-form-error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-weight: 500; }
.ag-form-success { background: #ecfdf3; border: 1px solid #abefc6; color: #05603a; border-radius: 12px; padding: 22px 24px; }
.ag-form-success p { margin: 6px 0 0; color: inherit; }
.ag-consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-size: 15px; flex-wrap: wrap; }
.ag-consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ag-ink); flex: 0 0 20px; }
.ag-consent label { flex: 1; min-width: 0; }
.ag-consent .ag-field-msg { flex-basis: 100%; padding-left: 32px; }
.ag-note { font-size: 13.5px !important; color: var(--ag-muted); margin: 12px 0 0 !important; }
.ag-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ag-form button[type="submit"] { width: auto; }

/* Contact list */
.ag-contact-list { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 18px; }
.ag-contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.ag-contact-ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ag-tint-2); color: var(--ag-ink); }
.ag-contact-list strong { display: block; font-size: 14px; color: var(--ag-text); }
.ag-contact-list a { text-decoration: none; }
.ag-licence { font-size: 13.5px; color: var(--ag-muted); }

/* ---------- Calculator ---------- */
.ag-calc { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border-radius: var(--ag-radius-lg); box-shadow: var(--ag-shadow-lg); border: 1px solid var(--ag-line); overflow: hidden; }
.ag-calc-inputs { padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; align-content: start; }
.ag-calc-inputs .ag-field:nth-child(3) { grid-column: 1 / -1; }
.ag-input-pre, .ag-input-post { position: relative; display: flex; }
.ag-input-pre span, .ag-input-post span { position: absolute; top: 50%; transform: translateY(-50%); color: var(--ag-muted); font-weight: 600; font-size: 15px; pointer-events: none; }
.ag-input-pre span { left: 14px; }
.ag-input-pre input { padding-left: 34px !important; }
.ag-input-post span { right: 14px; }
.ag-input-post input { padding-right: 56px !important; }
.ag-help { font-size: 12.5px; color: var(--ag-muted); }
.ag-calc-results { background: var(--ag-ink); color: #dcd8f5; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.ag-calc-results::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; background: url("asigau-icon.png") center/contain no-repeat; filter: brightness(0) invert(1); opacity: .06; pointer-events: none; }
.ag-calc-label { margin: 0 !important; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #bfb8ee; font-weight: 600; }
.ag-calc-big { font: 800 clamp(2.4rem, 4.5vw, 3.2rem)/1.1 var(--ag-head); color: #fff; margin: 8px 0 24px !important; letter-spacing: -0.02em; }
.ag-calc-dl { margin: 0 0 20px; display: grid; gap: 0; }
.ag-calc-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12); }
.ag-calc-dl dt { color: #c8c2ee; font-size: 15px; }
.ag-calc-dl dd { margin: 0; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.ag-calc-bar { height: 10px; border-radius: 99px; background: var(--ag-gold); overflow: hidden; margin-bottom: 10px; }
.ag-calc-bar span { display: block; height: 100%; background: #fff; border-radius: 99px 0 0 99px; transition: width .4s ease; }
.ag-calc-legend { font-size: 13px; color: #c8c2ee; margin: 0 0 24px !important; display: flex; gap: 8px; align-items: center; }
.ag-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.ag-dot--p { background: #fff; } .ag-dot--i { background: var(--ag-gold); margin-left: 12px; }
.ag-calc-error { background: rgba(255,255,255,.1); padding: 10px 14px; border-radius: 8px; color: #fff; font-size: 14px; }
.ag-calc-results .ag-btn { margin-top: auto; align-self: flex-start; }
.ag-calc-disclaimer { grid-column: 1 / -1; margin: 0 !important; padding: 16px clamp(24px, 4vw, 40px); font-size: 13px !important; color: var(--ag-muted); background: var(--ag-tint); border-top: 1px solid var(--ag-line); }

/* ---------- Misc ---------- */
.ag-logo-block img { max-width: 320px; height: auto; }
.ag-divider { border: 0; height: 1px; background: var(--ag-line); margin: 0 !important; }
.ag-placeholder { border: 2px dashed #d6d3e4; border-radius: var(--ag-radius); padding: 24px !important; color: var(--ag-muted); background: #fff; }
.ag-placeholder h3 { color: var(--ag-muted); }
.ag-team-note { font-size: 14px; color: var(--ag-muted); }

/* Reveal */
.ag-js .ag-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.ag-js .ag-reveal.is-in { opacity: 1; transform: none; }

/* Remove Neve top spacing on full-width pages built with sections */
.asigau-site .neve-main > .container-fluid .nv-content-wrap > .ag-hero:first-child,
.asigau-site .nv-content-wrap > .ag-page-hero:first-child { margin-top: 0 !important; }
.asigau-site .nv-single-page-wrap { margin-bottom: 0 !important; }
.asigau-site .nv-content-wrap.entry-content > *:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
	.ag-card, .ag-btn, .asigau-site .wp-block-button__link, .ag-calc-bar span { transition: none !important; }
	.ag-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.ag-steps { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 36px; }
	.ag-step:nth-child(3)::after { display: none; }
	.ag-cards--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
	.ag-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ag-calc { grid-template-columns: 1fr; }
	.ag-aside { position: static; }
}
@media (max-width: 640px) {
	body.asigau-site { font-size: 16px; }
	.ag-wrap { padding-left: 18px; padding-right: 18px; }
	.ag-cards, .ag-cards--2, .ag-cards--4, .ag-features, .ag-grid, .ag-calc-inputs { grid-template-columns: 1fr; }
	.ag-steps { grid-template-columns: 1fr; gap: 0; }
	.ag-step { padding: 0 0 28px 76px !important; min-height: 56px; }
	.ag-step::before { position: absolute; left: 0; top: 0; margin: 0; }
	.ag-step:not(:last-child)::after { display: block !important; left: 27px; top: 60px; bottom: 4px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #cbc6e6 0 6px, transparent 6px 12px); }
	.ag-tl-item { padding-left: 72px !important; }
	.ag-card { padding: 24px !important; }
	.ag-hero-points { gap: 10px; flex-direction: column; }
	.ag-form button[type="submit"], .ag-hero .wp-block-button, .ag-hero .wp-block-button__link { width: 100%; }
	.ag-calc-dl div { flex-wrap: wrap; }
}

/* ---------- v1.0.2 refinements ---------- */
.asigau-site .ag-form fieldset { padding: 0; margin: 0 0 24px; border: 0; }
.asigau-site .ag-btn, .asigau-site button.ag-btn { text-transform: none; letter-spacing: 0; font-family: var(--ag-sans); }
.ag-section--dark .ag-note, .ag-section--dark .ag-lead, .ag-section--dark p { color: #c4bfe6; }
.ag-section--dark a { color: #fff; }
.asigau-site .builder-item--primary-menu .nav-ul { flex-wrap: nowrap; }
.asigau-site .builder-item--primary-menu .nav-ul > li > .wrap > a { white-space: nowrap; }
@media (min-width: 960px) {
	.asigau-site .header-main .container { max-width: 1260px; }
	.asigau-site .builder-item--primary-menu .nav-ul { --spacing: 16px; }
	.asigau-site .builder-item--primary-menu .nav-ul > li { margin-left: 8px !important; margin-right: 8px !important; }
}
@media (min-width: 960px) and (max-width: 1280px) {
	.asigau-site .builder-item--primary-menu .nav-ul > li { margin-left: 6px !important; margin-right: 6px !important; }
	.asigau-site .nav-ul > li > .wrap > a { font-size: 14px; }
	.asigau-site .site-logo .site-title { font-size: 1rem; }
	.asigau-site .header .builder-item .button { padding: 10px 16px; font-size: 14px; }
}
.asigau-site .header .builder-item .button { white-space: nowrap; }
.ag-about-logo img { max-width: 300px; margin: 0 auto; }

.ag-check li { display: block; position: relative; padding-left: 32px; }
.ag-check li::before { position: absolute; left: 0; top: 2px; margin: 0; }
.asigau-site .ag-form legend { margin: 0 0 14px; padding: 0; position: static; left: auto; float: none; width: 100%; }
@media (min-width: 960px) { .asigau-site .site-logo .site-title { white-space: nowrap; } }

/* ---------- v1.0.4 header refinement ---------- */
.asigau-site .header-main { border-bottom: 1px solid rgba(24, 8, 98, .07); box-shadow: 0 1px 12px rgba(24, 8, 98, .04); }
.asigau-site .header-main .header--row-inner, .asigau-site .header-main-inner { min-height: 76px; }
.asigau-site .site-logo .site-title { font-size: 1.08rem !important; letter-spacing: -0.015em; }
.asigau-site .site-logo img { max-height: 40px; }

/* Links: calm weight, indigo hover, animated gold underline */
.asigau-site .builder-item--primary-menu .nav-ul > li > .wrap > a {
	position: relative; font-size: 14.5px; font-weight: 500; color: #2a2740; letter-spacing: -0.005em;
	padding: 8px 0 !important; transition: color .2s ease;
}
.asigau-site .builder-item--primary-menu .nav-ul > li > .wrap > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
	background: var(--ag-gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.asigau-site .builder-item--primary-menu .nav-ul > li > .wrap:hover > a,
.asigau-site .builder-item--primary-menu .nav-ul > li.current-menu-item > .wrap > a,
.asigau-site .builder-item--primary-menu .nav-ul > li.current-menu-ancestor > .wrap > a,
.asigau-site .builder-item--primary-menu .nav-ul > li.current-menu-parent > .wrap > a { color: var(--ag-ink); }
.asigau-site .builder-item--primary-menu .nav-ul > li > .wrap:hover > a::after,
.asigau-site .builder-item--primary-menu .nav-ul > li.current-menu-item > .wrap > a::after,
.asigau-site .builder-item--primary-menu .nav-ul > li.current-menu-ancestor > .wrap > a::after { transform: scaleX(1); }
.asigau-site .builder-item--primary-menu .nav-ul li.current-menu-item > .wrap > a { box-shadow: none; }
.asigau-site .builder-item--primary-menu .nav-ul > li.current-menu-item > .wrap > a { font-weight: 600; }
.asigau-site .builder-item--primary-menu .caret-wrap { margin-left: 4px; opacity: .55; }
.asigau-site .builder-item--primary-menu .caret-wrap svg { width: 9px; height: 9px; }

/* Dropdown */
.asigau-site .builder-item--primary-menu .sub-menu { min-width: 250px; padding: 8px !important; border-radius: 14px; border: 1px solid var(--ag-line); box-shadow: 0 18px 40px rgba(24,8,98,.12); }
.asigau-site .builder-item--primary-menu .sub-menu li > .wrap > a { padding: 9px 12px !important; border-radius: 8px; font-size: 14px; color: var(--ag-text); }
.asigau-site .builder-item--primary-menu .sub-menu li > .wrap:hover > a { background: var(--ag-tint); color: var(--ag-ink); }

/* Compact, refined CTA button */
.asigau-site .header .builder-item .button.button-primary,
.asigau-site .header-main a.button.button-primary {
	font-size: 14px !important; font-weight: 600; line-height: 1 !important; letter-spacing: 0;
	padding: 12px 20px !important; min-height: 0; border-radius: 999px;
	background: var(--ag-ink); color: #fff !important; box-shadow: 0 4px 12px rgba(24,8,98,.18);
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.asigau-site .header .builder-item .button.button-primary:hover,
.asigau-site .header-main a.button.button-primary:hover {
	background: var(--ag-ink-2); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(24,8,98,.24);
}
.asigau-site .header-main .builder-item--button_base { margin-left: 12px; }

@media (min-width: 960px) {
	.asigau-site .builder-item--primary-menu .nav-ul > li { margin-left: 13px !important; margin-right: 13px !important; }
}
@media (min-width: 960px) and (max-width: 1280px) {
	.asigau-site .builder-item--primary-menu .nav-ul > li { margin-left: 9px !important; margin-right: 9px !important; }
	.asigau-site .builder-item--primary-menu .nav-ul > li > .wrap > a { font-size: 14px; }
	.asigau-site .header-main a.button.button-primary { padding: 11px 16px !important; font-size: 13.5px !important; }
}
@media (min-width: 960px) and (max-width: 1399px) {
	.asigau-site .builder-item--primary-menu .nav-ul > li { margin-left: 8px !important; margin-right: 8px !important; }
	.asigau-site .builder-item--primary-menu .nav-ul > li > .wrap > a { font-size: 14px; }
	.asigau-site .header-main .builder-item--button_base { margin-left: 6px; }
}
@media (min-width: 960px) and (max-width: 1180px) {
	.asigau-site .builder-item--primary-menu .nav-ul > li { margin-left: 5px !important; margin-right: 5px !important; }
	.asigau-site .builder-item--primary-menu .nav-ul > li > .wrap > a { font-size: 13.5px; }
	.asigau-site .site-logo .site-title { font-size: .98rem !important; }
}
.asigau-site .builder-item--primary-menu .nav-ul li.menu-item-has-children > .wrap .caret-wrap { margin: 0 0 0 2px !important; }
.asigau-site .builder-item--primary-menu .nav-ul li.menu-item-has-children > .wrap { gap: 0 !important; }
.asigau-site .builder-item--primary-menu .nav-ul li.menu-item-has-children > .wrap .caret-wrap { width: auto !important; min-width: 0 !important; margin: 0 0 0 6px !important; }

/* ---------- v1.0.7 dropdown fix ----------
   The header's backdrop-filter created a stacking context with no z-index,
   so page heroes painted over the dropdown. Lift the header above content. */
.asigau-site header.header, .asigau-site .hfg_header { position: relative; z-index: 1000; }
.asigau-site .header--row.header-main { backdrop-filter: none; }
.asigau-site .builder-item--primary-menu .sub-menu { z-index: 1001; min-width: 240px; padding: 8px !important; margin-top: 6px; }
.asigau-site .builder-item--primary-menu .sub-menu li > .wrap { padding: 0 !important; }
.asigau-site .builder-item--primary-menu .sub-menu li > .wrap > a { display: block; width: 100%; padding: 10px 14px !important; line-height: 1.3; white-space: nowrap; }
.asigau-site .builder-item--primary-menu .sub-menu li:first-child { border-bottom: 1px solid var(--ag-line); margin-bottom: 6px; padding-bottom: 6px; }
.asigau-site .builder-item--primary-menu .sub-menu li:first-child > .wrap > a { font-weight: 600; color: var(--ag-ink); }
.asigau-site .builder-item--primary-menu .sub-menu li.current-menu-item > .wrap > a { background: var(--ag-tint); color: var(--ag-ink); font-weight: 600; }
/* Bridge the gap so the menu doesn't close while moving the cursor into it */
.asigau-site .builder-item--primary-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }

/* ---------- v1.0.8 dropdown icons ---------- */
.asigau-site .sub-menu li > .wrap > a { display: flex !important; align-items: center; gap: 12px; }
.asigau-site .sub-menu li > .wrap > a::before {
	content: ""; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px;
	background: var(--ag-ic, none) center / 16px no-repeat, var(--ag-tint-2);
	transition: background-color .2s ease, transform .2s ease;
}
.asigau-site .sub-menu li > .wrap:hover > a::before, .asigau-site .sub-menu li.current-menu-item > .wrap > a::before { background-color: #fff; box-shadow: 0 0 0 1px var(--ag-line); }
.asigau-site .sub-menu li:first-child > .wrap > a::before { background-color: var(--ag-ink); }
.asigau-site .sub-menu li > .wrap > a[href$="/mortgage-solutions/"] { --ag-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.asigau-site .sub-menu li > .wrap > a[href*="/first-home-buyers/"] { --ag-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.8-9.8M17 6l3 3M14.5 8.5l2 2'/%3E%3C/svg%3E"); }
.asigau-site .sub-menu li > .wrap > a[href*="/home-purchase/"] { --ag-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.asigau-site .sub-menu li > .wrap > a[href*="/home-construction/"] { --ag-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M5 20V9l7-5 7 5v11M9 20v-5h6v5M9 11h.01M15 11h.01'/%3E%3C/svg%3E"); }
.asigau-site .sub-menu li > .wrap > a[href*="/property-investment/"] { --ag-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.asigau-site .sub-menu li > .wrap > a[href*="/refinancing/"] { --ag-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.6-6.4L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E"); }
.asigau-site .sub-menu li > .wrap > a[href*="/commercial-property/"] { --ag-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='1'/%3E%3Cpath d='M9 22v-4h6v4M8 6h.01M12 6h.01M16 6h.01M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M16 14h.01'/%3E%3C/svg%3E"); }
.header-menu-sidebar .sub-menu li > .wrap > a::before { flex-basis: 26px; width: 26px; height: 26px; background-size: 14px; }

/* ---------- v1.0.9 footer ---------- */
.ag-footer {
	position: relative; overflow: hidden; color: #b9b4dc; font-size: 15px;
	background:
		radial-gradient(900px 420px at 100% 0%, rgba(91, 74, 214, .28), transparent 60%),
		radial-gradient(700px 380px at 0% 100%, rgba(195, 155, 69, .10), transparent 60%),
		var(--ag-deep);
	padding: 56px 0 0;
}
.ag-footer::before { /* fine top hairline with gold accent */
	content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
	background: linear-gradient(90deg, transparent, var(--ag-gold) 20%, #6f5ee0 60%, transparent);
	opacity: .8;
}
.ag-footer .ag-wrap { position: relative; z-index: 1; }
.ag-footer a { color: #e3e0f6; text-decoration: none; transition: color .2s ease; }
.ag-footer a:hover { color: #fff; }
.ag-footer .ag-ico { width: 16px; height: 16px; flex: 0 0 16px; }

/* CTA strip: glass card */
.ag-fcta {
	display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
	padding: 26px 30px; border-radius: 20px;
	background: linear-gradient(120deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
	border: 1px solid rgba(255,255,255,.10);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.ag-fcta-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ag-gold); }
.ag-fcta h2 { margin: 0; color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; }
.ag-fcta-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ag-fcta .ag-btn { padding: 13px 22px; font-size: 15px; }
.ag-fcta .ag-btn span { transition: transform .2s ease; display: inline-block; }
.ag-fcta .ag-btn:hover span { transform: translateX(3px); }
.ag-fcta-call {
	display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,.18); color: #fff !important; font-weight: 600; font-size: 15px;
}
.ag-fcta-call:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.32); }

/* Main grid */
.ag-fmain { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 44px; }
.ag-fbrand-mark { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ag-fbrand-icon { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.ag-fbrand-icon img { width: 32px; height: 32px; display: block; }
.ag-fbrand-name { display: flex; flex-direction: column; line-height: 1.1; }
.ag-fbrand-name strong { font: 800 1.35rem/1 var(--ag-head); color: #fff; letter-spacing: .02em; text-transform: uppercase; }
.ag-fbrand-name small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #a9a3d4; margin-top: 4px; }
.ag-fbrand > p { margin: 0 0 18px; max-width: 340px; line-height: 1.6; }
.ag-fchips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ag-fchips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.ag-fchips a:hover { background: rgba(255,255,255,.12); }
.ag-faddr { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px !important; font-size: 13.5px; color: #9d97c8; }
.ag-faddr .ag-ico { margin-top: 2px; opacity: .8; }

.ag-fcol h3 { margin: 4px 0 16px; font: 600 12px/1 var(--ag-sans); letter-spacing: .16em; text-transform: uppercase; color: #8e88bd; }
.ag-fcol ul { list-style: none; margin: 0; padding: 0; }
.ag-fcol li { margin: 0 0 10px; }
.ag-fcol a { position: relative; font-size: 14.5px; color: #d6d2ef; }
.ag-fcol a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 1.5px; background: var(--ag-gold); opacity: 0; transform: translateX(-4px); transition: all .2s ease; }
.ag-fcol a:hover::before { opacity: 1; transform: none; }

/* Bottom bar */
.ag-fbottom { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #8e88bd; }
.ag-fbottom p { margin: 0; }
.ag-fdisclaimer { flex: 1; min-width: 240px; }
.ag-fdisclaimer .ag-licence { display: inline; margin-left: 6px; color: inherit; }
.ag-ftop { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; }
.ag-ftop:hover { border-color: var(--ag-gold); color: var(--ag-gold) !important; }

/* Oversized outlined wordmark (decorative typography) */
.ag-fword {
	font: 800 clamp(5rem, 19vw, 17rem)/.8 var(--ag-head); letter-spacing: -0.03em; text-align: center;
	color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09);
	background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 75%); -webkit-background-clip: text; background-clip: text;
	margin-bottom: -0.18em; user-select: none; pointer-events: none; white-space: nowrap;
}

@media (max-width: 1000px) {
	.ag-fmain { grid-template-columns: 1fr 1fr 1fr; }
	.ag-fbrand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.ag-footer { padding-top: 40px; }
	.ag-fcta { padding: 22px; }
	.ag-fcta-actions, .ag-fcta .ag-btn, .ag-fcta-call { width: 100%; justify-content: center; }
	.ag-fmain { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 40px 0 32px; }
	.ag-fcol:last-child { grid-column: 1 / -1; }
	.ag-fbottom { flex-direction: column; align-items: flex-start; }
}
/* Neve scroll-to-top: match brand */
.asigau-site .scroll-to-top { width: 44px; height: 44px; border-radius: 50% !important; background: var(--ag-ink) !important; box-shadow: 0 8px 20px rgba(24,8,98,.28); display: grid; place-items: center; }
.asigau-site .scroll-to-top:hover { background: var(--ag-ink-2) !important; }
.asigau-site .scroll-to-top svg { width: 14px; height: 14px; }

/* ==========================================================================
   v1.1.0 — Mobile navigation: sticky header, app-style menu panel,
   quick-action bar and collapsible footer menus
   ========================================================================== */

/* Footer column toggles (behave as plain headings on desktop) */
.ag-fcol-toggle { all: unset; display: flex; align-items: center; justify-content: space-between; width: 100%; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: default; }
.ag-fcol-toggle:focus-visible { outline: 2px solid var(--ag-gold); outline-offset: 4px; border-radius: 4px; }
.ag-fcol-chev { display: none; }
.ag-mbar { display: none; }

@media (max-width: 959px) {
	/* Sticky header (overflow:clip keeps sticky working inside Neve's wrapper) */
	.asigau-site .wrapper { overflow: clip; }
	.asigau-site header.header { position: sticky; top: 0; }
	.asigau-site .header-main { box-shadow: 0 1px 0 var(--ag-line), 0 6px 18px rgba(24,8,98,.05); }
	.asigau-site .header--row-inner { min-height: 64px; }
	.asigau-site .site-logo .site-title { font-size: 1rem !important; }
	.asigau-site .site-logo img { max-height: 34px; }

	/* Hamburger */
	.asigau-site .header .navbar-toggle-wrapper .navbar-toggle {
		width: 44px; height: 44px; padding: 0 !important; border: 0 !important; border-radius: 12px;
		background: var(--ag-tint-2) !important; display: grid !important; place-items: center; transition: background-color .2s;
	}
	.asigau-site .header .navbar-toggle-wrapper .navbar-toggle:hover { background: #e2dff3 !important; }
	.asigau-site .navbar-toggle .bars { width: 20px; }
	.asigau-site .navbar-toggle .icon-bar { background: var(--ag-ink) !important; width: 20px !important; height: 2px !important; border-radius: 2px; }

	/* Slide-in panel */
	.asigau-site .header-menu-sidebar { width: min(88vw, 380px) !important; max-width: none !important; box-shadow: 0 0 60px rgba(14,5,64,.28); }
	.asigau-site .header-menu-sidebar-bg { background: #fff !important; min-height: 100%; }
	.asigau-site .header-menu-sidebar-overlay { background: rgba(14,5,64,.45) !important; backdrop-filter: blur(2px); }
	.asigau-site .close-sidebar-panel {
		display: flex !important; align-items: center; justify-content: space-between; gap: 12px;
		padding: 12px 18px !important; margin: 0 !important; border-bottom: 1px solid var(--ag-line);
		position: sticky; top: 0; z-index: 3; background: #fff;
	}
	.asigau-site .close-sidebar-panel .navbar-toggle {
		width: 42px; height: 42px; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50%;
		background: var(--ag-tint-2) !important; display: grid !important; place-items: center;
	}
	.ag-mnav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
	.ag-mnav-brand img { width: 34px; height: 34px; }
	.ag-mnav-brand span { display: flex; flex-direction: column; line-height: 1.05; }
	.ag-mnav-brand strong { font: 800 1.05rem/1 var(--ag-head); color: var(--ag-ink); text-transform: uppercase; letter-spacing: .03em; }
	.ag-mnav-brand small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ag-muted); margin-top: 3px; }
	.asigau-site .header-menu-sidebar-inner { padding: 6px 18px 32px !important; }
	.asigau-site .header-menu-sidebar .builder-item--button_base { display: none !important; } /* replaced by full-width CTA */

	/* Top-level items: large tap targets */
	.asigau-site .header-menu-sidebar .nav-ul { flex-direction: column; width: 100%; }
	.asigau-site .header-menu-sidebar .nav-ul > li { width: 100%; margin: 0 !important; border-bottom: 1px solid var(--ag-line); }
	.asigau-site .header-menu-sidebar .nav-ul > li > .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 !important; }
	.asigau-site .header-menu-sidebar .nav-ul > li > .wrap > a {
		flex: 1; padding: 15px 0 !important; font-size: 17px !important; font-weight: 500; color: var(--ag-text); white-space: normal;
	}
	.asigau-site .header-menu-sidebar .nav-ul > li > .wrap > a::after { display: none !important; }
	.asigau-site .header-menu-sidebar .nav-ul > li.current-menu-item > .wrap > a,
	.asigau-site .header-menu-sidebar .nav-ul > li.current-menu-ancestor > .wrap > a { color: var(--ag-ink); font-weight: 700; }
	.asigau-site .header-menu-sidebar .nav-ul > li.current-menu-item > .wrap > a::before {
		content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ag-gold); margin: 0 10px 2px 0; vertical-align: middle;
	}
	/* Submenu toggle */
	.asigau-site .header-menu-sidebar .nav-ul li.menu-item-has-children > .wrap .caret-wrap {
		width: 40px !important; height: 40px; flex: 0 0 40px; margin: 0 !important; padding: 0 !important; border: 0 !important;
		border-radius: 10px; background: var(--ag-tint-2); display: grid !important; place-items: center; opacity: 1;
	}
	.asigau-site .header-menu-sidebar .caret-wrap svg { width: 12px !important; height: 12px !important; fill: var(--ag-ink); transition: transform .25s ease; }
	.asigau-site .header-menu-sidebar li.ag-open > .wrap .caret-wrap svg,
	.asigau-site .header-menu-sidebar li.dropdown-open > .wrap .caret-wrap svg { transform: rotate(180deg); }
	/* Submenu: inline list, not a floating card */
	.asigau-site .header-menu-sidebar .builder-item--primary-menu .sub-menu {
		position: static !important; min-width: 0; width: 100%; margin: 0 0 12px !important; padding: 4px !important;
		border: 0; border-radius: 14px; background: var(--ag-tint); box-shadow: none; opacity: 1; visibility: visible; transform: none;
	}
	.asigau-site .header-menu-sidebar .builder-item--primary-menu .sub-menu::before { display: none; }
	.asigau-site .header-menu-sidebar .sub-menu li { border: 0 !important; margin: 0 !important; padding: 0 !important; }
	.asigau-site .header-menu-sidebar .sub-menu li > .wrap > a { padding: 10px 10px !important; font-size: 15.5px !important; white-space: normal; border-radius: 10px; }
	.asigau-site .header-menu-sidebar .sub-menu li > .wrap > a::before { background-color: #fff; }
	.asigau-site .header-menu-sidebar .sub-menu li:first-child > .wrap > a::before { background-color: var(--ag-ink); }

	/* Panel footer: CTA + contact shortcuts */
	.ag-mnav-extra { display: grid; gap: 14px; margin-top: 24px; }
	.ag-mnav-cta { width: 100%; padding: 15px 20px !important; font-size: 16px !important; box-sizing: border-box; }
	.ag-mnav-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
	.ag-mnav-contact a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 64px;
		border: 1px solid var(--ag-line); border-radius: 14px; font-size: 13.5px; font-weight: 600; color: var(--ag-ink) !important; text-decoration: none;
	}
	.ag-mnav-contact a:active { background: var(--ag-tint); }
	.ag-mnav-note { margin: 0 !important; text-align: center; font-size: 13px; color: var(--ag-muted); }
}

@media (min-width: 601px) and (max-width: 959px) { .admin-bar header.header { top: 46px; } }
@media (min-width: 783px) and (max-width: 959px) { .admin-bar header.header { top: 32px; } }

/* Phones: floating quick-action bar */
@media (max-width: 767px) {
	.ag-mbar {
		position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 900;
		display: grid; grid-template-columns: auto auto 1fr; gap: 8px; padding: 8px;
		background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
		border: 1px solid var(--ag-line); border-radius: 18px; box-shadow: 0 12px 32px rgba(14,5,64,.18);
		transition: transform .3s ease, opacity .3s ease;
	}
	.ag-mbar.is-hidden, body.is-menu-sidebar .ag-mbar { transform: translateY(150%); opacity: 0; pointer-events: none; }
	.ag-mbar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 66px; height: 52px;
		border-radius: 12px; background: var(--ag-tint); color: var(--ag-ink) !important; font-size: 11.5px; font-weight: 600; text-decoration: none;
	}
	.ag-mbar a .ag-ico { width: 19px; height: 19px; }
	.ag-mbar .ag-mbar-enq { flex-direction: row; background: var(--ag-ink); color: #fff !important; font-size: 15px; box-shadow: 0 6px 14px rgba(24,8,98,.25); }
	.has-ag-mbar .ag-footer { padding-bottom: 84px; }
	.asigau-site .scroll-to-top { bottom: 92px !important; right: 16px !important; }
}

/* Phones: collapsible footer menus */
@media (max-width: 640px) {
	.ag-fmain { grid-template-columns: 1fr; gap: 0; padding: 36px 0 28px; }
	.ag-fbrand { padding-bottom: 24px; }
	.ag-fcol { border-top: 1px solid rgba(255,255,255,.09); }
	.ag-fcol:last-child { border-bottom: 1px solid rgba(255,255,255,.09); grid-column: auto; }
	.ag-fcol h3 { margin: 0; font-size: 12.5px; color: #c9c4ea; }
	.ag-fcol-toggle { cursor: pointer; padding: 18px 2px; }
	.ag-fcol-chev { display: block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s ease; }
	.ag-fcol-toggle[aria-expanded="true"] .ag-fcol-chev { transform: rotate(-135deg) translate(-2px, -2px); }
	.ag-js .ag-fcol.is-collapsed ul { display: none; }
	.ag-fcol ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 0 2px 14px; }
	.ag-fcol li { margin: 0; }
	.ag-fcol a { display: block; padding: 9px 0; font-size: 15px; }
	.ag-fcol a::before { display: none; }
	.ag-fchips a { padding: 10px 16px; }
	.ag-fbottom { padding-top: 22px; gap: 14px; }
	.ag-ftop { align-self: stretch; justify-content: center; padding: 11px 14px; }
	.ag-fword { font-size: 30vw; }
}
@media (max-width: 959px) {
	.asigau-site .wrapper { overflow: clip !important; }
	.asigau-site .header-menu-sidebar .builder-item.has-nav,
	.asigau-site .header-menu-sidebar .builder-item--primary-menu,
	.asigau-site .header-menu-sidebar .nav-menu-primary,
	.asigau-site .header-menu-sidebar .nav-ul { width: 100% !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
}
/* Phones: the quick-action bar and footer "Back to top" replace Neve's floating button */
@media (max-width: 767px) { .asigau-site .scroll-to-top { display: none !important; } }

/* v1.1.2 — faded logo mark in the footer backdrop */
.ag-footer::after {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	width: min(620px, 60vw); aspect-ratio: 1; right: -110px; top: 150px;
	background: url("asigau-icon.png") center / contain no-repeat;
	filter: brightness(0) invert(1); opacity: .045;
}
@media (max-width: 640px) {
	.ag-footer::after { width: 360px; right: -140px; top: auto; bottom: 120px; opacity: .05; }
}
