.elementor-2351 .elementor-element.elementor-element-4b9bdf37{--display:flex;}/* Start custom CSS for html, class: .elementor-element-6725154 */.faces-future-form {
    width: 100%;
    background: linear-gradient(135deg, 
        rgba(52,152,219,0.1) 0%, 
        rgba(155,89,182,0.05) 50%, 
        rgba(39,174,96,0.1) 100%);
    backdrop-filter: blur(20px);
    padding: 40px 20px;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.faces-future-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(52,152,219,0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(39,174,96,0.05) 0%, transparent 50%);
    border-radius: 25px;
    pointer-events: none;
}

.faces-future-form > * {
    position: relative;
    z-index: 2;
}

/* HEADER */
.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db, #27ae60);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(52,152,219,0.3);
}

.form-header h2 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.form-header p {
    color: #34495e;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* FORM LAYOUT */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

/* INPUTS - FIXED VERSION */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-date,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.form-field,
.wpcf7-form-control.child-field,
.wpcf7-form-control.message-field {
    width: 100% !important;
    padding: 15px 20px 15px 45px !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(10px) !important;
    color: #2c3e50 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    position: relative !important;
    z-index: 100 !important; /* Higher z-index */
}

.wpcf7-form-control.child-field {
    background: rgba(255,255,255,0.15) !important;
}

.wpcf7-form-control.message-field {
    min-height: 100px !important;
    resize: vertical !important;
}

/* ICONS - FIXED TO NOT INTERFERE */
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none !important; /* Critical fix */
    z-index: 1 !important; /* Lower z-index than inputs */
    user-select: none;
}

.message-group .input-icon {
    top: 20px;
    transform: none;
}

/* INPUT FOCUS */
.wpcf7-form-control:focus {
    outline: none !important;
    border: 1px solid rgba(52,152,219,0.6) !important;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1), 0 4px 15px rgba(0,0,0,0.1) !important;
    background: rgba(255,255,255,0.2) !important;
    z-index: 101 !important; /* Even higher when focused */
}

/* PLACEHOLDERS */
.wpcf7-form-control::placeholder {
    color: #95a5a6 !important;
    opacity: 1 !important;
}

/* SECTIONS */
.children-section,
.program-section,
.contact-section {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.section-title {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* CHILDREN SECTION */
#children-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.child-entry {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    animation: slideIn 0.3s ease-out;
}

.child-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.child-number {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
}

.child-fields {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

/* BUTTONS */
.add-child-btn {
    background: linear-gradient(135deg, #27ae60, #229954) !important;
    color: white !important;
    padding: 8px 15px !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    box-shadow: 0 3px 10px rgba(39,174,96,0.3) !important;
    transition: all 0.3s ease !important;
}

.add-child-btn:hover {
    background: linear-gradient(135deg, #229954, #27ae60) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(39,174,96,0.4) !important;
}

.remove-child-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
    border: none !important;
    padding: 6px 10px !important;
    border-radius: 15px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 8px rgba(231,76,60,0.3) !important;
    transition: all 0.3s ease !important;
}

.remove-child-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226) !important;
    transform: scale(1.05) !important;
}

/* PROGRAM OPTIONS */
.program-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-list-item label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255,255,255,0.1) !important;
    padding: 10px 15px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #2c3e50 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.wpcf7-list-item label:hover {
    background: rgba(255,255,255,0.2) !important;
    border: 1px solid rgba(52,152,219,0.3) !important;
}

.wpcf7-list-item input[type="radio"] {
    margin: 0 !important;
    accent-color: #3498db !important;
    width: 18px !important;
    height: 18px !important;
}

/* CONTACT OPTIONS */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-option {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(255,255,255,0.1) !important;
    padding: 12px 15px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    margin: 0 !important;
}

.contact-option:hover {
    background: rgba(255,255,255,0.2) !important;
    border: 1px solid rgba(52,152,219,0.3) !important;
}

.option-content {
    flex: 1;
}

