/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .contenido {
    display: none;
  }
  .contenido-activo{
    display: block;
  }
  body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #d4ecff, #ffffff);
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  
  /* Header */
  .header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
  }
  
 /* Estilo del logo */
.logo {
  width: 500px;
  margin: -100px;
}

/* Botón hamburguesa */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid #333;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: -20px auto 0;
  position: relative;
  z-index: 2;
}


.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación a X cuando está activo */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: red; /* color al activarse */
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: red;
}

/* Menú desplegable */
.menu-desplegable {
  display: none;
  position: absolute;
  top: 270px; /* o ajusta según altura del logo */
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 20px;
  z-index: 1000;
  width: 300px;
}

.menu-desplegable ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-desplegable li {
  border-bottom: 1px solid #eee;
}

.menu-desplegable li a {
  display: block;
  padding: 20px 20px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.menu-desplegable li a:hover {
  background-color: #f3f3f3;
}
  
  /* Título */
  .headline {
    font-size: 50px;
    margin-top: 1rem;
    margin-bottom: 10px;
    color: #2a4c70;
  }
  .subtitulo {
    font-size: 20px;
    color: #2a4c70;
    margin-bottom: -50px;
  }
  
  /* Imagen de cilindros */
  .content{
    width: 95vw;
    max-width: 1000px;
    min-width: 320px;
    margin: auto;
  }

  .cylinders-img {
    width: 100%;
    height: auto;
    margin: 1.8rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 50px ;
  }

  
 .boton-fijo {
  position: fixed;
  bottom: -20px;
  right: 20px;
  z-index: 1000;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease;
  
}

.boton-fijo:hover {
  transform: scale(1.05);
}

.boton-fijo img {
  width: 380px;
  height: auto;
  max-width: 100%;
  border: none;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .boton-fijo img {
    width: 140px;
  }
}

@media (max-width: 480px) {
  .boton-fijo {
    bottom: -40px;
    right: -65px;
  }

  .boton-fijo img {
    width: 300px;
  }
}

@keyframes zoom-suave {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.boton-fijo img {
  width: 320px;
  height: auto;
  border: none;
  animation: zoom-suave 2s ease-in-out infinite;
}

  /* Botones */
  .buttons {
    display:flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;

    
  }

  .buttons {
    position:relative;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  }
  
  .btn {
    padding: 0.8rem 3.1rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  
  .btn.whatsapp {
    background: #25d366;
  }
  
  .btn.call {
    background: #ff6f00;
  }
  
  .btn:hover {
    opacity: 0.9;
  }

  /* Contenedor general con tarjeta */
.tarjeta-hogar {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}

/* Flex responsive */
.seccion-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

/* Imagen adaptativa y centrada */
.img-contenido {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* Texto con formato limpio */
.columna-texto p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
  padding: 0 1rem;
}

/* Estilo para el título */
.titulo-menu-h2 {
  text-align: center;
  font-size: 2rem;
  color: #34495e;
  margin-bottom: 2rem;
  font-weight: bold;
}

  
  .texto-montacarga {
  text-align: justify;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #2c3e50;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
}

.texto-montacarga p {
  margin-bottom: 1rem;
}

.img-montacarga {
  width: 100%;
  max-width: 400px; /* Ajusta según tu diseño */
  height: auto;
  display: block;
  margin: 0 auto; /* Centra la imagen horizontalmente */
  border-radius: 10px; /* Opcional: bordes redondeados */
}


  .menu{
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    color: white;
  }
  .menu button{
    background-color: transparent;
    color:#000;
    border: 1px solid #c3c3c3;
    padding: 10px 1px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    flex: 1 1 auto;
    min-width: 100px;
    max-width: 200px;
    flex: 1;
  }
  .menu button:hover,
  .menu button.active{
    background-color:#2dafe7;
    color: white;
  }
 
  
/* Contenedor responsive en dos columnas */
.seccion-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Columna de imagen */
.columna-imagen {
  flex: 1 1 40%;
  max-width: 400px;
}

.columna-imagen img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* Columna de texto */
.columna-texto {
  flex: 1 1 55%;
}

.columna-texto h2 {
  font-size: 40px;
  color: #2dafe7;
  margin-bottom: 10px;
  text-align:center;
}

.columna-texto p {
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
  padding: 10px;
}

/* Responsive: apilar en móvil */
@media (max-width: 768px) {
  .seccion-flex {
    flex-direction: column;
    text-align: center;
  }

  .columna-texto h2 {
    text-align: center;
  }
}

.titulo-menu-h2{
  text-align: center;
  font-size: 40px;
  color: #2dafe7;
  margin-bottom: 10px;
}

.espaciador-final{
  height: 80px;
  margin-top: 30px;
}

.titulo-cilindros-montacarga{
color: #2dafe7;
font-size: 40px;
margin-top: 10px;
text-align: center;
}
.img-montacarga{
  max-width: 400px;
  margin-top: 30px;
  border-radius: 10px;
  
}

.contenedor-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap; /* para móviles */
  padding: 20px;
}

.texto-montacarga {
  flex: 1 1 400px;
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  color: #1d1d1d;
  line-height: 1.9;
  max-width: 600px;
}

.imagen-montacarga {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.imagen-montacarga img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .contenedor-flex {
    flex-direction: column;
    text-align: center;
  }

  .texto-montacarga {
    max-width: 100%;
    padding: 10px;
  }
}

/* Animación cuando se activa */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: red;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background-color: red;
}

.producto {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}



.producto img {
  max-width: 100%;
  max-height: 200px; /* o ajusta según prefieras */
  object-fit: contain;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.producto h3 {
  font-size: 20px;
  font-weight: bold;
  color: #2a4c70;
  margin-bottom: 8px;
}

.producto p {
  font-size: 15px;
  color: #555;
  line-height: 1.4;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas por defecto (celular/tablet) */
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: stretch;
}

.productos-grid {
  align-items: stretch;
}

.producto-contenido {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .productos-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en pantallas grandes */
  }
}


@media (max-width: 400px) {
  .productos-grid {
    grid-template-columns: 1fr;
  }
}

.btn-producto {
  margin-top: 20px;
  align-self: center;
  padding: 10px 20px;
  background-color: #2dafe7;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-producto:hover {
  background-color: #1a8fc0;
  transform: scale(1.05);
}


.contact-section {
  padding: 2rem;
  background-color: #f0f4f8;
  font-family: Arial, sans-serif;
  text-align: center;
  border-radius: 12px;
}

.contact-section h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: 1.1rem;
  color: #34495e;
  margin: 1rem 0;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.whatsapp-btn,
.call-btn,
.email-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: fit-content;
}

