/* ==========================================================================
   Arribas · Landings de servicio (template-parts/landing/)
   Usa las variables de seo.css: --aa-primary, --aa-secondary, --aa-grey…
   ========================================================================== */

.aal-page #content {
	overflow-x: clip;
}

.aal-wrap {
	padding-left: 24px;
	padding-right: 24px;
}

@media (min-width: 1280px) {
	.aal-wrap {
		padding-left: 12px;
		padding-right: 12px;
	}
}

.aal-section {
	padding: 64px 0;
}

@media (min-width: 1024px) {
	.aal-section {
		padding: 104px 0;
	}
}

.aal-page .aal-section h2,
.aal-page .aal-hero h1,
.aal-page .aal-faq h2 {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	color: var(--aa-primary-2);
	letter-spacing: -1px;
	line-height: 1.02;
	margin: 0 0 18px;
}

.aal-page .aal-section h2,
.aal-page .aal-faq h2 {
	font-size: 2.1rem;
}

@media (min-width: 1024px) {
	.aal-page .aal-section h2,
	.aal-page .aal-faq h2 {
		font-size: 2.9rem;
	}
}

.aal-page .aal-section h3 {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.45rem;
	line-height: 1.15;
	color: var(--aa-primary);
	margin: 0 0 10px;
}

.aal-page .aal-section h4 {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.12rem;
	line-height: 1.2;
	color: var(--aa-primary);
	margin: 0 0 6px;
}

.aal-page .aal-section p,
.aal-prose p {
	font-family: Nunito, sans-serif;
	color: var(--aa-text);
	line-height: 1.75;
}

.aal-prose p + p {
	margin-top: 14px;
}

.aal-prose a,
.aal-head p a,
.aa-faq-answer a {
	color: var(--aa-primary);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--aa-secondary);
	text-underline-offset: 3px;
}

.aal-prose a:hover,
.aal-head p a:hover,
.aa-faq-answer a:hover {
	color: var(--aa-secondary-dark);
}

.aal-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
	font-family: Nunito, sans-serif;
	font-size: .8rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--aa-secondary);
}

.aal-eyebrow-light {
	color: #c9d8c5;
}

.aal-head {
	max-width: 780px;
	margin-bottom: 44px;
}

.aal-head > p {
	font-size: 1.05rem;
}

.aal-head-center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* Lista con check */
.aal-check {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.aal-check li {
	position: relative;
	padding-left: 34px;
	font-family: Nunito, sans-serif;
	color: var(--aa-primary);
	line-height: 1.5;
}

.aal-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--aa-secondary) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.aal-check-light li {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

/* Textura sutil de puntos sobre el azul corporativo. */
.aal-hero,
.aal-prefooter {
	background-color: var(--aa-primary);
	background-image:
		radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px),
		linear-gradient(180deg, var(--aa-primary-2) 0%, var(--aa-primary) 100%);
	background-size: 22px 22px, 100% 100%;
}

.aal-hero {
	position: relative;
	color: #fff;
	overflow: hidden;
}

.aal-hero-inner {
	position: relative;
	display: grid;
	padding: 56px 24px 0;
}

@media (min-width: 1024px) {
	.aal-hero-inner {
		grid-template-columns: 1fr 1fr;
		align-items: end;
		min-height: 620px;
		padding: 95px 24px 0;
	}
}

@media (min-width: 1280px) {
	.aal-hero-inner {
		padding-left: 12px;
		padding-right: 12px;
	}
}

.aal-hero-text {
	align-self: center;
	padding-bottom: 40px;
}

@media (min-width: 1024px) {
	.aal-hero-text {
		padding: 60px 0 90px;
	}
}

.aal-page .aal-hero h1 {
	color: #fff;
	opacity: 1;
	font-size: 2.9rem;
	margin-bottom: 20px;
	max-width: 560px;
}

@media (min-width: 1024px) {
	.aal-page .aal-hero h1 {
		font-size: 4.6rem;
	}
}

.aal-hero-lead {
	max-width: 470px;
	font-family: Nunito, sans-serif;
	font-size: 1.12rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
}

.aal-page .aal-hero-btn {
	display: inline-block;
	margin-top: 32px;
	padding: 15px 34px;
	font-size: 1.1rem;
}

