/* CSS Document */
.t1{
	color: #062c54;
	text-transform: uppercase;
	font-size: 28px;
}
.t2{
	color: #062c54;
	text-transform: uppercase;
	font-size: 24px;
}
.modelo_educativo {
	--dvi-vinc-dark: #250000;
	--dvi-vinc-dark-fg: #ffffff;
	--dvi-vinc-light: #b1afb0;
	--dvi-vinc-light-fg: #1b1b1b;
	background: #ffffff;
	color: #1b1b1b;
	padding: clamp(24px, 4vw, 48px) 0;
}

.modelo_educativo__wrap {
	width: 100%; /* 100% solicitado */
	margin: 0 auto;
}

/* Título fuera de filas */
.modelo_educativo__heading {
	font-size: clamp(22px, 2.6vw + 8px, 40px);
	line-height: 1.15;
	margin: 0 0 clamp(18px, 2.8vw, 28px) 0;
	color: #0f0f0f;
}

/* ===== Rows 100% SIN separación ===== */
.modelo_educativo__row {
	display: grid;
	grid-template-columns: 60% 40%; /* texto 60 / imagen 40 */
	gap: 0; /* sin separación entre columnas */
	min-height: clamp(380px, 56vh, 480px);
	margin: 0; /* sin separación entre rows */
}
.modelo_educativo__row--text-right {
	grid-template-columns: 40% 60%; /* imagen 40 / texto 60 */
}

.modelo_educativo__col {
	position: relative;
	border-radius: 0; /* cantos rectos, unión perfecta */
	overflow: clip;
}

/* Panel de texto */
.modelo_educativo__panel {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(18px, 3.4vw, 36px);
}
.modelo_educativo__panel--dark {
	background: var(--dvi-vinc-dark);
	color: var(--dvi-vinc-dark-fg);
}
.modelo_educativo__panel--light {
	background: var(--dvi-vinc-light);
	color: var(--dvi-vinc-light-fg);
}

/* Imagen cover */
.modelo_educativo__col--media {
	min-height: 250px;
}
.modelo_educativo__figure {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.01);
	transition: transform 0.35s ease;
}
.modelo_educativo__col--media:hover .modelo_educativo__figure {
	transform: scale(1.03);
}

/* Tipografía */
.modelo_educativo__subtitle {
	font-size: clamp(22px, 1.1vw + 10px, 30px);
	line-height: 1.25;
	margin: 0 0 0.6rem 0;
}
.modelo_educativo__desc {
	font-size: clamp(15px, 0.25vw + 14px, 18px);
	line-height: 1.65;
	margin: 6.5rem 0 1.4rem 0;
	max-width: 90ch;
	text-align: justify;
}

/* ===== Botones: abajo-derecha, sin borde redondeado ===== */
.modelo_btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	border-radius: 0; /* sin bordes redondeados */
	font-weight: 700;
	text-decoration: none;
	line-height: 1;
	transition:
		background-color 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease,
		transform 0.18s ease;
	/* alineación abajo-derecha dentro del panel (flex container) */
	margin-top: auto; /* empuja hacia abajo */
	align-self: flex-end; /* alinea a la derecha */
	margin-right: clamp(14px, 2vw, 24px); /* respiración lateral */
	margin-bottom: clamp(14px, 2vw, 24px); /* respiración inferior */
}

/* Botón fila 1 (panel oscuro): borde blanco, texto blanco; hover invertido */
.modelo_btn--outline-white {
	color: #ffffff;
	background: transparent;
	border: 2px solid #ffffff;
}
.modelo_btn--outline-white:hover,
.modelo_btn--outline-white:focus-visible {
	background: #ffffff;
	color: #000000;
	border-color: transparent; /* sin borde en hover */
	transform: translateY(-1px);
	outline: none;
}

/* Botón fila 2 (panel claro): borde negro y texto negro; hover invertido con borde blanco */
.modelo_btn--outline-black {
	color: #000000;
	background: transparent;
	border: 2px solid #000000;
}
.modelo_btn--outline-black:hover,
.modelo_btn--outline-black:focus-visible {
	background: #000000;
	color: #ffffff;
	border-color: #ffffff; /* borde blanco en hover */
	transform: translateY(-1px);
	outline: none;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
	.modelo_educativo__row,
	.modelo_educativo__row--text-right {
		grid-template-columns: 1fr; /* una columna en móvil */
		min-height: unset;
	}

	/* Imagen arriba, texto abajo en ambas filas */
	.modelo_educativo__row .modelo_educativo__col--media {
		order: 0;
		min-height: 42vh;
	}
	.modelo_educativo__row .modelo_educativo__col--text {
		order: 1;
	}

	/* Botón a lo ancho en móvil, manteniendo margen de respiración */
	.modelo_btn {
		width: calc(100% - clamp(14px, 2vw, 24px) * 2);
		margin-left: clamp(14px, 2vw, 24px);
		justify-content: center;
	}
}

/*ANTECEDENTES*/
.wrapper {
  max-width: 1080px;
  margin: 20px auto;
  padding: 0 20px 50px 85px;
  position: relative;
}

