/**
 * Homepage sections: featured highlights + registration steps.
 */

/* Full-bleed sections on homepage */
.aho-home .aho-featured,
.aho-home .aho-steps,
.aho-home .aho-about,
.aho-home .aho-why,
.aho-home .aho-testimonials,
.aho-home .aho-blog,
.aho-home .aho-contact {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.aho-section-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--aho-heading);
	text-transform: capitalize;
}

/* —— Featured trio (reference: featured-item row) —— */
.aho-featured__grid {
	display: grid;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.aho-featured__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.aho-featured__card {
	position: relative;
	min-height: clamp(320px, 42vw, 420px);
	display: flex;
	align-items: flex-end;
	background-color: var(--aho-navy);
	background-size: cover;
	background-position: center;
}

.aho-featured__card--1 {
	background-image: linear-gradient(160deg, rgba(15, 26, 38, 0.55) 0%, rgba(42, 72, 108, 0.85) 100%),
		var(--aho-gradient-navy);
}

.aho-featured__card--2 {
	background-image: linear-gradient(160deg, rgba(15, 26, 38, 0.45) 0%, rgba(168, 132, 71, 0.72) 60%, rgba(30, 54, 79, 0.85) 100%),
		linear-gradient(120deg, var(--aho-gold-hover) 0%, var(--aho-navy) 100%);
}

.aho-featured__card--3 {
	background-image: linear-gradient(160deg, rgba(15, 26, 38, 0.55) 0%, rgba(30, 54, 79, 0.85) 100%),
		linear-gradient(120deg, var(--aho-navy-dark) 0%, var(--aho-navy-muted) 100%);
}

.aho-featured__overlay {
	width: 100%;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	text-align: center;
	color: #ffffff;
}

.aho-featured__kicker {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--aho-gold-bright);
	text-shadow: 0 1px 6px rgba(15, 26, 38, 0.5);
}

.aho-featured .aho-featured__title,
.aho-featured__title {
	margin: 0 0 0.75rem;
	font-family: var(--aho-font-display);
	font-size: clamp(1.5rem, 1.15rem + 1.1vw, 1.9rem);
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	text-shadow: 0 2px 12px rgba(15, 26, 38, 0.6);
}

.aho-featured__text {
	margin: 0 auto 1.25rem;
	max-width: 22rem;
	font-size: 0.98rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.96);
	opacity: 1;
	text-shadow: 0 1px 6px rgba(15, 26, 38, 0.45);
}

.aho-featured__overlay .aho-btn--primary {
	margin-top: 0.25rem;
}

/* —— 3 Easy Steps —— */
.aho-steps {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	background: var(--aho-white);
	font-family: var(--aho-font);
}

.aho-steps__header {
	max-width: 46rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.aho-steps__title {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--aho-heading);
}

.aho-steps__intro {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--aho-text);
}

.aho-steps__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 992px) {
	.aho-steps__layout {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

.aho-steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.aho-steps__item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.aho-steps__icon {
	position: relative;
	flex-shrink: 0;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: var(--aho-gold-soft);
	color: var(--aho-gold);
	display: grid;
	place-items: center;
	font-size: 1.35rem;
}

.aho-steps__num {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: var(--aho-gold);
	color: var(--aho-white);
	font-size: 0.7rem;
	font-weight: 700;
	display: grid;
	place-items: center;
	line-height: 1;
}

.aho-steps__item-title {
	margin: 0 0 0.4rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--aho-heading);
}

.aho-steps__item-title .aho-text-gold,
.aho-steps__item-title span {
	color: var(--aho-gold);
}

.aho-steps__item-text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--aho-text);
}

.aho-steps__visual {
	display: none;
}

@media (min-width: 992px) {
	.aho-steps__visual {
		display: block;
	}
}