.aal-page .aal-hero-btn:hover {
	background: #fff;
	color: var(--aa-primary);
}

.aal-hero-person {
	position: relative;
	margin: 0;
	justify-self: center;
	align-self: end;
	line-height: 0;
}

/* Arco sólido detrás del profesional (mismo lenguaje que el equipo). */
.aal-hero-person::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 108%;
	height: 80%;
	transform: translateX(-50%);
	border-radius: 999px 999px 0 0;
	background: var(--aa-secondary);
}

.aal-hero-person img {
	position: relative;
	display: block;
	width: auto;
	height: 540px;
	max-width: none;
	margin-bottom: -80px;
}

@media (min-width: 1024px) {
	.aal-hero-person img {
		height: 860px;
		margin-bottom: -150px; /* el borde inferior corta la figura a la cintura */
	}
}

.aal-hero-person figcaption {
	position: absolute;
	left: -56px;
	bottom: 150px;
	display: flex;
	flex-direction: column;
	padding: 14px 20px;
	line-height: 1.2;
	background: #fff;
	border-left: 4px solid var(--aa-secondary);
	box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
}

@media (max-width: 1023px) {
	.aal-hero-person figcaption {
		left: -12px;
		bottom: 110px;
	}
}

.aal-person-name {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.3rem;
	color: var(--aa-primary);
}

.aal-person-role {
	font-family: Nunito, sans-serif;
	font-size: .82rem;
	color: var(--aa-text);
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.aal-intro-grid {
	display: grid;
	gap: 40px;
}

@media (min-width: 1024px) {
	.aal-intro-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px 72px;
		align-items: center;
	}
}

.aal-intro-media {
	position: relative;
}

.aal-intro-media::after {
	content: "";
	position: absolute;
	right: -16px;
	bottom: -16px;
	width: 45%;
	height: 55%;
	background: var(--aa-secondary);
	z-index: -1;
}

.aal-intro-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.aal-intro {
	position: relative;
	z-index: 0;
}

.aal-includes {
	padding: 34px;
	background: var(--aa-grey);
	border-left: 4px solid var(--aa-secondary);
}

@media (min-width: 1024px) {
	.aal-includes {
		grid-column: 1 / -1;
	}

	.aal-includes .aal-check {
		grid-template-columns: repeat(3, 1fr);
		gap: 18px 32px;
	}
}

@media (min-width: 640px) and (max-width: 1023px) {
	.aal-includes .aal-check {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* --------------------------------------------------------------------------
   Trámites
   -------------------------------------------------------------------------- */

.aal-steps-layout {
	display: grid;
	gap: 48px;
}

@media (min-width: 1024px) {
	.aal-steps-layout.has-aside {
		grid-template-columns: minmax(0, 1fr) 380px;
		gap: 64px;
		align-items: start;
	}
}

.aal-steps-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aal-step {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 0 20px;
	padding: 34px 0;
	border-top: 1px solid var(--aa-line);
}

.aal-step:first-child {
	border-top: 0;
	padding-top: 0;
}

.aal-step-num {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 2.6rem;
	line-height: 1;
	color: var(--aa-secondary);
}

@media (max-width: 639px) {
	.aal-step {
		grid-template-columns: 1fr;
	}

	.aal-step-num {
		font-size: 2rem;
		margin-bottom: 8px;
	}
}

.aal-sub-grid {
	display: grid;
	gap: 22px 32px;
	margin-top: 22px;
}

@media (min-width: 768px) {
	.aal-sub-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.aal-sub {
	padding-left: 16px;
	border-left: 2px solid var(--aa-secondary);
}

.aal-page .aal-sub p {
	font-size: .95rem;
	line-height: 1.6;
}

/* Tarjeta lateral: el equipo sale del bloque de color. */
.aal-promo {
	max-width: 420px;
	width: 100%;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.aal-promo {
		position: sticky;
		top: 150px;
	}
}

.aal-promo-box {
	position: relative;
	padding: 30px 30px 32px;
	background-color: var(--aa-primary);
	background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px);
	background-size: 22px 22px;
}

.aal-page .aal-promo-box .aal-promo-title {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.75rem;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 10px;
}

.aal-page .aal-promo-box p:not(.aal-promo-title) {
	font-size: .98rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .8);
}

.aal-page .aal-promo-box .btn {
	display: inline-block;
	margin-top: 22px;
	padding: 13px 28px;
}

.aal-page .aal-promo-box .btn:hover {
	background: #fff;
	color: var(--aa-primary);
}

.aal-promo-phone {
	display: block;
	margin-top: 14px;
	font-family: Nunito, sans-serif;
	font-size: .9rem;
	color: rgba(255, 255, 255, .75);
}

.aal-promo-phone:hover {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Comparativa
   -------------------------------------------------------------------------- */

.aal-compare-grid {
	display: grid;
	gap: 22px;
}

@media (min-width: 1024px) {
	.aal-compare-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}

.aal-compare-card {
	position: relative;
	padding: 40px 34px 34px;
	border: 1px solid var(--aa-line);
	background: #fff;
}

.aal-compare-card:first-child {
	border-top: 4px solid var(--aa-primary);
}

.aal-compare-card:last-child {
	border-top: 4px solid var(--aa-secondary);
}

.aal-page .aal-compare-card h3 {
	font-size: 1.8rem;
	margin-bottom: 14px;
}

.aal-page .aal-compare-card h4 {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--aa-line);
}

.aal-tag {
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 10px;
	font-family: Nunito, sans-serif;
	font-size: .75rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--aa-primary);
	background: var(--aa-grey);
}

