/*
sector.css — Layout para páginas de sector
Cargado individualmente en cada página de sector
*/

/* Hero más alto para páginas de sector */
.sector-hero {
    height: auto !important;
    min-height: 0 !important;
    background-image: none !important;
    background-color: rgb(235, 235, 235) !important;
    padding: 2.2rem 0 !important;
}

.sector-hero__inner {
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sector-hero__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: white;
    border: 0.5px solid rgb(210, 210, 210);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sector-hero__icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.sector-hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Breadcrumb */

.sector-breadcrumb {
    border-bottom: 0.05rem solid rgb(230, 230, 230);
}

.sector-breadcrumb__inner {
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.9rem 2rem;
    font-size: 0.82rem;
    color: rgb(104, 104, 104);
}

.sector-breadcrumb__link {
    color: rgb(104, 104, 104);
    text-decoration: none;
}
    .sector-breadcrumb__link:hover {
        color: rgb(184, 0, 0);
    }

.sector-breadcrumb__sep {
    margin: 0 0.4rem;
    opacity: 0.5;
}

.sector-breadcrumb__current {
    color: rgb(43, 43, 43);
}

/* Layout página */

.sector-page {
    clear: both;
    background: white;
    padding: 2.5rem 0 3rem;
}

.sector-page__inner {
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 16rem;
    gap: 3rem;
    align-items: start;
}
    @media only screen and (max-width: 900px) {
        .sector-page__inner {
            grid-template-columns: 1fr;
        }
        .sector-sidebar {
            display: none;
        }
    }

/* Columna principal */

.sector-main__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgb(43, 43, 43);
    margin-bottom: 1rem;
}

.sector-main__h2 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: Lato, Arial, Helvetica, sans-serif;
    color: rgb(184, 0, 0);
    line-height: 1.3;
    margin: 2rem 0 0.8rem;
}

.sector-main__h3 {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: Lato, Arial, Helvetica, sans-serif;
    color: rgb(43, 43, 43);
    margin: 1.8rem 0 0.5rem;
}

.sector-main__link {
    color: rgb(184, 0, 0);
    text-decoration: none;
}
    .sector-main__link:hover {
        color: rgb(255, 60, 60);
    }

/* Lista de características con checkmarks */

.sector-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1.5rem;
}

.sector-features__item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.75rem 0;
    border-bottom: 0.05rem solid rgb(240, 240, 240);
    font-size: 1rem;
    line-height: 1.6;
    color: rgb(50, 50, 50);
}
    .sector-features__item:last-child {
        border-bottom: none;
    }

.sector-features__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* CTA */

.sector-cta {
    margin: 1.5rem 0 0;
    padding: 1.5rem;
    background: rgb(248, 248, 248);
    border-left: 3px solid rgb(184, 0, 0);
    border-radius: 0 0.3rem 0.3rem 0;
}

.sector-cta__text {
    font-size: 0.95rem;
    color: rgb(104, 104, 104);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.sector-cta__primary {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    background: rgb(184, 0, 0);
    color: white;
    border-radius: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 1.2rem;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
}
    .sector-cta__primary:hover {
        background: rgb(150, 0, 0);
    }

.sector-cta__secondary {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: rgb(184, 0, 0);
    text-decoration: none;
}
    .sector-cta__secondary:hover {
        color: rgb(255, 60, 60);
    }

/* Sidebar */

.sector-sidebar__block {
    background: rgb(248, 248, 248);
    border: 0.05rem solid rgb(225, 225, 225);
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.sector-sidebar__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(184, 0, 0);
    margin-bottom: 0.9rem;
    font-family: Lato, Arial, Helvetica, sans-serif;
}

.sector-sidebar__list {
    list-style: none;
    padding: 0;
}

.sector-sidebar__item {
    font-size: 0.88rem;
    padding: 0.35rem 0;
    border-bottom: 0.05rem solid rgb(230, 230, 230);
    color: rgb(80, 80, 80);
}
    .sector-sidebar__item:last-child {
        border-bottom: none;
    }
    .sector-sidebar__item::before {
        content: '·';
        margin-right: 0.5rem;
        color: rgb(184, 0, 0);
        font-weight: 700;
    }

.sector-sidebar__nav {
    display: flex;
    flex-direction: column;
}

.sector-sidebar__link {
    font-size: 0.88rem;
    padding: 0.4rem 0;
    border-bottom: 0.05rem solid rgb(230, 230, 230);
    color: rgb(43, 43, 43);
    text-decoration: none;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}
    .sector-sidebar__link:last-child {
        border-bottom: none;
    }
    .sector-sidebar__link::before {
        content: '→ ';
        color: rgb(184, 0, 0);
    }
    .sector-sidebar__link:hover {
        color: rgb(184, 0, 0);
    }

.sector-hero__title {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: Lato, Arial, Helvetica, sans-serif;
    color: rgb(30, 30, 30);
    line-height: 1.25;
    margin-bottom: 0.4rem;
}
    @media only screen and (max-width: 690px) {
        .sector-hero__title {
            font-size: 1.3rem;
        }
    }

.sector-hero__subtitle {
    font-size: 1rem;
    color: rgb(90, 90, 90);
    font-family: Lato, Arial, Helvetica, sans-serif;
}

/* Columna única para páginas legales */
.sector-page__inner_single {
    grid-template-columns: 1fr;
    max-width: 56rem;
}

/* Meta texto (fecha actualización) */
.sector-main__text_meta {
    font-size: 0.82rem;
    color: rgb(150, 150, 150);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Tablas para páginas legales */
.legal-table {
    width: 100%;
    margin: 0.8rem 0 1.5rem;
    font-size: 0.9rem;
}