/* ==========================================================================
   Benjamín Automotores – estilos del tema
   Paleta del logo: negro, rojo y gris/plata.
   ========================================================================== */

:root {
	--bm-bg: #0b0b0c;
	--bm-bg-2: #101012;
	--bm-surface: #141416;
	--bm-surface-2: #1b1b1e;
	--bm-border: #2a2a2e;
	--bm-text: #f3f3f4;
	--bm-silver: #c9ccd1;
	--bm-muted: #9a9ba3;
	--bm-red: #e10f1f;
	--bm-red-2: #ff2a3a;
	--bm-wa: #25d366;
	--bm-display: "Saira", system-ui, sans-serif;
	--bm-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bm-wrap: 1280px;
	--bm-header-h: 78px;
	--gv-sticky-top: calc(var(--bm-header-h) + 12px);
	--bm-wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.05 4.91A9.82 9.82 0 0 0 12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38a9.9 9.9 0 0 0 4.74 1.21c5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01Zm-2.49 9.08c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.12-.17.25-.64.81-.78.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.13-.15.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.34-.76-1.84-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.22.25-.86.85-.86 2.07 0 1.22.89 2.4 1.01 2.56.12.17 1.75 2.67 4.23 3.74 2.48 1.07 2.48.71 2.93.67.45-.04 1.47-.6 1.67-1.18.21-.58.21-1.07.14-1.18-.06-.11-.22-.17-.47-.29Z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bm-header-h) + 10px); }
body {
	background: var(--bm-bg) !important;
	color: var(--bm-text);
	font-family: var(--bm-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--bm-red); color: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--bm-display); color: var(--bm-text); font-weight: 700; letter-spacing: -.015em; line-height: 1.08; }
a { color: var(--bm-text); transition: color .2s; }
a:hover { color: var(--bm-red); }
img { max-width: 100%; height: auto; }

.site, .site-content, .inside-article, .one-container .site-content, .separate-containers .inside-article,
.site-main, .container.grid-container { background: transparent !important; color: var(--bm-text); }
.one-container .site-content { padding: 0; }
.site-content { display: block; }
.inside-article { padding: 0 !important; }
.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }

/* Páginas comunes (no de ancho completo) */
body:not(.full-width-content) .site-content { padding: 50px 24px 80px; max-width: var(--bm-wrap); margin: 0 auto; }
body:not(.full-width-content) .entry-title { font-size: clamp(34px, 5vw, 56px); margin-bottom: 24px; }

