/* ============================================================
   A. SOLANES 2010 — Página "Quiénes somos"
   CSS específico de la plantilla template-quienes.php.
   Reutiliza los tokens de main.css (var(--as-red), etc.).
   Prefijo de clases: .as-qs-
   ============================================================ */

/* -------- Base de sección -------- */
.as-qs .as-qs-hero,
.as-qs .as-qs-intro,
.as-qs .as-qs-timeline,
.as-qs .as-qs-services,
.as-qs .as-qs-gallery,
.as-qs .as-qs-showroom {
	padding: 100px 0;
	position: relative;
}

/* -------- Eyebrow (antetítulo con línea roja) -------- */
.as-qs-eyebrow {
	display: inline-block;
	font-family: var(--as-head);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--as-red);
	margin-bottom: 18px;
	position: relative;
	padding-left: 50px;
}
.as-qs-eyebrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 35px;
	height: 2px;
	background: var(--as-red);
}
.as-qs-eyebrow--light { color: var(--as-red-light); }

/* -------- Cabecera de sección centrada -------- */
.as-qs-section-header { text-align: center; margin-bottom: 70px; }
.as-qs-section-header .as-qs-eyebrow { padding: 0 60px; }
.as-qs-section-header .as-qs-eyebrow::before { left: 0; }
.as-qs-section-header .as-qs-eyebrow::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 35px;
	height: 2px;
	background: var(--as-red);
}
.as-qs-section-header h2 {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	font-weight: 700;
	max-width: 900px;
	margin: 0 auto 20px;
}
.as-qs-section-header p {
	max-width: 750px;
	margin: 0 auto;
	font-size: 1.1rem;
	color: var(--as-gray);
}

/* ============================================================
   SECCIÓN 1 · HERO
   ============================================================ */
.as-qs-hero {
	min-height: 88vh;
	padding: 140px 20px 100px !important;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	overflow: hidden;
}
.as-qs-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.40) 100%);
	z-index: 1;
}
.as-qs-hero__content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: 0 auto;
	width: 100%;
	color: #fff;
}
.as-qs-hero__eyebrow {
	display: inline-block;
	font-family: var(--as-head);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 25px;
	padding-left: 55px;
	position: relative;
}
.as-qs-hero__eyebrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 40px;
	height: 2px;
	background: var(--as-red);
}
.as-qs-hero__title {
	font-size: clamp(2.2rem, 5.5vw, 4.2rem);
	color: #fff;
	margin-bottom: 30px;
	font-weight: 800;
	line-height: 1.1;
	max-width: 850px;
}
.as-qs-hero__title span { color: var(--as-red-light); }
.as-qs-hero__subtitle {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	color: rgba(255,255,255,.9);
	margin-bottom: 40px;
	max-width: 700px;
	font-weight: 300;
	line-height: 1.6;
}
.as-qs-hero__meta {
	display: flex;
	gap: 50px;
	flex-wrap: wrap;
	margin-top: 50px;
	padding-top: 40px;
	border-top: 1px solid rgba(255,255,255,.2);
}
.as-qs-hero__meta-number {
	font-family: var(--as-head);
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--as-red-light);
	line-height: 1;
	display: block;
	margin-bottom: 6px;
}
.as-qs-hero__meta-label {
	font-size: .8rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255,255,255,.7);
}
.as-qs-hero__scroll {
	position: absolute;
	bottom: 35px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	color: #fff;
	font-size: .72rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	opacity: .7;
	text-align: center;
	animation: as-qs-bounce 2.5s ease-in-out infinite;
}
.as-qs-hero__scroll::after {
	content: "";
	display: block;
	width: 1px;
	height: 35px;
	background: #fff;
	margin: 12px auto 0;
}
@keyframes as-qs-bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 8px); }
}

/* ============================================================
   SECCIÓN 2 · INTRO / ESENCIA
   ============================================================ */
.as-qs-intro { background: #fff; }
.as-qs-intro__grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 80px;
	align-items: center;
}
.as-qs-intro h2 {
	font-size: clamp(1.9rem, 3.5vw, 2.6rem);
	font-weight: 700;
	margin-bottom: 30px;
}
.as-qs-intro h2 span { color: var(--as-red); }
.as-qs-intro p {
	font-size: 1.07rem;
	line-height: 1.75;
	color: var(--as-gray-2);
	margin-bottom: 22px;
}
.as-qs-lead {
	font-size: 1.18rem !important;
	color: var(--as-black) !important;
	font-weight: 500;
	line-height: 1.6 !important;
	margin-bottom: 28px !important;
	padding-left: 22px;
	border-left: 3px solid var(--as-red);
}
.as-qs-intro__image-wrap { position: relative; }
.as-qs-intro__image {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 8px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	box-shadow: 0 30px 60px rgba(0,0,0,.18);
}
.as-qs-intro__image::after {
	content: "";
	position: absolute;
	inset: 20px;
	border: 1px solid rgba(255,255,255,.4);
	pointer-events: none;
}
.as-qs-intro__badge {
	position: absolute;
	bottom: -30px;
	left: -30px;
	background: var(--as-red);
	color: #fff;
	padding: 30px 35px;
	border-radius: 6px;
	box-shadow: 0 20px 40px rgba(200,32,43,.35);
	z-index: 2;
}
.as-qs-intro__badge-number {
	font-family: var(--as-head);
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 6px;
}
.as-qs-intro__badge-label {
	font-size: .78rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: .95;
}

