/**
 * Advixy Fiscal Landing Design
 *
 * Presentation only. All selectors are scoped to the three fiscal landing
 * pages through the body class added by the plugin.
 */

body.advixy-fiscal-landing {
	--af-navy-950: #071d38;
	--af-navy-900: #0c294e;
	--af-navy-800: #14345f;
	--af-navy-700: #1d4779;
	--af-gold-500: #f4c247;
	--af-gold-300: #f8db83;
	--af-ink: #15233a;
	--af-muted: #52647b;
	--af-line: #dce5ef;
	--af-sky: #edf4fa;
	--af-cream: #fff8e6;
	--af-canvas: #f7f8fa;
	--af-white: #ffffff;
	--af-radius-xl: 40px;
	--af-radius-lg: 30px;
	--af-radius-md: 20px;
	--af-shadow-xl: 0 32px 80px rgba(7, 29, 56, 0.16);
	--af-shadow-lg: 0 20px 55px rgba(20, 52, 95, 0.11);
	--af-shadow-md: 0 12px 34px rgba(20, 52, 95, 0.09);
}

body.advixy-fiscal-landing .wpr-post-content {
	background:
		radial-gradient(circle at 8% 21%, rgba(244, 194, 71, 0.08), transparent 24rem),
		linear-gradient(180deg, #ffffff 0, var(--af-canvas) 22rem, #ffffff 100%);
	color: var(--af-ink);
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow: clip;
}

body.advixy-fiscal-landing .wpr-post-content :where(h1, h2, h3, p, li) {
	text-wrap: pretty;
}

body.advixy-fiscal-landing .wpr-post-content :where(p, li) {
	color: var(--af-ink) !important;
	font-size: 17px !important;
	line-height: 1.72 !important;
}

body.advixy-fiscal-landing .wpr-post-content a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 0.08em;
}

body.advixy-fiscal-landing .wpr-post-content a:focus-visible {
	outline: 3px solid var(--af-gold-500);
	outline-offset: 4px;
}

/* Hero */
body.advixy-fiscal-landing .advixy-service-hero {
	isolation: isolate;
	position: relative;
	overflow: hidden;
	margin-top: 42px !important;
	margin-bottom: 30px !important;
	padding: 76px 68px 70px !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: var(--af-radius-xl) !important;
	background:
		radial-gradient(circle at 88% 13%, rgba(244, 194, 71, 0.27), transparent 27%),
		radial-gradient(circle at 4% 100%, rgba(83, 139, 190, 0.24), transparent 31%),
		linear-gradient(135deg, var(--af-navy-950) 0%, var(--af-navy-800) 58%, #1b4779 100%) !important;
	box-shadow: var(--af-shadow-xl);
}

body.advixy-fiscal-landing .advixy-service-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	opacity: 0.22;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 48%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 8%, #000 48%, #000 100%);
}

body.advixy-fiscal-landing .advixy-service-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 380px;
	aspect-ratio: 1;
	right: -185px;
	bottom: -250px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	box-shadow:
		0 0 0 52px rgba(255, 255, 255, 0.025),
		0 0 0 104px rgba(255, 255, 255, 0.02);
}

body.advixy-fiscal-landing .advixy-service-hero > .wp-block-group__inner-container {
	max-width: none !important;
}

body.advixy-fiscal-landing :is(
	.advixy-service-hero,
	.advixy-spainwide-proof,
	.advixy-service-section,
	.advixy-related-resources,
	.advixy-fiscal-sources,
	.advixy-service-cta
) > .wp-block-group__inner-container > * {
	max-width: none !important;
}

body.advixy-fiscal-landing .advixy-service-hero .wp-block-columns {
	display: grid !important;
	grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
	align-items: center !important;
	gap: clamp(42px, 5vw, 76px);
	margin: 0 !important;
}

body.advixy-fiscal-landing .advixy-service-hero .wp-block-column {
	min-width: 0;
}

body.advixy-fiscal-landing .advixy-service-hero h1 {
	max-width: 760px;
	margin: 0 0 24px !important;
	color: var(--af-white) !important;
	font-size: clamp(44px, 4.35vw, 64px) !important;
	font-weight: 600 !important;
	letter-spacing: -0.048em;
	line-height: 1.04 !important;
}