.aho-steps__visual-inner {
	min-height: 420px;
	border-radius: 8px;
	background: linear-gradient(145deg, var(--aho-navy) 0%, var(--aho-navy-light) 50%, var(--aho-gold) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 2rem;
	text-align: center;
	color: var(--aho-white);
	box-shadow: var(--aho-shadow-lg);
}

.aho-steps__visual-inner i {
	font-size: 3.5rem;
	opacity: 0.9;
}

.aho-steps__visual-inner p {
	margin: 0;
	font-weight: 600;
	font-size: 1.05rem;
	max-width: 14rem;
	line-height: 1.4;
}

.aho-steps__cta-wrap {
	margin: 2.5rem 0 0;
	text-align: center;
}

/* —— About —— */
.aho-about {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	background: var(--aho-surface);
}

.aho-about__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 992px) {
	.aho-about__layout {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

.aho-about__media-inner {
	min-height: 320px;
	border-radius: 8px;
	background: var(--aho-gradient-section);
	display: grid;
	place-items: center;
	color: var(--aho-navy);
	font-size: 4rem;
	box-shadow: var(--aho-shadow-md);
}

.aho-about__title {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 700;
	color: var(--aho-gold);
	line-height: 1.2;
}

.aho-about__text {
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--aho-text);
}

.aho-about__list {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.65rem;
}

.aho-about__list li {
	position: relative;
	padding-left: 1.35rem;
	font-size: 0.95rem;
	color: var(--aho-heading);
	font-weight: 500;
}

.aho-about__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--aho-gold);
}

/* —— Why choose us —— */
.aho-why {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	background: var(--aho-white);
}

.aho-why__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 992px) {
	.aho-why__layout {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

.aho-why__media-inner {
	min-height: 360px;
	border-radius: 8px;
	background: linear-gradient(145deg, var(--aho-gold) 0%, var(--aho-navy) 100%);
	display: grid;
	place-items: center;
	color: var(--aho-white);
	font-size: 3.5rem;
	box-shadow: var(--aho-shadow-lg);
}

.aho-why__title {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 700;
	color: var(--aho-heading);
}

.aho-why__intro {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--aho-text);
}

.aho-why__lists {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem 2rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
	.aho-why__lists {
		grid-template-columns: 1fr 1fr;
	}
}

.aho-why__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.aho-why__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--aho-text);
}

.aho-why__list i {
	flex-shrink: 0;
	margin-top: 0.35em;
	font-size: 0.35rem;
	color: var(--aho-gold);
}

/* —— Testimonials —— */
.aho-testimonials {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	background: var(--aho-surface);
	font-family: var(--aho-font);
}

.aho-testimonials__title {
	margin: 0 0 2rem;
	text-align: center;
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
	font-weight: 700;
	color: var(--aho-heading);
}

.aho-testimonials__carousel {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.75rem;
}

.aho-testimonials__nav {
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--aho-border);
	border-radius: 50%;
	background: var(--aho-white);
	color: var(--aho-navy);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	flex-shrink: 0;
}

.aho-testimonials__nav:hover,
.aho-testimonials__nav:focus-visible {
	background: var(--aho-gold);
	border-color: var(--aho-gold);
	color: var(--aho-white);
	outline: none;
}

.aho-testimonials__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.aho-testimonials__viewport::-webkit-scrollbar {
	display: none;
}

.aho-testimonials__track {
	display: flex;
	gap: 1rem;
	padding: 0.25rem 0.15rem;
}

.aho-testimonial {
	flex: 0 0 100%;
	scroll-snap-align: start;
	margin: 0;
	padding: 1.5rem 1.35rem;
	background: var(--aho-white);
	border-radius: 8px;
	box-shadow: 0 8px 28px rgba(42, 72, 108, 0.08);
	border: 1px solid var(--aho-border);
	position: relative;
}

@media (min-width: 768px) {
	.aho-testimonial {
		flex-basis: calc(50% - 0.5rem);
	}
}

.aho-testimonial::before {
	content: "\201C";
	position: absolute;
	top: 0.65rem;
	left: 1rem;
	font-size: 2.5rem;
	line-height: 1;
	color: var(--aho-gold);
	opacity: 0.45;
	font-family: Georgia, serif;
}

