:root {
    --cc-primary: #104b4b;
    --cc-primary-soft: #799a9a;
    --cc-secondary: #702d40;
    --main-background: #f7f9fc;
    --cc-tertiary: #b88a50;
    --ink: #211916;
    --muted: #77716e;
    --line: #e8e3e0;
    --blue-pale: #eff8fc;
}

main {
    background: var(--main-background);
}

body.landing-page {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
}

.cursor-pointer {
    cursor: pointer;
}

.nav-tabs {
    border-bottom: 2px solid var(--cc-primary);
}

.nav-tabs .nav-link {
    color: var(--cc-primary);
    border: 1px solid transparent;
    border-top-left-radius: 1rem; 
    border-top-right-radius: 1rem; 
    border-bottom-left-radius: 0rem; 
    border-bottom-right-radius: 0rem;
}

.nav-tabs .nav-link:hover {
    color: #ffffff;
    background-color: var(--cc-primary);
    border-color: var(--cc-primary);
}

.nav-tabs .nav-link.active {
    color: #ffffff;
    background-color: var(--cc-primary);
    border-color: var(--cc-primary);
}

.product-image {
    max-width: 100%;
    height: 40rem;
    width: 100%;
}

.landing-container {
    width: min(100% - 40px, 1500px);
    margin-inline: auto;
}

.store-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    color: #fff;
    background: var(--cc-primary);
    box-shadow: 0 2px 12px #21191620;
}

.store-header .navbar {
    min-height: 64px;
    padding: 7px 0;
}

.store-brand {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
    margin-right: 22px;
    color: #fff;
    font-size: 14px;
    line-height: 1.05;
}

.store-brand:hover,
.footer-brand:hover {
    color: #fff;
}

.store-brand strong {
    font-size: 14px;
}

.brand-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--cc-primary);
    background: #fff;
    border-radius: 8px;
    font-size: 19px;
}

