@import url("servicio-base.css");

.all-services-hero {
    padding: 132px 9% 58px;
    background:
        radial-gradient(circle at 16% 20%, rgba(227,6,19,.14), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f5f5f6 100%);
}

.all-services-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.all-services-hero span {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 15px;
    border-radius: 999px;
    color: #e30613;
    background: rgba(227,6,19,.08);
    border: 1px solid rgba(227,6,19,.18);
    font-size: 13px;
    font-weight: 900;
}

.all-services-hero h1 {
    max-width: 860px;
    color: #111827;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 22px;
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
}

.category-links a {
    display: inline-flex;
    color: #111827;
    text-decoration: none;
    border: 1px solid rgba(17,24,39,.14);
    background: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 900;
    transition: .25s;
}

.category-links a:hover {
    color: #fff;
    border-color: #e30613;
    background: #e30613;
}

.category-band {
    padding: 78px 9%;
}

.category-band.dark {
    background: #080808;
    color: #fff;
}

.category-band.light {
    background: #e9e9ea;
    color: #111827;
}

.category-row {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.category-row.reverse {
    grid-template-columns: 1.1fr .9fr;
}

.category-copy h2 {
    font-size: 30px;
    line-height: 1.12;
    font-weight: 900;
    margin-bottom: 16px;
}

.category-band.dark .category-copy h2 {
    color: #fff;
}

.category-band.light .category-copy h2 {
    color: #e30613;
}

.category-copy p {
    font-size: 17px;
    line-height: 1.62;
    margin-bottom: 24px;
}

.category-media img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.list-hero {
    padding: 132px 9% 52px;
    background:
        linear-gradient(rgba(0,0,0,.74), rgba(0,0,0,.74)),
        url("../imagenes/fondo.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.list-hero.profunda {
    background-image:
        linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)),
        url("../imagenes/profunda.jpg");
}

.list-hero.especial {
    background-image:
        linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)),
        url("../imagenes/desinfeccionconozono.png");
}

.list-hero-inner,
.services-list-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.list-hero h1 {
    max-width: 780px;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 18px;
}

.list-hero p {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.5;
}

.services-list-section {
    padding: 72px 9% 90px;
    background: #fff;
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-list-card {
    min-height: 178px;
    color: #111827;
    text-decoration: none;
    border: 1px solid rgba(17,24,39,.10);
    border-left: 5px solid #e30613;
    background: #fafafa;
    border-radius: 8px;
    padding: 26px 24px;
    transition: .25s;
}

.service-list-card h2 {
    font-size: 22px;
    line-height: 1.18;
    font-weight: 900;
    margin-bottom: 12px;
}

.service-list-card p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.45;
}

.service-list-card:hover {
    transform: translateY(-4px);
    border-color: rgba(227,6,19,.45);
    box-shadow: 0 20px 44px rgba(15,23,42,.12);
}

@media (max-width: 1050px) {
    .category-row,
    .category-row.reverse,
    .services-list-grid {
        grid-template-columns: 1fr;
    }

    .category-row.reverse .category-copy {
        order: -1;
    }
}

@media (max-width: 700px) {
    .all-services-hero,
    .list-hero {
        padding: 112px 6% 42px;
    }

    .all-services-hero h1,
    .list-hero h1 {
        font-size: 36px;
    }

    .category-band,
    .services-list-section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .category-media img {
        height: 320px;
    }
}
