/* renovacion.css */

.renewal-section {
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6rem;
}

.wizard-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.wizard-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.wizard-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.wizard-header p {
    color: #a0aab2;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.progress-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 2rem;
    overflow: hidden;
}

.progress-bar-r {
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #ff3c3c);
    width: 0%;
    transition: width 0.4s ease;
}

.step-pane {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.step-pane.active {
    display: block;
}

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

.step-pane h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #a0aab2;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Path Grid */
.path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.path-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.path-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.path-icon {
    font-size: 4rem;
    color: #00d1b2;
    margin-bottom: 1rem;
}

.text-danger {
    color: #ff3c3c;
}

.path-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.path-card p {
    color: #a0aab2;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Radios and Checkboxes (Reused concept, slightly different style) */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    cursor: pointer;
    display: block;
}

.option-card input[type="radio"] { display: none; }

.card-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}

.card-content ion-icon { font-size: 1.8rem; color: #a0aab2; }
.card-content span { color: #fff; font-weight: 500; }

.option-card:hover .card-content {
    background: rgba(255, 255, 255, 0.1);
}

.option-card input[type="radio"]:checked + .card-content {
    background: rgba(0, 209, 178, 0.15);
    border-color: #00d1b2;
}
.option-card input[type="radio"]:checked + .card-content ion-icon { color: #00d1b2; }

/* Lists for multiple choice */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-card { cursor: pointer; display: block; }
.checkbox-card input[type="checkbox"] { display: none; }

.check-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.check-content strong { color: #fff; font-size: 1.1rem; }
.check-content span { color: #a0aab2; font-size: 0.9rem; margin-top: 0.3rem; line-height: 1.4; }

.checkbox-card:hover .check-content { background: rgba(255, 255, 255, 0.1); }
.checkbox-card input[type="checkbox"]:checked + .check-content {
    background: rgba(255, 170, 0, 0.15);
    border-color: #ffaa00;
}

/* Buttons */
.w-100 { width: 100%; display: flex; justify-content: center; align-items: center; gap: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
.pt-4 { padding-top: 1.5rem; }
.text-center { text-align: center; }
.border-top { border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* Loader */
.loader-content { height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.spinner { width: 60px; height: 60px; border: 5px solid rgba(255, 255, 255, 0.1); border-top-color: #ffaa00; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 2rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Result screens */
.result-box {
    text-align: center;
}

.res-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.icon-success { color: #00d1b2; filter: drop-shadow(0 0 15px rgba(0, 209, 178, 0.5)); }
.icon-warning { color: #ffaa00; filter: drop-shadow(0 0 15px rgba(255, 170, 0, 0.5)); }
.icon-danger { color: #ff3c3c; filter: drop-shadow(0 0 15px rgba(255, 60, 60, 0.5)); }

.result-box h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.res-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: left;
    margin-top: 2rem;
}

.res-details h4 {
    color: #0f52ba;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.res-details p {
    color: #a0aab2;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.btn-whatsapp {
    background: #25D366;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #1da851;
}

@media (max-width: 768px) {
    .path-grid { grid-template-columns: 1fr; }
    .wizard-container { padding: 2rem 1.5rem; border-radius: 0; border-left: 0; border-right: 0; }
}
