/* About page (page-about.php / page-nosotros.php). Loaded conditionally. */

.sss-about-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--sss-space-6);
	align-items: center;
	padding-block: 96px 104px;
}

.sss-about-hero__media {
	position: relative;
	border-radius: var(--sss-radius-lg);
	overflow: hidden;
	box-shadow: var(--sss-shadow-md);
}

.sss-about-hero__media img {
	width: 100%;
	aspect-ratio: 8 / 5;
	object-fit: cover;
}

.sss-about-hero__text p {
	font-size: 1.1875rem;
	line-height: 1.6;
}

.sss-about-story {
	background: var(--sss-navy);
	padding-block: var(--sss-space-6);
	scroll-margin-top: 60px;
}

.sss-about-story__inner {
	display: flex;
	justify-content: center;
	text-align: center;
}

/* Widened per client direction — was 640px, read as compressed against
   the full-width dark band behind it. */
.sss-about-story__text {
	max-width: 1100px;
}

.sss-about-story__text h2 {
	color: var(--sss-white);
}

.sss-about-story__text .sss-lede {
	color: var(--sss-cloud);
}

.sss-about-approach {
	padding-block: var(--sss-section-major);
	scroll-margin-top: 60px;
}

.sss-about-approach__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--sss-space-6);
	align-items: start;
}

.sss-about-approach__media {
	position: relative;
	border-radius: var(--sss-radius-lg);
	overflow: hidden;
	position: sticky;
	top: var(--sss-space-4);
}

.sss-about-approach__media img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.sss-about-approach__list {
	margin: var(--sss-space-5) 0 0;
}

.sss-about-approach__row {
	border-top: 1px solid var(--sss-line);
	padding-block: var(--sss-space-4);
}

.sss-about-approach__row dt {
	font-family: var(--sss-font-heading);
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--sss-ink);
	display: flex;
	gap: var(--sss-space-2);
	align-items: center;
}

.sss-about-approach__icon {
	display: inline-flex;
	color: var(--sss-blue);
	flex-shrink: 0;
}

.sss-about-approach__row dd {
	margin: var(--sss-space-2) 0 0;
	color: var(--sss-slate);
	font-size: 1rem;
	max-width: 52ch;
}

.sss-about-adt {
	background: var(--sss-navy);
	color: var(--sss-white);
	scroll-margin-top: 60px;
	padding-block: 80px;
}

.sss-about-adt__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--sss-space-6);
	align-items: center;
}

.sss-about-adt h2 {
	color: var(--sss-white);
}

.sss-about-adt p {
	color: var(--sss-cloud);
	font-size: 1.0625rem;
}

.sss-about-adt__inner {
	justify-items: end;
}

.sss-about-adt__lockup {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--sss-space-4);
	width: fit-content;
	background: var(--sss-white);
	border-radius: var(--sss-radius-md);
	padding: var(--sss-space-4);
}

.sss-about-adt__lockup img {
	width: 260px;
	height: auto;
}

.sss-about-offices {
	padding-block: var(--sss-section-standard);
	scroll-margin-top: 60px;
}

.sss-about-offices__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--sss-space-5);
	margin-top: var(--sss-space-5);
}

.sss-about-offices__office,
.sss-about-offices__hours {
	background: var(--sss-cloud);
	border: 1px solid var(--sss-line);
	border-radius: var(--sss-radius-lg);
	padding: var(--sss-space-5);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sss-about-offices__office:hover,
.sss-about-offices__hours:hover {
	transform: translateY(-4px);
	box-shadow: var(--sss-shadow-md);
}

.sss-about-offices__office p,
.sss-about-offices__hours p {
	font-size: 1.0625rem;
	line-height: 1.5;
}

.sss-about-offices__office p:last-child,
.sss-about-offices__hours p:last-child {
	margin-bottom: 0;
}

.sss-about-cta {
	background: var(--sss-cloud);
	padding-block: 72px;
}

.sss-about-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sss-space-4);
	flex-wrap: wrap;
}

.sss-about-cta h2 {
	margin: 0;
	max-width: 30ch;
}

@media (max-width: 1023px) {
	.sss-about-hero__inner {
		grid-template-columns: 1fr;
		padding-block: 72px 80px;
	}

	.sss-about-approach__inner {
		grid-template-columns: 1fr;
	}

	.sss-about-approach__media {
		position: static;
	}

	/* The desktop rule right-aligns the lockup in its own grid column
	   (justify-items: end, above) — once the grid collapses to one column
	   here, that same "end" alignment is still active and pins the lockup
	   to the right edge instead of centering it under the text. */
	.sss-about-adt__inner {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.sss-about-offices__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.sss-about-offices__grid {
		grid-template-columns: 1fr;
	}

	.sss-about-cta__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.sss-about-hero__inner {
		padding-block: 48px 56px;
	}

	.sss-about-adt {
		padding-block: 48px;
	}

	.sss-about-cta {
		padding-block: 48px;
	}

	/* Center on mobile (client direction) — hero text and the Clear
	   Recommendations principles list, left-aligned by default. */
	.sss-about-hero__text,
	.sss-about-approach__text,
	.sss-about-adt__text,
	.sss-about-offices > .sss-container > h2,
	.sss-about-offices__office,
	.sss-about-offices__hours {
		text-align: center;
	}

	.sss-about-approach__row dt {
		justify-content: center;
	}

	.sss-about-approach__row dd {
		margin-inline: auto;
	}
}
