/* ==========================================================================
   Alpha Media Group — estilos globales
   Tokens de marca: Manual de Identidad Corporativa (sección 1.4 y 1.7)
   Reglas de layout: feedback de diseño interno del 06/08/2026
   ========================================================================== */

:root {
	--alpha-orange: #ff9d00;
	--alpha-pink: #ff446b;
	--alpha-gray: #646363;
	--alpha-gray-dark: #3d3c3c;
	--alpha-bg: #ffffff;
	--alpha-bg-alt: #f4f4f4;
	--alpha-border: #e2e0e0;
	--alpha-gradient: linear-gradient(135deg, var(--alpha-orange), var(--alpha-pink));

	--font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--alpha-gray);
	background: var(--alpha-bg);
	line-height: 1.7; /* interlineado generoso — feedback 06/08 */
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 800;
	color: var(--alpha-gray-dark);
	line-height: 1.25;
	margin: 0 0 0.6em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--alpha-pink);
	margin-bottom: 0.9em;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	padding: 14px 28px;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
	background: var(--alpha-gradient);
	color: #fff;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 68, 107, 0.25); }
.btn-outline {
	background: transparent;
	color: var(--alpha-gray-dark);
	border: 1.5px solid var(--alpha-gray-dark);
}
.btn-outline:hover { background: var(--alpha-gray-dark); color: #fff; }

/* ---------- Header (ancho completo, feedback 06/08) ---------- */
.site-header {
	width: 100%;
	background: #fff;
	border-bottom: 1px solid var(--alpha-border);
	position: sticky;
	top: 0;
	z-index: 100;
}
.site-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img {
	display: block;
	height: 38px;
	width: auto;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a { font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem; color: var(--alpha-gray-dark); }
.main-nav a:hover { color: var(--alpha-pink); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
	.main-nav ul { display: none; }
	.nav-toggle { display: block; background: none; border: none; font-size: 1.6rem; cursor: pointer; }
}

/* ---------- Hero ---------- */
.hero {
position: relative;
overflow: hidden;
background: var(--alpha-gray-dark);
padding: 128px 0 108px;
text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
animation: heroFade 20s infinite;
}
.hero__bg img:nth-child(1) { animation-delay: 0s; }
.hero__bg img:nth-child(2) { animation-delay: 5s; }
.hero__bg img:nth-child(3) { animation-delay: 10s; }
.hero__bg img:nth-child(4) { animation-delay: 15s; }
.hero__overlay {
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(61, 60, 60, .66), rgba(61, 60, 60, .84));
}
.hero .container { position: relative; z-index: 2; }
.hero--photo .hero__claim, .hero--photo .hero__h1, .hero--photo .hero__intro { color: #fff; }
.hero--photo .hero__h1 { opacity: .88; }
.hero--photo .hero__intro { opacity: .94; }
.hero--photo .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .75); }
.hero--photo .btn-outline:hover { background: #fff; color: var(--alpha-gray-dark); }
.hero__claim { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 900; margin-bottom: 0.3em; letter-spacing: -0.01em; }
.hero__h1 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); color: var(--alpha-gray); text-transform: none; margin-bottom: 1.6em; }
.hero__intro { max-width: 760px; margin: 0 auto 2em; font-size: 1.08rem; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@keyframes heroFade {
0% { opacity: 0; }
4% { opacity: 1; }
21% { opacity: 1; }
26% { opacity: 0; }
100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.hero__bg img { animation: none; opacity: 0; }
.hero__bg img:first-child { opacity: 1; }
}

/* ---------- Secciones (separadas con cambios sutiles de fondo, feedback 06/08) ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--alpha-bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section__head p { font-size: 1.05rem; }

/* ---------- Grid de servicios ---------- */
.services-block { margin-bottom: 56px; }
.services-block__label { font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--alpha-gray-dark); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
	background: #fff;
	border: 1px solid var(--alpha-border);
	border-radius: 10px;
	padding: 32px 28px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.service-card:hover { box-shadow: 0 16px 34px rgba(0,0,0,0.07); transform: translateY(-3px); }
.service-card__icon { width: 44px; height: 44px; border-radius: 9px; background: var(--alpha-gradient); margin-bottom: 18px; }
.service-card h3 { margin-bottom: 0.5em; }
.service-card p { color: var(--alpha-gray); flex-grow: 1; font-size: 0.96rem; }
.service-card__link { font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: var(--alpha-pink); margin-top: 14px; }

/* ---------- Stats ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
@media (max-width: 760px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-item__value { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--alpha-gray-dark); }
.stat-item__label { font-size: 0.88rem; color: var(--alpha-gray); }

/* ---------- Ciudades ---------- */
.cities-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.cities-list span { background: #fff; border: 1px solid var(--alpha-border); padding: 8px 16px; border-radius: 30px; font-size: 0.88rem; font-weight: 600; font-family: var(--font-heading); }
.cities-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 700px) { .cities-points { grid-template-columns: 1fr; } }
.cities-points li { padding-left: 20px; position: relative; }
.cities-points li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--alpha-gradient); }

/* ---------- Por qué Alpha ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }
.why-item__title { font-family: var(--font-heading); font-weight: 800; margin-bottom: 0.4em; }

/* ---------- Sostenibilidad ---------- */
.split-block { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split-block { grid-template-columns: 1fr; } }
.split-block__media { background: var(--alpha-gradient); border-radius: 14px; aspect-ratio: 4 / 3; }

/* ---------- Footer (compacto, feedback 06/08) ---------- */
.site-footer { background: var(--alpha-gray-dark); color: #d8d6d6; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: inline-block; margin-bottom: 14px; }
.footer-brand img { display: block; height: 34px; width: auto; }
.footer-tagline { font-size: 0.88rem; color: #b6b4b4; max-width: 260px; }
.footer-col h4 { color: #fff; font-family: var(--font-heading); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.9rem; color: #d8d6d6; }
.footer-col a:hover { color: var(--alpha-orange); }
.footer-bottom { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; background: var(--alpha-gray); }
.footer-bottom, .footer-bottom a { color: #efefef; font-size: 0.8rem; }
.footer-bottom__links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* ---------- Utilidades de contenido ---------- */
.prose p { max-width: 68ch; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.badge-list span { background: #fff; border: 1px solid var(--alpha-border); border-radius: 30px; padding: 6px 14px; font-size: 0.82rem; font-family: var(--font-heading); font-weight: 700; }

.placeholder-flag { display: inline-block; background: #fff4d6; border: 1px solid #f0c74e; color: #7a5a00; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.04em; }


/* ---------- Tarjetas de servicio con foto (Home) ---------- */
.service-card--photo { padding: 0 0 28px 0; overflow: hidden; }
.service-card--photo .service-card__photo { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; }
.service-card--photo .service-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card--photo h3 { padding: 0 28px; }
.service-card--photo p { padding: 0 28px; }
.service-card--photo .service-card__link { padding: 0 28px; display: inline-block; }


.split-block__media--photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
/* ---------- Galeria de fotos del circuito ---------- */
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.photo-gallery__item { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,0.06); }
.photo-gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.photo-gallery__item figcaption { padding: 12px 16px; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: var(--alpha-gray-dark); }