body.advixy-fiscal-landing .advixy-service-hero p {
	max-width: 710px;
	margin: 0 !important;
	color: rgba(255, 255, 255, 0.86) !important;
	font-size: clamp(17px, 1.5vw, 19px) !important;
	line-height: 1.72 !important;
}

body.advixy-fiscal-landing .advixy-service-hero p strong {
	color: var(--af-white);
	font-weight: 600;
}

body.advixy-fiscal-landing .advixy-service-hero .wp-block-buttons {
	align-items: stretch;
	gap: 12px;
	margin-top: 30px !important;
}

body.advixy-fiscal-landing .advixy-service-hero .wp-block-button__link,
body.advixy-fiscal-landing .advixy-service-cta .wp-block-button__link {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 13px 24px !important;
	border-radius: 999px !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

body.advixy-fiscal-landing .advixy-service-hero .wp-block-button:first-child .wp-block-button__link,
body.advixy-fiscal-landing .advixy-service-cta .wp-block-button:first-child .wp-block-button__link {
	border: 1px solid var(--af-gold-500) !important;
	background: var(--af-gold-500) !important;
	color: var(--af-navy-950) !important;
	box-shadow: 0 12px 30px rgba(244, 194, 71, 0.22);
}

body.advixy-fiscal-landing .advixy-service-hero .is-style-outline .wp-block-button__link,
body.advixy-fiscal-landing .advixy-service-cta .is-style-outline .wp-block-button__link {
	border: 1px solid rgba(255, 255, 255, 0.62) !important;
	background: rgba(255, 255, 255, 0.06) !important;
	color: var(--af-white) !important;
	backdrop-filter: blur(8px);
}

body.advixy-fiscal-landing .advixy-service-hero .wp-block-button__link:hover,
body.advixy-fiscal-landing .advixy-service-cta .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(7, 29, 56, 0.22);
}

body.advixy-fiscal-landing .advixy-service-hero .wp-block-column:last-child {
	position: relative;
}

body.advixy-fiscal-landing .advixy-service-hero .wp-block-column:last-child::before {
	content: "360°";
	position: absolute;
	z-index: 2;
	left: -24px;
	bottom: -18px;
	display: flex;
	width: 92px;
	aspect-ratio: 1;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 8px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background: var(--af-gold-500);
	color: var(--af-navy-950);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1 !important;
	text-align: center;
	text-indent: 0;
	box-shadow: 0 16px 35px rgba(7, 29, 56, 0.28);
}

body.advixy-fiscal-landing .advixy-service-hero figure {
	position: relative;
	margin: 0 !important;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.46);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 28px 64px rgba(5, 20, 39, 0.36);
	transform: rotate(1.25deg);
	transition: transform 260ms ease;
}

body.advixy-fiscal-landing .advixy-service-hero figure:hover {
	transform: rotate(0deg) translateY(-3px);
}

body.advixy-fiscal-landing .advixy-service-hero img {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 4 / 3;
	height: auto !important;
	object-fit: cover;
	object-position: center;
	border-radius: 20px;
}

/* Spain-wide positioning block */
body.advixy-fiscal-landing .advixy-spainwide-proof {
	position: relative;
	overflow: hidden;
	margin: 30px 0 38px !important;
	padding: 46px 48px !important;
	border: 0 !important;
	border-radius: var(--af-radius-lg) !important;
	background:
		linear-gradient(115deg, rgba(244, 194, 71, 0.14), transparent 38%),
		var(--af-white) !important;
	box-shadow: var(--af-shadow-lg);
}

body.advixy-fiscal-landing .advixy-spainwide-proof::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 8px;
	background: linear-gradient(180deg, var(--af-gold-500), var(--af-gold-300));
}

body.advixy-fiscal-landing .advixy-spainwide-proof::after {
	content: "";
	position: absolute;
	width: 210px;
	aspect-ratio: 1;
	right: -96px;
	top: -120px;
	border: 38px solid rgba(20, 52, 95, 0.04);
	border-radius: 50%;
}

body.advixy-fiscal-landing .advixy-spainwide-proof > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.6fr);
	gap: 8px 52px;
	align-items: start;
	max-width: none !important;
}

body.advixy-fiscal-landing .advixy-spainwide-proof h2 {
	grid-row: 1 / span 2;
	margin: 0 !important;
	color: var(--af-navy-900) !important;
	font-size: clamp(29px, 3vw, 39px) !important;
	font-weight: 600 !important;
	letter-spacing: -0.035em;
	line-height: 1.15 !important;
}

