/* =============================================
   PAGE: NOSOTROS
   ============================================= */

/* ── Hero ─────────────────────────────────────── */
.nos-hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	background:
		linear-gradient(130deg, rgba(10, 35, 66, 0.78) 0%, rgba(31, 119, 180, 0.55) 100%),
		var(--nos-hero-img, none) center / cover no-repeat;
	overflow: hidden;
}

.nos-hero__deco {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.nos-hero__deco--1 {
	width: 480px;
	height: 480px;
	top: -120px;
	right: -80px;
	background: rgba(255, 191, 0, 0.07);
}

.nos-hero__deco--2 {
	width: 280px;
	height: 280px;
	bottom: -100px;
	left: 38%;
	background: rgba(255, 255, 255, 0.05);
}

.nos-hero__inner {
	position: relative;
	z-index: 1;
	padding: 5rem 0;
}

.nos-hero__label {
	display: inline-block;
	padding: 0.375rem 1rem;
	background: rgba(255, 191, 0, 0.12);
	border: 1px solid rgba(255, 191, 0, 0.35);
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #FFBF00;
	margin-bottom: 1.25rem;
}

.nos-hero__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	margin: 0 0 1.25rem;
	max-width: 680px;
}

.nos-hero__sub {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.78);
	max-width: 540px;
	line-height: 1.65;
	margin: 0;
}

/* ── Intro ────────────────────────────────────── */
.nos-intro {
	padding: 5rem 0 4rem;
	text-align: center;
}

.nos-intro__name {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	color: #0A2342;
	letter-spacing: 0.04em;
	margin: 0 0 1.5rem;
}

.nos-intro__text {
	max-width: 760px;
	margin: 0 auto;
	font-size: 1.0625rem;
	color: #4B5563;
	line-height: 1.8;
}

.nos-intro__text--2 {
	margin-top: 1.25rem;
}

/* ── Pillars ──────────────────────────────────── */
.nos-pillars {
	background: #F4F6F9;
	padding: 1rem 0 5rem;
}

.nos-pillars__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #0A2342;
	text-align: center;
	margin: 0 0 3rem;
	padding-top: 4rem;
}

.nos-pillars__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.nos-card {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	background: #fff;
	border-radius: 14px;
	padding: 1.875rem;
	border: 1px solid #E5E7EB;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nos-card:hover {
	box-shadow: 0 8px 28px rgba(10, 35, 66, 0.1);
	transform: translateY(-3px);
}

.nos-card__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: #0A2342;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFBF00;
}

.nos-card__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.0625rem;
	font-weight: 700;
	color: #0A2342;
	margin: 0 0 0.5rem;
}

.nos-card__text {
	font-size: 0.9375rem;
	color: #4B5563;
	line-height: 1.65;
	margin: 0;
}

/* ── Stats ────────────────────────────────────── */
.nos-stats {
	background: #0A2342;
	padding: 4rem 0;
}

.nos-stats__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	text-align: center;
}

.nos-stat__value {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.5rem, 2.8vw, 2.25rem);
	font-weight: 700;
	color: #FFBF00;
	line-height: 1.15;
	margin-bottom: 0.5rem;
}

.nos-stat__label {
	font-size: 0.875rem;
	color: rgba(203, 213, 225, 0.75);
	letter-spacing: 0.02em;
}

/* ── Sector cards ─────────────────────────────── */
.nos-sector {
	background: #F4F6F9;
	padding: 5rem 0;
}

.nos-sector__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #0A2342;
	text-align: center;
	margin: 0 0 3rem;
}

.nos-sector__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
}

.nos-ind-card {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: 16px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	cursor: default;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nos-ind-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(10, 35, 66, 0.2);
}

