/* =========================================================
   BIOMEDICALII — Landing Page
   Prefijo de clases: bm-
   ========================================================= */

:root {
  --bm-primary: #075b80;
  --bm-primary-dark: #053f59;
  --bm-primary-mid: #0a7ea4;
  --bm-accent: #0f9bd1;
  --bm-accent-dark: #0b7cab;
  --bm-accent-light: #7fd6f2;
  --bm-light-blue: #eaf6fb;
  --bm-light-blue-2: #d7edf7;
  --bm-line: #d7e8f0;
  --bm-text: #1c3641;
  --bm-text-muted: #5a7784;
  --bm-white: #ffffff;
  --bm-font-heading: 'Roboto', sans-serif;
  --bm-font-body: 'DM Sans', sans-serif;
  --bm-radius-lg: 1.75rem;
  --bm-radius-md: 1.25rem;
  --bm-radius-sm: 0.75rem;
  --bm-shadow: 0 20px 45px rgba(7, 91, 128, 0.14);
  --bm-shadow-sm: 0 10px 25px rgba(7, 91, 128, 0.1);
}

/* =========== RESET / BASE =========== */
html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--bm-font-body);
  color: var(--bm-text);
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--bm-white);
}

h1, h2, h3, h4, h5 {
  font-family: var(--bm-font-heading);
  color: var(--bm-primary-dark);
  font-weight: 700;
  margin: 0;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

.bm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;

  text-transform: uppercase;
  color: var(--bm-primary);
  background: var(--bm-light-blue);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.bm-eyebrow-light {
  color: var(--bm-white);
  background: rgba(255, 255, 255, 0.15);
}

.bm-section-head {
  
  margin-bottom: 2.75rem;
}

.bm-section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--bm-primary-dark);
  margin-bottom: 1rem;
}

.bm-section-title-light {
  color: var(--bm-white);
}

/* =========== BOTONES =========== */
.btn {
  font-family: var(--bm-font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.bm-btn-primary {
  background: var(--bm-primary);
  color: var(--bm-white);
  box-shadow: var(--bm-shadow-sm);
}

.bm-btn-primary:hover {
  background: var(--bm-primary-dark);
  color: var(--bm-white);
}

.bm-btn-whatsapp {
  background: var(--bm-white);
  color: var(--bm-primary);
  border: 2px solid var(--bm-light-blue-2);
}

.bm-btn-whatsapp:hover {
  background: var(--bm-light-blue);
  color: var(--bm-primary-dark);
}

.bm-btn-accent {
  background: var(--bm-accent);
  color: var(--bm-white);
  box-shadow: var(--bm-shadow-sm);
}

.bm-btn-accent:hover {
  background: var(--bm-accent-dark);
  color: var(--bm-white);
}

/* =========== HEADER / NAV =========== */
.bm-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 1.1rem 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.bm-header.bm-header-scrolled {
  box-shadow: 0 8px 30px rgba(7, 91, 128, 0.12);
  padding: 0.7rem 0;
}

.bm-navbar {
  background: var(--bm-white);
  border-radius: 100px;
  padding: 0.55rem 0.9rem 0.55rem 1.6rem;
  box-shadow: var(--bm-shadow-sm);
}

.bm-brand img {
  width: 180px;

}

.bm-nav-links {
  gap: 0.4rem;
}

.bm-nav-links .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--bm-text);
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  transition: background 0.2s ease, color 0.2s ease;
}

.bm-nav-links .nav-link:hover,
.bm-nav-links .nav-link.active {
  background: var(--bm-light-blue);
  color: var(--bm-primary);
}

.bm-nav-cta {
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.bm-toggler {
  border: none;
  background: var(--bm-light-blue);
  color: var(--bm-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bm-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .bm-navbar {
    border-radius: var(--bm-radius-md);
    padding: 0.6rem 1rem;
  }
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bm-line);
  }
  .bm-nav-links {
    gap: 0.25rem;
    margin-bottom: 1rem;
  }
  .bm-nav-cta {
    width: 100%;
    justify-content: center;
  }
}

/* =========== HERO =========== */
.bm-hero {
  position: relative;

  display: flex;
  align-items: center;
  
  overflow: hidden;
  color: var(--bm-white);
}

.bm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bm-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 26, 38, 0.94) 8%, rgba(4, 26, 38, 0.8) 48%, rgba(4, 26, 38, 0.4) 100%);
}

.bm-hero > .container {
  position: relative;
  z-index: 2;
}

.bm-hero-text {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bm-hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.12;
  color: var(--bm-white);
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
}

.bm-hero-title span {
  color: var(--bm-accent-light);
}