body.advixy-fiscal-landing .advixy-spainwide-proof p {
	margin: 0 !important;
	color: var(--af-muted) !important;
}

body.advixy-fiscal-landing .advixy-spainwide-proof p:last-child {
	align-self: end;
	margin-top: 12px !important;
	padding-top: 17px;
	border-top: 1px solid var(--af-line);
	color: var(--af-navy-800) !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}

/* Shared editorial sections */
body.advixy-fiscal-landing :is(
	.advixy-service-section,
	.advixy-related-resources,
	.advixy-fiscal-sources,
	.advixy-service-cta
) {
	position: relative;
	margin-top: 34px !important;
	margin-bottom: 34px !important;
	border: 0 !important;
	border-radius: var(--af-radius-lg) !important;
}

body.advixy-fiscal-landing .advixy-service-section {
	padding: 56px 54px !important;
	background: var(--af-white) !important;
	box-shadow: var(--af-shadow-md);
}

body.advixy-fiscal-landing .advixy-service-section > .wp-block-group__inner-container,
body.advixy-fiscal-landing .advixy-related-resources > .wp-block-group__inner-container,
body.advixy-fiscal-landing .advixy-service-cta > .wp-block-group__inner-container {
	max-width: none !important;
}

body.advixy-fiscal-landing .advixy-service-section h2,
body.advixy-fiscal-landing .advixy-related-resources h2,
body.advixy-fiscal-landing .advixy-service-cta h2 {
	max-width: 900px;
	margin: 0 0 32px !important;
	color: var(--af-navy-900) !important;
	font-size: clamp(30px, 3vw, 42px) !important;
	font-weight: 600 !important;
	letter-spacing: -0.038em;
	line-height: 1.16 !important;
}

body.advixy-fiscal-landing .advixy-service-section h2::before {
	display: inline-grid;
	width: 42px;
	height: 42px;
	margin: 0 14px 6px 0;
	place-items: center;
	border-radius: 13px;
	background: var(--af-gold-500);
	color: var(--af-navy-950);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	vertical-align: middle;
	box-shadow: 0 8px 20px rgba(244, 194, 71, 0.24);
}

body.advixy-fiscal-landing .advixy-service-section-1 h2::before { content: "01"; }
body.advixy-fiscal-landing .advixy-service-section-2 h2::before { content: "02"; }
body.advixy-fiscal-landing .advixy-service-section-3 h2::before { content: "03"; }
body.advixy-fiscal-landing .advixy-service-section-4 h2::before { content: "04"; }
body.advixy-fiscal-landing .advixy-service-section-5 h2::before { content: "05"; }
body.advixy-fiscal-landing .advixy-service-section-6 h2::before { content: "06"; }
body.advixy-fiscal-landing .advixy-service-section-7 h2::before { content: "07"; }
body.advixy-fiscal-landing .advixy-service-section-8 h2::before { content: "08"; }

body.advixy-fiscal-landing .advixy-service-section ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.advixy-fiscal-landing .advixy-service-section li {
	position: relative;
	margin: 0;
}

body.advixy-fiscal-landing .advixy-service-section :where(h3, p, ul, ol):last-child {
	margin-bottom: 0 !important;
}

/* 01 — services */
body.advixy-fiscal-landing .advixy-service-section-1 {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(237, 244, 250, 0.94)),
		var(--af-sky) !important;
}