.bm-wrap { max-width: var(--bm-wrap); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Encabezado ---------- */
.site-header {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(11, 11, 12, .82) !important;
	backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	transition: background .3s, box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { background: rgba(11, 11, 12, .96) !important; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.inside-header { padding: 10px 24px !important; max-width: var(--bm-wrap); min-height: var(--bm-header-h); align-items: center; }
.site-branding-container { gap: 12px; }
.site-logo img, .site-header .header-image { height: 58px !important; width: 58px !important; object-fit: contain; filter: drop-shadow(0 0 12px rgba(225, 15, 31, .25)); transition: transform .4s; }
.site-logo:hover img { transform: rotate(-6deg) scale(1.04); }
.main-title { margin: 0; font-family: var(--bm-display); font-weight: 800; font-style: italic; font-size: 21px !important; line-height: 1 !important; letter-spacing: .02em; text-transform: uppercase; }
.main-title a { color: var(--bm-text) !important; text-decoration: none; background: linear-gradient(180deg, #fff 0%, #c9ccd1 60%, #8d9097 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.main-title a span { display: block; margin-top: 3px; font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .42em; -webkit-text-fill-color: var(--bm-red); color: var(--bm-red); }
.site-description { display: none; }

.main-navigation, .main-navigation ul ul, .main-navigation .main-nav ul ul { background: transparent !important; }
.main-navigation .main-nav ul li a {
	position: relative; padding: 0 15px !important; line-height: 58px !important;
	font-family: var(--bm-body); font-size: 12px !important; font-weight: 600 !important; letter-spacing: .18em; text-transform: uppercase;
	color: var(--bm-silver) !important; background: transparent !important;
}
.main-navigation .main-nav ul li a::after {
	content: ""; position: absolute; left: 15px; right: 15px; bottom: 14px; height: 2px; background: var(--bm-red);
	transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li.current-menu-item > a { color: #fff !important; }
.main-navigation .main-nav ul li a:hover::after, .main-navigation .main-nav ul li.current-menu-item > a::after { transform: scaleX(1); }
.main-navigation .menu-bar-items { align-items: center; margin-left: 10px; }

.bm-header-cta a {
	display: inline-flex !important; align-items: center; gap: 8px; padding: 12px 18px !important; line-height: 1 !important;
	background: var(--bm-red); color: #fff !important; border-radius: 2px; text-decoration: none;
	font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	transition: background .2s, transform .2s, box-shadow .2s;
}
.bm-header-cta a:hover { background: var(--bm-red-2); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(225, 15, 31, .35); }

/* Menú móvil */
.menu-toggle, .main-navigation .menu-toggle { color: var(--bm-text) !important; background: transparent !important; padding: 0 12px !important; line-height: 58px !important; }
.menu-toggle .gp-icon svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
	:root { --bm-header-h: 66px; }
	.inside-header { padding: 6px 16px !important; }
	.site-logo img { height: 48px !important; width: 48px !important; }
	.main-title { font-size: 17px !important; }
	.main-title a span { font-size: 9px; letter-spacing: .34em; }
	.bm-header-cta a span { display: none; }
	.bm-header-cta a { padding: 11px !important; border-radius: 50%; }
	.main-navigation.toggled .main-nav > ul,
	.main-navigation .main-nav > ul { background: var(--bm-bg-2) !important; }
	.main-navigation.toggled .main-nav ul li a { line-height: 54px !important; padding: 0 20px !important; border-bottom: 1px solid var(--bm-border); }
	.main-navigation.toggled .main-nav ul li a::after { display: none; }
	.has-inline-mobile-toggle #site-navigation.toggled { margin-top: 6px; }
}

/* ---------- Utilidades de bloque ---------- */
.is-style-etiqueta, .bm-eyebrow {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px !important;
	font-family: var(--bm-body); font-size: 11px !important; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--bm-muted);
}
.is-style-etiqueta::before, .bm-eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--bm-red); flex-shrink: 0; }
.has-text-align-center.is-style-etiqueta, .has-text-align-center.bm-eyebrow { justify-content: center; }
.is-style-display, .bm-display { font-size: clamp(44px, 8vw, 104px) !important; font-weight: 800 !important; line-height: .95 !important; letter-spacing: -.03em !important; }
.bm-muted { color: var(--bm-muted); }
.bm-silver { color: var(--bm-silver); }
.bm-red { color: var(--bm-red); }

/* Botones de Gutenberg */
.wp-block-button__link, .wp-element-button {
	display: inline-flex; align-items: center; gap: 8px; padding: 16px 26px !important; border-radius: 2px !important;
	background: var(--bm-red) !important; color: #fff !important; border: 1px solid var(--bm-red) !important;
	font-family: var(--bm-body); font-size: 12px !important; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase; line-height: 1 !important;
	text-decoration: none !important; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s, color .2s;
}
.wp-block-button__link:hover { background: var(--bm-red-2) !important; border-color: var(--bm-red-2) !important; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(225, 15, 31, .55); }
.wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button.is-style-linea .wp-block-button__link {
	background: transparent !important; border-color: rgba(255, 255, 255, .28) !important; color: var(--bm-text) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover, .wp-block-button.is-style-linea .wp-block-button__link:hover { border-color: #fff !important; box-shadow: none; }
.wp-block-button.is-style-whatsapp .wp-block-button__link { background: var(--bm-wa) !important; border-color: var(--bm-wa) !important; }
.wp-block-button.is-style-whatsapp .wp-block-button__link::before {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: var(--bm-wa-icon) center / contain no-repeat;
	        mask: var(--bm-wa-icon) center / contain no-repeat;
}
.wp-block-button.is-style-whatsapp .wp-block-button__link:hover { background: #1fbd59 !important; border-color: #1fbd59 !important; box-shadow: 0 12px 26px -8px rgba(37, 211, 102, .5); }
.wp-block-buttons { gap: 12px; }

/* Botones propios */
.bm-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 2px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none !important; line-height: 1; transition: transform .2s, box-shadow .2s, background .2s; }
.bm-btn--wa { background: var(--bm-wa); color: #fff !important; }
.bm-btn--wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(37, 211, 102, .5); }

/* Tarjeta */
.wp-block-group.is-style-tarjeta, .bm-card {
	padding: 30px 28px !important; background: var(--bm-surface); border: 1px solid var(--bm-border); border-radius: 4px;
	transition: border-color .35s, transform .35s, background .35s;
}
.wp-block-group.is-style-tarjeta:hover, .bm-card:hover { border-color: rgba(225, 15, 31, .5); transform: translateY(-4px); }

/* ---------- Secciones de la portada ---------- */
.bm-section { position: relative; padding: clamp(70px, 9vw, 120px) 0 !important; margin: 0 !important; }
.bm-section--alt { background: var(--bm-bg-2); border-top: 1px solid var(--bm-border); border-bottom: 1px solid var(--bm-border); }
.entry-content > .alignfull, .entry-content > .wp-block-group.alignfull { margin-left: 0 !important; margin-right: 0 !important; width: 100%; max-width: 100%; }
.entry-content > * + * { margin-top: 0; }
.bm-section h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 0 0 18px; }
.bm-section .bm-lead { color: var(--bm-muted); font-size: 17px; max-width: 560px; margin: 0; }
.bm-head { align-items: flex-end !important; margin-bottom: 44px !important; gap: 30px !important; }
.bm-head .wp-block-column:last-child { display: flex; justify-content: flex-end; }
@media (max-width: 781px) { .bm-head .wp-block-column:last-child { justify-content: flex-start; } }

/* Hero */
.bm-hero { min-height: calc(100vh - var(--bm-header-h)) !important; padding: 80px 0 90px !important; align-items: center !important; overflow: hidden; }
.bm-hero .wp-block-cover__image-background { animation: bm-kenburns 22s ease-out both; }
.bm-hero .wp-block-cover__background { background: linear-gradient(100deg, rgba(11, 11, 12, .97) 0%, rgba(11, 11, 12, .86) 42%, rgba(11, 11, 12, .45) 100%) !important; opacity: 1 !important; }
.bm-hero::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 180px; z-index: 1; pointer-events: none;
	background: linear-gradient(to top, var(--bm-bg), transparent);
}
.bm-hero .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; max-width: var(--bm-wrap) !important; padding: 0 24px; }
.bm-hero h1 { margin: 0 0 22px; font-size: clamp(52px, 8.4vw, 116px); font-weight: 800; line-height: .92; letter-spacing: -.035em; }
.bm-hero h1 .bm-silver, .bm-hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--bm-silver); }
.bm-hero h1 strong { color: var(--bm-red); font-weight: 800; }
.bm-hero p.bm-lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 520px; color: var(--bm-silver); }
.bm-hero .wp-block-buttons { margin-top: 34px; }
.bm-hero__cols { align-items: center !important; gap: 56px !important; }
.bm-hero .gv-featured { max-width: 460px; margin-left: auto; transform: perspective(1200px) rotateY(-6deg); transition: transform .6s; }
.bm-hero .gv-featured:hover { transform: none; }
@media (max-width: 781px) {
	.bm-hero { min-height: 0 !important; padding: 56px 0 70px !important; }
	.bm-hero .gv-featured { transform: none; margin: 20px auto 0; }
}
@keyframes bm-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Línea de confianza */
.bm-strip { padding: 0 !important; margin: 0 !important; border-top: 1px solid var(--bm-border); border-bottom: 1px solid var(--bm-border); background: var(--bm-bg-2); }
.bm-strip .wp-block-columns { gap: 0 !important; margin: 0 !important; }
.bm-strip .wp-block-column { padding: 28px 26px; position: relative; }
.bm-strip .wp-block-column + .wp-block-column { border-left: 1px solid var(--bm-border); }
.bm-strip p { margin: 0; font-size: 14px; color: var(--bm-muted); line-height: 1.5; }
.bm-strip p strong { display: flex; align-items: center; gap: 10px; color: var(--bm-text); font-family: var(--bm-display); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.bm-strip p strong::before { content: ""; width: 18px; height: 2px; background: var(--bm-red); }
@media (max-width: 781px) {
	.bm-strip .wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr; }
	.bm-strip .wp-block-column { padding: 22px 18px; border-left: 0 !important; border-bottom: 1px solid var(--bm-border); }
	.bm-strip .wp-block-column:nth-child(odd) { border-right: 1px solid var(--bm-border); }
}

