* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .header {
    background-color:#efefef;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 1200px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.4s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 100;
    border-radius: 30px;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.nav-menu {
  display: flex;
  justify-content: center; 
  align-items: center;
  list-style: none;
  gap: 130px;
  width: 100%; 
  padding: 0;
  margin: 0 auto; 
}
.nav-menu li {
    display: inline-block;
}

.logo-container {
    display: flex;
    gap: 16px; 
    align-items: center;
}

.logo-container img {
  width: 20px;
  height: auto;
    
}



  @media (max-width: 768px) {
    .header {
      width: 100%; 
      border-radius: 0; 
justify-content: space-between;
      height: 70px; 
      padding: 30px;
    }
    .header img{
      margin-right: -20px;
    }
    .nav-menu img{
      margin: 3px;
    }
  }

  
  




.header.fixed {
    top: 0; 
}
 
  .logo-header {
    display: flex;
    align-items: center;
  }
  
  .logo-header {
    max-height: 100px;
  }
 

  .nav-menu .ig {
    width: 30px;
  }
 .nav-menu .wpp{
    width: 27px;
 }
  a{
    display: inline-block;
  }
  .nav-link {
    font-size: 17px;
    font-weight: 500;
    color: #262626;
    text-decoration: none;
    padding-left: 10px;
    transition: 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
  }
 
  
  .nav-link:hover {
    color: #b8b0b0;
transform: translateY(-7px);

  }

  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #333333;
  }
  .icono-inicio{
    display: none;
  }
  .icono-servicios{
 display: none;
  }
  .icono-nosotros{
display: none;
  }
  .icono-contacto{
  display: none;
  }

  @media (max-width: 768px) {
 
    header {
      flex-direction: row-reverse; 
  }
  

  .nav-menu {
    border-radius: 10px;
    position: fixed;
    left: -300px; 
    top: 110px; 
    gap: 0;
    margin-left: 0px;
    flex-direction: column;
    background-color: #ffffff;
    width: 270px;
    text-align: right;
    transition: 0.3s;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);

    border-right: 1px solid #e5e5e5;
    height: calc(80vh - 40px);
    z-index: 1000; 
  }
  
  .nav-menu.active {
    left: 0; 
  }
  
  .header-top.hidden + .header .nav-menu {
    top: 70px; 
  }
  
  .nav-item {
    margin: 50px 0;
    padding-bottom: 12px;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .nav-item:last-child {
    border-bottom: none;
  }
  .hamburger {
    display: block;
    cursor: pointer;
    position: relative;
    width: 28px;
    height: 24px;
  }
  
  .hamburger .bar {
    display: block;
    width: 80%;
    height: 4px;
    background-color: #FAF8F5;
    margin: 5px 0;
    transition: 0.3s ease-in-out;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hamburger .bar {
    background-color: #413d3d;
  }
  

    .nav-menu.active {
      right: 0; 
    }
  }
 
    .header-top {
        position: fixed ;
        top: 0;
        left: 0;
        width: 100%;
        transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out;
        background-color: #dad2d2;
        height: 50px;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-top.hidden {
        transform: translateY(-100%);
        opacity: 0;
    }
    
    .header.fixed {
        top: 0; 
    }
    .contenedor_texto1 {
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        width: 100%;
    }
    
    
    
    @keyframes deslizar {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }
    
    .texto-slider p {
        font-size: 17px;
        min-width: max-content;
        padding: 10px;
        color:  #534d39;
        font-family: 'Poppins', sans-serif;
    }
    .texto-slider {
      display: flex;
      gap: 50px; 
      width: max-content;
      align-items: center;
      animation: deslizar 15s linear infinite;
      justify-content: center;
  }
  
.texto-slider img{
  width: 29px;
  height: 29px; 
  padding: 6px;

  display: inline-block;
  vertical-align: middle; 
  object-fit: contain; 
}

   

footer {
  background-color: #333;
  color: #fff;
  padding: 80px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 5px;
}

.footer-logo p {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #aaa;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: #ffffff;
  bottom: 0;
  left: 0;
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.footer-services a {
  color: #ccc;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover,
.footer-services a:hover {
  color: #f7f7f7;
  padding-left: 5px;
}

.footer-newsletter p {
  color: #ccc;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.newsletter-form button {
  background-color: #020202;
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #f57bc3;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #7a7076;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #aaa;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #242323;
}

/* Footer responsive */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}


html, body {
  overflow-x: hidden;
  width: 100%;
}

h1, h2 , h3, h4{
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

span{
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}
p , a, li{
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
background-image: url(img/fondog.jpg);
    color: #333;
  }

  .contacto {
    padding: 200px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .contacto h2 {
    font-size: 3rem;
    color: #1d1b1c;
    margin-bottom: 20px;
  }

  .contacto p {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }

  .info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
  }

  .card {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
  }

  .card:hover {
    transform: translateY(-5px);
  }

  .card h3 {
    color: #0f0f0f;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .card a {
    color: #6d2121;
    font-weight: bold;
    text-decoration: none;
  }

  .card a:hover {
    text-decoration: underline;
  }

  .video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
  }
  
  .video-container:hover {
    transform: scale(1.05);
  }
  
  .video-container video {
    width: 100%;
    height:250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  

  .video-texto {
    margin-top: 20px;
    font-style: italic;
    color: #555;
  }

  @media (max-width: 600px) {
    .contacto h2 {
      font-size: 2rem;
    }

    .card h3 {
      font-size: 1.2rem;
    }
  }