/* ── Hero ────────────────────────────────────────────── */
#terminos-hero {
	padding: 100px 20px 60px;
	text-align: center;
	background: linear-gradient(160deg, var(--bg) 0%, color-mix(in srgb, var(--primary) 12%, var(--bg)) 100%);
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.terminos-hero-inner { max-width: 640px; margin: 0 auto; }
.terminos-hero-icon {
	width: 72px; height: 72px; border-radius: 20px;
	background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #fff));
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 2rem; color: #fff;
	box-shadow: 0 8px 32px color-mix(in srgb, var(--primary) 40%, transparent);
	margin-bottom: 20px;
}
#terminos-hero h1 {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(1.8rem, 5vw, 2.8rem);
	font-weight: 800;
	color: var(--text);
	margin-bottom: 8px;
}
.terminos-hero-sub {
	font-size: 1.05rem;
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 6px;
}
.terminos-fecha {
	font-size: .85rem;
	color: rgba(255,255,255,.4);
}

/* ── Contenedor principal ───────────────────────────── */
#terminos-content {
	padding: 60px 0 80px;
	background: var(--bg);
}
.terminos-card {
	background: var(--surface);
	border-radius: 20px;
	border: 1px solid rgba(255,255,255,.07);
	padding: 48px;
	max-width: 860px;
	margin: 0 auto;
	box-shadow: 0 4px 40px rgba(0,0,0,.25);
}
@media (max-width: 600px) {
	.terminos-card { padding: 24px 18px; }
}

/* ── Intro ──────────────────────────────────────────── */
.terminos-intro {
	font-size: .97rem;
	line-height: 1.75;
	color: rgba(255,255,255,.7);
	margin-bottom: 12px;
}

/* ── Tabla de contenido ─────────────────────────────── */
.terminos-toc {
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 14px;
	padding: 24px 28px;
	margin: 32px 0 40px;
}
.terminos-toc h3 {
	font-size: .9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--primary);
	margin-bottom: 16px;
	display: flex; align-items: center; gap: 8px;
}
.toc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 6px 16px;
}
.toc-grid a {
	font-size: .82rem;
	color: rgba(255,255,255,.55);
	text-decoration: none;
	padding: 4px 0;
	border-bottom: 1px solid transparent;
	transition: color .2s, border-color .2s;
}
.toc-grid a:hover {
	color: var(--primary);
	border-color: var(--primary);
}

/* ── Artículos ──────────────────────────────────────── */
.terminos-articulos { margin-top: 8px; }
.terminos-art {
	padding: 32px 0;
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.terminos-art:last-child { border-bottom: none; }
.terminos-art h2 {
	font-family: 'Outfit', sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 16px;
	display: flex; align-items: center; gap: 12px;
}
.art-num {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 32px; height: 32px;
	background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #fff));
	border-radius: 8px;
	font-size: .85rem; font-weight: 800;
	color: #fff; flex-shrink: 0;
	box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 30%, transparent);
}
.terminos-art p {
	font-size: .93rem;
	line-height: 1.8;
	color: rgba(255,255,255,.65);
	margin-bottom: 12px;
}
.terminos-art p:last-child { margin-bottom: 0; }
.terminos-art a {
	color: var(--primary);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.terminos-art a:hover { border-color: var(--primary); }

/* ── Highlights ─────────────────────────────────────── */
.terminos-highlight {
	display: flex; align-items: flex-start; gap: 14px;
	background: color-mix(in srgb, var(--primary) 10%, transparent);
	border-left: 3px solid var(--primary);
	border-radius: 0 10px 10px 0;
	padding: 14px 18px;
	margin: 16px 0;
	font-size: .92rem;
	line-height: 1.7;
	color: rgba(255,255,255,.8);
}
.terminos-highlight i { font-size: 1.2rem; color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.terminos-highlight--warning {
	background: color-mix(in srgb, #f59e0b 10%, transparent);
	border-color: #f59e0b;
}
.terminos-highlight--warning i { color: #f59e0b; }

/* ── Contacto ───────────────────────────────────────── */
.terminos-contacto {
	display: flex; flex-direction: column; gap: 14px;
	margin-top: 20px;
	background: rgba(255,255,255,.03);
	border-radius: 12px;
	padding: 20px 24px;
	border: 1px solid rgba(255,255,255,.07);
}
.tc-item {
	display: flex; align-items: center; gap: 14px;
	font-size: .93rem; color: rgba(255,255,255,.7);
}
.tc-item i { font-size: 1.15rem; color: var(--primary); width: 22px; text-align: center; flex-shrink: 0; }
.tc-item a { color: var(--primary); text-decoration: none; }
.tc-item a:hover { text-decoration: underline; }

/* ── Botón volver ───────────────────────────────────── */
.terminos-back { margin-top: 40px; text-align: center; }
.btn-terminos-back {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 28px;
	background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #fff));
	color: #fff; font-weight: 600; font-size: .95rem;
	border-radius: 50px; text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 35%, transparent);
}
.btn-terminos-back:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px color-mix(in srgb, var(--primary) 50%, transparent);
	color: #fff;
}