/* Gradient fallbacks por industria cuando no hay imagen */
.nos-ind-card:nth-child(1) { background-color: #0f3460; background-image: linear-gradient(160deg, #0A2342 20%, #1a5f8a); }
.nos-ind-card:nth-child(2) { background-color: #0d2d50; background-image: linear-gradient(160deg, #0d2d50 20%, #1F77B4); }
.nos-ind-card:nth-child(3) { background-color: #0a2342; background-image: linear-gradient(160deg, #0A2342 20%, #124e7a); }
.nos-ind-card:nth-child(4) { background-color: #0d1f35; background-image: linear-gradient(160deg, #0d1f35 20%, #1a4f7c); }
.nos-ind-card:nth-child(5) { background-color: #102a4c; background-image: linear-gradient(160deg, #102a4c 20%, #2589c7); }
.nos-ind-card:nth-child(6) { background-color: #0a2342; background-image: linear-gradient(160deg, #0A2342 20%, #1d6595); }

/* When a real image is set via inline style, add overlay on top */
.nos-ind-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 35, 66, 0.75) 0%, rgba(10, 35, 66, 0.15) 55%, transparent 100%);
}

.nos-ind-card__label {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.28);
	padding: 0.4rem 1rem;
	border-radius: 100px;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
	letter-spacing: 0.02em;
}

/* ── Representantes regionales ────────────────── */
.nos-reps {
	padding: 5rem 0;
	background: #ffffff;
}

.nos-reps__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #0A2342;
	text-align: center;
	margin: 0 0 0.75rem;
}

.nos-reps__sub {
	text-align: center;
	font-size: 1rem;
	color: #4B5563;
	line-height: 1.7;
	max-width: 580px;
	margin: 0 auto 3rem;
}

.nos-reps__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
	max-width: 860px;
	margin: 0 auto;
}

/* ── Rep card ─────────────────────────────────── */
.nos-rep-card {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	background: #F4F6F9;
	border-radius: 16px;
	padding: 2rem;
	border: 1px solid #E5E7EB;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nos-rep-card:hover {
	box-shadow: 0 8px 28px rgba(10, 35, 66, 0.1);
	transform: translateY(-3px);
}

.nos-rep-card__photo-wrap {
	flex-shrink: 0;
}

.nos-rep-card__photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top center;
	border: 3px solid #ffffff;
	box-shadow: 0 2px 12px rgba(10,35,66,0.15);
	display: block;
}

.nos-rep-card__photo--placeholder {
	background: #0A2342;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFBF00;
}

.nos-rep-card__region {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1F77B4;
	margin-bottom: 0.375rem;
}

.nos-rep-card__name {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.125rem;
	font-weight: 700;
	color: #0A2342;
	margin: 0 0 0.2rem;
	line-height: 1.2;
}

.nos-rep-card__role {
	font-size: 0.875rem;
	color: #4B5563;
	margin: 0 0 0.875rem;
}

.nos-rep-card__langs {
	display: flex;
	gap: 0.375rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.nos-rep-card__lang {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #0A2342;
	background: #ffffff;
	border: 1.5px solid #CBD5E1;
	border-radius: 4px;
	padding: 0.15rem 0.5rem;
}

.nos-rep-card__contacts {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.nos-rep-card__contact {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: #1F77B4;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.15s ease;
	word-break: break-all;
}

.nos-rep-card__contact:hover {
	color: #0A2342;
	text-decoration: underline;
}

.nos-rep-card__contact svg {
	flex-shrink: 0;
	color: #FFBF00;
}

@media (max-width: 700px) {
	.nos-reps__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.nos-rep-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.nos-rep-card__region,
	.nos-rep-card__langs,
	.nos-rep-card__contacts {
		justify-content: center;
	}
}

/* ── CTA ──────────────────────────────────────── */
.nos-cta {
	padding: 5rem 0;
	text-align: center;
}

.nos-cta__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #0A2342;
	margin: 0 0 1rem;
}

.nos-cta__body {
	max-width: 520px;
	margin: 0 auto 2rem;
	color: #4B5563;
	font-size: 1rem;
	line-height: 1.75;
}

.nos-cta__btn {
	display: inline-block;
	padding: 0.9rem 2.25rem;
	background: #FFBF00;
	color: #0A2342;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.9375rem;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.nos-cta__btn:hover {
	background: #e6ac00;
	transform: translateY(-2px);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
	.nos-sector__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.nos-stats__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem 1rem;
	}

	.nos-sector__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nos-ind-card__label {
		font-size: 0.75rem;
		white-space: normal;
		text-align: center;
		width: calc(100% - 2rem);
	}
}

@media (max-width: 768px) {
	.nos-hero__inner {
		padding: 4rem 0;
	}

	.nos-pillars__grid {
		grid-template-columns: 1fr;
	}

	.nos-card {
		padding: 1.5rem;
	}
}

@media (max-width: 480px) {
	.nos-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
