/* Bloque de texto alineado a la izquierda */
.caption-left {
  position: absolute; /* posiciona el bloque sobre la imagen */
  bottom: 20px; /* separación desde la parte inferior */
  left: 20px; /* separación desde la izquierda */
  text-align: left; /* alinea el texto a la izquierda */
  max-width: 40%; /* limita el ancho para buena lectura */
  background-color: rgba(0,0,0,0.5); /* fondo semitransparente para contraste */
  padding: 15px; /* espaciado interno */
  border-radius: 5px; /* esquinas redondeadas */
}

/* Texto más grande */
.caption-left h5 {
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); /* título flexible */
  font-weight: bold; /* resalta el título */
  color: white; /* texto blanco */
  text-shadow: 2px 2px 4px black; /* mejora legibilidad sobre la imagen */
}

.caption-left p {
  font-size: clamp(0.85rem, 0.75rem + 0.45vw, 1.15rem); /* reduce en móviles */
  color: white; /* texto blanco */
  text-shadow: 2px 2px 4px black; /* mejora legibilidad */
  margin: 0; /* elimina margen por defecto */
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 768px) {
  .caption-left {
    max-width: 65%;
    padding: 10px 12px;
    left: 20px;
    right: auto;
    transform: none;
  }
  .caption-left h5 {
    font-size: 1.35rem;
    line-height: 1.2;
  }
  .caption-left p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .caption-left {
    max-width: 80%;
    left: 16px;
    right: 16px;
    transform: none;
  }
  .caption-left h5 {
    font-size: 1.15rem;
  }
  .caption-left p {
    font-size: 0.78rem;
  }
}

/* Cursor parpadeante para auto-typing */
.typing-text::after {
  content: '|'; /* carácter del cursor */
  animation: blink 0.7s infinite; /* animación de parpadeo */
}

@keyframes blink {
  0%,50%,100% { opacity: 1; } /* visible */
  25%,75% { opacity: 0; } /* oculto */
}

/* Crossfade del carrusel */
.carousel-fade .carousel-item {
  opacity: 0; /* elementos inactivos ocultos */
  transition: opacity 2.5s ease-in-out; /* transición suave entre slides */
}

.carousel-fade .carousel-item.active {
  opacity: 1; /* slide activo visible */
}

/* Ajustes de imagen en el carrusel */
/* Hero carrusel: limitar altura por viewport y cubrir sin recortes agresivos */
#carouselCrossfade .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 86vh; /* limita altura en pantallas grandes */
  object-fit: cover;
}
@media (max-width: 992px) {
  #carouselCrossfade .carousel-item img { max-height: 50vh; }
}
@media (max-width: 576px) {
  #carouselCrossfade .carousel-item img { max-height: 40vh; }
}

