@charset "UTF-8";
/* ===================================
   PROJECTS PAGE STYLES - GAP (NUEVO DISEÑO)
   Usando sistema tipográfico Neue Haas Grotesk
   ================================== */
/* ========================================
   VARIABLES ESPECÍFICAS DE PROYECTOS
   ======================================== */
:root {
  --projects-header-bg: linear-gradient(135deg, var(--color-primary-ultra-light) 0%, var(--bg-tertiary) 100%);
  --client-carousel-bg: var(--bg-secondary);
  --filter-bg: var(--color-white);
  --card-hover-shadow: 0 8px 32px rgba(93, 163, 160, 0.15);
  --status-badge-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* apps/gap/static/gap/scss/projects.scss */
/* REEMPLAZAR la sección de PROJECTS HERO */
/* ========================================
   PROJECTS HERO WITH BACKGROUND
   ======================================== */
.container {
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

.projects-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary-dark) 100%);
}

.projects-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.projects-hero-background .hero-bg-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  filter: brightness(0.7) contrast(1.1);
  transition: all 0.3s ease;
}

.projects-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(93, 163, 160, 0.88) 0%, rgba(131, 182, 131, 0.75) 40%, rgba(157, 187, 70, 0.82) 100%);
  z-index: 2;
}

/* ========================================
   PROJECTS HEADER - UPDATED FOR HERO
   ======================================== */
.projects-header {
  padding: 3rem 0 2rem 0;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  color: white;
}

.projects-subtitle {
  font-family: var(--font-text);
  font-weight: var(--font-semibold);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.projects-subtitle i {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-right: 0.5rem;
}

.projects-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 1.5rem;
  text-wrap: balance;
  position: relative;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: none;
  -webkit-text-fill-color: initial;
}
.projects-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.projects-description {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-wrap: pretty;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .projects-hero {
    min-height: 50vh;
  }
  .projects-header {
    padding: 2rem 0 1rem 0;
  }
  .projects-header .projects-title::after {
    width: 60px;
    height: 3px;
  }
}
@media (max-width: 480px) {
  .projects-hero {
    min-height: 45vh;
  }
  .projects-header {
    padding: 1.5rem 0;
  }
}
/* ========================================
   CARROUSEL DE CLIENTES - CLICKEABLE
   ======================================== */
.clients-carousel-section {
  background: var(--client-carousel-bg);
  padding: clamp(3rem, 6vw, 4rem) 0;
}
.clients-carousel-section h2 {
  text-align: center;
  color: var(--color-gray-900);
  margin-bottom: 3rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}
.clients-carousel-section .clients-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .clients-carousel-section .clients-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 5vw;
  }
}
.clients-carousel-section .client-logo-link {
  text-decoration: none;
  display: block;
  transition: var(--transition-normal);
}
.clients-carousel-section .client-logo-link:hover {
  transform: translateY(-8px);
}
.clients-carousel-section .client-logo {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color-light);
  position: relative;
  overflow: hidden;
}
.clients-carousel-section .client-logo:hover {
  box-shadow: var(--shadow-lg);
}
.clients-carousel-section .client-logo:hover .client-overlay {
  opacity: 1;
  visibility: visible;
}
.clients-carousel-section .client-logo:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.clients-carousel-section .client-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition-normal);
}
.clients-carousel-section .client-logo .client-name-fallback {
  font-weight: var(--font-semibold);
  color: var(--color-gray-700);
  font-size: 0.875rem;
  text-align: center;
  line-height: var(--lh-tight);
}
.clients-carousel-section .client-logo .client-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  padding: 1rem;
}
.clients-carousel-section .client-logo .client-overlay .client-info {
  text-align: center;
  color: var(--color-white);
}
.clients-carousel-section .client-logo .client-overlay .client-info h4 {
  font-size: 0.9375rem;
  font-weight: var(--font-semibold);
  margin-bottom: 0.5rem;
  color: var(--color-white);
}
.clients-carousel-section .client-logo .client-overlay .client-info p {
  font-size: 0.75rem;
  line-height: var(--lh-tight);
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.clients-carousel-section .client-logo .client-overlay .client-info .view-project {
  font-size: 0.6875rem;
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  display: inline-block;
}
.clients-carousel-section .client-logo:not(.client-logo-link .client-logo) {
  cursor: default;
}
.clients-carousel-section .client-logo:not(.client-logo-link .client-logo):hover {
  transform: none;
}
.clients-carousel-section .client-logo:not(.client-logo-link .client-logo):hover img {
  filter: grayscale(70%);
}

/* ========================================
   FILTROS DE PROYECTOS
   ======================================== */
.projects-filters-section {
  background: var(--filter-bg);
  padding: clamp(3rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border-color-light);
  padding: 5vh 5vw;
}
.projects-filters-section .filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .projects-filters-section .filters-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.projects-filters-section .filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.projects-filters-section .filter-group label {
  font-weight: var(--font-medium);
  color: var(--color-gray-700);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.projects-filters-section .filter-group .filter-select {
  background: var(--color-white);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  cursor: pointer;
  transition: var(--transition-fast);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  padding-right: 2.5rem;
}
.projects-filters-section .filter-group .filter-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(93, 163, 160, 0.1);
}
.projects-filters-section .filter-group .filter-select:hover {
  border-color: var(--color-primary-light);
}
.projects-filters-section .results-counter {
  text-align: center;
  color: var(--text-secondary);
  font-weight: var(--font-medium);
  font-size: 0.9375rem;
  padding: 1rem;
  background: var(--color-primary-ultra-light);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-primary-light);
}
.projects-filters-section .results-counter #results-count {
  color: var(--color-primary-dark);
  font-weight: var(--font-semibold);
  font-size: 1.125rem;
}

