/*
 * HospediaPro — Nosotros CSS
 * Page template: page-nosotros.php
 * Clases: .hp-nos__*
 */

:root {
	--nos-primary: #3b82f6;
	--nos-dark:    #0f172a;
	--nos-text:    #1e293b;
	--nos-muted:   #64748b;
	--nos-border:  #e2e8f0;
	--nos-bg:      #f8faff;
	--nos-radius:  16px;
}

.hp-nos__container {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 var(--hp-container-pad, 1.5rem);
	box-sizing: border-box;
}

/* ── Botones ───────────────────────────────────────────────────────── */
.hp-nos__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: .95rem;
	border-radius: 99px;
	padding: .8rem 1.75rem;
	text-decoration: none;
	transition: transform .15s, box-shadow .2s, background .2s;
	white-space: nowrap;
	border: 2px solid transparent;
}

.hp-nos__btn--primary {
	background: var(--nos-primary);
	color: #fff;
	box-shadow: 0 4px 16px rgba(59,130,246,.3);
}
.hp-nos__btn--primary:hover {
	background: #1d4ed8;
	transform: translateY(-2px);
	color: #fff;
	text-decoration: none;
}

.hp-nos__btn--outline {
	background: transparent;
	color: rgba(255,255,255,.8);
	border-color: rgba(255,255,255,.3);
}
.hp-nos__btn--outline:hover {
	background: rgba(255,255,255,.1);
	color: #fff;
	text-decoration: none;
}

.hp-nos__btn--white {
	background: #fff;
	color: var(--nos-primary);
	box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.hp-nos__btn--white:hover {
	background: #eff6ff;
	transform: translateY(-2px);
	color: var(--nos-primary);
	text-decoration: none;
}

.hp-nos__btn--ghost-light {
	background: rgba(255,255,255,.1);
	color: rgba(255,255,255,.8);
	border-color: rgba(255,255,255,.25);
}
.hp-nos__btn--ghost-light:hover {
	background: rgba(255,255,255,.18);
	color: #fff;
	text-decoration: none;
}

.hp-nos__btn--lg { font-size: 1.05rem; padding: 1rem 2.25rem; }

/* ── Eyebrow ───────────────────────────────────────────────────────── */
.hp-nos__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--nos-primary);
	background: rgba(59,130,246,.08);
	border: 1px solid rgba(59,130,246,.18);
	border-radius: 99px;
	padding: .3rem .9rem;
	margin-bottom: 1rem;
}

.hp-nos__eyebrow--center { display: flex; justify-content: center; }

.hp-nos__eyebrow--light {
	color: rgba(255,255,255,.7);
	background: rgba(255,255,255,.1);
	border-color: rgba(255,255,255,.2);
}

/* ── Section headers ───────────────────────────────────────────────── */
.hp-nos__section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.hp-nos__section-title {
	font-family: var(--hp-font-heading);
	font-size: clamp(1.65rem, 2.5vw, 2.25rem);
	font-weight: 800;
	color: var(--nos-text);
	letter-spacing: -.03em;
	margin: 0 0 .75rem;
	line-height: 1.15;
}

.hp-nos__section-title--center { text-align: center; }

.hp-nos__section-sub {
	font-size: 1rem;
	color: var(--nos-muted);
	line-height: 1.7;
	max-width: 560px;
	margin: 0 auto;
}

.hp-nos__text {
	font-size: .975rem;
	color: var(--nos-muted);
	line-height: 1.75;
	margin: 0 0 1rem;
}

/* ── Placeholder imágenes ──────────────────────────────────────────── */
.hp-nos__img-placeholder {
	width: 100%;
	height: 100%;
	background: #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	border-radius: 12px;
}

.hp-nos__img-placeholder--lg {
	min-height: 400px;
}

/* =========================================================================
   1. HERO
   ========================================================================= */

.hp-nos__hero {
	position: relative;
	background: #0a1628;
	padding: 5rem 0 4.5rem;
	overflow: hidden;
}

.hp-nos__hero-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hp-nos__hero-circle {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
}

.hp-nos__hero-circle--1 {
	width: 550px;
	height: 550px;
	background: rgba(59,130,246,.15);
	top: -200px;
	left: -100px;
}

.hp-nos__hero-circle--2 {
	width: 450px;
	height: 450px;
	background: rgba(99,102,241,.1);
	bottom: -150px;
	right: -80px;
}

.hp-nos__hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 480px;
	gap: 4rem;
	align-items: center;
}