/* ===== Franja informativa debajo del carrusel ===== */
.home-banner {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.home-banner .container {
  padding: 18px 20px; /* altura cómoda de la franja */
}
.home-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.home-banner-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-banner-text-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .3px;
  display: inline-block;
  transition: opacity .35s ease, transform .35s ease;
}
.home-banner-text-main.is-changing {
  opacity: 0;
  transform: translateY(6px);
}
.home-banner-cta {
  display: block;
  margin: 8px auto 0;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  background: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.home-banner-cta:hover {
  background: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
  transform: translateY(-1px);
}
.home-banner-arrow {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
  transition: transform .15s ease, color .2s ease;
}
.home-banner-arrow:hover {
  transform: translateY(-1px);
  color: #fdfdfd;
}

/* ===== Sección de video destacado ===== */
.home-video {
  padding: 24px 0; /* separación vertical */
}
.home-video .container {
  display: flex;
  align-items: center;
  justify-content: center; /* centra el video */
}
.video-wrapper {
  width: 60vw; /* ~60% del ancho de la ventana */
  max-width: 1200px; /* límite razonable en pantallas grandes */
  aspect-ratio: 16 / 9; /* mantiene 16:9 */
  background: #000; /* fondo por si carga lento */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.video-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
@media (max-width: 992px) {
  .video-wrapper { width: 80vw; }
}
@media (max-width: 576px) {
  .video-wrapper { width: 94vw; border-radius: 6px; }
}

/* ===== Pop-up promocional de inicio ===== */
body.promo-open {
  overflow: hidden;
}

.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.promo-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.promo-modal {
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 8px 12px;
  max-width: 520px;
  width: 90vw;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  transform: translateY(20px);
  animation: promo-in .4s ease-out forwards;
  position: relative;
}

.promo-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.promo-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: transparent;
  color: #111;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  z-index: 3;
}

@keyframes promo-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== Sección "Lo que nos mueve" (70/30) ===== */
.home-about {
  padding: 56px 0;
}
.home-about .container-fluid { padding-left: 0; padding-right: 0; }
.home-about .about-grid, section.home-about .about-grid {
  display: grid;
  grid-template-columns: 4fr 6fr; /* 40% izquierda / 60% derecha */
  gap: 36px; /* separación clara entre imagen y texto */
  align-items: center;
}
.about-image-block {
  display: flex;
  align-items: center; /* centro vertical */
  justify-content: flex-start; /* pegado al borde izquierdo de la página */
  min-height: 420px;
}
.about-image {
  width: 100%; /* ocupa todo el 40% de la columna */
  aspect-ratio: 1 / 1; /* cuadrado para formar semicírculo perfecto */
  max-width: 100%;
  border-radius: 0 50% 50% 0 / 0 50% 50% 0; /* semicírculo perfecto (lado plano a la izquierda) */
  background-image: url('../images/IMG_3423_2.avif'); /*URL de la imagen*/
  background-position: right center; /* prioriza mostrar la derecha y recorta por la izquierda */
  background-size: cover; /* ocupa todo el semicírculo */
  display: block;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.about-text-block { 
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center; /* centra el bloque de texto dentro del 30% */
}
.about-text-inner {
  max-width: 560px; /* evita que "pegue" visualmente a la imagen */
  width: 100%;
  padding-left: 28px; /* separación visual del corte del semicírculo */
}
.about-title {
  margin: 0 0 10px 0;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: .2px;
}
.about-text {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  white-space: pre-line; /* respeta salto de línea en el contenido */
}
@media (max-width: 1200px) {
  .home-about .about-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .about-image-block {
    justify-content: flex-start;
    min-height: 0;
    padding-left: 0;
    padding-right: 24px;
  }
  .about-image {
    width: min(520px, 80vw);
    aspect-ratio: 1 / 1;
    margin-left: 0;
    margin-right: auto;
  }
  .about-text-block {
    justify-content: center;
    text-align: center;
  }
  .about-text-inner {
    padding-left: 0;
    max-width: 640px;
  }
  .about-title { font-size: 2.1rem; }
}
@media (max-width: 768px) {
  .about-image {
    width: min(420px, 90vw);
    margin-left: 0;
    margin-right: auto;
  }
  .about-text-inner {
    padding: 0 16px;
  }
  .about-title { font-size: 1.8rem; }
}

/* ===== Sección de proyectos con carrusel horizontal ===== */
.home-features {
  padding: 60px 0;
  background: transparent;
  color: var(--text-color);
  min-height: 500px;
}

.home-features .container-fluid { 
  padding-left: 0; 
  padding-right: 0; 
}

.features-horizontal-carousel {
  width: 100%;
  margin: 0;
  padding: 0;
}

.features-main-title {
  text-align: center;
  margin: 0 0 48px 0;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: .2px;
  padding: 0 24px;
}

/* Contenedor del carrusel con ciclo circular */
.cycle-carousel-container {
  position: relative;
  width: 100%;
  padding: 0 40px;
  overflow: hidden;
}

.cycle-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  background: transparent;
}

.cycle-carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  padding: 20px 20px;
  min-height: 450px;
}

.cycle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  opacity: 1;
  transition: box-shadow 0.2s;
}