.option-title {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.option-desc {
    color: #7f8c8d;
    font-size: 12px;
    line-height: 1.3;
}

/* SUBMIT BUTTON */
.wpcf7-form-control.wpcf7-submit,
.wpcf7-form-control.submit-button {
    background: linear-gradient(135deg, #3498db, #27ae60) !important;
    color: white !important;
    padding: 18px 30px !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 30px rgba(52,152,219,0.4) !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.wpcf7-form-control.wpcf7-submit:hover,
.wpcf7-form-control.submit-button:hover {
    background: linear-gradient(135deg, #2980b9, #229954) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 35px rgba(52,152,219,0.5) !important;
}

.wpcf7-form-control.wpcf7-submit:active,
.wpcf7-form-control.submit-button:active {
    transform: translateY(0px) !important;
}

/* PRIVACY NOTICE */
.privacy-notice {
    margin-top: 15px;
}

.privacy-notice p {
    color: #7f8c8d;
    font-size: 12px;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* VALIDATION STATES */
.wpcf7-not-valid {
    border: 1px solid rgba(231,76,60,0.6) !important;
    box-shadow: 0 0 0 2px rgba(231,76,60,0.1) !important;
}

.wpcf7-validates-as-required.valid {
    border: 1px solid rgba(39,174,96,0.6) !important;
    box-shadow: 0 0 0 2px rgba(39,174,96,0.1) !important;
}

/* CONTACT FORM 7 MESSAGES */
.wpcf7-response-output {
    background: linear-gradient(135deg, rgba(39,174,96,0.1), rgba(46,204,113,0.05)) !important;
    color: #27ae60 !important;
    border: 1px solid rgba(39,174,96,0.3) !important;
    border-radius: 15px !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    font-weight: 600 !important;
}

.wpcf7-mail-sent-ok {
    background: linear-gradient(135deg, rgba(39,174,96,0.1), rgba(46,204,113,0.05)) !important;
    color: #27ae60 !important;
    border: 1px solid rgba(39,174,96,0.3) !important;
}

.wpcf7-validation-errors {
    background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(192,57,43,0.05)) !important;
    color: #e74c3c !important;
    border: 1px solid rgba(231,76,60,0.3) !important;
}

/* ANIMATIONS */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .faces-future-form {
        padding: 25px 20px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .child-fields {
        grid-template-columns: 1fr !important;
    }
    
    .form-header h2 {
        font-size: 24px !important;
    }
    
    .program-options {
        flex-direction: column !important;
    }
    
    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    .faces-future-form {
        padding: 20px 15px !important;
        margin: 10px !important;
    }
    
    .wpcf7-form-control.wpcf7-text,
    .wpcf7-form-control.wpcf7-email,
    .wpcf7-form-control.wpcf7-tel,
    .wpcf7-form-control.wpcf7-date,
    .wpcf7-form-control.wpcf7-textarea,
    .wpcf7-form-control.form-field,
    .wpcf7-form-control.child-field,
    .wpcf7-form-control.message-field {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}
.wpcf7-list-item label {
      display: flex !important;
      align-items: flex-start !important;
      gap: 15px !important;
      justify-content: flex-start !important;
  }

  .wpcf7-list-item input[type="radio"] {
      flex-shrink: 0 !important;
      width: 18px !important;
      height: 18px !important;
      margin: 0 !important;
      margin-top: 2px !important;
  }

  .wpcf7-list-item label span {
      flex: 1 !important;
      text-align: left !important;
  }
.contact-options .wpcf7-list-item {
      width: 100% !important;
  }

  .contact-options .wpcf7-list-item label {
      width: 100% !important;
      display: grid !important;
      grid-template-columns: auto 1fr !important;
      gap: 15px !important;
      align-items: start !important;
  }

  .contact-options input[type="radio"] {
      width: 18px !important;
      height: 18px !important;
      margin: 0 !important;
      justify-self: start !important;
  }









  .form-group {
      position: relative !important;
  }

  .input-icon {
      position: absolute !important;
      left: 15px !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      pointer-events: none !important;
      z-index: 1 !important;
  }

  /* Ajuste específico para el campo de fecha */
  .child-fields .form-group:last-child .input-icon {
      top: 15px !important;
      transform: none !important;
  }

  /* Ajuste para textarea */
  .message-group .input-icon {
      top: 20px !important;
      transform: none !important;
  }
  
  /* ========================================================= */
  
  .remove-child-btn {
      background: #e74c3c;
      color: white;
      border: none;
      border-radius: 6px;
      padding: 4px 8px;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: all 0.3s ease;
  }

  .remove-child-btn:hover {
      background: #c0392b;
      transform: translateY(-1px);
  }

  .child-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
  }

  .child-number {
      font-weight: 600;
      color: #2c3e50;
      font-size: 14px;
  }

  
  
  
  
  
  /* ========================================
   CSS PARA ELIMINAR SCROLL COMPLETAMENTE
   ======================================== */

/* 1. ELIMINAR SCROLL DEL FORMULARIO PRINCIPAL */
.faces-future-form {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

/* 2. ELIMINAR SCROLL DE TODOS LOS CONTENEDORES INTERNOS */
#children-container {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

.child-entry {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.children-section,
.program-section,
.contact-section {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

/* 3. ELIMINAR SCROLL DE WRAPPERS DE CONTACT FORM 7 */
.wpcf7 {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
}

.wpcf7-form {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* 4. ELIMINAR SCROLL DE CONTENEDORES DE ELEMENTOR */
.elementor-element {
    overflow: visible !important;
}

.elementor-widget {
    overflow: visible !important;
}

.elementor-widget-container {
    overflow: visible !important;
}

.elementor-column {
    overflow: visible !important;
}

.elementor-section {
    overflow: visible !important;
}

/* 5. ASEGURAR QUE LOS CAMPOS NO CAUSEN SCROLL */
.wpcf7-form-control {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

/* 6. CAMPOS DE FECHA QUE PUEDEN CAUSAR PROBLEMAS */
.wpcf7-form-control.wpcf7-date {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 7. CONTENEDORES FLEX QUE PODRÍAN DESBORDARSE */
.form-row,
.child-fields {
    overflow: visible !important;
    min-width: 0 !important;
}

.form-row > * {
    min-width: 0 !important;
    overflow: visible !important;
}

.child-fields > * {
    min-width: 0 !important;
    overflow: visible !important;
}

/* 8. FORCE OVERRIDE PARA CUALQUIER ELEMENTO QUE CAUSE SCROLL */
.faces-future-form *,
.faces-future-form *:before,
.faces-future-form *:after {
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* 9. ESPECÍFICAMENTE PARA MOBILE - PREVENIR ZOOM/SCROLL */
@media (max-width: 768px) {
    .faces-future-form {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 10px !important;
        box-sizing: border-box !important;
    }
    
    .wpcf7-form-control {
        font-size: 16px !important; /* Previene zoom en iOS */
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* 10. DEBUG - TEMPORAL: BORDE ROJO PARA VER QUÉ CAUSA EL SCROLL */
/* Descomenta estas líneas para ver qué elemento se desborda */
/*
.faces-future-form * {
    border: 1px solid red !important;
    background: rgba(255,0,0,0.1) !important;
}
*//* End custom CSS */