/* ========================================
   LISTA DE PROYECTOS - CARDS COMPLETOS
   ======================================== */
.projects-listing {
  padding: clamp(3rem, 6vw, 4rem) 0;
}
.projects-listing .projects-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1vh 5vw;
}

.project-card-full {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border-color-light);
  transition: var(--transition-normal);
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 250px;
}
@media (max-width: 992px) {
  .project-card-full {
    grid-template-columns: 250px 1fr;
  }
}
@media (max-width: 768px) {
  .project-card-full {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}
.project-card-full:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.project-card-full .project-image {
  position: relative;
  overflow: hidden;
  background: var(--color-gray-200);
}
@media (max-width: 768px) {
  .project-card-full .project-image {
    height: 200px;
  }
}
.project-card-full .project-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: var(--transition-slow);
}
.project-card-full .project-image:hover img {
  transform: scale(1.05);
}
.project-card-full .project-image .project-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  font-size: 3rem;
}
.project-card-full .project-image .project-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--color-white);
  padding: 0.375rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--status-badge-shadow);
}
.project-card-full .project-image .featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 0.375rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: var(--status-badge-shadow);
}
.project-card-full .project-image .featured-badge i {
  font-size: 0.875rem;
}
.project-card-full .project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3vh 2vw;
}
@media (max-width: 768px) {
  .project-card-full .project-content {
    padding: 1.5rem;
  }
}
.project-card-full .project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}
.project-card-full .project-header .project-info {
  flex: 1;
}
.project-card-full .project-header .project-info .project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.project-card-full .project-header .project-info .project-meta .project-type {
  background: var(--color-primary-ultra-light);
  color: var(--color-primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.project-card-full .project-header .project-info .project-meta .project-location {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.project-card-full .project-header .project-info .project-meta .project-location i {
  font-size: 0.75rem;
}
.project-card-full .project-header .project-info h3 {
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  line-height: var(--lh-tight);
}
@media (max-width: 768px) {
  .project-card-full .project-header .project-info h3 {
    font-size: 1.25rem;
  }
}
.project-card-full .project-header .project-info .project-description {
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  margin-bottom: 0;
}
.project-card-full .project-header .client-logo-display {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  background: var(--color-white);
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .project-card-full .project-header .client-logo-display {
    width: 70px;
    height: 50px;
  }
}
.project-card-full .project-header .client-logo-display img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(50%);
  transition: var(--transition-fast);
}
.project-card-full .project-header .client-logo-display .client-name-display {
  font-size: 0.625rem;
  font-weight: var(--font-semibold);
  color: var(--color-gray-600);
  text-align: center;
  line-height: var(--lh-tight);
}
.project-card-full .project-header .client-logo-display:hover img {
  filter: grayscale(0%);
}
.project-card-full .project-details {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.project-card-full .project-details .detail-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.project-card-full .project-details .detail-item i {
  color: var(--color-primary);
  font-size: 0.875rem;
}
.project-card-full .project-services {
  margin-bottom: 1.5rem;
}
.project-card-full .project-services small {
  display: block;
  color: var(--text-muted);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}
.project-card-full .project-services .services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project-card-full .project-services .services-tags .service-tag {
  background: var(--color-gray-200);
  color: var(--color-gray-700);
  padding: 0.25rem 0.625rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.project-card-full .project-services .services-tags .service-tag.more {
  background: var(--color-primary);
  color: var(--color-white);
}
.project-card-full .project-actions .btn {
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.75rem 1.5rem;
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.project-card-full .project-actions .btn i {
  transition: var(--transition-fast);
}
.project-card-full .project-actions .btn:hover i {
  transform: translateX(4px);
}
.project-card-full .btn.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border: none;
  position: relative;
  overflow: hidden;
}
.project-card-full .btn.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(93, 163, 160, 0.3);
}
.project-card-full.filtered-out {
  display: none;
}
.project-card-full.filtering {
  opacity: 0.3;
  pointer-events: none;
}

/* apps/gap/static/gap/scss/projects.scss */
/* AGREGAR al final */
/* ========================================
   LOAD MORE BUTTON
   ======================================== */
.load-more-container {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color-light);
}

.load-more-btn {
  padding: 1rem 2rem;
  font-weight: var(--font-medium);
  min-width: 200px;
}
.load-more-btn .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.load-more-btn .btn-loading i.spin {
  animation: spin 1s linear infinite;
}
.load-more-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* apps/gap/static/gap/scss/projects.scss */
/* AGREGAR al carrousel de clientes */
@media (max-width: 768px) {
  .clients-carousel-section .client-logo-wrapper.hidden-mobile {
    display: none;
  }
}

/* ========================================
   NO RESULTS STATE
   ======================================== */
.no-results {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.no-results .no-results-content {
  max-width: 400px;
  margin: 0 auto;
}
.no-results .no-results-content i {
  font-size: 4rem;
  color: var(--color-gray-400);
  margin-bottom: 1.5rem;
}
.no-results .no-results-content h3 {
  color: var(--color-gray-700);
  margin-bottom: 1rem;
}
.no-results .no-results-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.no-results .no-results-content .btn {
  padding: 0.75rem 1.5rem;
}

/* ========================================
   ANIMACIONES Y LOADING STATES
   ======================================== */
.projects-grid.loading .project-card-full {
  opacity: 0.5;
  pointer-events: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.project-card-full {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 576px) {
  .project-card-full .project-content {
    padding: 1rem;
  }
  .project-card-full .project-header {
    flex-direction: column;
    gap: 1rem;
  }
  .project-card-full .project-header .client-logo-display {
    align-self: flex-end;
    width: 60px;
    height: 40px;
  }
  .project-card-full .project-details {
    flex-direction: column;
    gap: 0.75rem;
  }
  .clients-carousel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .filters-grid {
    gap: 0.75rem;
  }
}
/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .projects-filters-section,
  .projects-cta {
    display: none;
  }
  .project-card-full {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
  }
}
/* ========================================
   PROJECT DETAIL PAGE - NUEVO DISEÑO
   ======================================== */
.project-detail-hero {
  background: linear-gradient(135deg, var(--color-primary-ultra-light) 0%, var(--bg-tertiary) 100%);
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.project-detail-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(93, 163, 160, 0.08) 100%);
  pointer-events: none;
}
.project-detail-hero .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: var(--font-medium);
}
.project-detail-hero .breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}
.project-detail-hero .breadcrumbs a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
.project-detail-hero .breadcrumbs i {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.project-detail-hero .breadcrumbs span {
  color: var(--text-secondary);
  font-weight: var(--font-medium);
}
.project-detail-hero .hero-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 992px) {
  .project-detail-hero .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.project-detail-hero .project-hero-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-gray-200);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 992px) {
  .project-detail-hero .project-hero-image {
    order: -1;
    aspect-ratio: 16/9;
  }
}
.project-detail-hero .project-hero-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.project-detail-hero .project-hero-image .hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  background: linear-gradient(135deg, var(--color-gray-200), var(--color-gray-300));
}
.project-detail-hero .project-hero-image .hero-image-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--color-gray-400);
}
.project-detail-hero .project-hero-image .hero-image-placeholder span {
  font-size: 1.125rem;
  font-weight: var(--font-medium);
  text-align: center;
  max-width: 80%;
}
.project-detail-hero .project-hero-image .project-status-hero {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
}
.project-detail-hero .project-hero-image .featured-badge-hero {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: var(--shadow-md);
}
.project-detail-hero .project-hero-image .featured-badge-hero i {
  font-size: 1rem;
}
.project-detail-hero .project-hero-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.project-detail-hero .project-title-section .title-content {
  margin-bottom: 2rem;
}
.project-detail-hero .project-title-section .title-content h1 {
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: var(--lh-tight);
}
.project-detail-hero .project-title-section .title-content .project-subtitle {
  color: var(--color-primary-dark);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: var(--font-medium);
  margin-bottom: 1rem;
  line-height: var(--lh-normal);
}
.project-detail-hero .project-title-section .title-content .project-description-hero {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: var(--lh-relaxed);
  margin-bottom: 0;
}
.project-detail-hero .project-title-section .client-logo-hero {
  background: var(--color-white);
  border: 2px solid var(--border-color-light);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: var(--transition-normal);
}
.project-detail-hero .project-title-section .client-logo-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.project-detail-hero .project-title-section .client-logo-hero img {
  max-width: 100%;
  max-height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(30%);
  transition: var(--transition-fast);
}
.project-detail-hero .project-title-section .client-logo-hero:hover img {
  filter: grayscale(0%);
}
.project-detail-hero .project-title-section .client-logo-hero .client-name-hero {
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  color: var(--color-gray-700);
  text-align: center;
  line-height: var(--lh-tight);
}
.project-detail-hero .project-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
@media (max-width: 768px) {
  .project-detail-hero .project-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
@media (max-width: 480px) {
  .project-detail-hero .project-meta-grid {
    grid-template-columns: 1fr;
  }
}
.project-detail-hero .project-meta-grid .meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-white);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  transition: var(--transition-fast);
}
.project-detail-hero .project-meta-grid .meta-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.project-detail-hero .project-meta-grid .meta-item i {
  color: var(--color-primary);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}
