.imagen-nosotros {
    max-width: 75%;
    margin: 0 auto;
    display: block;
}
    
    .texto-gris {
        color: #7B7B7F;
    }
/*
    .hero-slide{
        position: relative;
        height:71vh;
        background: url("img/fondo7.png") center/cover no-repeat;
    }

    */
    .overlay{
        position:absolute;
        inset:0;
        background: rgba(0,0,0,0); /* Sin oscurecer */
    }


    #content {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    #content > main {
      flex: 1;
    }

    .fondo_navbar{
      background-color:#3C5184;
    }

    .nav-link1 {
      display: block;
      padding: 0.2rem 0.2rem;
    }

    @media (min-width:0px) and (max-width:990px) {
      .navbar-padding {
        padding: 0rem 0rem;
      }
    }

    @media (min-width:991px) and (max-width:1299px) {
      .navbar-padding {
        padding-left: 1px; 
        padding-right: 1px;  
      }
    }

    @media (min-width:1300px) and (max-width:2000px) {
      .navbar-padding {
        padding-left: 2px; 
        padding-right: 2px;  
      }
    }

    @media (min-width:2001px) {
      .navbar-padding {
        padding-left: 2px; 
        padding-right: 2px;  
      }
    }

  .hero-content{
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      text-align: center;
      padding-left: 0;
  }
  .hero-title{
      color: rgb(123, 123, 127);
      font-size: 2.5rem;
  }
  .hero-subtitle{
      color: rgb(123, 123, 127);
  }


  .btn-catalogo{
      background-color: rgb(76, 193, 217);
      color: white;
      border: none;
  }

  .btn-catalogo:hover{
      background-color: rgb(60, 170, 195);
      color: white;
  }
  .hero-left{
      text-align: left;
  }
    
    
    .main-image {
        width: 100%;
        height: 450px;
        object-fit: cover;
    }

    .thumbnails {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .thumb {
        width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: 8px;
        cursor: pointer;
        opacity: .7;
        transition: .2s;
        border: 2px solid transparent;
    }

    .thumb:hover {
        opacity: 1;
    }

    .thumb.active {
        opacity: 1;
        border-color: #0d6efd;
    }
    
    
    body {
        font-family: "Trebuchet MS", sans-serif;
    }
    body {
        background: #f8f9fa;
        font-family: Arial, sans-serif;
    }

    .product-card {
        border: none;
        border-radius: 20px;
        overflow: hidden;
        transition: 0.3s ease;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .product-card img {
        height: 250px;
        object-fit: cover;
    }

    footer {
        background: #111827;
        color: #ccc;
        padding: 30px 0;
        margin-top: 60px;
    }


    .category-header {
    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.category-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.category-header p {
    opacity: .9;
    margin: 0;
}


#sillas_compactas {
    scroll-margin-top: 100px;
}

#sillas_traslado {
    scroll-margin-top: 100px;
}

#sillas_rehabilitacion {
    scroll-margin-top: 100px;
}

#accesorios {
    scroll-margin-top: 100px;
}

#sillas_posturales {
    scroll-margin-top: 100px;
}




:root{
    --azul:#3074b9;
    --celeste:#62c9df;
    --gris-claro:#e8e8e8;
    --gris-oscuro:#565963;
}

body {
    font-family: Arial, sans-serif;
    /*background: #f5f5f7;*/
}

.hero-content{
    flex: 0 0 450px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}


.featured-product{
    background:#f0f1ef;
}

.featured-image{
    max-height:350px;
    object-fit:contain;
}

.featured-product h2{
    color:#3074b9;
}

.hero-single-img {
    width: auto;       /* ancho original */
    height: auto;      /* alto original */
    max-width: 100%;   /* no se salga del contenedor */
    display: block;
    margin: 0;
}

.hero-wrapper {
    max-width: 1200px; /* mismo ancho que el carrusel */
    margin: 0 auto;
    padding: 0 25px;   /* igual que el carrusel */
}

.hero-wrapper1 {
    max-width: 1200px; /* mismo ancho que el carrusel */
    margin: 0 auto;
    padding: 0 25px;   /* igual que el carrusel */
}



/* ==========================
   NAVBAR
========================== */

.navbar{
    background: var(--gris-claro) !important;
}

.navbar-brand img{
    max-height:70px;
}

.nav-link{
    color: var(--gris-oscuro) !important;
    font-weight:500;
    transition:.3s;
}

.nav-link:hover{
    color: var(--azul) !important;
}

/* ==========================
   HERO
========================== */