.aal-page .aal-note {
	margin-top: 28px;
	padding: 20px 24px 20px 58px;
	position: relative;
	background: var(--aa-grey);
	color: var(--aa-primary);
	font-weight: 600;
}

.aal-note::before {
	content: "i";
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--aa-secondary);
	color: #fff;
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	text-align: center;
	line-height: 24px;
}

/* --------------------------------------------------------------------------
   Destacado (tarifa plana)
   -------------------------------------------------------------------------- */

.aal-highlight {
	background: var(--aa-primary);
	position: relative;
	overflow: hidden;
}

.aal-highlight::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 380px;
	height: 380px;
	border: 60px solid rgba(136, 160, 130, .14);
	border-radius: 50%;
	pointer-events: none;
}

.aal-highlight-grid {
	display: grid;
	gap: 40px;
	position: relative;
	z-index: 1;
}

@media (min-width: 1024px) {
	.aal-highlight-grid {
		grid-template-columns: 1.1fr .9fr;
		gap: 72px;
	}
}

.aal-page .aal-highlight h2,
.aal-page .aal-highlight h3 {
	color: #fff;
}

.aal-page .aal-highlight p {
	color: rgba(255, 255, 255, .8);
}

.aal-figures {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}

.aal-figures li {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 16px;
	background: rgba(255, 255, 255, .06);
}

.aal-figures strong {
	font-family: Rajdhani, sans-serif;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--aa-secondary);
}

.aal-figures span {
	font-family: Nunito, sans-serif;
	font-size: .85rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, .78);
}

@media (max-width: 639px) {
	.aal-figures {
		grid-template-columns: 1fr;
	}

	.aal-figures li {
		flex-direction: row;
		align-items: center;
		gap: 16px;
	}

	.aal-figures strong {
		min-width: 90px;
	}
}

.aal-requisites {
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, .16);
}

/* --------------------------------------------------------------------------
   Equipo
   -------------------------------------------------------------------------- */

.aal-team-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.aal-member {
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}

.aal-member:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(10, 44, 61, .1);
}

.aal-member-photo {
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.aal-member-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	transition: transform .5s ease;
}

.aal-member:hover .aal-member-photo img {
	transform: scale(1.04);
}

.aal-member-body {
	flex: 1;
	padding: 22px 24px 26px;
	border-top: 4px solid var(--aa-secondary);
}

.aal-page .aal-member h3 {
	margin-bottom: 2px;
}

.aal-member-role {
	display: block;
	margin-bottom: 12px;
	font-family: Nunito, sans-serif;
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--aa-secondary-dark);
}

.aal-page .aal-member p {
	font-size: .95rem;
	line-height: 1.6;
}

.aal-quote {
	margin: 48px 0 0;
	padding: 40px;
	background: #fff;
	position: relative;
	display: grid;
	gap: 26px;
}

@media (min-width: 1024px) {
	.aal-quote {
		grid-template-columns: 1.6fr 1fr;
		align-items: center;
		padding: 48px 56px;
	}
}

