.ed-public,
.ed-dashboard {
    --ed-text: #152839;
    --ed-muted: #4e6372;
    --ed-accent: #006b65;
    --ed-border: #d9e5e7;
    color: var(--ed-text);
}

.ed-public {
    background: #fff;
}

.ed-public a:focus-visible,
.ed-dashboard a:focus-visible,
.ed-dashboard button:focus-visible {
    outline: 3px solid #2b8c9c;
    outline-offset: 3px;
}

.ed-header {
    border-bottom: 1px solid var(--ed-border);
}

.ed-header-inner,
.ed-public-nav {
    display: flex;
    align-items: center;
    gap: clamp(.5rem, 3vw, 1.75rem);
}

.ed-header-inner {
    justify-content: space-between;
    min-height: 72px;
    padding-block: .6rem;
}

.ed-header img {
    max-width: min(124px, 25vw);
    height: auto;
}

.ed-public-nav a,
.ed-back-link {
    color: var(--ed-accent);
    font-weight: 650;
    text-decoration: none;
}

.ed-public-nav a:hover,
.ed-back-link:hover {
    text-decoration: underline;
}

.ed-nav-login {
    border: 1px solid var(--ed-border);
    border-radius: .5rem;
    padding: .5rem .75rem;
}

.ed-hero {
    background: linear-gradient(105deg, #0f283b 15%, rgba(15, 40, 59, .92) 55%, rgba(15, 40, 59, .74)),
        url("../img/conserje.PNG") center 42% / cover;
}

.ed-hero-grid,
.ed-contact-grid,
.ed-features {
    display: grid;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.ed-hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.ed-hero-copy {
    color: #fff;
}

.ed-hero-copy h1 {
    max-width: 15ch;
    margin-bottom: 1.25rem;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.ed-hero-copy p {
    max-width: 40ch;
    margin-bottom: 1.6rem;
    color: #e4eff3;
    font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.ed-card {
    min-width: 0;
    padding: clamp(1.3rem, 4vw, 2.25rem);
    border: 1px solid var(--ed-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 14px 42px rgba(21, 40, 57, .1);
}

.ed-card-title,
.ed-section-heading h2 {
    font-weight: 750;
    letter-spacing: -.02em;
}

.ed-muted,
.ed-section-heading p,
.ed-feature p,
.ed-footer {
    color: var(--ed-muted);
}

.ed-public .form-label {
    font-weight: 650;
}

.ed-public :is(.form-control, .form-select) {
    min-height: 44px;
    border-color: #a8bac2;
    border-radius: .55rem;
}

.ed-public :is(.form-control, .form-select):focus {
    border-color: var(--ed-accent);
    box-shadow: 0 0 0 .2rem rgba(0, 107, 101, .17);
}

.ed-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #006b65;
    --bs-btn-border-color: #006b65;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #005651;
    --bs-btn-hover-border-color: #005651;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #005651;
    --bs-btn-active-border-color: #005651;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #006b65;
    --bs-btn-disabled-border-color: #006b65;
    --bs-btn-focus-shadow-rgb: 0, 107, 101;
    min-height: 44px;
    padding: .6rem 1rem;
    font-weight: 700;
}

.ed-hero .ed-primary {
    border-color: #78cec4;
}

.ed-section {
    padding-block: clamp(3.25rem, 7vw, 6rem);
}

.ed-section-heading {
    max-width: 42rem;
    margin-bottom: 1.8rem;
}

.ed-section-heading h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.ed-section-heading p {
    font-size: 1.11rem;
}

.ed-features {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.ed-video {
    overflow: hidden;
    border-radius: 1rem;
    background: #0f283b;
}

.ed-feature-list {
    display: grid;
    gap: 1rem;
}

.ed-feature {
    display: flex;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid var(--ed-border);
    border-radius: .75rem;
}

.ed-feature h3 {
    margin-bottom: .3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.ed-feature p {
    margin-bottom: 0;
}

.ed-contact,
.ed-login-page {
    background: #edf6f5;
}

.ed-contact-grid {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    align-items: start;
}

#formContacto .form-select {
    min-height: 52px;
    font-size: 1rem;
}

.ed-location .dropdown-menu {
    max-height: min(18rem, 50vh);
    overflow-y: auto;
}

.ed-location .dropdown-item {
    min-height: 44px;
}

#formContacto .form-select:enabled {
    cursor: pointer;
}

#formContacto .form-select:disabled {
    color: var(--ed-muted);
    background-color: #edf3f4;
    cursor: default;
}

.ed-status:empty {
    display: none;
}

.ed-footer {
    border-top: 1px solid var(--ed-border);
}

.ed-login-page {
    display: grid;
    min-height: calc(100vh - 74px);
    padding: 2rem 1rem;
    place-items: center;
}

.ed-login-panel {
    width: min(100%, 28rem);
}

.ed-login-brand {
    margin: 1.5rem 0;
    text-align: center;
}

@media (max-width: 767.98px) {
    .ed-hero-grid,
    .ed-features,
    .ed-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ed-contact .ed-section-heading {
        margin-bottom: 0;
    }
}

.ed-dashboard-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .9rem 1.5rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--ed-border);
    background: #fff;
}

.ed-dashboard-identity,
.ed-dashboard-account {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.ed-dashboard-brand {
    color: var(--ed-accent);
    font-size: 1.2rem;
    font-weight: 750;
    text-decoration: none;
}

.ed-dashboard-company,
.ed-dashboard-account span {
    color: var(--ed-muted);
    font-size: .875rem;
}

.ed-dashboard-controls {
    display: flex;
    flex: 1 1 18rem;
    gap: .75rem;
}

.ed-dashboard-controls > div {
    flex: 1;
    min-width: 0;
    max-width: 15rem;
}

.ed-dashboard-controls label {
    display: block;
    margin-bottom: .15rem;
    color: var(--ed-muted);
    font-size: .8rem;
    font-weight: 700;
}

.ed-dashboard .sidebar {
    position: static;
    min-height: calc(100vh - 75px);
    padding: 0;
}

.ed-sidebar-links {
    padding: 1.25rem .75rem;
}

.ed-sidebar-links .nav-link {
    padding: .65rem .8rem;
    border-radius: .5rem;
    color: var(--ed-text);
}

.ed-sidebar-links .nav-link:hover,
.ed-sidebar-links .nav-link.active {
    background: #e1f1ee;
    color: #005651;
}

@media (max-width: 767.98px) {
    .ed-dashboard-controls {
        order: 1;
        flex-basis: 100%;
    }

    .ed-dashboard-controls > div {
        max-width: none;
    }

    .ed-dashboard-account {
        margin-left: auto;
    }

    .ed-dashboard-company,
    .ed-dashboard-account span {
        display: none;
    }

    .ed-dashboard .sidebar {
        min-height: 0;
    }
}
