/*
Theme Name: Woodmart Child
Theme URI: https://woodmart.xtemos.com/
Template: woodmart
Author: XTemos
Author URI: http://themeforest.net/user/xtemos
Description: ThemeForest Premium Theme
Tags: one-column,two-columns,right-sidebar,custom-header,custom-menu,editor-style,featured-images,microformats,post-formats,sticky-post,translation-ready
Version: 8.3.3.1774273456
Updated: 2026-03-23 13:44:16

*/

/* Contenido central (#main-content) a ancho completo del viewport (WoodMart limita .container con --wd-container-w). */
#main-content.wd-content-layout.container,
#main-content.content-layout-wrapper.container {
	max-width: 100%;
	/* Evita la franja clara del padding-inline del .container del tema (15px), muy visible a la izquierda. */
	padding-inline-start: 0;
}

/* -------------------------------------------------------------------------
   JBS — cabecera transversal (marca) y banner página Contacto (Figma)
   Variables: azul CTA / texto oscuro / overlay hero
   ------------------------------------------------------------------------- */
:root {
	--jbs-blue-cta: #00a3ff;
	--jbs-text-heading: #303060;
	/* Bloque contenido contacto (mockup) */
	--jbs-contact-page-bg: #f0f1f8;
	--jbs-contact-intro-heading: #2c2e6b;
	--jbs-contact-intro-text: #5a5d7a;
	--jbs-contact-form-bg: #1da1f2;
	--jbs-contact-form-submit-fg: #2c2e6b;
	--jbs-contact-required: #e53935;
	--jbs-contact-social-bg: #e4e6ee;
}

/* CTA tipo píldora en la fila principal del header (elemento Button del Header Builder). */
body.jbs-brand-header .whb-main-header a.wd-btn,
body.jbs-brand-header .whb-main-header button.wd-btn {
	border-radius: 999px;
	padding-inline: 1.35em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background-color: var(--jbs-blue-cta) !important;
	border-color: var(--jbs-blue-cta) !important;
	color: #fff !important;
}

body.jbs-brand-header .whb-main-header a.wd-btn:hover,
body.jbs-brand-header .whb-main-header button.wd-btn:hover {
	filter: brightness(1.08);
}

/* Navegación principal en mayúsculas (peso diseño JBS). */
body.jbs-brand-header .whb-main-header .wd-nav-header > li > a {
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 600;
}

/* --- Solo en página Contacto: header sobre el hero + texto claro --- */
body.jbs-header-over-hero .wd-page-content {
	padding-top: 0;
}

body.jbs-header-over-hero .whb-header:not(.whb-clone) {
	position: relative;
	z-index: 395;
}

/* body.jbs-header-over-hero .whb-header:not(.whb-clone) .whb-main-header {
	position: absolute;
	inset-inline: 0;
	top: 0;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
} */

/* Logo oscuro → blanco sobre el hero (quitar si subes logo en versión clara). */
body.jbs-header-over-hero .whb-header:not(.whb-clone) .wd-logo img {
	/* filter: brightness(0) invert(1); */
}

/* body.jbs-header-over-hero .whb-header:not(.whb-clone) .wd-nav-header > li > a {
	color: rgba(255, 255, 255, 0.95) !important;
} */

/* body.jbs-header-over-hero .whb-header:not(.whb-clone) .wd-nav-header > li > a:hover {
	color: #fff !important;
} */

body.jbs-header-over-hero .whb-header:not(.whb-clone) .wd-nav-opener {
	color: #fff;
}

/* Barra sticky al hacer scroll: fondo sólido y texto oscuro de nuevo. */
body.jbs-header-over-hero .whb-clone.whb-sticked .whb-main-header {
	background-color: #fff !important;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08) !important;
}

body.jbs-header-over-hero .whb-clone.whb-sticked .wd-nav-header > li > a {
	color: var(--jbs-text-heading) !important;
}

body.jbs-header-over-hero .whb-clone.whb-sticked .wd-logo img {
	filter: none;
}