/* Nosotros */
.bm-about { align-items: center !important; gap: 70px !important; }
.bm-about p { color: var(--bm-silver); font-size: 17px; }
.bm-logo-big { position: relative; margin: 0 auto !important; max-width: 440px; }
.bm-logo-big::before {
	content: ""; position: absolute; inset: 8%; border-radius: 50%;
	background: radial-gradient(circle, rgba(225, 15, 31, .45), transparent 70%); filter: blur(40px); z-index: 0;
	animation: bm-glow 5s ease-in-out infinite alternate;
}
.bm-logo-big img { position: relative; z-index: 1; animation: bm-float 7s ease-in-out infinite; }
@keyframes bm-glow { from { opacity: .55; transform: scale(.95); } to { opacity: 1; transform: scale(1.05); } }
@keyframes bm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.bm-checks { list-style: none; padding: 0 !important; margin: 26px 0 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.bm-checks li { position: relative; padding-left: 28px; color: var(--bm-text); font-weight: 500; }
.bm-checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--bm-red); border-bottom: 2px solid var(--bm-red); transform: rotate(-45deg); }
@media (max-width: 600px) { .bm-checks { grid-template-columns: 1fr; } }

/* Servicios / pasos */
.bm-grid4 { gap: 20px !important; }
.bm-grid4 > .wp-block-column { display: flex; }
.bm-grid4 > .wp-block-column > .wp-block-group { flex: 1; }
.bm-num { font-family: var(--bm-display); font-size: 15px !important; font-weight: 700; color: var(--bm-red); margin: 0 0 40px !important; letter-spacing: .1em; }
.bm-card h3 { font-size: 24px; margin: 0 0 10px; }
.bm-card p:not(.bm-num) { color: var(--bm-muted); font-size: 15px; margin: 0; }
.bm-steps { counter-reset: paso; gap: 0 !important; border-top: 1px solid var(--bm-border); }
.bm-steps > .wp-block-column { padding: 34px 26px 10px 0; position: relative; }
.bm-steps > .wp-block-column + .wp-block-column { padding-left: 26px; border-left: 1px solid var(--bm-border); }
.bm-steps > .wp-block-column::before {
	counter-increment: paso; content: "0" counter(paso);
	display: block; margin-bottom: 18px; font-family: var(--bm-display); font-size: 54px; font-weight: 800; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px var(--bm-muted); transition: -webkit-text-stroke-color .3s, color .3s;
}
.bm-steps > .wp-block-column:hover::before { color: var(--bm-red); -webkit-text-stroke-color: var(--bm-red); }
.bm-steps h3 { font-size: 22px; margin: 0 0 8px; }
.bm-steps p { color: var(--bm-muted); font-size: 15px; margin: 0; }
@media (max-width: 781px) {
	.bm-steps > .wp-block-column, .bm-steps > .wp-block-column + .wp-block-column { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--bm-border); }
}

