:root {
    /* Paleta marca oficial — hex exactos */
    --oc-petroleo: #112731;
    --oc-arcilla: #C9A685;
    --oc-marfil: #ECEBE9;
    --oc-hueso: #E4E1D5;
    --oc-terra: #5D4733;
    --oc-btn: #5c4a33;
    --oc-btn-hover: #bfa381;
    --oc-btn-on-dark: #bfa381;
    --oc-btn-on-dark-hover: #d4b896;
    --oc-eyebrow: #112731;

    /* Aliases (clases oc-* existentes) */
    --oc-navy: #112731;
    --oc-tan: #C9A685;
    --oc-cream: #ECEBE9;
    --oc-beige: #E4E1D5;
    --oc-ink: #5D4733;

    /* Bootstrap: sin azul — Petróleo + Arcilla */
    --bs-primary: #112731;
    --bs-primary-rgb: 17, 39, 49;
    --bs-link-color: #112731;
    --bs-link-hover-color: #0d1e26;
    --bs-body-color: #5D4733;
    --bs-emphasis-color: #112731;
    --bs-focus-ring-color: rgba(201, 166, 133, 0.35);
}

body.public-site {
    font-family: 'Montserrat', 'Figtree', system-ui, sans-serif;
    background-color: var(--oc-cream);
    color: var(--oc-ink);
    min-height: 100dvh;
    padding-bottom: 5.5rem;
    --bs-heading-color: var(--oc-petroleo);
}

body.public-site .form-control:focus,
body.public-site .form-select:focus {
    border-color: rgba(201, 166, 133, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(201, 166, 133, 0.15);
}

body.public-site .form-check-input:checked {
    background-color: var(--oc-petroleo);
    border-color: var(--oc-petroleo);
}

body.public-site .form-check-input:focus {
    border-color: var(--oc-arcilla);
    box-shadow: 0 0 0 0.2rem rgba(201, 166, 133, 0.2);
}

@media (min-width: 768px) {
    body.public-site {
        padding-bottom: 2rem;
    }
}

.text-oc-navy { color: var(--oc-navy) !important; }
.text-oc-petroleo { color: var(--oc-petroleo) !important; }
.text-oc-tan { color: var(--oc-tan) !important; }
.text-oc-arcilla { color: var(--oc-arcilla) !important; }
.text-oc-ink { color: var(--oc-ink) !important; }
.bg-oc-navy { background-color: var(--oc-navy) !important; }
.bg-oc-tan { background-color: var(--oc-tan) !important; }
.bg-oc-cream { background-color: var(--oc-cream) !important; }
.bg-oc-beige { background-color: var(--oc-beige) !important; }
.bg-oc-petroleo { background-color: var(--oc-petroleo) !important; }
.bg-oc-hueso { background-color: var(--oc-hueso) !important; }
.bg-oc-marfil { background-color: var(--oc-marfil) !important; }
.bg-oc-arcilla { background-color: var(--oc-arcilla) !important; }
.border-oc-beige { border-color: var(--oc-beige) !important; }

.shadow-oc-card {
    box-shadow:
        0 4px 24px -4px rgba(17, 39, 49, 0.08),
        0 2px 8px -4px rgba(17, 39, 49, 0.06);
}

.btn-oc-tan {
    --bs-btn-bg: var(--oc-btn);
    --bs-btn-border-color: var(--oc-btn);
    --bs-btn-hover-bg: var(--oc-btn-hover);
    --bs-btn-hover-border-color: var(--oc-btn-hover);
    --bs-btn-active-bg: var(--oc-btn-hover);
    --bs-btn-active-border-color: var(--oc-btn-hover);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
}

/* Botones sólidos sobre fondos Petróleo / hero oscuro */
.hero-section .btn-oc-tan,
.search-landing .btn-oc-tan,
.bg-oc-navy .btn-oc-tan:not(.btn-light) {
    --bs-btn-bg: var(--oc-btn-on-dark);
    --bs-btn-border-color: var(--oc-btn-on-dark);
    --bs-btn-hover-bg: var(--oc-btn-on-dark-hover);
    --bs-btn-hover-border-color: var(--oc-btn-on-dark-hover);
    --bs-btn-active-bg: var(--oc-btn-on-dark-hover);
    --bs-btn-active-border-color: var(--oc-btn-on-dark-hover);
}

.btn-oc-account {
    --bs-btn-bg: #cbb190;
    --bs-btn-border-color: #cbb190;
    --bs-btn-hover-bg: var(--oc-btn);
    --bs-btn-hover-border-color: var(--oc-btn);
    --bs-btn-active-bg: var(--oc-btn);
    --bs-btn-active-border-color: var(--oc-btn);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-box-shadow: none;
    background-color: #cbb190;
    border-color: #cbb190;
    color: #fff;
}

.btn-oc-account:hover,
.btn-oc-account:focus,
.btn-oc-account:active {
    background-color: var(--oc-btn);
    border-color: var(--oc-btn);
    color: #fff;
}

.btn-light {
    --bs-btn-bg: #ECEBE9;
    --bs-btn-border-color: #E4E1D5;
    --bs-btn-hover-bg: #E4E1D5;
    --bs-btn-hover-border-color: var(--oc-btn-hover);
    --bs-btn-color: #112731;
    --bs-btn-hover-color: #112731;
}

.btn-outline-secondary {
    --bs-btn-color: var(--oc-btn);
    --bs-btn-border-color: var(--oc-btn);
    --bs-btn-bg: transparent;
    --bs-btn-hover-bg: var(--oc-btn-hover);
    --bs-btn-hover-border-color: var(--oc-btn-hover);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--oc-btn-hover);
    --bs-btn-active-border-color: var(--oc-btn-hover);
    --bs-btn-active-color: #fff;
}

.public-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(214, 211, 209, 0.9);
    box-shadow: 0 1px 3px rgba(17, 39, 49, 0.05);
}

.public-bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(214, 211, 209, 0.9);
    box-shadow: 0 -4px 24px -8px rgba(26, 43, 60, 0.12);
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.hero-section {
    position: relative;
    min-height: min(28rem, 82vh);
    background-color: transparent;
    overflow: hidden;
    --bs-heading-color: #fff;
    --bs-body-color: rgba(255, 255, 255, 0.82);
    color: #fff;
}