.bm-hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.bm-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.bm-btn-whatsapp-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--bm-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.bm-btn-whatsapp-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--bm-white);
}

.bm-hero-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.bm-hero-location i {
  color: var(--bm-accent-light);
}

.bm-floating-card {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bm-white);
  border-radius: var(--bm-radius-md);
  box-shadow: var(--bm-shadow);
  padding: 1.1rem 1.3rem;
  max-width: 300px;
}

.bm-floating-card-hero {
  right: 0;
  top: 2.5rem;
}

.bm-floating-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bm-light-blue);
  color: var(--bm-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.bm-floating-card-title {
  display: block;
  font-family: var(--bm-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bm-primary-dark);
  margin-bottom: 0.3rem;
}

.bm-floating-card p {
  font-size: 0.85rem;
  color: var(--bm-text-muted);
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .bm-hero {
    padding: 7rem 0 3rem;
    min-height: 0;
  }
  .bm-floating-card-hero {
    position: static;
    margin-top: 2rem;
    max-width: 100%;
  }
}

/* =========== FRANJA DE CONFIANZA =========== */
.bm-trustbar {
  position: relative;
  z-index: 5;
  margin-top: -60px;
  margin-bottom: 1rem;
}

.bm-trustbar-card {
  background: var(--bm-white);
  border-radius: var(--bm-radius-lg);
  box-shadow: var(--bm-shadow);
  padding: 2rem 2.25rem;
}

.bm-trustbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.bm-trustbar-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bm-light-blue);
  color: var(--bm-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.bm-trustbar-label {
  font-family: var(--bm-font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--bm-primary-dark);
}

@media (min-width: 768px) {
  .bm-trustbar-item {
    flex-direction: row;
    text-align: left;
    gap: 0.85rem;
  }
}

/* =========== CATEGORÍAS =========== */
.bm-categories {
  padding: 6rem 0 6.5rem;
   background: var(--bm-light-blue);
  position: relative;
}

.bm-cat-card {
  background: var(--bm-white);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-md);
  padding: 1.1rem;
  height: 100%;
  box-shadow: var(--bm-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bm-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bm-shadow);
}

.bm-cat-img-wrap {
  position: relative;
  border-radius: var(--bm-radius-sm);
  overflow: hidden;
  margin-bottom: 1.1rem;
  aspect-ratio: 4 / 3;
}

.bm-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-cat-icon-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bm-white);
  color: var(--bm-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--bm-shadow-sm);
}

.bm-cat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.bm-cat-card p {
  color: var(--bm-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.bm-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--bm-primary);
  font-size: 0.95rem;
}

.bm-cat-link i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.bm-cat-link:hover i {
  transform: translateX(4px);
}

/* =========== GALERÍA / CARRUSEL =========== */
.bm-gallery {
  padding: 3.5rem 0;
  background: var(--bm-light-blue);
}

.bm-gallery-swiper {
  padding: 0 1.5rem 3.5rem;
}

.bm-gallery-slide {
  position: relative;
  border-radius: var(--bm-radius-md);
  overflow: hidden;
  box-shadow: var(--bm-shadow-sm);
  
}

.bm-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-gallery-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(7, 59, 82, 0.85);
  color: var(--bm-white);
  font-family: var(--bm-font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

.bm-gallery-swiper .swiper-button-prev,
.bm-gallery-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  background: var(--bm-white);
  border-radius: 50%;
  box-shadow: var(--bm-shadow-sm);
  color: var(--bm-primary);
  top: 42%;
}

.bm-gallery-swiper .swiper-button-prev::after,
.bm-gallery-swiper .swiper-button-next::after {
  font-size: 1rem;
}

.bm-gallery-swiper .swiper-pagination-bullet-active {
  background: var(--bm-primary);
}

/* =========== ¿NECESITAS UNA COTIZACIÓN? =========== */
.bm-quote-cta {
  position: relative;
 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5.5rem 0;
}

.bm-quote-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bm-quote-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-quote-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 40, 56, 0.78) 0%, rgba(4, 40, 56, 0.9) 100%);
}

.bm-quote-cta > .container {
  position: relative;
  z-index: 2;
}

.bm-quote-cta-content {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.bm-quote-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.bm-quote-pills li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--bm-white);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
}

.bm-quote-pills i {
  color: var(--bm-accent-light);
  font-size: 0.78rem;
}

.bm-quote-cta-title {
  color: var(--bm-white);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 2.25rem;
}

.bm-btn-lg {
  padding: 1rem 2.3rem;
  font-size: 1.05rem;
}

/* =========== MAYOREO Y EMPRESAS =========== */
.bm-wholesale {
  padding: 6.5rem 0;
  background: var(--bm-white);
}