.aal-quote blockquote {
	margin: 0;
	padding-left: 52px;
	background: url("../images/double-comma.svg") 0 4px / 34px no-repeat;
}

.aal-page .aal-quote blockquote p {
	font-family: Rajdhani, sans-serif;
	font-weight: 600;
	font-size: 1.45rem;
	line-height: 1.35;
	color: var(--aa-primary);
}

.aal-quote figcaption {
	display: flex;
	align-items: center;
	gap: 18px;
}

.aal-quote-faces {
	display: flex;
	flex: none;
}

.aal-quote-faces img {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 15%;
	border: 3px solid #fff;
	box-shadow: 0 4px 12px rgba(10, 44, 61, .15);
}

.aal-quote-faces img + img {
	margin-left: -14px;
}

.aal-quote-by {
	display: flex;
	flex-direction: column;
	font-family: Nunito, sans-serif;
	font-size: .9rem;
	color: var(--aa-text);
}

.aal-quote-by strong {
	font-family: Rajdhani, sans-serif;
	font-size: 1.15rem;
	color: var(--aa-primary);
}

.aal-team-more {
	margin-top: 28px;
	text-align: center;
}

.aal-team-more a,
.aal-card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--aa-primary);
}

.aal-team-more a::after,
.aal-card-link::after {
	content: "";
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--aa-secondary) url("../images/icons/arrow-right.svg") center / 10px no-repeat;
	transition: transform .2s ease;
}

.aal-team-more a:hover::after,
.aal-card-link:hover::after {
	transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Tarjetas
   -------------------------------------------------------------------------- */

.aal-cards-grid {
	display: grid;
	gap: 20px;
}

@media (min-width: 768px) {
	.aal-cards-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1280px) {
	.aal-cards-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.aal-card {
	display: flex;
	flex-direction: column;
	padding: 30px 28px;
	background: var(--aa-grey);
	border-bottom: 4px solid transparent;
	transition: border-color .2s ease, background-color .2s ease;
}

.aal-card:hover {
	background: #fff;
	border-bottom-color: var(--aa-secondary);
	box-shadow: 0 14px 34px rgba(10, 44, 61, .08);
}

.aal-card .aal-prose {
	flex: 1;
}

.aal-page .aal-card p {
	font-size: .95rem;
	line-height: 1.65;
}

.aal-card-link {
	margin-top: 18px;
	font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Proceso
   -------------------------------------------------------------------------- */

.aal-process-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 32px;
	counter-reset: none;
}

@media (min-width: 768px) {
	.aal-process-list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1280px) {
	.aal-process-list {
		grid-template-columns: repeat(4, 1fr);
		gap: 28px;
	}

	.aal-process-list li {
		position: relative;
	}

	.aal-process-list li:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 30px;
		left: 76px;
		right: -14px;
		border-top: 2px dashed rgba(136, 160, 130, .55);
	}
}

.aal-process-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 6px 18px rgba(10, 44, 61, .1);
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.6rem;
	color: var(--aa-secondary);
}

.aal-page .aal-process-list p {
	font-size: .95rem;
	line-height: 1.65;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.aal-cta {
	background: var(--aa-secondary);
	padding: 48px 0;
}

.aal-cta-inner {
	display: grid;
	gap: 26px;
	align-items: center;
}

@media (min-width: 1024px) {
	.aal-cta-inner {
		grid-template-columns: 1fr auto;
		gap: 48px;
	}
}

.aal-cta-title {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 2.1rem;
	line-height: 1.05;
	color: #fff;
	margin-bottom: 8px;
}

.aal-cta-text p:not(.aal-cta-title) {
	font-family: Nunito, sans-serif;
	color: #fff;
	max-width: 640px;
	line-height: 1.6;
}

.aal-cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}

.aal-cta-phone,
.aal-cta-wa {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.4rem;
	color: #fff;
}

.aal-cta-wa {
	font-size: 1.1rem;
	padding: 10px 16px;
	border: 2px solid rgba(255, 255, 255, .7);
}

.aal-cta-phone:hover,
.aal-cta-wa:hover {
	color: var(--aa-primary);
	border-color: var(--aa-primary);
}

.aal-page .aal-cta .btn {
	background: var(--aa-primary);
}

.aal-page .aal-cta .btn:hover {
	background: #fff;
	color: var(--aa-primary);
}