body.advixy-fiscal-landing .advixy-service-section-1 ul {
	counter-reset: fiscal-service;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

body.advixy-fiscal-landing .advixy-service-section-1 li {
	counter-increment: fiscal-service;
	min-height: 100%;
	padding: 22px 22px 22px 64px;
	border: 1px solid rgba(20, 52, 95, 0.09);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 8px 20px rgba(20, 52, 95, 0.04);
}

body.advixy-fiscal-landing .advixy-service-section-1 li::before {
	content: counter(fiscal-service, decimal-leading-zero);
	position: absolute;
	left: 18px;
	top: 21px;
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 10px;
	background: var(--af-navy-900);
	color: var(--af-white);
	font-size: 11px;
	font-weight: 700;
}

body.advixy-fiscal-landing .advixy-service-section-1 > .wp-block-group__inner-container > p:last-child,
body.advixy-fiscal-landing .advixy-service-section-7 > .wp-block-group__inner-container > p:last-child {
	margin: 22px 0 0 !important;
	padding: 20px 22px;
	border-left: 4px solid var(--af-gold-500);
	border-radius: 0 16px 16px 0;
	background: var(--af-cream);
}

/* 02 — reasons to choose */
body.advixy-fiscal-landing .advixy-service-section-2 ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

body.advixy-fiscal-landing .advixy-service-section-2 li {
	padding: 22px 22px 22px 52px;
	border: 1px solid var(--af-line);
	border-radius: 18px;
	background: var(--af-white);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.advixy-fiscal-landing .advixy-service-section-2 li:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

body.advixy-fiscal-landing .advixy-service-section-2 li::before,
body.advixy-fiscal-landing .advixy-service-section-7 li::before {
	content: "";
	position: absolute;
	left: 22px;
	top: 29px;
	width: 10px;
	height: 10px;
	border: 4px solid rgba(244, 194, 71, 0.32);
	border-radius: 50%;
	background: var(--af-gold-500);
}

body.advixy-fiscal-landing .advixy-service-section-2 li:hover {
	transform: translateY(-3px);
	border-color: rgba(244, 194, 71, 0.72);
	box-shadow: var(--af-shadow-md);
}

/* 03 — process */
body.advixy-fiscal-landing .advixy-service-section-3 {
	overflow: hidden;
	background:
		radial-gradient(circle at 96% 8%, rgba(244, 194, 71, 0.22), transparent 30%),
		linear-gradient(135deg, var(--af-navy-950), var(--af-navy-800)) !important;
	box-shadow: var(--af-shadow-xl);
}

body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: auto auto 1fr;
	gap: 0 18px;
	max-width: none !important;
}

body.advixy-fiscal-landing .advixy-service-section-3 h2 {
	grid-column: 1 / -1;
	color: var(--af-white) !important;
}

body.advixy-fiscal-landing .advixy-service-section-3 h2::before {
	background: var(--af-white);
}

body.advixy-fiscal-landing .advixy-service-section-3 :is(h3, p) {
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.09);
}

body.advixy-fiscal-landing .advixy-service-section-3 h3 {
	position: relative;
	padding: 27px 24px 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px 20px 0 0;
	color: var(--af-white) !important;
	font-size: 21px !important;
	line-height: 1.35 !important;
}

body.advixy-fiscal-landing .advixy-service-section-3 p {
	padding: 0 24px 27px;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0 0 20px 20px;
	color: rgba(255, 255, 255, 0.78) !important;
}

body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container > :nth-child(2),
body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container > :nth-child(3) { grid-column: 1; }
body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container > :nth-child(4),
body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container > :nth-child(5) { grid-column: 2; }
body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container > :nth-child(6),
body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container > :nth-child(7) { grid-column: 3; }
body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container > :is(:nth-child(2), :nth-child(4), :nth-child(6)) { grid-row: 2; }
body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container > :is(:nth-child(3), :nth-child(5), :nth-child(7)) { grid-row: 3; }

/* 04 — Canary tax regime */
body.advixy-fiscal-landing .advixy-service-section-4 {
	background:
		linear-gradient(140deg, rgba(255, 255, 255, 0.5), transparent 50%),
		var(--af-cream) !important;
}

body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto auto 1fr auto 1fr;
	gap: 0 16px;
	max-width: none !important;
}

body.advixy-fiscal-landing .advixy-service-section-4 h2 {
	grid-column: 1 / -1;
}

body.advixy-fiscal-landing .advixy-service-section-4 :is(h3, p) {
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.88);
}

body.advixy-fiscal-landing .advixy-service-section-4 h3 {
	padding: 24px 24px 10px;
	border: 1px solid rgba(20, 52, 95, 0.1);
	border-bottom: 0;
	border-radius: 18px 18px 0 0;
	color: var(--af-navy-900) !important;
	font-size: 21px !important;
	line-height: 1.35 !important;
}

body.advixy-fiscal-landing .advixy-service-section-4 p {
	padding: 0 24px 24px;
	border: 1px solid rgba(20, 52, 95, 0.1);
	border-top: 0;
	border-radius: 0 0 18px 18px;
	color: var(--af-muted) !important;
}