.hero-section .hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/brand/FondoWeb.png') center / cover no-repeat;
    pointer-events: none;
}

.hero-section .hero-overlay {
    display: none;
}

.hero-section__eyebrow {
    letter-spacing: 0.32em;
    color: var(--oc-btn) !important;
    text-align: inherit;
    padding-inline-start: 0;
    margin-bottom: 0;
}

/* Eyebrows / subtítulos superiores — Petróleo (fondos claros: auth, directorio) */
.directory-header__eyebrow,
.auth-page__eyebrow,
.register-page__eyebrow {
    color: var(--oc-eyebrow);
}

.hero-section h1,
.hero-section .display-5 {
    color: #fff !important;
    text-shadow: 0 1px 24px rgba(17, 39, 49, 0.35);
}

.hero-section__lead {
    color: rgba(236, 235, 233, 0.88) !important;
    margin-top: 0.85rem;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.55;
    max-width: none;
}

.hero-section__body {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    min-height: 0;
}

.hero-section__headline {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.hero-section__headline-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    width: 100%;
}

.hero-section__logo-link {
    flex: 0 0 auto;
    line-height: 0;
}

.hero-section__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.hero-section__title {
    margin: 0;
}

.hero-section__brand-logo {
    height: clamp(3.75rem, 18vw, 5rem) !important;
    max-width: min(11rem, 62vw) !important;
    width: auto;
    margin-inline: auto;
    display: block;
}

@media (min-width: 768px) {
    .hero-section__headline-inner {
        flex-direction: row;
        align-items: center;
        gap: clamp(1rem, 2vw, 1.75rem);
        text-align: left;
    }

    .hero-section__brand-logo {
        height: clamp(4.25rem, 7vw, 5.5rem) !important;
        max-width: 10.5rem !important;
        margin-inline: 0;
    }

    .hero-section__lead {
        margin-top: 1rem;
    }

    .hero-section__body {
        gap: 1.75rem;
        min-height: min(16rem, 38vh);
        justify-content: space-between;
    }

    .hero-section__headline-inner {
        align-items: center;
    }
}

/* Superficies oscuras: texto claro sobre Petróleo */
.bg-oc-navy.text-white,
footer.bg-oc-navy {
    --bs-heading-color: #fff;
    --bs-body-color: rgba(255, 255, 255, 0.78);
}

.bg-oc-navy.text-white h1,
.bg-oc-navy.text-white h2,
.bg-oc-navy.text-white h3,
.bg-oc-navy.text-white h4,
.bg-oc-navy.text-white h5,
.bg-oc-navy.text-white h6,
.bg-oc-navy.text-white .h1,
.bg-oc-navy.text-white .h2,
.bg-oc-navy.text-white .h3,
.bg-oc-navy.text-white .h4,
.bg-oc-navy.text-white .h5,
.bg-oc-navy.text-white .h6 {
    color: #fff !important;
}

.bg-oc-navy.text-white .text-white-50 {
    color: rgba(236, 235, 233, 0.78) !important;
}

.search-landing {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 12px 40px -12px rgba(17, 39, 49, 0.18);
    padding: 0;
    color: var(--oc-ink);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-landing > .d-flex,
.search-landing__inner {
    gap: 0.65rem !important;
    padding: 0.75rem 0.75rem 0.65rem;
}

.search-landing .form-select {
    width: 100%;
    color: var(--oc-ink) !important;
    -webkit-text-fill-color: var(--oc-ink);
    background-color: #fff !important;
    border: 1px solid var(--oc-beige) !important;
    border-radius: 0.75rem !important;
    padding: 0.7rem 2.25rem 0.7rem 0.9rem !important;
    font-size: 0.95rem;
    line-height: 1.35;
    min-height: 2.75rem;
    box-shadow: none !important;
}

.search-landing .form-select:focus {
    border-color: rgba(201, 166, 133, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(201, 166, 133, 0.15) !important;
}

.search-landing .flex-grow-1 {
    min-width: 0;
}

.search-landing__submit {
    width: 100%;
    align-items: stretch !important;
    margin-top: 0;
    padding: 0;
    border-top: 1px solid var(--oc-beige);
}

.search-landing .btn-oc-tan {
    --bs-btn-bg: #cbb190;
    --bs-btn-border-color: #cbb190;
    --bs-btn-hover-bg: var(--oc-btn);
    --bs-btn-hover-border-color: var(--oc-btn);
    --bs-btn-active-bg: var(--oc-btn);
    --bs-btn-active-border-color: var(--oc-btn);
    width: 100%;
    min-height: 2.75rem;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0 !important;
    border-bottom-left-radius: 1.25rem !important;
    border-bottom-right-radius: 1.25rem !important;
    border: none !important;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .search-landing {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 0.5rem;
        border-radius: 999px;
        padding: 0.35rem;
    }

    .search-landing > .d-flex,
    .search-landing__inner {
        flex: 1 1 auto;
        gap: 0.5rem !important;
        min-width: 0;
        padding: 0;
    }

    .search-landing .form-select {
        border: 0 !important;
        border-radius: 999px !important;
        padding: 0.65rem 2rem 0.65rem 1rem !important;
        min-height: 3rem;
    }

    .search-landing .d-flex.align-items-center,
    .search-landing__submit {
        flex: 0 0 auto;
        width: auto;
        margin-top: 0;
        padding: 0 0.15rem;
        border-top: none;
    }

    .search-landing .btn-oc-tan {
        width: auto;
        min-height: 3rem;
        border-radius: 999px !important;
        border-bottom-left-radius: 999px !important;
        border-bottom-right-radius: 999px !important;
        padding: 0.65rem 1.5rem !important;
    }
}

.home-search-strip {
    background: var(--oc-arcilla);
    border-bottom: 1px solid rgba(92, 74, 51, 0.12);
}

.home-search-strip__inner {
    max-width: 52rem;
    margin-inline: auto;
}

.home-search-strip__label {
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--oc-navy);
}

.home-search-strip__heading {
    color: var(--oc-navy);
    line-height: 1.25;
}

.home-search-strip__lead {
    max-width: 36rem;
    margin-inline: auto;
    color: rgba(17, 39, 49, 0.78);
    font-size: 0.95rem;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .home-search-strip__lead {
        margin-inline: 0;
    }
}

.home-search-strip .search-landing {
    box-shadow: 0 10px 32px -14px rgba(17, 39, 49, 0.22);
}

.home-search-strip .search-landing .btn-oc-tan {
    --bs-btn-bg: var(--oc-btn);
    --bs-btn-border-color: var(--oc-btn);
    --bs-btn-hover-bg: var(--oc-btn-hover);
    --bs-btn-hover-border-color: var(--oc-btn-hover);
    --bs-btn-active-bg: var(--oc-btn-hover);
    --bs-btn-active-border-color: var(--oc-btn-hover);
}

.home-job-post {
    margin: 0;
}

.home-job-post__intro-text {
    max-width: 42rem;
    margin-inline: auto;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    color: var(--oc-btn-on-dark);
}

.home-job-post__panel {
    background: var(--oc-petroleo);
    padding: 1.75rem 0 2.25rem;
}

.home-job-post__inner {
    max-width: 52rem;
}

.home-job-post__auth {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.home-job-post__auth-text {
    color: rgba(236, 235, 233, 0.92);
    font-size: 0.95rem;
}

.home-job-post__auth-text--logged {
    width: 100%;
    text-align: center;
    margin-bottom: 0.25rem !important;
}

.home-job-post__auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.home-job-post__errors {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fecaca;
    font-size: 0.875rem;
}

.home-job-post__select,
.home-job-post__input,
.home-job-post__textarea {
    border: 0;
    border-radius: 999px;
    background: rgba(236, 235, 233, 0.95);
    color: var(--oc-ink);
    min-height: 3rem;
    padding: 0.75rem 1.15rem;
    font-size: 0.95rem;
    box-shadow: none;
}

.home-job-post__textarea {
    border-radius: 1.25rem;
    min-height: 9rem;
    resize: vertical;
    padding-bottom: 2.75rem;
}

.home-job-post__select:focus,
.home-job-post__input:focus,
.home-job-post__textarea:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 166, 133, 0.25);
}