.project-detail-hero .project-meta-grid .meta-item div {
  flex: 1;
  min-width: 0;
}
.project-detail-hero .project-meta-grid .meta-item div label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.project-detail-hero .project-meta-grid .meta-item div span {
  color: var(--color-gray-900);
  font-weight: var(--font-medium);
  font-size: 0.9375rem;
  word-break: break-word;
}

/* ========================================
   PROJECT CONTENT SECTION (mejorado)
   ======================================== */
.project-content {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.project-content .content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .project-content .content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.project-content .main-content > * + * {
  margin-top: clamp(3rem, 6vw, 4rem);
}

/* ========================================
   SIDEBAR MEJORADO
   ======================================== */
@media (max-width: 992px) {
  .sidebar {
    order: -1;
  }
}
.sidebar .sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.sidebar .sidebar-card:hover {
  box-shadow: var(--shadow-md);
}
.sidebar .sidebar-card:last-child {
  margin-bottom: 0;
}
.sidebar .sidebar-card h3 {
  color: var(--color-gray-900);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color-light);
}
.sidebar .client-info .client-details {
  text-align: center;
}
.sidebar .client-info .client-details .client-logo-sidebar {
  background: var(--color-gray-100);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.sidebar .client-info .client-details .client-logo-sidebar img {
  max-width: 100%;
  max-height: 60px;
  -o-object-fit: contain;
     object-fit: contain;
}
.sidebar .client-info .client-details h4 {
  color: var(--color-gray-900);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}
.sidebar .client-info .client-details p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: var(--lh-normal);
  margin-bottom: 1.5rem;
}
.sidebar .client-info .client-details .client-website {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-medium);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: var(--transition-fast);
}
.sidebar .client-info .client-details .client-website i {
  font-size: 0.75rem;
}
.sidebar .client-info .client-details .client-website:hover {
  color: var(--color-primary-dark);
}
.sidebar .project-stats .stats-list .stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color-light);
}
.sidebar .project-stats .stats-list .stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar .project-stats .stats-list .stat-item:first-child {
  padding-top: 0;
}
.sidebar .project-stats .stats-list .stat-item .stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: var(--font-regular);
}
.sidebar .project-stats .stats-list .stat-item .stat-value {
  color: var(--color-gray-900);
  font-weight: var(--font-semibold);
  font-size: 1rem;
}
.sidebar .cta-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: none;
  color: var(--color-white);
  text-align: center;
}
.sidebar .cta-card h3 {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.sidebar .cta-card p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9375rem;
  line-height: var(--lh-normal);
  margin-bottom: 2rem;
}
.sidebar .cta-card .btn {
  background: var(--color-white);
  color: var(--color-primary);
  border: none;
  font-weight: var(--font-semibold);
  width: 100%;
  padding: 1rem;
}
.sidebar .cta-card .btn:hover {
  background: var(--color-gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   RELATED PROJECTS MEJORADO
   ======================================== */
.related-projects {
  background: var(--bg-secondary);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.related-projects .container {
  max-width: 1200px;
}
.related-projects h2 {
  color: var(--color-gray-900);
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
}
.related-projects .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
@media (max-width: 768px) {
  .related-projects .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .related-projects .related-grid {
    grid-template-columns: 1fr;
  }
}
.related-projects .related-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
  transition: var(--transition-normal);
  text-align: center;
}
.related-projects .related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.related-projects .related-card .related-client-logo {
  background: var(--color-gray-100);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}
.related-projects .related-card .related-client-logo img {
  max-width: 100%;
  max-height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(50%);
  transition: var(--transition-fast);
}
.related-projects .related-card:hover .related-client-logo img {
  filter: grayscale(0%);
}
.related-projects .related-card h4 {
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}
.related-projects .related-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: var(--lh-normal);
  margin-bottom: 1.5rem;
}
.related-projects .related-card .related-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.related-projects .related-card .related-meta span {
  background: var(--color-gray-200);
  color: var(--color-gray-700);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.related-projects .related-card a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-medium);
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: var(--transition-fast);
}
.related-projects .related-card a:hover {
  color: var(--color-primary-dark);
}
.related-projects .related-card a::after {
  content: "\f138";
  font-family: "Bootstrap Icons";
  transition: var(--transition-fast);
}
.related-projects .related-card a:hover::after {
  transform: translateX(3px);
}