body.jbs-header-over-hero .whb-clone.whb-sticked .wd-nav-opener {
	color: var(--jbs-text-heading);
}

/* Banner título WoodMart (si no usas hero inyectado): mismo criterio panorámico que .jbs-contact-hero */
body.jbs-header-over-hero .wd-page-title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: clamp(200px, 22vw, 300px);
	padding-top: max(1rem, calc(var(--wd-header-general-h, 72px) + 8px));
	padding-bottom: clamp(1rem, 3vw, 1.75rem);
	margin-bottom: 0;
	background-color: #2a4a5c;
	border-top: 3px solid #6b5ea8;
}

body.jbs-header-over-hero .wd-page-title .container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	padding-inline-start: 10vw;
	padding-inline-end: 1.25rem;
	text-align: start;
}

body.jbs-header-over-hero .wd-page-title .entry-title.title {
	margin: 0;
	color: #fff;
	font-weight: 700;
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

body.jbs-header-over-hero .wd-page-title .wd-page-title-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

body.jbs-header-over-hero.jbs-contact-hero-custom-bg .wd-page-title .wd-page-title-bg img {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

body.jbs-header-over-hero .wd-page-title .wd-breadcrumbs,
body.jbs-header-over-hero .wd-page-title .yoast-breadcrumb {
	display: none;
}

/* -------------------------------------------------------------------------
   Hero inyectado — banner panorámico, H1 centrado en vertical, ~10% margen izq.
   ------------------------------------------------------------------------- */
body.jbs-header-over-hero .jbs-contact-hero {
	--jbs-contact-hero-accent: #6b5ea8;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: clamp(200px, 22vw, 350px);
	padding-top: max(0.75rem, calc(var(--wd-header-general-h, 72px) + 4px));
	padding-bottom: clamp(1rem, 3vw, 1.75rem);
	margin-bottom: 0;
	background-color: #2a4a5c;
	overflow: hidden;
	border-top: 3px solid var(--jbs-contact-hero-accent);
}

.admin-bar body.jbs-header-over-hero .jbs-contact-hero {
	padding-top: max(0.75rem, calc(var(--wd-admin-bar-h, 32px) + var(--wd-header-general-h, 72px) + 4px));
}

body.jbs-header-over-hero .jbs-contact-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center top;
}

/* Overlay oscuro ~40–45 % solo cuando hay imagen de fondo */
body.jbs-header-over-hero .jbs-contact-hero__bg--has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

body.jbs-header-over-hero .jbs-contact-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	padding-inline-start: 10vw;
	padding-inline-end: 1.25rem;
	margin-inline: 0;
	text-align: start;
}