a {
    color: var(--cc-tertiary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.main-links {
    flex-direction: row;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.main-links .nav-link {
    padding: 9px 8px;
    color: #d7c9c4;
    font-size: 14px;
    font-weight: 600;
}

.main-links .nav-link:hover,
.main-links .nav-link.active {
    color: #fff;
}

.header-search {
    display: flex;
    flex: 1 1 180px;
    min-width: 150px;
    max-width: 260px;
    align-items: center;
    gap: 8px;
    margin: 0 15px;
    padding: 0 10px;
    color: #d3c5c0;
    background: #ffffff12;
    border: 1px solid #ffffff26;
    border-radius: 7px;
}

.header-search .form-control {
    height: 32px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 14px;
}

.header-search .form-control::placeholder {
    color: #c6b7b2;
}

.header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.header-icon {
    position: relative;
    color: #fff;
    font-size: 16px;
}

.notification-dot {
    position: absolute;
    top: 1px;
    right: -2px;
    width: 6px;
    height: 6px;
    background: var(--cc-secondary);
    border: 1px solid var(--cc-primary);
    border-radius: 50%;
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: #fff;
    background: var(--cc-secondary);
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.login-link {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.btn-main {
    color: #fff;
    background: var(--cc-secondary);
    border-color: var(--cc-secondary);
    font-weight: 700;
}

.btn-main:hover {
    color: #fff;
    background: var(--cc-primary);
    border-color: var(--cc-primary);
}

.btn-register {
    color: #fff;
    background: var(--cc-secondary);
    border-color: var(--cc-secondary);
    font-weight: 700;
}

.btn-register:hover,
.btn-register:focus,
.btn-register:focus-visible,
.btn.btn-register:active,
.btn-register.active {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px #ffffff66;
    background: transparent;
    border-color: #fff;
}

.navbar-toggler {
    color: #fff;
    border-color: #ffffff66;
}

.navbar-toggler i {
    font-size: 23px;
}

.hero-section {
    padding: 34px 0 26px;
    background: var(--main-background);
}

.eyebrow,
.hours-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    color: #fff;
    background: var(--cc-primary);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.eyebrow i {
    color: var(--cc-secondary);
    font-size: 7px;
}

.hero-section h1 {
    margin: 12px 0 10px;
    color: #211714;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.08;
}

.hero-copy {
    /* max-width: 650px; */
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.hero-buttons {
    /* display: flex; */
    flex-wrap: wrap;
    gap: 9px;
    text-align: center;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 32px;
    font-size: 18px;
}

.btn-outline-coffee {
    color: var(--cc-primary);
    background: #fff;
    border: 1px solid #d9d0cc;
    font-weight: 700;
}

.btn-outline-coffee:hover {
    color: var(--cc-primary);
    background: #f8f3f0;
    border-color: #b8a49d;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    /* max-width: 670px; */
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 9px;
    background: #ffffffd9;
    border: 1px solid #ece8e5;
    border-radius: 7px;
}

.stat-icon,
.corporate-icon,
.benefit-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 5px;
}

.stat-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
}

.stat-blue,
.benefit-blue {
    color: #164b65;
    background: #dceff8;
}

.stat-red,
.benefit-red {
    color: #9e352c;
    background: #ffebe7;
}

.stat-orange,
.benefit-orange {
    color: #92401e;
    background: #ffe0cc;
}

.stat-item strong,
.stat-item small {
    display: block;
}

.stat-item strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stat-item small {
    color: var(--muted);
    font-size: 12px;
}

.home-video-container {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    background: #e8e2dd;
    border: 1px solid #e1d9d4;
    border-radius: 12px;
    box-shadow: 0 12px 24px #351e1920;
}

.home-video-container video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilo base compartido para todos los textos */
.scene-text {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #ffffff;
    padding: 30px;
    box-sizing: border-box;
    display: flex;

    /* Tipografía grande */
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);

    /* Evitar selección de texto en todos los navegadores */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Estándar moderno */
    
    /* Configuración del desvanecimiento */
    opacity: 0;
    transform: translateY(15px);
    visibility: hidden;

    /* Transición suave para opacidad y movimiento (0.5 segundos) */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 1;
}

.scene-text.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    z-index: 2;
}

.availability-panel {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px;
    background: #fff;
    border-radius: 7px;
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: #15a66a;
    border-radius: 50%;
}

.availability-panel strong,
.availability-panel small {
    display: block;
}

.availability-panel strong {
    color: #175b42;
    font-size: 13px;
    text-transform: uppercase;
}

.availability-panel small {
    color: var(--muted);
    font-size: 12px;
}

.floor-badge {
    margin-left: auto;
    padding: 5px 7px;
    color: #365467;
    background: #e6f2f8;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.category-strip {
    border-block: 1px solid #eee9e6;
    background: #fff;
}

.category-scroll {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.category-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    color: #554c48;
    background: #edf7fb;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.category-pill.active {
    color: #fff;
    background: var(--cc-primary);
}

.category-count {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    color: #514844;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.catalog-section {
    padding: 28px 0 30px;
    background: var(--main-background);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.section-heading h2,
.benefits-title {
    margin: 0 0 4px;
    font-size: 25px;
    font-weight: 800;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.price-note {
    padding-bottom: 3px;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.service-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 2px 5px #20171408;
}

.service-image {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: #e9e7e5;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.03);
}

.service-tag {
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 4px 7px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
}

.tag-coffee {
    color: #bb4a25;
    background: #fff1e9;
}

.tag-neutral {
    color: #51433d;
    background: #f7f4f0;
}

.tag-green {
    color: #176443;
    background: #e9f7ed;
}

.tag-orange {
    color: #fff;
    background: var(--cc-secondary);
}

.service-body {
    display: flex;
    flex-direction: column;
    padding: 12px 12px 0px 12px;
}

.service-body h3 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 800;
}

.service-body > p {
    min-height: 38px;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #49413d;
    font-size: 12px;
    font-weight: 700;
}

.service-detail i {
    color: #24815b;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid #f0ecea;
    padding: 12px;
}

.service-price small,
.service-price strong {
    display: block;
}

.service-price small {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 12px;
}

.service-price strong {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-coffee {
    color: #fff;
    background: var(--cc-primary);
    border-color: var(--cc-primary);
}

.btn-coffee:hover {
    color: #fff;
    background: #56342b;
}

.btn-dark {
    color: #fff;
    background: #1d292d;
    border-color: #1d292d;
}

.corporate-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 13px;
    color: var(--ink);
    background: #eaf6fc;
    border: 1px solid #d6eaf4;
    border-radius: 9px;
    text-decoration: none;
}

.corporate-icon {
    width: 38px;
    height: 38px;
    color: #fff;
    background: var(--cc-primary);
    font-size: 17px;
}

.corporate-copy {
    display: grid;
    gap: 2px;
}

.corporate-copy strong {
    font-size: 15px;
}

.corporate-copy small {
    color: var(--muted);
    font-size: 13px;
}

.corporate-banner > .btn {
    margin-left: auto;
    font-size: 13px;
    white-space: nowrap;
}

.benefits-section {
    padding: 32px 0;
    background: #f1f9fc;
}

.section-kicker {
    color: #ba4a2c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.benefits-title {
    max-width: 650px;
    margin: 3px 0 15px;
}

.benefit-card {
    padding: 13px;
    background: #fff;
    border: 1px solid #e7e9e8;
    border-radius: 9px;
}

.benefit-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 9px;
    font-size: 15px;
}

.benefit-green {
    color: #287047;
    background: #e3f4e7;
}

.benefit-card h3 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 800;
}

.benefit-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.hours-panel {
    height: 100%;
    padding: 18px;
    color: #fff;
    background: var(--cc-primary);
    border-radius: 10px;
    box-shadow: 0 5px 14px #351e1920;
}

.hours-label {
    margin-bottom: 12px;
    color: #f1ddd5;
    background: #ffffff18;
    font-size: 12px;
}

.hours-panel h2 {
    margin: 0 0 7px;
    font-size: 19px;
    font-weight: 800;
}

.hours-panel > p {
    margin-bottom: 17px;
    color: #d0bdb6;
    font-size: 13px;
    line-height: 1.55;
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid #ffffff24;
    font-size: 12px;
}

.hours-row strong {
    padding: 5px 7px;
    color: #f3ddd4;
    background: #ffffff16;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

.hours-panel address {
    display: grid;
    gap: 8px;
    margin: 13px 0 17px;
    padding-top: 13px;
    color: #d0bdb6;
    border-top: 1px solid #ffffff24;
    font-size: 12px;
    font-style: normal;
}

.hours-panel address span {
    display: flex;
    gap: 7px;
}

.hours-panel address i {
    color: var(--cc-secondary);
}

.store-footer {
    padding: 27px 0 12px;
    color: #d8c8c1;
    background: var(--cc-primary);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

/*.footer-brand i {
    color: var(--cc-secondary);
}*/

.footer-description,
.store-footer p {
    color: #baa9a2;
    font-size: 13px;
    line-height: 1.6;
}

.store-footer h2 {
    margin: 2px 0 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.store-footer .col-lg-3 > a:not(.footer-brand) {
    display: block;
    margin: 6px 0;
    color: #baa9a2;
    font-size: 13px;
    text-decoration: none;
}

.store-footer .col-lg-3 > a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: #d8c8c1;
}

.open-status {
    display: inline-block;
    padding: 5px 7px;
    color: #75d8a3;
    background: #123e2b;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.open-status i {
    font-size: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 10px;
    color: #9f8c84;
    border-top: 1px solid #ffffff20;
    font-size: 12px;
}

.footer-bottom-2 {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: -20px;
    padding-top: 10px;
    color: #9f8c84;
    font-size: 12px;
}

@media (max-width: 1199.98px) {
    .main-links .nav-link {
        padding-inline: 6px;
        font-size: 13px;
    }

    .header-search {
        max-width: 200px;
        margin-inline: 8px;
    }

    .header-actions {
        gap: 8px;
    }
}

@media (max-width: 991.98px) {
    .main-links {
        align-items: stretch;
        flex-direction: column;
        padding: 8px 0;
    }

    .header-search {
        max-width: none;
        margin: 5px 0 12px;
    }

    .header-actions {
        justify-content: space-between;
        padding-bottom: 8px;
    }

    .hero-image-card {
        min-height: 280px;
    }

    .category-count {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .landing-container {
        width: min(100% - 24px, 1500px);
    }

    .hero-section {
        padding-top: 25px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-copy {
        font-size: 14px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 7px 9px;
    }

    .hero-image-card {
        min-height: 230px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 5px;
    }

    .section-heading h2,
    .benefits-title {
        font-size: 21px;
    }

    .price-note {
        white-space: normal;
    }

    .service-image {
        height: 175px;
    }

    .corporate-banner {
        align-items: start;
        flex-wrap: wrap;
    }

    .corporate-copy {
        flex: 1 1 calc(100% - 55px);
    }

    .corporate-banner > .btn {
        width: 100%;
        margin-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.membership-page {
    --membership-ink: #171b24;
    --membership-muted: #748196;
    --membership-line: #e3e9f0;
    --membership-surface: #ffffff;
    --membership-green: #15966b;
    min-height: 100vh;
    padding: 34px 0 64px;
    color: var(--membership-ink);
    background: var(--main-background);
    font-family: "Roboto", sans-serif;
}

.membership-page *,
.membership-page *::before,
.membership-page *::after {
    box-sizing: border-box;
}

.membership-container {
    width: min(100% - 40px, 1400px);
    margin-inline: auto;
}

.membership-intro {
    max-width: 690px;
    margin: 0 auto 32px;
    text-align: center;
}

.membership-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    padding: 6px 11px;
    color: #a65018;
    background: #fff8ed;
    border: 1px solid #f3dfbf;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.membership-eyebrow i {
    color: #e78a19;
}

.membership-intro h1 {
    max-width: 660px;
    margin: 0 auto 10px;
    color: #111827;
    font-family: inherit;
    font-size: clamp(31px, 4.4vw, 43px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.03;
}

.membership-intro-copy {
    max-width: 580px;
    margin: 0 auto 17px;
    color: var(--membership-muted);
    font-size: 15px;
    line-height: 1.65;
}

.membership-billing-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 9px;
    color: #768399;
    background: #f0f3f7;
    border: 1px solid #e8edf3;
    border-radius: 9px;
    font-size: 12px;
}

.membership-billing-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    color: #2a303a;
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.membership-plans {
    margin-bottom: 32px;
}

.membership-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
}

.membership-plan-card {
    --plan-color: #526273;
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 14px 13px 12px;
    color: var(--membership-ink);
    background: var(--membership-surface);
    border: 1px solid color-mix(in srgb, var(--plan-color) 18%, #e3e9f0);
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(20, 32, 48, .025);
    cursor: pointer;
    outline: none;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.membership-plan-card:hover,
.membership-plan-card:focus-visible,
.membership-plan-card.is-selected {
    z-index: 1;
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--plan-color) 82%, #171717);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--plan-color) 76%, #171717),
        0 12px 23px color-mix(in srgb, var(--plan-color) 16%, transparent);
}

.membership-plan-card:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--plan-color) 32%, transparent);
    outline-offset: 3px;
}

.membership-plan-card.is-featured {
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--plan-color) 6%, #fff) 0%,
            #fff 38%
        );
}

.membership-plan-ribbon {
    position: absolute;
    top: -10px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    color: #fff;
    background: #e38b00;
    border: 2px solid var(--main-background);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: nowrap;
}

.membership-plan-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 11px;
}

