/*
 * Contact page (page template 100% Width): full-bleed map, 1240px form + info band.
 * Slugs: contacto (ES), contact (EN). v1.0.98 — hero map dark CSS filter on embed iframe.
 */

body.cnc-contact-page .page_full_width {
	width: 100%;
	max-width: none;
}

body.cnc-contact-page .page_full_width > .entry-content {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/* First VC row = Google Maps — edge to edge. */
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row-fluid:first-child,
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row:first-child {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row-fluid:first-child .wpb_gmaps_widget,
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row:first-child .wpb_gmaps_widget {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row-fluid:first-child .wpb_map_wraper,
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row:first-child .wpb_map_wraper {
	width: 100%;
}

/*
 * Dark map look for WPBakery google.com/maps/embed iframe (contacto / contact).
 * Embed/share URLs and Maps Embed API do not expose dark tiles or style JSON without
 * replacing the iframe with Maps JavaScript API (API key + ColorScheme.DARK or Map ID).
 * CSS filter is cross-origin-safe and scoped to the first-row hero map only.
 */
body.cnc-contact-page .cnc-contact-map--dark {
	background-color: #141414;
	overflow: hidden;
}

body.cnc-contact-page .cnc-contact-map--dark iframe {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 420px;
	border: 0;
	filter: grayscale(100%) invert(92%) hue-rotate(180deg) contrast(88%) brightness(0.92);
	-webkit-filter: grayscale(100%) invert(92%) hue-rotate(180deg) contrast(88%) brightness(0.92);
}

body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row-fluid:first-child .wpb_map_wraper:not(.cnc-contact-map--dark) iframe,
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row:first-child .wpb_map_wraper:not(.cnc-contact-map--dark) iframe {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 420px;
	border: 0;
}

@media (min-width: 768px) {
	body.cnc-contact-page .cnc-contact-map--dark iframe,
	body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row-fluid:first-child .wpb_map_wraper:not(.cnc-contact-map--dark) iframe,
	body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row:first-child .wpb_map_wraper:not(.cnc-contact-map--dark) iframe {
		height: 480px;
	}
}

/* Form + photo + ubicación — site content width. */
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row-fluid:nth-child(2),
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row:nth-child(2),
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row-fluid:nth-child(3),
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row:nth-child(3) {
	max-width: 1240px;
	width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row-fluid:nth-child(2) .wpb_gmaps_widget,
body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row:nth-child(2) .wpb_gmaps_widget {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Section title above CF7 (Retailer .shortcode_title). */
body.cnc-contact-page .cnc-section-title,
body.cnc-contact-page .shortcode_title.section_title {
	margin-bottom: 24px;
}

body.cnc-contact-page .wpcf7-form p {
	margin-bottom: 0.75em;
}

body.cnc-contact-page .wpcf7-form input[type="text"],
body.cnc-contact-page .wpcf7-form input[type="email"],
body.cnc-contact-page .wpcf7-form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* UBICACIÓN / LOCATION block */
body.cnc-contact-page .cnc-contact-details {
	margin-top: 0;
	margin-left: 50px;
}

body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type {
	margin-top: 0;
}

body.cnc-contact-page .cnc-contact-details h2,
body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type h2 {
	font-size: 12px;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 1rem;
	font-weight: 700;
}

body.cnc-contact-page .cnc-contact-details h2 strong,
body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type h2 strong {
	font-weight: inherit;
}

body.cnc-contact-page .cnc-contact-details h3,
body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type h3 {
	font-size: 15px;
	line-height: 1.55;
	font-weight: 400;
	margin: 0 0 0.65rem;
	text-align: left !important;
}

body.cnc-contact-page .cnc-contact-details h3 strong,
body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type h3 strong {
	font-weight: 600;
}

body.cnc-contact-page .cnc-contact-details h3:last-of-type,
body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type h3:last-of-type {
	margin-bottom: 0;
}

body.cnc-contact-page .cnc-contact-details a,
body.cnc-contact-page .cnc-contact-details a.cnc-contact-email-link,
body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type a {
	color: #b31736 !important;
	text-decoration: underline;
}

body.cnc-contact-page .cnc-contact-details a:hover,
body.cnc-contact-page .cnc-contact-details a:focus,
body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type a:hover,
body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type a:focus {
	color: #8f122b !important;
}

body.cnc-contact-page .cnc-contact-details .cnc-contact-muted,
body.cnc-contact-page .vc_custom_1478606102065 .wpb_text_column.wpb_content_element:last-of-type .cnc-contact-muted {
	color: inherit;
}

body.cnc-contact-page .cnc-contact-whatsapp-hint {
	font-size: 0.92em;
	font-weight: 400;
}

body.cnc-contact-page .cnc-contact-whatsapp-hint a {
	color: #b31736 !important;
	text-decoration: underline;
}

body.cnc-contact-page .cnc-contact-details .vc_single_image-img,
body.cnc-contact-page .vc_custom_1478606102065 .vc_single_image-img {
	width: 100%;
	height: auto;
}

@media (min-width: 992px) {
	body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row-fluid:nth-child(2) > .wpb_column,
	body.cnc-contact-page .entry-content > .wpb-content-wrapper > .vc_row:nth-child(2) > .wpb_column {
		padding-top: 8px;
	}
}
