.titv2-page {
  position: relative;
  --titv2-hero-ratio-desktop: 2560 / 800;
  --titv2-hero-ratio-mobile: 1930 / 2560;
  --titv2-header-offset-desktop: 110px;
  --titv2-header-offset-mobile: 80px;
}

/* HERO */
.titv2-page .titv2-hero {
  position: relative;
  padding-top: var(--titv2-header-offset-desktop);
  background: #4b008f;
}

.titv2-page .titv2-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--titv2-hero-ratio-desktop);
  overflow: hidden;
  background: #4b008f;
}

.titv2-page .titv2-hero__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.titv2-page .titv2-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.titv2-page .titv2-hero__inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  left: 0;
  right: 0;
}

/* FORM DESKTOP */
.titv2-page .titv2-aside {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  max-width: 380px;
  z-index: 5;
}

/* FORM BASE */
.titv2-formwrap .ispv2-lead,
.titv2-formwrap .titv2-lead {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 40px 50px !important;
  box-sizing: border-box !important;
}

.titv2-formwrap .ispv2-lead__close,
.titv2-formwrap .titv2-lead__close {
  display: none !important;
}

.titv2-formwrap .ispv2-lead__head,
.titv2-formwrap .titv2-lead__head {
  text-align: center;
  margin-bottom: 14px;
}

.titv2-formwrap .ispv2-lead__title,
.titv2-formwrap .titv2-lead__title {
  margin: 0 0 6px !important;
  font-size: 20px;
  font-weight: 700;
  color: #3c0a6d;
  line-height: 1.2;
}

.titv2-formwrap .ispv2-lead__sub,
.titv2-formwrap .titv2-lead__sub {
  margin: 0 !important;
  font-size: 14px;
  color: #666;
}

