:root {
  --bm-bg: #0b0b0b;
  --bm-surface: #141414;
  --bm-surface-2: #1a1a1a;
  --bm-border: rgba(255,255,255,0.12);
  --bm-border-2: rgba(255,255,255,0.2);
  --bm-text: rgba(255,255,255,0.92);
  --bm-muted: rgba(255,255,255,0.68);
  --bm-muted-2: rgba(255,255,255,0.55);
  --bm-shadow: 0 18px 50px rgba(0,0,0,0.6);
  --bm-radius: 0;
  --bm-radius-sm: 0;
  --bm-max: 1200px;
  --bm-header-h: 72px;
  --bm-gap: 32px;
}

/* Scope total para evitar colisiones */
.bm-theme {
  background: var(--bm-bg);
  color: var(--bm-text);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.45;
  min-height: 100vh;

  /* Compensa header fijo */
  padding-top: var(--bm-header-h);
}

/* Normalización suave dentro del scope */
.bm-theme a { color: inherit; text-decoration: none; }
.bm-theme a:hover { color: var(--bm-text); }
.bm-theme img { max-width: 100%; height: auto; display: block; }
.bm-theme button { font: inherit; color: inherit; }
.bm-theme :focus-visible { outline: 2px solid rgba(255,255,255,0.55); outline-offset: 3px; border-radius: 0; }
.bm-theme [data-animate] {
  opacity: 1;
  transform: none;
}
.bm-theme .container {
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
}

.bm-container {
  max-width: var(--bm-max);
  width: 80%;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 900px) {
  .bm-theme .container,
  .bm-container {
    width: 92%;
    max-width: 92%;
  }
}

@media (min-width: 768px) {
  .bm-container { padding: 0; }
}

/* HEADER */
.bm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bm-header-h);
  z-index: 1000;

  background: rgba(7,7,7,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bm-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.bm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.bm-brand img {
  height: 10em;
  max-height: 100%;
  width: auto;
  display: block;
}

.bm-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bm-nav a {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 0;
  transition: color .18s ease, transform .18s ease;
  border: none;
  background: transparent;
}

.bm-nav a:hover {
  color: #fff;
  background: transparent;
}

.bm-nav a.accent {
  background: transparent;
  color: #fff;
  border-radius: 0;
  padding: 10px 16px;
  border: none;
  font-weight: 600;
}

.bm-nav a.accent:hover {
  background: transparent;
  color: #fff;
}

/* Menú desktop visible desde md */
@media (min-width: 768px) {
  .bm-nav {
    flex: 1;
    justify-content: center;
  }

  .bm-nav[hidden] {
    display: flex !important;
  }
}

/* Botón hamburguesa */
.bm-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.bm-menu-toggle:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .bm-menu-toggle { display: none; }
}

/* Icon hamburguesa (3 líneas) */
.bm-menu-toggle__icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.bm-menu-toggle__icon::before,
.bm-menu-toggle__icon::after,
.bm-menu-toggle__icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 0;
  background: rgba(255,255,255,0.82);
}

.bm-menu-toggle__icon::before { top: 0; }
.bm-menu-toggle__icon span { top: 5px; }
.bm-menu-toggle__icon::after { bottom: 0; }

/* Para generar la línea del medio usando pseudo + span: agregamos un span real por JS si no existe
   O más simple: usar ::before y ::after y un background con box-shadow.
   Si preferís: reemplazar este icono por SVG inline. */

/* OVERLAY + PANEL MOBILE */
.bm-menu-overlay[hidden] { display: none; }

.bm-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.6);
}

.bm-nav[hidden] { display: none; }

@keyframes bmDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bm-nav a {
  display: block;
  padding: 12px 12px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--bm-text);
}

.bm-nav a:hover {
  background: rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .bm-nav {
    position: static;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    flex-wrap: wrap;
  }

  .bm-nav a {
    background: transparent;
    border: none;
  }

  .bm-nav a:hover {
    background: transparent;
  }
}

@media (max-width: 767px) {
  .bm-nav {
    position: fixed;
    top: var(--bm-header-h);
    right: 0;
    left: 0;
    z-index: 1000;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 18px;
  background: rgba(7,7,7,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
  box-shadow: var(--bm-shadow);
    transform-origin: top;
    animation: bmDrop .16s ease-out;
  }
}

/* SECCIONES / ESPACIADO GENERAL
   Sin modificar textos, solo le damos “sistema” a la maqueta */
.bm-section {
  padding: 70px 0;
}

@media (min-width: 1024px) {
  .bm-section { padding: 110px 0; }
}

/* Títulos y texto: no cambia el copy, solo estilo */
.bm-theme h1, .bm-theme h2, .bm-theme h3 {
  letter-spacing: -0.02em;
}

.bm-theme h1 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  margin: 0 0 18px;
}