/* --------------------------------------------------------------------------
   Reseñas
   -------------------------------------------------------------------------- */

.aal-reviews-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 40px;
}

.aal-rating {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: Nunito, sans-serif;
	font-size: .9rem;
}

.aal-rating strong {
	font-family: Rajdhani, sans-serif;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--aa-primary);
}

.aal-stars {
	color: #f2b01e;
	letter-spacing: 2px;
	font-size: 1.1rem;
}

.aal-reviews-grid {
	display: grid;
	gap: 22px;
}

@media (min-width: 1024px) {
	.aal-reviews-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.aal-review {
	margin: 0;
	padding: 32px;
	background: var(--aa-grey);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.aal-review blockquote {
	margin: 0;
	flex: 1;
}

.aal-page .aal-review blockquote p {
	font-size: .98rem;
	line-height: 1.7;
	color: var(--aa-primary);
}

.aal-review figcaption {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--aa-primary);
}

.aal-review figcaption span {
	font-family: Nunito, sans-serif;
	font-weight: 400;
	font-size: .85rem;
	color: var(--aa-text);
}

/* --------------------------------------------------------------------------
   FAQ con profesional
   -------------------------------------------------------------------------- */

.aal-faq-layout {
	display: grid;
	gap: 48px;
}

@media (min-width: 1024px) {
	.aal-faq-layout.has-person {
		grid-template-columns: minmax(0, 1fr) 400px;
		gap: 72px;
		align-items: start;
	}
}

.aal-faq-person {
	max-width: 420px;
	width: 100%;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.aal-faq-person {
		position: sticky;
		top: 150px;
	}
}

.aal-faq-contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	padding: 22px 0 0;
	font-family: Nunito, sans-serif;
	color: var(--aa-text);
}

.aal-faq-contact span {
	width: 100%;
}

.aal-faq-contact a:not(.btn) {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--aa-primary);
}

.aal-page .aal-faq-contact .btn {
	padding: 11px 22px;
}

/* --------------------------------------------------------------------------
   Prefooter
   -------------------------------------------------------------------------- */

.aal-prefooter {
	position: relative;
	overflow: hidden;
	padding-top: 56px;
	text-align: center;
}

.aal-prefooter-people {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 12px;
	line-height: 0;
}

.aal-prefooter-people img {
	display: block;
	width: 100%;
	height: auto;
}

/* Degradado inferior para que el texto se lea sobre el grupo. */
.aal-prefooter-people::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 62%;
	background: linear-gradient(180deg, rgba(10, 44, 61, 0) 0%, rgba(10, 44, 61, .82) 55%, var(--aa-primary) 100%);
}

.aal-prefooter-cta {
	position: relative;
	z-index: 1;
	margin-top: -150px;
	padding: 0 24px 64px;
}

@media (max-width: 767px) {
	.aal-prefooter-cta {
		margin-top: -40px;
	}
}

.aal-prefooter-title {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 2.3rem;
	line-height: 1.05;
	color: #fff;
}

@media (min-width: 1024px) {
	.aal-prefooter-title {
		font-size: 3.4rem;
	}
}

.aal-prefooter-text {
	margin-top: 8px;
	font-family: Nunito, sans-serif;
	color: rgba(255, 255, 255, .8);
}

.aal-page .aal-prefooter .btn {
	display: inline-block;
	margin-top: 24px;
	padding: 15px 36px;
	font-size: 1.1rem;
}

.aal-page .aal-prefooter .btn:hover {
	background: #fff;
	color: var(--aa-primary);
}

/* --------------------------------------------------------------------------
   FAQ (reutiliza el bloque de la home)
   -------------------------------------------------------------------------- */

.aal-faq .aa-faq-answer p + p {
	margin-top: 10px;
}

/* El separador gris de page.php ya no hace falta antes de «Otros servicios». */
.aal-page section.other-services {
	margin-top: 72px;
}

/* --------------------------------------------------------------------------
   Ajustes móvil
   -------------------------------------------------------------------------- */

.aal-figures strong {
	white-space: nowrap;
}