.home-job-post__description-wrap {
    position: relative;
    margin-top: 1rem;
}

.home-job-post__attach-btn {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    border-radius: 999px;
    background: var(--oc-btn);
    border-color: var(--oc-btn);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 2;
}

.home-job-post__attach-btn:hover,
.home-job-post__attach-btn:focus {
    background: var(--oc-btn-hover);
    border-color: var(--oc-btn-hover);
    color: #fff;
}

.home-job-post__attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.85rem;
    font-size: 0.8125rem;
    color: rgba(236, 235, 233, 0.88);
}

.home-job-post__attachment-item {
    padding: 0;
}

.home-job-post__attachment-item--warn {
    width: 100%;
    padding: 0.35rem 0;
    color: #fde68a;
}

.home-job-post__attachment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 5.5rem;
}

.home-job-post__attachment-thumb {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 2px solid rgba(236, 235, 233, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.home-job-post__attachment-doc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    border: 2px solid rgba(236, 235, 233, 0.35);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(236, 235, 233, 0.92);
}

.home-job-post__attachment-name {
    display: block;
    max-width: 5.5rem;
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
}

.home-job-post__footer-row,
.home-job-post__footer {
    margin-top: 1rem;
}

.home-job-post__after-description {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.75rem;
}

.home-job-post__footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
}

.home-job-post__deadline-field {
    flex: 1 1 16rem;
    min-width: min(100%, 20rem);
    max-width: 100%;
}

.home-job-post__footer-submit {
    flex: 0 0 auto;
    margin-left: auto;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .home-job-post__footer-submit {
        width: auto;
        min-width: 14rem;
        max-width: 18rem;
    }
}

.home-job-post__field-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(236, 235, 233, 0.88);
}

.home-job-post__footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-job-post__input {
    font-size: 0.9rem;
}

.home-job-post__input::placeholder {
    font-size: 0.8125rem;
    color: rgba(93, 71, 51, 0.55);
}

@media (max-width: 767.98px) {
    .home-job-post__input {
        border-radius: 1rem;
        font-size: 0.875rem;
        padding: 0.8rem 1rem;
    }

    .home-job-post__input::placeholder {
        font-size: 0.8rem;
    }
}

.home-job-post__submit {
    min-height: 3rem;
    border-radius: 999px;
    background: var(--oc-btn-on-dark);
    border: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: lowercase;
    box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.45);
}

.home-job-post__submit:hover,
.home-job-post__submit:focus {
    background: var(--oc-btn-on-dark-hover);
    color: #fff;
}

.home-job-post__no-deadline {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0;
    margin-bottom: 0;
    color: rgba(236, 235, 233, 0.88);
    cursor: pointer;
    user-select: none;
    position: relative;
    z-index: 2;
}

body.public-site .home-job-post__checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0;
    flex-shrink: 0;
    border: 2px solid rgba(236, 235, 233, 0.85);
    border-radius: 0.3rem;
    background-color: rgba(255, 255, 255, 0.12);
    background-image: none;
    cursor: pointer;
    pointer-events: auto;
}