.membership-plan-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: var(--plan-color);
    border-radius: 9px;
    font-size: 17px;
}

.membership-plan-discount {
    padding: 4px 6px;
    color: color-mix(in srgb, var(--plan-color) 84%, #151515);
    background: color-mix(in srgb, var(--plan-color) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--plan-color) 22%, #fff);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.membership-plan-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.membership-plan-title h2 {
    margin: 0;
    color: #161b25;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.membership-verified {
    color: #e99218;
    font-size: 12px;
}

.membership-plan-description {
    min-height: 30px;
    margin: 3px 0 10px;
    color: #8190a3;
    font-size: 12px;
    line-height: 1.45;
}

.membership-plan-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    color: #121925;
    white-space: nowrap;
}

.membership-currency {
    color: #708098;
    font-size: 12px;
}

.membership-plan-price strong {
    font-size: clamp(23px, 2vw, 28px);
    font-weight: 800;
    letter-spacing: -.045em;
}

.membership-price-period {
    color: #8190a3;
    font-size: 12px;
}

.membership-plan-savings {
    min-height: 16px;
    margin: 2px 0 11px;
    color: color-mix(in srgb, var(--plan-color) 86%, #121212);
    font-size: 11px;
    font-weight: 600;
}

.membership-plan-savings-empty {
    color: #8190a3;
}

.membership-plan-services {
    padding-top: 10px;
    padding-bottom: 20px;
    border-top: 1px solid #edf0f4;
}

.membership-plan-services h3 {
    margin: 0 0 8px;
    color: #91a0b4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.membership-plan-services ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.membership-plan-services li {
    display: block;
    color: #637186;
    font-size: 12px;
    line-height: 1.4;
}

.membership-plan-services li::before {
    display: inline-block;
    margin-right: 6px;
    color: #198754;
    content: "\2713";
    font-size: 11px;
    font-weight: 700;
}

.membership-plan-services li i {
    margin-top: 1px;
    color: var(--membership-green);
    font-size: 11px;
}

.membership-no-services {
    margin: 0;
    color: #7e8b9d;
    font-size: 11px;
    line-height: 1.45;
}

.membership-plan-action {
    display: grid;
    min-height: 31px;
    place-items: center;
    margin-top: auto;
    padding: 6px 8px 0;
    color: color-mix(in srgb, var(--plan-color) 85%, #171717);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.membership-plan-card.is-selected .membership-plan-action,
.membership-plan-card.is-featured.is-selected .membership-plan-action {
    margin-top: auto;
    padding: 8px;
    color: #fff;
    background: var(--plan-color);
    border-radius: 7px;
}

.membership-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(285px, .95fr);
    gap: 28px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--membership-line);
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(25, 41, 61, .025);
}

.membership-summary-column {
    min-width: 0;
}

.membership-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 1px 0 14px;
    color: #20242c;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
}