/* ========================================
   RESPONSIVE ESPECÍFICO PARA PROJECT DETAIL
   ======================================== */
@media (max-width: 768px) {
  .project-detail-hero .hero-content-grid {
    gap: 1.5rem;
  }
  .project-detail-hero .project-hero-info {
    gap: 1.5rem;
  }
  .project-detail-hero .project-title-section .title-content {
    margin-bottom: 1.5rem;
  }
  .project-detail-hero .project-title-section .client-logo-hero {
    padding: 1rem;
    min-height: 80px;
  }
  .project-detail-hero .project-title-section .client-logo-hero img {
    max-height: 60px;
  }
  .project-detail-hero .project-title-section .client-logo-hero .client-name-hero {
    font-size: 1rem;
  }
  .project-detail-hero .project-meta-grid .meta-item {
    padding: 0.75rem;
  }
  .project-detail-hero .project-meta-grid .meta-item i {
    font-size: 1rem;
  }
  .project-detail-hero .project-meta-grid .meta-item div label {
    font-size: 0.6875rem;
  }
  .project-detail-hero .project-meta-grid .meta-item div span {
    font-size: 0.875rem;
  }
  .sidebar .sidebar-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .sidebar .sidebar-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
  .related-projects .related-grid {
    grid-template-columns: 1fr;
  }
  .related-projects .related-card {
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .project-detail-hero .breadcrumbs {
    margin-bottom: 1.5rem;
  }
  .project-detail-hero .project-hero-image {
    aspect-ratio: 4/3;
  }
  .project-detail-hero .project-meta-grid {
    gap: 0.5rem;
  }
  .project-detail-hero .project-meta-grid .meta-item {
    padding: 0.75rem;
  }
  .sidebar .sidebar-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  .sidebar .client-info .client-details .client-logo-sidebar {
    padding: 0.75rem;
    min-height: 60px;
  }
  .sidebar .client-info .client-details .client-logo-sidebar img {
    max-height: 40px;
  }
}
/* ========================================
   LOADING STATES PARA PROJECT DETAIL
   ======================================== */
.project-detail-loading .project-hero-image,
.project-detail-loading .project-hero-info,
.project-detail-loading .sidebar-card {
  opacity: 0.6;
  pointer-events: none;
}

/* ========================================
   PRINT STYLES PARA PROJECT DETAIL
   ======================================== */
@media print {
  .project-detail-hero .project-status-hero,
  .project-detail-hero .featured-badge-hero {
    display: none;
  }
  .sidebar .cta-card {
    display: none;
  }
  .related-projects {
    display: none;
  }
}
/* ========================================
   HEADER DE INDUSTRIA ESPECÍFICA - NUEVO
   ======================================== */
.projects-industry-header {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}
@media (max-width: 768px) {
  .projects-industry-header {
    min-height: 400px;
    margin-bottom: 3rem;
  }
}

.projects-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, rgba(93, 163, 160, 0.88) 0%, rgba(131, 182, 131, 0.75) 40%, rgba(157, 187, 70, 0.82) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-header-content {
  text-align: center;
  color: var(--color-white);
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}
.projects-header-content .projects-subtitle {
  margin-bottom: 1rem;
}
.projects-header-content .projects-subtitle .back-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: var(--transition-fast);
}
.projects-header-content .projects-subtitle .back-link:hover {
  color: var(--color-white);
  text-decoration: none;
}
.projects-header-content .projects-subtitle .back-link i {
  margin-right: 0.5rem;
}
.projects-header-content .industry-title {
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.projects-header-content .projects-subtitle-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  font-weight: var(--font-medium);
  margin-bottom: 1rem;
}
.projects-header-content .projects-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: var(--lh-relaxed);
}