body.public-site .home-job-post__checkbox:checked {
    background-color: var(--oc-arcilla) !important;
    border-color: var(--oc-arcilla) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23112731' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

body.public-site .home-job-post__checkbox:focus {
    outline: none;
    border-color: var(--oc-arcilla);
    box-shadow: 0 0 0 0.2rem rgba(201, 166, 133, 0.35);
}

.home-job-post__checkbox-label {
    margin: 0;
    font-size: 0.95rem;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .home-job-post__panel {
        padding-bottom: calc(2.25rem + 4.75rem);
    }

    .home-job-post__no-deadline {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .home-job-post__panel {
        padding: 2rem 0 2.75rem;
    }
}

.hero-section__inner {
    min-height: min(28rem, 82vh);
    padding-top: 6.5rem;
    padding-bottom: 1.5rem;
    justify-content: flex-end;
}

.hero-section__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
    align-self: flex-end;
    width: 100%;
    margin-top: auto;
    margin-left: auto;
}

.hero-section__actions .btn {
    white-space: nowrap;
    width: auto;
    min-width: max-content;
    flex: 0 0 auto;
    padding: 0.625rem 1.5rem !important;
    font-size: 1rem;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50rem !important;
}

.hero-section__actions .btn-oc-tan {
    --bs-btn-bg: var(--oc-btn);
    --bs-btn-border-color: var(--oc-btn);
    --bs-btn-hover-bg: var(--oc-btn-on-dark);
    --bs-btn-hover-border-color: var(--oc-btn-on-dark);
    --bs-btn-active-bg: var(--oc-btn-on-dark);
    --bs-btn-active-border-color: var(--oc-btn-on-dark);
    --bs-btn-box-shadow: none;
}

.hero-section__actions .btn-oc-account {
    --bs-btn-bg: #cbb190;
    --bs-btn-border-color: #cbb190;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--oc-btn);
    --bs-btn-hover-border-color: var(--oc-btn);
    --bs-btn-active-bg: var(--oc-btn);
    --bs-btn-active-border-color: var(--oc-btn);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-box-shadow: none;
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
    }

    .hero-section__inner {
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 1.5rem;
    }

    .hero-section__inner .display-5 {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
    }

    .hero-section__brand-logo {
        height: clamp(3.75rem, 18vw, 5rem) !important;
        max-width: min(12rem, 68vw) !important;
    }

    .hero-section__headline-inner {
        gap: 0.875rem;
    }

    .hero-section__search {
        margin-top: 1.25rem !important;
    }

    .hero-section__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        margin-top: 1rem !important;
    }

    .hero-section__actions .btn {
        width: auto;
        min-width: max-content;
        min-height: 2.75rem;
        flex: 0 0 auto;
    }
}

/* ── Home: secciones (mapeo paleta marca) ── */
.home-section-valor {
    background-color: #112731 !important;
}

.home-section-steps {
    background-color: #E4E1D5 !important;
}

.home-section-steps h2,
.home-section-steps h3 {
    color: #112731 !important;
}

.home-section-steps__lead,
.home-section-steps p {
    color: #5D4733;
    opacity: 0.85;
}

.home-step__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #C9A685 !important;
    color: #fff !important;
    font-weight: 700;
    line-height: 1;
}

/* ── Home: bloque de planes (fondo Marfil) ── */
.home-plans {
    background-color: #ECEBE9;
}

.home-plans__eyebrow,
.plan-section__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
    color: var(--oc-arcilla);
}

.home-plans__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--oc-petroleo);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.home-plans__lead,
.plan-section__subtitle {
    color: rgba(92, 74, 51, 0.78);
    font-size: 0.95rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.home-plans__intro {
    max-width: 40rem;
}

.home-trade-card {
    border-color: rgba(228, 225, 213, 0.8) !important;
    border-radius: 1rem !important;
    background: #fff;
    box-shadow: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-trade-card:hover {
    border-color: rgba(201, 166, 133, 0.35) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -16px rgba(17, 39, 49, 0.18);
}

.home-trade-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 4.75rem;
    height: 4.75rem;
    padding: 0;
    color: inherit;
    background-color: transparent;
}

.home-trade-card__icon-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.plan-section {
    padding: 1.75rem 1.25rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--oc-beige);
    background: #fff;
    box-shadow: 0 4px 20px -6px rgba(17, 39, 49, 0.07);
}

.plan-section--signature {
    border-color: rgba(201, 166, 133, 0.45);
    background: linear-gradient(165deg, rgba(201, 166, 133, 0.14) 0%, #fff 52%);
    box-shadow: 0 16px 44px -28px rgba(92, 74, 51, 0.16);
}

.plan-section--pro {
    border-color: rgba(92, 74, 51, 0.14);
    background: linear-gradient(165deg, var(--oc-hueso) 0%, #fff 55%);
    box-shadow: 0 8px 28px -16px rgba(17, 39, 49, 0.08);
}

.plan-section--community {
    border-style: dashed;
    border-color: rgba(201, 166, 133, 0.55);
    box-shadow: 0 8px 28px -16px rgba(17, 39, 49, 0.08);
}

.plan-section--pro.plan-section--community {
    background: linear-gradient(165deg, rgba(201, 166, 133, 0.28) 0%, #fff 50%);
}

.plan-section__header {
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.plan-section__title {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 700;
    color: var(--oc-btn);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.plan-section__filters {
    max-width: 56rem;
    margin-bottom: 1.5rem;
}

.plan-section__filters-scroll {
    overflow: visible;
}

.plan-section__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0.25rem 0.25rem;
}

.plan-section__tab {
    flex-shrink: 0;
    border: 2px solid var(--oc-btn);
    background: #fff;
    color: var(--oc-btn);
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.plan-section__tab:hover {
    border-color: var(--oc-btn-hover);
    background: var(--oc-btn-hover);
    color: #fff;
}

.plan-section__tab.is-active {
    border-color: var(--oc-btn);
    background: var(--oc-btn);
    color: #fff;
    box-shadow: 0 4px 14px -6px rgba(17, 39, 49, 0.2);
}

.plan-section__filter-empty {
    text-align: center;
    border: 1px dashed rgba(201, 166, 133, 0.45);
    border-radius: 1.5rem;
    background: var(--oc-cream);
    padding: 2.5rem 1.5rem;
    color: rgba(92, 74, 51, 0.75);
}

.plan-section__filter-reset {
    margin-top: 0.75rem;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--oc-btn);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: rgba(201, 166, 133, 0.5);
}

.plan-section__filter-reset:hover {
    color: var(--oc-btn-hover);
}

.plan-section__empty {
    border: 1px dashed rgba(201, 166, 133, 0.45);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.plan-section__empty p,
.plan-section__empty .text-secondary {
    color: rgba(92, 74, 51, 0.72) !important;
}

.plan-section__carousel {
    overflow: hidden;
    margin-inline: -0.25rem;
    padding-block: 0.25rem;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 4%,
        #000 96%,
        transparent
    );
}

.plan-section__carousel-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    width: max-content;
    animation: plan-carousel-scroll var(--carousel-duration, 36s) linear infinite;
    will-change: transform;
}

.plan-section__carousel:hover .plan-section__carousel-track {
    animation-play-state: paused;
}

.plan-section__carousel-item {
    flex: 0 0 auto;
    width: min(11.25rem, 72vw);
}

@media (min-width: 576px) {
    .plan-section__carousel-item {
        width: 11.25rem;
    }
}

@keyframes plan-carousel-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .plan-section__carousel-track {
        animation: none;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
    }

    .plan-section__carousel-item {
        scroll-snap-align: start;
    }
}

/* ── Tarjetas de profesional (Bootstrap card + overrides) ── */
a.pro-card-link,
a.pro-card-link:hover,
a.pro-card-link:focus,
a.pro-card-link:active {
    color: var(--oc-ink);
    text-decoration: none;
}

.pro-card {
    border: 1px solid rgba(216, 209, 199, 0.75) !important;
    border-radius: 1rem !important;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pro-card-link:hover .pro-card {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -16px rgba(17, 39, 49, 0.2) !important;
    border-color: rgba(201, 166, 133, 0.3) !important;
}

.pro-card--golden {
    border-color: rgba(201, 166, 133, 0.25) !important;
}

.pro-card__media {
    background: #e4e1d5;
    overflow: hidden;
}

.pro-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.pro-card--featured .pro-card__img {
    aspect-ratio: 16 / 11;
}

@media (min-width: 992px) {
    .pro-card--featured .pro-card__img {
        aspect-ratio: 16 / 10;
        min-height: 280px;
    }
}

.pro-card__img--placeholder {
    aspect-ratio: 4 / 3;
    color: rgba(17, 39, 49, 0.22);
    font-size: 2rem;
    background: linear-gradient(135deg, #e4e1d5, #ecebe9);
}

.pro-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 39, 49, 0.55) 0%, transparent 55%);
    pointer-events: none;
}

.pro-card__badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35em 0.65em;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--oc-navy) !important;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.pro-card__badge--golden {
    background: var(--oc-tan) !important;
    color: #fff !important;
    border-color: transparent;
}

