body {
    font-family: 'Tasa Explorer', sans-serif;
    background-color: var(--color-light);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	cursor:default;
	
}


/* --- PÁGINA DE TRABAJOS --- */
.work-page-main {
    padding: 50px 5vw;
	max-width:100rem;
	margin:auto;
}

.work-header-image {
    padding-top: 100px;
    padding-bottom: 20px;
}

.work-title-image {
    font-family: 'Tasa Explorer', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.05em;
    color: var(--color-dark);
}
/* --- FILTROS DE PROYECTOS --- */
.filter-tabs-image {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin: 20px 0 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-btn-image {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    color: rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid transparent;
}

.filter-btn-image:hover,
.filter-btn-image.active {
    color: var(--color-dark);
}

.filter-btn-image.active {
    border-bottom: 2px solid var(--orange);
}

.filter-count {
    margin-left: 5px;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.3);
}

.project-card-image {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.project-card-image.hidden {
    display: none;
}

.filter-btn-image.active {
    color: var(--color-dark);
    border-bottom: 2px solid var(--orange);
}


/* --- CUADRÍCULA DE PROYECTOS --- */
.projects-grid-image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
	max-width:100rem;
	margin:auto;
}

@media (max-width: 768px) {
    .projects-grid-image {
        grid-template-columns: 1fr;
    }
}

.project-card-image {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease;
}

/* Nueva clase para ocultar cards filtrados */
.project-card-image.hidden {
    display: none;
}

.image-wrapper-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    max-height: 400px;
}

.image-wrapper-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-info {
    margin-top: 15px;
}

.project-title-image {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
    line-height: 1.2;
    color: var(--color-dark);
    font-weight: 500;
}

.project-description-image {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 5px;
    line-height: 1.4;
}

.image-wrapper-image {
  overflow: hidden; /* Esto es crucial para ocultar el zoom fuera del contenedor */
}

.project-card-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease; /* Transición suave para el zoom */
}

/* Efecto de zoom al pasar el cursor sobre la tarjeta */
.project-card-image:hover img {
  transform: scale(1.1); /* El zoom real de la imagen */
}



  



/* FOOTER */
:root {
    --footer-bg-color: #f8f8f8;
    --footer-text-color: #4a4a4a;
    --footer-link-color: #4a4a4a;
    --footer-link-hover-color: --orange;
    --start-project-bg: #ff8c00;
    --start-project-text: #1a1a1a;
    --iaap-bg: #4c4c4c;
    --iaap-text: #4a4a4a;
  }
  
  
  /* Estilos generales del footer */
  .squee-footer {
    background-color: #ff8c00;
      color: black;
      font-family: 'Roboto', sans-serif;
      padding: 80px 5vw 0px 5vw;
      margin: 0 3vw;
      border-radius: 25px 25px 0 0;
  }
  
  .footer-container {
    max-width: 100%;
      margin: 0 auto;
      padding: 5vh 5vw 80px 5vw;
      height: auto;
      background-color: #f8f8f8;
  }
  
  .footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
  }
  
  /* Estilos de las columnas */
  .column-heading {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li a {
    text-decoration: none;
    color: var(--footer-link-color);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.3s ease;
  }
  
  .footer-links li a:hover {
    color: var(--orange);
  }
  
  .footer-column p,
  .footer-column address {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 10px 0;
    font-style: normal;
  }
  
  /* Estilos del botón y el badge */
  .start-project-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }
  
  .start-project-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: var(--start-project-bg);
    color: var(--orange);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #b3b3b3;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .start-project-button:hover {
   
    color: var(--orange);
  }
  
  .iaap-badge-placeholder {
    width: 160px;
    height: 60px;
    background-color: var(--iaap-bg);
    border: 1px solid var(--footer-text-color);
    color: var(--iaap-text);
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    text-align: center;
  }
  
  /* Estilos de la parte inferior */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #4a4a4a;
    font-size: 0.8rem;
  }
  
  .footer-copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  
  .footer-copyright a {
    text-decoration: none;
    color: var(--footer-link-color);
  }
  
  .footer-social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
    color: var(--footer-text-color);
    transition: color 0.3s ease;
  }
  
  .social-icon:hover {
    color: var(--footer-link-hover-color);
  }
  
  /* Diseño adaptable */
  @media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-copyright {
        flex-direction: column;
    }
  }
  
  @media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
  }
  
  
  /* Contenedor del carrusel */
  .infinite-carousel-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--footer-bg-color);
    padding: 20px 0;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 25px 25px 0 0;
  }
  
  /* Pista de animación del carrusel */
  .infinite-carousel-track {
    display: inline-block; /* Permite que los elementos se posicionen uno al lado del otro */
    animation: scroll-left 60s linear infinite; /* Animación principal */
  }
  
  /* Animación del desplazamiento de izquierda a derecha */
  @keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Se desplaza la mitad del contenido duplicado */
    }
  }
  
  /* Estilo del texto */
  .carousel-text {
    font-family: 'Tasa Explorer', sans-serif; /* Puedes ajustar la fuente */
    font-size: clamp(2rem, 6vw, 4rem); /* Tamaño responsivo del texto */
    color: #e8e8e8; /* Color del texto */
   
    font-weight: bold;
    margin-right: 30px; /* Espacio entre las repeticiones de la frase */
    display: inline-block; /* Permite aplicar márgenes */
  }



/* Ajuste para el botón Ver todos los proyectos */
.view-all-button {
    font-family: 'Tasa Explorer', sans-serif;
    font-size: 1.2rem;
    color: var(--color-dark);
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  
  /* Estilos del círculo con flecha */
  .arrow-circle {
    width: 50px;
    height: 50px;
    background-color: #ff8c00!important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .arrow-icon {
    width: 20px;
    height: 20px;
    color:#ffffff!important;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .view-all-button:hover .arrow-circle {
    transform: translateX(5px);
  }
  
  .view-all-button:hover .arrow-icon {
    transform: translateX(2px);
  }
  
  /* El underline naranja del botón */
  .view-all-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff8c00;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .view-all-button:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  
  /* Inversión de colores para el nuevo texto y botón en modo oscuro */
  body.dark-bg .view-all-button {
    color: var(--color-light);
  }
  
  body.dark-bg .view-all-button .arrow-circle {
    background-color: var(--color-light);
  }
  
  body.dark-bg .view-all-button .arrow-icon {
    color: #4a4a4a;
  }
  
  body.dark-bg .view-all-button::after {
    background-color: var(--color-light);
  }
  
  /* Inversión de colores para el nuevo texto y botón en modo oscuro */
  body.dark-bg .work-description,
  body.dark-bg .view-all-button {
    color: var(--color-light);
  }
  
  body.dark-bg .view-all-button::after {
    background-color: #ff8c00;
  }


/* Estilos base del cursor personalizado */
.custom-cursor {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(26, 26, 26, 0.1); 
    position: fixed;
    pointer-events: none; 
    z-index: 99999; /* Asegura que esté por encima de todo */
    transform: translate(-50%, -50%); 
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

/* CLASE CRÍTICA: Efecto de hover (cursor agrandado) - Usado por el JS */
.custom-cursor.is-hovering {
    width: 80px;
    height: 80px;
    background-color: rgba(26, 26, 26, 0.3); 
}

/* Adaptación a Modo Oscuro */
body.dark-bg .custom-cursor {
    background-color: rgba(245, 245, 245, 0.5); 
}

body.dark-bg .custom-cursor.is-hovering {
    background-color: rgba(245, 245, 245, 0.8); 
}