.industry-icon-display {
  margin-bottom: 1.5rem;
}
.industry-icon-display i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 2rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.industry-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.industry-navigation .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: var(--transition-normal);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.industry-navigation .nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-2px);
}
.industry-navigation .industry-counter {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  font-weight: var(--font-medium);
}

.industry-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.industry-stats .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.industry-stats .stat-item .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: var(--font-bold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.industry-stats .stat-item .stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   ÍNDICE DE INDUSTRIAS - NUEVO
   ======================================== */
.industries-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-lg);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
@media (max-width: 768px) {
  .industries-index {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .industries-index {
    grid-template-columns: 1fr;
  }
}

.industry-index-card {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color-light);
}
.industry-index-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
@media (max-width: 768px) {
  .industry-index-card {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }
}

.index-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}
.index-icon i {
  font-size: 1.25rem;
}
@media (max-width: 768px) {
  .index-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

.index-content h4 {
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: var(--font-semibold);
}
.index-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
  line-height: var(--lh-normal);
}

/* ========================================
   FALLBACK SIN BACKGROUND IMAGE
   ======================================== */
.projects-industry-header:not([style*=background-image]) {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}
.projects-industry-header:not([style*=background-image]) .projects-header-overlay {
  background: rgba(0, 0, 0, 0.1);
}

/* ========================================
   RESPONSIVE PARA HEADER DE INDUSTRIA
   ======================================== */
@media (max-width: 768px) {
  .projects-header-content {
    padding: 1.5rem;
  }
  .industry-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  .industry-navigation .nav-btn {
    width: 100%;
    justify-content: center;
  }
  .industry-icon-display i {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .industry-stats {
    flex-direction: column;
    gap: 1rem;
  }
  .industry-stats .stat-item {
    padding: 0.75rem 1rem;
  }
  .industry-stats .stat-item .stat-number {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .projects-industry-header {
    min-height: 350px;
  }
  .industry-navigation .nav-btn {
    padding: 0.75rem;
  }
  .industry-navigation .nav-btn span {
    display: none;
  }
  .industry-navigation .nav-btn i {
    margin: 0;
  }
}/*# sourceMappingURL=projects.css.map */