/* ==========================================================================
   Premium polish layer — Phase 2/3 additions on top of theme.css.
   Scroll-reveal, nav dropdowns, inner-page components (breadcrumbs, split
   layout, process steps, stats, gallery, testimonials, FAQ, trust badges).
   ========================================================================== */

.aaft-container--narrow { max-width: 820px; }

.aaft-btn--outline {
	background: transparent;
	border-color: var(--aaft-primary);
	color: var(--aaft-primary);
}
.aaft-btn--outline:hover { background: var(--aaft-primary); color: #fff; }

/* Scroll reveal --------------------------------------------------------- */

[data-aaft-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aaft-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	[data-aaft-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Nav dropdowns ---------------------------------------------------------- */

.aaft-site-nav ul li { position: relative; }
.aaft-site-nav ul .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	border: 1px solid var(--aaft-border);
	border-radius: var(--aaft-radius-md);
	box-shadow: var(--aaft-shadow-card);
	padding: 8px;
	flex-direction: column;
	gap: 0;
	z-index: 50;
}
.aaft-site-nav ul li:hover > .sub-menu,
.aaft-site-nav ul li:focus-within > .sub-menu { display: flex; }
.aaft-site-nav .sub-menu li { width: 100%; }
.aaft-site-nav .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--aaft-radius-sm);
	border-bottom: none;
	white-space: nowrap;
}
.aaft-site-nav .sub-menu a:hover { background: var(--aaft-bg-alt); }

@media (max-width: 900px) {
	.aaft-site-nav ul .sub-menu {
		position: static;
		box-shadow: none;
		border: none;
		padding-left: 16px;
		display: none;
	}
	.aaft-site-nav ul li.is-open > .sub-menu { display: flex; }
}

/* Inner-page hero variant ------------------------------------------------ */

.aaft-hero--inner { min-height: 420px; }
.aaft-hero--short { min-height: 320px; }
.aaft-hero--inner .aaft-hero__inner { max-width: 720px; }

.aaft-breadcrumb {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	margin-bottom: 20px;
	display: flex;
	gap: 8px;
	position: relative;
	z-index: 1;
}
.aaft-breadcrumb a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.aaft-breadcrumb a:hover { text-decoration: underline; }
.aaft-breadcrumb span[aria-current] { color: #fff; font-weight: 600; }

/* Modifier for use on a light (non-hero) background, e.g. the Contact page. */
.aaft-breadcrumb--on-light { color: var(--aaft-body-light); }
.aaft-breadcrumb--on-light a { color: var(--aaft-body); }
.aaft-breadcrumb--on-light span[aria-current] { color: var(--aaft-ink); }

/* Split layout (used on service/about/contact pages) --------------------- */

.aaft-split {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 48px;
	align-items: start;
}
@media (max-width: 900px) {
	.aaft-split { grid-template-columns: 1fr; }
}

.aaft-includes-card {
	background: var(--aaft-bg-card, #fff);
	border-radius: var(--aaft-radius-lg);
	padding: 32px;
	box-shadow: var(--aaft-shadow-card);
}
.aaft-includes-card h3 { margin-bottom: 16px; }
.aaft-includes-list { list-style: none; margin: 0; padding: 0; }
.aaft-includes-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 15px;
}
.aaft-includes-list svg { width: 20px; height: 20px; color: var(--aaft-primary); flex-shrink: 0; margin-top: 1px; }

/* Process steps ----------------------------------------------------------- */

.aaft-process {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px;
}
.aaft-process__step {
	background: #fff;
	border-radius: var(--aaft-radius-lg);
	padding: 28px;
	box-shadow: var(--aaft-shadow-card);
}
.aaft-process__num {
	font-size: 28px;
	font-weight: 800;
	color: var(--aaft-primary);
	opacity: 0.35;
	margin-bottom: 8px;
}

/* Stats / counters --------------------------------------------------------*/

.aaft-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}
@media (max-width: 700px) { .aaft-stats { grid-template-columns: 1fr 1fr; } }
.aaft-stat__num, .aaft-stat__suffix {
	font-size: 40px;
	font-weight: 800;
	color: var(--aaft-primary);
}
.aaft-stat__label { display: block; margin-top: 6px; color: var(--aaft-body); font-size: 14px; }

/* Trust badges strip ------------------------------------------------------*/

.aaft-trust-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 32px;
}
.aaft-trust-badge {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--aaft-ink);
}
.aaft-trust-badge__icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--aaft-badge-bg);
	color: var(--aaft-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.aaft-trust-badge__icon svg { width: 18px; height: 18px; }

/* Gallery ------------------------------------------------------------------*/

.aaft-gallery-note {
	text-align: center;
	color: var(--aaft-body-light);
	font-size: 14px;
	font-style: italic;
	margin-bottom: 32px;
}
.aaft-gallery {
	columns: 3 220px;
	column-gap: 20px;
}
.aaft-gallery__item {
	margin: 0 0 20px;
	break-inside: avoid;
	position: relative;
	border-radius: var(--aaft-radius-lg);
	overflow: hidden;
	box-shadow: var(--aaft-shadow-card);
}
.aaft-gallery__item img { width: 100%; display: block; }
.aaft-gallery__item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 14px 16px;
	background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
}

/* Testimonials are now rendered entirely by the Testimonials Manager
   plugin's own CSS (wp-content/plugins/testimonials-manager/assets/css/) —
   nothing to style here. The plugin's --tsm-* CSS variables can be
   overridden below if you want the AAFT brand colours to carry over. */

.tsm-carousel { margin-top: 0; }
:root {
	--tsm-primary: var(--aaft-primary);
	--tsm-ink: var(--aaft-ink);
	--tsm-body: var(--aaft-body);
	--tsm-body-light: var(--aaft-body-light);
	--tsm-border: var(--aaft-border);
	--tsm-radius: var(--aaft-radius-lg);
	--tsm-shadow: var(--aaft-shadow-card);
}

/* FAQ accordion ----------------------------------------------------------- */

.aaft-faq__item {
	background: #fff;
	border-radius: var(--aaft-radius-md);
	box-shadow: var(--aaft-shadow-card);
	margin-bottom: 14px;
	overflow: hidden;
}
.aaft-faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: none;
	border: none;
	text-align: left;
	padding: 20px 24px;
	font-size: 16px;
	font-weight: 700;
	color: var(--aaft-ink);
	cursor: pointer;
	font-family: inherit;
}
.aaft-faq__toggle {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	position: relative;
}
.aaft-faq__toggle::before, .aaft-faq__toggle::after {
	content: "";
	position: absolute;
	background: var(--aaft-primary);
	border-radius: 2px;
}
.aaft-faq__toggle::before { width: 20px; height: 2px; top: 9px; left: 0; }
.aaft-faq__toggle::after { width: 2px; height: 20px; top: 0; left: 9px; transition: transform 0.2s ease; }
.aaft-faq__item.is-open .aaft-faq__toggle::after { transform: rotate(90deg); }

.aaft-faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
}
.aaft-faq__answer p { margin: 0; padding: 0 24px 20px; color: var(--aaft-body); }
.aaft-faq__item.is-open .aaft-faq__answer { max-height: 400px; }

/* Card-as-link (related services) ----------------------------------------*/

a.aaft-card--link, a.aaft-card--link * { text-decoration: none; }
a.aaft-card--link { display: block; color: inherit; }
a.aaft-card--link:hover { color: inherit; }

/* Map ----------------------------------------------------------------------*/

.aaft-map { margin-top: 20px; border-radius: var(--aaft-radius-md); overflow: hidden; }
.aaft-map iframe { display: block; }
