    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 1px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      z-index: 1000;
    }
    
    header .logo {
      font-size: 24px;
      font-weight: bold;
      color: #005073;
    }
    nav a {
      margin: 0 30px;
      text-decoration: none;
      color: #333;
      font-weight: 500;
      font-family: Nyala; 
      font-size: 20px
    }
    nav a:hover {
      color: #005073;
    }
    .btn {
      background: #005073;
      color: white;
      padding: 8px 15px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
      width: 110px;
      height: 28px;
      margin-right: 12px;
      font-family: Nyala; 
      font-size: 20px;
    }
    .btn:hover {
      background: #0077b6;
    }
    h2{
        text-align: center;
    }

.hero {
   position: relative; 
        height: 400px; 
        background: #111; 
        color: white; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        text-align: center; 
        margin-top: 110px;
    }
    .hero img { 
        position: absolute; 
        inset: 0; width: 100%; 
        height: 100%; 
        object-fit: cover; 
        opacity: 0.4; }
    .hero h1 { 
        position: relative; 
        font-size: 2.5rem; 
        font-weight: bold; 
    }

    .contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
   
}

.contact-container {
    display: flex;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 90%;
}

/* Lado izquierdo: formulario */
.contact-form-side {
    flex: 1;
    padding: 40px;
    background-color: #f9f9f9;
    text-align: center;
}

.contact-form-side h1 {
    color: #2575fc;
    margin-bottom: 10px;
}

.contact-form-side p {
    margin-bottom: 25px;
    color: #555;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 50px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2575fc;
    outline: none;
}

.contact-form label {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #aaa;
    font-size: 16px;
    pointer-events: none;
    transition: 0.3s;
}

.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #2575fc;
    background-color: #f9f9f9;
    padding: 0 5px;
}

.error {
    display: none;
    color: red;
    font-size: 12px;
    text-align: left;
    margin-top: 5px;
}

.success-msg {
    display: none;
    color: green;
    margin-top: 15px;
}

.contact-form button {
    background: linear-gradient(90deg, #0f172a, #005073, #0077b6);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}
.con, .lla{
  background: linear-gradient(90deg, #0f172a, #005073, #0077b6);
}


/* Lado derecho: información */
.contact-info-side {
    flex: 1;
    padding: 40px;
    background: #f5f5f5;
    color: black;
    text-align: center;
}

.contact-info-side h2 {
    margin-bottom: 15px;
}

.contact-info-side h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Responsive: columnas se apilan en móvil */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-info-side {
        padding: 30px;
    }

    .contact-form-side {
        padding: 30px;
}
}


.whatsapp-button {
  position: fixed; /* Fija el elemento en la pantalla */
  bottom: 50px;    /* Distancia desde la parte inferior */
  right: 50px;     /* Distancia desde la parte derecha */
  z-index: 100;    /* Asegura que esté sobre otros elementos */
  display: block;  /* Asegura que el enlace ocupe el espacio del img */
}

.whatsapp-button img {
  width: 64px;     /* Ancho del icono */
  height: 64px;    /* Alto del icono */
  border-radius: 50%; /* Para un botón redondo (opcional) */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Sombra para hacerlo flotante */
}

   .campo{
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;           /* permite que se acomode en pantallas chicas */
        animation: slideInDown 0.8s ease forwards;
        
        
        
    }
    .eslogan{
        flex: 1 1 45%;             /* ocupa la mitad en pantallas grandes */
        display: flex;
        justify-content: center;
    }
    .redes{
        flex: 1 1 50%;             /* ocupa la otra mitad */
        font-size: 1.5rem;
        line-height: 1.4;
        text-align: center;
    }
    .footer{
        background: linear-gradient(90deg, #0f172a, #005073, #0077b6);
        color: white;
        height: max-content;
    
    }
    .Designed{
      text-align: center;
    }
    .logo-face{
        width: 57px;
        height: 57px;
    }
    .logo-linke{
        width: 55px;
        height: 55px;
    }
    .logo-insta{
        width: 55px;
        height: 55px;
    }


    .modal {
    display: none; 
    position: fixed; 
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
}