body.jbs-header-over-hero .jbs-contact-hero__title {
	margin: 0;
	color: #fff;
	font-weight: 700;
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

body.jbs-header-over-hero .jbs-contact-hero__subtitle {
	margin: 0.55rem 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
}

/* En /contacto-exito/, el título “Formulario enviado” va en el contenido (como antes). Mantén el h2 del hero en markup, pero no lo dupliques visualmente. */
body.jbs-form-success-page .jbs-contact-hero--form-success .jbs-contact-hero__subtitle {
	display: none;
}

/* -------------------------------------------------------------------------
   Cabecera vía Elementor Theme Builder ([data-elementor-type="header"])
   ------------------------------------------------------------------------- */
body.jbs-brand-header [data-elementor-type="header"] .elementor-button {
	border-radius: 999px !important;
	padding-inline: 1.35em !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	background-color: var(--jbs-blue-cta) !important;
	color: #fff !important;
	border: none !important;
}

body.jbs-brand-header [data-elementor-type="header"] .elementor-button:hover {
	filter: brightness(1.08);
}

body.jbs-brand-header [data-elementor-type="header"] .elementor-nav-menu--main .elementor-item {
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 600;
}

/* Contacto: header sobre el hero (Elementor) */
body.jbs-header-over-hero [data-elementor-type="header"] {
	position: absolute;
	inset-inline: 0;
	top: 0;
	z-index: 395;
	width: 100%;
	max-width: none;
	margin: 0;
	background: transparent !important;
	box-shadow: none !important;
}

.admin-bar body.jbs-header-over-hero [data-elementor-type="header"] {
	top: var(--wd-admin-bar-h, 32px);
}

body.jbs-header-over-hero [data-elementor-type="header"] .elementor-section,
body.jbs-header-over-hero [data-elementor-type="header"] .elementor-column,
body.jbs-header-over-hero [data-elementor-type="header"] .elementor-widget-wrap {
	background-color: transparent !important;
	background-image: none !important;
}

body.jbs-header-over-hero [data-elementor-type="header"] .elementor-nav-menu--main .elementor-item {
	color: rgba(255, 255, 255, 0.95) !important;
	fill: rgba(255, 255, 255, 0.95) !important;
}

body.jbs-header-over-hero [data-elementor-type="header"] .elementor-nav-menu--main .elementor-item.elementor-item-active,
body.jbs-header-over-hero [data-elementor-type="header"] .elementor-nav-menu--main .elementor-item.highlighted,
body.jbs-header-over-hero [data-elementor-type="header"] .elementor-nav-menu--main .elementor-item:focus,
body.jbs-header-over-hero [data-elementor-type="header"] .elementor-nav-menu--main .elementor-item:hover {
	color: #fff !important;
}

body.jbs-header-over-hero [data-elementor-type="header"] .elementor-widget-theme-site-logo img {
	filter: brightness(0) invert(1);
}

body.jbs-header-over-hero [data-elementor-type="header"] .elementor-menu-toggle {
	color: #fff;
}

body.jbs-header-over-hero [data-elementor-type="header"] .elementor-menu-toggle .elementor-menu-toggle__icon--open,
body.jbs-header-over-hero [data-elementor-type="header"] .elementor-menu-toggle .elementor-menu-toggle__icon--close {
	fill: currentColor;
}

/* Sticky Elementor: fondo claro al fijar (ajustar si tu plantilla usa otra clase) */
body.jbs-header-over-hero [data-elementor-type="header"] .elementor-sticky--active .elementor-section-wrap > .elementor-section:first-child,
body.jbs-header-over-hero [data-elementor-type="header"] > .elementor-element.e-con.e-parent.elementor-sticky--active {
	background-color: #fff !important;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08) !important;
}

body.jbs-header-over-hero [data-elementor-type="header"] .elementor-sticky--active .elementor-nav-menu--main .elementor-item {
	color: var(--jbs-text-heading) !important;
}

body.jbs-header-over-hero [data-elementor-type="header"] .elementor-sticky--active .elementor-widget-theme-site-logo img {
	filter: none;
}

body.jbs-header-over-hero [data-elementor-type="header"] .elementor-sticky--active .elementor-menu-toggle {
	color: var(--jbs-text-heading);
}

/* -------------------------------------------------------------------------
   Contacto — contenido bajo el hero (solo Elementor Pro, widget Formulario)
   Sección → jbs-contact-section  |  Columna texto/redes → jbs-contact-lead
   Columna o contenedor del form → jbs-contact-form-card
   ------------------------------------------------------------------------- */
body.jbs-header-over-hero #main-content.wd-content-layout {
	background-color: var(--jbs-contact-page-bg);
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	padding-inline: clamp(16px, 4vw, 56px);
}

body.jbs-header-over-hero #main-content .elementor-section.jbs-contact-section > .elementor-container {
	align-items: stretch;
	gap: clamp(1.5rem, 4vw, 3rem);
}

body.jbs-header-over-hero #main-content .elementor-section.jbs-contact-section > .e-con-inner {
	gap: clamp(1.5rem, 4vw, 3rem);
}

body.jbs-header-over-hero #main-content .e-con.jbs-contact-section {
	gap: clamp(1.5rem, 4vw, 3rem);
}

/* Columna texto + redes */
body.jbs-header-over-hero #main-content .jbs-contact-lead .elementor-heading-title {
	color: var(--jbs-contact-intro-heading) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
}