.bm-wholesale-media {
  position: relative;
}

.bm-wholesale-image-wrap {
  position: relative;
  max-width: 100%;
}

.bm-wholesale-image-wrap img {
 
  width: 100%;
}

.bm-floating-card-wholesale {
 right: -1.5rem;
  bottom: -1.5rem;
  max-width: 260px;
  flex-direction: column;
}

.bm-floating-card-wholesale ul {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bm-floating-card-wholesale li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--bm-text-muted);
}

.bm-floating-card-wholesale i {
  color: var(--bm-accent);
}

@media (max-width: 991.98px) {
  .bm-floating-card-wholesale {
    position: static;
    margin-top: -2.5rem;
    margin-left: auto;
    margin-right: 1rem;
    max-width: 80%;
  }
}

.bm-wholesale-desc {
  color: var(--bm-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.bm-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.bm-check-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
}

.bm-check-list i {
  color: var(--bm-accent);
  font-size: 1.15rem;
}

/* =========== 3 PASOS =========== */
.bm-steps {
  padding: 6.5rem 0;
  background: var(--bm-primary-mid);
  background: linear-gradient(135deg, var(--bm-primary) 0%, var(--bm-primary-mid) 100%);
}

.bm-step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--bm-radius-md);
  padding: 1.5rem 1.5rem 2rem;
  height: 100%;
}

.bm-step-media {
  position: relative;
  border-radius: var(--bm-radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  
}

.bm-step-media img {
  width: 100%;
  height: 100%;
  max-width: 120px;
 }

.bm-step-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-white);
  color: var(--bm-primary);
  font-family: var(--bm-font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  box-shadow: var(--bm-shadow-sm);
}

.bm-step-card h3 {
  color: var(--bm-white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.bm-step-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}

/* =========== COBERTURA =========== */
.bm-coverage {
  padding: 6.5rem 0;
  background: var(--bm-white);
}

.bm-coverage-subtitle {
  font-size: 1.3rem;
  margin: 1.25rem 0 0.6rem;
}

.bm-coverage p {
  color: var(--bm-text-muted);
  margin-bottom: 1.5rem;
}

.bm-city-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bm-city-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bm-light-blue);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-md);
  padding: 1.25rem 1.5rem;
}

.bm-city-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bm-white);
  box-shadow: var(--bm-shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bm-city-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.bm-city-item-text h4 {
  font-size: 1.1rem;
  color: var(--bm-primary-dark);
  margin-bottom: 0.15rem;
}

.bm-city-item-text span {
  color: var(--bm-text-muted);
  font-size: 0.92rem;
}

/* =========== CTA / NOSOTROS =========== */
.bm-cta {
  padding: 6rem 0;
  
}

.bm-cta-title {
  color: var(--bm-white);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  max-width: 750px;
  margin: 0 auto 1.25rem;
}

.bm-cta-desc {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.bm-cta-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 2.5rem;
}

.bm-cta-contact span,
.bm-cta-contact a {
  color: var(--bm-white);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bm-cta-contact a {
  transition: color 0.2s ease;
}

.bm-cta-contact a:hover {
  color: var(--bm-accent-light);
}

.bm-cta-contact i {
  color: var(--bm-accent);
}

.bm-cta-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.bm-cta-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--bm-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bm-cta-social a:hover {
  background: var(--bm-accent);
  border-color: var(--bm-accent);
  color: var(--bm-white);
  transform: translateY(-2px);
}
/* =========== FOOTER =========== */
.bm-footer {
  padding: 4.5rem 0 2rem;
background: #00000055;
backdrop-filter: saturate(0);
  color: rgba(255, 255, 255, 0.85);
}

.bm-footer-top {
  margin-bottom: 2.5rem;
}

.bm-footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1.1rem;
}

.bm-footer-top p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 320px;
}

.bm-footer h5 {
  color: var(--bm-white);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.bm-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bm-footer-links li,
.bm-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.bm-footer-links a:hover {
  color: var(--bm-white);
}

.bm-footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 0 0 1.75rem;
}

.bm-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.bm-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.bm-footer-legal a:hover {
  color: var(--bm-white);
}

.bm-footer-credit {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.88rem;
}

.bm-footer-credit a {
  color: var(--bm-accent);
  font-weight: 700;
}

.bm-footer-credit a:hover {
  text-decoration: underline;
}

/* =========== RESPONSIVE GENERAL =========== */
@media (max-width: 767.98px) {
  .bm-hero,
  .bm-categories,
  .bm-wholesale,
  .bm-steps,
  .bm-coverage,
  .bm-cta,
  .bm-contact {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .bm-hero-ctas .btn,
  .bm-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .bm-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
