:root {
    /* Brand Palette */
    --aw-primary: #1498DB;
    --aw-secondary: #0E76BC;
    --aw-accent: #17B7C9;
    --aw-success: #11C3D3;
    --aw-white: #FFFFFF;
    --aw-bg: #F8FAFC;
    --aw-text: #1E293B;
    --aw-text-muted: #64748B;

    /* Advanced Gradients */
    --aw-gradient-water: linear-gradient(135deg, #0E76BC 0%, #1498DB 50%, #17B7C9 100%);
    --aw-gradient-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

    /* Design Tokens */
    --aw-radius: 16px;
    --aw-shadow-premium: 0 20px 40px -12px rgba(14, 118, 188, 0.15);
    --aw-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Marca de Agua & Fondo --- */
.aw-stepper-card {
    position: relative;
    overflow: hidden;
    background: var(--aw-white) !important;
    z-index: 1;
}

.aw-stepper-card::after {
    content: "AT WATER";
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(14, 152, 219, 0.03);
    pointer-events: none;
    letter-spacing: -2px;
    z-index: -1;
    user-select: none;
}

/* --- Animaciones de Entrada --- */
@keyframes awWaterSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.aw-step-content.active {
    display: block !important;
    animation: awWaterSlide 0.6s var(--aw-transition);
}

/* --- Hero & Titles --- */
.aw-title-premium {
    background: var(--aw-gradient-water);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 850 !important;
    letter-spacing: -1.5px;
}

/* --- Progress Bar "Hydraulic Flow" --- */
.aw-progress-wrapper {
    height: 10px !important;
    background: #E2E8F0 !important;
    border-radius: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.aw-progress-bar {
    background: var(--aw-gradient-water) !important;
    background-size: 200% auto;
    animation: flowPulse 4s linear infinite;
    border-radius: 20px;
    position: relative;
}

@keyframes flowPulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Interactive Radio Cards (Product Selection) --- */
.aw-real-radio {
    display: none;
}

.aw-card-selectable {
    background: var(--aw-white);
    border: 2px solid #F1F5F9 !important;
    border-radius: var(--aw-radius);
    padding: 24px;
    transition: var(--aw-transition);
    cursor: pointer;
    position: relative;
}

.aw-real-radio:checked+.aw-card-selectable {
    border-color: var(--aw-accent) !important;
    box-shadow: var(--aw-shadow-premium);
    transform: translateY(-8px);
    background: radial-gradient(circle at top right, rgba(23, 183, 201, 0.05), #fff);
}

.aw-check-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--aw-accent);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--aw-transition);
}

.aw-real-radio:checked+.aw-card-selectable .aw-check-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* --- Modern Selector (Toggle Modalidad) --- */
.aw-toggle-group {
    background: #F1F5F9;
    padding: 8px;
    border-radius: 14px;
    display: flex;
}

.aw-toggle-item {
    flex: 1;
}

.aw-toggle-label {
    display: block;
    padding: 14px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: var(--aw-text-muted);
    transition: var(--aw-transition);
}

.aw-real-radio:checked+.aw-toggle-label {
    background: var(--aw-white);
    color: var(--aw-secondary);
    box-shadow: 0 4px 12px rgba(14, 118, 188, 0.1);
}

/* --- Modern Switch (Checkboxes) --- */
.aw-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.aw-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.aw-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #CBD5E1;
    transition: .4s;
    border-radius: 34px;
}

.aw-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50%;
}

.aw-switch input:checked+.aw-slider {
    background: var(--aw-primary);
}

.aw-switch input:checked+.aw-slider:before {
    transform: translateX(24px);
}

/* --- Form Fields & Inputs --- */
.aw-input {
    border: 2px solid #E2E8F0 !important;
    border-radius: 12px !important;
    height: 56px !important;
    padding: 0 20px !important;
    transition: var(--aw-transition) !important;
    font-weight: 500;
}

.aw-input:focus {
    border-color: var(--aw-primary) !important;
    box-shadow: 0 0 0 4px rgba(20, 152, 219, 0.08) !important;
    transform: scale(1.01);
}

.aw-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--aw-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* --- File Upload Area --- */
.aw-file-upload-card {
    border: 2px dashed #CBD5E1;
    background: rgba(248, 250, 252, 0.5);
    border-radius: var(--aw-radius);
    transition: var(--aw-transition);
}

.aw-file-upload-card:hover {
    border-color: var(--aw-primary);
    background: rgba(20, 152, 219, 0.02);
}

/* --- Premium Buttons --- */
.aw-btn-next,
.aw-btn-submit {
    background: var(--aw-gradient-water) !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 16px 32px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.aw-btn-next:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(14, 118, 188, 0.3) !important;
}

/* --- Responsive Real & Mobile Optimization --- */
@media (max-width: 991px) {
    .aw-stepper-section {
        padding: 40px 0;
    }

    .aw-stepper-card::after {
        font-size: 4rem;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .aw-title-premium {
        font-size: 2.2rem;
    }

    .aw-radio-card-group .col-md-4 {
        margin-bottom: 12px;
    }

    .aw-navigation-footer {
        flex-direction: column-reverse;
        gap: 12px;
        padding-top: 30px;
    }

    .aw-btn-next,
    .aw-btn-back {
        width: 100%;
    }

    .aw-input {
        height: 50px !important;
    }

    /* Thumb-friendly interactions */
    .aw-toggle-label {
        padding: 16px;
    }
}

/* Final Touch: Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--aw-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--aw-primary);
    border-radius: 10px;
}