* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; 
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #fff;
  color: #333;
}


.logo-container {
    width: auto;
    height: 80px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-container img {
    height: 130px;
    margin-bottom: 0;
}

/* Reglas para la rejilla de logos: normalizar espaciado y alinear arriba
   Esto reduce huecos causados por márgenes inline grandes en imágenes. */
.logo-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px; /* espacio entre items */
  align-items: flex-start;
}

/* Cada logo-item tiene ancho fijo para uniformidad; se centra su contenido */
.logo-slider .logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 160px; /* ancho consistente por columna (reducido) */
  min-width: 120px;
}

/* Imagenes: limitamos tamaño, anulamos transforms/margenes inline y mantenemos proporción */
.logo-slider .logo-item img {
  display: block;
  width: auto !important;
  max-width: 110px !important; /* tamaño más pequeño y uniforme */
  max-height: 80px !important;
  height: auto !important;
  transform: none !important;
  margin: 0 0 6px 0 !important; /* reduce separación vertical */
  object-fit: contain;
}

.logo-slider .logo-item .logo-title {
  margin-bottom: 8px;
  text-align: center;
  white-space: normal; /* permite que los títulos ocupen varias líneas */
  font-size: 0.95rem;
  color: #333;
}

.servicios-sachet {
  width: 100%;
  background-color: #f8f9fa;
  padding: 80px 40px;
}

.section-title {
  text-align: center;
  color: #58585a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(1rem, 3.2vw, 1.55rem);
  line-height: 1.2;
  margin-bottom: 60px;
}

.service-header h2 {
  color: #58585a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(1rem, 3.2vw, 1.55rem);
  line-height: 1.2;
}
.servicios-sachet .servicios-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.servicios-sachet .servicio-item {
  background-color: #ffffff;
  text-align: center;
  flex-basis: 250px;
  flex-grow: 1;
  max-width: 280px;
  padding: 40px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.servicios-sachet .servicio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(20, 99, 156, 0.15);
}
.servicios-sachet .servicio-item .icono {
  color: #58585a;
  font-size: 2.8rem;
  margin-bottom: 25px;
}
.servicios-sachet .servicio-item h3 {
  color: #58585a;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.servicios-sachet .servicio-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}
  
.form-section {
  width: 100%;
  padding: 80px 20px;
 }
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
}
.form-header {
  text-align: center;
  margin-bottom: 50px;
}
.form-header h2 {
  color: #58585a;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: clamp(1.1rem, 4.2vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 10px;
}
.form-header p {
  color: #58585a;
  font-size: 1rem;
  font-weight: 500;
}
.form-columns {
  display: flex;
  gap: 50px;
}
.form-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-column h3 {
  color: #58585a;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.input-group label {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #444;
}
.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  outline: none;
  border-color: #58585a;
  box-shadow: 0 0 0 3px rgba(20, 99, 156, 0.15);
}
.input-group textarea {
  min-height: 125px;
  resize: vertical;
}
.dimensions-group {
  display: flex;
  gap: 15px;
}
.dimensions-group .input-group {
  margin-bottom: 0;
}
.services-group .options {
  display: flex;
  gap: 25px;
  align-items: center;
  padding-top: 5px;
}
.services-group .checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.services-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ffd700;
}
.submit-button {
  width: 100%;
  padding: 15px;
  background-color: #58585a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 30px;
  transition: background-color 0.3s, transform 0.2s;
}
.submit-button:hover {
  background-color: #ffd700;
  transform: scale(1.01);
  color: #58585a;
}

.site-footer {
    background-color: #58585a;
    color: #d1d5db;
}
.footer-main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.footer-column h3 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 12px;
}
.footer-column a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column a:hover {
    color: #ffffff;
}
.footer-column .contact-item i {
    width: 20px;
    margin-right: 8px;
    color: #ffffff;
}
.footer-socials {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}
.footer-socials a {
    font-size: 1.3rem;
}
.footer-cta-button {
    display: inline-block;
    margin-top: 25px;
    background-color: #ffd700;
    color: #58585a !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}
.footer-logos img {
    max-width: 100%;
    height: auto;
}
.footer-map iframe {
    width: 100%;
    height: 180px;
    border: 0;
    border-radius: 8px;
}
.footer-bottom-bar {
    border-top: 1px solid #ccc;
    padding: 20px 0;
}
.footer-bottom-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: right;

}
.footer-bottom-bar a {
    font-size: 0.9rem;
    color: #d1d5db;
}


