* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html, body{
    margin: 0;
    padding: 0;
    /* background-color: #e0e0e0; */
    background-color: rgb(149, 209, 150);

    color: black;
}
/* Header */
header {
    color: #50C878;
    background-color: #707070	;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}
nav {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
}
.logo_porEncargo img{
    border-radius: 10%;
    width: 90px;  /* Reduje un poco el tamaño para mejor proporción */
    height: 90px;
    object-fit: cover;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 30px;
}
.nav-links a{
    text-decoration: none;
    font-weight: 500;
    color: black;
    transition: color 0.3s;
}
.nav-links a:hover{
    color: #fff;
}
.nav-links a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: #50C878;
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
/* contacto desplegable */
/* Botón principal */
.contacto-btn {
    /* background-color: #ffe600;	; */
    background-color: #707070	;
    color: black;
    font-weight: 500;
    font-size: 16px;
    border: none;
    transition: color 0.3s;

}
.contacto-btn:hover{
    color: #fff;


}

.contacto-opciones {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 10px;
  overflow: hidden;
  top: 100%;
  flex-direction: column;
     /* left: 0; */
}
.contacto-opciones.visible {
  display: flex;
}


.contacto-opciones a {
  display: block;              /* ← Asegura que ocupen línea completa */
  padding: 12px 16px;
  text-decoration: none;
  color: black;
  transition: background-color 0.2s;
}
.contacto-opciones a:hover {
  background-color: #f1f1f1;
}
/* Hero */
.hero{
    background-color: white;
    position: relative;
    width: 100%;
    margin-bottom: 40px; 
    /* en margin yo puse 40px pero eran 100px,lo quite para que no se vea feo ya que elimine el boton tienda */
    padding: 0;
}
.hero img{
    width: 100%;
    height: auto;
    /* height: auto;  */
    position: block;
}
/* Testimonios */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #0e0d0d;
    margin-bottom: 15px;
}

.section-title p {
    color: #181717;
    max-width: 700px;
    margin: 0 auto;
}
.testimonials {
    padding: 40px 0;
    background-color: #e0e0e0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #eeeeee ;
    padding: 30px;
    border-radius: 10px;
    border: #0e0d0d solid 1px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #1a1a1a ;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: #111;
    margin-bottom: 5px;
}

.author-info p {
    color: #6a45e1;
    font-size: 14px;
}
/* Efecto de aparecida de la nada */
.slide-in-from-wall img {
    width: 100px;
}

.slide-in-from-wall {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-from-wall.visible {
    opacity: 1;
    transform: translateY(0);
}
/* aliados */
.aliados-container{
    background-color: white;
    padding-bottom: 40px; 
    /* en padding habian 80px, yo los cambie para quede mas compacto con la eliminacion del texto de bienvenida */
}
.aliados-container img {
    width: 150px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}
.aliados-container h1{
    text-align: center;
    margin-bottom: 45px;
    font-size: 35px;
}
/* efecto flechas */
.slider-container {
    background-color: #e0e0e0;
    padding-bottom: 25px;
}

.slider-container img{
    border-radius: 30px;
}

.slider-container h1{
    text-align: center;
    margin-bottom: 45px;
    font-size: 35px;
}
a.slide-content {
    text-decoration: none;
    display: block;
}

.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.product-price {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}
/* ----------------------------------------------------------- */
.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
  max-height: 140px;
  width: auto;
  filter: grayscale(0);
  transition: transform 0.3s;
}

.swiper-slide img:hover {
  transform: scale(1.1);
}






.scale-up-bottom {
  animation: scale-up-bottom 1.5s  ease-out forwards;
}
@keyframes scale-up-bottom {
  0% {
    transform: scale(0.5) translateX(-50%);
    transform-origin: center bottom;
    opacity: 0;
  }
  100% {
    transform: scale(1) translateX(-50%);
    transform-origin: center bottom;
    opacity: 1;
  }
}
/* Footer */
footer {
    background-color: #707070	;

    /* background: #ffe600; */
    padding: 60px 0 20px;
    border-top: 1px solid #424040;
}
.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 110px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #0e0d0d;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #0e0d0d;
}
.newsletter {
    grid-column: span 2;
}

.newsletter p {
    color: #0e0d0d;
    margin-bottom: 20px;
}

.newsletter-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    background-color: #e0e0e0;
}

.newsletter-input button {
    background: #0066FF;
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

.newsletter-input button:hover {
    background: #0052CC;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #0e0d0d;
    color: #999;
    font-size: 14px;
}

/* Responsive */
.menu-toggle{
    display: none;
}
@media (max-width: 768px) {
    /* Header responsive */
    header {
        padding: 10px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    nav {
        flex-wrap: wrap;
    }
    
    .logo_porEncargo img {
        width: 70px;
        height: 70px;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: black;
        cursor: pointer;
        order: 2;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #707070;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 15px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    
    .dolar-widget {
        display: none;
    }
}

.logo-img {
  max-width: 120px;   /* tamaño máximo en pantallas grandes */
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05); /* efecto suave al pasar el mouse */
}

@media (max-width: 768px) {
  .logo-img {
    max-width: 80px; /* más pequeño en tablets */
  }
}

@media (max-width: 480px) {
  .logo-img {
    max-width: 60px; /* aún más pequeño en móviles */
  }
}