body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :nth-child(2),
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :nth-child(3),
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :nth-child(6),
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :nth-child(7) { grid-column: 1; }
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :nth-child(4),
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :nth-child(5),
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :nth-child(8),
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :nth-child(9) { grid-column: 2; }
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :is(:nth-child(2), :nth-child(4)) { grid-row: 2; }
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :is(:nth-child(3), :nth-child(5)) { grid-row: 3; }
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :is(:nth-child(6), :nth-child(8)) {
	grid-row: 4;
	margin-top: 16px !important;
}
body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container > :is(:nth-child(7), :nth-child(9)) { grid-row: 5; }

/* 05 — sectors */
body.advixy-fiscal-landing .advixy-service-section-5 {
	padding-right: 10px !important;
	padding-left: 10px !important;
	background: transparent !important;
	box-shadow: none;
}

body.advixy-fiscal-landing .advixy-service-section-5 ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

body.advixy-fiscal-landing .advixy-service-section-5 li {
	padding: 18px 20px;
	border: 1px solid var(--af-line);
	border-radius: 16px;
	background: var(--af-white);
	box-shadow: 0 8px 20px rgba(20, 52, 95, 0.045);
}

body.advixy-fiscal-landing .advixy-service-section-5 li::after {
	content: "";
	position: absolute;
	top: 0;
	left: 20px;
	width: 32px;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: var(--af-gold-500);
}

/* 06 — local coverage */
body.advixy-fiscal-landing .advixy-service-section-6 {
	overflow: hidden;
	padding: 58px 54px 60px 38% !important;
	background-image:
		linear-gradient(90deg, rgba(7, 29, 56, 0.04) 0 29%, rgba(7, 29, 56, 0.96) 39%, rgba(20, 52, 95, 0.98) 100%),
		url("../images/advixy-tax-strategy-detail.webp"),
		linear-gradient(120deg, var(--af-navy-950), var(--af-navy-700)) !important;
	background-position: center, left 47%, center;
	background-repeat: no-repeat;
	background-size: 100% 100%, 38% auto, cover;
	box-shadow: var(--af-shadow-xl);
}

body.advixy-fiscal-landing .advixy-service-section-6::before,
body.advixy-fiscal-landing .advixy-service-section-6::after {
	content: "";
	position: absolute;
	z-index: 1;
}

body.advixy-fiscal-landing .advixy-service-section-6::before {
	width: 5px;
	height: 56%;
	left: 35%;
	top: 22%;
	border-radius: 999px;
	background: var(--af-gold-500);
	box-shadow: 0 0 0 8px rgba(244, 194, 71, 0.12);
}

body.advixy-fiscal-landing .advixy-service-section-6::after {
	inset: 0;
	pointer-events: none;
	background: linear-gradient(120deg, transparent 0 64%, rgba(244, 194, 71, 0.08) 100%);
}

body.advixy-fiscal-landing .advixy-service-section-6 :is(h2, p) {
	position: relative;
	z-index: 1;
	color: var(--af-white) !important;
}

body.advixy-fiscal-landing .advixy-service-section-6 h2::before {
	background: var(--af-white);
}

body.advixy-fiscal-landing .advixy-service-section-6 p {
	color: rgba(255, 255, 255, 0.8) !important;
}

/* 07 — included services */
body.advixy-fiscal-landing .advixy-service-section-7 {
	background:
		linear-gradient(145deg, rgba(237, 244, 250, 0.66), transparent 55%),
		var(--af-white) !important;
}

body.advixy-fiscal-landing .advixy-service-section-7 ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
}

body.advixy-fiscal-landing .advixy-service-section-7 li {
	padding: 15px 16px 15px 52px;
	border-bottom: 1px solid var(--af-line);
}

/* Related resources */
body.advixy-fiscal-landing .advixy-related-resources {
	padding: 58px 54px !important;
	background:
		radial-gradient(circle at 100% 0, rgba(244, 194, 71, 0.21), transparent 29%),
		var(--af-cream) !important;
	box-shadow: var(--af-shadow-md);
}

body.advixy-fiscal-landing .advixy-related-resources > .wp-block-group__inner-container > p {
	max-width: 720px;
	margin: -18px 0 30px !important;
	color: var(--af-muted) !important;
}

body.advixy-fiscal-landing .advixy-related-resources .wp-block-columns {
	gap: 16px !important;
}

