
/* Interfaz #4: Contacto (copied from styles.css) */

body.pagina-contacto {
		background-color: #ffffff;
		display: flex;
		flex-direction: column;
		min-height: 100vh; 
		margin: 0;
}

.contact-section {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 60px 20px;
	background-color: #f9f6f1;
}

.contact-container {
	display: flex;
	background-color: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	max-width: 1000px;
	width: 100%;
}

.contact-info {
	flex: 1;
	background-color: #f4f6fc;
	padding: 100px;
	text-align: center;
}

.contact-info img {
	width: 120px;
	margin-bottom: 20px;
}

.contact-info h2 {
	font-size: 24px;
	color: #222;
	margin-bottom: 10px;
}

.contact-info p {
	color: #555;
	font-size: 16px;
}

/* Feature list (checks) inside contact-info */
.features-list {
	list-style: none;
	padding: 0;
	margin: 20px auto 0;
	max-width: 420px;
	text-align: left;
}

.features-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	line-height: 1.5;
	color: #222;
}

.features-list img {
	width: 18px; /* reduced size */
	height: 18px;
	flex-shrink: 0;
	margin-top: 3px; /* align visually with text */
}

.form-contact {
	flex: 1;
	padding: 40px;
	background-color: #ffffff;
}

.form-contact h2 {
	color: #333;
	margin-bottom: 25px;
	font-size: 22px;
	text-align: center;
}

.form-contact label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: #333;
}

.form-contact input,
.form-contact select,
.form-contact textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	margin-bottom: 20px;
	font-size: 15px;
	transition: border-color 0.3s;
	/* include padding/border inside width so 100% fits the container */
	box-sizing: border-box;
}

/* Canonical contact form focus (from styles.css) */
.form-contact input:focus,
.form-contact select:focus,
.form-contact textarea:focus {
	border-color: #ffa500;
	outline: none;
}

.form-contact button {
	width: 100%;
	padding: 14px;
	background-color: #ffa500;
	color: white;
	border: none;
	border-radius: 30px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s;
	box-sizing: border-box; /* ensure button width respects container padding */
}

.form-contact button:hover {
	background-color: #004dcc;
}

/* Honeypot field (spam trap) */
.honeypot-field {
	position: absolute !important;
	left: -5000px !important;
	width: 1px; height:1px; overflow:hidden; opacity:0; pointer-events:none;
}

/* Keep a lightweight mobile fallback: viewport-friendly padding */
@media (max-width: 768px) {
 	.contact-section { padding: 18px 12px; }

	/* Stack the two columns vertically on phones */
	.contact-container {
		flex-direction: column;
		gap: 18px;
		align-items: stretch;
	}

	.contact-info {
		padding: 28px;
		text-align: left;
	}

	.contact-info img {
		width: 80px;
		margin-bottom: 12px;
		display: block;
	}

	.form-contact {
		padding: 18px;
	}

	.contact-info h2 { font-size: 1.6rem; }

	/* Make feature list full width on mobile and shrink icons a bit more */
	.features-list { max-width: 100%; margin: 0 0 12px 0; }
	.features-list img { width: 16px; height: 16px; margin-top: 4px; }
	.features-list li { margin-bottom: 10px; }
}

/* Extra mobile safety: ensure form controls never overflow their container on very small screens */
@media (max-width: 420px) {
	.form-contact input,
	.form-contact select,
	.form-contact textarea,
	.form-contact button {
		max-width: 100%;
		box-sizing: border-box; /* already set, but reinforce for older UA */
		padding-right: 12px; /* ensure right padding consistent */
		padding-left: 12px;
	}
}