.whatsapp-btn {
  background-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #1ebf5b;
}

.call-btn {
  background-color: #3498db;
}

.call-btn:hover {
  background-color: #2c80b4;
}

.email-btn {
  background-color: #9b59b6;
}

.email-btn:hover {
  background-color: #884ea0;
}

.contact-form-section {
  padding: 2rem;
  background-color: #ffffff;
  font-family: Arial, sans-serif;
  text-align: center;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.contact-form-section h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.contact-form-section p {
  font-size: 1rem;
  color: #34495e;
  margin-bottom: 1.5rem;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #27ae60;
}


.payment-section {
  padding: 2rem;
  background-color: #fdfdfd;
  font-family: Arial, sans-serif;
  text-align: center;
  border-radius: 12px;
  margin-top: -80px;
}

.payment-section h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.payment-section p {
  font-size: 1rem;
  color: #34495e;
  margin-bottom: 2rem;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.payment-card {
  background-color: #ecf0f1;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 1rem;
  color: #2c3e50;
  transition: transform 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-5px);
}

.efectivo { background-color: #dff9fb; }
.nequi    { background-color: #ffeaa7; }
.daviplata { background-color: #fab1a0; }
.link     { background-color: #dfe6e9; }

.pago-numero {
  font-weight: bold;
  color: #0984e3;
}

.footer-spacer {
  height: 80px; /* Ajusta la altura según lo necesites */
}



.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-contenido {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 450px;
  border-radius: 8px;
  position: relative;
  text-align: center;
}

.modal-contenido input {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-contenido button {
  background: #28a745;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
  width: 100%;
}

.cerrar {
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

#contenedorImagenCilindro {
  margin-top: 10px;
}

/* ==== Fix responsive (solo logo y H1 en móvil) ==== */
@media (max-width: 768px){
  .logo{
    width: 220px;
    margin: 8px auto 0;
  }
  .headline{
    font-size: 28px;
    line-height: 1.2;
  }
}

@media (max-width: 480px){
  .logo{
    width: 160px;
    margin: 6px auto 0;
  }
  .headline{
    font-size: 22px;
    line-height: 1.25;
  }
}

/* ==== Ajuste CTAs: WhatsApp + Llamar más juntos ==== */
.buttons{
  gap: 8px !important;            /* antes más separados */
}
.btn{
  padding: 10px 18px !important;  /* un pelín más compactos */
}

@media (max-width: 768px){
  .buttons{ gap: 6px !important; }
  .btn{
    padding: 10px 14px !important;
    min-width: 130px;
    font-size: 0.95rem;
  }
}
@media (max-width: 480px){
  .buttons{ gap: 4px !important; }
  .btn{
    padding: 9px 12px !important;
    min-width: 120px;
    font-size: 0.9rem;
  }
}

/* ==== Tabs Hogar/Negocio/Industria/Asador más pequeños ==== */
.menu{ gap: 8px; }

.menu button{
  font-size: 14px !important;     /* 15 -> 14 */
  padding: 8px 10px !important;   /* menos alto/ancho */
  min-width: 92px !important;     /* 100 -> 92 */
  max-width: 180px !important;    /* para que no crezcan tanto */
}

@media (max-width: 768px){
  .menu{ gap: 6px; }
  .menu button{
    font-size: 13px !important;
    padding: 7px 10px !important;
    min-width: 86px !important;
  }
}
@media (max-width: 480px){
  .menu{ gap: 4px; }
  .menu button{
    font-size: 12px !important;
    padding: 6px 10px !important;
    min-width: 80px !important;
  }
}


