/* ======================================================
   CONTACTO — Tienda Inglesa Panel Online
   ====================================================== */

html,
body {
	background: #ffffff;
	font-family: 'Inter', sans-serif;
}

/* HERO / BANNER */
.sc_contacto {
	background:
		radial-gradient(circle at 82% 50%, rgba(0, 71, 149, 0.06) 0, rgba(0, 71, 149, 0) 34%),
		linear-gradient(180deg, #F7F9FC 0%, #ffffff 100%);
	border-bottom: 1px solid #EEF1F5;
}

.sc_contacto > .inner_section_container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 48px 40px;
	box-sizing: border-box;
}

.sc_contacto .section_title {
	display: grid !important;
	grid-template-columns: 1fr 420px;
	align-items: center;
	gap: 56px;
	margin: 0;
	padding: 0;
}

.sc_contacto .stc_title_side {
	display: flex !important;
	align-items: center;
	padding: 0 !important;
}

.sc_contacto img.st_icon {
	width: 42px;
	height: auto;
	margin: 0 14px 0 0;
	opacity: 0.14;
	filter: grayscale(1);
}

.sc_contacto img.st_left_arrow {
	display: none !important;
}

.sc_contacto p.st_title_box {
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	font-family: 'Inter', sans-serif;
	font-size: 44px;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -1.2px;
	color: #004795;
}

.sc_contacto p.st_title_box::after {
	content: "";
	display: block;
	width: 68px;
	height: 4px;
	margin: 22px 0 0 0;
	background: #F6323E;
	border-radius: 999px;
}

.sc_contacto .stc_image_side {
	display: block !important;
	width: 100%;
	height: 210px;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 48px rgba(0, 71, 149, 0.13);
}

.sc_contacto .stc_image_side img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	display: block;
}

/* CONTENT */
.sc_contacto + .section_container {
	background: #ffffff;
}

.sc_contacto + .section_container > .inner_section_container {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 42px 32px 64px 32px;
	box-sizing: border-box;
}

.contacto_title {
	margin: 0 0 10px 0;
	font-family: 'Inter', sans-serif;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.4px;
	color: #111827;
}

.contacto_description {
	margin: 0 0 34px 0;
	max-width: 780px;
	font-family: 'Inter', sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	color: #6B7280;
}

/* FORM CARD */
.contact_form {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 40px;
	background: #ffffff;
	border: 1px solid #E5EAF1;
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(0, 71, 149, 0.09);
	box-sizing: border-box;
}

.contact_form .div_error {
	margin: 0 0 22px 0;
	padding: 14px 16px;
	background: #FFF1F2;
	border: 1px solid rgba(246, 50, 62, 0.28);
	border-radius: 12px;
}

.contact_form .div_error p {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #D92B35;
}

/* Nombre / Email */
.contact_form .section_table {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 0 0 20px 0;
	width: 100%;
}

.contact_form .section_table .st_cell {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start !important;
	padding: 0 !important;
	width: 100%;
}

.contact_form p {
	margin: 0 0 7px 0;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: #004795;
}

.contact_form input,
.contact_form textarea {
	width: 100% !important;
	max-width: none !important;
	margin: 0;
	padding: 0 16px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #111827;
	background: #ffffff;
	border: 1px solid #DDE3EC;
	border-radius: 10px;
	outline: none;
	box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact_form input {
	height: 48px;
}

.contact_form textarea {
	height: 130px;
	padding-top: 14px;
	padding-bottom: 14px;
	resize: vertical;
	margin-bottom: 22px;
	line-height: 1.5;
}

.contact_form input:focus,
.contact_form textarea:focus {
	border-color: #004795;
	box-shadow: 0 0 0 4px rgba(0, 71, 149, 0.10);
	background: #ffffff;
}

.contact_form textarea::placeholder {
	color: #9CA3AF;
}

/* CAPTCHA */
.contact_form .form_security_code {
	display: grid;
	grid-template-columns: 1fr 100px auto;
	grid-template-areas:
		"label label label"
		"input captcha button";
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	overflow: visible;
}

.contact_form .form_security_code p {
	grid-area: label;
	margin: 0 0 2px 0;
}

.contact_form .form_security_code input[type="text"] {
	grid-area: input;
	height: 48px;
}

.contact_form .form_security_code img {
	grid-area: captcha;
	width: 100px;
	height: 40px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #DDE3EC;
}

.contact_form .form_security_code button {
	grid-area: button;
	height: 48px;
	min-width: 112px;
	margin: 0;
	padding: 0 24px;
	border: none;
	border-radius: 10px;
	background: #F6323E;
	color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(246, 50, 62, 0.26);
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact_form .form_security_code button:hover {
	background: #D92B35;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(246, 50, 62, 0.34);
}

/* Validación */
.contact_form label.error {
	display: block;
	margin: 6px 0 0 0;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #F6323E;
	text-align: left !important;
}

.contact_form input.error,
.contact_form textarea.error {
	border-color: #F6323E;
	background: #FFF8F8;
}

/* Success */
.form_success_text {
	max-width: 760px;
	margin: 0 auto;
	padding: 24px 28px;
	border: 1px solid rgba(0, 71, 149, 0.18);
	border-radius: 16px;
	background: #F7F9FC;
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #004795 !important;
	text-align: center;
}

/* RESPONSIVE */
@media only screen and (max-width: 900px) {
	.sc_contacto > .inner_section_container {
		padding: 42px 28px;
	}

	.sc_contacto .section_title {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.sc_contacto .stc_image_side {
		height: 190px;
	}

	.sc_contacto p.st_title_box {
		font-size: 36px;
	}

	.sc_contacto + .section_container > .inner_section_container {
		padding: 36px 24px 52px 24px;
	}

	.contact_form {
		padding: 30px;
	}

	.contacto_title {
		font-size: 26px;
	}
}

@media only screen and (max-width: 620px) {
	.sc_contacto > .inner_section_container {
		padding: 34px 20px;
	}

	.sc_contacto img.st_icon {
		display: none !important;
	}

	.sc_contacto p.st_title_box {
		font-size: 32px;
	}

	.sc_contacto .stc_image_side {
		height: 160px;
		border-radius: 14px;
	}

	.sc_contacto + .section_container > .inner_section_container {
		padding: 28px 16px 44px 16px;
	}

	.contacto_title {
		font-size: 23px;
	}

	.contacto_description {
		font-size: 15px;
		margin-bottom: 26px;
	}

	.contact_form {
		padding: 24px 20px;
		border-radius: 16px;
	}

	.contact_form .section_table {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.contact_form .form_security_code {
		grid-template-columns: 1fr 100px;
		grid-template-areas:
			"label label"
			"input captcha"
			"button button";
	}

	.contact_form .form_security_code button {
		width: 100%;
	}
}