body {
    font-family: 'Open Sans', Arial, sans-serif;
    background: #f7f9fb;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1 {
    color: #f2992a;
    margin-top: 40px;
    font-size: 48px;
    font-weight: 400;
}

form {
    margin: 20px auto;
    width: 100%;
    max-width: 900px;
    padding: 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

/* Mejorar las reglas de media queries */
@media (max-width: 767px) {
    h1 {
        font-size: 32px;
        margin-top: 20px;
    }
    
    form {
        padding: 15px;
        margin: 15px;
    }
    
    .row {
        display: flex;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
    
    .form-group {
        padding: 8px 0;
    }
    
    .boton button {
        margin-top: 20px;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .col-sm-6 {
        width: 100%;
        padding: 0 10px;
    }
    
    /* Importante: sobrescribir reglas de Bootstrap para móviles */
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .telefono-container {
        flex-direction: column;
    }
    
    .telefono-container select,
    .telefono-container input {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
  .telefono-container {
    flex-direction: column;
    gap: 5px;
  }
  
  .telefono_ca, 
  .telefono {
    width: 100% !important;
  }
  
  .boton button {
    width: 100%;
    padding: 12px 20px;
  }
}

label {
    color: #888;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.required {
    color: #f2992a;
    font-size: 14px;
}

input[type="email"] {
    width: 100%;
    border: none;
    border-bottom: 2px solid #f2992a;
    padding: 10px 0;
    font-size: 18px;
    background: transparent;
    outline: none;
    margin-bottom: 30px;
    color: #444;
}

button {
    display: block;
    margin: 0 auto 20px auto;
    background: #44423e;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 22px;
    padding: 10px 40px;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #f2992a;
}

.note {
    color: #444;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.note .required {
    font-size: 12px;
    vertical-align: super;
}
@font-face {
    font-family: fuentes;
    src: url("/fonts/OpenSans/OpenSans-Regular.ttf") format("truetype");
}

.titulo {
    text-align: center;
    margin: 30px 0;
    font-size: 40px;
    color: #E98C23;
    font-family: fuentes;
}

.form-group {
    padding: 12px 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(80, 80, 80, 0.04);
    width: 100%;
    height: 44px;
    font-size: 17px;
    padding: 0 14px;
    margin-bottom: 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #444;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4f8cff;
    box-shadow: 0 0 0 2px #e3edff;
    background: #f9fbff;
    outline: none;
}

.form-group label {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

button[type="submit"] {
    background: #4f8cff;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(80, 80, 80, 0.08);
}

button[type="submit"]:hover {
    background: #2563eb;
}

.form-group {
    padding: 12px 0;
}

.boton {
    text-align: center;
}

.boton button {
    background-color: #424240;
    border: none;
    color: #FFF;
    padding: 11px 42px;
    border-radius: 24px;
    font-size: 17px;
    font-weight: bold;
    margin-top: 40px;
}

.boton span {
    display: inline-block;
    width: 100%;
    font-family: fuentes;
    color: #666666;
    font-size: 13px;
    margin-top: 15px;
}

.gracias {
    width: 100%;
    font-family: fuentes;
    font-size: 24px;
    color: #8e8e8e;
    text-align: center;
}

.volver {
    text-align: center;
}

.volver a {
    display: inline-block;
    font-family: fuentes;
    background-color: #E08D31;
    color: #FFF;
    border: 1px solid #E08D31;
    border-radius: 1.28em;
    font-size: 16px;
    font-weight: bold;
    margin: 40px 0;
    padding: 0.5em 2em;
    line-height: 1.42em;
}

.volver a:hover {
    background: #424340;
    color: #FFF;
    border-color: #424340;
}

#provincia {
    display: none;
}

#ciudad {
    display: none;
}

.error_info {
    font-family: fuentes;
    color: #FF0000;
    font-size: 12px;
}

/* Agregar estas reglas al CSS */

/* Contenedor de teléfono para mantener elementos en línea */
.telefono-container {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
}

/* Estilo para el selector de código de área */
.telefono_ca {
  flex: 0 0 auto;
  width: 100px !important;
  margin-bottom: 0 !important;
}

/* Estilo para el campo de teléfono */
.telefono {
  flex: 1;
}

/* Mejoras para responsividad */
@media (max-width: 767px) {
  form {
    padding: 20px 15px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Mejor tamaño para móviles */
  }
  
  .telefono-container {
    flex-direction: row;
  }
  
  .telefono_ca {
    width: 90px !important;
  }
}