.aho-testimonial__quote {
	margin: 0 0 1rem;
	padding-top: 0.5rem;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--aho-text);
}

.aho-testimonial__footer {
	margin: 0;
}

.aho-testimonial__name {
	font-style: normal;
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--aho-navy);
}

/* —— Blog / News —— */
.aho-blog {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	background: var(--aho-white);
	font-family: var(--aho-font);
}

.aho-blog__header {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto 2.25rem;
}

.aho-blog__title {
	margin: 0;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	font-weight: 700;
	color: var(--aho-heading);
	line-height: 1.25;
}

.aho-blog__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.aho-blog__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.aho-blog__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.25rem;
	}
}

.aho-blog__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--aho-white);
	border: 1px solid var(--aho-border);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: var(--aho-shadow-sm);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.aho-blog__card:hover {
	box-shadow: 0 10px 28px rgba(42, 72, 108, 0.1);
	transform: translateY(-2px);
}

.aho-blog__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--aho-gradient-navy);
}

.aho-blog__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.aho-blog__thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--aho-gold-bright);
	font-size: 2rem;
	opacity: 0.85;
}

.aho-blog__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.1rem 1rem 1.25rem;
}

.aho-blog__post-title {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.aho-blog__post-title a {
	color: var(--aho-heading);
	text-decoration: none;
}

.aho-blog__post-title a:hover,
.aho-blog__post-title a:focus-visible {
	color: var(--aho-gold);
}

.aho-blog__meta {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-size: 0.78rem;
	color: var(--aho-muted);
}

.aho-blog__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.aho-blog__meta a {
	color: inherit;
	text-decoration: none;
}

.aho-blog__meta a:hover,
.aho-blog__meta a:focus-visible {
	color: var(--aho-gold);
}

.aho-blog__meta i {
	color: var(--aho-gold);
	font-size: 0.72rem;
}

.aho-blog__excerpt {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--aho-text);
	flex: 1;
}

.aho-blog__more {
	margin: 2rem 0 0;
	text-align: center;
}

/* —— Contact CTA —— */
.aho-contact {
	padding: clamp(3rem, 6vw, 4rem) 0;
	background: var(--aho-white);
	font-family: var(--aho-font);
}

.aho-contact__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.aho-contact__title {
	margin: 0;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	font-weight: 700;
	color: var(--aho-heading);
}

.aho-btn--whatsapp {
	background: var(--aho-whatsapp);
	color: var(--aho-white);
	border: none;
	gap: 0.5rem;
}

.aho-btn--whatsapp:hover,
.aho-btn--whatsapp:focus-visible {
	background: var(--aho-whatsapp-hover);
	color: var(--aho-white);
}

.aho-contact__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 4px;
	font-size: 0.92rem;
}

.aho-contact__notice--success {
	background: var(--aho-success-bg);
	color: var(--aho-success);
}

.aho-contact__notice--error {
	background: var(--aho-error-bg);
	color: var(--aho-error);
}

.aho-contact-form--fallback .aho-contact-form__fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

@media (min-width: 768px) {
	.aho-contact-form--fallback .aho-contact-form__fields {
		grid-template-columns: repeat(4, 1fr);
		align-items: end;
	}
}

/* CF7 wraps all fields in one <p> with <br /> — grid that row instead */
.aho-contact__form-wrap .aho-contact-form__fields > p {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	margin: 0;
}

.aho-contact__form-wrap .aho-contact-form__fields > p > br {
	display: none;
}

@media (min-width: 768px) {
	.aho-contact__form-wrap .aho-contact-form__fields > p {
		grid-template-columns: repeat(4, 1fr);
		align-items: end;
	}
}

.aho-contact-form__field {
	margin: 0;
}

.aho-contact__form-wrap input[type="text"],
.aho-contact__form-wrap input[type="email"],
.aho-contact__form-wrap input[type="tel"],
.aho-contact-form__field input {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--aho-border);
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.95rem;
}

.aho-contact__form-wrap input:focus,
.aho-contact-form__field input:focus {
	outline: 2px solid var(--aho-gold);
	border-color: var(--aho-gold);
}