/* Franja CTA */
.bm-cta {
	position: relative; overflow: hidden; padding: clamp(60px, 7vw, 90px) 0 !important; margin: 0 !important;
	background: linear-gradient(115deg, #b30a17 0%, var(--bm-red) 45%, #7d0610 100%);
}
.bm-cta::before {
	content: ""; position: absolute; inset: 0; opacity: .14;
	background: repeating-linear-gradient(115deg, #000 0 2px, transparent 2px 22px);
}
.bm-cta > * { position: relative; }
.bm-cta h2 { color: #fff; margin: 0 0 10px; font-size: clamp(32px, 4.4vw, 54px); }
.bm-cta p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 17px; }
.bm-cta .wp-block-columns { align-items: center !important; margin: 0 !important; }
.bm-cta .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 781px) { .bm-cta .wp-block-buttons { justify-content: flex-start; } }
.bm-cta .wp-block-button:not(.is-style-whatsapp) .wp-block-button__link { background: #0b0b0c !important; border-color: #0b0b0c !important; }
.bm-cta .wp-block-button.is-style-linea .wp-block-button__link { background: transparent !important; border-color: rgba(255, 255, 255, .6) !important; }

/* Contacto */
.bm-contact { gap: 40px !important; align-items: stretch !important; }
.bm-contact .gdw-mapa { height: 100% !important; min-height: 420px; border: 1px solid var(--bm-border); }
.bm-contact > .wp-block-column > .wp-block-gdw-mapa { height: 100%; }
.bm-form-card { padding: 36px 34px !important; background: var(--bm-surface); border: 1px solid var(--bm-border); border-radius: 4px; }
.bm-form-card h3 { font-size: 28px; margin: 0 0 6px; }
.bm-form-card h3 + p { color: var(--bm-muted); margin: 0 0 24px; font-weight: 400; }
.bm-info-row { margin-bottom: 40px !important; }
.bm-info-row .gdw-info { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; }
.bm-info-row .gdw-info .gdw-redes { grid-column: 1 / -1; }
.bm-contact-hero { padding: 80px 0 50px !important; margin: 0 !important; background: radial-gradient(900px 340px at 85% 0%, rgba(225, 15, 31, .2), transparent 60%); border-bottom: 1px solid var(--bm-border); }
.bm-contact-hero h1 { font-size: clamp(46px, 7vw, 92px); font-weight: 800; letter-spacing: -.03em; line-height: .95; margin: 0 0 16px; }
.bm-contact-hero p.bm-lead { color: var(--bm-silver); font-size: 18px; max-width: 560px; margin: 0; }

/* Contact Form 7 */
.wpcf7 form { display: grid; gap: 16px; }
.wpcf7 .bm-cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .wpcf7 .bm-cf7-row { grid-template-columns: 1fr; } }
.wpcf7 label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bm-muted); }
.wpcf7 p { margin: 0; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: 8px; padding: 14px 16px; background: var(--bm-bg) !important; color: var(--bm-text) !important;
	border: 1px solid var(--bm-border) !important; border-radius: 2px; font: 400 15px/1.4 var(--bm-body); letter-spacing: 0; text-transform: none;
	transition: border-color .2s, box-shadow .2s;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: none; border-color: var(--bm-red) !important; box-shadow: 0 0 0 3px rgba(225, 15, 31, .18); }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #5f6068; }