.pro-card__badge--verified {
    background: #C9A685 !important;
    color: #fff !important;
    border-color: transparent;
}

.pro-card__body {
    padding: 0.85rem 1rem 1rem !important;
}

.pro-card__chip {
    display: inline-block;
    max-width: 100%;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.4rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(201, 166, 133, 0.22);
    background: rgba(201, 166, 133, 0.08);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--oc-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-card__name {
    color: var(--oc-navy) !important;
    font-weight: 700;
    font-size: 0.95rem;
}

.pro-card__trade {
    color: rgba(93, 71, 51, 0.72) !important;
}

.pro-card__location {
    color: rgba(93, 71, 51, 0.58) !important;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-card__footer {
    border-color: rgba(216, 209, 199, 0.55) !important;
}

.pro-card__cta {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--oc-tan);
}

.pro-card__arrow {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--oc-tan);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.pro-card--directory {
    border-radius: 1.1rem !important;
    box-shadow: 0 4px 18px -12px rgba(17, 39, 49, 0.14) !important;
}

.pro-card--directory .pro-card__media {
    border-radius: 1.1rem 1.1rem 0 0;
}

.pro-card--directory .pro-card__body {
    min-height: 8.5rem;
    padding: 0.9rem 1rem 1rem !important;
}

.pro-card--directory .pro-card__footer--directory {
    border-top: 1px solid rgba(216, 209, 199, 0.45);
    margin-top: 0.65rem;
    padding-top: 0.65rem !important;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.pro-card-link:hover .pro-card--directory .pro-card__footer--directory {
    opacity: 1;
}

.pro-card--directory .pro-card__arrow {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.72rem;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.pro-card-link:hover .pro-card--directory .pro-card__arrow {
    transform: translateX(2px);
}

/* ── Directorio ── */
.directory-page {
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
}

.directory-page__container {
    max-width: 72rem;
}

.directory-filters-panel {
    position: relative;
}

@media (min-width: 768px) {
    .directory-filters-panel {
        position: sticky;
        top: 5.5rem;
        align-self: flex-start;
    }
}

.search-panel {
    padding: 1.25rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(216, 209, 199, 0.55);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 32px -20px rgba(17, 39, 49, 0.14);
    backdrop-filter: blur(6px);
}

.search-panel__head {
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(216, 209, 199, 0.4);
}

.search-panel__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--oc-navy);
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.search-panel__hint {
    font-size: 0.78rem;
    color: rgba(93, 71, 51, 0.58);
    margin: 0;
    line-height: 1.4;
}

.search-panel__fields {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.search-panel__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(93, 71, 51, 0.62);
    margin-bottom: 0.35rem;
}

.search-panel__select.form-select {
    border: 1px solid rgba(216, 209, 199, 0.9);
    border-radius: 0.75rem;
    padding: 0.58rem 0.85rem;
    font-size: 0.88rem;
    color: var(--oc-ink);
    background-color: #fff;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-panel__select.form-select:focus {
    border-color: rgba(201, 166, 133, 0.5);
    box-shadow: 0 0 0 3px rgba(201, 166, 133, 0.1);
}

.search-panel__select.form-select:disabled {
    background-color: rgba(246, 243, 238, 0.75);
    color: rgba(93, 71, 51, 0.45);
}

.search-panel__actions {
    padding-top: 0.35rem;
}

.search-panel__submit {
    width: 100%;
    padding: 0.65rem 1rem !important;
    border-radius: 999px !important;
    font-size: 0.9rem !important;
    box-shadow: 0 8px 20px -12px rgba(201, 166, 133, 0.55);
}

.directory-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(216, 209, 199, 0.55);
}

@media (min-width: 992px) {
    .directory-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.directory-header__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.directory-header__title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--oc-navy);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.15;
}

.directory-header__meta {
    font-size: 0.88rem;
    color: rgba(93, 71, 51, 0.62);
    margin: 0.45rem 0 0;
}

.directory-header__count {
    font-weight: 700;
    color: var(--oc-navy);
}

.directory-header__mobile-hint {
    color: rgba(93, 71, 51, 0.48);
}

.directory-header__sort {
    min-width: 11.5rem;
}

.directory-header__sort-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(93, 71, 51, 0.52);
    margin-bottom: 0.35rem;
}