.aho-contact__form-wrap .wpcf7-submit,
.aho-contact-form__field--submit .aho-btn {
	width: 100%;
}

.aho-contact__form-wrap .wpcf7-spinner {
	display: block;
	margin: 0.5rem auto 0;
}

/* Hide Astra default / builder footer when custom footer is active */
#colophon.site-footer,
.ast-small-footer {
	display: none !important;
}

/* —— Site footer —— */
.aho-footer {
	background: var(--aho-navy);
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--aho-font);
	padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}

/* Ensure global link color override does not dim footer links. */
body.aho-home .aho-footer a,
body.aho-inner .aho-footer a,
.aho-footer a {
	color: rgba(255, 255, 255, 0.92);
}

body.aho-home .aho-footer a:hover,
body.aho-home .aho-footer a:focus-visible,
body.aho-inner .aho-footer a:hover,
body.aho-inner .aho-footer a:focus-visible {
	color: var(--aho-gold-bright);
}

.aho-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 2rem;
	align-items: start;
}

@media (min-width: 768px) {
	.aho-footer__grid {
		grid-template-columns: 1.3fr 1.4fr 1.2fr;
		gap: 2.5rem;
	}
}

@media (min-width: 1100px) {
	.aho-footer__grid {
		grid-template-columns: 1.4fr 1.5fr 1.2fr;
		gap: 3rem;
	}
}

.aho-footer__col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.aho-footer__logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 1.15rem;
	padding: 0.55rem 0.85rem;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 22px rgba(15, 26, 38, 0.22);
	text-decoration: none;
	line-height: 0;
	max-width: 200px;
	width: max-content;
}

.aho-footer__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 170px;
	max-height: 64px;
	object-fit: contain;
}

@media (max-width: 767.98px) {
	.aho-footer__logo-link {
		margin-inline: auto;
		padding: 0.6rem 0.9rem;
	}

	.aho-footer__logo {
		max-height: 56px;
		max-width: 150px;
	}

	.aho-footer__about {
		text-align: center;
		margin-inline: auto;
	}
}

.aho-footer__about {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.7;
	max-width: 26rem;
	color: rgba(255, 255, 255, 0.85);
}

.aho-footer__heading {
	margin: 0 0 1.15rem;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #ffffff;
	line-height: 1.3;
}

.aho-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.aho-footer__list li {
	margin: 0;
	padding: 0;
	line-height: 1.4;
}

/* Quick links: two columns once there's room, balanced rows */
.aho-footer__list--columns {
	grid-template-columns: 1fr;
	column-gap: 1.5rem;
}

@media (min-width: 480px) {
	.aho-footer__list--columns {
		grid-template-columns: 1fr 1fr;
		row-gap: 0.7rem;
	}
}

.aho-footer__list a,
.aho-footer .aho-footer__list a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.95rem;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.aho-footer__list a:hover,
.aho-footer__list a:focus-visible,
.aho-footer .aho-footer__list a:hover,
.aho-footer .aho-footer__list a:focus-visible {
	color: var(--aho-gold-bright);
}

.aho-footer__list--contact a {
	word-break: break-word;
}

.aho-footer__list--contact i {
	color: var(--aho-gold-bright);
	width: 1.1rem;
	flex-shrink: 0;
	text-align: center;
}

.aho-footer__social {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.aho-footer__social a,
.aho-footer .aho-footer__social a {
	display: inline-flex;
	width: 2.25rem;
	height: 2.25rem;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	color: #ffffff;
	font-size: 0.95rem;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.aho-footer__social a:hover,
.aho-footer__social a:focus-visible,
.aho-footer .aho-footer__social a:hover,
.aho-footer .aho-footer__social a:focus-visible {
	background: var(--aho-gold);
	color: #ffffff;
	transform: translateY(-1px);
}

.aho-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	padding: 1.15rem 0 1.35rem;
	text-align: center;
}

.aho-footer__copy {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.82);
}
