/* Google Font moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #f6f7f8;
    margin: 0;
}

/* HERO */
.hero {
    background: #7db34d;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero-logo {
    width: 70px;
    margin-bottom: 20px;
}

.hero h1 {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 700;
}

.hero h2 {
    margin-top: 10px;
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.9;
}

/* FORMULARIO */
.form-section {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.form-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.08);
}

/* Logo del formulario */
.logo-container img {
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
}

select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    background: white;
}

.nota {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

.campo textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    resize: vertical;
}

.plazas-info {
    margin: 15px 0;
    padding: 10px;
    background: #f6f7f8;
    border-radius: 8px;
}

.plazas {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.plaza {
    font-size: 0.95rem;
}

.plaza.presencial strong {
    color: #7db34d;
}

.plaza.online strong {
    color: #4c8239;
}

.consentimiento {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
}


.form-box h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 700;
}

.form-box label {
    margin-top: 15px;
    display: block;
    font-weight: 600;
}

.form-box input {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fdfdfd;
    font-size: 1rem;
}

.form-box button {
    margin-top: 25px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #7db34d;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.form-box button:hover {
    background: #6aa242;
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #6ea544, #4c8239);
    color: white;
    margin-top: 60px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
}

.footer-left span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-right h4 {
    margin: 0;
    font-weight: 700;
}

.footer-right p {
    margin: 4px 0;
}


 /* Estilos Header */
  #introduccion {
    background: linear-gradient(135deg, #6ea544, #4c8239);
    padding: 20px 0;
    color: white;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    font-family: 'Roboto', sans-serif;
  }

  #introduccion .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #introduccion img {
    max-height: 80px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  /* Animación al pasar el mouse */
  #introduccion img:hover {
    transform: scale(1.1) rotate(-5deg);
  }

  #introduccion h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0;
  }

  #introduccion p {
    font-weight: 400;
    font-size: 1.2rem;
    margin-top: 8px;
    opacity: 0.85;
  }

  /* Responsive: reduce tamaño texto y logo en pantallas pequeñas */
  @media (max-width: 576px) {
    #introduccion img {
      max-height: 60px;
      margin-bottom: 10px;
    }
    #introduccion h1 {
      font-size: 1.8rem;
    }
    #introduccion p {
      font-size: 1rem;
    }
  }


  #mensaje-confirmacion {
    font-family: 'Roboto', sans-serif;
  }

  #mensaje-confirmacion .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

    .error-box {
            background-color: #ffffff;
            border: 2px solid #dc3545;
            border-radius: 8px;
            padding: 30px 50px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .error-box h1 {
            color: #dc3545;
            margin-bottom: 20px;
        }

        .error-box p {
            color: #333333;
            font-size: 18px;
        }
#cajacookies {
    box-shadow: 0px 0px 5px 5px #808080;
    background-color: #7eb04b;
    color: white;
    padding-top: 20px!important;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 801;
    font-size: 12px;
}

#cajacookies a {
    color: #A55D00!important;
}

#cajacookies p {
    margin-left: 108px;
    margin-right: 108px;
}

button.pull-right.boton {
    margin-top: 13px;
}

#cajacookies button {
  color: #7eb04b;
}

.boton {
  border-radius: 10px;
  background: #E4E4E4;
  border: 0px;
  padding: 5px;
  margin-left: 15px;
    font-weight: bold;
}

.boton:hover {
    color: #A55D00!important;
}