/**
 * about.css — Sección de información institucional / Sobre Nosotros.
 *
 * Estilos para el bloque de presentación de la agencia, pilares y foto de equipo.
 * Autor: Cusco Creativos.
 */

.section-about {
	padding-block: clamp(60px, 8vw, 100px);
	background-color: var(--mtn-bg, #fff);
	transition: background-color 0.3s ease;
	position: relative;
	overflow: hidden;
}

.about-container {
	max-width: var(--mtn-header-max, 1600px);
	margin-inline: auto;
	padding-inline: clamp(16px, 3vw, 40px);
}

/* -------------------------------------------------------------------------
 * Encabezado de Sección
 * ---------------------------------------------------------------------- */
.section-heading.text-center {
	text-align: center;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.about-main-title {
	margin: 0 0 14px;
	font-family: var(--mtn-font-heading);
	font-size: clamp(2rem, 3.8vw, 2.85rem);
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	letter-spacing: -0.5px;
	line-height: 1.15;
	transition: color 0.3s ease;
}

/* Divisor decorativo (líneas y punto central rojo) */
.about-divider {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 180px;
	margin-inline: auto;
}

.about-divider .divider-line {
	flex: 1;
	height: 1.5px;
	background-color: #d1ddd3;
	border-radius: 1px;
	transition: background-color 0.3s ease;
}

.about-divider .divider-dash {
	width: 18px;
	height: 4px;
	background-color: var(--mtn-red, #d61f47);
	border-radius: 4px;
}

/* -------------------------------------------------------------------------
 * Cuadrícula de 2 Columnas (Texto vs Foto)
 * ---------------------------------------------------------------------- */
.about-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(36px, 5vw, 70px);
	align-items: center;
}

/* --- Columna Información --- */
.about-col-info {
	display: flex;
	flex-direction: column;
}

.about-text-lead {
	font-size: clamp(15.5px, 1.15vw, 17px);
	line-height: 1.78;
	color: var(--mtn-text, #2c352e);
	margin-bottom: 8px;
	transition: color 0.3s ease;
}

.about-text-lead p,
.about-text-sub p {
	margin: 0 0 16px;
}

.about-text-lead strong {
	color: var(--mtn-green, #1a7a3c);
	font-weight: 700;
	transition: color 0.3s ease;
}

.about-text-sub {
	font-size: clamp(14.5px, 1.05vw, 15.5px);
	line-height: 1.75;
	color: var(--mtn-muted, #5b665b);
	margin-bottom: 24px;
	transition: color 0.3s ease;
}

/* Cuadrícula 2x2 de Características / Valores */
.about-features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 24px;
	margin-top: 10px;
}

.about-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.feature-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	flex: none;
	transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.about-feature-item:hover .feature-icon-box {
	transform: translateY(-2px);
}

/* Variación Verde */
.feature-green .feature-icon-box {
	background: #eef7f0;
	border: 1px solid #d2edd7;
	color: var(--mtn-green, #1a7a3c);
}

/* Variación Roja / Acento */
.feature-red .feature-icon-box {
	background: #fdf1f3;
	border: 1px solid #fad5dc;
	color: var(--mtn-red, #d61f47);
}

.feature-content {
	display: flex;
	flex-direction: column;
}

.feature-title {
	margin: 0 0 3px;
	font-family: var(--mtn-font-body);
	font-size: 15px;
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	line-height: 1.25;
	transition: color 0.3s ease;
}

.feature-desc {
	margin: 0;
	font-size: 13px;
	color: var(--mtn-muted, #5b665b);
	line-height: 1.35;
	transition: color 0.3s ease;
}

/* --- Columna Multimedia / Fotografía --- */
.about-col-media {
	position: relative;
	width: 100%;
}

.about-image-wrapper {
	position: relative;
	padding: 12px 14px 28px 0;
	width: 100%;
	max-width: 620px;
	margin-inline: auto;
}

/* Marco decorativo suave de fondo */
.about-image-frame {
	position: absolute;
	inset: 0 0 16px 20px;
	border: 2.5px solid #bde6c9;
	border-radius: 28px;
	z-index: 1;
	pointer-events: none;
	transition: border-color 0.3s ease;
}

.about-image-inner {
	position: relative;
	z-index: 2;
	border-radius: 24px;
	overflow: hidden;
	background: #f0f4f1;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
	transition: box-shadow 0.3s ease;
}

.about-img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-img {
	transform: scale(1.025);
}

/* Insignia / Badge flotante "+500 Viajeros felices" */
.about-floating-badge {
	position: absolute;
	bottom: 0;
	left: -8px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--mtn-bg-card, #ffffff);
	padding: 10px 22px 10px 14px;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	border: 1px solid var(--mtn-border, #eef2ef);
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.about-floating-badge:hover {
	transform: translateY(-2px);
}

.badge-icon-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--mtn-green, #1a7a3c);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	flex: none;
	box-shadow: 0 4px 10px rgba(26, 122, 60, 0.3);
}

.badge-text-group {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.badge-number {
	font-family: var(--mtn-font-heading);
	font-size: 19px;
	font-weight: 700;
	color: var(--mtn-heading, #142016);
	letter-spacing: -0.3px;
	transition: color 0.3s ease;
}

.badge-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--mtn-muted, #5b665b);
	transition: color 0.3s ease;
}

/* -------------------------------------------------------------------------
 * Modo Oscuro (Dark Mode)
 * ---------------------------------------------------------------------- */
[data-theme="dark"] .section-about,
.dark-mode .section-about {
	background-color: var(--mtn-bg, #101512);
}

[data-theme="dark"] .about-divider .divider-line,
.dark-mode .about-divider .divider-line {
	background-color: #27392c;
}

[data-theme="dark"] .about-text-lead strong,
.dark-mode .about-text-lead strong {
	color: #4ade80;
}

[data-theme="dark"] .feature-green .feature-icon-box,
.dark-mode .feature-green .feature-icon-box {
	background: #15261b;
	border-color: #23442e;
	color: #4ade80;
}

[data-theme="dark"] .feature-red .feature-icon-box,
.dark-mode .feature-red .feature-icon-box {
	background: #271418;
	border-color: #461f26;
	color: #ff5477;
}

[data-theme="dark"] .about-image-frame,
.dark-mode .about-image-frame {
	border-color: #24462e;
}

[data-theme="dark"] .about-image-inner,
.dark-mode .about-image-inner {
	background: #18221b;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .about-floating-badge,
.dark-mode .about-floating-badge {
	background: #18221b;
	border-color: #27392c;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .badge-icon-circle,
.dark-mode .badge-icon-circle {
	background: #3ec774;
	color: #0b1a10;
	box-shadow: 0 4px 12px rgba(62, 199, 116, 0.4);
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media (max-width: 992px) {
	.about-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.about-col-info {
		order: 1;
	}

	.about-col-media {
		order: 2;
	}

	.about-image-wrapper {
		max-width: 540px;
	}
}

@media (max-width: 600px) {
	.about-features-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.about-image-wrapper {
		padding: 8px 8px 24px 0;
	}

	.about-image-frame {
		inset: 0 0 12px 14px;
		border-radius: 20px;
	}

	.about-image-inner {
		border-radius: 18px;
	}

	.about-floating-badge {
		left: 4px;
		bottom: -6px;
		padding: 8px 16px 8px 12px;
	}

	.badge-icon-circle {
		width: 34px;
		height: 34px;
	}

	.badge-number {
		font-size: 17px;
	}
}
