/* ===== Landing pública (LandingLayout + Home.razor) ===== */
.landing {
    --soel-orange: #F49819;
    --soel-orange-dark: #e08a10;
    --soel-dark: #373C3F;
    --soel-darker: #2a2e31;
    --soel-muted: #F4F5F7;
    --soel-text: #5b6166;
    --landing-nav-h: 64px;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--soel-dark);
    overflow-x: hidden;
}

.landing section[id] {
    scroll-margin-top: var(--landing-nav-h);
}

/* ----- Barra de navegación ----- */
.landing-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1200;
    background: rgba(55, 60, 63, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.landing-nav__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--landing-nav-h);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.landing-nav__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.landing-nav__brand img {
    height: 34px;
    width: auto;
    display: block;
}

.landing-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.landing-nav__link {
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s, background-color .2s;
}

.landing-nav__link:hover,
.landing-nav__link:focus-visible {
    color: var(--soel-orange);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.landing-nav__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.landing-nav__cta {
    text-transform: none !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    white-space: nowrap;
}

.landing-nav__cta-short,
.landing-nav__toggle {
    display: none !important;
}

.landing-nav__mobile {
    display: flex;
    flex-direction: column;
    padding: 8px 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: landing-slide-down .18s ease-out;
}

.landing-nav__mobile-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    padding: 14px 4px;
    cursor: pointer;
}

.landing-nav__mobile-link .mud-icon-root {
    color: var(--soel-orange);
}

.landing-nav__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.45);
}

@keyframes landing-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 959.98px) {
    .landing-nav__links {
        display: none;
    }

    .landing-nav__actions {
        margin-left: auto;
    }

    .landing-nav__toggle {
        display: inline-flex !important;
    }
}

@media (min-width: 960px) {
    .landing-nav__mobile,
    .landing-nav__backdrop {
        display: none;
    }
}

@media (max-width: 599.98px) {
    .landing {
        --landing-nav-h: 56px;
    }

    .landing-nav__brand img {
        height: 28px;
    }

    .landing-nav__cta-long {
        display: none;
    }

    .landing-nav__cta-short {
        display: inline !important;
    }
}

@media (max-width: 359.98px) {
    /* Pantallas muy angostas: el acceso queda dentro del menú */
    .landing-nav__cta {
        display: none !important;
    }
}

.landing-main {
    padding-top: var(--landing-nav-h);
}

/* ----- Elementos comunes ----- */
.landing-eyebrow {
    display: inline-block;
    color: var(--soel-orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.landing-section {
    padding: 80px 0;
    background: #fff;
}

.landing-section--muted {
    background: var(--soel-muted);
}

.landing-heading {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px;
}

.landing-heading--sub {
    margin-top: 72px;
}

.landing-heading h2,
.landing-platform h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.landing-heading p {
    color: var(--soel-text);
    font-size: 1.02rem;
    line-height: 1.8;
    margin: 16px 0 0;
}

.landing-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
}

.landing-section--muted .landing-card--accent,
.landing-card--accent {
    border: 0;
    border-left: 3px solid var(--soel-orange);
    background: var(--soel-muted);
}

.landing-section--muted .landing-card--accent {
    background: #fff;
}

.landing-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 8px 0;
}

.landing-card p {
    color: var(--soel-text);
    font-size: 0.93rem;
    line-height: 1.75;
    margin: 0;
}

.landing-card p + p {
    margin-top: 10px;
}

.landing-btn {
    text-transform: none !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 10px 28px !important;
}

.landing-btn--ghost {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* ----- Hero ----- */
.landing-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--landing-nav-h));
    padding: 56px 0 40px;
    background: linear-gradient(160deg, var(--soel-dark) 0%, var(--soel-darker) 100%);
    color: #fff;
}

.landing-hero__content {
    position: relative;
    z-index: 1;
}

.landing-hero__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(244, 152, 25, 0.1);
    pointer-events: none;
}

.landing-hero__ring--1 {
    width: 520px;
    height: 520px;
    top: -120px;
    right: -140px;
}

.landing-hero__ring--2 {
    width: 360px;
    height: 360px;
    bottom: -120px;
    left: -120px;
    border-color: rgba(244, 152, 25, 0.07);
}