/* ============================================================
   SECCIÓN 3 · TRAYECTORIA / TIMELINE
   ============================================================ */
.as-qs-timeline {
	background: var(--as-black);
	color: #fff;
	overflow: hidden;
}
.as-qs-timeline::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(200,32,43,.15) 0%, transparent 70%);
	pointer-events: none;
}
.as-qs-timeline .as-qs-section-header h2 { color: #fff; }
.as-qs-timeline .as-qs-section-header p { color: #b8b8b8; }
.as-qs-timeline__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	position: relative;
	margin-top: 30px;
}
.as-qs-timeline__grid::before {
	content: "";
	position: absolute;
	top: 35px;
	left: 5%;
	right: 5%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--as-red), transparent);
}
.as-qs-milestone {
	background: rgba(255,255,255,.03);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 8px;
	padding: 35px 25px;
	position: relative;
	backdrop-filter: blur(10px);
	transition: all .4s ease;
}
.as-qs-milestone::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 50%;
	transform: translateX(-50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--as-red);
	box-shadow: 0 0 0 4px var(--as-black), 0 0 0 5px var(--as-red);
}
.as-qs-milestone:hover {
	border-color: var(--as-red);
	transform: translateY(-5px);
	background: rgba(200,32,43,.06);
}
.as-qs-milestone__year {
	font-family: var(--as-head);
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--as-red-light);
	line-height: 1;
	margin-bottom: 18px;
	display: block;
}
.as-qs-milestone h3 {
	color: #fff;
	font-size: 1.1rem;
	margin-bottom: 12px;
	font-weight: 600;
}
.as-qs-milestone p {
	color: #b8b8b8;
	font-size: .92rem;
	margin: 0;
	line-height: 1.6;
}

/* ============================================================
   SECCIÓN 4 · SERVICIOS
   ============================================================ */
.as-qs-services { background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%); }
.as-qs-services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	margin-top: 30px;
}
.as-qs-service-card {
	background: #fff;
	padding: 45px 30px;
	border-radius: 8px;
	text-align: center;
	border: 1px solid #ececec;
	transition: all .4s ease;
	position: relative;
	overflow: hidden;
}
.as-qs-service-card::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--as-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s ease;
}
.as-qs-service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 25px 50px rgba(0,0,0,.08);
	border-color: transparent;
}
.as-qs-service-card:hover::before { transform: scaleX(1); }
.as-qs-service-card__icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 25px;
	background: var(--as-black);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	transition: all .4s ease;
}
.as-qs-service-card:hover .as-qs-service-card__icon {
	background: var(--as-red);
	transform: rotate(-10deg);
}
.as-qs-service-card h3 {
	font-size: 1.1rem;
	margin-bottom: 12px;
	color: var(--as-black);
}
.as-qs-service-card p {
	font-size: .92rem;
	color: var(--as-gray);
	margin: 0;
	line-height: 1.55;
}

/* ============================================================
   SECCIÓN 5 · GALERÍA EDITORIAL
   ============================================================ */
.as-qs-gallery { background: #fff; }
.as-qs-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-top: 30px;
}
.as-qs-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	cursor: pointer;
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-position: center;
	transition: all .5s ease;
}
.as-qs-gallery-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75) 100%);
	opacity: 0;
	transition: opacity .4s ease;
	z-index: 1;
}
.as-qs-gallery-item::after {
	content: "VER";
	position: absolute;
	bottom: 20px;
	left: 22px;
	color: #fff;
	font-size: .78rem;
	letter-spacing: 2px;
	font-weight: 600;
	opacity: 0;
	transform: translateY(15px);
	transition: all .4s ease;
	z-index: 2;
	padding-left: 35px;
}
.as-qs-gallery-item__line {
	position: absolute;
	bottom: 28px;
	left: 22px;
	width: 25px;
	height: 1px;
	background: var(--as-red-light);
	opacity: 0;
	transition: all .4s ease;
	z-index: 2;
}
.as-qs-gallery-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0,0,0,.15);
}
.as-qs-gallery-item:hover::before,
.as-qs-gallery-item:hover::after { opacity: 1; }
.as-qs-gallery-item:hover::after { transform: translateY(0); }
.as-qs-gallery-item:hover .as-qs-gallery-item__line { opacity: 1; }

/* Layout uniforme (aspect-ratio 4/3): los modificadores no aplican spans,
   así la cuadrícula nunca deja huecos en blanco sea cual sea el nº de fotos. */
.as-qs-gallery-item--large,
.as-qs-gallery-item--tall,
.as-qs-gallery-item--wide { grid-column: auto; grid-row: auto; }