.cycle-item.slide-left {
  animation: slideLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cycle-item.slide-right {
  animation: slideRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideLeft {
  0% {
    transform: scale(0.8) translateX(150px);
  }
  100% {
    transform: scale(0.8) translateX(0);
  }
}

@keyframes slideRight {
  0% {
    transform: scale(0.8) translateX(-150px);
  }
  100% {
    transform: scale(0.8) translateX(0);
  }
}

.cycle-item-active.slide-left {
  animation: slideLeftActive 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cycle-item-active.slide-right {
  animation: slideRightActive 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideLeftActive {
  0% {
    transform: scale(1) translateX(150px);
  }
  100% {
    transform: scale(1) translateX(0);
  }
}

@keyframes slideRightActive {
  0% {
    transform: scale(1) translateX(-150px);
  }
  100% {
    transform: scale(1) translateX(0);
  }
}

.cycle-item-prev,
.cycle-item-next {
  flex: 0 0 30%;
  max-width: 500px;
}

.cycle-item-active {
  flex: 0 0 30%;
  max-width: 550px;
  opacity: 1;
  z-index: 10;
}

.cycle-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.cycle-item-prev .cycle-image,
.cycle-item-next .cycle-image {
  height: auto;
}

.cycle-item-active .cycle-image {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.cycle-item:hover .cycle-image {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.cycle-text {
  text-align: center;
  width: 100%;
  opacity: 0.8;
}

.cycle-item-active .cycle-text {
  opacity: 1;
}

.cycle-text h3 {
  margin: 0 0 8px 0;
  font-weight: 700;
  color: var(--text-color);
}

.cycle-item-prev .cycle-text h3,
.cycle-item-next .cycle-text h3 { font-size: 1.4rem; }

.cycle-item-active .cycle-text h3 { font-size: 1.6rem; }

.cycle-text p {
  margin: 0;
  line-height: 1.5;
  color: var(--text-light);
  text-align: justify;
  text-justify: inter-word;
}

.cycle-item-prev .cycle-text p,
.cycle-item-next .cycle-text p {
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cycle-item-active .cycle-text p { font-size: 1.05rem; display: block; }

.cycle-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

/* Botones del carrusel de ciclo */
.cycle-carousel-btn {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  z-index: 20;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cycle-carousel-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.cycle-carousel-btn-prev,
.cycle-carousel-btn-next {
  position: static;
}

/* Indicadores del carrusel horizontal */
.horizontal-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.horizontal-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.horizontal-indicator.active {
  background: #ffffff;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.horizontal-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .features-main-title { 
    font-size: 2.2rem; 
    margin-bottom: 32px;
  }
  .cycle-carousel-container {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .cycle-carousel-controls {
    justify-content: center;
    gap: 12px;
  }
  .cycle-carousel-track {
    flex-direction: column;
    gap: 24px;
    padding: 0;
    min-height: auto;
  }
  .cycle-item {
    transform: none;
    width: 100%;
    opacity: 1;
  }
  .cycle-item-prev,
  .cycle-item-next {
    display: none;
  }
  .cycle-item-active {
    flex: 0 0 auto;
    max-width: 100%;
    transform: none;
    width: 100%;
  }
  .cycle-item-active .cycle-image {
    border-radius: 16px;
  }
  .cycle-text {
    text-align: left;
  }
  .cycle-item-active .cycle-text h3 {
    font-size: 1.8rem;
  }
  .cycle-item-active .cycle-text p {
    font-size: 1.05rem;
    max-width: 100%;
  }
  .cycle-carousel-btn {
    position: static;
    transform: none;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    align-self: center;
  }
  .cycle-carousel-btn:hover {
    transform: none;
  }
  .horizontal-carousel-indicators {
    order: 3;
  }
}
@media (max-width: 576px) {
  .features-main-title { 
    font-size: 1.9rem; 
    margin-bottom: 24px;
    padding: 0 12px;
  }
  .cycle-carousel-container {
    padding: 0 12px;
  }
  .cycle-item-active .cycle-image {
    border-radius: 12px;
  }
  .cycle-item-active .cycle-text h3 {
    font-size: 1.5rem;
  }
  .cycle-item-active .cycle-text p {
    font-size: 0.95rem;
  }
  .cycle-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .horizontal-indicator {
    width: 12px;
    height: 12px;
  }
}

/* ===== SECCIÓN PILARES FUNDAMENTALES ===== */
.home-pillars {
  padding: 30px 0;
}

.pillar-block {
  padding: 40px 32px;
  color: #ffffff;
  min-height: 280px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background-color 0.35s ease, color 0.35s ease;
}
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}
.pillar-icon i { color: #ffffff; font-size: 1.4rem; }
.pillar-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.2));
  pointer-events: none;
}
.pillar-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}

.pillar-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: .2px;
  position: relative;
}
.pillar-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  margin-top: 8px;
}

.pillar-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #ffffff;
}

/* Listado moderno de pilares */
.home-pillars .pillar-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.home-pillars .pillar-block ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-pillars .pillar-block ul li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
}
.home-pillars .pillar-block ul li p {
  margin: 0;
  color: #ffffff;
}

/* Alinear lista con el título cuando el título tiene icono al lado (Variant A) */
.pillars-grid-a .pillar-card-a .pillar-a-list { padding-left: calc(60px + 12px); }
.pillars-grid-a .pillar-card-a .pillar-a-title { margin-bottom: 6px; }

/* Aplicación de colores de fondo */
.pillar1 { background-color: var(--pillar1-bg); }
.pillar2 { background-color: var(--pillar2-bg); }
.pillar3 { background-color: var(--pillar3-bg); }