@media (max-width: 1024px) {

    
    .servicios-sachet,
    .form-section {
        padding: 60px 30px;
    }

    .form-columns {
        flex-direction: column;
        gap: 40px;
    }

    .form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
        padding: 0 20px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .logo-container {
        width: auto;
        height: auto;
        background-color: transparent;
        justify-content: flex-start;
    }

    .logo-container img {
        height: 110px !important;
    }
    

    .servicios-sachet,
    .form-section {
        padding: 50px 20px;
    }

    .servicios-sachet .section-title {
        font-size: 1.12rem;
    }  

    .form-column h3{
      text-align: center;
    } 
    
    .form-container {
        padding: 30px 20px;
    }
    
    .dimensions-group {
        flex-direction: column;
        gap: 10px;
    }

    .services-group .options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-main-content {
        text-align:start;
        gap: 30px;
        padding: 50px 20px;
    }

    .footer-column .contact-item {
        justify-content: start;
    }
    
    .footer-socials {
        justify-content: start;
    }

    .footer-bottom-bar-content {
        text-align: center;
    }
}

.footer-payment-logos {
  text-align: center;
  margin-top: 15px;
  
}

.footer-payment-logos img {
  max-width: 360px; 
  height: auto;
  display: inline-block;
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 26px;
  z-index: 10001;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.23);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background 0.2s;
  animation: wsp-attention 6s ease-in-out infinite;
}
.whatsapp-float i { font-size: 2.3rem; line-height: 1; display: block; }
.whatsapp-float:hover { background: #1ebe57; color: #fff; }
.whatsapp-float::after {
  content: "1";
  position: absolute;
  top: -6px;
  right: -6px;
  background: #f8d042;
  color: #58585a;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
@keyframes wsp-attention {
  0%, 80%, 100% { transform: translateZ(0) scale(1); box-shadow: 0 4px 12px rgba(0,0,0,0.23); }
  82% { transform: translateZ(0) scale(1.06); box-shadow: 0 6px 16px rgba(0,0,0,0.28); }
  84% { transform: translateZ(0) scale(1); }
  86% { transform: translateZ(0) scale(1.06); box-shadow: 0 6px 16px rgba(0,0,0,0.28); }
  88% { transform: translateZ(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float { animation: none; } }
@media (max-width: 600px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-float i { font-size: 2rem; }
}

.carousel {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  background-color: #000;
  margin-top: 0;
  padding: 0;
}

.carousel-inner {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  background-color: #58585a;
  position: relative;
}

.carousel-image {
  width: auto;
  height: auto;
  display: none;
  max-width: min(100%, 1600px);
  max-height: 80vh;
  margin: 0 auto;
  object-fit: contain;
}

.carousel-image.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 10;
  transition: background-color 0.3s;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 20;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.25);
  cursor: pointer;
  padding: 0;
  display: inline-block;
  transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}
.carousel-dot:hover { transform: scale(1.15); }
.carousel-dot.active { background: #f8d042; border-color: rgba(0,0,0,0.35); opacity: 1; }

@media (max-width: 1366px) {
  .carousel-image { max-height: 65vh; }
}

@media (max-width: 1024px) {
  .carousel-image { max-height: 55vh; }
}

@media (max-width: 768px) {
  .carousel-image { max-height: 45vh; }
  .carousel-btn { font-size: 1.6rem; padding: 0.4rem 0.8rem; }
}

@media (max-width: 480px) {
  .carousel-image { max-height: 38vh; }
  .carousel-btn { font-size: 1.4rem; padding: 0.3rem 0.6rem; }
}


/* Reseteo mínimo */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; overflow-x: hidden; font-family: system-ui, Arial, sans-serif; }
body { padding-top: 80px; } /* para que el header fijo no tape el contenido */

/* Header fijo */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: block; }
.logo-image { height: 70px; width: auto; }

/* Navegación desktop */
.main-navigation {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  background-color: white;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item { position: relative; }

.nav-link {
  text-decoration: none;
  font-weight: 600;
  color: #58585a;
  padding: .5rem 0;
  position: relative;
  transition: color .2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: #f8d042;
  transition: width .25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link.highlight {
  background: #f8d042;
  color: #58585a;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #58585a;
  cursor: pointer;

}

@media (max-width: 768px) {
  .site-header { z-index: 4000; }
  .header-container { height: 80px; padding: 0 16px 0 56px; position: relative; justify-content: center; }
  .logo-container { margin: 0 auto; }
  .logo-image { height: 60px; }

  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    z-index: 3001; position: absolute; left: -90px; right: auto; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; /* área táctil cómoda */
    padding: 0; margin: 0;
  }

  .main-navigation {
    position: fixed;
    top: 80px; left: 0; right: auto; bottom: 0;
    width: min(85vw, 320px);
    height: calc(100vh - 80px);
    background: #ffffff !important;
    backdrop-filter: none;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    z-index: 5001;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-100%);
    transition: transform .28s ease, visibility 0s linear .28s;
  }

  .main-navigation::before {
    content: "";
    position: fixed;
    top: 80px; left: 0; right: 0; bottom: 0;
    background: #ffffff !important;
    z-index: -1;
  }

  .main-navigation.is-active {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background-color: white;
  }

  .nav-link {
    display: block;
    width: 100%;
    font-size: 1.06rem;
    padding: 10px 6px;
  }

  .nav-link.highlight {
    margin-top: 8px;
    align-self: center;
  }

  body.no-scroll { overflow: hidden; }
}