/* === ESTILO GENERAL === */
body {
	font-family: Arial, sans-serif;
	color: #333;
	line-height: 1.6;
}

ul, ol {
	padding-left: 20px;
	margin-top: 10px;
}

h2 {
	color: #003366;
	margin-bottom: 20px;
	font-size: 1.8em;
}

/* === CONTENEDOR PRINCIPAL === */
.seguro-caucion,
.seguro-civil {
	max-width: 1000px;
	margin: 60px auto;
	padding: 0 30px;
}

/* === CABECERA DE PÁGINAS === */
.seguro-header {
	background: #f0f4f8;
	color: #003366;
	padding: 80px 30px 60px;
	text-align: center;
}

.seguro-header h1 {
	font-size: 2.8em;
	margin-bottom: 20px;
}

.seguro-header p {
	font-size: 1.3em;
	margin-top: 0;
}

/* === SECCIONES === */
section {
	padding: 60px 0;
}

section.gris,
.gris {
	background: #f5f5f5;
	padding: 40px 20px;
}

.azul {
	background-color: #3c66dc;
	color: white;
	text-align: center;
	padding: 40px 20px;
}

.azul h2,
.azul p,
.azul a {
	color: white !important;
}

.azul a:hover {
	text-decoration: underline;
}

/* === FORMULARIOS === */
form,
.formulario-civil form {
	display: flex;
	flex-direction: column;
	max-width: 600px;
	gap: 15px;
	margin-top: 30px;
}

form input,
form select,
form textarea {
	padding: 12px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

form button {
	padding: 14px;
	background-color: #0056b3;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	margin-top: 10px;
}

/* === PIE DE PÁGINA === */
footer {
	background: #003366;
	color: white;
	text-align: center;
	padding: 40px 30px;
	margin-top: 60px;
}

footer a {
	color: white;
	text-decoration: underline;
}

footer.wp-block-template-part,
footer.site-footer,
footer#colophon {
	display: none !important;
}

/* === PÁGINA DE CONTACTO === */
.contacto-item {
	margin-bottom: 40px;
}

.icono-contacto {
	background: white;
	border-radius: 50%;
	padding: 20px;
	width: 100px;
	margin-bottom: 20px;
}

.formulario-contacto h2,
.mapa-ubicacion h2 {
	text-align: center;
	margin-bottom: 20px;
}

/* Espaciado entre párrafos en secciones normales */
section p {
	margin-bottom: 20px;
}

/* Espaciado específico en secciones grises (por si tienes estilos diferentes) */
section.gris p {
	margin-bottom: 20px;
}

.iconos-sociales {
	margin-top: 40px;
}

.iconos-sociales a {
	display: inline-block;
	margin: 0 15px;
	transition: transform .3s ease, filter .3s ease;
}

.iconos-sociales a:hover {
	transform: scale(1.15);
	filter: brightness(1.1);
}

.iconos-sociales img {
	width: 48px;
	border-radius: 50%;
}

/* Ajuste de tamaño y márgenes en móviles */
@media (max-width: 767px) {
	.seguro-header h1,
	.seguro-header h2 {
		font-size: 2rem;
		line-height: 1.2;
	}
	
	.seguro-caucion, .seguro-caucion section {
		padding: 15px;
	}
	
	.formulario-caucion {
		margin: 10px 0;
	}
	
	/* Asegurar que no haya scroll horizontal */
	body {
		overflow-x: hidden;
	}
}