/* ==========================================================================
   Front Page — Landing Page Styles
   Inspired by transition2025.com/es
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
	--fp-celeste: #00A8E4;
	--fp-amarillo: #FEC700;
	--fp-navy: #1a2744;
	--fp-blue: #2C5282;
	--fp-blue-bright: #3B82F6;
	--fp-gold: #D4A843;
	--fp-white: #FFFFFF;
	--fp-gray: #F7FAFC;
	--fp-text: #2D3748;
	--fp-text-light: #718096;
}

/* ---------- Layout ---------- */
.fp-container {
	max-width: 980px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Reset uppercase from base theme for front page headings */
.fp-hero h1,
.fp-stats h2,
.fp-about h2,
.fp-section-title {
	text-transform: none;
}

.fp-section-title {
	font-size: 2.25rem;
	font-weight: 800;
	text-align: center;
	margin: 0 0 8px;
	color: var(--fp-navy);
}

.fp-section-subtitle {
	text-align: center;
	color: var(--fp-text-light);
	font-size: 1.125rem;
	margin: 0 0 48px;
}

/* ---------- HERO ---------- */
.fp-hero {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--fp-blue);
	color: var(--fp-white);
	overflow: hidden;
}

.fp-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 36px;
	max-width: 980px;
	margin: 0 auto;
	padding: 80px 24px 80px;
	width: 100%;
}

.fp-hero__photo {
	display: flex;
	justify-content: center;
}

.fp-hero__photo img {
	width: 400px;
	height: auto;
	display: block;
}

.fp-hero__text {
	text-align: left;
}

.fp-hero__title {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1.1;
	margin: 0 0 20px;
	letter-spacing: -0.02em;
	color: var(--fp-white);
	text-transform: none;
}

.fp-hero__name {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--fp-white);
}

.fp-hero__subtitle {
	font-size: 0.95rem;
	font-weight: 400;
	opacity: 0.85;
	margin: 0 0 32px;
}

.fp-hero__cta {
	display: inline-block;
	padding: 16px 40px;
	background: var(--fp-white);
	color: var(--fp-blue);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	border-radius: 50px;
	transition: background .2s, transform .2s, box-shadow .2s;
}

.fp-hero__cta:hover {
	background: var(--fp-amarillo);
	color: var(--fp-navy);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* ---------- STATS ---------- */
.fp-stats {
	padding: 80px 0;
	background: var(--fp-white);
}

.fp-stats__heading {
	text-align: center;
	font-size: 2rem;
	font-weight: 800;
	color: var(--fp-navy);
	margin: 0 0 48px;
}

.fp-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.fp-stats__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fp-stats__number {
	font-size: 3rem;
	font-weight: 900;
	color: var(--fp-blue);
	line-height: 1;
}

.fp-stats__label {
	font-size: 1rem;
	color: var(--fp-text-light);
	font-weight: 500;
}

/* ---------- PHOTO BAND ---------- */
.fp-photo-band {
	width: 100%;
	overflow: hidden;
	background: var(--fp-gray);
}

.fp-photo-band__img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	display: block;
}

/* ---------- ABOUT ---------- */
.fp-about {
	padding: 100px 0;
	background: var(--fp-celeste);
	color: var(--fp-white);
}

.fp-about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.fp-about__photo img {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.fp-about__text h2 {
	font-size: 2.25rem;
	font-weight: 800;
	margin: 0 0 24px;
	color: var(--fp-white);
}

.fp-about__text p {
	font-size: 1.125rem;
	line-height: 1.8;
	color: rgba(255,255,255,.85);
	margin: 0 0 16px;
}

/* ---------- QUOTE ---------- */
.fp-quote {
	padding: 80px 0;
	background: var(--fp-celeste);
	color: var(--fp-white);
	text-align: center;
}

.fp-quote__text {
	font-size: 1.75rem;
	font-weight: 600;
	font-style: italic;
	line-height: 1.6;
	margin: 0 auto 24px;
	max-width: 800px;
	border: none;
	padding: 0;
}

.fp-quote__cite {
	font-size: 1.125rem;
	font-style: normal;
	font-weight: 500;
	opacity: 0.85;
}

/* ---------- PROYECTOS ---------- */
.fp-proyectos {
	padding: 100px 0;
	background: var(--fp-gray);
}

.fp-proyectos__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.fp-proyectos__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--fp-white);
	border-radius: 12px;
	padding: 40px 24px 32px;
	text-decoration: none;
	color: var(--fp-text);
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
	transition: transform .2s, box-shadow .2s;
}

.fp-proyectos__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0,0,0,.12);
	color: var(--fp-text);
}

.fp-proyectos__icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--fp-blue);
	color: var(--fp-white);
	border-radius: 50%;
	font-size: 1.5rem;
	margin-bottom: 20px;
}

