:root {
  --ma-azul: #0095d9;
  --ma-azul-oscuro: #0073a8;
  --ma-texto: #333333;
  --ma-fondo-azul: #00a3e0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ma-texto);
  background-color: #ffffff;
}

.text-justify {
  text-align: justify;
  font-family: "Gilroy-Regular", sans-serif;
  font-weight: 400;
  font-size: 19px;
}

.text-justify b {
  font-family: "Gilroy-Heavy", sans-serif;
  font-weight: 900;
}

.section-autismo {
  padding: 4rem 0 3.5rem;
}

.autismo-intro-text p {
  margin-bottom: 0.9rem;
  font-family: "Gilroy-Regular", sans-serif;
  font-weight: 400;
  font-size: 18.67px;
}

.caracteristicas {
  padding: 3.5rem 0 4rem;
}

.carac-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.carac-row {
  align-items: stretch;
}
.carac-row > [class^="col-"],
.carac-row > [class*=" col-"] {
  display: flex;
}

.carac-icon-bubble {
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  background: none;
}

.carac-icon-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carac-box {
  position: relative;
  border-radius: 20px;
  border: 2px solid;
  overflow: hidden;
  text-align: center;
  flex: 1;
  width: 100%;
  padding-bottom: 28px;
}

.carac-header {
  min-height: 55px;
  margin-top: 15px;
  font-family: "Gilroy-Bold", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 0.55rem 0.8rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.carac-desc {
  font-family: "Gilroy-Regular", sans-serif;
  font-weight: 400;
  font-size: 16px;
  padding: 0.9rem 0.9rem 1rem;
  line-height: 1.45;
}

.carac-red .carac-box {
  border-color: #ff445c;
}
.carac-red .carac-header {
  background: #ff445c;
}
.carac-orange .carac-box {
  border-color: #ff9d1d;
}
.carac-orange .carac-header {
  background: #ff9d1d;
  color: #111;
}
.carac-purple .carac-box {
  border-color: #ba68fe;
}
.carac-purple .carac-header {
  background: #ba68fe;
}
.carac-green .carac-box {
  border-color: #01cd3a;
}
.carac-green .carac-header {
  background: #01cd3a;
  color: #111;
}

@media (max-width: 768px) {
  .carac-icon-bubble {
    width: 140px;
    height: 140px;
  }
  .carac-box {
    max-width: 260px;
    margin: 0 auto;
  }
}

.espectro-items {
  margin-top: 2.2rem;
}

.espectro-elem {
  text-align: center;
  padding: 1rem 0.7rem;
}

.espectro-icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: 700;
}

.espectro-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.deteccion {
  padding: 3.5rem 0 4rem;
}

.deteccion-img {
  border-radius: 1.5rem;
  width: 100%;
  object-fit: cover;
  max-height: 280px;
}

@media (max-width: 992px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    min-height: auto;
  }
  .hero-autismo-illus {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-autismo .hero-title,
  .hero-autismo .hero-subtitle {
    text-align: center;
  }
  .hero-autismo-emojis {
    justify-content: center;
  }
}

@font-face {
  font-family: "Gilroy-Heavy";
  src: url("../fonts/Gilroy-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Regular";
  src: url("../fonts/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Bold";
  src: url("../fonts/Gilroy-Bold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
