/* ================================
   RESET
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--lb-white);
  color: var(--lb-black);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

/* ================================
   VARIABLES
================================ */

:root {
  --lb-black:   #000000;
  --lb-white:   #ffffff;
  --lb-dark:    #565656;
  --lb-medium:  #848484;
  --lb-light:   #B3B3B3;
  --lb-lighter: #E0E0E0;
  --lb-gray: #2B2B2B;

  --lb-transition: 0.25s ease;

  --space-section: 140px;
  --space-block: 70px;
  --space-element: 24px;
}

/* ================================
   SECCIONES — BASE
================================ */

.lb-section {
  padding: var(--space-section) 8%;
}

.lb-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-block);
}

.lb-section--light {
  background: var(--lb-white);
  color: var(--lb-black);
}

.lb-section--light * {
  color: var(--lb-black);
}

.lb-section--dark {
  background: var(--lb-black);
  color: var(--lb-white);
}

.lb-section--dark * {
  color: var(--lb-white);
}

.lb-section h2 {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
}

/* ================================
   BOTÓN
================================ */

.lb-btn {
  display: inline-block;
  padding: 18px 40px;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--lb-transition);
}

.lb-section--light .lb-btn {
  background: var(--lb-black);
  color: var(--lb-white);
  border: 2px solid var(--lb-black);
}

.lb-section--light .lb-btn:hover {
  background: var(--lb-dark);
  border-color: var(--lb-dark);
  transform: translateY(-2px);
}

.lb-section--dark .lb-btn {
  background: var(--lb-white);
  color: var(--lb-black);
  border: 2px solid var(--lb-white);
}

.lb-section--dark .lb-btn:hover {
  background: var(--lb-lighter);
  border-color: var(--lb-lighter);
  transform: translateY(-2px);
}

/* ================================
   HERO SLIDE — 5 diapositivas
   fondo negro, imagen full width,
   barra gray divisoria abajo
================================ */

.lb-hero-slide {
    position: relative;
    background: var(--lb-black);
    overflow: hidden;
}

.lb-hero-slide-track {
    display: flex;
}

.lb-hero-slide-item {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 1920 / 500;
    overflow: hidden;
}

.lb-hero-slide-item img {
    width: 100%;
    height: 100%;
    display: block;
}
.lb-hero-slide-track{
    display:flex;
    transition:transform .6s ease;
}
/* ================================
   BUSCADORES
   fondo blanco, título centrado
================================ */

.lb-buscadores {
  background: var(--lb-white);
  padding: var(--space-block) 8%;
  text-align: center;
}

.lb-buscadores h2 {
  font-size: 44px;
  font-weight: 900;
}

/* ================================
   CATEGORÍAS (especialidades)
================================ */

.lb-categorias-header {
  background: var(--lb-light);
  padding: 32px 8%;
  text-align: center;
}

.lb-categorias-header h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--lb-black);
}

.lb-categorias-grid {
  padding: var(--space-block) 8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lb-categoria-card {
  background: var(--lb-black);
  border: 4px solid var(--lb-gray);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: var(--lb-transition);
}

.lb-categoria-card:hover,
.lb-categoria-card:focus-visible {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
  border-color: var(--lb-white);
}

.lb-categoria-card:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.lb-categoria-nombre {
  color: var(--lb-white);
  font-size: 22px;
  font-weight: 800;
}

.lb-categoria-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--lb-medium);
}

/* ================================
   BANNER SLIDE — publicidad
   entre categoría y categoría
   admite de 1 a 5 items, opcional
================================ */
.lb-hero {
  background: var(--lb-black);
  color: var(--lb-white);
  padding: 160px 8% 100px;
}

.lb-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
}
.lb-hero-container > div:first-child {
  flex: 1;
}

.lb-hero-container h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
}

.lb-hero-right {
  flex: 1;
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.lb-hero-line {
  width: 4px;
  background: var(--lb-light);
}

.lb-hero-text p {
  font-size: 18px;
  color: var(--lb-light);
}

 
.lb-banner-slide {
  position: relative;
  background: var(--lb-black);
  overflow: hidden;
}

.lb-banner-slide-track {
  display: flex;
  width: 100%;
}

.lb-banner-slide-item {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 21 / 6;
}

.lb-banner-slide-item img,
.lb-banner-slide-item a {
  width: 100%;
  height: 100%;
  display: block;
}

.lb-banner-slide-item img {
  object-fit: cover;
}

.lb-banner-slide-nav {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.lb-banner-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lb-medium);
  cursor: pointer;
  transition: var(--lb-transition);
}

.lb-banner-slide-dot--activo {
  background: var(--lb-gray);
}

/* ================================
   BANNERS
================================ */
/* ================================
   BANNERS
================================ */

.lb-banner {
  padding: 60px 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.lb-banner h2 {
  font-size: 36px;
  font-weight: 900;
}

.lb-banner p {
  font-size: 18px;
  max-width: 700px;
}
/* ================================
   ESPECIALIDAD — intro y estado vacío
================================ */

.lb-especialidad-intro {
  padding: var(--space-block) 8%;
  text-align: center;
  background: var(--lb-white);
}

.lb-especialidad-intro h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
}

.lb-especialidad-intro p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  color: var(--lb-dark);
}

.lb-especialidad-vacio {
  text-align: center;
  padding: var(--space-section) 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.lb-especialidad-vacio h2 {
  font-size: 32px;
  font-weight: 900;
}

.lb-especialidad-vacio p {
  font-size: 18px;
  max-width: 600px;
}
/* ================================
   PORTADA ESPECIALIDAD
================================ */

.lb-portada-especialidad {
    width: 100%;
    aspect-ratio: 1920 / 500;
    overflow: hidden;
    background: var(--lb-black);
}

.lb-portada-especialidad img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {

  .lb-hero {
    padding: 120px 6% 80px;
  }

  .lb-hero-container {
    flex-direction: column;
    gap: 30px;
  }
@media (max-width: 768px) {

  .lb-section h2,
  .lb-buscadores h2,
  .lb-categorias-header h2 {
    font-size: 28px;
  }

  .lb-categorias-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lb-banner h2 {
    font-size: 26px;
  }

  .lb-btn {
    width: 100%;
    text-align: center;
  }
}