* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins';
    background-color: #f9f9f9;
    color: #111;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

body {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 1.6rem;
    }
}

.carousel-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-icon img {
    max-width: 100px;
}

/*hero-stretchers*/
.hero-stretchers {
    display: flex;
    flex-direction: row;
    height: 100vh;
    background-color: #fff;
    color: #333;
}

.hero-content {
    flex: 1;
    padding: 5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-top: 1rem;
    text-transform: uppercase;
    color: #671513;
}

.scroll-down span {
    font-size: 4rem;
    color: #671513;
    animation: bounce 2s infinite;
    position: absolute;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.hero-image {
    flex: 1;
    background-image: url('./images/Stretchers/img16.jpg');
    /* coloca la imagen que subiste aquí */
    background-size: cover;
    background-position: center;
}

/*hospital-stretcher-section*/
.hospital-stretcher-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.hospital-stretcher-image {
    max-width: 100%;
    width: 500px;
}

.hospital-stretcher-text {
    max-width: 500px;
    font-family: 'Poppins';
}

.hospital-stretcher-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.hospital-stretcher-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

@media (max-width: 768px) {
    .hospital-stretcher-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hospital-stretcher-text h2 {
        font-size: 1.75rem;
    }

    .hospital-stretcher-text p {
        font-size: 0.95rem;
    }
}

/*refurb-process*/
.refurb-process {
    text-align: center;
    padding: 60px 20px;
    max-width: 1300px;
    margin: auto;
}

.refurb-process h2 {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 40px;
    color: #222;
}

.refurb-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.refurb-step {
    width: 200px;
}

.refurb-step img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.refurb-step p {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
    color: #333;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .refurb-step {
        width: 45%;
    }

}

@media (max-width: 680px) {
    .refurb-step {
        width: 100%;
    }

    .refurb-process h2 {
        font-size: 1.5rem;
    }
     .container-md{
        display: none;
        max-width: 200px;
    }
}

@media (min-width: 900px) {
    .hero-content h1 {
        font-size: 6rem;
        font-weight: 700;
    }

    .hero-content p {
        font-size: 1.2rem;
        letter-spacing: 2px;
        margin-top: 1rem;
        text-transform: uppercase;
        color: #671513;
    }

   
}

/*refurb-benefits*/
.refurb-benefits {
    padding: 60px 20px;
    background-color: #fff;
    font-family: 'Poppins';
}

.refurb-benefits-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.left-text {
    flex: 1 1 250px;
    min-width: 250px;
}

.left-text h2 {
    font-size: 2.6rem;
    font-style: italic;
    color: #222;
}

.center-image {
    flex: 1 1 350px;
    text-align: center;
}

.center-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.right-benefits {
    flex: 1 1 350px;
    min-width: 300px;
}

.right-benefits ul {
    list-style: none;
    padding: 0;
}

.right-benefits li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.right-benefits strong {
    color: #000;
}

@media (max-width: 960px) {
    .refurb-benefits-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .left-text,
    .right-benefits {
        text-align: center;
    }
}

/*stretcher-gallery*/
.stretcher-gallery {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    font-family: 'Poppins';
}

.stretcher-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #111;
    margin-bottom: 40px;
}

.stretcher-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.stretcher-card {
    max-width: 260px;
    text-align: center;
}

.stretcher-card h3 {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #111;
}

.stretcher-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.check-button {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #ba1e1e;
    color: #ba1e1e;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: 0.3s ease;
}

.check-button:hover {
    background-color: #ba1e1e;
    color: #fff;
}

@media (max-width: 768px) {
    .stretcher-grid {
        flex-direction: column;
        align-items: center;
    }

    .stretcher-card {
        max-width: 90%;
    }
}

/**/
.container-md {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    cursor: pointer;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon svg {
    fill: white;
    width: 30px;
    height: 30px;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup iframe {
    width: 60%;
    height: 60%;
    border: none;
}

.popup.show {
    display: flex;
}

/*catalog*/
.catalog {
    padding: 60px 20px;
    text-align: center;
    font-family: 'Poppins';
}

.catalog-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.catalog-header p {
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.search-bar {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.search-bar input {
    padding: 10px 35px 10px 12px;
    border: 2px solid #000;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.product-card {
    min-height: 500px!important;
}

.product-card img {
    width: 100%;
    margin-bottom: 10px;
}

.product-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #111;
}

.product-price {
    font-weight: bold;
    color: #ba1e1e;
    font-size: 1rem;
    margin-bottom: 10px;
}

.view-btn {
    padding: 8px 16px;
    border: 1.5px solid #ba1e1e;
    color: #ba1e1e;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    display: inline-block;
    transition: 0.3s;
}

.view-btn:hover {
    background-color: #ba1e1e;
    color: white;
}

.pagination {
    margin-top: 30px;
    font-size: 1.2rem;
}

.pagination span {
    margin: 0 10px;
    font-size: 40px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .product-grid {
        flex-direction: column;
        align-items: center;
    }

    .product-card {
        width: 90%;
    }

    .search-bar {
        width: 100%;
    }

    .search-bar input {
        width: 90%;
    }
}


.product-carousel {
    width: 75%;
    margin: 0 auto;
    padding: 20px 0;
}

.product-carousel .slick-list{
    padding: 12px 0;
}

.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 15px;
    text-align: center;
    transition: transform 0.3s ease;
    z-index: 10;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 3px;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
}

.product-condition {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

/* Posiciona las flechas debajo del slider */
.custom-arrows {
    text-align: center; /* Centra los botones */
     /* Espacio entre el slider y las flechas */
  }
  
  /* Estilo de los botones */
  .slick-prev-custom, 
  .slick-next-custom {
    background: #33333300;
    font-family: 'Poppins';
    font-size: 72px;
    color: #191919;
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 4px;
  }
  
  .slick-prev-custom:hover, 
  .slick-next-custom:hover {
    color: #111;
  }

/* Estilos para los controles del carrusel */
.slick-prev:before,
.slick-next:before {
    color: #333;
}

.slick-dots li button:before {
    font-size: 12px;
}

/* Footer */
.footer-promo {
    display: flex;
    justify-content: space-around;
    padding: 4rem 2rem;
    background-color: #191919;
    color: #fff;
    flex-wrap: wrap;
}

.footer-logo {
    max-width: 280px;
    position: relative;
    top: -30px;
    left: -45px;
    margin-bottom: 1rem;
}

.footer-left h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.quote-btn {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.75rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.quote-btn:hover {
    background-color: #fff;
    color: #000;
}

.footer-icon {
    position: absolute;
    margin: 0 2rem;
    width: 80px;
}

.footer-right {
    max-width: 300px;
    font-size: 1rem;
}

.footer-right a {
    color: #fff;
    text-decoration: underline;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-right p {
    margin: 1rem 0;
}

.footer-socials {
    display: flex;
}

.footer-socials a {
    margin-right: 1rem;
    color: #fff;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .footer-promo {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}