.directory-header__sort-select.form-select {
    border: 1px solid rgba(216, 209, 199, 0.85);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--oc-navy);
    background-color: #fff;
    box-shadow: none;
}

.directory-header__sort-select.form-select:focus {
    border-color: rgba(201, 166, 133, 0.45);
    box-shadow: 0 0 0 3px rgba(201, 166, 133, 0.1);
}

.directory-alert {
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.84rem;
    color: #5d4733;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.25);
}

.directory-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px dashed rgba(216, 209, 199, 0.85);
    background: rgba(255, 255, 255, 0.55);
}

.directory-empty__icon {
    font-size: 1.75rem;
    color: rgba(201, 166, 133, 0.45);
    margin-bottom: 0.75rem;
}

.directory-empty__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--oc-navy);
    margin-bottom: 0.35rem;
}

.directory-empty__text {
    font-size: 0.88rem;
    color: rgba(93, 71, 51, 0.6);
    margin-bottom: 0;
}

.directory-page__back {
    margin-top: 2rem;
}

.directory-page__back-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--oc-tan);
    text-decoration: none;
}

.directory-page__back-link:hover {
    color: #C9A685;
    text-decoration: underline;
}

.auth-card {
    border-radius: 1.35rem;
    border: 1px solid rgba(216, 209, 199, 0.55);
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 16px 40px -24px rgba(17, 39, 49, 0.18),
        0 4px 18px -10px rgba(201, 166, 133, 0.12);
    backdrop-filter: blur(8px);
}

.guest-main {
    position: relative;
    min-height: calc(100dvh - 5.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 2.5rem;
    overflow: hidden;
}

.auth-page {
    position: relative;
    width: 100%;
    max-width: 26rem;
    z-index: 1;
}

.auth-page__glow {
    position: absolute;
    inset: auto;
    top: 50%;
    left: 50%;
    width: min(28rem, 90vw);
    height: min(28rem, 90vw);
    transform: translate(-50%, -54%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 166, 133, 0.14) 0%, rgba(201, 166, 133, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

.auth-page__inner {
    position: relative;
    z-index: 1;
}

.auth-page__card {
    padding: 1.75rem 1.5rem;
}

@media (min-width: 576px) {
    .auth-page__card {
        padding: 2rem 2rem 1.85rem;
    }
}

.auth-page__header {
    margin-bottom: 1.5rem;
}

.auth-page__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.auth-page__title {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    color: var(--oc-navy);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.auth-page__lead {
    color: rgba(93, 71, 51, 0.68);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0.65rem auto 0;
    max-width: 22rem;
}

.auth-page__alert {
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #112731;
    background: rgba(201, 166, 133, 0.12);
    border: 1px solid rgba(201, 166, 133, 0.24);
}

.auth-page__footer {
    margin-top: 1.25rem;
    font-size: 0.84rem;
    color: rgba(93, 71, 51, 0.62);
}

.auth-page__footer-link {
    font-weight: 600;
    color: var(--oc-tan);
    text-decoration: none;
}

.auth-page__footer-link:hover {
    color: #C9A685;
    text-decoration: underline;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form .oc-field {
    margin-bottom: 0;
}

.auth-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.15rem;
}

.auth-form__remember {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.82rem;
    color: rgba(93, 71, 51, 0.78);
    cursor: pointer;
    user-select: none;
}

.auth-form__checkbox {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--oc-tan);
    cursor: pointer;
}

.auth-form__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--oc-tan);
    text-decoration: none;
}

.auth-form__link:hover {
    color: #C9A685;
    text-decoration: underline;
}

.auth-form__submit {
    margin-top: 0.35rem;
    padding: 0.7rem 1.25rem !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px -12px rgba(92, 74, 51, 0.42);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -12px rgba(191, 163, 129, 0.55);
}

.auth-form__submit:active {
    transform: translateY(0);
}

@media (max-width: 767.98px) {
    .directory-filters-panel.is-hidden {
        display: none !important;
    }
}

/* ── Registro profesional (Hueso → Marfil → Petróleo / Arcilla) ── */
.register-page-main {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    background-color: #E4E1D5;
}

.register-page {
    max-width: 40rem;
}

.register-page__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.register-page__title {
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
    color: #112731;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.register-page__lead {
    color: #5D4733;
    font-size: 0.95rem;
    max-width: 28rem;
    margin: 0 auto;
    line-height: 1.55;
    opacity: 0.88;
}

.register-page__header {
    margin-bottom: 1.75rem;
}

.register-choice {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.register-choice__card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background: #ECEBE9;
    border: 1px solid #E4E1D5;
    border-radius: 1.25rem;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.register-choice__card:hover {
    border-color: rgba(201, 166, 133, 0.55);
    box-shadow: 0 8px 28px -12px rgba(17, 39, 49, 0.18);
    transform: translateY(-1px);
}

.register-choice__card--pro {
    border-color: rgba(201, 166, 133, 0.35);
}

.register-choice__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: rgba(17, 39, 49, 0.08);
    color: #112731;
}

.register-choice__icon--pro {
    background: rgba(201, 166, 133, 0.22);
    color: #5c4a33;
}

.register-choice__title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #112731;
    margin-bottom: 0.35rem;
}

.register-choice__text {
    display: block;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #5D4733;
    opacity: 0.9;
}

.register-choice__cta {
    align-self: flex-start;
}

.register-choice__footer {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #5D4733;
}

@media (min-width: 576px) {
    .register-choice__card {
        flex-direction: row;
        align-items: center;
    }

    .register-choice__body {
        flex: 1;
        min-width: 0;
    }
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.register-wizard__card {
    background: #ECEBE9;
    border: 1px solid #E4E1D5;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 20px -12px rgba(17, 39, 49, 0.1);
}

.register-wizard__card .register-section {
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    background: #ECEBE9;
}

/* Stepper */
.register-stepper {
    margin-bottom: 1.25rem;
}

.register-stepper__list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.register-stepper__item {
    flex: 0 0 auto;
}

.register-stepper__line {
    flex: 1 1 auto;
    height: 2px;
    min-width: 0.75rem;
    max-width: 2.5rem;
    margin: 0 0.15rem;
    background: #E4E1D5;
    border-radius: 1px;
    transition: background 0.2s ease;
}

.register-stepper__line.is-complete {
    background: #C9A685;
}

.register-stepper__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    min-width: 3rem;
}

