/* =============================================
   SERVICES ICONS
   ============================================= */
.services-icons {
    background: var(--white);
    padding: 60px 0;          /* original: banda de 208px = 60 + 88 + 60 */
    border-bottom: 1px solid var(--border);
}
.services-icons__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.services-icons__item {
    display: flex; align-items: flex-start; gap: 18px;
    padding: 0 30px;
    border-right: 1px solid var(--border);
}
.services-icons__item:last-child { border-right: none; }
.services-icons__item i {
    font-size: 1.6rem;
    color: var(--navy);
    flex-shrink: 0;
    margin-top: 3px;
}
.services-icons__item p {
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.375rem;
    line-height: 1.3;
    font-weight: 300;
}

/* =============================================
   HOME MAIN CONTENT (News + Companies)
   ============================================= */
/* Medido en mydsac.com: banda gris #f4f4f4 de 492px (60 + 372 + 60),
   dos columnas iguales de 550px con 30px de canal. */
.home-content {
    background: #f4f4f4;
    padding: 60px 0;
}
.home-content__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* El original no pone un <hr> debajo del titulo: dibuja una linea a la
   DERECHA del texto con un ::after absoluto, recortado por el contenedor. */
.home-content__inner > div > .home-section-title { }
.home-section-head { overflow: hidden; padding-bottom: 20px; }
.home-section-title {
    display: inline-block;
    position: relative;
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 32.4px;
    color: var(--text-dark);
    font-weight: 300;
    margin-bottom: 10px;
}
.home-section-title::after {
    content: '';
    position: absolute;
    left: 100%; top: 16px;
    margin-left: 20px;
    width: 1300px; height: 5px;
    border-top: 1px solid #e1e1e1;
}

/* News items */
.home-news__item {
    display: flex; gap: 10px;
    padding: 0;
    margin-bottom: 25px;      /* original: separacion de 25px, sin filete */
    align-items: flex-start;
}
.home-news__item:last-child { margin-bottom: 0; }
.home-news__date {
    flex-shrink: 0;
    text-align: center;
    width: 45px;
    padding-right: 5px;
}
.home-news__day {
    display: block;
    font-size: 1.5rem; font-weight: 400;
    font-family: var(--font-body);
    color: #999999;
    line-height: 1;
}
.home-news__my {
    display: block;
    font-size: 11px;
    line-height: 11px;
    color: #999999;
    margin-top: 4px;
}
.home-news__body { min-width: 0; }
.home-news__body h4 {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 18.7px;
}
.home-news__body h4 a:hover { color: var(--sky); }
.home-news__body p {
    font-size: 14px;
    color: #666;
    line-height: 20px;
}

/* Companies carousel */
.home-companies {}
/* En el original el slide ocupa toda la columna: imagen de 500x250
   mostrada a 550x275, y los puntos debajo (bloque de 310px). */
.comp-carousel {
    position: relative;
    display: flex; flex-direction: column;
}
/* Eaca se modifica el tamaño del carousel que aparece en home */

.comp-carousel__track { width: 100%; }
.comp-carousel__slide {
    display: none;
    width: 80%;
    aspect-ratio: 2 / 1;
    background: var(--white);
    border: 1px solid #e1e1e1;
    padding: 30px;
    box-sizing: border-box;
    align-items: center; justify-content: center;
    flex-direction: column;
    gap: 10px;
}
.comp-carousel__slide--active { display: flex; }
/* width/height 100% + object-fit hace que TODOS los logos se escalen al
   mismo tamano de caja, sin importar la resolucion nativa de cada archivo
   (habia unos muy chicos junto a otros muy grandes). */
.comp-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0 auto;
}
.comp-carousel__name {
    font-weight: 700; color: var(--navy);
    font-size: .95rem; text-align: center;
}
.comp-carousel__dots {
    display: flex; gap: 7px; margin-top: 20px;
    justify-content: center;
    height: 15px;
}
.comp-carousel__dot {
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--border); cursor: pointer;
    border: none; transition: var(--transition);
}
.comp-carousel__dot--active { background: var(--sky); }

