/* =========================
    COWORK HERO
========================= */

.cowork-hero {
  position: relative;
  height: 55vh;
  min-height: 350px;
  background: url('../assets/images/hit_emprendimientos.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cowork-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.cowork-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cowork-hero h1 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================
   COWORK INFO  
========================================= */

.cowork-info {
  width: 100%;
}

.cowork-info-block {
  width: 100%;
  padding: 120px 0;
}

.cowork-info-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cowork-info-blue {
  background: #1C2249;
}

.cowork-info-white {
  background: #ffffff;
}

.cowork-info-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.cowork-info-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cowork-info-image:hover {
  transform: scale(1.05);
}

.cowork-info-content h2 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cowork-info-blue h2,
.cowork-info-blue p {
  color: #ffffff;
}

.cowork-info-white h2 {
  color: #1C2249;
}

.cowork-info-white p {
  color: #4a4a4a;
}

.cowork-info-content p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  line-height: 1.8;
}


@media (max-width: 900px) {

  .cowork-info-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .cowork-info-block {
    padding: 80px 0;
  }

  .cowork-info-white .cowork-info-container {
    display: flex;
    flex-direction: column-reverse;
  }

}

/* =========================
   SECCIÓN CAMINO DE TRABAJO
========================= */
.camino-trabajo {
  width: 100%;
  padding: 100px 20px;
  background-color: #ffffff;
  text-align: center;
}

.camino-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  gap: 30px;
}

.camino-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 5%;
  right: 5%;
  height: 4px;
  background-color: #00D6FF;
  z-index: 1;
  transform: translateY(-50%);
}

.camino-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100px;
}

.camino-step img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 20px;
  position: relative;
  top: -40px;
}

.camino-dot {
  width: 20px;
  height: 20px;
  background-color: #00D6FF;
  border-radius: 50%;
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.camino-step h3 {
  margin-top: 22px;
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: 16px;
  color: #1C2249;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
}

.camino-step h3.single-line {
  align-self: flex-start;
  margin-top: 42px;
}

.camino-step h3.two-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .camino-steps {
    gap: 50px;
  }

  .camino-steps::before {
    width: 88%;
    left: 6%;
  }
}

@media (max-width: 767px) {
  .camino-trabajo {
    padding: 20% 3%;
  }

  .camino-container {
    width: 100%;
    margin: 0;
    padding-left: 10%;
  }

  .camino-steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  .camino-steps::before {
    top: 5%;
    bottom: 0;
    left: 40%;
    width: 4px;
    height: 85%;
    transform: translateX(-50%);
  }

  .camino-step {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }

  .camino-step img {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
    border-radius: 50%;
    margin: 0;
    top: 0;
    justify-content: flex-start;
    padding-top: 1%;
  }

  .camino-dot {
    left: 40%;
    top: 45%;
    transform: translate(-50%, -50%);
    position: absolute;
  }


  .camino-step h3 {
  margin: 0;
  text-align: center;
  flex: 1;
  padding-right: 0%;
  font-size: 3vw;
  max-width: 12ch;
  position: relative;
  margin-left: 40%;
}

  .camino-step h3.single-line,
  .camino-step h3.two-lines {
    display: block;
    align-items: flex-end;
    margin-top: 0;
  }

  .camino-step h3.single-line {
    padding-top: 7.5%;
  }
}

/* =========================================
   DATOS SERVICIOS
========================================= */

.datos-servicios-section {
  width: 100%;
  background-color: #ffffff;
}

.datos-servicios-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.datos-servicios-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.datos-servicios-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.datos-servicios-text h3 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: 18px;
  margin: 0 0 8px 0;
  color: #1C2249;
  text-transform: uppercase;
}

.datos-servicios-text p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1C2249;
  margin: 0;
}


@media (max-width: 992px) {
  .datos-servicios-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 600px) {
  .datos-servicios-container {
    grid-template-columns: 1fr;
  }
  
  .datos-servicios-item {
    flex-direction: row;
  }
}

.datos-servicios-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.datos-servicios-title h2 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(24px, 4vw, 32px);
  color: #1C2249;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .datos-servicios-title {
    margin-bottom: 40px;
  }

  .datos-servicios-title h2 {
    font-size: clamp(20px, 4vw, 24px);
  }
}

@media (max-width: 480px) {
  .datos-servicios-title h2 {
    font-size: clamp(16px, 3vw, 20px);
  }
}

/* =========================
   SECCIÓN BOTÓN LINK WEB
========================= */

.boton-link-web {
  width: 100%;
  padding: 100px 20px;
  background-color: #ffffff;
  text-align: center;
}

.boton-link-web .boton-link {
  display: inline-block;
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1C2249;
  border: 2px solid #1C2249;
  padding: 14px 40px;
  border-radius: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.boton-link-web .boton-link:hover {
  background-color: #1C2249;
  color: #ffffff;
}

/* =========================
   SECCIÓN CRONOLOGÍA
========================= */

.cronologia-container {
  width: 100%;
  background-color: #f3f3f3; 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px 80px 20px;
  position: relative;
  margin-top: 100px;
}

.cronologia-image {
  position: relative;
  width: 100%;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden;
  padding-top: 120px;
}

.cronologia-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cronologia-image-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(16px, 3vw, 20px);
  color: #1C2249;
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
  padding: 8px 20px;
}

@media (max-width: 768px) {
  .cronologia-container {
    padding: 60px 10px;
  }

  .cronologia-image-title {
    font-size: clamp(20px, 4vw, 24px);
    padding: 6px 16px;
  }
}

@media (max-width: 480px) {
  .cronologia-image-title {
    font-size: clamp(16px, 5vw, 20px);
    padding: 4px 12px;
  }
}

/* =========================
   SECCIÓN GALERÍA 
========================= */

.galeria-slider-section {
  width: 100%;
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.galeria-title h2 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  color: #1C2249;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.galeria-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.galeria-slider {
  display: grid;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px)/4);
  transition: all 0.5s ease;
}

.galeria-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.galeria-prev, .galeria-next {
  background-color: rgba(0,0,0,0.6);
  border: none;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  padding: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 20%;
  transition: background 0.3s ease;
}

.galeria-prev:hover, .galeria-next:hover {
  background-color: #1C2249;
}

.galeria-prev { left: 5px;}
.galeria-next { right: 5px;}

.galeria-prev.disabled,
.galeria-next.disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 992px) {
  .galeria-slider {
    grid-auto-columns: calc((100% - 20px)/2);
  }

  .galeria-prev { left: 0; }
  .galeria-next { right: 0; }
}

@media (max-width: 600px) {
  .galeria-slider {
    grid-auto-columns: 100%;
  }
}

/* =========================
   MODAL IMAGEN 
========================= */

.galeria-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.galeria-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.galeria-modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.galeria-modal-close:hover {
  color: #00D6FF;
}