#heroCarousel{
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f8fbfd 100%
    );
}

.hero-title{
    color: var(--azul);
}

.hero-text{
    color: var(--gris-oscuro);
}

.carousel-text {
    display: flex;
    flex-direction: column;
    height: 100%; /* la columna ocupa toda la altura de la fila */
}


/* Botones al fondo */
.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Fila principal: izquierda texto, derecha imagen */
.hero-row {
    display: flex;
    flex: 1;
    gap: 40px;
    align-items: stretch;
}


/* ==========================
   BOTONES
========================== */

.btn-dark{
    background: rgb(76, 193, 217) !important;
    border-color: rgb(76, 193, 217) !important;
}

.btn-dark:hover{
    background:rgb(76, 193, 217) !important;
    border-color:rgb(76, 193, 217) !important;
}



.btn-outline-dark{
    color: var(--azul) !important;
    border-color: var(--azul) !important;
}

.btn-outline-dark:hover{
    background: var(--azul) !important;
    color:white !important;
}

/* botón principal */
.btn-primary{
    background: var(--azul);
    border-color: var(--azul);
}

.btn-primary:hover{
    background:#255e97;
    border-color:#255e97;
}

/* ==========================
   PRODUCTOS
========================== */

.product-card{
    border:none;
    border-radius:20px;
    overflow:hidden;
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 40px rgba(48,116,185,.15);
}
/*
.product-card img{
    padding:20px;
    object-fit:contain;
    height:280px;
}
*/


.product-card h5{
    color:#565a64;;
}

.product-card img{
    height:180px;
    object-fit:contain;
    padding:10px;
}

.product-card .card-body{
    padding:1rem;
}

.product-card h5{
    font-size:1.15rem;
}
/* ==========================
   TITULOS
========================== */

.section-title{
    color: rgb(123, 123, 127);
    font-weight:700;
}

/* ==========================
   NOSOTROS
========================== */

#nosotros{
    background:#f7fbfd;
}

/* ==========================
   CONTACTO
========================== */

#contacto{
    background:#ffffff !important;
}

#contacto .card{
    border-radius:25px;
}

/* ==========================
   FOOTER
========================== */

footer{
    background: #595858;
    color:white;
    padding:30px 0;
}

/* ==========================
   WHATSAPP
========================== */

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    z-index:9999;
}

.whatsapp-float:hover{
    transform:scale(1.08);
}

/* ==========================
   CAROUSEL
========================== */

.carousel-control-prev-icon,
.carousel-control-next-icon{
    background-color: rgba(48,116,185,.85);
    border-radius:50%;
    padding:18px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover{
    background-color: var(--azul);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:991px){

    .navbar-brand img{
        max-height:55px;
    }

    .hero-title{
        font-size:2rem;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .product-card img{
        height:220px;
    }
}


/* Contenedor principal */
.hero-wrapper {
    max-width: 1200px;
    margin: 30px auto; /* un poco menos de margen superior */
    /*padding: 0 25px;*/
    padding: 160px 0; /* Ajusta el espacio total arriba y abajo */
}

/* Carrusel */
#heroCarousel {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,0.08);
}

/* Slide */
.carousel-item {
    min-height: 400px; /* menos altura para que sea más compacto */
    display: flex;
    align-items: stretch;
    /*padding: 30px 30px;*/ /* menos padding arriba y abajo */
    padding: 0px 0;
}


.carousel-item .row {
    min-height: 400px; /* Altura mínima para balancear los slides */
    display: flex;
    align-items: center; /* Centra verticalmente */
}




/* Titulo */
.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
}

/* Texto */
.hero-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

/* Botones al fondo */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons a {
    border-radius: 999px;
    padding: 12px 22px;
}

/* Columna derecha (imagen) */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*
.hero-image img {
    width: 100%;
    max-width: 450px;
    //border-radius: 25px;
    //object-fit: cover;
    //aspect-ratio: 1/1;
    //box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}*/


.hero-image img{
    max-width: 340px;
    max-height: 280px;
    object-fit: contain;
}

/* Controles del carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 7%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 18px;
}

/* Mobile */
@media(max-width:991px){
    .hero-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        flex:1;
    }
    .hero-content {
        justify-content: flex-start;
        max-width: 100%;
    }
    .hero-image img {
        max-width: 350px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}


.carousel-text{
    padding-left: 60px;
}


.texto-gris {
    color: #7B7B7F;
}

.texto-gris-oscuro {
    color: #565a64;
    font-weight: bold;
}