/* Línea vertical */
.wrapper .center-line {
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 40px;
  width: 4px;
  height: auto;
  background: #bd1824;
  transform: translateX(-50%);
}

/* Filas */
.wrapper .row {
  display: block;
  margin: 30px 0;
}

.wrapper .row-1,
.wrapper .row-2 {
  justify-content: flex-start;
}

/* Tarjetas */
.wrapper .row section {
  width: 100%;
  position: relative;
  padding: 20px;
  background: #D3D3D3;
  border: solid #D3D3D3;
  border-radius: 20px;
  transition: transform 0.2s ease;
}

.wrapper .row section:hover {
  transform: scale(1.02);
}

/* Flecha que conecta tarjeta con la línea */
.wrapper .row section::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -7px;
  width: 15px;
  height: 15px;
  background: #D3D3D3;
  transform: rotate(45deg);
  z-index: 1;
}

/* Iconos y botón superior */
.wrapper .row section .icon,
.center-line .scroll-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  text-align: center;
  padding-top: 5px;
  line-height: 40px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #e63b48;
  font-size: 24px;
  box-shadow: 0 0 0 4px #fff,
              inset 0 2px 0 rgba(0,0,0,0.08),
              0 3px 0 4px rgba(0,0,0,0.05);
  z-index: 2;
}

.center-line .scroll-icon {
  left: 50%;
  bottom: 0;
  font-size: 25px;
  transform: translateX(-50%);
}

/* Los círculos quedan centrados sobre la línea */
.row-1 section .icon,
.row-2 section .icon {
  top: 15px;
  left: -70px;
}

.row section .details,
.row section .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.row section .details .title {
  font-size: 18px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .wrapper {
    padding-left: 68px;
    padding-right: 12px;
  }

  .wrapper .center-line {
    left: 28px;
  }

  .row-1 section .icon,
  .row-2 section .icon {
    left: -65px;
  }

  .wrapper .row section {
    padding: 16px;
  }

  .row section .details .title {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .wrapper {
    padding-left: 58px;
    padding-right: 8px;
  }

  .wrapper .center-line {
    left: 23px;
  }

  .wrapper .row {
    margin: 22px 0;
  }

  .row-1 section .icon,
  .row-2 section .icon {
    width: 44px;
    height: 44px;
    line-height: 34px;
    font-size: 20px;
    left: -57px;
  }

  .wrapper .row section {
    padding: 14px;
  }

  .row section .details .title {
    font-size: 15px;
  }
}

.btn-documentos{
    margin-bottom: 10px!important;
    padding-bottom: 20px;
    padding-top: 20px;
    padding-left: 10px;
	padding-right: 10px;
	color: #fff;
    border-radius: 20px;
    background-color: gray;
    border-color: gray;
    font-size: 14px;
    vertical-align: middle!important;
}

.panel-dark{
	background: var(--dvi-vinc-dark);
	color: white;
}
.panel1{
	margin-top: 30px!important;
    margin-bottom: 30px!important;
    padding-bottom: 30px;
    padding-top: 40px;
    padding-left: 40px;
	padding-right: 40px;
    border-radius: 20px;    
    background-color: transparent;
    border: 5px solid #bd1824;
    font-size: 18px;
	text-align: justify;
}
.panel-foro{
	margin-top: 30px!important;
    margin-bottom: 30px!important;
    padding-bottom: 30px;
    padding-top: 40px;
    padding-left: 40px;
	padding-right: 40px;
    border-radius: 20px;    
    background-color: transparent;
    border: 5px solid #0b2445;
    font-size: 18px;
	text-align: justify;
}
/*INFORMES*/
.informes-section {
    padding: 40px 0;
    background: #ffffff;
}

.informe-card {
    height: 420px;
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.informe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.informe-card__img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 9px;
    display: block;
}

.informe-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.informe-card__title {
    font-family: "Lora", serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: #0b2445;

    margin: 14px 0 12px;
}

.informe-card__text {
    font-size: 16px;
    line-height: 1.5;
    color: #46556a;

    margin-bottom: 20px;
}

.informe-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    width: 170px;
    padding: 13px 18px;

    margin-top: auto;

    background: #062c54;
    color: #ffffff !important;

    border-radius: 8px;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;

    transition: background .2s ease, transform .2s ease;
}

.informe-card__btn:hover {
    background: #bd1824;
    color: #ffffff;
    transform: translateY(-1px);
}

.informe-card__btn span {
    margin-left: 20px;
}


/* Tablet */
@media (max-width: 991px) {

    .informe-card__img {
        height: 160px;
    }

    .informe-card__title {
        font-size: 19px;
    }

    .informe-card__text {
        font-size: 14px;
    }
}


/* Móvil */
@media (max-width: 767px) {

    .informes-section {
        padding: 25px 10px;
    }

    .informe-card {
        max-width: 500px;
        margin: 0 auto 25px;
    }

    .informe-card__img {
        height: 220px;
    }

    .informe-card__btn {
        width: 100%;
    }
}