@media (max-width: 639px) {
	.aal-figures strong {
		min-width: 104px;
	}

	.aal-team-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.aal-member-body {
		padding: 14px 14px 18px;
	}

	.aal-page .aal-member h3 {
		font-size: 1.15rem;
	}

	.aal-member-role {
		font-size: .66rem;
		margin-bottom: 8px;
	}

	.aal-page .aal-member p {
		font-size: .82rem;
		line-height: 1.5;
	}

	.aal-quote {
		padding: 28px 22px;
	}

	.aal-quote blockquote {
		padding-left: 0;
		padding-top: 40px;
		background-position: 0 0;
	}

	.aal-page .aal-quote blockquote p {
		font-size: 1.2rem;
	}
}

/* --------------------------------------------------------------------------
   Montajes propios: arcos del equipo y tarjeta de consulta
   -------------------------------------------------------------------------- */

/* Tarjeta lateral de los trámites: tres arcos, uno por profesional,
   con la cabeza asomando por encima. El central, en azul y más alto. */
.aal-promo {
	padding: 34px 30px 32px;
	background: var(--aa-grey);
	border-top: 4px solid var(--aa-secondary);
}

.aal-arches {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	align-items: end;
	margin-bottom: 26px;
}

.aal-arch-item {
	margin: 0;
	text-align: center;
}

.aal-arch-shape {
	position: relative;
	display: block;
	height: 150px;
	isolation: isolate;
}

.aal-arch-shape::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 36px;
	border-radius: 999px 999px 0 0;
	background: var(--aa-secondary);
	z-index: -1;
}

.aal-arch-item:nth-child(2) .aal-arch-shape {
	height: 172px;
}

.aal-arch-item:nth-child(2) .aal-arch-shape::before {
	background: var(--aa-primary);
}

.aal-arch-shape img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.aal-arch-item figcaption {
	margin-top: 8px;
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1rem;
	color: var(--aa-primary);
}

.aal-promo-box {
	padding: 0;
	background: none;
}

.aal-page .aal-promo-box .aal-promo-title {
	color: var(--aa-primary);
}

.aal-page .aal-promo-box p:not(.aal-promo-title) {
	color: var(--aa-text);
}

.aal-page .aal-promo-box .btn:hover {
	background: var(--aa-primary);
	color: #fff;
}

.aal-promo-phone {
	color: var(--aa-primary);
}

.aal-promo-phone:hover {
	color: var(--aa-secondary-dark);
}

/* FAQ: tarjeta de consulta con el profesional saliendo de un círculo
   y un bocadillo de mensaje. */
.aal-faq-person {
	padding: 36px 30px 32px;
	background: var(--aa-grey);
	text-align: center;
}

.aal-faq-avatar {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
}

.aal-faq-circle {
	position: relative;
	display: block;
	width: 210px;
	height: 256px;
	/* recorta el cuerpo por la curva del círculo, deja libre la cabeza */
	clip-path: inset(0 round 0 0 105px 105px);
	isolation: isolate;
}

.aal-faq-circle::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 210px;
	height: 210px;
	border-radius: 50%;
	background: var(--aa-secondary);
	z-index: -1;
}

.aal-faq-circle img {
	position: absolute;
	top: 0;
	left: 50%;
	width: auto;
	max-width: none;
	height: 340px;
	transform: translateX(-50%);
}

.aal-faq-avatar figcaption {
	position: static;
	margin-top: 16px;
	padding: 0;
	background: none;
	border: 0;
	text-align: center;
}

.aal-faq-bubble {
	position: relative;
	margin-top: 22px;
	padding: 18px 20px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 10px 26px rgba(10, 44, 61, .08);
	text-align: left;
}

.aal-faq-bubble::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 50%;
	width: 14px;
	height: 14px;
	background: #fff;
	transform: translateX(-50%) rotate(45deg);
}

.aal-page .aal-faq-bubble p {
	position: relative;
	font-size: .95rem;
	line-height: 1.6;
}

.aal-faq-bubble strong {
	color: var(--aa-primary);
}

.aal-faq-person .aal-faq-contact {
	justify-content: center;
	padding-top: 20px;
}

.aal-page .aal-faq-contact .btn {
	padding: 11px 24px;
}

.aal-page .aal-faq-contact .btn:hover {
	background: var(--aa-primary);
	color: #fff;
}

.aal-faq-contact .aal-faq-tel {
	font-size: 1.4rem;
}

/* Más aire entre el título y la lista de «Qué incluye». */
.aal-page .aal-includes h3 {
	margin-bottom: 24px;
}