.hp-nos__hero-title {
	font-family: var(--hp-font-heading);
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 900;
	color: #fff;
	letter-spacing: -.04em;
	line-height: 1.1;
	margin: 0 0 1rem;
}

.hp-nos__hero-subtitle {
	font-size: 1.05rem;
	color: rgba(255,255,255,.68);
	line-height: 1.7;
	margin: 0 0 2rem;
	max-width: 480px;
}

.hp-nos__hero-actions {
	display: flex;
	gap: .85rem;
	flex-wrap: wrap;
}

/* Mosaico de fotos */
.hp-nos__hero-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .85rem;
	height: 420px;
}

.hp-nos__hero-gallery-main {
	border-radius: var(--nos-radius);
	overflow: hidden;
	height: 100%;
}

.hp-nos__hero-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hp-nos__hero-gallery-side {
	display: flex;
	flex-direction: column;
	gap: .85rem;
}

.hp-nos__hero-gallery-item {
	flex: 1;
	border-radius: 12px;
	overflow: hidden;
}

.hp-nos__hero-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* =========================================================================
   2. HISTORIA
   ========================================================================= */

.hp-nos__history {
	padding: 5.5rem 0;
	background: #fff;
}

.hp-nos__history-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.hp-nos__history-img-wrap {
	position: relative;
}

.hp-nos__history-img {
	width: 100%;
	height: 480px;
	object-fit: cover;
	border-radius: var(--nos-radius);
	display: block;
}

.hp-nos__history-badge {
	position: absolute;
	bottom: -1.25rem;
	right: -1.25rem;
	background: #fff;
	border: 1px solid var(--nos-border);
	border-radius: 12px;
	padding: .85rem 1.1rem;
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: .85rem;
	font-weight: 700;
	color: var(--nos-text);
	box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.hp-nos__history-badge svg { color: var(--nos-primary); }

.hp-nos__history-content {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

/* =========================================================================
   3. VALORES
   ========================================================================= */

.hp-nos__values {
	padding: 5rem 0;
	background: var(--nos-bg);
}

.hp-nos__values-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.hp-nos__value-card {
	background: #fff;
	border: 1px solid var(--nos-border);
	border-top: 3px solid var(--val-color, var(--nos-primary));
	border-radius: var(--nos-radius);
	padding: 1.75rem 1.5rem;
	transition: box-shadow .2s, transform .2s;
}

.hp-nos__value-card:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,.08);
	transform: translateY(-3px);
}

.hp-nos__value-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--val-color, var(--nos-primary)) 12%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--val-color, var(--nos-primary));
	margin-bottom: 1rem;
}

.hp-nos__value-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--nos-text);
	margin: 0 0 .5rem;
}

.hp-nos__value-desc {
	font-size: .875rem;
	color: var(--nos-muted);
	line-height: 1.65;
	margin: 0;
}

/* =========================================================================
   4. SERVICIOS
   ========================================================================= */

.hp-nos__services {
	padding: 5rem 0;
	background: #fff;
}

.hp-nos__services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.hp-nos__service-card {
	padding: 1.75rem;
	border: 1px solid var(--nos-border);
	border-radius: var(--nos-radius);
	background: var(--nos-bg);
	transition: box-shadow .2s, transform .2s, border-color .2s;
}

.hp-nos__service-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,.07);
	transform: translateY(-3px);
	border-color: rgba(59,130,246,.25);
}

.hp-nos__service-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(59,130,246,.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--nos-primary);
	margin-bottom: 1rem;
}

.hp-nos__service-title {
	font-size: .975rem;
	font-weight: 700;
	color: var(--nos-text);
	margin: 0 0 .5rem;
}

.hp-nos__service-desc {
	font-size: .875rem;
	color: var(--nos-muted);
	line-height: 1.65;
	margin: 0;
}

/* =========================================================================
   5. STATS
   ========================================================================= */

.hp-nos__stats {
	position: relative;
	padding: 5rem 0;
	background: #0f172a;
	background-size: cover;
	background-position: center;
	text-align: center;
}

.hp-nos__stats-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(10,22,40,.82), rgba(10,22,40,.9));
}

.hp-nos__stats > .hp-nos__container {
	position: relative;
	z-index: 1;
}

.hp-nos__stats-title {
	font-family: var(--hp-font-heading);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 800;
	color: #fff;
	letter-spacing: -.03em;
	margin: 0 0 3rem;
}

.hp-nos__stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.hp-nos__stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
}

.hp-nos__stat-value {
	font-family: var(--hp-font-heading);
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 900;
	color: #fff;
	letter-spacing: -.05em;
	line-height: 1;
}

