﻿:root {
    --rds-red: #bd2c2f;
    --rds-red-dark: #8f1f22;
    --rds-dark: #1f2833;
    --rds-teal: #0f8d84;
    --rds-orange: #e28a1b;
}

.rds-main {
    background: linear-gradient(180deg, #eef1f5 0%, #ffffff 20%, #f3f5f7 100%);
    color: var(--rds-dark);
    padding-top: 90px;
}

.rds-hero {
    overflow: hidden;
    border-bottom: 5px solid var(--rds-red);
}

.rds-hero img {
    width: 100%;
    display: block;
}

.rds-hero .banner-rs-mobile {
    display: none;
}

.rds-layout {
    max-width: 90%;
    margin: 0 auto;
    padding: 56px 24px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40%;
    gap: 34px;
}

.rds-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 16px 40px rgba(21, 31, 39, 0.1);
    border: 1px solid #e4e8ec;
}

#content-plan-rs {
    width: 100%;
    padding: 20px 0px;
}

#content-plan-rs img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

#content-plan-rs .plan-rs-mobile {
    display: none;
}

.rds-chip {
    display: inline-block;
    margin: 0 0 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(189, 44, 47, 0.1);
    border: 1px solid rgba(189, 44, 47, 0.28);
    color: var(--rds-red-dark);
    font-weight: 700;
}

.rds-content h1 {
    margin: 0 0 14px;
    color: #12212e;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    line-height: 1.1;
}

.rds-content h2 {
    margin: 30px 0 12px;
    color: var(--rds-red-dark);
}

.rds-content p,
.rds-content li,
.rds-content span {
    color: #2a3f4b;
    font-size: 1.05rem;
    line-height: 1.75;
}

.rds-content ul {
    margin: 0;
    padding-left: 22px;
}

.rds-includes {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rds-includes li {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e9ef;
    border-top: 4px solid var(--rds-red);
    border-radius: 10px;
    margin: 0;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(18, 33, 46, 0.05);
}

.rds-includes strong,
.rds-includes span {
    display: block;
}

.rds-includes strong {
    margin-bottom: 6px;
    color: #173042;
}

.rds-includes span {
    font-size: 0.97rem;
    line-height: 1.55;
}

.rds-media-block {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 14px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e7edf2;
    border-radius: 12px;
    padding: 12px;
}

.rds-media-block.reverse {
    grid-template-columns: 1fr 1.1fr;
}

.rds-media-block.reverse img {
    order: 2;
}

.rds-media-block img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.rds-media-block h3 {
    margin: 0 0 8px;
    color: #173042;
    font-size: 1.14rem;
}

.rds-media-block p {
    margin: 0;
    font-size: 0.98rem;
}

.rds-inline-gallery {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.rds-inline-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 9px;
    display: block;
}

.rds-inline-gallery a {
    display: block;
    text-decoration: none;
}

.rds-form-box {
    align-self: start;
    position: sticky;
    top: 110px;
    background: #1e2731;
    color: #ffffff;
    border-radius: 18px;
    padding: 22px 18px;
    box-shadow: 0 18px 42px rgba(35, 34, 34, 0.18);
}

.rds-compra-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.6rem;
    text-align: center;
}

.rds-compra-head h3 span {
    color: #ffd66c;
}

.rds-compra-head h4 {
    margin: 4px 0 8px;
    font-size: 1.2rem;
    color: #ffdfe0;
}

.rds-msg {
    margin: 0;
    font-size: 0.9rem;
    color: #d4dde4;
}

.rds-form {
    margin-top: 14px;
}

.rds-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.rds-step {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 6px;
    text-align: center;
    opacity: 0.72;
}

.rds-step span {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    font-weight: 700;
    margin-bottom: 4px;
}

.rds-step small {
    display: block;
    color: #d6e1ea;
    font-size: 0.74rem;
}

.rds-step.active {
    opacity: 1;
    border-color: rgba(255, 214, 108, 0.6);
    background: rgba(255, 214, 108, 0.12);
}

.rds-step.active span {
    background: #ffd66c;
    color: #2a2a2a;
}

.rds-panel {
    display: none;
}

.rds-panel.active {
    display: block;
}

.rds-visitor-block {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.rds-visitor-block h5 {
    margin: 0 0 8px;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    color: #ffffff;
}

.rds-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 10px;
}

