/* === FUENTES === */
@font-face {
  font-family: 'EditorialNew';
  src: url('../fonts/EditorialNew-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Mono45 Headline';
  src: url('../fonts/Mono45Headline-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Mono45 Headline';
  src: url('../fonts/Mono45Headline-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Mono45 Headline';
  src: url('../fonts/Mono45Headline-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Riojana';
  src: url('../fonts/Riojana-Book.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Riojana';
  src: url('../fonts/Riojana-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Riojana';
  src: url('../fonts/Riojana-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Riojana';
  src: url('../fonts/Riojana-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* === TÍTULOS === */
h1 {
  font-family: 'Mono45 Headline', Regular;
  font-weight: 300;
  font-size: px;
  line-height: 1.2;
  color: #D36B29;
  text-align: center;
  margin: 0 0 20px 0;
}

h2 {
  font-family: 'Mono45 Headline', Regular;
  font-weight: 300;
  font-size: px;
  line-height: 1.2;
  color: #D36B29;
  text-align: center;
  margin: 0 0 20px 0;
}

h3 {
  font-family: 'Mono45 Headline', Regular;
  font-weight: 300;
  font-size: px;
  line-height: 1.2;
  color: #D36B29;
  text-align: center;
  margin: 0 0 20px 0;
}

h4 {
  font-family: 'Riojana';
  font-weight: 600;
  font-size: px;
  line-height: 1.2;
  color: #D36B29;
  text-align: center;
  margin: 0 0 20px 0;
}

.cd_container h2 {
  font-size: 58px;
  font-weight: 400;
}

a {
  font-family: 'Mono45 Headline', Regular;
}

.cd_apoyo {
  border: 2px red solid;
  padding: 7px 35px 7px 35px;
  border-radius: 25px;
  color: red;
  font-size: 22px;
  font-weight: 400;
}

.cd_apoyo:hover {
  color: #000;
}

.hero p {
  font-family: 'New Spirit', serif;
  font-weight: 800;
  font-size: 63px;
  line-height: 1.2;
  color: #798BA3;
  text-align: center;
  margin: 0 0 20px 0;
}

.hero2 p {
  font-family: 'New Spirit', serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  color: #798BA3;
  text-align: center;
  margin: 0 0 20px 0;
}

.hero2 {
  margin-top: 90px;
}

.herotext {
  display: flex;
  justify-self: center;
  width: 50%;
  font-family: 'New Spirit', serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.2;
  color: #798BA3;
  text-align: center;
  margin: 0 0 100px 20px;
}


.herotextorange {
  background-color: #D36B29;
  text-align: center;
  margin: 0 0 20px 0;
  padding: 60px;
}

/* === HEADER === */


.cd_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1210px;
  width: 100%;
  margin: auto;
}

.cd_header .cd_header-col-1 img {
  max-height: 60px;
}

.cd_header .cd_header-col-2 img {
  max-height: 100px;
}

.cd_white {
  color: #ffffff !important;
}

/* === HERO === */
.hero {
  display: flex;
  justify-content: left;
  align-items: center;
  max-width: 1320px;
  margin: auto;
  padding-top: 80px;
}

/* === CONTENEDOR PRINCIPAL === */
.cd_container {
  max-width: 1320px;
  width: 100%;
  margin: auto;
}

/* === SECCIÓN DE DOS COLUMNAS === */

.cd_container-col-img {
  flex-basis: 45%;
}

.cd_container-col-text {
  flex-basis: 50%;
}

.cd_container-col-img img {
  width: 100%;
  height: auto;
  display: block;
}

.cd_invisibilidad p {
  margin: auto;
}

.cd_fondo_color {
  background-color: #F0F0F0;
  padding-top: 75px;
  padding-bottom: 75px;
}

.cd_fondo_color_izq .cd_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.cd_invisibilidad {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 75px;
  padding-bottom: 75px;
}

.cd_3_invisibilidad {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 75px;
  padding-bottom: 75px;
  width: 100%;
}

.cd_3_invisibilidad .cd_visibilidad_col {
  width: 33%;
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
  border: 1px solid #D36B29;
  border-radius: 20px;
  margin-right: 40px;
  margin-left: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.cd_3_invisibilidad h3 {
  font-size: 36px;
  font-weight: 500;
  padding-top: 15px;
}

.cd_ayuda {
  width: 100%;
  background-color: #D36B29;
  padding: 35px;
  border-radius: 15px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.cd_ayuda p {
  color: #ffffff !important;
  font-size: 26px !important;
}

.cd_recursos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.cd_3_recursos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  padding-top: 75px;
  padding-bottom: 75px;
  width: 100%;
}

.cd_3_recursos .cd_recursos_col {
  width: 33%;
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
  border-radius: 20px;
  margin-right: 40px;
  margin-left: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.cd_3_recursos h3 {
  font-size: 36px;
  font-weight: 700;
  padding-top: 15px;
}

.cd_recursos_col p,
h4 {
  text-align: left;
}

.cd_recursos_col p,
li {
  font-size: 20px !important;
  text-align: left;
  width: 100%;
}

.cd_apoyo_recuersos {
  color: red;
  font-size: 20px;
  font-weight: 400;
  text-decoration: underline;
  text-align: left;
  width: 100%;
}

.cd_apoyo_recuersos:hover {
  color: rgb(0, 0, 0);
}

/* === TEXTO Y LISTAS === */
.cd_container p,
.cd_container li {
  font-family: 'Riojana';
  font-size: 24px;
  line-height: 1.6;
  color: #333;
  font-weight: 400;
}

.cd_title {
  font-family: 'Mono45 Headline', Regular;
  font-weight: 600;
  color: #7b2c1f;
  margin-bottom: 16px;
}

h2.cd_title.seccion3 {
  color: #2E4740;
}

h2.cd_title.seccion4 {
  color: #DBB778;
}

/* === LISTAS CON PUNTOS NORMALES === */
.cd_container ul {
  list-style: disc;
  /* puntos normales */
  padding-left: 20px;
  /* espacio para los puntos */
}

.cd_container ul li {
  position: static;
  /* elimina posicionamiento relativo */
  padding: 0px 0;
  /* espaciado entre elementos */
}

/* elimina icono personalizado */
.cd_container ul li::before {
  content: none;
}



/* === SECCIÓN PROPÓSITO === */
.cd_proposito {
  background-color: #DBB778;
  /* color dorado de fondo */
  padding: 60px 20px;
  text-align: center;
}

.cd_title-center {
  text-align: center;
  font-family: 'New Spirit', serif;
  font-weight: 700;
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 40px;
}

.cd_proposito-cols {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5%;
  flex-wrap: wrap;
}

.cd_proposito-item {
  flex-basis: 25%;
  min-width: 250px;
  color: #ffffff;
}

.cd_proposito-item img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.cd_proposito-item h3 {
  font-family: 'New Spirit', serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.cd_proposito-item p {
  font-family: 'New Spirit', serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .cd_proposito-cols {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cd_proposito-item {
    flex-basis: 100%;
    max-width: 400px;
    margin-bottom: 40px;
  }

  .cd_title-center {
    font-size: 28px;
  }

  .cd_proposito-item p {
    font-size: 16px;
  }
}

/* === ALINEAR TODO A LA IZQUIERDA SOLO EN MÓVILES === */
@media (max-width: 767px) {

  /* Textos y títulos */
  h1,
  h2,
  h3,
  p,
  ul,
  li {
    text-align: left !important;
  }


  /* Quitar centrado del título de la sección “Nuestro propósito” */
  .cd_title-center {
    text-align: left !important;
    margin-left: 0 !important;
  }

  /* Imágenes dentro de columnas */
  .cd_container-col-img img {
    display: block;
    margin: 0;
    /* elimina centrado automático */
  }

  .hero2 p {
    margin-left: 20px !important;
  }

}


/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .cd_container-col {
    flex-direction: column;
    text-align: center;
  }

  .cd_container-col-img,
  .cd_container-col-text {
    flex-basis: 100%;
  }

  .cd_container p,
  .cd_container li {
    font-size: 16px;
  }

  .cd_title {
    font-size: 28px !important;
  }

  .cd_container ul {
    padding-left: 25px;
    /* reduce el margen lateral en móviles */
  }

  .cd_container ul {
    padding-left: 10px;
    /* aún menos espacio lateral */
    margin: 0.5em 0;
    /* margen vertical reducido */
  }

  .cd_container ul li {
    padding: 2px 0;
    /* casi sin separación entre puntos */
    font-size: 15px;
    /* texto ligeramente más pequeño */
  }

  .cd_header .cd_header-col-2 img {
    max-height: 50px;
  }

  .cd_header .cd_header-col-1 img {
    max-height: 30px;
  }

  .herotextburdeos img {
    width: 100% !important;
  }


  .herotext {
    width: 80% !important;
  }

  .herotextburdeos h2 {
    font-size: 32px !important;
  }

  .cd_proposito-item h3 {
    text-align: center !important;
  }

  .cd_proposito-item p {
    text-align: center !important;
  }

}