/* =========================
   EMPRESA
========================= */

.companyHero {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #ddd;
  margin-top: 89px;
}

.companyHero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company {
  padding: 64px 0 0;
  background: #fff;
}

.companyTop {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 34px;
  align-items: start;
}

/* izquierda */
.companyLeft {
  padding-top: 14px;
}

.companyP {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.35;
  color: #111;
  max-width: 430px;
}

.sectionTitle {
  margin: 0 0 18px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* derecha gris */
.companyRight {
  background: #efefef;
  padding: 26px 26px;
}

.companyRight__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  font-family: var(--ff-body);
}

/* lista con separadores rojos */
.companyList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.companyItem {
  margin: 0;
  padding: 16px 0 16px;
  font-size: 14px;
  line-height: 1.35;
  color: #111;
  border-bottom: 2px solid var(--red);
}

.companyItem--last {
  border-bottom: 0;
  padding-bottom: 0;
}

/* banda roja */
.companyBand {
  background: var(--red);
  padding: 46px 54px 40px;
}

.companyBand__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.companyBox__title {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 26px;
}

.companyBox__text {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  max-width: 320px;
}

.companyValues__line {
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.companyValues__line:last-child {
  margin-bottom: 0;
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
  .companyTop {
    grid-template-columns: 1fr;
  }
  .companyP {
    max-width: 100%;
  }
  .companyBand__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .companyBox__text {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .company {
    padding-top: 54px;
  }
  .companyP {
    font-size: 15px;
  }
  .companyRight {
    padding: 22px;
  }
  .companyBox__title {
    font-size: 22px;
  }
  .companyBand {
    padding: 34px 18px 28px;
  }
}

/* =========================
   SGI (Company)
========================= */

.sgi {
  padding: 56px 0 70px 0;
  background: #fff;
  font-family: var(--ff-body);
  color: var(--text);
}

.sgiTitle {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.sgiAcr {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.05;
}

.sgiIntro {
  margin: 20px 0 22px;
  font-size: 14px;
  line-height: 1.45;
}

.sgiLead {
  margin: 20px 0 30px;
  font-size: 14px;
  line-height: 1.45;
}

.sgiGrid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.sgiRight {
  display: grid;
  gap: 16px;
}

.sgiImg {
  margin: 0;
  background: #e9e9e9;
  overflow: hidden;
}

.sgiImg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* alturas similares a la captura */
.sgiImg--top {
  height: 240px;
}
.sgiImg--bottom {
  height: 240px;
}

/* Accordion */
.sgiAcc {
  border-top: 2px solid var(--red);
}

.sgiItem {
  border-bottom: 2px solid var(--red);
}

.sgiBtn {
  width: 100%;
  display: grid;
  grid-template-columns: 26px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--ff-body);
}

.sgiNum {
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.sgiBtnText {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}

/* ✅ Chevron rojo estilo navChevron (NO cruz) */
.sgiChevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg); /* cerrado: apunta hacia abajo */
  margin-top: -2px;
  justify-self: end;
  transition: transform 220ms ease;
}

/* abierto: apunta hacia arriba (giro suave) */
.sgiBtn[aria-expanded="true"] .sgiChevron {
  transform: rotate(-135deg);
}

.sgiPanel {
  padding: 0 12px 14px 50px; /* alineado con el texto después del número */
}

.sgiText {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #111;
}

/* animación suave de apertura */
.sgiPanel.is-anim {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 992px) {
  .sgiGrid {
    grid-template-columns: 1fr;
  }
  .sgiRight {
    grid-template-columns: 1fr 1fr;
  }
  .sgiImg--top,
  .sgiImg--bottom {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .sgiTitle {
    font-size: 16px;
  }
  .sgiAcr {
    font-size: 20px;
  }
  .sgiIntro,
  .sgiLead {
    font-size: 14px;
  }

  .sgiRight {
    grid-template-columns: 1fr;
  }
  .sgiImg--top,
  .sgiImg--bottom {
    height: 200px;
  }

  .sgiBtn {
    grid-template-columns: 22px 1fr 20px;
    padding: 12px 10px;
  }
  .sgiBtnText {
    font-size: 14px;
  }
  .sgiPanel {
    padding-left: 42px;
  }

  .companyHero {
    margin-top: 68px;
  }
}