body.jbs-header-over-hero #main-content .jbs-contact-lead .elementor-widget-heading:first-child .elementor-heading-title {
	font-size: clamp(1.35rem, 2.8vw, 2rem) !important;
}

body.jbs-header-over-hero #main-content .jbs-contact-lead .elementor-widget-text-editor,
body.jbs-header-over-hero #main-content .jbs-contact-lead .elementor-widget-text-editor p {
	color: var(--jbs-contact-intro-text);
	font-size: clamp(0.95rem, 1.6vw, 1.05rem);
	line-height: 1.55;
}

body.jbs-header-over-hero #main-content .jbs-contact-lead .elementor-widget-social-icons .elementor-social-icon {
	background-color: var(--jbs-contact-social-bg) !important;
	border-radius: 12px !important;
}

body.jbs-header-over-hero #main-content .jbs-contact-lead .elementor-widget-social-icons .elementor-icon {
	color: var(--jbs-contact-intro-heading) !important;
}

/* Panel azul del formulario (clase en columna interna o widget wrap) */
body.jbs-header-over-hero #main-content .elementor-column.jbs-contact-form-card > .elementor-widget-wrap,
body.jbs-header-over-hero #main-content .elementor-element.jbs-contact-form-card.elementor-widget-wrap {
	background-color: var(--jbs-contact-form-bg) !important;
	border-radius: 16px;
	padding: clamp(1.5rem, 4vw, 2.5rem) !important;
	box-sizing: border-box;
}

body.jbs-header-over-hero #main-content .e-con.jbs-contact-form-card,
body.jbs-header-over-hero #main-content .e-child.jbs-contact-form-card {
	background-color: var(--jbs-contact-form-bg) !important;
	border-radius: 16px;
	padding: clamp(1.5rem, 4vw, 2.5rem) !important;
}

/* Si la clase va en la sección completa (solo columna formulario) */
body.jbs-header-over-hero #main-content .elementor-section.jbs-contact-form-card > .elementor-container {
	background-color: var(--jbs-contact-form-bg) !important;
	border-radius: 16px;
	padding: clamp(1.5rem, 4vw, 2.5rem) !important;
	box-sizing: border-box;
}

/* Widget Formulario (Elementor Pro) */
body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-widget-form .elementor-field-label,
body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-field-label,
body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-field-group > label {
	color: #fff !important;
	font-weight: 700 !important;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-mark-required {
	color: var(--jbs-contact-required) !important;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-form-fields-wrapper {
	display: flex;
	flex-wrap: wrap;
	row-gap: 1rem;
	column-gap: 1.25rem;
	align-items: flex-start;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-field-group {
	margin-bottom: 0;
	min-width: 0;
	box-sizing: border-box;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-field-type-submit {
	flex: 1 0 100%;
	width: 100% !important;
	max-width: 100% !important;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card input.elementor-field-textual,
body.jbs-header-over-hero #main-content .jbs-contact-form-card textarea.elementor-field-textual,
body.jbs-header-over-hero #main-content .jbs-contact-form-card select.elementor-field-textual {
	width: 100%;
	background-color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 12px 16px !important;
	color: #333 !important;
	box-shadow: none !important;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card input.elementor-field-textual::placeholder,
body.jbs-header-over-hero #main-content .jbs-contact-form-card textarea.elementor-field-textual::placeholder {
	color: #888 !important;
	opacity: 1;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card textarea.elementor-field-textual {
	min-height: 140px;
	resize: vertical;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card input.elementor-field-textual:focus-visible,
body.jbs-header-over-hero #main-content .jbs-contact-form-card textarea.elementor-field-textual:focus-visible,
body.jbs-header-over-hero #main-content .jbs-contact-form-card select.elementor-field-textual:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-button,
body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-button-link {
	background-color: #fff !important;
	color: var(--jbs-contact-submit-fg) !important;
	border: none !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	padding: 12px 2rem !important;
	margin-top: 0.5rem;
	align-self: flex-start;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-field-type-submit {
	justify-content: flex-start;
}

body.jbs-header-over-hero #main-content .jbs-contact-form-card .elementor-message {
	border-radius: 8px;
}

