* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cotizador-web-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cotizador-header {
    text-align: center;
    margin-bottom: 50px;
}

.cotizador-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cotizador-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.cotizador-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 0 50px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #95a5a6;
    transition: all 0.3s ease;
    border: 3px solid #ecf0f1;
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: scale(1.1);
}

.step-label {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #95a5a6;
    font-weight: 500;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #667eea;
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #ecf0f1;
    margin: 0 -20px;
    position: relative;
    top: -20px;
}

.cotizador-content {
    min-height: 500px;
    margin-bottom: 30px;
}

.cotizador-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

.cotizador-step h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.step-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1rem;
}

.opciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.opcion-card {
    background: white;
    border: 3px solid #ecf0f1;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opcion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.opcion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.opcion-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.opcion-card.selected::before {
    opacity: 1;
}

.opcion-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.opcion-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.opcion-card.selected h3,
.opcion-card.selected p,
.opcion-card.selected .card-price {
    color: white;
}

.opcion-card p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.card-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.card-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.opcion-card.multiple.selected .card-check {
    display: flex;
}

.cotizador-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn-nav {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-nav:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cotizador-resumen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.cotizador-resumen.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.resumen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.resumen-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.resumen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 20px;
}

.resumen-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.btn-close-resumen {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #95a5a6;
    transition: color 0.3s ease;
}

.btn-close-resumen:hover {
    color: #e74c3c;
}

.resumen-items {
    margin-bottom: 30px;
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
    align-items: center;
}

.resumen-item:last-child {
    border-bottom: none;
}

.item-nombre {
    color: #2c3e50;
    font-weight: 500;
}

.item-precio {
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

.resumen-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.resumen-total h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.total-price {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.total-nota {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-top: 10px;
    font-style: italic;
}

.resumen-intro {
    text-align: center;
    margin-bottom: 30px;
}

.resumen-descripcion {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.resumen-beneficios {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #27ae60;
}

.resumen-beneficios h3 {
    color: #27ae60;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.resumen-beneficios ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resumen-beneficios li {
    color: #2c3e50;
    padding: 8px 0;
    font-size: 0.95rem;
}

.resumen-form {
    margin-top: 30px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #ecf0f1;
}

.resumen-form h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.5rem;
}

.form-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.resumen-form input,
.resumen-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.resumen-form input:focus,
.resumen-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.resumen-form textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: #555;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
}

.form-nota {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-top: 15px;
    font-style: italic;
}

.btn-enviar {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.precio-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 999;
    transition: all 0.3s ease;
}

.precio-flotante:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.precio-label {
    font-size: 1rem;
    font-weight: 500;
}

.precio-valor {
    font-size: 1.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .cotizador-progress {
        padding: 0 10px;
        overflow-x: auto;
    }
    
    .progress-step {
        min-width: 60px;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .opciones-grid {
        grid-template-columns: 1fr;
    }
    
    .cotizador-header h1 {
        font-size: 1.8rem;
    }
    
    .precio-flotante {
        bottom: 20px;
        right: 20px;
        padding: 15px 20px;
    }
    
    .precio-valor {
        font-size: 1.2rem;
    }
}

.mensaje-exito {
    background: #27ae60;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    display: none;
    animation: slideIn 0.3s ease;
}

.mensaje-error {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    display: none;
    animation: slideIn 0.3s ease;
}

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

.btn-enviar .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resumen-content::-webkit-scrollbar {
    width: 8px;
}

.resumen-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.resumen-content::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.resumen-content::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}