.register-stepper__btn:disabled {
    cursor: default;
    opacity: 0.55;
}

.register-stepper__dot {
    position: relative;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #E4E1D5;
    background: #ECEBE9;
    color: #5D4733;
    opacity: 0.55;
    font-size: 0.78rem;
    font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.register-stepper__check {
    display: none;
    width: 0.9rem;
    height: 0.9rem;
}

.register-stepper__num {
    line-height: 1;
}

.register-stepper__item.is-active .register-stepper__dot {
    border-color: #C9A685;
    background: rgba(201, 166, 133, 0.15);
    color: #112731;
    opacity: 1;
}

.register-stepper__item.is-complete .register-stepper__dot {
    border-color: #C9A685;
    background: #C9A685;
    color: #fff;
    opacity: 1;
}

.register-stepper__item.is-complete .register-stepper__num {
    display: none;
}

.register-stepper__item.is-complete .register-stepper__check {
    display: block;
}

.register-stepper__label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #5D4733;
    opacity: 0.5;
    line-height: 1.2;
    text-align: center;
}

.register-stepper__item.is-active .register-stepper__label {
    color: #112731;
    opacity: 1;
}

.register-stepper__item.is-complete .register-stepper__label {
    color: #C9A685;
    opacity: 1;
}

.register-step-panel[hidden] {
    display: none !important;
}

.register-wizard__nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid #E4E1D5;
    background: #E4E1D5;
}

.register-wizard__nav-spacer {
    flex: 1;
}

.register-wizard__btn-back,
.register-wizard__btn-next,
.register-submit {
    padding: 0.55rem 1.35rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.register-section {
    background: #ECEBE9;
    border: 1px solid #E4E1D5;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 20px -12px rgba(17, 39, 49, 0.1);
}

.register-section__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem 0.85rem;
    border-bottom: 1px solid #E4E1D5;
}

.register-section__title {
    font-size: 1rem;
    font-weight: 700;
    color: #112731;
    margin: 0 0 0.15rem;
    line-height: 1.3;
}

.register-section__title:focus {
    outline: none;
}

.register-section__hint {
    font-size: 0.8rem;
    color: #5D4733;
    opacity: 0.75;
    margin: 0;
    line-height: 1.45;
}

.register-section__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.oc-field {
    margin-bottom: 0;
}

.oc-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #112731;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.oc-label-optional {
    font-weight: 500;
    color: #5D4733;
    opacity: 0.55;
}

.oc-input.form-control,
.oc-input.form-select {
    border: 1px solid #E4E1D5;
    border-radius: 0.75rem;
    padding: 0.62rem 0.85rem;
    font-size: 0.9rem;
    color: #5D4733;
    background-color: #fff;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.oc-input.form-control::placeholder {
    color: #5D4733;
    opacity: 0.45;
}

.oc-input.form-control:focus,
.oc-input.form-select:focus {
    border-color: #C9A685;
    box-shadow: 0 0 0 3px rgba(201, 166, 133, 0.2);
}

.oc-input.form-select:disabled {
    background-color: #ECEBE9;
    color: #5D4733;
    opacity: 0.55;
}

.oc-phone-input-group {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.oc-phone-country {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    flex: 0 0 auto;
    padding: 0 0.85rem;
    min-width: 5.75rem;
    min-height: calc(2.25rem + 2px);
    border: 1px solid rgba(216, 209, 199, 0.95);
    border-radius: 0.75rem;
    background: rgba(246, 243, 238, 0.85);
    cursor: default;
    user-select: none;
}

.oc-phone-country__flag {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.oc-phone-country__code {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--oc-navy);
    line-height: 1;
    white-space: nowrap;
}

.oc-phone-national {
    flex: 1 1 auto;
    min-width: 0;
    letter-spacing: 0.02em;
}

.oc-phone-hint {
    line-height: 1.4;
}

.register-plan-note {
    color: rgba(93, 71, 51, 0.65);
    padding: 0.5rem 0.75rem;
    border-radius: 0.6rem;
    background: rgba(201, 166, 133, 0.07);
    border: 1px solid rgba(201, 166, 133, 0.15);
}

.register-plan-mp-hint {
    color: rgba(93, 71, 51, 0.72);
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    background: rgba(201, 166, 133, 0.06);
    border: 1px solid rgba(201, 166, 133, 0.18);
    line-height: 1.45;
}

.register-plan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .register-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.register-plan-card {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.register-plan-card__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.register-plan-card__body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    height: 100%;
    padding: 1rem 1rem 0.95rem;
    border: 2px solid rgba(216, 209, 199, 0.85);
    border-radius: 1rem;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.register-plan-card:hover .register-plan-card__body {
    border-color: rgba(201, 166, 133, 0.35);
    box-shadow: 0 6px 18px -12px rgba(17, 39, 49, 0.18);
}

.register-plan-card__input:focus-visible + .register-plan-card__body {
    outline: 2px solid rgba(201, 166, 133, 0.45);
    outline-offset: 2px;
}

.register-plan-card.is-selected .register-plan-card__body,
.register-plan-card__input:checked + .register-plan-card__body {
    border-color: var(--oc-btn);
    background: var(--oc-btn);
    box-shadow: 0 8px 22px -14px rgba(17, 39, 49, 0.35);
}

.register-plan-card.is-selected .register-plan-card__name,
.register-plan-card__input:checked + .register-plan-card__body .register-plan-card__name {
    color: #fff;
}

.register-plan-card.is-selected .register-plan-card__price,
.register-plan-card__input:checked + .register-plan-card__body .register-plan-card__price,
.register-plan-card.is-selected .register-plan-card__price--free,
.register-plan-card__input:checked + .register-plan-card__body .register-plan-card__price--free {
    color: rgba(255, 255, 255, 0.92);
}

.register-plan-card.is-selected .register-plan-card__desc,
.register-plan-card__input:checked + .register-plan-card__body .register-plan-card__desc {
    color: rgba(255, 255, 255, 0.78);
}

.register-plan-card.is-selected .register-plan-card__benefits li,
.register-plan-card__input:checked + .register-plan-card__body .register-plan-card__benefits li {
    color: rgba(255, 255, 255, 0.88);
}

.register-plan-card.is-selected .register-plan-card__check,
.register-plan-card__input:checked + .register-plan-card__body .register-plan-card__check {
    border-color: #fff;
    background: #fff;
    color: var(--oc-btn);
}

.register-plan-card.is-selected .register-plan-card__benefits li::before,
.register-plan-card__input:checked + .register-plan-card__body .register-plan-card__benefits li::before {
    background: rgba(255, 255, 255, 0.75);
}

.register-plan-card[data-plan-slug="signature"].is-selected .register-plan-card__body,
.register-plan-card[data-plan-slug="signature"] .register-plan-card__input:checked + .register-plan-card__body {
    background: var(--oc-btn);
}

.register-plan-card__check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(216, 209, 199, 0.95);
    background: #fff;
    color: transparent;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.register-plan-card__check svg {
    width: 0.75rem;
    height: 0.75rem;
}

.register-plan-card__head {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-right: 1.75rem;
}

.register-plan-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--oc-btn);
    line-height: 1.2;
}