.titv2-formwrap .ispv2-lead__grid,
.titv2-formwrap .titv2-lead__grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.titv2-formwrap .ispv2-lead__field,
.titv2-formwrap .titv2-lead__field {
  display: block;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.titv2-formwrap .ispv2-lead__field input,
.titv2-formwrap .titv2-lead__field input {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 48px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  border: 1px solid #d9d9d9 !important;
  font-size: 14px;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.titv2-formwrap .ispv2-lead__check,
.titv2-formwrap .titv2-lead__check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #444;
  line-height: 1.4;
  margin: 2px 0 4px;
}

.titv2-formwrap .ispv2-lead__submit,
.titv2-formwrap .titv2-lead__submit {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 48px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  border: none !important;
  background: linear-gradient(90deg, #4d0c8f 0%, #8b4dff 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.titv2-formwrap .ispv2-lead__msg,
.titv2-formwrap .titv2-lead__msg {
  margin: 4px 0 0 !important;
  font-size: 13px;
  line-height: 1.4;
  min-height: 18px;
}

/* >=1600 */
@media (min-width: 1600px) {
  .titv2-page .titv2-aside {
    max-width: 340px;
  }

  .titv2-formwrap .ispv2-lead,
  .titv2-formwrap .titv2-lead {
    padding: 25px 35px !important;
  }

  .titv2-formwrap .ispv2-lead__title,
  .titv2-formwrap .titv2-lead__title {
    font-size: 18px;
  }

  .titv2-formwrap .ispv2-lead__sub,
  .titv2-formwrap .titv2-lead__sub {
    font-size: 13px;
  }

  .titv2-formwrap .ispv2-lead__field input,
  .titv2-formwrap .titv2-lead__field input,
  .titv2-formwrap .ispv2-lead__submit,
  .titv2-formwrap .titv2-lead__submit {
    height: 44px !important;
    font-size: 13px;
  }
}

/* MODAL/OVERLAY */
.titv2-lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 998;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.titv2-lead-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.titv2-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  pointer-events: none;
}

.titv2-modal.is-active {
  display: block;
  pointer-events: none;
}

.titv2-formwrap--modal {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 160px;
  max-width: 560px;
  margin: 0 auto;
  pointer-events: auto;
}

.titv2-formwrap--modal .ispv2-lead,
.titv2-formwrap--modal .titv2-lead {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-height: calc(100vh - 120px);
  overflow-y: auto !important;
}

.titv2-modal.is-active .ispv2-lead,
.titv2-modal.is-active .titv2-lead {
  opacity: 1;
  transform: translateY(0);
}

.titv2-formwrap--modal .ispv2-lead__close,
.titv2-formwrap--modal .titv2-lead__close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #3c0a6d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

/* BOTÓN FLOTANTE */
.titv2-lead-bar {
  display: none;
  background: linear-gradient(90deg, #4d0c8f 0%, #8b4dff 100%);
  padding: 0;
}

.titv2-lead-bar__btn {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 0 !important;
  padding: 14px 22px;
  background: transparent !important;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none !important;
}

/* <=1325: se oculta desktop, aparece botón */
@media (max-width: 1325px) {
  .titv2-page .titv2-aside {
    display: none;
  }

  .titv2-lead-bar {
    display: block;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1000;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .titv2-page .titv2-hero {
    padding-top: var(--titv2-header-offset-mobile);
  }

  .titv2-page .titv2-hero__media {
    aspect-ratio: var(--titv2-hero-ratio-mobile);
  }
}

body.titv2-no-scroll {
  overflow: hidden;
}

/* ================================
   SECCIÓN INFORMACIÓN GENERAL V2
================================ */
.info-general-v2 {
	padding: 90px 0;
}

.info-general-v2 .wancho {
	max-width: 1200px;
	margin: 0 auto;
}

/* ================================
   HEADER
================================ */
.info-general-v2__head {
	margin-bottom: 50px;
}

.info-general-v2__title {
	font-size: 45px;
	font-family: 'Nunito-Bold';
	color: #262626;
	margin: 0 0 20px;
	position: relative;
}

.info-general-v2__title::after {
	content: "";
	display: block;
	width: 40px;
	height: 4px;
	margin-top: 12px;
	background: #7c4dff;
	border-radius: 10px;
}

.info-general-v2__text {
	max-width: 750px;
	font-size: 18px;
	line-height: 1.6;
	color: #4b4b4b;
}

/* ================================
   GRID
================================ */
.info-general-v2__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	justify-items: center; /* 🔥 clave */
}

/* ================================
   CARD (MISMO ANCHO Y ALTO)
================================ */
.info-general-v2__card {
	width: 100%;
	max-width: 260px; /* 🔥 controla ancho exacto */
	height: 230px;
	padding: 28px 20px;
	border: 1.5px solid #d9c5ff;
	border-radius: 15px;
	background: transparent;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}

/* ================================
   ICONO
================================ */
.info-general-v2__icon {
	width: 60px;
	height: 60px;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.info-general-v2__icon img {
	max-width: 40px;
	max-height: 40px;
	object-fit: contain;
}

/* ================================
   TITULO
================================ */
.info-general-v2__card-title {
	font-size: 16px;
	font-weight: 700;
	color: #400578;
	margin: 0 0 8px;
}

/* ================================
   TEXTO
================================ */
.info-general-v2__card-text {
	font-family: "Nunito", sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.4;
	color: #262626;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* 🔥 evita romper altura */
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ================================
   RESPONSIVE
================================ */

/* Tablet */
@media screen and (max-width: 1024px) {
	.info-general-v2__grid {
		/*grid-template-columns: repeat(2, 1fr);*/
	}

	.info-general-v2__card {
		max-width: 100%;
		height: 220px;
	}
}
@media screen and ( max-width: 768px){
.info-general-v2__grid {
		grid-template-columns: repeat(2, 1fr);
	}
  }
/* Mobile */
@media screen and (max-width: 640px) {
	.info-general-v2 {
		padding: 60px 0;
	}

	.info-general-v2__grid {
		grid-template-columns: 1fr;
	}

	.info-general-v2__card {
		height: auto; /* 🔥 clave para no romper */
		padding: 24px 18px;
		max-width: 100%;
	}

	.info-general-v2__card-text {
		-webkit-line-clamp: unset;
	}
}



/* ==========================================
   WHY STUDY STATIC
========================================== */
.why-study-static {
	padding: 80px 0;
	background: #ffffff;
}

.why-study-static__title {
	margin: 0 0 20px;
	font-size: 45px;
	line-height: 1.1;
	font-weight: 700;
	color: #262626;
	text-align: left;
  font-family: 'Nunito-Bold';
}

.why-study-static__title::after{
  content: "";
    display: block;
    width: 40px;
    height: 4px;
    margin-top: 12px;
    background: #7c4dff;
    border-radius: 10px;
}

.why-study-static__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.why-study-static__card {
	min-height: 220px;
	padding: 28px 18px;
	border: 1.5px solid #d9c5ff;
	border-radius: 15px;
	background: #fff;
	box-sizing: border-box;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.why-study-static__icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.why-study-static__icon img {
	display: block;
	max-width: 40px;
	max-height: 40px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.why-study-static__text {
	font-family: "Nunito", sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.45;
	color: #262626;
	max-width: 180px;
	margin: 0 auto;
}

/* Desktop mediano */
@media screen and (max-width: 1200px) {
	.why-study-static__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Tablet */
@media screen and (max-width: 768px) {
	.why-study-static {
		padding: 60px 0;
	}

	.why-study-static__title {
		font-size: 34px;
		margin-bottom: 28px;
	}

	.why-study-static__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.why-study-static__card {
		min-height: 200px;
		padding: 24px 16px;
	}
}

/* Mobile */
@media screen and (max-width: 480px) {
	.why-study-static__grid {
		grid-template-columns: 1fr;
	}

	.why-study-static__title {
		font-size: 28px;
	}

	.why-study-static__card {
		min-height: auto;
		padding: 22px 16px;
	}

	.why-study-static__text {
		max-width: 100%;
	}
}