.landing-hero__title {
    font-size: clamp(2.1rem, 6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.landing-hero__title span {
    display: block;
    color: var(--soel-orange);
}

.landing-hero__lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 0 32px;
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landing-hero__brand {
    max-height: 300px;
    max-width: 100%;
    width: auto;
    opacity: 0.9;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-stats__item {
    text-align: center;
}

.landing-stats__item strong {
    display: block;
    color: var(--soel-orange);
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
}

.landing-stats__item span {
    color: #DFDFDF;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ----- Servicios ----- */
.landing-service {
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.landing-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(244, 152, 25, 0.12);
    border-color: var(--soel-orange);
}

.landing-service__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    margin-bottom: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--soel-orange) 0%, var(--soel-orange-dark) 100%);
}

.landing-checks {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.landing-checks li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    font-size: 0.82rem;
    padding: 2px 0;
}

.landing-specialty {
    display: grid;
    gap: 16px;
}

.landing-specialty__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.landing-specialty__title h3 {
    margin: 0;
}

.landing-specialty__number {
    flex-shrink: 0;
    background: var(--soel-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 3px 10px;
}

.landing-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.landing-chips span {
    border: 1px solid var(--soel-orange);
    color: var(--soel-dark);
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
}

/* ----- Plataforma ----- */
.landing-platform {
    border-radius: 16px;
    padding: 48px;
    color: #fff;
    background: linear-gradient(160deg, var(--soel-dark) 0%, var(--soel-darker) 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.landing-platform__lead {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
    max-width: 680px;
    margin: 12px 0 32px;
}

.landing-platform__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.landing-platform__feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.landing-platform__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--soel-orange);
    background: rgba(244, 152, 25, 0.15);
}

.landing-platform__feature strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.landing-platform__feature span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    line-height: 1.5;
}

.landing-platform__note {
    display: block;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 14px;
}

/* ----- Contacto ----- */
.landing-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.landing-contact > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.landing-contact > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.landing-contact__label {
    color: #999;
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.landing-contact a,
.landing-contact span:not(.landing-contact__label) {
    color: var(--soel-dark);
    font-weight: 600;
    text-decoration: none;
}

.landing-contact a:hover {
    color: var(--soel-orange);
}

.landing-contact__social {
    display: flex;
    gap: 4px;
    margin-left: -6px;
}

/* ----- Footer ----- */
.landing-footer {
    background: var(--soel-dark);
    color: #DFDFDF;
    padding: 48px 0 24px;
}

.landing-footer__logo {
    height: 38px;
    margin-bottom: 14px;
}

.landing-footer__text {
    font-size: 0.88rem;
    line-height: 1.7;
    opacity: 0.8;
    margin: 0;
}

.landing-footer__title {
    color: var(--soel-orange);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.landing-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.landing-footer__list a,
.landing-footer__list span,
.landing-footer__list button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #DFDFDF;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 0.9rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.landing-footer__list span {
    cursor: default;
}

.landing-footer__list a:hover,
.landing-footer__list button:hover {
    color: var(--soel-orange);
}

.landing-footer__break {
    overflow-wrap: anywhere;
}

.landing-footer__bottom {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ----- Aviso de notificaciones ----- */
.landing-push {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1300;
    display: flex;
    gap: 12px;
    max-width: 360px;
    padding: 16px;
    background: #fff;
    border-left: 4px solid var(--soel-orange);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.landing-push__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
}

.landing-push__body span {
    color: #666;
}

.landing-push__actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

/* ----- Tablet y celular ----- */
@media (max-width: 959.98px) {
    .landing-platform__features {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .landing-platform {
        padding: 36px 28px;
    }
}

@media (max-width: 599.98px) {
    .landing-section {
        padding: 56px 0;
    }

    .landing-heading {
        margin-bottom: 28px;
    }

    .landing-heading--sub {
        margin-top: 56px;
    }

    .landing-hero {
        min-height: auto;
        padding: 48px 0 32px;
    }

    .landing-hero__lead {
        font-size: 0.98rem;
    }

    .landing-hero__actions .landing-btn {
        width: 100%;
    }

    .landing-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
        margin-top: 40px;
    }

    .landing-card {
        padding: 20px;
    }

    .landing-platform {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .landing-platform .landing-btn {
        width: 100%;
    }

    .landing-push {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

/* ----- Selector de especialidades ----- */
.landing-segments {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.landing-segments__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #dfe1e4;
    border-radius: 24px;
    color: var(--soel-dark);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.landing-segments__item .mud-icon-root {
    color: var(--soel-orange);
}

.landing-segments__item:hover {
    border-color: var(--soel-orange);
}

.landing-segments__item.active {
    background: var(--soel-orange);
    border-color: var(--soel-orange);
    color: #fff;
}

.landing-segments__item.active .mud-icon-root {
    color: #fff;
}

@media (max-width: 599.98px) {
    .landing-segments {
        gap: 6px;
    }

    .landing-segments__item {
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column;
        gap: 2px;
        border-radius: 12px;
        font-size: 0.75rem;
        padding: 10px 4px;
    }
}