body.advixy-fiscal-landing .advixy-related-resources .wp-block-column > .wp-block-group {
	height: 100%;
	padding: 28px !important;
	border: 1px solid rgba(20, 52, 95, 0.09) !important;
	border-radius: 20px !important;
	background: rgba(255, 255, 255, 0.94) !important;
	box-shadow: 0 10px 24px rgba(20, 52, 95, 0.055);
	transition: transform 190ms ease, box-shadow 190ms ease;
}

body.advixy-fiscal-landing .advixy-related-resources .wp-block-column > .wp-block-group:hover {
	transform: translateY(-4px);
	box-shadow: var(--af-shadow-lg);
}

body.advixy-fiscal-landing .advixy-related-resources h3 {
	color: var(--af-navy-900) !important;
	font-size: 21px !important;
	line-height: 1.35 !important;
}

body.advixy-fiscal-landing .advixy-related-resources a {
	color: var(--af-navy-700);
	font-weight: 600;
}

/* 08 — FAQ */
body.advixy-fiscal-landing .advixy-service-section-8 {
	background: var(--af-sky) !important;
}

body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto auto 1fr auto 1fr auto 1fr;
	gap: 0 16px;
	max-width: none !important;
}

body.advixy-fiscal-landing .advixy-service-section-8 h2 {
	grid-column: 1 / -1;
}

body.advixy-fiscal-landing .advixy-service-section-8 :is(h3, p) {
	margin: 0 !important;
	background: var(--af-white);
}

body.advixy-fiscal-landing .advixy-service-section-8 h3 {
	position: relative;
	padding: 23px 24px 9px 62px;
	border: 1px solid rgba(20, 52, 95, 0.1);
	border-bottom: 0;
	border-radius: 18px 18px 0 0;
	color: var(--af-navy-900) !important;
	font-size: 19px !important;
	line-height: 1.42 !important;
}

body.advixy-fiscal-landing .advixy-service-section-8 h3::before {
	content: "?";
	position: absolute;
	display: grid;
	width: 28px;
	height: 28px;
	margin: -2px 0 0 -40px;
	place-items: center;
	border-radius: 9px;
	background: var(--af-gold-500);
	color: var(--af-navy-950);
	font-size: 13px;
	font-weight: 700;
}

body.advixy-fiscal-landing .advixy-service-section-8 p {
	padding: 0 24px 23px 62px;
	border: 1px solid rgba(20, 52, 95, 0.1);
	border-top: 0;
	border-radius: 0 0 18px 18px;
	color: var(--af-muted) !important;
}

body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(2),
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(3),
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(6),
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(7) { grid-column: 1; }
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(4),
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(5),
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(8),
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(9) { grid-column: 2; }
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :is(:nth-child(2), :nth-child(4)) { grid-row: 2; }
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :is(:nth-child(3), :nth-child(5)) { grid-row: 3; }
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :is(:nth-child(6), :nth-child(8)) {
	grid-row: 4;
	margin-top: 16px !important;
}
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :is(:nth-child(7), :nth-child(9)) { grid-row: 5; }
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(10) {
	grid-column: 1 / -1;
	grid-row: 6;
	margin-top: 16px !important;
}
body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container > :nth-child(11) {
	grid-column: 1 / -1;
	grid-row: 7;
}

/* Official sources */
body.advixy-fiscal-landing .advixy-fiscal-sources {
	padding: 21px 24px !important;
	border: 1px solid rgba(244, 194, 71, 0.56) !important;
	border-radius: 18px !important;
	background: #fffcf4 !important;
	box-shadow: none;
}

body.advixy-fiscal-landing .advixy-fiscal-sources h3 {
	margin: 0 0 7px !important;
	color: var(--af-navy-900) !important;
	font-size: 17px !important;
	line-height: 1.4 !important;
}

body.advixy-fiscal-landing .advixy-fiscal-sources p {
	margin: 0 !important;
	color: var(--af-muted) !important;
	font-size: 13px !important;
	line-height: 1.65 !important;
}

/* Final CTA */
body.advixy-fiscal-landing .advixy-service-cta {
	overflow: hidden;
	padding: 62px 56px !important;
	background:
		radial-gradient(circle at 92% 16%, rgba(244, 194, 71, 0.28), transparent 27%),
		linear-gradient(135deg, var(--af-navy-950), var(--af-navy-800)) !important;
	box-shadow: var(--af-shadow-xl);
}

