*{
    margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
    
}



body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* HEADER NEGRO */
.header {
 width: 100%;
 height: 600px;
  background-color:#000;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

header img {
  max-width: 290px;
  margin-bottom: 20px;
}

h1 {
  font-size: 30px;
  margin-bottom: 25px;
}

p {
  max-width: 600px;
  margin: 0 auto 20px;
  color: #bbb; /* gris más visible */
}
.btn-wsp {
  display: inline-block;
  background:#c1121f;
  color: #fff;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: none;
  transition: background 0.3s ease;
}

.btn-wsp:hover {
  background: #e01421;
}
/* BOTONES */
.btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
  font-weight: bold;
}

/* BOTÓN PRINCIPAL */
.btn-primary {
  background-color:#c1121f;
  color: #fff;
  border: none;
}

/* BOTÓN SECUNDARIO */
.btn-secondary {
  background-color: transparent;
  color:#c1121f;
  border: 1px solid#c1121f;
}

/* HOVER */
.btn-primary:hover {
  background-color:  #e01421;
}

.btn-secondary:hover {
  background-color: #c1121f;
  color: #fff;
}

/* SECCIÓN SERVICIOS (BLANCO) */

.nuestros_servicios {
  padding: 80px 20px;
  background: #f8f8f8;
}

/* 🔴 ESTE ES EL PROBLEMA NORMALMENTE */
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto; /* esto centra el bloque */
  text-align: center;
}

/* 🔴 FORZAR CENTRADO DEL TÍTULO */
.nuestros_servicios h2 {
  text-align: center;
}

/* 🔴 CENTRADO REAL DE LAS CARDS */
.servicios {
  display: flex;
  justify-content: center !important; /* fuerza centrado */
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.nuestros_servicios h2 {
font-size: 36px;
  color: #111;
  margin-bottom: 50px;
  position: relative;
}
.nuestros_servicios h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #c1121f; /* rojo marca */
  display: block;
  margin: 12px auto 0;
}


/* CONTENEDOR TARJETAS 
.servicios {
 display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; 
}
*/
/* TARJETAS */
.card {
  border: 1px solid #ddd;
  padding: 25px;
  width: 280px;
  text-align: center;
  background: #fff;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 10px;
 
}

.card:hover {
  border-color: #c1121f;
  transform: translateY(-5px);
}

/* IMAGEN */
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 15px;
}

/* TEXTO */
.card h3 {
  margin-bottom: 10px;
  color: #000;
}

.card p {
  color: #555; /* gris más fuerte para mejor lectura */
  font-size: 14px;
}
.container {
  max-width: 900px;
  width: 100%;
}

.container a{
  margin-top: 50px;
}



.nosotros {
  background: #ffffff;
  padding: 90px 20px;
  display: flex;
  justify-content: center;
}

.nosotros .container {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.nosotros h2 {
  font-size: 38px;
  color: #111; /* negro fuerte */
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
}

.nosotros h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #c1121f; /* rojo elegante */
  display: block;
  margin: 14px auto 0;
  border-radius: 2px;
}

.nosotros p {
  font-size: 18px;
  line-height: 1.8;
  color: #444; /* gris oscuro */
  max-width: 750px;
  margin: 0 auto;
}

.faq-section {
  background: #222222;
  padding: 80px 20px;
  color: #e5e7eb;
  font-family: 'Segoe UI', sans-serif;
}