.rds-field {
    margin-bottom: 10px;
}

.rds-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #e9edf0;
}

.lbl-rojo {
    color: #ff8688 !important;
}

.lbl-naranja {
    color: #ffc46b !important;
}

.lbl-verde {
    color: #7fd98d !important;
}

.lbl-azul {
    color: #7ab8ff !important;
}

.rds-field input,
.rds-field select {
    width: 100%;
    height: 40px;
    border-radius: 7px;
    border: 1px solid #5b6671;
    padding: 8px 10px;
    font-size: 0.94rem;
    color: #1d2d35;
    background: #ffffff;
}

.rds-field input:focus,
.rds-field select:focus {
    outline: none;
    border-color: var(--rds-red);
    box-shadow: 0 0 0 3px rgba(189, 44, 47, 0.2);
}

.rds-report {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 12px;
    margin-bottom: 10px;
}

.rds-report h5 {
    margin: 0 0 10px;
    font-size: 0.92rem;
    color: #ffd66c;
}

.rds-report-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 10px;
}

.rds-report-head p {
    margin: 0;
    font-size: 0.82rem;
    color: #d7e2eb;
}

.rds-report-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.rds-report-card {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px;
    text-align: center;
}

.rds-report-card span {
    display: block;
    font-size: 0.74rem;
    color: #cad7e1;
}

.rds-report-card strong {
    display: block;
    margin-top: 2px;
    font-size: 1.2rem;
    color: #ffffff;
}

.rds-total-box {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px;
}

.rds-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    font-size: 0.84rem;
    color: #e8eef4;
}

.rds-total-row:last-of-type {
    border-bottom: 0;
}

.rds-total-row strong {
    color: #ffffff;
}

.rds-total-row.total {
    margin-top: 2px;
    padding-top: 8px;
    font-size: 0.95rem;
    font-weight: 700;
}

.rds-total-row.total strong {
    color: #ffd66c;
    font-size: 1.08rem;
}

.rds-total-box small {
    display: block;
    margin-top: 8px;
    color: #f4d8d8;
    font-size: 0.78rem;
}

.rds-nav-actions {
    display: flex;
    gap: 8px;
}

.rds-nav-actions .rds-btn-next,
.rds-nav-actions .rds-btn-back,
.rds-nav-actions #rds-submit {
    flex: 1;
}

.rds-btn-back {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #ffffff;
    border-radius: 8px;
    height: 44px;
    font-weight: 700;
}

.rds-form button,
.rds-btn-next {
    margin-top: 8px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    height: 44px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rds-red), var(--rds-red-dark));
}

.rds-feedback {
    margin: 10px 0 0;
    font-size: 0.86rem;
    font-weight: 600;
}

.rds-feedback.rds-ok {
    color: #84f6c9;
}

.rds-feedback.rds-error {
    color: #ffb0b2;
}

.rds-resumen {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid #67d8cd;
    border-radius: 8px;
    padding: 10px;
    font-size: 0.84rem;
    color: #ecf4fa;
}

.rds-resumen strong,
.rds-resumen span {
    display: block;
}

@media (max-width: 1160px) {
    .rds-layout {
        grid-template-columns: 1fr;
        max-width: 980px;
    }

    .rds-form-box {
        position: static;
    }
}

@media (max-width: 900px) {
    .rds-inline-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .rds-hero .banner-rs-desktop {
        display: none;
    }

    .rds-hero .banner-rs-mobile {
        display: block;
    }

    .rds-hero img {
        width: 100%;
    }

    .rds-layout {
        padding: 30px 14px 44px;
        gap: 18px;
    }

    .rds-content,
    .rds-form-box {
        padding: 20px 14px;
    }

    #content-plan-rs {
        width: 100%;
        margin: 14px 0 18px;
    }

    #content-plan-rs .plan-rs-desktop {
        display: none;
    }

    #content-plan-rs .plan-rs-mobile {
        display: block;
    }

    .rds-grid,
    .rds-inline-gallery,
    .rds-steps,
    .rds-report-grid,
    .rds-includes {
        grid-template-columns: 1fr;
    }

    .rds-media-block.reverse {
        grid-template-columns: 1fr;
    }

    .rds-media-block {
        grid-template-columns: 1fr;
    }

    .rds-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
