* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #30282b;
    --primary-dark: #3d3d3d;
    --secondary-color: #4d4d4d;
    --text-color: #333;
    --light-color: #fff;
    --gray-color: #f5f5f5;
    --border-color: #e0e0e0;
}

body {
   background-image: url(img/fondog.jpg);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    margin-top: 150px;
    flex-direction: row-reverse;
}

.form-container {
    flex: 1;
    padding: 40px;
}

.image-container {
    flex: 1;
    background-image: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(238, 226, 221, 0.986), rgba(214, 150, 188, 0.8));
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.subtitle {
    color: #777;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.field-group {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.field-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

#servicesList label {
  display: block;
  margin-bottom: 0.3rem;
}
#serviceList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

#serviceList label {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#serviceList label:hover {
  background-color: #e6f7ff;
}

#serviceList input[type="checkbox"] {
  transform: scale(1.2);
}


label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 20px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .image-container {
        height: 200px;
    }
    
    .form-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
}


* {
    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;
      justify-content: space-between;
      align-items: center;
      padding: 0 15px;
    }
  
    .nav-menu {
      display: flex;
      flex-direction: column;
      align-items: flex-start; /* para que íconos y texto se alineen bien */
      padding: 20px;
      border-radius: 10px;
      position: fixed;
      left: -300px;
      top: 110px;
      background-color: #ffffff;
      width: 270px;
      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;
      overflow-y: auto;
      gap: 10px;
    }
  
    .nav-menu.active {
      left: 0;
    }
  
    .header-top.hidden + .header .nav-menu {
      top: 70px;
    }
  
    .nav-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px;
      width: 100%;
      border-bottom: 1px solid #e5e5e5;
      font-size: 16px;
      color: #333;
      text-decoration: none;
    }
  
    .nav-item i {
      font-size: 18px;
      color: #000;
      min-width: 24px;
      text-align: center;
    }
  
    .nav-item:last-child {
      border-bottom: none;
    }
  
    .hamburger {
      display: block;
      cursor: pointer;
      position: relative;
      width: 28px;
      height: 24px;
      z-index: 1100; 
    }
  
    .hamburger .bar {
      display: block;
      width: 100%;
      height: 4px;
      background-color: #413d3d;
      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);
    }
  }
  
 
    .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; 
}

   