.container {
  max-width: 900px;
  margin: auto;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.faq-category {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #ffffff;
  border-left: 3px solid #c1121f;
  padding-left: 10px;
}

.faq-item {
  border-bottom: 1px solid #c1121f;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  outline: none;
  padding: 18px 10px;
  font-size: 1rem;
  color: #f1f5f9;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 10px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 10px 15px 10px;
  color: #ffffff;
  line-height: 1.6;
}

/* CTA */
.faq-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-cta {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #c1121f;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-cta:hover {
  background:  #e01421;
}





/* FOOTER */
.footer{
    width: 100%;
    height: 270px;
    background:#000;
color: white;
display: flex;
grid-template-columns: 1fr 1fr 1fr;
gap:40px;
}

.box-1{
    width: 100%;
    display:grid;
    place-items: center;
    background-color: black;
}

.box-1 img{
 max-width: 290px;
  height: 200px;
}

/*.box-2 p{
    margin-top: 20px;
   
}
.box-2 a{
    margin-top: 35px;
    text-decoration: none;
    color: white;
   
}
.box-3{
    margin-top: 70px;
    margin-left: 20px;
}

.box-3 p{
    margin-top:20px ;
    
}*/
.box-3 a{
    text-decoration: none;
    color: white;
}
.pie div{
    width: 100%;
    height: 80px;
    background: #c1121f;
    color:white;
    font-weight: 800;
    display: inline-flex;
    justify-content: space-between;
   
}

 
.pie p{
    margin-top: 35px;
    margin-right: 20px;
    color:white;
}

.pie img{
  width: 190px;
  height: 100px;
    
}

.aviso__cookies{
    width: 100%;
    height: 180px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 2px 20px 10px rgba(222,222,222,.25);
    display: none;
    position: fixed;
    padding: 25px;
    padding-bottom: 0px;
    z-index: 100;
    bottom:1px;
  
  }
  .aviso__cookies.activo{
    display:block;
  }
  .aviso__cookies img{
    width: 45%;
    height: 45%;
    position:absolute;
    margin-left: -250px;
  }
  .aviso__cookies P{
    width: 85%;
    margin-left: 120px;
    font-family:Arial, Helvetica, sans-serif ;
  
  }
  
  .parrafo_cook span{
    font-size: 25px bold;
  }
  
  .botones__cookies{
  margin-top: 20px;
  text-align: center;
  
  }
  .botones__cookies button{
    padding: 15px;
    font-size: 15px;
    background: #595959;
    color:white;
    cursor: pointer;
    transition: .3s ease all;
    font-weight: 700;
    font-family: sans-serif;
    border:none;
    border-radius: 9px;
  }
  .botones__cookies button:hover{
   background: black;
  
  }
  .botones__cookies a{
    margin-left:25px;
    text-decoration: none;
    color: #4DBFFF;
    font-family: Arial, Helvetica, sans-serif;
  }
  .botones__cookies a:hover{
    text-decoration: underline blueviolet;
  }
  .gradientgalletas{
  
  display: none;
  background: rgba(0,0,0, .20);
  position: fixed;
  z-index: 99;
  width: 100vw;
  height: 100vh;
  top:0;
  left:0;
  }
  .gradientgalletas.activo{
  display:block;
  }
  







  /* ============================= */
/* 📱 MÓVILES PEQUEÑOS (≤480px) */
/* ============================= */
@media (max-width: 480px) {

  .header {
    height: auto;
    padding: 40px 15px;
  }

  header img {
    max-width: 180px;
  }

  h1 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }

  .btn-wsp {
    font-size: 13px;
    padding: 10px 20px;
  }

  .servicios {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    width: 100%;
    max-width: 320px;
  }

  .card img {
    height: 140px;
  }

  .nuestros_servicios h2 {
    font-size: 26px;
  }

  .nosotros h2 {
    font-size: 26px;
  }

  .nosotros p {
    font-size: 15px;
  }

  .faq-section h2 {
    font-size: 1.6rem;
  }

  .faq-question {
    font-size: 0.9rem;
  }

  /* FOOTER */

   .footer{
        width: 100%;
        height: 450px;
    gap:100px;
    justify-content: center;
    padding-right: 40px;
    }
    
    .box-1{
        width: 100%;
        display: grid;
        place-items: center;
        align-items: center;
        justify-content: center;
    }
    .box-1 img{
       margin-left: 40px;
    }
    .box-2 h2{
margin-top: -20px;
    }

    .pie img{
      width: 200px;
      height: 200px;
    }
}



/* ============================= */
/* 📱 MÓVILES GRANDES (≤768px) */
/* ============================= */
@media (max-width: 768px) {

  .header {
    height: auto;
    padding: 50px 20px;
  }

  header img {
    max-width: 220px;
  }

  h1 {
    font-size: 26px;
  }

  .servicios {
    gap: 25px;
  }

  .card {
    width: 90%;
    max-width: 400px;
  }

  .nuestros_servicios {
    padding: 60px 20px;
  }

  .nosotros {
    padding: 60px 20px;
  }

  .nosotros p {
    font-size: 16px;
  }

  .faq-section {
    padding: 60px 20px;
  }

  .pie img{
      width: 200px;
      height: 200px;
    }




  .footer {

    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  
   
  }

  

  .footer > div {
    max-width: 100%;
  }

  .box-1 img {
    width: 140px;
  }

  .footer h2 {
    font-size: 16px;
  }
    
   .aviso__cookies{
        width: 100%;
        height: 370px;
        
        
        }
        .aviso__cookies img{
        width: 15%;
        height: 15%;
        margin-left: -10px;
        }
        .aviso__cookies P{
        font-size: 15px;
        margin-left: 60px;
        justify-content:justify;
        font-family: Arial, Helvetica, sans-serif;
        }
        .parrafo_cook span{
        font-size: 10px bold;
        }
        .botones__cookies{
        margin-top: 20px;
        text-align: center;
        
        }
        
        .botones__cookies button{
        padding: 10px;
        font-size: 12px;
        margin-left: 38px; 
        }
        .botones__cookies a{
        font-family: Arial, Helvetica, sans-serif;
        font-size: 10px;
        }
        .politica button{
        font-size: 10px;
        
        }

  }