.membership-status-dot {
    width: 8px;
    height: 8px;
    background: #17b77d;
    border: 2px solid #c9f2e3;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #e5f8f0;
}

.membership-selected-summary {
    --plan-color: #526273;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 13px;
    background: #f8fafc;
    border: 1px solid #e7edf3;
    border-radius: 11px;
}

.checkout-order-code {
    display: flex;
    align-items: center;
    gap: 7px;
}

.checkout-main {
    box-sizing: border-box;
    width: 100%;
    padding-inline: 0;
}

.checkout-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 768px) {
    .checkout-container {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .checkout-container {
        padding-inline: 2rem;
    }
}

.checkout-order-code__indicator {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: #198754;
    border: 2px solid #c9f2e3;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #e5f8f0;
}

.checkout-total-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 1.1rem;
    line-height: 1.25;
}

.checkout-total-label small {
    font-size: 0.7rem;
    font-weight: 400;
}

.checkout-total-amount {
    white-space: nowrap;
}

.membership-summary-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: var(--plan-color);
    border-radius: 11px;
    font-size: 19px;
}

.membership-summary-img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: white;
    border-radius: 11px;
    font-size: 19px;
}

.membership-summary-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    color: #fff;
    background: white;
    border-radius: 6px;
}

.membership-summary-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.membership-summary-name-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.membership-summary-name-row > strong {
    overflow: hidden;
    color: #20242c;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.membership-summary-discount {
    padding: 3px 5px;
    color: #a64f15;
    background: #fff0d9;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.membership-summary-description,
.membership-summary-validity {
    color: #8290a2;
    font-size: 11px;
    line-height: 1.4;
}

.membership-summary-validity {
    display: flex;
    align-items: center;
    gap: 4px;
}

.membership-summary-amount {
    display: grid;
    flex: 0 0 auto;
    gap: 3px;
    margin-left: auto;
    padding-left: 14px;
    border-left: 1px solid #e3e9ef;
    text-align: right;
}

.membership-summary-amount span {
    color: #8290a2;
    font-size: 11px;
    text-transform: uppercase;
}

.membership-summary-amount strong {
    color: #1b2431;
    font-size: 19px;
    font-weight: 800;
    white-space: nowrap;
}

.membership-billing-fields {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.membership-billing-fields legend {
    margin-bottom: 10px;
    padding: 0;
    color: #2b3039;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.membership-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 16px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #eff2f5;
}

.membership-assurances span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8491a2;
    font-size: 11px;
}

.membership-assurances span:first-child i {
    color: #23986a;
}

.membership-assurances span:nth-child(2) i {
    color: #697b91;
}

.membership-assurances span:nth-child(3) i {
    color: #d47b3f;
}

.membership-payment-panel {
    align-self: start;
    padding: 17px;
    background: #f8fafc;
    border: 1px solid #e6edf4;
    border-radius: 12px;
}

.membership-payment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.membership-payment-heading h2 {
    margin: 0;
    color: #252b35;
    font-size: 18px;
    font-weight: 700;
}

.membership-payment-heading > span {
    color: #8b9aae;
    font-size: 12px;
    white-space: nowrap;
}

.membership-payment-heading > span i {
    color: #169b6b;
}

.membership-payment-options {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.membership-payment-option {
    --plan-color: #28313e;
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) 15px;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 9px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.membership-payment-option.is-selected {
    border-color: #cbd6e2;
    box-shadow: 0 0 0 2px rgba(82, 98, 115, .06);
}

.membership-payment-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.membership-payment-radio {
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border: 1px solid #a8b3c0;
    border-radius: 50%;
}

.membership-payment-option input:checked + .membership-payment-radio {
    border: 4px solid var(--plan-color);
}

.membership-payment-option input:focus-visible + .membership-payment-radio {
    outline: 3px solid var(--plan-color);
    outline-offset: 2px;
}

.membership-payment-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.membership-payment-copy strong {
    overflow: hidden;
    color: #303846;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.membership-payment-copy small {
    color: #8996a8;
    font-size: 12px;
    line-height: 1.35;
}

.membership-payment-icon {
    color: #9aa8ba;
    font-size: 15px;
    text-align: right;
}

.membership-price-breakdown {
    display: grid;
    gap: 7px;
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid #e9eef3;
}

.membership-price-breakdown > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #778496;
    font-size: 12px;
}

.membership-breakdown-discount {
    color: #21865f !important;
}

.membership-tax-note {
    color: #99a4b2 !important;
    font-size: 10px !important;
}

.membership-grand-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #e9eef3;
}