.bm-theme h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.bm-theme p {
  color: var(--bm-muted);
}

/* CARDS / SUPERFICIES */
.bm-card {
  background: transparent;
  border: none;
  border-radius: var(--bm-radius);
  box-shadow: none;
  transition: transform .2s ease;
}

.bm-card:hover {
  transform: translateY(-2px);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.bm-card__inner { padding: 18px; }
@media (min-width: 768px) { .bm-card__inner { padding: 22px; } }

/* BOTONES (aplicar solo si agregás estas clases a tus botones actuales) */
.bm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 0;
  border: 1px solid #fff;
  background: transparent;
  color: var(--bm-text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease;
}

.bm-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.3);
}

.bm-btn--primary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.bm-btn--primary:hover {
  border-color: #fff;
}

.bm-btn--outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.bm-btn--outline:hover {
  background: transparent;
}

/* GRIDS (aplicar con clases en wrappers existentes si corresponde) */
.bm-grid {
  display: grid;
  gap: var(--bm-gap);
}

.bm-grid--2 { grid-template-columns: 1fr; }
.bm-grid--3 { grid-template-columns: 1fr; }
.bm-grid--4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .bm-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .bm-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .bm-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bm-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .bm-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* DIVISORES */
.bm-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  border: 0;
  margin: 22px 0;
}

/* UTILIDADES */
.bm-muted { color: var(--bm-muted); }
.bm-muted-2 { color: var(--bm-muted-2); }

.bm-theme .hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bm-theme .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.2) 0%, rgba(11,11,11,0.85) 100%);
  pointer-events: none;
}

.bm-theme .hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  text-align: center;
  padding: 80px 0 60px;
}

.bm-theme .hero-content > *:not(.stats) {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.bm-theme .hero-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.bm-theme .hero-content .lead {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 26px;
}

.bm-theme .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.bm-theme .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 56px;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.bm-theme .stats div {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 16px;
}

.bm-theme .stats strong {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.bm-theme .stats span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

.bm-theme .section {
  border-bottom: none;
}

.bm-theme .section.muted {
  background: transparent;
  border-top: none;
}

.bm-theme .section.contact {
  background: #414141;
}

.bm-theme .section-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.bm-theme .card,
.bm-theme .dynamic-card,
.bm-theme .panel,
.bm-theme .form-panel {
  background: transparent;
  border: none;
  border-radius: 0;
}

.bm-theme .card {
  padding: 20px;
}

.bm-theme .card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.bm-theme .panel {
  padding: 24px;
}

.bm-theme .badge {
  border-radius: 0;
  background: transparent;
  color: #fff;
  border: none;
}

.bm-theme .bullet {
  border-radius: 0;
  background: transparent;
  color: #fff;
  border: none;
}

.bm-theme .author {
  color: rgba(255,255,255,0.72);
}

.bm-theme .link {
  color: #fff;
}

.bm-theme .btn {
  border-radius: 0;
}

.bm-theme .contact-form input,
.bm-theme .contact-form textarea {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 0;
}

.bm-theme .contact-form input::placeholder,
.bm-theme .contact-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.bm-theme .whatsapp {
  background: #25d366;
  color: #0b0b0b;
  border-radius: 0;
  padding: 10px 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}

.bm-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.bm-team-card {
  padding: 28px 20px;
  border-left: none;
  text-align: center;
  flex: 0 1 220px;
}

.bm-team-initial {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

.bm-team-name {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.bm-team-role {
  color: var(--bm-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.bm-team-handle {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  display: inline-flex;
  justify-content: center;
  gap: 6px;
}

.bm-footer {
  margin-top: 80px;
  padding: 60px 0 40px;
}

.bm-footer__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .bm-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.bm-footer__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.bm-footer__text {
  color: var(--bm-muted);
  max-width: 420px;
}

.bm-footer__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.bm-footer__nav,
.bm-footer__social {
  display: grid;
  gap: 10px;
}

.bm-footer__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.bm-footer__social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.bm-footer__social-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bm-footer__social-links .bm-footer__social-name {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.bm-footer__social-links svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.bm-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.bm-footer__legal {
  display: flex;
  gap: 16px;
}

.policy-content {
  color: var(--bm-muted);
  line-height: 1.7;
}
