@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-variable.ttf') format('truetype');
}
@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/sora-variable.ttf') format('truetype');
}
:root {
  --bm-font-display: Sora, Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bm-font-body: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bm-type-hero: clamp(4rem, 5.3vw, 4.75rem);
  --bm-type-section: clamp(2rem, 3.75vw, 3.375rem);
  --bm-type-subheading: clamp(1.5rem, 2.1vw, 1.875rem);
  --bm-type-body: clamp(1rem, .875rem + .3vw, 1.1875rem);
  --bm-type-eyebrow: .8125rem;
  --bm-leading-display: 1.06;
  --bm-leading-section: 1.12;
  --bm-leading-body: 1.65;
  --bm-weight-display: 600;
  --bm-tracking-display: -.03em;
  --bm-blue: #2aaae1;
  --bm-link: #00668a;
  --bm-green: #93bc3e;
  --bm-dark: #14212c;
  --bm-text: #1a2830;
  --bm-muted: #5e676e;
  --bm-inverse-muted: #b8c5ce;
  --bm-surface: #f5f7f8;
  --bm-line: #dde3e7;
  --bm-width: 1280px;
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--bm-font-body); font-size: var(--bm-type-body); line-height: var(--bm-leading-body); color: var(--bm-text); background: #fff; }
*, *::before, *::after { box-sizing: border-box; }
.biomotic-home { margin: 0 !important; padding: 0; }
.biomotic-home > * { margin-block: 0 !important; }
.bm-container { width: min(var(--bm-width), calc(100% - 96px)); margin-inline: auto; }
.bm-container h1, .bm-container h2, .bm-container h3, .bm-container p { margin: 0; }
.bm-container h1, .bm-container h2, .bm-container h3 { color: inherit; font-family: var(--bm-font-display); font-weight: var(--bm-weight-display); text-wrap: balance; }
.bm-container h1 { font-size: var(--bm-type-hero); line-height: var(--bm-leading-display); letter-spacing: var(--bm-tracking-display); }
.bm-container h2 { font-size: var(--bm-type-section); line-height: var(--bm-leading-section); letter-spacing: var(--bm-tracking-display); }
.bm-container h3 { font-size: var(--bm-type-subheading); line-height: 1.25; letter-spacing: -.02em; }
.bm-container a { text-decoration: none; }
.bm-icon { width: 24px; height: 24px; flex: 0 0 24px; }
.bm-link-color { color: var(--bm-link); }
.bm-section { padding-block: 88px; }
.bm-section-dark { background: var(--bm-dark); color: #fff; }
.bm-section-label { color: var(--bm-link); font-size: var(--bm-type-eyebrow); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px !important; }
.bm-section-intro { color: var(--bm-muted); font-size: var(--bm-type-body); line-height: var(--bm-leading-body); max-width: 65ch; margin-top: 20px !important; }
.bm-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 3px; background: var(--bm-blue); color: var(--bm-dark); font-size: .875rem; font-weight: 700; line-height: 1.5; transition: background-color 180ms ease, border-color 180ms ease; }
.bm-button:hover { background: #66c1e9; color: var(--bm-dark); }
.bm-button .bm-icon { width: 18px; height: 18px; flex-basis: 18px; }
.bm-button--secondary { background: transparent; color: #fff; border-color: #82949f; }
.bm-button--secondary:hover { background: #263b49; color: #fff; border-color: #fff; }
.bm-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: flex-start; }
:where(a, button, input, textarea, select):focus-visible { outline: 2px solid var(--bm-link); outline-offset: 4px; }
.bm-section-dark :where(a, button):focus-visible, .biomotic-header :where(a, button):focus-visible, .biomotic-footer :where(a, button):focus-visible { outline-color: var(--bm-blue); }
.bm-skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 16px; background: #fff; color: var(--bm-text); transform: translateY(-150%); }
.bm-skip:focus { transform: translateY(0); }
.biomotic-header { position: sticky; top: 0; z-index: 20; background: var(--bm-dark); color: #fff; margin: 0 !important; }
.admin-bar .biomotic-header { top: 32px; }
.bm-header-inner { display: flex; align-items: center; gap: 36px; min-height: 96px; }
.bm-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.bm-logo { display: block; width: 178px; height: auto; }
.bm-navigation { margin-left: auto; }
.bm-navigation ul { display: flex; gap: 36px; list-style: none; padding: 0; margin: 0; }
.bm-navigation a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-family: var(--bm-font-display); font-size: 1rem; font-weight: 500; border-bottom: 1px solid transparent; }
.bm-navigation a:hover { color: #70c8ed; border-color: var(--bm-blue); }
.bm-header-action { padding-inline: 20px; min-height: 44px; }
.bm-menu-toggle { display: none; color: #fff; background: transparent; border: 0; gap: 8px; align-items: center; min-height: 44px; min-width: 44px; cursor: pointer; font: inherit; font-size: .8125rem; }
.bm-hero { padding-block: 58px 70px; }
.bm-hero-grid { display: grid; grid-template-columns: 41% minmax(0, 59%); gap: 0; align-items: center; }
.bm-hero-copy { padding-right: 24px; position: relative; z-index: 1; }
.bm-eyebrow { font-size: .8125rem; color: #d6e4ed; line-height: 1.6; margin-bottom: 24px !important; }
.bm-hero-description { margin-top: 24px !important; color: #d6e4ed; font-size: var(--bm-type-body); line-height: var(--bm-leading-body); max-width: 38ch; }
.bm-hero .bm-actions { flex-direction: column; align-items: stretch; width: fit-content; }
.bm-system { position: relative; margin: 0; padding-top: 22px; min-width: 0; }
.bm-system-image { padding: 67px 18px 58px; }
.bm-system-image img { display: block; width: 100%; height: auto; }
.bm-connections { position: absolute; left: 0; top: 22px; width: 100%; height: calc(100% - 54px); stroke: var(--bm-blue); stroke-width: 1.5; fill: none; pointer-events: none; }
.bm-connections circle { fill: var(--bm-blue); stroke: var(--bm-dark); stroke-width: 2px; }
.bm-system-labels { list-style: none; padding: 0; margin: 0; }
.bm-system-label { display: flex; align-items: flex-start; gap: 10px; position: absolute; width: 180px; font-size: .8125rem; line-height: 1.5; }
.bm-system-label .bm-icon { color: var(--bm-blue); width: 28px; height: 28px; flex-basis: 28px; }
.bm-system-label strong { display: block; font-size: .875rem; margin-bottom: 4px; }
.bm-system-label span { display: block; color: var(--bm-inverse-muted); max-width: 21ch; }
.bm-system-label--0 { top: 20px; left: 0; }
.bm-system-label--1 { top: 20px; right: 0; }
.bm-system-label--2 { bottom: 40px; left: 0; }
.bm-system-label--3 { bottom: 40px; right: 0; }
.bm-system-label--3 .bm-icon { color: var(--bm-green); }
.bm-system figcaption { text-align: center; color: var(--bm-inverse-muted); font-size: .75rem; line-height: 1.6; margin-top: 14px; }
.bm-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; margin-top: 42px; }
.bm-service { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; padding: 25px 0 28px; border-bottom: 1px solid var(--bm-line); }
.bm-service:last-child, .bm-service:nth-last-child(2):nth-child(odd) { border: 0; }
.bm-service-icon { display: block; width: 56px; height: 56px; }
.bm-service p { margin-top: 9px; color: var(--bm-muted); line-height: 1.7; font-size: .9375rem; max-width: 46ch; }
.bm-space { background: var(--bm-surface); }
.bm-space-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; margin-top: 36px; align-items: center; }
.bm-scene-list { list-style: none; margin: 0; padding: 0; }
.bm-scene-list li { padding: 18px 20px; border-bottom: 1px solid var(--bm-line); line-height: 1.5; }
.bm-scene-list strong, .bm-scene-list span { display: block; }
.bm-scene-list strong { font-size: .875rem; }
.bm-scene-list span { color: var(--bm-muted); font-size: .8125rem; margin-top: 4px; }
.bm-scene-list .is-highlighted { background: var(--bm-blue); color: var(--bm-dark); border-color: transparent; }
.bm-scene-list .is-highlighted span { color: var(--bm-dark); }
.bm-space-stage { display: grid; grid-template-columns: minmax(0, 1fr) 230px; background: var(--bm-dark); border-radius: 3px; overflow: hidden; color: #fff; }
.bm-space-figure { margin: 0; min-width: 0; }
.bm-space-figure img { display: block; width: 100%; height: 280px; object-fit: cover; }
.bm-space-figure figcaption { font-size: .75rem; color: var(--bm-inverse-muted); text-align: center; padding: 16px; line-height: 1.5; }
.bm-space-states { list-style: none; padding: 32px 24px; margin: 0; display: grid; gap: 28px; }
.bm-space-states li { display: flex; gap: 12px; align-items: flex-start; }
.bm-space-states .bm-icon { color: var(--bm-green); }
.bm-space-states strong, .bm-space-states span { display: block; }
.bm-space-states strong { font-size: .875rem; margin-bottom: 6px; }
.bm-space-states span { color: var(--bm-inverse-muted); font-size: .8125rem; line-height: 1.6; }
.bm-applications { padding-bottom: 40px; }
.bm-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.bm-heading-row h2 { font-size: var(--bm-type-section); }
.bm-heading-row p { font-size: .75rem; color: var(--bm-muted); flex-shrink: 0; }
.bm-applications-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.bm-application { display: grid; grid-template-columns: 45% minmax(0, 1fr); align-items: center; background: var(--bm-surface); }
.bm-application img { display: block; width: 100%; height: 200px; object-fit: cover; }
.bm-application > div { padding: 24px; }
.bm-application h3 { font-size: 1rem; }
.bm-application p { margin-top: 10px; color: var(--bm-muted); font-size: .875rem; line-height: 1.6; }
.bm-sectors { padding-block: 30px; margin-top: 38px; border-bottom: 1px solid var(--bm-line); }
.bm-sectors h3 { font-size: 1rem; }
.bm-sectors ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 0; padding: 0; margin: 16px 0 0; font-size: .875rem; color: var(--bm-muted); }
.bm-sectors li + li::before { content: '/'; padding-inline: 20px; color: var(--bm-link); }
.bm-about-contact { padding-top: 32px; }
.bm-close-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: start; }
.bm-close-grid > div { scroll-margin-top: 120px; }
.bm-close-grid h2 { font-size: var(--bm-type-section); max-width: 24ch; }
.bm-contact { background: var(--bm-surface); padding: 32px; }
.bm-contact > p { font-size: .9375rem; line-height: 1.7; color: var(--bm-muted); margin-top: 12px; }
.bm-contact-email { display: flex; align-items: center; gap: 16px; font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--bm-link); padding-block: 12px; margin-top: 16px; overflow-wrap: anywhere; }
.bm-contact-email:hover { text-decoration: underline; }
.bm-contact-phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--bm-text); font-size: .9375rem; }
.bm-contact .bm-contact-location { margin-top: 0; font-size: .8125rem; }
.bm-contact .bm-button { margin-top: 20px; }
.biomotic-footer { background: var(--bm-dark); color: #fff; padding-block: 36px; margin: 0 !important; }
.bm-footer-inner { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 24px 36px; align-items: center; }
.bm-footer-inner .bm-logo { width: 150px; }
.bm-footer-inner p { font-size: .8125rem; color: var(--bm-inverse-muted); max-width: 36ch; line-height: 1.7; }
.bm-footer-inner > a:not(.bm-brand) { display: inline-flex; gap: 8px; align-items: center; color: #fff; min-height: 44px; font-size: .8125rem; }
.bm-footer-inner small { grid-column: 1 / -1; font-size: .75rem; color: var(--bm-inverse-muted); }
/* Interior templates retain WordPress content and its native block styles. */
.wp-site-blocks > main:not(.biomotic-home) { min-height: 50vh; padding-block: 64px; }
@media (min-width: 1450px) {
  .bm-hero { padding-block: 80px 96px; }
}
@media (max-width: 1100px) {
  .bm-container { width: calc(100% - 64px); }
  .bm-header-inner { gap: 24px; }
  .bm-navigation ul { gap: 24px; }
  .bm-logo { width: 150px; }
  .bm-system-label { width: 150px; font-size: .75rem; }
  .bm-system-label strong { font-size: .8125rem; }
  .bm-system-image { padding-block: 80px 75px; }
  .bm-space-grid { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; }
  .bm-space-stage { grid-template-columns: minmax(0, 1fr) 180px; }
  .bm-space-states { padding: 24px 16px; }
  .bm-application { grid-template-columns: 40% minmax(0, 1fr); }
  .bm-application > div { padding: 18px; }
}
@media (max-width: 959px) {
  .bm-header-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 18px; min-height: 80px; gap: 16px; }
  .bm-header-action { display: none; }
  .bm-navigation { width: 100%; margin: 0; }
  .bm-navigation ul { justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
  .is-enhanced .bm-menu-toggle { display: inline-flex; }
  .is-enhanced .bm-navigation { display: none; }
  .is-enhanced.is-menu-open .bm-navigation { display: block; }
  .bm-hero-grid { grid-template-columns: 1fr; }
  .bm-hero-copy { max-width: 680px; padding-right: 0; }
  .bm-container h1 { font-size: var(--bm-type-hero); }
  .bm-hero .bm-actions { width: auto; flex-direction: row; }
  .bm-hero-description { max-width: 52ch; }
  .bm-system { max-width: 660px; width: 100%; margin: 44px auto 0; }
  .bm-system-label { width: 180px; }
  .bm-system-image { padding-block: 64px 58px; }
  .bm-system-label strong { font-size: .875rem; }
  .bm-space-grid { grid-template-columns: 180px minmax(0, 1fr); }
  .bm-space-stage { grid-template-columns: 1fr; }
  .bm-space-states { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bm-close-grid { gap: 36px; }
  .bm-applications-grid { gap: 24px; }
  .bm-application { display: block; }
  .bm-application img { height: 170px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 86px; }
  .bm-container { width: calc(100% - 40px); }
  .bm-section { padding-block: 56px; }
  .bm-header-inner { min-height: 76px; padding-block: 16px; }
  .bm-logo { width: 145px; }
  .bm-menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .bm-navigation ul { display: block; padding-top: 10px; }
  .bm-navigation li + li { border-top: 1px solid #344b5a; }
  .bm-navigation a { display: flex; padding-block: 14px; min-height: 52px; font-size: 1.125rem; }
  .bm-hero { padding-block: 26px 44px; }
  .bm-container h1 { font-size: var(--bm-type-hero); line-height: var(--bm-leading-display); }
  .bm-container h2 { font-size: var(--bm-type-section); }
  .bm-eyebrow { font-size: .75rem; max-width: 32ch; margin-bottom: 18px !important; }
  .bm-hero-description { font-size: 1rem; margin-top: 20px !important; }
  .bm-hero .bm-actions { display: grid; gap: 12px; margin-top: 24px; }
  .bm-button { min-height: 48px; }
  .bm-system { margin-top: 28px; padding-top: 0; display: flex; flex-direction: column; }
  .bm-system-image { padding: 0; }
  .bm-connections { display: none; }
  .bm-system-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; margin-top: 18px; }
  .bm-system-label { position: static; width: auto; gap: 8px; }
  .bm-system-label .bm-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .bm-system-label strong { font-size: .8125rem; }
  .bm-system-label span { font-size: .75rem; max-width: none; }
  .bm-system figcaption { font-size: .6875rem; margin-top: 24px; }
  .bm-section-label { font-size: var(--bm-type-eyebrow); margin-bottom: 12px !important; }
  .bm-section-intro { font-size: var(--bm-type-body); margin-top: 16px !important; }
  .bm-services-grid { grid-template-columns: 1fr; gap: 0; margin-top: 22px; }
  .bm-service { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 24px 0; }
  .bm-service-icon { width: 48px; height: 48px; }
  .bm-service:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--bm-line); }
  .bm-service:last-child { border: 0; padding-bottom: 0; }
  .bm-service h3 { font-size: var(--bm-type-subheading); }
  .bm-service p { font-size: var(--bm-type-body); }
  .bm-space-grid { display: flex; flex-direction: column; align-items: stretch; margin-top: 26px; gap: 24px; }
  .bm-scene-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .bm-scene-list li { padding: 14px; }
  .bm-scene-list span { font-size: .75rem; }
  .bm-space-figure img { height: 220px; }
  .bm-space-states { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .bm-heading-row { display: block; }
  .bm-heading-row p { margin-top: 12px; }
  .bm-applications-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .bm-application { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .bm-application img { height: 100%; min-height: 180px; }
  .bm-application > div { padding: 20px 16px; }
  .bm-application p { font-size: .8125rem; }
  .bm-sectors { margin-top: 24px; padding-bottom: 0; border: 0; }
  .bm-sectors ul { display: block; }
  .bm-sectors li { padding-block: 12px; border-bottom: 1px solid var(--bm-line); }
  .bm-sectors li + li::before { content: none; }
  .bm-about-contact { padding-top: 0; }
  .bm-close-grid { grid-template-columns: 1fr; gap: 36px; }
  .bm-contact { padding: 26px 22px; }
  .bm-contact-email { font-size: 1rem; }
  .bm-footer-inner { grid-template-columns: 1fr auto; gap: 20px; }
  .bm-footer-inner p { grid-column: 1 / -1; grid-row: 2; }
  .bm-footer-inner > a:not(.bm-brand) { font-size: .75rem; }
  .bm-footer-inner .bm-logo { width: 135px; }
  .admin-bar .biomotic-header { top: 46px; }
}
@media (max-width: 782px) { .admin-bar .biomotic-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .biomotic-header { top: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
/* Editor preview shares the visual language and contains no active site navigation. */
.editor-styles-wrapper .bm-container { width: calc(100% - 48px); }
.editor-styles-wrapper .bm-header-inner { flex-wrap: wrap; }
.editor-styles-wrapper .bm-header-inner, .editor-styles-wrapper .bm-footer-inner { background: var(--bm-dark); color: #fff; padding: 24px; }

/* Páginas internas: misma dirección E, contenido y controles abiertos. */
.bm-interior { padding-block: 48px 80px; min-height: 60vh; }
.bm-page-heading { margin-block: 0 32px; }
.bm-page-heading h1 { font-size: var(--bm-type-hero); line-height: var(--bm-leading-display); margin-block: 0 20px; max-width: 850px; }
.bm-page-heading > p { max-width: 700px; font-size: 1.15rem; color: var(--bm-muted); }
.bm-page-content > * { margin-block: 24px; }
.bm-page-content > h2 { margin-top: 48px; }
.bm-page-content > .bm-section { max-width: none; width: 100%; }
.bm-page-content .bm-section:first-child { padding-top: 0; }
.bm-page-content .bm-container { max-width: var(--bm-width); }
.bm-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 32px; }
.bm-section-heading h2 { margin: 0; }
.bm-text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--bm-link); font-weight: 650; }
.bm-text-link svg { width: 18px; height: 18px; }
.bm-filters { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 36px; }
.bm-filters a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; color: var(--bm-muted); }
.bm-filters a[aria-current] { color: var(--bm-link); border-color: var(--bm-blue); }
.bm-project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 32px; }
.bm-project-card a { color: inherit; text-decoration: none; display: block; }
.bm-project-cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 20px; }
.bm-project-card h2 { font-size: 1.6rem; margin-block: 8px; }
.bm-project-card p { color: var(--bm-muted); }
.bm-project-card .bm-text-link { color: var(--bm-link); }
.bm-empty { max-width: 650px; padding-block: 20px 40px; }
.bm-empty .bm-button { margin-top: 24px; }
.bm-case-cover { width: 100%; max-height: 700px; object-fit: cover; }
.bm-case-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-block: 32px; border-bottom: 1px solid var(--bm-line); }
.bm-case-facts dt { color: var(--bm-muted); font-size: .9rem; }
.bm-case-facts dd { margin: 8px 0 0; }
.bm-case-copy { max-width: 850px; padding-block: 20px; }
.bm-case-copy > div > * { max-width: 100%; }
.bm-case-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.bm-case-gallery img { width: 100%; height: auto; }
.bm-case-close { margin-top: 40px; }
.bm-service-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.bm-service-details article { border-top: 2px solid var(--bm-blue); padding-top: 24px; }
.bm-service-details img { max-width: 100%; height: auto; }
.bm-logo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; margin-top: 32px; }
.bm-logo-grid img { width: auto; max-width: 100%; height: 72px; object-fit: contain; filter: grayscale(1); }
.bm-logo-grid article:hover img { filter: grayscale(0); }
.bm-logo-grid h3 { margin-block: 16px 8px; font-size: 1.05rem; }
.bm-logo-grid p { font-size: .9rem; color: var(--bm-muted); }
.bm-quotes { max-width: 850px; }
.bm-quotes figure { margin: 32px 0 0; padding-bottom: 32px; border-bottom: 1px solid var(--bm-line); }
.bm-quotes blockquote { margin: 0; font-size: 1.5rem; line-height: 1.5; }
.bm-quotes figcaption { color: var(--bm-muted); }
.bm-contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
.bm-contact-intro h2 { max-width: 470px; font-size: var(--bm-type-section); }
.bm-contact-intro > p { max-width: 440px; color: var(--bm-muted); }
.bm-contact-channels { font-style: normal; margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.bm-contact-channels a { color: var(--bm-link); overflow-wrap: anywhere; min-height: 32px; }
.bm-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.bm-form-field { display: flex; flex-direction: column; gap: 8px; }
.bm-form-wide { grid-column: 1 / -1; }
.bm-form-field label { font-size: .95rem; font-weight: 650; }
.bm-form-field input, .bm-form-field textarea, .bm-form-field select { font: inherit; width: 100%; box-sizing: border-box; border: 1px solid #949FA6; border-radius: 3px; padding: 12px; color: var(--bm-text); background: #fff; min-height: 48px; }
.bm-form-field textarea { resize: vertical; }
.bm-form-field [aria-invalid] { border-color: #A52B2B; }
.bm-field-error { color: #A52B2B; font-size: .85rem; }
.bm-field-error:empty { display: none; }
.bm-form-privacy { color: var(--bm-muted); font-size: .85rem; margin-block: 24px; }
.bm-form-notice { padding: 16px; border-left: 3px solid var(--bm-blue); background: var(--bm-surface); margin: 0 0 24px; }
.bm-form-notice[hidden] { display: none; }
.bm-contact-form .bm-button:disabled { opacity: .65; cursor: wait; }
.bm-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 959px) {
  .bm-contact-layout { gap: 40px; grid-template-columns: 1fr; }
  .bm-logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .bm-interior { padding-block: 32px 48px; }
  .bm-project-grid, .bm-service-details, .bm-case-gallery, .bm-case-facts, .bm-form-grid { grid-template-columns: 1fr; }
  .bm-section-heading { flex-direction: column; gap: 16px; }
  .bm-form-wide { grid-column: auto; }
  .bm-filters { gap: 8px 16px; }
  .bm-contact-section .bm-container { padding-inline: 0; }
  .bm-contact-channels a { min-height: 44px; }
}
.bm-contact-intro h2 { margin-bottom: 20px; }
.bm-contact-form .bm-form-privacy { margin-block: 24px; }
.bm-form-field { min-width: 0; }
@media (max-width: 600px) {
  .bm-form-grid { grid-template-columns: minmax(0,1fr); }
}

/* Marcas en Nosotros: lista editorial, dos por especialidad. */
.bm-brand-catalog { background: var(--bm-surface); margin-top: 64px; }
.bm-brand-intro { max-width: 700px; margin-bottom: 40px; }
.bm-brand-intro h2 { font-size: var(--bm-type-section); margin-bottom: 20px; }
.bm-brand-intro p { color: var(--bm-muted); line-height: 1.7; }
.bm-brand-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); align-items: center; gap: 40px; padding-block: 28px; border-top: 1px solid var(--bm-line); }
.bm-brand-row h3 { margin: 0; font-size: 1.15rem; line-height: 1.4; font-weight: 650; }
.bm-brand-pair { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 0; margin: 0; }
.bm-brand-link { color: var(--bm-text); text-decoration: none; display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 8px; min-height: 92px; }
.bm-brand-link:hover { color: var(--bm-link); }
.bm-brand-mark { height: 64px; width: 180px; max-width: 100%; display: flex; align-items: center; justify-content: center; }
.bm-brand-logo { width: 180px; max-width: 100%; height: 64px; object-fit: contain; filter: grayscale(1); }
.bm-brand-link:hover .bm-brand-logo { filter: grayscale(0); }
.bm-brand-name { font-size: 1.8rem; font-weight: 650; }
.bm-brand-caption { font-size: .85rem; color: var(--bm-muted); text-align: center; }
@media (max-width: 600px) {
  .bm-brand-row { grid-template-columns: minmax(0,1fr); gap: 20px; padding-block: 24px; }
  .bm-brand-pair { gap: 16px; }
  .bm-brand-mark, .bm-brand-logo { height: 52px; }
  .bm-brand-link { min-height: 80px; padding-inline: 0; }
  .bm-brand-catalog .bm-brand-intro { margin-bottom: 28px; }
}
.bm-brand-logo { filter: grayscale(1) brightness(.6); }
.bm-brand-logo--inverse, .bm-brand-link:hover .bm-brand-logo--inverse { filter: invert(1) grayscale(1); }
.bm-page-content > :not(.bm-section) { max-width: min(760px, calc(100% - 96px)); margin-inline: auto; }
@media (max-width: 600px) {
  .bm-page-content > :not(.bm-section) { max-width: calc(100% - 40px); }
}

/* Nosotros: lectura editorial con video vertical completo. */
.bm-about-columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.bm-about-copy { min-width: 0; }
.bm-about-copy h2 { font-size: var(--bm-type-section); line-height: var(--bm-leading-section); margin: 48px 0 20px; }
.bm-about-copy h2:first-child { margin-top: 0; }
.bm-about-copy h3 { font-size: var(--bm-type-subheading); line-height: 1.25; margin: 32px 0 16px; }
.bm-about-copy p { margin: 0 0 24px; line-height: var(--bm-leading-body); }
.bm-about-copy hr { margin-block: 40px; border: 0; border-top: 1px solid var(--bm-line); }
.bm-about-media { margin: 0; }
.bm-about-media figure { margin: 0; }
.bm-about-media video { display: block; width: 100%; max-height: calc(100svh - 220px); aspect-ratio: 9 / 16; object-fit: contain; background: var(--bm-dark); }
@media (max-width: 959px) {
  .bm-about-columns { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bm-about-media video { max-width: 420px; max-height: none; margin-inline: auto; }
}

.bm-about-video-controls { display: none; } /* Compatibilidad con páginas creadas antes de 0.3.7. */

/* Fase 4.2: roles fluidos, también disponibles en Gutenberg. */
.bm-heading-row { align-items: flex-start; }
.bm-heading-row > h2 { max-width: 24ch; }
.bm-brand-intro { max-width: 850px; }
.bm-service p { font-size: var(--bm-type-body); line-height: var(--bm-leading-body); }
.biomotic-highlight { color: var(--bm-link); }
.biomotic-highlight--accent { color: var(--bm-link); }
.bm-section-dark .biomotic-highlight { color: var(--bm-blue); }
.bm-section-dark .biomotic-highlight--accent { color: var(--bm-green); }
.bm-eyebrow { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bm-hero .bm-eyebrow { max-width: 38ch; font-size: var(--bm-type-eyebrow); }
.bm-page-content :where(h1,h2,h3), .editor-styles-wrapper :where(h1,h2,h3) { font-family: var(--bm-font-display); font-weight: var(--bm-weight-display); letter-spacing: var(--bm-tracking-display); }
.editor-styles-wrapper { font-family: var(--bm-font-body); font-size: var(--bm-type-body); line-height: var(--bm-leading-body); }
.editor-styles-wrapper { --bm-type-hero: clamp(2.375rem, 5.3vw, 4.75rem); }
@media (min-width: 601px) and (max-width: 959px) {
  :root, .editor-styles-wrapper { --bm-type-hero: clamp(3rem, 6.1vw, 3.625rem); }
}
@media (max-width: 600px) {
  :root, .editor-styles-wrapper { --bm-type-hero: clamp(2.375rem, 7.5vw + .875rem, 2.75rem); --bm-type-section: clamp(2rem, 5vw + .75rem, 2.375rem); --bm-type-body: clamp(1rem, .875rem + .5vw, 1.125rem); }
}

/* Contacto: panel charcoal de la identidad Biomotic. */
.bm-contact-intro .bm-eyebrow { color: var(--bm-link); }
.bm-contact-form-column { min-width: 0; align-self: start; background: var(--bm-dark); color: #fff; padding: clamp(24px, 3vw, 40px); border-radius: 12px; }
.bm-contact-form-column .bm-form-privacy { color: var(--bm-inverse-muted); }
.bm-contact-form-column a { color: var(--bm-blue); }
.bm-contact-form-column .bm-form-field :is(input, textarea, select) { background: var(--bm-dark); color: #fff; border-color: var(--bm-inverse-muted); color-scheme: dark; }
.bm-contact-form-column .bm-form-field :is(input, textarea, select):focus-visible { outline: 2px solid var(--bm-blue); outline-offset: 3px; }
.bm-contact-form-column .bm-form-field [aria-invalid="true"] { border-color: #ffb4b4; }
.bm-contact-form-column .bm-field-error { color: #ffb4b4; }
.bm-contact-form-column .bm-form-notice { color: var(--bm-text); border: 0; border-top: 2px solid var(--bm-blue); }

/* Clientes: composición editorial clara y movimiento continuo controlable. */
.bm-clients { background: var(--bm-surface); overflow: hidden; }
.bm-clients-heading { max-width: 940px; margin-inline: auto; text-align: center; }
.bm-clients-heading h2 { max-width: 30ch; margin-inline: auto; }
.bm-clients-demo-note { margin-top: 20px !important; color: var(--bm-muted); font-size: .875rem; }
.bm-clients-marquee { margin-top: 48px; overflow: hidden; }
.bm-clients-track { display: flex; width: max-content; }
.bm-clients-set { display: flex; align-items: center; flex-shrink: 0; gap: 64px; margin: 0; padding: 16px 32px; list-style: none; }
.bm-client-item { width: 112px; height: 72px; flex: 0 0 112px; display: flex; align-items: center; justify-content: center; }
.bm-client-item > :is(a, span) { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.bm-client-logo { max-width: 100%; max-height: 55px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter 180ms ease, opacity 180ms ease; }
.bm-client-item:hover .bm-client-logo, .bm-client-item:focus-within .bm-client-logo { filter: grayscale(0); opacity: 1; }
.bm-client-dummy { font-family: var(--bm-font-display); font-size: 1.125rem; font-weight: 600; color: var(--bm-muted); text-align: center; }
.bm-clients-static .bm-clients-track { width: 100%; }
.bm-clients-static .bm-clients-set { width: min(100%, 900px); margin-inline: auto; justify-content: center; flex-wrap: wrap; gap: 24px 64px; }
.bm-clients-moving .bm-clients-track { animation: bm-clients-loop var(--bm-clients-duration, 50s) linear infinite; animation-play-state: paused; }
.is-logo-running .bm-clients-track { animation-play-state: running; }
.bm-clients-moving:hover .bm-clients-track { animation-play-state: paused; }
.bm-clients-marquee:focus-within { overflow-x: auto; }
.bm-clients-marquee:focus-within .bm-clients-track { animation: none; transform: none; }
.bm-clients-controls { display: flex; justify-content: flex-end; margin-top: 20px; }
.bm-clients-pause { background: transparent; border: 0; color: var(--bm-link); font: inherit; font-size: .875rem; min-height: 44px; padding: 8px 0; cursor: pointer; }
.bm-clients-pause[hidden] { display: none; }
.editor-styles-wrapper .bm-clients-track { animation: none; }
@keyframes bm-clients-loop { to { transform: translateX(-50%); } }
@media (max-width: 959px) {
  .bm-clients-set { gap: 36px; padding-inline: 18px; }
  .bm-client-item { width: 96px; flex-basis: 96px; }
}
@media (max-width: 600px) {
  .bm-clients-marquee { margin-top: 28px; }
  .bm-clients-set { gap: 24px; padding-inline: 12px; }
  .bm-client-item { width: 88px; height: 64px; flex-basis: 88px; }
  .bm-client-logo { max-height: 44px; }
  .bm-clients-static .bm-clients-set { gap: 20px 28px; padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-clients-moving .bm-clients-track { width: 100%; animation: none; transform: none; }
  .bm-clients-moving .bm-clients-set { width: 100%; flex-shrink: 1; flex-wrap: wrap; justify-content: center; }
  .bm-clients-copy, .bm-clients-controls { display: none; }
}

/* Sin JavaScript todos los originales permanecen visibles. */
.bm-clients:not(.is-logo-enhanced) .bm-clients-moving .bm-clients-track { width: 100%; animation: none; }
.bm-clients:not(.is-logo-enhanced) .bm-clients-moving .bm-clients-set { width: 100%; flex-shrink: 1; flex-wrap: wrap; justify-content: center; }
.bm-clients:not(.is-logo-enhanced) .bm-clients-copy { display: none; }

/* Marcas: mismo ritmo continuo, sobre el charcoal corporativo. */
.bm-brands { overflow: hidden; }
.biomotic-about-page .bm-page-content > :is(.bm-clients, .bm-brands) { margin-block: 0; }
.biomotic-about-page .bm-interior:has(.bm-page-content > .bm-brands:last-child) { padding-bottom: 0; }
.biomotic-about-page .bm-interior:has(.bm-page-content > .bm-brands:last-child) + .biomotic-footer { border-top: 1px solid #b8c5ce33; }
.bm-brands-heading { text-align: center; }
.bm-brands-heading h2 { max-width: 26ch; margin-inline: auto; }
.bm-brands-heading .bm-section-label { color: var(--bm-blue); }
.bm-brands-heading .bm-section-intro { color: var(--bm-inverse-muted); max-width: 66ch; margin-inline: auto; }
.bm-brands-tracks { margin-top: 48px; }
.bm-brands-marquee { overflow: hidden; }
.bm-brands-marquee + .bm-brands-marquee { margin-top: 32px; }
.bm-brands-track { display: flex; width: max-content; }
.bm-brands-set { display: flex; align-items: center; flex-shrink: 0; gap: 80px; list-style: none; margin: 0; padding: 16px 40px; }
.bm-brand-slider-item { display: flex; align-items: center; justify-content: center; width: 140px; height: 72px; flex: 0 0 140px; }
.bm-brand-slider-item > :is(a, span) { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.bm-brand-slider-logo { width: auto; height: auto; max-width: 100%; max-height: 55px; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; transition: opacity 180ms ease; }
.bm-brand-slider-logo--light { filter: none; }
.bm-brand-slider-logo--emblem { filter: grayscale(1) brightness(1.7); }
.bm-brand-slider-item:hover .bm-brand-slider-logo, .bm-brand-slider-item:focus-within .bm-brand-slider-logo { opacity: 1; }
.bm-brand-slider-item:hover .bm-brand-slider-logo--emblem, .bm-brand-slider-item:focus-within .bm-brand-slider-logo--emblem { filter: none; }
.bm-brands-moving .bm-brands-track { animation: bm-brands-loop var(--bm-brands-duration, 60s) linear infinite; animation-play-state: paused; }
.bm-brands-moving .bm-brands-track--reverse { animation-direction: reverse; }
.is-logo-running .bm-brands-track { animation-play-state: running; }
.bm-brands-tracks:hover .bm-brands-track { animation-play-state: paused; }
.bm-brands-marquee:focus-within { overflow-x: auto; }
.bm-brands-marquee:focus-within .bm-brands-track { animation: none; transform: none; }
.bm-brands-controls { display: flex; justify-content: flex-end; margin-top: 20px; }
.bm-brands-pause { border: 0; background: transparent; color: var(--bm-blue); font: inherit; font-size: .875rem; min-height: 44px; padding: 8px 0; cursor: pointer; }
.bm-brands-pause[hidden] { display: none; }
.bm-brands-static .bm-brands-track,
.bm-brands:not(.is-logo-enhanced) .bm-brands-track,
.editor-styles-wrapper .bm-brands-track { width: 100%; animation: none; }
.bm-brands-static .bm-brands-set,
.bm-brands:not(.is-logo-enhanced) .bm-brands-set,
.editor-styles-wrapper .bm-brands-set { width: 100%; flex-shrink: 1; flex-wrap: wrap; justify-content: center; gap: 24px 64px; }
.bm-brands:not(.is-logo-enhanced) .bm-brands-copy,
.editor-styles-wrapper .bm-brands-copy { display: none; }
@keyframes bm-brands-loop { to { transform: translateX(-50%); } }
@media (max-width: 959px) {
  .bm-brands-set { gap: 56px; padding-inline: 28px; }
  .bm-brand-slider-item { width: 120px; flex-basis: 120px; }
}
@media (max-width: 600px) {
  .bm-brands-tracks { margin-top: 28px; }
  .bm-brands-marquee + .bm-brands-marquee { margin-top: 16px; }
  .bm-brands-set { gap: 28px; padding-inline: 14px; }
  .bm-brand-slider-item { width: 104px; height: 64px; flex-basis: 104px; }
  .bm-brand-slider-logo { max-height: 44px; }
  .bm-brands-static .bm-brands-set, .bm-brands:not(.is-logo-enhanced) .bm-brands-set { gap: 20px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-brands-moving .bm-brands-track { width: 100%; animation: none; transform: none; }
  .bm-brands-moving .bm-brands-set { width: 100%; flex-shrink: 1; flex-wrap: wrap; justify-content: center; gap: 24px 40px; }
  .bm-brands-copy, .bm-brands-controls { display: none; }
}

/* Nosotros: cuatro secciones con texto centrado y proceso en cinco pasos. */
.biomotic-about-page .bm-page-heading { text-align: left; }
.bm-about-row { text-align: center; }
.bm-about-story { text-align: left; }
.bm-about-story .bm-about-copy h2 { margin-inline: 0; }
.bm-page-content > .bm-about-row { margin-block: 0; }
.bm-about-row h2 { max-width: 30ch; margin: 0 auto 28px; }
.bm-about-row h3 { margin: 0 0 16px; }
.bm-about-row p { margin: 0 0 20px; }
.bm-about-row p:last-child { margin-bottom: 0; }
.bm-about-row .bm-about-columns { align-items: center; }
.bm-about-row .bm-about-copy h2 { margin-top: 0; }
.bm-about-team { background: var(--bm-surface); }
.bm-about-reading { max-width: 760px; margin-inline: auto; }
.bm-about-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.bm-about-step { grid-column: span 2; padding: 32px 28px; border: 1px solid var(--bm-line); border-radius: 12px; background: var(--bm-surface); }
.bm-about-steps > .bm-about-step { margin: 0; }
.bm-about-step:nth-child(4) { grid-column: 2 / span 2; }
.bm-about-step:nth-child(5) { grid-column: 4 / span 2; }
.bm-about-step h3 { font-size: 1.5rem; line-height: 1.25; }
.bm-about-step p { font-size: 1rem; line-height: 1.65; margin-bottom: 12px; }
.bm-about-process-note { max-width: 760px; margin: 32px auto 0; }
.bm-about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid #344b5a; margin-bottom: 48px; }
.bm-about-facts > .bm-about-fact { margin: 0; }
.bm-about-fact h3 { color: var(--bm-blue); font-size: clamp(1.5rem, 2.1vw, 1.875rem); }
.bm-about-fact p { color: var(--bm-inverse-muted); font-size: 1rem; }
.bm-about-cta { max-width: 760px; margin-inline: auto; }
.bm-about-cta > p { color: var(--bm-inverse-muted); }
.bm-about-closing .wp-block-buttons { margin-top: 28px; justify-content: center; }
.bm-about-closing .wp-block-button__link { background: var(--bm-blue); color: var(--bm-dark); border-radius: 3px; padding: 14px 24px; min-height: 48px; font-weight: 700; }
.bm-about-closing .wp-block-button__link:hover { background: #66c1e9; }
@media (max-width: 959px) {
  .bm-about-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bm-about-step:nth-child(4) { grid-column: span 2; }
  .bm-about-step:nth-child(5) { grid-column: 2 / span 2; }
  .bm-about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .bm-about-steps { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .bm-about-step, .bm-about-step:nth-child(4), .bm-about-step:nth-child(5) { grid-column: 1; padding: 28px 24px; }
  .bm-about-facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bm-about-row h2 { margin-bottom: 24px; }
}