.aal-faq-avatar figcaption {
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.25;
}

.aal-page .aal-faq-bubble p {
	margin: 0;
}

.aal-faq-bubble::before {
	z-index: 0;
}

/* --------------------------------------------------------------------------
   Equipo en grande: cada profesional sale de su arco
   -------------------------------------------------------------------------- */

.aal-team-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px 48px;
	margin-bottom: 56px;
}

.aal-team-head .aal-head {
	margin-bottom: 0;
}

.aal-team-cta {
	display: flex;
	align-items: center;
	gap: 22px;
}

.aal-page .aal-team-cta .btn {
	padding: 14px 30px;
	font-size: 1.1rem;
}

.aal-team-tel {
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--aa-primary);
}

.aal-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px;
	max-width: 1100px;
	margin: 0 auto;
}

.aal-member {
	background: none;
	text-align: center;
	transition: none;
}

.aal-member:hover {
	transform: none;
	box-shadow: none;
}

.aal-member-arch {
	position: relative;
	height: 430px;
	max-width: 300px;
	margin: 0 auto;
	isolation: isolate;
}

.aal-member-arch::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 22%;
	border-radius: 999px 999px 0 0;
	background: var(--aa-secondary);
	z-index: -1;
	transition: background-color .3s ease;
}

.aal-member:nth-child(2) .aal-member-arch::before {
	background: var(--aa-primary);
}

.aal-member-arch img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.aal-member:hover .aal-member-arch::before {
	background: var(--aa-secondary-dark);
}

.aal-member:nth-child(2):hover .aal-member-arch::before {
	background: var(--aa-primary-2);
}

.aal-member-body {
	padding: 22px 8px 0;
	border-top: 0;
}

.aal-page .aal-member h3 {
	font-size: 1.7rem;
	margin-bottom: 4px;
}

.aal-member-role {
	display: block;
	margin-bottom: 12px;
	font-family: Nunito, sans-serif;
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--aa-secondary-dark);
}

.aal-page .aal-member p {
	max-width: 300px;
	margin: 0 auto;
	font-size: .98rem;
	line-height: 1.6;
}

@media (max-width: 1023px) {
	.aal-team-grid {
		gap: 32px;
	}

	.aal-member-arch {
		height: 340px;
	}
}

@media (max-width: 767px) {
	.aal-team-grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.aal-member-arch {
		height: 380px;
		max-width: 260px;
	}

	.aal-team-cta {
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   FAQ: Ana más grande y asomando más por encima del círculo
   -------------------------------------------------------------------------- */

.aal-faq-person {
	padding-top: 24px;
}

.aal-faq-circle {
	width: 300px;
	height: 400px;
	clip-path: inset(0 round 0 0 150px 150px);
}

.aal-faq-circle::before {
	width: 300px;
	height: 300px;
}

.aal-faq-circle img {
	height: 500px;
}

@media (max-width: 380px) {
	.aal-faq-circle {
		width: 260px;
		height: 350px;
		clip-path: inset(0 round 0 0 130px 130px);
	}

	.aal-faq-circle::before {
		width: 260px;
		height: 260px;
	}

	.aal-faq-circle img {
		height: 440px;
	}
}

/* --------------------------------------------------------------------------
   Trámites como línea de tiempo con iconos
   -------------------------------------------------------------------------- */

.aal-steps-layout {
	display: grid;
	gap: 48px;
}

@media (min-width: 1024px) {
	.aal-steps-layout {
		grid-template-columns: 380px minmax(0, 1fr);
		gap: 80px;
		align-items: start;
	}

	.aal-steps-intro {
		position: sticky;
		top: 150px;
	}
}

.aal-steps-intro > p {
	font-size: 1.05rem;
}

.aal-page .aal-steps-intro .btn {
	display: inline-block;
	margin-top: 26px;
	padding: 14px 30px;
	font-size: 1.1rem;
}

.aal-timeline {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Línea vertical que une los iconos. */
.aal-timeline::before {
	content: "";
	position: absolute;
	left: 31px;
	top: 32px;
	bottom: 32px;
	width: 2px;
	background: repeating-linear-gradient(180deg, var(--aa-secondary) 0 8px, transparent 8px 14px);
}

.aal-tl-step {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 24px;
	padding: 0 0 28px;
}

.aal-tl-step:last-child {
	padding-bottom: 0;
}

.aal-tl-icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--aa-primary);
	color: #fff;
	box-shadow: 0 0 0 6px var(--aa-grey);
}

.aal-tl-step:nth-child(even) .aal-tl-icon {
	background: var(--aa-secondary);
}

.aal-tl-icon svg {
	width: 28px;
	height: 28px;
}

.aal-tl-card {
	padding: 30px 32px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(10, 44, 61, .06);
	border-top: 3px solid transparent;
	transition: border-color .25s ease, box-shadow .25s ease;
}

.aal-tl-card:hover {
	border-top-color: var(--aa-secondary);
	box-shadow: 0 18px 40px rgba(10, 44, 61, .1);
}

.aal-tl-num {
	display: block;
	margin-bottom: 6px;
	font-family: Nunito, sans-serif;
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--aa-secondary-dark);
}