body.advixy-fiscal-landing .advixy-service-cta::after {
	content: "";
	position: absolute;
	width: 270px;
	aspect-ratio: 1;
	right: -100px;
	bottom: -180px;
	border: 48px solid rgba(255, 255, 255, 0.04);
	border-radius: 50%;
}

body.advixy-fiscal-landing .advixy-service-cta h2 {
	position: relative;
	z-index: 1;
	color: var(--af-white) !important;
}

body.advixy-fiscal-landing .advixy-service-cta ol {
	counter-reset: closing-step;
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.advixy-fiscal-landing .advixy-service-cta li {
	counter-increment: closing-step;
	min-height: 100%;
	margin: 0;
	padding: 21px 20px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.82) !important;
}

body.advixy-fiscal-landing .advixy-service-cta li::before {
	content: "0" counter(closing-step);
	display: block;
	margin-bottom: 11px;
	color: var(--af-gold-500);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

body.advixy-fiscal-landing .advixy-service-cta li a {
	color: var(--af-white) !important;
}

body.advixy-fiscal-landing .advixy-service-cta .wp-block-buttons {
	position: relative;
	z-index: 1;
	gap: 12px;
	margin-top: 28px !important;
}

/* Tablet */
@media (max-width: 1024px) {
	body.advixy-fiscal-landing .advixy-service-hero {
		padding: 58px 48px !important;
	}

	body.advixy-fiscal-landing .advixy-service-hero .wp-block-columns {
		grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
		gap: 38px;
	}

	body.advixy-fiscal-landing .advixy-service-section,
	body.advixy-fiscal-landing .advixy-related-resources {
		padding: 48px 42px !important;
	}

	body.advixy-fiscal-landing .advixy-service-section-6 {
		padding-left: 35% !important;
	}
}

/* Mobile */
@media (max-width: 767px) {
	body.advixy-fiscal-landing {
		background: var(--af-white);
	}

	body.advixy-fiscal-landing .wpr-post-content {
		overflow: hidden;
	}

	body.advixy-fiscal-landing .wpr-post-content :where(p, li) {
		font-size: 16px !important;
		line-height: 1.65 !important;
	}

	body.advixy-fiscal-landing .advixy-service-hero {
		margin-top: 18px !important;
		margin-bottom: 22px !important;
		padding: 42px 24px 46px !important;
		border-radius: 26px !important;
	}

	body.advixy-fiscal-landing .advixy-service-hero::before {
		background-size: 34px 34px;
	}

	body.advixy-fiscal-landing .advixy-service-hero .wp-block-columns {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	body.advixy-fiscal-landing .advixy-service-hero h1 {
		font-size: clamp(36px, 10.7vw, 43px) !important;
		line-height: 1.08 !important;
	}

	body.advixy-fiscal-landing .advixy-service-hero p {
		font-size: 16px !important;
		line-height: 1.65 !important;
	}

	body.advixy-fiscal-landing .advixy-service-hero .wp-block-buttons {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding-bottom: 8px;
	}

	body.advixy-fiscal-landing .advixy-service-hero .wp-block-button,
	body.advixy-fiscal-landing .advixy-service-hero .wp-block-button__link {
		width: 100%;
	}

	body.advixy-fiscal-landing .advixy-service-hero .wp-block-column:last-child {
		display: block !important;
	}

	body.advixy-fiscal-landing .advixy-service-hero .wp-block-column:last-child::before {
		left: -7px;
		bottom: -14px;
		width: 68px;
		border-width: 6px;
		font-size: 15px;
	}

	body.advixy-fiscal-landing .advixy-service-hero figure {
		display: block !important;
		padding: 9px;
		border-radius: 22px;
		transform: none;
	}

	body.advixy-fiscal-landing .advixy-service-hero img {
		border-radius: 15px;
	}

	body.advixy-fiscal-landing .advixy-spainwide-proof,
	body.advixy-fiscal-landing .advixy-service-section,
	body.advixy-fiscal-landing .advixy-related-resources,
	body.advixy-fiscal-landing .advixy-service-cta {
		margin-top: 20px !important;
		margin-bottom: 20px !important;
		padding: 35px 24px !important;
		border-radius: 24px !important;
	}

	body.advixy-fiscal-landing .advixy-spainwide-proof {
		padding-left: 29px !important;
	}

	body.advixy-fiscal-landing .advixy-spainwide-proof > .wp-block-group__inner-container {
		display: block;
	}

	body.advixy-fiscal-landing .advixy-spainwide-proof h2 {
		margin-bottom: 18px !important;
		font-size: 28px !important;
	}

	body.advixy-fiscal-landing .advixy-service-section h2,
	body.advixy-fiscal-landing .advixy-related-resources h2,
	body.advixy-fiscal-landing .advixy-service-cta h2 {
		margin-bottom: 25px !important;
		font-size: 29px !important;
		line-height: 1.2 !important;
	}

	body.advixy-fiscal-landing .advixy-service-section h2::before {
		width: 36px;
		height: 36px;
		margin-right: 10px;
		border-radius: 11px;
	}

	body.advixy-fiscal-landing .advixy-service-section-1 ul,
	body.advixy-fiscal-landing .advixy-service-section-2 ul,
	body.advixy-fiscal-landing .advixy-service-section-5 ul,
	body.advixy-fiscal-landing .advixy-service-section-7 ul,
	body.advixy-fiscal-landing .advixy-service-cta ol {
		grid-template-columns: minmax(0, 1fr);
	}

	body.advixy-fiscal-landing .advixy-service-section-2 li:last-child:nth-child(odd) {
		grid-column: auto;
	}

	body.advixy-fiscal-landing .advixy-service-section-3 > .wp-block-group__inner-container,
	body.advixy-fiscal-landing .advixy-service-section-4 > .wp-block-group__inner-container,
	body.advixy-fiscal-landing .advixy-service-section-8 > .wp-block-group__inner-container {
		display: block;
	}

	body.advixy-fiscal-landing .advixy-service-section-3 h3,
	body.advixy-fiscal-landing .advixy-service-section-4 h3,
	body.advixy-fiscal-landing .advixy-service-section-8 h3 {
		margin-top: 14px !important;
	}

	body.advixy-fiscal-landing .advixy-service-section-3 p,
	body.advixy-fiscal-landing .advixy-service-section-4 p,
	body.advixy-fiscal-landing .advixy-service-section-8 p {
		margin-bottom: 0 !important;
	}

	body.advixy-fiscal-landing .advixy-service-section-6 {
		padding: 300px 24px 40px !important;
		background-image:
			linear-gradient(180deg, rgba(7, 29, 56, 0.02) 0 188px, rgba(7, 29, 56, 0.94) 278px, rgba(20, 52, 95, 0.99) 100%),
			url("../images/advixy-tax-strategy-detail.webp"),
			linear-gradient(145deg, var(--af-navy-950), var(--af-navy-700)) !important;
		background-position: center, center 43%, center;
		background-repeat: no-repeat;
		background-size: 100% 100%, 100% auto, cover;
	}

	body.advixy-fiscal-landing .advixy-service-section-6::before {
		width: 62%;
		height: 5px;
		left: 19%;
		top: 264px;
		border-radius: 999px;
		background: var(--af-gold-500);
		box-shadow: 0 0 0 7px rgba(244, 194, 71, 0.12);
	}

	body.advixy-fiscal-landing .advixy-service-section-6::after {
		inset: 0;
	}

	body.advixy-fiscal-landing .advixy-related-resources .wp-block-columns {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		gap: 12px !important;
	}

	body.advixy-fiscal-landing .advixy-related-resources > .wp-block-group__inner-container > p {
		margin-top: -10px !important;
	}

	body.advixy-fiscal-landing .advixy-fiscal-sources {
		padding: 19px 20px !important;
		border-radius: 17px !important;
	}

	body.advixy-fiscal-landing .advixy-service-cta .wp-block-buttons {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	body.advixy-fiscal-landing .advixy-service-cta .wp-block-button,
	body.advixy-fiscal-landing .advixy-service-cta .wp-block-button__link {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.advixy-fiscal-landing *,
	body.advixy-fiscal-landing *::before,
	body.advixy-fiscal-landing *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	body.advixy-fiscal-landing .advixy-service-hero,
	body.advixy-fiscal-landing .advixy-service-section-3,
	body.advixy-fiscal-landing .advixy-service-section-6,
	body.advixy-fiscal-landing .advixy-service-cta {
		background: #ffffff !important;
		box-shadow: none !important;
	}

	body.advixy-fiscal-landing .wpr-post-content :where(h1, h2, h3, p, li, a) {
		color: #000000 !important;
	}
}
