/* ============================================================
   A. SOLANES 2010 — Página "PARTICULARES"
   Estilos específicos de la plantilla (prefijo .as-pa-).
   Reutiliza los tokens de main.css (--as-red, --as-black, etc.).
   ============================================================ */

/* -------- Eyebrow (antetítulo con línea roja) -------- */
.as-pa-eyebrow {
	display: inline-block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--as-red);
	margin-bottom: 18px;
}

/* ============================================================
   SECCIÓN 1: HERO
   ============================================================ */
.as-pa-hero {
	position: relative;
	min-height: 78vh;
	padding: 150px 0 90px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	overflow: hidden;
	color: #fff;
	margin-top: -74px; /* compensa la cabecera transparente del tema */
}
.as-pa-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.68);
	z-index: 1;
}
.as-pa-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 860px;
}
.as-pa-hero__eyebrow {
	display: inline-block;
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--as-red-light);
	margin-bottom: 22px;
}
.as-pa-hero__title {
	font-size: clamp(2.2rem, 5.2vw, 3.6rem);
	color: #fff;
	margin-bottom: 24px;
	font-weight: 800;
	line-height: 1.1;
	max-width: 760px;
}
.as-pa-hero__subtitle {
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	color: rgba(255,255,255,.9);
	margin: 0;
	max-width: 660px;
	font-weight: 300;
}
.as-pa-hero__stats {
	display: flex;
	gap: 55px;
	flex-wrap: wrap;
	margin-top: 45px;
	padding-top: 35px;
	border-top: 1px solid rgba(255,255,255,.2);
}
.as-pa-hero__stat-num {
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--as-red-light);
	line-height: 1;
	display: block;
	margin-bottom: 6px;
	font-family: var(--as-head);
}
.as-pa-hero__stat-label {
	font-size: .78rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(255,255,255,.7);
	font-weight: 600;
}

/* ============================================================
   SECCIÓN 2: INTRO + SERVICIOS
   ============================================================ */
.as-pa-intro { background: #fff; text-align: center; }
.as-pa-intro .as-divider { margin-left: auto; margin-right: auto; }
.as-pa-intro__title {
	font-size: clamp(1.8rem, 3.5vw, 2.4rem);
	font-weight: 700;
	max-width: 820px;
	margin: 0 auto 20px;
}
.as-pa-intro__text {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.08rem;
	color: var(--as-gray-2);
}
.as-pa-services {
	display: flex;
	gap: 45px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid #ececec;
}
.as-pa-service {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: .92rem;
	font-weight: 600;
	color: var(--as-black);
}
.as-pa-service__icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--as-bg-soft);
	color: var(--as-red);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	flex-shrink: 0;
	transition: background .3s ease, color .3s ease;
}
.as-pa-service:hover .as-pa-service__icon {
	background: var(--as-red);
	color: #fff;
}

/* ============================================================
   SECCIÓN 3: PORTFOLIO (galería de cocinas)
   ============================================================ */
.as-pa-portfolio { background: var(--as-bg-soft); }
.as-pa-portfolio__header { text-align: center; margin-bottom: 50px; }
.as-pa-portfolio__header h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	font-weight: 700;
	max-width: 700px;
	margin: 0 auto 18px;
}
.as-pa-portfolio__header p {
	max-width: 700px;
	margin: 0 auto;
	color: var(--as-gray);
}

.as-pa-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.as-pa-card {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 10px;
	overflow: hidden;
	transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.as-pa-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 45px rgba(0,0,0,.13);
	border-color: var(--as-red);
}
.as-pa-card__image {
	width: 100%;
	height: 220px;
	background-size: cover;
	background-position: center;
	background-color: #e8e8e8;
	position: relative;
}

/* Tarjetas enlazadas (CPT particular): overlay «Ver cocina» al hover */
.as-pa-card--link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.as-pa-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%);
	opacity: 0;
	transition: opacity .4s ease;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 18px;
}
.as-pa-card--link:hover .as-pa-card__overlay { opacity: 1; }
.as-pa-card__overlay span {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
	padding: 8px 16px;
	border: 1px solid rgba(255,255,255,.6);
	border-radius: 3px;
	transition: background .3s ease, border-color .3s ease;
}
.as-pa-card--link:hover .as-pa-card__overlay span { background: var(--as-red); border-color: var(--as-red); }
.as-pa-card__content { padding: 18px 22px 24px; }
.as-pa-card__tag {
	display: block;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--as-red);
	margin-bottom: 6px;
}
.as-pa-card__content h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--as-black);
	margin: 0;
	line-height: 1.35;
	letter-spacing: normal;
}

/* ============================================================
   SECCIÓN 4: CTA FINAL
   ============================================================ */
.as-pa-cta {
	background: var(--as-black);
	color: #fff;
	position: relative;
	overflow: hidden;
	text-align: center;
}
.as-pa-cta::before {
	content: "";
	position: absolute;
	top: -200px;
	right: -150px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(200,32,43,.15) 0%, transparent 70%);
	pointer-events: none;
}
.as-pa-cta__inner { position: relative; z-index: 1; max-width: 780px; }
.as-pa-cta__eyebrow { color: var(--as-red-light); }
.as-pa-cta h2 {
	font-size: clamp(2rem, 4vw, 2.6rem);
	color: #fff;
	margin-bottom: 18px;
	font-weight: 700;
}
.as-pa-cta__text {
	color: rgba(255,255,255,.7);
	font-size: 1.08rem;
	margin: 0 auto 32px;
	max-width: 640px;
}
.as-pa-cta__buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	justify-content: center;
}

/* ============================================================
   RESPONSIVE — TABLETS
   ============================================================ */
@media (max-width: 992px) {
	.as-pa-hero {
		background-attachment: scroll;
		min-height: 62vh;
		padding: 120px 0 70px;
	}
	.as-pa-grid { grid-template-columns: repeat(2, 1fr); }
	.as-pa-services { gap: 28px; }
}

/* ============================================================
   RESPONSIVE — MÓVIL
   ============================================================ */
@media (max-width: 600px) {
	.as-pa-hero { min-height: 56vh; padding: 100px 0 60px; }
	.as-pa-hero__stats { gap: 28px; margin-top: 32px; padding-top: 25px; }
	.as-pa-hero__stat-num { font-size: 2rem; }
	.as-pa-grid { grid-template-columns: 1fr; gap: 18px; }
	.as-pa-card__image { height: 210px; }
	.as-pa-cta__buttons { flex-direction: column; }
}