.aal-page .aal-tl-card h3 {
	font-size: 1.6rem;
	margin-bottom: 12px;
}

.aal-tl-subs {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

@media (min-width: 768px) {
	.aal-tl-subs {
		grid-template-columns: 1fr 1fr;
	}
}

.aal-tl-sub {
	display: flex;
	gap: 14px;
	padding: 16px;
	background: var(--aa-grey);
}

.aal-tl-sub-icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #fff;
	color: var(--aa-secondary-dark);
}

.aal-tl-sub-icon svg {
	width: 22px;
	height: 22px;
}

.aal-page .aal-tl-sub h4 {
	margin-bottom: 4px;
}

.aal-page .aal-tl-sub p {
	font-size: .9rem;
	line-height: 1.55;
}

@media (max-width: 639px) {
	.aal-timeline::before {
		left: 23px;
	}

	.aal-tl-step {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 14px;
	}

	.aal-tl-icon {
		width: 48px;
		height: 48px;
	}

	.aal-tl-icon svg {
		width: 22px;
		height: 22px;
	}

	.aal-tl-card {
		padding: 22px 20px;
	}

	.aal-page .aal-tl-card h3 {
		font-size: 1.35rem;
	}
}

/* --------------------------------------------------------------------------
   Prefooter: equipo apoyado en el borde inferior
   -------------------------------------------------------------------------- */

.aal-prefooter {
	padding-top: 72px;
}

.aal-prefooter-people {
	position: relative;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 12px;
	line-height: 0;
}

.aal-prefooter-people img {
	display: block;
	width: 100%;
	height: auto;
}

/* Degradado inferior para que el texto se lea sobre el grupo. */
.aal-prefooter-people::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 62%;
	background: linear-gradient(180deg, rgba(10, 44, 61, 0) 0%, rgba(10, 44, 61, .78) 55%, rgba(10, 44, 61, .94) 100%);
	pointer-events: none;
}

/* El texto va encima del grupo, en su parte baja. */
.aal-prefooter-cta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 48px;
	z-index: 1;
	margin: 0;
	padding: 0 24px;
	line-height: normal;
}

@media (max-width: 767px) {
	.aal-prefooter {
		padding-top: 64px;
	}

	.aal-prefooter-people {
		padding: 0;
		display: flex;
		flex-direction: column-reverse;
	}

	.aal-prefooter-people::after {
		content: none;
	}

	.aal-prefooter-cta {
		position: static;
		padding: 0 24px 28px;
	}
}

/* --------------------------------------------------------------------------
   Inmuebles (WPCasa)
   -------------------------------------------------------------------------- */

.aal-listings-search {
	margin-bottom: 32px;
}

.aal-listings-list {
	line-height: normal;
}

/* --------------------------------------------------------------------------
   Aviso de revisión normativa
   -------------------------------------------------------------------------- */

.aal-reviewed {
	border-bottom: 1px solid var(--aa-line);
	background: #fff;
}

.aal-reviewed p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0;
	padding: 14px 0;
	color: var(--aa-text);
	font-family: Nunito, sans-serif;
	font-size: .9rem;
}

.aal-reviewed strong {
	color: var(--aa-primary);
}

.aal-reviewed-icon {
	display: inline-flex;
	color: var(--aa-secondary-dark);
}

.aal-reviewed-icon svg {
	width: 20px;
	height: 20px;
}
