/**
 * KameSetas - Legal Pages Styles
 *
 * Estilos específicos para páginas legales
 * Aviso Legal, Envíos y Devoluciones, Política de Suscripción
 * Diseño limpio para lectura de texto plano
 *
 * @package Astra_Child
 */

/* ==========================================
   HERO SECTION - Pink Background
   ========================================== */

.legal-hero {
	background: var(--c-pink);
	color: var(--c-black);
	padding: 3rem 2rem;
	text-align: left;
	position: relative;
	overflow: hidden;
}

.legal-hero .container {
	max-width: 1400px;
	margin: 0 auto;
}

.legal-title {
	font-family: var(--font-display);
	font-size: clamp(3rem, 10vw, 8rem);
	line-height: 0.9;
	text-transform: uppercase;
	font-weight: 400;
	margin: 0;
	letter-spacing: -0.02em;
}

/* ==========================================
   CONTENT SECTION - Black Background
   ========================================== */

.legal-content {
	background: var(--c-black);
	color: var(--c-white);
	padding: var(--spacing-medium) 4vw;
	position: relative;
	min-height: 50vh;
}

.legal-content-wrapper {
	max-width: 900px;
	margin: 0 auto;
}

.legal-text {
	font-family: var(--font-tech);
	font-size: 1rem;
	line-height: 1.8;
	margin: 0;
	opacity: 0.95;
}

/* Typography hierarchy for legal content */
.legal-text h1,
.legal-text h2,
.legal-text h3,
.legal-text h4 {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-weight: 400;
	margin-top: 3rem;
	margin-bottom: 1.5rem;
	color: var(--c-neon);
	letter-spacing: 0.02em;
}

.legal-text h1 {
	font-size: clamp(2rem, 6vw, 4rem);
}

.legal-text h2 {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.legal-text h3 {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	color: var(--c-pink);
}

.legal-text h4 {
	font-size: clamp(1rem, 2.5vw, 1.5rem);
	color: var(--c-white);
}

.legal-text p {
	margin: 0 0 1.5rem 0;
	line-height: 1.8;
}

.legal-text p:last-child {
	margin-bottom: 0;
}

/* Lists styling */
.legal-text ul,
.legal-text ol {
	margin: 0 0 1.5rem 0;
	padding-left: 2rem;
}

.legal-text li {
	margin-bottom: 0.75rem;
	line-height: 1.6;
}

.legal-text ul li {
	list-style-type: disc;
}

.legal-text ol li {
	list-style-type: decimal;
}

/* Strong and emphasis */
.legal-text strong {
	color: var(--c-neon);
	font-weight: 700;
}

.legal-text em {
	font-style: italic;
	opacity: 0.9;
}

/* Links */
.legal-text a {
	color: var(--c-neon);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.3s ease;
}

.legal-text a:hover {
	color: var(--c-pink);
}

/* Blockquotes */
.legal-text blockquote {
	border-left: 3px solid var(--c-neon);
	padding-left: 1.5rem;
	margin: 2rem 0;
	font-style: italic;
	opacity: 0.9;
}

/* Code blocks (if any) */
.legal-text code {
	background: rgba(255, 255, 255, 0.05);
	padding: 0.2rem 0.4rem;
	border-radius: 3px;
	font-family: monospace;
	font-size: 0.9em;
}

/* ==========================================
   RESPONSIVE - Mobile
   ========================================== */

@media (max-width: 767px) {
	.legal-hero,
	.legal-content {
		padding: var(--spacing-medium) 1.5rem;
	}

	.legal-title {
		font-size: clamp(2.5rem, 15vw, 5rem);
	}

	.legal-text {
		font-size: 0.95rem;
		line-height: 1.7;
	}

	.legal-text h1 {
		margin-top: 2rem;
	}

	.legal-text h2 {
		margin-top: 2rem;
	}

	.legal-text h3 {
		margin-top: 1.5rem;
	}

	.legal-text ul,
	legal-text ol {
		padding-left: 1.5rem;
	}

	.legal-text li {
		margin-bottom: 0.5rem;
	}
}

/* ==========================================
   RESPONSIVE - Tablet
   ========================================== */

@media (min-width: 768px) and (max-width: 1023px) {
	.legal-content-wrapper {
		max-width: 700px;
	}

	.legal-text {
		font-size: 1.05rem;
	}
}