.membership-grand-total strong:first-child {
    color: #28313e;
    font-size: 13px;
}

.membership-grand-total strong:last-child {
    color: #351e19;
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
    font-size: 23px;
}

.membership-pay-button {
    --plan-color: #28313e;
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px;
    color: #fff;
    background: var(--plan-color);
    border: 1px solid var(--plan-color);
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    transition: background-color .15s ease, transform .15s ease;
}

.membership-pay-button:hover {
    background: var(--cc-primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px var(--cc-primary);
    border: 1px solid var(--cc-primary);
}

.membership-pay-button:focus-visible {
    outline: 3px solid var(--cc-primary);
    outline-offset: 3px;
}

.membership-pay-button:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.membership-pay-button .bi-arrow-right {
    margin-left: 2px;
}

.membership-terms-confirm {
    margin: 8px 0 0;
    color: #98a4b3;
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

.membership-terms-note {
    margin: 8px 0 0;
    color: #98a4b3;
    font-size: 10px;
    line-height: 1.45;
}

.membership-faq {
    max-width: 850px;
    margin: 38px auto 0;
}

.membership-faq > h2 {
    margin: 0 0 5px;
    color: #242832;
    font-family: inherit;
    font-size: 21px;
    font-weight: 700;
    text-align: center;
}

.membership-faq > p {
    margin: 0 0 18px;
    color: #8b97a8;
    font-size: 12px;
    text-align: center;
}

.membership-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.membership-faq-card {
    padding: 12px;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 9px;
}

.membership-faq-card h3 {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 5px;
    color: #303846;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.membership-faq-card h3 i {
    flex: 0 0 auto;
    color: #c87b4e;
    font-size: 12px;
}

.membership-faq-card p {
    margin: 0;
    color: #8290a2;
    font-size: 11px;
    line-height: 1.5;
}

.membership-empty-state {
    padding: 24px;
    color: #68778a;
    background: #fff;
    border: 1px solid var(--membership-line);
    border-radius: 12px;
    text-align: center;
}

.cart-selected-summary {
    --plan-color: #526273;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e7edf3;
    border-radius: 16px;
}

.cart-summary-img {
    position: relative;
    width: 80px;
    height: 80px;
    flex: 0 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.cart-summary-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.cart-summary-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cart-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #edf2f7;
}

.cart-summary-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.cart-summary-title {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
}

.cart-summary-description {
    margin: 0;
    color: #8290a2;
    font-size: 12px;
    line-height: 1.4;
}

.cart-delete-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.cart-delete-btn:hover {
    color: #ef4444;
}

.cart-summary-footer {
    display: flex;
    justify-content: space-between;
    /*align-items: flex-end;*/
    padding-top: 6px;
}

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    /*border: 1px solid #d1d5db;*/
    border-radius: 12px;
    padding: 4px 8px;
    gap: 7px;
    background: #ffffff;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #374151;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    padding: 2px 6px;
}

.qty-value {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.cart-summary-amount {
    display: grid;
    flex: 0 0 auto;
    gap: 2px;
    text-align: right;
    border-left: none;
    padding-left: 0;
}

.cart-summary-amount .old-price {
    color: #9ca3af;
    font-size: 14px;
    text-decoration: line-through;
    text-transform: none;
}

.cart-summary-amount strong {
    color: #1b2431;
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.cart-summary-validity {
    color: #8290a2;
    font-size: 12px;
    text-transform: none !important;
}

@media (max-width: 1050px) {
    .membership-plan-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 16px;
    }

    .membership-checkout {
        grid-template-columns: minmax(0, 1.2fr) minmax(270px, .9fr);
        gap: 18px;
        padding: 20px;
    }
}

@media (max-width: 760px) {
    .membership-page {
        padding-top: 26px;
    }

    .membership-container {
        width: min(100% - 28px, 620px);
    }

    .membership-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .membership-checkout {
        grid-template-columns: 1fr;
    }

    .membership-payment-panel {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .membership-page {
        padding: 22px 0 42px;
    }

    .membership-container {
        width: min(100% - 22px, 420px);
    }

    .membership-intro {
        margin-bottom: 27px;
    }

    .membership-intro h1 {
        font-size: 32px;
    }

    .membership-intro-copy {
        font-size: 13px;
    }

    .membership-billing-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .membership-plan-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .membership-plan-card {
        min-height: 0;
        padding: 15px;
    }

    .membership-plan-description {
        min-height: 0;
    }

    .membership-plan-services li {
        font-size: 12px;
    }

    .membership-plan-action {
        min-height: 34px;
    }

    .membership-checkout {
        gap: 20px;
        padding: 15px;
    }

    .membership-selected-summary {
        flex-wrap: wrap;
    }

    .membership-summary-amount {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        padding: 10px 0 0;
        border-top: 1px solid #e3e9ef;
        border-left: 0;
        text-align: left;
    }

    .membership-form-grid {
        grid-template-columns: 1fr;
    }

    .membership-field-full {
        grid-column: auto;
    }

    .membership-faq-grid {
        grid-template-columns: 1fr;
    }

    .membership-faq {
        margin-top: 30px;
    }

    .cart-selected-summary {
        flex-wrap: wrap;
    }

    .cart-summary-img {
        width: 70px;
        height: 70px;
    }

    .cart-summary-footer {
        width: 100%;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .membership-page *,
    .membership-page *::before,
    .membership-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

.legal-page {
    --legal-main: #104b4b;
    --legal-secondary: #702d40;
    --legal-tertiary: #b88a50;
    --legal-ink: #263238;
    --legal-muted: #64748b;
    background: #f6f7f9;
    color: var(--legal-ink);
    padding: clamp(2rem, 5vw, 4.5rem) 1rem;
    font-family: "Roboto", sans-serif;
}

.legal-page__container {
    max-width: 960px;
    margin: 0 auto;
}

.legal-page__hero,
.legal-page__toc,
.legal-page__content {
    border: 1px solid #e8ebef;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 35px rgb(31 41 55 / 5%);
}

.legal-page__hero {
    padding: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 35px rgb(31 41 55 / 6%);
}

.legal-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .85rem;
    color: var(--legal-main);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-page__home-link {
    display: flex;
    align-items: center;
    gap: .4rem;
    width: fit-content;
    margin: 0 0 1.25rem auto;
    color: var(--legal-secondary);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.legal-page__home-link:hover,
.legal-page__home-link:focus-visible {
    color: var(--legal-main);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page__title {
    margin: 0 0 1rem;
    color: #202a30;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 750;
    line-height: 1.15;
}

.legal-page__date {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    color: var(--legal-muted);
    font-size: .95rem;
}

.legal-page__toc {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

#select_un {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.legal-page__toc-title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
}

.legal-page__toc-links {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#select_un .legal-page__toc-links {
    justify-content: center;
}

#select_un .legal-page__toc-links li {
    flex: 0 0 auto;
}

#select_un .legal-page__toc-links a {
    white-space: nowrap;
}

.legal-page__toc-links a {
    display: inline-block;
    padding: .5rem .75rem;
    border: 1px solid #e8ebef;
    border-radius: 999px;
    color: #475569;
    font-size: .875rem;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.legal-page__toc-links a:hover,
.legal-page__toc-links a:focus-visible {
    border-color: var(--legal-main);
    background: #fff8f1;
    color: var(--legal-secondary);
}

.legal-page__content {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.legal-page__intro {
    margin: 0 0 2rem;
    color: #475569;
    font-size: 1.025rem;
    line-height: 1.8;
}

.legal-page__section {
    padding-top: 1.75rem;
    margin-top: 1.75rem;
    border-top: 1px solid #edf0f2;
    scroll-margin-top: 2rem;
}

.legal-page__section h2 {
    margin: 0 0 1rem;
    color: #29353b;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 750;
    line-height: 1.45;
}

.legal-page__section p,
.legal-page__section li {
    color: #475569;
    font-size: .98rem;
    line-height: 1.8;
}

.legal-page__section p {
    margin-bottom: 1rem;
}

.legal-page__section ul,
.legal-page__section ol {
    display: grid;
    gap: .85rem;
    padding-left: 1.35rem;
    margin: 0;
}

.legal-page__section li {
    padding-left: .25rem;
}

.legal-page__section strong {
    color: #29353b;
}

.legal-page__section a {
    color: var(--legal-tertiary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Campos específicos de formularios */
.form-select:focus,
.form-control:focus {
    border-color: var(--cc-primary);
    box-shadow: 0 0 0 .25rem rgb(16 75 75 / 14%);
}

.form-select.is-invalid:focus,
.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .25rem rgb(220 53 69 / 25%);
}

.client-form__radios {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.client-form__radio {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem .85rem;
    border: 1px solid #e2e8f0;
    border-radius: .7rem;
    cursor: pointer;
}

.client-form__radio:has(input:checked) {
    border-color: var(--legal-main);
    background: #f0f7f6;
    color: var(--legal-main);
}

.client-form__radio input[type="radio"] {
    width: 1rem;
    height: 1rem;
    margin: 0;
    padding: 0;
    background-color: #fff;
    accent-color: var(--legal-main);
    appearance: auto;
    color-scheme: light;
}

.client-form__hint {
    margin: 0;
    color: var(--legal-muted);
    font-size: .9rem;
    line-height: 1.6;
}

.client-form__submit {
    width: fit-content;
    padding: .8rem 1.25rem;
    border: 0;
    border-radius: .65rem;
    background: var(--legal-main);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.client-form__submit:hover {
    background: #0c3d3d;
}

@media (max-width: 575.98px) {
    .legal-page {
        padding-right: .75rem;
        padding-left: .75rem;
    }

    #select_un {
        width: auto;
        max-width: none;
        margin-right: 1.5rem;
        margin-left: 1.5rem;
    }

    .legal-page__toc-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .legal-page__toc-links a {
        border-radius: .65rem;
    }

    #select_un .legal-page__toc-links {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: .35rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    #select_un .legal-page__toc-links a {
        border-radius: 999px;
    }

    .client-form__submit {
        width: 100%;
    }
}

/* Contenedor principal del Stepper */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* Líneas conectoras entre pasos */
.stepper-item::before,
.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 3px solid #dee2e6; /* Gris Bootstrap por defecto */
    width: 100%;
    top: 20px;
    z-index: 1;
    transition: border-color 0.3s ease;
}

.stepper-item::before {
    left: -50%;
}

.stepper-item::after {
    left: 50%;
}

.stepper-item:first-child::before,
.stepper-item:last-child::after {
    content: none;
}

/* Círculo indicador */
.step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.step-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
}

/* Estado: Completado (Paso 1 siempre, Paso 2 al avanzar al 3) */
.stepper-item.completed .step-counter {
    background-color: #198754; /* Verde success o tu color primario */
    border-color: #198754;
    color: #fff;
}

.stepper-item.completed::after,
.stepper-item.completed + .stepper-item::before {
    border-bottom-color: #198754;
}

.stepper-item.completed .step-name {
    color: #198754;
}

/* Estado: Activo */
.stepper-item.active .step-counter {
    background-color: #0d6efd; /* Azul primary o color de marca */
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
}

.stepper-item.active .step-name {
    color: #0d6efd;
    font-weight: 700;
}

/* Bloqueo visual de cursor en el paso 1 */
.stepper-item.disabled-step {
    cursor: not-allowed;
    user-select: none;
}
