@import url('colors.css');

/* ========================================
   POLÍTICAS - ESTILOS GENERALES
   ======================================== */

body.policy-page {
	background-color: #F2F2F2;
	line-height: 1.7;
}

.policy-container {
	width: calc(100% - 60px);
	max-width: 900px;
	margin: 40px auto;
	background-color: #FFFFFF;
	border-radius: 20px;
	padding: 40px;
	box-sizing: border-box;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 3px solid var(--primary-color);
}

.policy-header h1 {
	font-size: 32px;
	color: var(--primary-color);
	margin-bottom: 10px;
	font-weight: 800;
}

.policy-header .last-updated {
	font-size: 14px;
	color: #666;
	font-style: italic;
}

.policy-content {
	color: #282828;
}

.policy-content h2 {
	font-size: 24px;
	color: var(--primary-color);
	margin-top: 30px;
	margin-bottom: 15px;
	font-weight: 700;
}

.policy-content h3 {
	font-size: 18px;
	color: #282828;
	margin-top: 20px;
	margin-bottom: 10px;
	font-weight: 600;
}

.policy-content p {
	margin-bottom: 15px;
	font-size: 16px;
	color: #444;
}

.policy-content ul,
.policy-content ol {
	margin-left: 25px;
	margin-bottom: 15px;
}

.policy-content li {
	margin-bottom: 8px;
	font-size: 16px;
	color: #444;
}

.policy-content strong {
	font-weight: 700;
	color: #282828;
}

.policy-content a {
	color: var(--primary-color);
	text-decoration: underline;
	transition: opacity 0.25s;
}

.policy-content a:hover {
	opacity: 0.7;
}

/* Secciones destacadas */
.highlight-box {
	background-color: var(--primary-light-color);
	border-left: 4px solid var(--primary-color);
	padding: 20px;
	margin: 20px 0;
	border-radius: 5px;
}

.highlight-box p {
	margin-bottom: 10px;
}

.highlight-box p:last-child {
	margin-bottom: 0;
}

/* Información de contacto */
.contact-info {
	background-color: #F8F9FA;
	padding: 20px;
	border-radius: 10px;
	margin: 20px 0;
}

.contact-info h3 {
	margin-top: 0;
	color: var(--primary-color);
}

.contact-info p {
	margin-bottom: 8px;
}

.contact-info a {
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: none;
}

.contact-info a:hover {
	text-decoration: underline;
}

/* Logos de seguridad */
.security-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin: 30px 0;
	padding: 20px;
	background-color: #F8F9FA;
	border-radius: 10px;
}

.security-logos img {
	height: 36px;
	width: auto;
}

.security-logos p {
	font-size: 14px;
	color: #666;
	text-align: center;
	margin-top: 10px;
}

/* Botón de regreso */
.back-to-site {
	display: inline-block;
	margin-top: 30px;
	padding: 12px 24px;
	background-color: var(--primary-color);
	color: #FFFFFF !important;
	text-decoration: none !important;
	border-radius: 25px;
	transition: transform 0.25s, box-shadow 0.25s;
	font-weight: 600;
	font-size: 15px;
}

.back-to-site:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(237, 125, 49, 0.3);
	color: #FFFFFF !important;
	text-decoration: none !important;
}

/* Tabla de información */
.info-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.info-table th,
.info-table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #E8E8E8;
}

.info-table th {
	background-color: var(--primary-light-color);
	color: var(--primary-color);
	font-weight: 700;
}

.info-table tr:last-child td {
	border-bottom: none;
}

/* Responsive */
@media(max-width: 768px) {
	.policy-container {
		width: calc(100% - 40px);
		padding: 25px;
		margin: 20px auto;
	}
	
	.policy-header h1 {
		font-size: 26px;
	}
	
	.policy-content h2 {
		font-size: 20px;
	}
	
	.policy-content h3 {
		font-size: 16px;
	}
	
	.policy-content p,
	.policy-content li {
		font-size: 15px;
	}
	
	.security-logos {
		flex-wrap: wrap;
		gap: 15px;
	}
	
	.security-logos img {
		height: 28px;
	}
}

@media(max-width: 500px) {
	.policy-container {
		width: calc(100% - 30px);
		padding: 20px;
	}
	
	.policy-header h1 {
		font-size: 22px;
	}
	
	.security-logos {
		flex-direction: column;
	}
}

