@charset "UTF-8";
/* =========================================================
   PROJECTS TIMELINE - Timeline vertical con filtros
========================================================= */
.timeline-library {
  min-height: 100vh;
  padding: 80px 5% 120px;
  position: relative;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.timeline-header {
  text-align: center;
  margin-bottom: 60px;
}
.timeline-header h2 {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.timeline-header h3 {
  font-family: var(--font-main);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 600;
  color: var(--color-type);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.timeline-header .timeline-intro {
  font-size: var(--fz-sm);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
  padding: 20px 32px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 60px;
  position: sticky;
  top: 80px;
  z-index: 100;
  border: 1px solid var(--color-topic);
}
@media (max-width: 768px) {
  .filter-bar {
    padding: 16px 20px;
    top: 60px;
  }
}

.filter-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .filter-wrapper {
    gap: 12px;
  }
}

.filter-btn {
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 24px;
  background: transparent;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.filter-btn:hover {
  background: var(--color-type);
  color: var(--color-topic);
}
.filter-btn.active {
  background: var(--color-type);
  color: var(--color-topic);
  border-color: var(--color-type);
}

.filter-dropdown {
  position: relative;
}
.filter-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-dropdown .dropdown-toggle .arrow {
  transition: transform 0.3s ease;
}
.filter-dropdown:hover .dropdown-toggle .arrow {
  transform: rotate(180deg);
}
.filter-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.portfolio-page .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 10;
}

.filter-option {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.filter-option:hover {
  background: rgba(194, 255, 100, 0.1);
}
.filter-option input[type=checkbox] {
  margin-right: 10px;
  cursor: pointer;
}

.filter-search {
  flex: 1;
  min-width: 250px;
}
.filter-search input {
  width: 100%;
  padding: 10px 16px;
  border: 2px solid var(--color-topic);
  border-radius: 24px;
  font-family: var(--font-main);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s ease;
  background: var(--color-topic);
}
.filter-search input:focus {
  border-color: var(--color-type);
}
.filter-search input::placeholder {
  color: #999;
}

/* Timeline */
.timeline-wrapper {
  position: relative;
}

.timeline-year {
  position: relative;
  margin-bottom: 80px;
}
.timeline-year:last-child {
  margin-bottom: 0;
}

.year-marker {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.year-marker .year-label {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-type);
  min-width: 120px;
}
.year-marker .year-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--color-type) 0%, transparent 100%);
}

.year-projects {
  position: relative;
  padding-left: 60px;
}
.year-projects::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-type) 0%, transparent 100%);
}
@media (max-width: 768px) {
  .year-projects {
    padding-left: 40px;
  }
  .year-projects::before {
    left: 10px;
  }
}

.timeline-card {
  position: relative;
  margin-bottom: 48px;
}
.timeline-card:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -47px;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--color-type);
  border-radius: 50%;
  /* Cambia el color sólido por transparente */
  border: 4px solid transparent;
  /* Asegúrate de que el shadow envuelva el borde transparente */
  box-shadow: 0 0 0 2px var(--color-type);
  /* Para que el fondo solo rellene el círculo interno y no el área del borde */
  background-clip: padding-box;
  z-index: 2;
}
@media (max-width: 768px) {
  .timeline-dot {
    left: -44px;
    width: 12px;
    height: 12px;
    border-width: 3px;
  }
}

.timeline-link {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  background: var(--color-topic-hover);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.timeline-link:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateX(8px);
}
.timeline-link:hover .timeline-image img {
  transform: scale(1.05);
}
@media (max-width: 968px) {
  .timeline-link {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.timeline-content {
  display: contents;
}

.timeline-image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  overflow: hidden;
  background: var(--color-topic);
}
.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
@media (max-width: 968px) {
  .timeline-image {
    min-height: 200px;
  }
}

.timeline-info {
  padding: 32px;
}
@media (max-width: 768px) {
  .timeline-info {
    padding: 24px;
  }
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.875rem;
}
.timeline-meta .timeline-date {
  color: #999;
  font-weight: 600;
}
.timeline-meta .timeline-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-title {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-vivid-sky-blue);
  margin-bottom: 12px;
  line-height: 1.3;
}

.timeline-client {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #666;
  margin-bottom: 16px;
}
.timeline-client .client-logo-small {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.timeline-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.timeline-tags .tag-service {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--color-topic);
  color: var(--color-vivid-sky-blue);
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.timeline-tech .tech-pill {
  font-size: 0.75rem;
  padding: 6px 12px;
  background: var(--color-type);
  color: var(--color-topic);
  border-radius: 6px;
}
.timeline-tech .tech-pill.more {
  background: var(--color-type);
  font-weight: 700;
}

/* CTA Bottom */
.timeline-cta {
  text-align: center;
  margin-top: 80px;
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.timeline-cta h3 {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-topic);
  margin-bottom: 24px;
}
.timeline-cta .btn-contact {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-focus);
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.timeline-cta .btn-contact:hover {
  background: #cc0058;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 0, 110, 0.3);
}

.no-projects {
  text-align: center;
  padding: 80px 20px;
  color: #999;
  font-size: var(--fz-md);
}/*# sourceMappingURL=projects-timeline.css.map */