/* ==========================================================================
   FORMULARIO PRINCIPAL — form-card, inputs, botón, info-cards
   ========================================================================== */

.form-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: clamp(20px, 5vw, 30px);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: clamp(1.5rem, 4vw, 2rem);
    position: relative;
    overflow: hidden;
}

.form-card-header h3 {
    font-weight: 700;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    margin: 0;
    position: relative;
    z-index: 1;
}

.form-card-header p {
    margin-top: 0.5rem;
    opacity: 0.9;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.form-card form {
    padding: clamp(1.5rem, 5vw, 2rem);
}

.form-label {
    font-weight: 600;
    color: #000000 !important;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control,
.form-select {
    border-radius: 12px;
    border: 2px solid var(--gray-mid);
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    font-size: 0.875rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
    outline: none;
}

.form-control:hover,
.form-select:hover {
    border-color: var(--secondary-light);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Info cards */
.info-cards {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid rgba(212, 175, 55, 0.2);
    flex: 1;
    min-width: 100px;
}

.info-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.info-item i {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.info-item span {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-dark);
}