.wpcf7 input[type=submit], .wpcf7-submit {
	width: 100%; padding: 18px 24px; border: 0; border-radius: 2px; background: var(--bm-red); color: #fff; cursor: pointer;
	font: 700 13px/1 var(--bm-body); letter-spacing: .18em; text-transform: uppercase; transition: background .2s, box-shadow .2s;
}
.wpcf7 input[type=submit]:hover { background: var(--bm-red-2); box-shadow: 0 12px 26px -8px rgba(225, 15, 31, .55); }
.wpcf7 .wpcf7-spinner { position: absolute; }
.wpcf7-not-valid-tip { font-size: 12px; color: var(--bm-red-2); margin-top: 6px; letter-spacing: 0; text-transform: none; }
.wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 12px 14px; border-radius: 2px; font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--bm-wa); color: var(--bm-wa); }
.bm-cf7-legal { font-size: 12px !important; color: var(--bm-muted); letter-spacing: 0 !important; text-transform: none !important; }

/* GDW en el tema oscuro */
.gdw-info__item { border-bottom-color: var(--bm-border); }
.gdw-info__item small { color: var(--bm-muted); opacity: 1; }
.gdw-redes .gdw-red { color: var(--bm-silver); border-color: var(--bm-border); }

/* ---------- Pie ---------- */
.site-footer { background: transparent; }
.bm-footer { background: #070708; border-top: 1px solid var(--bm-border); color: var(--bm-muted); font-size: 15px; }
.bm-footer a { color: var(--bm-silver); text-decoration: none; }
.bm-footer a:hover { color: #fff; }
.bm-footer__cta { border-bottom: 1px solid var(--bm-border); }
.bm-footer__cta .bm-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.bm-footer__cta-title { margin: 0; font-family: var(--bm-display); font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--bm-text); line-height: 1.1; }
.bm-footer__cta-title span { color: var(--bm-muted); }
.bm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 50px; }
@media (max-width: 960px) { .bm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bm-footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.bm-footer__logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.bm-footer__logo img { width: 72px; height: 72px; }
.bm-footer__logo span { font-family: var(--bm-display); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; color: var(--bm-text); line-height: 1.05; max-width: 160px; }
.bm-footer__brand p { margin: 0 0 20px; max-width: 300px; }
.bm-footer__title { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--bm-text); }
.bm-footer__menu, .bm-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bm-footer__list a { display: inline-flex; align-items: flex-start; gap: 10px; }
.bm-footer__list .gdw-icon { color: var(--bm-red); margin-top: 3px; }
.bm-footer__hours { margin: 0; line-height: 1.7; }
.bm-footer__bottom { border-top: 1px solid var(--bm-border); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.bm-footer__bottom .bm-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
@media (max-width: 600px) { .bm-footer__bottom .bm-wrap { padding-bottom: 90px; } }

/* ---------- Animaciones al hacer scroll ---------- */
.bm-js .bm-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.bm-js .bm-reveal.is-visible { opacity: 1; transform: none; }
.bm-js .bm-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.bm-js .bm-stagger.is-visible > * { opacity: 1; transform: none; }
.bm-js .bm-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.bm-js .bm-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
.bm-js .bm-stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
.bm-js .bm-stagger.is-visible > *:nth-child(5) { transition-delay: .4s; }
.bm-js .bm-stagger.is-visible > *:nth-child(6) { transition-delay: .5s; }
.bm-hero .wp-block-cover__inner-container > * > * > * { animation: bm-up 1s cubic-bezier(.2, .7, .2, 1) both; }
.bm-hero .wp-block-column:first-child > *:nth-child(2) { animation-delay: .08s; }
.bm-hero .wp-block-column:first-child > *:nth-child(3) { animation-delay: .16s; }
.bm-hero .wp-block-column:first-child > *:nth-child(4) { animation-delay: .24s; }
.bm-hero .wp-block-column:last-child > * { animation-delay: .35s; }
@keyframes bm-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.bm-js .bm-reveal, .bm-js .bm-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Varios GP ---------- */
.generate-back-to-top { display: none !important; }
.page-header, .entry-meta { color: var(--bm-muted); }
.wp-block-separator { border-color: var(--bm-border); }

/* Buscador en portada */
.bm-search-home { margin-top: 56px; }

/* GeneratePress agrega padding a los grupos: lo controlamos desde las clases bm-* */
.site-main .wp-block-group__inner-container { padding: 0 !important; max-width: none !important; }
.bm-hero .wp-block-cover__inner-container { margin: 0 auto !important; }

/* Hero: créditos del pie (plugin Header & Footer) en tono oscuro */
body > div > center, body > div > center small { color: var(--bm-muted); font-size: 12px; }
body > div > center a { color: var(--bm-silver); }
body > div > center img { max-height: 40px; width: auto; margin-top: 8px; opacity: .8; }

/* Franja de confianza en móvil */
@media (max-width: 781px) {
	.bm-strip p strong { font-size: 15px; }
	.bm-strip p strong::before { display: none; }
	.bm-strip p { font-size: 13px; }
}
/* Menú móvil desplegable */
@media (max-width: 960px) {
	.main-navigation.toggled .main-nav > ul { border-top: 1px solid var(--bm-border); }
	.main-navigation .main-nav ul li.current-menu-item > a { color: var(--bm-red) !important; }
}
