/* Configurador Multi-pasos Styles */
.quote-section { padding: 80px 0; background: #fff; }
.section-subtitle { color: #64748b; margin-bottom: 50px; font-size: 1.1rem; }

.btn {
    padding: 15px 30px; border-radius: 12px; font-weight: 700;
    cursor: pointer; border: 2px solid var(--black); transition: var(--transition-smooth);
    display: inline-block; text-decoration: none; text-align: center;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #333; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--black); }
.btn-secondary:hover { background: #f8f9fa; }

.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--black); }

input, select, textarea {
    width: 100%; padding: 14px; border: 1px solid #ddd;
    border-radius: 12px; font-size: 1rem; font-family: inherit;
    background: #fefefe; transition: border-color 0.2s;
}
input:focus, select:focus { border-color: var(--gold); outline: none; }
.quote-form-container {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.quote-form { 
    padding: 40px; 
    flex: 1; 
    order: 1; 
    border-bottom: 1px solid #eee;
    position: relative;
}

.quote-form-sidebar {
    background: #f8f8f8;
    padding: 30px 40px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    order: 2;
}

.price-preview {
    margin-top: 0;
    background: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    border: 1px solid #efefef;
    position: relative;
    overflow: hidden;
    flex: 1;
    text-align: center;
}

.price-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.price-preview span {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--black);
    transition: all 0.3s ease;
}

/* Blur Shield Logic */
body:not(.is-authenticated) .price-wrapper span {
    filter: blur(8px) !important;
}

.blur-shield {
    position: absolute;
    top: -5px; left: -12px; right: -12px; bottom: -5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    z-index: 5;
    display: block;
    pointer-events: none;
}

body.is-authenticated .blur-shield {
    display: none !important;
}

body.is-authenticated .price-wrapper span {
    filter: none !important;
}

.price-preview p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 10;
}

.services-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-card-selectable {
    border: 2px solid #f1f5f9;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    position: relative;
}

.service-card-selectable:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.service-card-selectable.selected {
    border-color: var(--black);
    background: #fffdf0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card-selectable i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
    color: #64748b;
}

.service-card-selectable.selected i { color: var(--black); }
.service-card-selectable span.service-name { font-size: 0.85rem; font-weight: 700; display: block; }
.service-card-selectable .service-description { 
    display: block; 
    font-size: 0.75rem; 
    color: #94a3b8; 
    margin-top: 4px; 
    font-weight: 400;
    line-height: 1.2;
}
.service-card-selectable .price { display: block; font-size: 0.7rem; color: #94a3b8; margin-top: 5px; }
.service-card-selectable input { position: absolute; opacity: 0; width: 0; height: 0; }

.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 2px;
    width: 100%;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--white); border: 2px solid #e0e0e0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #999; z-index: 2; transition: var(--transition-smooth);
}

.progress-step.active {
    background: var(--gold); border-color: var(--gold); color: var(--black);
    transform: scale(1.1);
}

.form-step { display: none; animation: fadeInConfig 0.4s; }
.form-step.active { display: block; }

@keyframes fadeInConfig {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#quote-form-steps input, #quote-form-steps select, #quote-form-steps textarea {
    width: 100%; padding: 14px; border: 1px solid #ddd;
    border-radius: 12px; font-size: 1rem; font-family: inherit;
    background: #fefefe;
}

#final-quote-result-enhanced {
    background: #fdfae6; padding: 25px; border-radius: var(--radius-md);
    margin-bottom: 30px; border: 1px dashed var(--gold);
}

@media (max-width: 900px) {
    .quote-form-sidebar { flex-direction: row; flex-wrap: wrap; }
}