/* ============================================================
   SECCIÓN 6 · SHOWROOM / CTA
   ============================================================ */
.as-qs-showroom {
	background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
	color: #fff;
	overflow: hidden;
}
.as-qs-showroom::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 6px;
	height: 100%;
	background: var(--as-red);
}
.as-qs-showroom__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center;
}
.as-qs-showroom h2 {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	font-weight: 700;
	color: #fff;
	margin-bottom: 25px;
}
.as-qs-showroom h2 span {
	color: var(--as-red-light);
	display: block;
}
.as-qs-showroom p {
	color: #c8c8c8;
	font-size: 1.08rem;
	margin-bottom: 30px;
}
.as-qs-showroom__info {
	list-style: none;
	padding: 0;
	margin: 30px 0 0;
}
.as-qs-showroom__info li {
	padding: 18px 0;
	border-bottom: 1px solid rgba(255,255,255,.1);
	display: flex;
	align-items: flex-start;
	gap: 18px;
}
.as-qs-showroom__info li:last-child { border-bottom: none; }
.as-qs-showroom__icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--as-red);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: .95rem;
}
.as-qs-showroom__info strong {
	display: block;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: 1.8px;
	color: #999;
	margin-bottom: 4px;
	font-weight: 600;
}
.as-qs-showroom__info a,
.as-qs-showroom__info span {
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	transition: color .3s ease;
}
.as-qs-showroom__info a:hover { color: var(--as-red-light); }

.as-qs-cta-group {
	margin-top: 35px;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
.as-qs-cta {
	display: inline-block;
	padding: 16px 34px;
	font-family: var(--as-font);
	font-size: .88rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.8px;
	text-decoration: none;
	border-radius: 4px;
	transition: all .3s ease;
	border: 2px solid transparent;
	cursor: pointer;
}
.as-qs-cta--primary {
	background: var(--as-red);
	color: #fff;
	border-color: var(--as-red);
}
.as-qs-cta--primary:hover {
	background: transparent;
	color: var(--as-red-light);
	border-color: var(--as-red-light);
}
.as-qs-cta--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,.3);
}
.as-qs-cta--ghost:hover {
	background: #fff;
	color: var(--as-black);
	border-color: #fff;
}
.as-qs-map {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	background: #2a2a2a;
	border: 1px solid rgba(255,255,255,.1);
}
.as-qs-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(.6) contrast(1.05);
}

/* ============================================================
   RESPONSIVE — Tablets (≤ 992px)
   ============================================================ */
@media (max-width: 992px) {
	.as-qs .as-qs-intro,
	.as-qs .as-qs-timeline,
	.as-qs .as-qs-services,
	.as-qs .as-qs-gallery,
	.as-qs .as-qs-showroom { padding: 75px 0; }

	.as-qs-hero {
		background-attachment: scroll;
		min-height: 75vh;
		padding: 110px 20px 90px !important;
	}
	.as-qs-intro__grid,
	.as-qs-showroom__grid {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	.as-qs-intro__image {
		aspect-ratio: 16 / 11;
		max-width: 560px;
		margin: 0 auto;
	}
	.as-qs-intro__badge { left: 15px; bottom: -25px; }
	.as-qs-timeline__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 50px 25px;
	}
	.as-qs-timeline__grid::before { display: none; }
	.as-qs-services__grid { grid-template-columns: repeat(2, 1fr); }
	.as-qs-gallery__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ============================================================
   RESPONSIVE — Móvil (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
	.as-qs .as-qs-intro,
	.as-qs .as-qs-timeline,
	.as-qs .as-qs-services,
	.as-qs .as-qs-gallery,
	.as-qs .as-qs-showroom { padding: 60px 0; }

	.as-qs-hero {
		min-height: 70vh;
		padding: 100px 20px 80px !important;
	}
	.as-qs-hero__meta {
		gap: 30px;
		margin-top: 35px;
		padding-top: 30px;
	}
	.as-qs-hero__meta-number { font-size: 1.9rem; }

	.as-qs-section-header { margin-bottom: 45px; }
	.as-qs-section-header .as-qs-eyebrow { padding: 0 35px; }
	.as-qs-section-header .as-qs-eyebrow::before,
	.as-qs-section-header .as-qs-eyebrow::after { width: 22px; }

	.as-qs-timeline__grid { grid-template-columns: 1fr; gap: 40px; }
	.as-qs-services__grid { grid-template-columns: 1fr; }
	.as-qs-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.as-qs-intro__badge { padding: 20px 22px; left: 10px; bottom: -20px; }
	.as-qs-intro__badge-number { font-size: 1.9rem; }
	.as-qs-cta-group { flex-direction: column; }
	.as-qs-cta { text-align: center; }
}

/* ============================================================
   SECCIÓN · VÍDEO CORPORATIVO
   ============================================================ */
.as-qs-video {
	padding: 90px 0;
	background: var(--as-bg-soft);
	text-align: center;
}
.as-qs-video .as-qs-section-header { margin-bottom: 42px; }
@media (max-width: 600px) {
	.as-qs-video { padding: 60px 0; }
}