.register-plan-card__price {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--oc-tan);
}

.register-plan-card__price--free {
    color: #5D4733;
}

.register-plan-card__desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(93, 71, 51, 0.68);
}

.register-plan-card__benefits {
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.register-plan-card__benefits li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(93, 71, 51, 0.78);
}

.register-plan-card__benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: rgba(201, 166, 133, 0.55);
}

.register-plan-card[data-plan-slug="signature"] .register-plan-card__body {
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.65) 0%, #fff 100%);
}

.is-invalid-picker .register-plan-card__body {
    border-color: rgba(220, 53, 69, 0.35);
}

.register-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.register-chip {
    margin: 0;
    cursor: pointer;
}

.register-chip__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.register-chip__label {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(216, 209, 199, 0.95);
    background: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(93, 71, 51, 0.78);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    user-select: none;
}

.register-chip__input:focus-visible + .register-chip__label {
    outline: 2px solid rgba(201, 166, 133, 0.45);
    outline-offset: 2px;
}

.register-chip:hover .register-chip__label {
    border-color: rgba(201, 166, 133, 0.35);
}

.register-chip__input:checked + .register-chip__label,
.register-chip:hover .register-chip__input:checked + .register-chip__label {
    border-color: var(--oc-btn);
    background: var(--oc-btn);
    color: #fff;
    box-shadow: 0 4px 12px -6px rgba(17, 39, 49, 0.3);
}

.register-file {
    position: relative;
}

.register-file-upload {
    position: relative;
}

.register-file-upload .register-file__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.register-file__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.register-file__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 6.5rem;
    padding: 1rem;
    margin: 0;
    border: 1.5px dashed rgba(216, 209, 199, 0.95);
    border-radius: 1rem;
    background: rgba(246, 243, 238, 0.45);
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
    cursor: pointer;
}

.register-file__box--gallery {
    min-height: 5.5rem;
}

.register-file:hover .register-file__box,
.register-file__input:focus-visible + .register-file__box {
    border-color: rgba(201, 166, 133, 0.45);
    background: rgba(201, 166, 133, 0.05);
}

.register-file__icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 166, 133, 0.12);
    color: var(--oc-tan);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.register-file__text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--oc-navy);
}

.register-file__name {
    font-size: 0.75rem;
    color: rgba(93, 71, 51, 0.5);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.register-file-preview__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.register-file-preview__count {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(93, 71, 51, 0.55);
}

.register-file-preview__frame {
    position: relative;
    overflow: hidden;
    border-radius: 0.85rem;
    border: 1px solid rgba(216, 209, 199, 0.85);
    background: rgba(246, 243, 238, 0.65);
    box-shadow: 0 8px 20px -14px rgba(17, 39, 49, 0.25);
}

.register-file-preview__frame--avatar {
    width: 8.5rem;
    height: 8.5rem;
}

.register-file-preview__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.register-file-preview__remove {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.95);
    color: rgba(93, 71, 51, 0.75);
    font-size: 1.15rem;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(17, 39, 49, 0.15);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.register-file-preview__remove:hover {
    background: #E4E1D5;
    color: #112731;
}

.register-file-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 576px) {
    .register-file-preview-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.register-file-preview-grid__item .register-file-preview__frame {
    aspect-ratio: 1 / 1;
}

.register-form__footer {
    padding: 0.25rem 0 0;
}

.register-submit {
    box-shadow: 0 8px 24px -8px rgba(201, 166, 133, 0.55);
}

.register-submit:disabled {
    opacity: 0.75;
}

.offline-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem 2rem;
    background: rgba(17, 39, 49, 0.55);
    backdrop-filter: blur(8px);
}

.offline-overlay[hidden] {
    display: none !important;
}

body.offline-overlay-open {
    overflow: hidden;
}

.offline-overlay__panel {
    width: 100%;
    max-width: 26rem;
    padding: 2rem 1.75rem 2.25rem;
    text-align: center;
}

.offline-overlay__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
    padding: 1.15rem 1.75rem;
    background: var(--oc-navy);
    border-radius: 1rem;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.2);
}

.offline-overlay__logo img {
    max-width: 11rem;
    object-position: center;
}

.offline-overlay__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(201, 166, 133, 0.1);
    color: var(--oc-tan);
}

.offline-overlay__title {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--oc-navy);
    line-height: 1.2;
    margin: 0;
}

.offline-overlay__lead {
    margin: 0.65rem auto 0;
    max-width: 22rem;
    font-size: 0.88rem;
    color: rgba(93, 71, 51, 0.68);
    line-height: 1.5;
}

.offline-overlay__actions {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

@media (min-width: 480px) {
    .offline-overlay__actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Modal «Contratar»: cuerpo con scroll en escritorio y móvil */
.hire-professional-modal {
    max-height: calc(100dvh - 2rem);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.hire-professional-modal .modal-content {
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
}

.hire-professional-modal .hire-professional-modal__form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.hire-professional-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.hire-professional-modal .modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 1;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}