.hp-nos__stat-label {
	font-size: .85rem;
	font-weight: 500;
	color: rgba(255,255,255,.55);
	text-transform: uppercase;
	letter-spacing: .07em;
}

/* =========================================================================
   6. EQUIPO
   ========================================================================= */

.hp-nos__team {
	padding: 5rem 0;
	background: var(--nos-bg);
}

.hp-nos__team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.hp-nos__team-card {
	background: #fff;
	border: 1px solid var(--nos-border);
	border-radius: var(--nos-radius);
	padding: 1.75rem 1.5rem;
	text-align: center;
	transition: box-shadow .2s, transform .2s;
}

.hp-nos__team-card:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,.08);
	transform: translateY(-4px);
}

.hp-nos__team-avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 1rem;
	border: 3px solid rgba(59,130,246,.15);
}

.hp-nos__team-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hp-nos__team-avatar-placeholder {
	width: 100%;
	height: 100%;
	background: var(--nos-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
}

.hp-nos__team-name {
	font-size: 1rem;
	font-weight: 700;
	color: var(--nos-text);
	margin: 0 0 .3rem;
}

.hp-nos__team-role {
	font-size: .8rem;
	font-weight: 600;
	color: var(--nos-primary);
	margin: 0 0 .75rem;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.hp-nos__team-bio {
	font-size: .85rem;
	color: var(--nos-muted);
	line-height: 1.6;
	margin: 0;
}

/* =========================================================================
   7. TESTIMONIOS
   ========================================================================= */

.hp-nos__testimonials {
	padding: 5rem 0;
	background: #fff;
}

.hp-nos__testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.hp-nos__testimonial-card {
	background: var(--nos-bg);
	border: 1px solid var(--nos-border);
	border-radius: var(--nos-radius);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hp-nos__test-stars {
	display: flex;
	gap: 3px;
}

.hp-nos__test-text {
	font-size: .95rem;
	color: var(--nos-text);
	line-height: 1.7;
	margin: 0;
	flex: 1;
	position: relative;
}

.hp-nos__test-quote {
	color: rgba(59,130,246,.15);
	margin-right: .4rem;
	vertical-align: middle;
}

.hp-nos__test-author {
	display: flex;
	align-items: center;
	gap: .85rem;
	padding-top: 1rem;
	border-top: 1px solid var(--nos-border);
}

.hp-nos__test-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.hp-nos__test-avatar-placeholder {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nos-primary);
	color: #fff;
	font-weight: 700;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hp-nos__test-name {
	font-size: .875rem;
	font-weight: 700;
	color: var(--nos-text);
	margin: 0;
}

.hp-nos__test-role {
	font-size: .78rem;
	color: var(--nos-muted);
	margin: 0;
}

/* =========================================================================
   8. CTA FINAL
   ========================================================================= */

.hp-nos__cta {
	position: relative;
	padding: 6rem 0;
	background: #0a1628;
	overflow: hidden;
	text-align: center;
}

.hp-nos__cta-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hp-nos__cta-inner {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}

.hp-nos__cta-icon {
	width: 72px;
	height: 72px;
	background: rgba(59,130,246,.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #60a5fa;
}

.hp-nos__cta-title {
	font-family: var(--hp-font-heading);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 900;
	color: #fff;
	letter-spacing: -.04em;
	line-height: 1.15;
	margin: 0;
}

.hp-nos__cta-subtitle {
	font-size: 1rem;
	color: rgba(255,255,255,.65);
	margin: 0;
}

.hp-nos__cta-actions {
	display: flex;
	gap: .85rem;
	flex-wrap: wrap;
	justify-content: center;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1100px) {
	.hp-nos__values-grid  { grid-template-columns: repeat(2, 1fr); }
	.hp-nos__team-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.hp-nos__hero-inner     { grid-template-columns: 1fr; }
	.hp-nos__hero-gallery   { display: none; }
	.hp-nos__history-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
	.hp-nos__services-grid  { grid-template-columns: repeat(2, 1fr); }
	.hp-nos__stats-grid     { grid-template-columns: repeat(2, 1fr); }
	.hp-nos__testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.hp-nos__hero           { padding: 3.5rem 0 3rem; }
	.hp-nos__values-grid    { grid-template-columns: 1fr; }
	.hp-nos__services-grid  { grid-template-columns: 1fr; }
	.hp-nos__stats-grid     { grid-template-columns: repeat(2, 1fr); }
	.hp-nos__team-grid      { grid-template-columns: 1fr 1fr; }
	.hp-nos__hero-actions   { flex-direction: column; }
	.hp-nos__cta-actions    { flex-direction: column; align-items: center; }
	.hp-nos__history-badge  { right: .5rem; bottom: .5rem; }
}

/* =========================================================================
   LÍDER / CEO
   ========================================================================= */

.hp-nos__leader {
	padding: 5rem 0;
	background: var(--nos-bg);
}

.hp-nos__leader-inner {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 5rem;
	align-items: center;
}

/* Foto */
.hp-nos__leader-img-wrap {
	position: relative;
	flex-shrink: 0;
}

.hp-nos__leader-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: top center;
	border-radius: 20px;
	display: block;
	box-shadow: 0 24px 60px rgba(0,0,0,.12);
}

.hp-nos__leader-img-placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #e2e8f0;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
}

/* Badge de experiencia */
.hp-nos__leader-exp-badge {
	position: absolute;
	bottom: -1.25rem;
	left: -1.25rem;
	background: var(--nos-primary);
	border-radius: 14px;
	padding: 1rem 1.25rem;
	text-align: center;
	box-shadow: 0 8px 24px rgba(59,130,246,.35);
	min-width: 90px;
}

.hp-nos__leader-exp-num {
	display: block;
	font-family: var(--hp-font-heading);
	font-size: 2rem;
	font-weight: 900;
	color: #fff;
	letter-spacing: -.04em;
	line-height: 1;
}

.hp-nos__leader-exp-label {
	display: block;
	font-size: .68rem;
	font-weight: 700;
	color: rgba(255,255,255,.8);
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-top: .3rem;
	white-space: normal;
	line-height: 1.3;
}

/* Contenido */
.hp-nos__leader-content {
	display: flex;
	flex-direction: column;
	gap: .85rem;
}

.hp-nos__leader-name {
	font-family: var(--hp-font-heading);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 900;
	color: var(--nos-text);
	letter-spacing: -.04em;
	margin: 0;
	line-height: 1.1;
}

.hp-nos__leader-role {
	font-size: .875rem;
	font-weight: 700;
	color: var(--nos-primary);
	text-transform: uppercase;
	letter-spacing: .08em;
	margin: 0;
}

/* Cita */
.hp-nos__leader-quote {
	background: #fff;
	border: 1px solid var(--nos-border);
	border-left: 4px solid var(--nos-primary);
	border-radius: 0 12px 12px 0;
	padding: 1.25rem 1.5rem;
	margin: .5rem 0;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--nos-text);
	line-height: 1.6;
	font-style: italic;
}

.hp-nos__leader-quote-icon {
	color: rgba(59,130,246,.2);
	margin-right: .4rem;
	vertical-align: middle;
	flex-shrink: 0;
}

/* Bio */
.hp-nos__leader-bio {
	font-size: .95rem;
	color: var(--nos-muted);
	line-height: 1.75;
	margin: 0;
}

/* Skills */
.hp-nos__leader-skills {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: .25rem;
}

.hp-nos__leader-skill {
	font-size: .78rem;
	font-weight: 600;
	color: var(--nos-primary);
	background: rgba(59,130,246,.08);
	border: 1px solid rgba(59,130,246,.18);
	border-radius: 99px;
	padding: .3rem .85rem;
}

/* Meta: ubicación + redes */
.hp-nos__leader-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: .75rem;
	border-top: 1px solid var(--nos-border);
	margin-top: .25rem;
}

.hp-nos__leader-location {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: .82rem;
	color: var(--nos-muted);
}

.hp-nos__leader-location svg { color: var(--nos-primary); }

.hp-nos__leader-social {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .82rem;
	font-weight: 600;
	color: var(--nos-text);
	text-decoration: none;
	padding: .4rem .85rem;
	border: 1.5px solid var(--nos-border);
	border-radius: 99px;
	transition: border-color .2s, color .2s, background .2s;
}

.hp-nos__leader-social:hover {
	border-color: var(--nos-primary);
	color: var(--nos-primary);
	background: rgba(59,130,246,.06);
	text-decoration: none;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.hp-nos__leader-inner {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.hp-nos__leader-img-wrap {
		max-width: 320px;
		margin: 0 auto;
	}

	.hp-nos__leader-exp-badge {
		left: auto;
		right: -1rem;
		bottom: -1rem;
	}
}

@media (max-width: 480px) {
	.hp-nos__leader-img-wrap { max-width: 260px; }
	.hp-nos__leader-quote    { font-size: .95rem; }
}