.fp-proyectos__name {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--fp-navy);
}

.fp-proyectos__desc {
	font-size: 0.875rem;
	color: var(--fp-text-light);
	line-height: 1.5;
	margin: 0 0 16px;
}

.fp-proyectos__count {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--fp-blue);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ---------- NOTICIAS ---------- */
.fp-noticias {
	padding: 100px 0;
	background: var(--fp-white);
}

.fp-noticias__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.fp-noticias__card {
	background: var(--fp-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,.08);
	transition: transform .2s, box-shadow .2s;
}

.fp-noticias__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.fp-noticias__thumb {
	display: block;
	overflow: hidden;
}

.fp-noticias__thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}

.fp-noticias__card:hover .fp-noticias__thumb img {
	transform: scale(1.05);
}

.fp-noticias__body {
	padding: 24px;
}

.fp-noticias__cat {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--fp-blue);
	margin-bottom: 8px;
}

.fp-noticias__title {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 12px;
}

.fp-noticias__title a {
	color: var(--fp-navy);
	text-decoration: none;
}

.fp-noticias__title a:hover {
	color: var(--fp-blue-bright);
}

.fp-noticias__date {
	font-size: 0.8125rem;
	color: var(--fp-text-light);
}

/* ---------- CTA SOCIAL ---------- */
.fp-cta-social {
	padding: 80px 0;
	background: var(--fp-gold);
	text-align: center;
}

.fp-cta-social__title {
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--fp-navy);
	margin: 0 0 8px;
}

.fp-cta-social__subtitle {
	font-size: 1.125rem;
	color: var(--fp-navy);
	opacity: 0.8;
	margin: 0 0 32px;
}

.fp-cta-social__links {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.fp-cta-social__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: transform .2s, background .2s;
}

.fp-cta-social__btn:hover {
	transform: translateY(-2px);
}

.fp-cta-social__btn--ig {
	background: var(--fp-navy);
	color: var(--fp-white);
}

.fp-cta-social__btn--ig:hover {
	background: #0f1a30;
	color: var(--fp-white);
}

.fp-cta-social__btn--x {
	background: var(--fp-white);
	color: var(--fp-navy);
}

.fp-cta-social__btn--x:hover {
	background: #e8e8e8;
	color: var(--fp-navy);
}

/* ---------- FRONT PAGE OVERRIDES ---------- */
/* Hide default WP content wrapper on front page */
body.home .site-content > .content-area,
body.home .site-content > .widget-area,
body.home .site-content > .featured-header-image {
	display: none;
}

body.home #content.site-content {
	padding: 0;
	margin: 0;
	max-width: none;
}

/* ---------- RESPONSIVE ---------- */

@media ( max-width: 1024px ) {
	.fp-hero__photo img {
		width: 340px;
	}

	.fp-hero__title {
		font-size: 2.5rem;
	}

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

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

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

@media ( max-width: 768px ) {
	.fp-hero {
		min-height: 100vh;
	}

	.fp-hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 60px 24px 60px;
		gap: 32px;
	}

	.fp-hero__text {
		text-align: center;
	}

	.fp-hero__photo img {
		width: 336px;
	}

	.fp-hero__title {
		font-size: 2.7rem;
	}

	.fp-hero__name {
		font-size: 1.15rem;
	}

	.fp-hero__subtitle {
		font-size: 0.875rem;
	}

	.fp-about__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.fp-about__photo {
		order: -1;
	}

	.fp-about__text h2 {
		font-size: 1.75rem;
	}

	.fp-quote__text {
		font-size: 1.375rem;
	}

	.fp-stats {
		padding: 60px 0;
	}

	.fp-about {
		padding: 60px 0;
	}

	.fp-proyectos {
		padding: 60px 0;
	}

	.fp-noticias {
		padding: 60px 0;
	}

	.fp-section-title {
		font-size: 1.75rem;
	}

	.fp-photo-band__img {
		height: 200px;
	}
}

@media ( max-width: 480px ) {
	.fp-hero__photo img {
		width: 240px;
	}

	.fp-hero__title {
		font-size: 2.2rem;
	}

	.fp-hero__cta {
		padding: 12px 32px;
		font-size: 0.9375rem;
	}

	.fp-stats__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.fp-stats__number {
		font-size: 2.25rem;
	}

	.fp-proyectos__grid {
		grid-template-columns: 1fr;
	}

	.fp-noticias__grid {
		grid-template-columns: 1fr;
	}

	.fp-cta-social__links {
		flex-direction: column;
		align-items: center;
	}

	.fp-cta-social__btn {
		width: 100%;
		max-width: 280px;
		justify-content: center;
	}
}