/* ===== PILLARS VARIANT A - Tarjetas elevadas (restaurado) ===== */
.pillars-variant-a { margin-top: 24px; }
.pillars-grid-a {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar-card-a {
  border-radius: 16px;
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar-card-a:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,0.22); }
.pillar-a-header { display:flex; align-items:center; gap:12px; margin-bottom: 10px; }
.pillar-a-icon { width: 60px; height: 60px; border-radius: 14px; background: rgba(255,255,255,0.18); display:flex; align-items:center; justify-content:center; }
.pillar-a-icon i { color:#fff; font-size:1.6rem; }
.pillar-a-title { font-size: 1.3rem; font-weight:800; margin: 0; }
.pillar-a-accent { position:absolute; right:-40px; top:-40px; width:140px; height:140px; transform: rotate(45deg); opacity:.18; background: #fff; }
.pillar-a-list { list-style:none; margin:12px 0 0 0; padding:0; display:grid; gap:8px; }
.pillar-a-list li { position: relative; padding-left: 16px; }
.pillar-a-list li::before { content:""; position:absolute; left:0; top:9px; width:8px; height:8px; border-radius:50%; background: rgba(255,255,255,0.9); }

@media (max-width: 992px) {
  .pillars-grid-a { grid-template-columns: 1fr; }
}

/* Título principal de la sección Pilares (scope para evitar afectar otras secciones) */
.home-pillars .features-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--pillar-title-color); /* título principal cambia según el tema */
  transition: color 0.35s ease;
}

.br.a{
 background-color: var(--pillar2-bg); 
}
.home-pillars .container.text-center {
  background-color: transparent; /* sin fondo de color */
}
.home-pillars .container.text-center .features-main-title,
.home-pillars .container.text-center .pillar-title {
  color: var(--pillar-title-color);
}

/* Responsive */
@media (max-width: 992px) {
  .pillar-block {
    text-align: center;
    padding: 40px 20px;
  }

  .pillar-title {
    font-size: 1.6rem;
  }

  .pillar-text {
    font-size: 1rem;
  }

  .features-main-title {
    font-size: 2rem;
  }
}



/* ===== SECCIÓN LÍNEA DE TIEMPO DE OBRAS ===== */
.home-timeline {
  padding: 36px 0;
  background-color: var(--bg-color);
  color: var(--text-color);
}
.home-timeline .container-fluid { padding-left: 0; padding-right: 0; }

.timeline-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline-main-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 60px;
  line-height: 1.2;
}

.timeline-wrapper {
  position: relative;
  margin-bottom: 120px;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 50px;
  right: 50px;
  height: 5px;
  background: var(--accent-color);
  transform: translateY(-50%);
  border-radius: 3px;
  z-index: 5;
}

.timeline-points {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.timeline-point {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid var(--accent-color);
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 20;
}

.timeline-point:hover {
  transform: scale(1.15);
}

.timeline-point.active {
  background-color: var(--accent-color);
  transform: scale(1.3);
}

.timeline-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: transparent;
  z-index: 25;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  pointer-events: none;
}

.timeline-point.active .timeline-dot {
  background-color: white !important;
  border: 2px solid #c60074 !important;
}

.timeline-number {
  display: none;
}


.timeline-content {
  position: relative;
  min-height: 500px;
}

.timeline-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.timeline-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.timeline-slide-grid {
  display: grid;
  grid-template-columns: 4fr 6fr !important; /* 40% izquierda / 60% derecha como sobre nosotros */
  gap: 60px;
  align-items: center;
}

.timeline-image-block {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.timeline-image {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.timeline-image:hover {
  transform: scale(1.02);
}

.timeline-info-block {
  padding: 30px 0;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-work-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.timeline-work-year {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.timeline-work-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 30px;
}

.timeline-work-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.timeline-detail {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

/* Responsive para timeline */
@media (max-width: 768px) {
  .home-timeline {
    padding: 60px 0;
  }
  
  .timeline-main-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
  }
  
  .timeline-wrapper {
    margin-bottom: 80px;
  }
  
  .timeline-point {
    width: 50px;
    height: 50px;
  }
  
  .timeline-dot {
    width: 14px;
    height: 14px;
  }
  
  .timeline-slide-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  
  .timeline-image-block {
    min-height: 300px;
  }
  
  .timeline-image {
    height: 300px;
  }
  
  .timeline-info-block {
    min-height: auto;
    padding: 20px 0;
  }
  
  .timeline-work-title {
    font-size: 2.2rem;
  }
  
  .timeline-work-year {
    font-size: 1.4rem;
  }
  
  .timeline-work-description {
    font-size: 1.1rem;
  }
  
  .timeline-work-details {
    gap: 15px;
  }
  
  .timeline-detail {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}