/* Pinterest/Masonry Gallery Style */
.gallery-grid.corporate-event-grid {
  column-count: 4;
  column-gap: 1.5em;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.gallery-item.corporate-event-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5em;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  background: #181818;
}
.gallery-item.corporate-event-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}
@media (max-width: 1100px) {
  .gallery-grid.corporate-event-grid {
    column-count: 2;
  }
}
@media (max-width: 700px) {
  .gallery-grid.corporate-event-grid {
    column-count: 1;
  }
}
/* ===================== Responsive Pages Improvements ===================== */
@media (max-width: 1024px) {
  .client-bar-green {
    font-size: 0.95rem;
    padding: 0.4em 0;
  }
}
@media (max-width: 768px) {
  .client-bar-green {
    font-size: 0.9rem;
    padding: 0.3em 0;
  }
  .service-full-card.rrss-principal {
    padding: 1rem;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .client-bar-green {
    font-size: 0.85rem;
    padding: 0.2em 0;
  }
  .service-full-card.rrss-principal {
    padding: 0.5rem;
    gap: 0.5rem;
  }
}
/* Barra verde para nombre de cliente debajo de la foto */
.client-bar-green {
  width: 100%;
  background: linear-gradient(90deg, #a3e635 0%, #22c55e 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  padding: 0.5em 0;
  border-radius: 0 0 12px 12px;
  margin-top: 0;
  letter-spacing: 0.5px;
}
.client-full-card .client-full-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}
/* Coming Soon Loading Bar Animation for Revista */
.loading-bar {
  width: 100%;
  max-width: 320px;
  height: 16px;
  background: #e0e0e0;
  border-radius: 8px;
  
  overflow: hidden;
  margin: 0 auto 18px auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.loading-bar-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #a3e635 0%, #22c55e 100%) !important;
  /* Fallback para verde sólido si hay conflicto */
  background-color: #22c55e !important;
  border-radius: 8px;
  animation: loadingBarAnim 2.2s infinite linear;
}

@keyframes loadingBarAnim {
  0% { width: 0%; }
  60% { width: 100%; }
  100% { width: 0%; }
}
/* Coming Soon Loading Bar Animation */
.coming-soon-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 48px 0 32px 0;
  background: #f8f8fa;
}

.coming-soon-container {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.coming-soon-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #222;
}

.loading-bar {
  width: 100%;
  max-width: 320px;
  height: 16px;
  background: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto 18px auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.loading-bar-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffb347 0%, #ffcc80 100%);
  border-radius: 8px;
  animation: loadingBarAnim 2.2s infinite linear;
}

@keyframes loadingBarAnim {
  0% { width: 0%; }
  60% { width: 100%; }
  100% { width: 0%; }
}

.coming-soon-text {
  font-size: 1.1rem;
  color: #555;
  margin-top: 8px;
}
/* === RRSS PRINCIPAL CARD STYLES - VERTICAL LAYOUT === */
.service-full-card.rrss-principal {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 3.5rem auto;
  background: #1a1a1a;
  border: 1px solid rgba(163, 230, 53, 0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  z-index: 2;
  overflow: visible;
  border-radius: 20px;
}

/* Header: Iconos y título arriba */
.rrss-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.rrss-icons-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.service-full-card.rrss-principal h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

/* Contenedor de planes: 3 cards en fila */
.rrss-plans-container {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.plan-card {
  background: #252525;
  border: 1px solid rgba(163, 230, 53, 0.1);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  min-width: 200px;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.plan-card:hover {
  border-color: rgba(163, 230, 53, 0.3);
  box-shadow: 0 8px 30px rgba(163, 230, 53, 0.1);
  transform: translateY(-4px);
}

.plan-card img {
  margin-bottom: 0.8rem;
}

.plan-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #a3e635;
  margin-bottom: 0.5rem;
}

.plan-card p {
  font-size: 0.85rem;
  color: #b0b0b0;
  line-height: 1.5;
  margin: 0;
}

/* Footer: Botón centrado abajo */
.rrss-footer {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
}

.service-full-card.rrss-principal .service-detail-btn {
  background: linear-gradient(135deg, #a3e635 0%, #8bc34a 100%);
  color: #0a0e27;
  border: none;
  border-radius: 12px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(163, 230, 53, 0.3);
}

.service-full-card.rrss-principal .service-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(163, 230, 53, 0.4);
}

/* Responsive for RRSS Principal Card */
@media (max-width: 900px) {
  .rrss-plans-container {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  
  .plan-card {
    min-width: 90%;
    max-width: 100%;
  }
}

/* === RRSS PRINCIPAL CARD - HORIZONTAL VARIANT === */
.service-full-card.rrss-principal.horizontal {
  display: grid;
  grid-template-columns: minmax(220px, var(--rrss-card-media-width)) 1fr;
  gap: var(--rrss-card-gap);
  align-items: start;
}

.service-full-card.rrss-principal.horizontal .rrss-header {
  align-items: center;
  text-align: center;
}

.service-full-card.rrss-principal.horizontal .rrss-icons-col {
  flex-direction: column;
  gap: 0.8rem;
}

.service-full-card.rrss-principal.horizontal .rrss-plans-container {
  flex-direction: column;
  align-items: stretch;
}

.service-full-card.rrss-principal.horizontal .plan-card {
  width: 100%;
  min-width: auto;
  max-width: none;
  align-items: flex-start;
  text-align: left;
}

.service-full-card.rrss-principal.horizontal .rrss-footer {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .service-full-card.rrss-principal.horizontal {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  .service-full-card.rrss-principal.horizontal .rrss-icons-col {
    flex-direction: row;
  }
  .service-full-card.rrss-principal.horizontal .rrss-plans-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .service-full-card.rrss-principal,
  .service-full-card.rrss-principal.horizontal {
    padding: 1.5rem;
    gap: 1rem;
  }
  .service-full-card.rrss-principal.horizontal {
    grid-template-columns: 1fr;
  }
  .service-full-card.rrss-principal.horizontal .rrss-header {
    align-items: center;
  }
  .service-full-card.rrss-principal.horizontal .rrss-icons-col {
    flex-direction: row;
    gap: 0.8rem;
  }
  .service-full-card.rrss-principal.horizontal .plan-card {
    align-items: center;
    text-align: center;
  }
  .service-full-card.rrss-principal.horizontal .rrss-footer {
    justify-content: center;
  }
}

/* === GRID LAYOUT FOR SECONDARY SERVICES === */
.services-full-container {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.service-card .service-icon img {
  width: 38px;
  height: 38px;
  margin-bottom: 0.7rem;
  filter: none;
  opacity: 1;
  transition: transform 0.2s;
}
.service-card .service-icon img:hover {
  transform: scale(1.10);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}
/* Servicios Carousel Section - Fixed without clipping */
.servicios-carousel-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  background: var(--page-bg, #000);
  margin-bottom: 40px;
  overflow: hidden;
  padding: 50px 0;
}

.servicios-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.revista-carousel-fotos {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  overflow: visible;
  padding: 40px 0;
  will-change: transform;
}

.revista-carousel-fotos img {
  --slide-w: 340px;
  width: min(32vw, var(--slide-w));
  height: calc(min(32vw, var(--slide-w)) * 0.62);
  max-height: 220px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  filter: grayscale(8%) contrast(0.95) brightness(0.92) saturate(0.8);
  transition: transform 900ms cubic-bezier(0.2,0.8,0.2,1), filter 900ms ease, box-shadow 900ms ease, opacity 900ms ease;
  opacity: 0.95;
  transform: translateZ(0);
}

.revista-carousel-fotos img.active {
  transform: translateY(-10px) scale(1.05);
  filter: grayscale(0%) brightness(1) saturate(1) contrast(1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(163,230,53,0.06) inset;
  opacity: 1;
  z-index: 3;
}

.revista-carousel-fotos img:not(.active) {
  transform: translateY(0px) scale(1);
  opacity: 0.85;
}

.revista-carousel-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  background: var(--page-bg, #000);
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .servicios-carousel-section {
    min-height: 300px;
    padding: 40px 0;
  }
  
  .revista-carousel-fotos {
    gap: 24px;
    padding: 30px 0;
  }
  
  .revista-carousel-fotos img {
    width: 60vw;
    max-width: 300px;
  }
}
.revista-carousel {
  display: flex;
  align-items: center;
  gap: 24px;
}
.revista-carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card-bg, #111);
  border-radius: 16px;
  box-shadow: var(--shadow-card, 0 4px 24px rgba(0,0,0,0.2));
  padding: 24px 32px;
  min-width: 220px;
  max-width: 260px;
  transition: box-shadow 0.3s;
  margin: 0 8px;
}
.revista-carousel-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}
.revista-carousel-prev,
.revista-carousel-next {
  background: var(--card-bg, #111);
  color: #a3e635;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.revista-carousel-prev:hover,
.revista-carousel-next:hover {
  background: #a3e635;
  color: #111;
}
/* ========================================
   PAGES & SECTIONS STYLES - CORPORATE PREMIUM
   ======================================== */

:root {
  --page-bg: #000000;
  --card-bg: #0a0a0a;
  --card-border: rgba(163, 230, 53, 0.15);
  --card-hover: rgba(163, 230, 53, 0.25);
  --text-muted: #8b92b0;
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 30px 80px rgba(163, 230, 53, 0.2);
}

/* PAGE HEADER */
.page-header {
  position: relative;
  padding: 120px var(--spacing-md) 60px;
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
  animation: fadeInDown 0.8s ease-out;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(163, 230, 53, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(163, 230, 53, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.page-header-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, #fff 0%, #d1e8a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  animation: slideUp 0.8s ease-out;
}

.page-title .highlight {
  color: #a3e635;
  -webkit-text-fill-color: #a3e635;
}

.page-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--text-muted);
  margin: 0;
  animation: slideUp 0.8s ease-out 0.1s both;
}

/* PAGE CONTENT */
.page-content {
  min-height: 60vh;
  padding: var(--spacing-2xl) var(--spacing-md);
  background: #000000;
}

/* SECTION STYLES */
.page-content > section {
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, #fff 0%, #a3e635 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title.centered {
  text-align: center;
}

/* CARD STYLES - TEAM, CLIENTS, COURSES */
.team-full-card,
.client-full-card,
.course-full-card,
.service-full-card {
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(15, 15, 15, 0.8) 100%);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  animation: scaleIn 0.6s ease-out;
}

.team-full-card:hover,
.client-full-card:hover,
.course-full-card:hover,
.service-full-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: #a3e635;
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(20, 20, 20, 0.9) 100%);
}

/* CLIENTS MASONRY GRID - Pinterest Style */
.clients-masonry-section {
  padding: var(--spacing-2xl) 0;
  background: var(--page-bg, #000);
}

.clients-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.client-masonry-card {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(15, 15, 15, 0.8) 100%);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.6s ease-out backwards;
}

.client-masonry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(163, 230, 53, 0.15);
}

.client-masonry-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.client-masonry-card:hover img {
  transform: scale(1.05);
}

.client-name-bar {
  background: linear-gradient(135deg, #a3e635 0%, #8bc34a 100%);
  color: #000000;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

/* Stagger animation for client cards */
.client-masonry-card:nth-child(1) { animation-delay: 0.05s; }
.client-masonry-card:nth-child(2) { animation-delay: 0.1s; }
.client-masonry-card:nth-child(3) { animation-delay: 0.15s; }
.client-masonry-card:nth-child(4) { animation-delay: 0.2s; }
.client-masonry-card:nth-child(5) { animation-delay: 0.25s; }
.client-masonry-card:nth-child(6) { animation-delay: 0.3s; }
.client-masonry-card:nth-child(7) { animation-delay: 0.35s; }
.client-masonry-card:nth-child(8) { animation-delay: 0.4s; }
.client-masonry-card:nth-child(9) { animation-delay: 0.45s; }
.client-masonry-card:nth-child(10) { animation-delay: 0.5s; }
.client-masonry-card:nth-child(11) { animation-delay: 0.55s; }
.client-masonry-card:nth-child(12) { animation-delay: 0.6s; }
.client-masonry-card:nth-child(13) { animation-delay: 0.65s; }
.client-masonry-card:nth-child(14) { animation-delay: 0.7s; }
.client-masonry-card:nth-child(15) { animation-delay: 0.75s; }
.client-masonry-card:nth-child(16) { animation-delay: 0.8s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .clients-masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .clients-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .client-name-bar {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .clients-masonry-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* OLD CLIENT CARDS - Keep for backward compatibility */
.client-full-card {
  position: relative;
  display: block;
}

.client-full-card .client-full-logo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.client-full-card .client-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: var(--spacing-sm);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.75) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.client-full-card .client-info h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.client-full-card .client-info .client-industry {
  margin: 0;
  color: #c0c0c0;
  font-size: 0.9rem;
}

.client-full-card:hover .client-full-logo,
.client-full-card:active .client-full-logo {
  transform: scale(1.05);
}

.client-full-card:hover .client-info,
.client-full-card:active .client-info {
  opacity: 1;
}

/* TEAM CARDS */
.team-full-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation-delay: var(--card-delay, 0);
}

.team-full-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.1), transparent);
}

.team-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.team-full-card:hover .team-full-image img {
  transform: scale(1.1) rotate(1deg);
}

.team-full-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-full-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: #fff;
}

.team-role {
  color: #a3e635;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--spacing-md);
}

.team-social {
  display: flex;
  gap: var(--spacing-sm);
}

.team-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(163, 230, 53, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.2rem;
}

.team-social a:hover {
  background: #a3e635;
  transform: translateY(-4px);
}

/* CLIENT CARDS */
.service-full-card {
  padding: var(--spacing-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 420px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12,12,12,0.95), rgba(20,20,20,0.95));
  border: 1px solid rgba(163,230,53,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.service-full-icon {
  font-size: 56px;
  margin-bottom: var(--spacing-md);
  transition: transform 0.45s cubic-bezier(0.2,0.9,0.2,1);
}
.service-full-card:hover .service-full-icon {
  transform: translateY(-6px) scale(1.06);
}
.service-full-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}
.service-full-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  line-height: 1.6;
}
.service-detail-btn {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #0a0e27;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
  display: inline-block;
  width: 160px;
}
.service-detail-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(163,230,53,0.12);
}
/* COURSE CARDS - CLEAN ORGANIZED DESIGN */
.course-full-card {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.98), rgba(10, 10, 10, 0.98));
  border-radius: 20px;
  border: 1px solid rgba(163, 230, 53, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(163, 230, 53, 0.05) inset;
  animation: fadeInUp 0.6s ease-out backwards;
  display: flex;
  flex-direction: column;
}

.course-full-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at bottom left, rgba(163, 230, 53, 0.03), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.course-full-card:hover {
  transform: translateY(-8px);
  border-color: rgba(163, 230, 53, 0.25);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(163, 230, 53, 0.08),
    0 0 0 1px rgba(163, 230, 53, 0.15) inset;
}

.course-full-card:hover::before {
  opacity: 1;
}

/* Stagger animation for course cards */
.course-full-card:nth-child(1) { animation-delay: 0.1s; }
.course-full-card:nth-child(2) { animation-delay: 0.2s; }
.course-full-card:nth-child(3) { animation-delay: 0.3s; }
.course-full-card:nth-child(4) { animation-delay: 0.4s; }
.course-full-card:nth-child(5) { animation-delay: 0.5s; }
.course-full-card:nth-child(6) { animation-delay: 0.6s; }

.course-full-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.course-full-card:hover .course-full-image {
  transform: scale(1.05);
}

.course-full-content {
  position: relative;
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.course-category {
  display: inline-block;
  background: rgba(163, 230, 53, 0.12);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-md);
  width: fit-content;
  border: 1px solid rgba(163, 230, 53, 0.2);
}

.course-full-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.course-full-content > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  flex: 1;
}

.course-meta {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.course-duration,
.course-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(163, 230, 53, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(163, 230, 53, 0.1);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.course-duration::before {
  content: "⏱️";
  font-size: 0.9rem;
}

.course-level::before {
  content: "📊";
  font-size: 0.9rem;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(163, 230, 53, 0.1);
  margin-top: auto;
}

.course-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.course-detail-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #000000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(163, 230, 53, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-detail-btn::after {
  content: "→";
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.course-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(163, 230, 53, 0.35);
}

.course-detail-btn:hover::after {
  transform: translateX(3px);
}

.course-detail-btn:active {
  transform: translateY(0);
}

/* SERVICE CARDS - CLEAN ORGANIZED DESIGN */
.service-full-card {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.98), rgba(10, 10, 10, 0.98));
  border-radius: 20px;
  border: 1px solid rgba(163, 230, 53, 0.1);
  padding: var(--spacing-xl);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out backwards;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(163, 230, 53, 0.05) inset;
}

.service-full-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(163, 230, 53, 0.03), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-full-card:hover {
  transform: translateY(-8px);
  border-color: rgba(163, 230, 53, 0.25);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(163, 230, 53, 0.08),
    0 0 0 1px rgba(163, 230, 53, 0.15) inset;
}

.service-full-card:hover::before {
  opacity: 1;
}

/* Stagger animation for cards */
.service-full-card:nth-child(1) { animation-delay: 0.1s; }
.service-full-card:nth-child(2) { animation-delay: 0.2s; }
.service-full-card:nth-child(3) { animation-delay: 0.3s; }
.service-full-card:nth-child(4) { animation-delay: 0.4s; }
.service-full-card:nth-child(5) { animation-delay: 0.5s; }
.service-full-card:nth-child(6) { animation-delay: 0.6s; }
.service-full-card:nth-child(7) { animation-delay: 0.7s; }
.service-full-card:nth-child(8) { animation-delay: 0.8s; }

/* Card Header with Title and Badge */
.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.service-full-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1.2;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-badge::before {
  content: "✓";
  font-size: 0.9rem;
}

.service-billing {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

/* Includes Section */
.service-includes {
  margin: var(--spacing-lg) 0;
  position: relative;
  z-index: 2;
}

.service-includes h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.service-features-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.service-features-list li:hover {
  color: var(--text-primary);
  padding-left: 8px;
}

/* Icon - Smaller and cleaner */
.service-full-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  transition: transform 0.3s ease;
  display: inline-block;
}

.service-full-card:hover .service-full-icon {
  transform: scale(1.1);
}

/* Price Section */
.service-price-section {
  margin: var(--spacing-lg) 0;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(163, 230, 53, 0.1);
  position: relative;
  z-index: 2;
}

.service-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.service-price-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* CTA Button */
.service-detail-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #000000;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  box-shadow: 0 4px 20px rgba(163, 230, 53, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.service-detail-btn::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.service-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(163, 230, 53, 0.35);
}

.service-detail-btn:hover::after {
  transform: translateX(4px);
}

.service-detail-btn:active {
  transform: translateY(0);
}

/* GALLERY MUSEUM STYLE */
.gallery-museum-section {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: var(--bg-primary);
}

.gallery-museum-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--spacing-lg);
}

.gallery-museum-item {
  position: relative;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.6s ease-out backwards;
}

/* Stagger animation */
.gallery-museum-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-museum-item:nth-child(2) { animation-delay: 0.15s; }
.gallery-museum-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-museum-item:nth-child(4) { animation-delay: 0.25s; }
.gallery-museum-item:nth-child(5) { animation-delay: 0.3s; }
.gallery-museum-item:nth-child(6) { animation-delay: 0.35s; }
.gallery-museum-item:nth-child(7) { animation-delay: 0.4s; }
.gallery-museum-item:nth-child(8) { animation-delay: 0.45s; }
.gallery-museum-item:nth-child(9) { animation-delay: 0.5s; }
.gallery-museum-item:nth-child(10) { animation-delay: 0.55s; }
.gallery-museum-item:nth-child(11) { animation-delay: 0.6s; }
.gallery-museum-item:nth-child(12) { animation-delay: 0.65s; }
.gallery-museum-item:nth-child(13) { animation-delay: 0.7s; }
.gallery-museum-item:nth-child(14) { animation-delay: 0.75s; }

.gallery-museum-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.95), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(163, 230, 53, 0.15);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(163, 230, 53, 0.05);
}

.gallery-museum-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(163, 230, 53, 0.1);
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.5s ease;
}

.gallery-museum-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  filter: grayscale(0.2) contrast(1.1);
}

.gallery-museum-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.gallery-zoom-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(163, 230, 53, 0.9);
  border: 2px solid rgba(163, 230, 53, 1);
  color: #000000;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  box-shadow: 0 4px 20px rgba(163, 230, 53, 0.4);
}

.gallery-museum-frame:hover {
  transform: translateY(-8px);
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(163, 230, 53, 0.15),
    inset 0 0 0 1px rgba(163, 230, 53, 0.2);
}

.gallery-museum-frame:hover::before {
  border-color: rgba(163, 230, 53, 0.3);
}

.gallery-museum-frame:hover img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.15);
}

.gallery-museum-frame:hover .gallery-museum-overlay {
  opacity: 1;
}

.gallery-museum-frame:hover .gallery-zoom-btn {
  transform: scale(1);
}

.gallery-zoom-btn:hover {
  background: rgba(163, 230, 53, 1);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 30px rgba(163, 230, 53, 0.6);
}

.gallery-museum-info {
  padding: var(--spacing-md) 0;
  text-align: center;
}

.gallery-museum-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.gallery-museum-item:hover .gallery-museum-title {
  color: var(--primary);
}

.gallery-museum-year {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-museum-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .gallery-museum-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .gallery-museum-frame {
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 480px) {
  .gallery-museum-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .gallery-museum-frame {
    aspect-ratio: 4 / 5;
  }
}

/* GRID LAYOUTS */
.team-full-container,
.clients-full-grid,
.courses-full-container,
.services-full-container {
  column-count: 4;
  column-gap: 32px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
}
@media (max-width: 1200px) {
  .clients-full-grid, #clientsGrid {
    column-count: 3;
  }
}
@media (max-width: 900px) {
  .clients-full-grid, #clientsGrid {
    column-count: 2;
  }
}
@media (max-width: 600px) {
  .clients-full-grid, #clientsGrid {
    column-count: 1;
  }
}

@media (max-width: 900px) {
  .clients-full-grid, #clientsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .clients-full-grid, #clientsGrid {
    grid-template-columns: 1fr;
  }
}

/* Main Gallery Grid - Compact cards */
.gallery-grid {
  display: block;
  background: #111;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  max-width: 340px;
  width: 100%;
  margin: 0 0 32px 0;
  overflow: hidden;
  border: 1.5px solid rgba(163,230,53,0.13);
  break-inside: avoid;
  padding: 0;
  min-height: unset;
}

/* BIO SECTION - Modificaciones para la imagen prolija */
.bio-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

.bio-image {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.bio-image-large {
  width: 100%;
  max-width: 420px;
  min-width: 320px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(163,230,53,0.10);
  object-fit: cover;
}

.bio-image-secondary {
  width: 100%;
  max-width: 420px;
  min-width: 320px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(163,230,53,0.10);
  object-fit: cover;
}

.bio-content {
  flex: 2 1 480px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bio-block {
  margin-bottom: 1.5rem;
}

.bio-block .bio-highlight {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* TIMELINE - RESTAURADO */
.timeline-section {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: #000000;
}

.timeline-container {
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
}

.timeline {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.timeline-item {
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(15, 15, 15, 0.9) 100%);
  border: 1px solid rgba(163, 230, 53, 0.15);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  min-width: 280px;
  max-width: 380px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  position: relative;
  transition: all 0.4s ease;
}

.timeline-item:hover {
  transform: translateY(-8px);
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow: 0 12px 40px rgba(163, 230, 53, 0.15);
}

.timeline::before {
  display: none;
}

@media (max-width: 900px) {
  .timeline {
    flex-direction: column;
    align-items: center;
  }
  .timeline-item {
    width: 100%;
    max-width: 500px;
  }
}

.timeline-year {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-content {
  flex: 1;
}

.timeline-content h3 {
  color: var(--text-primary);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.timeline-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ACHIEVEMENTS - RESTAURADO */
.achievements-section {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: #000000;
}

.achievements-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.achievements-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Prev/Next buttons for achievements */
.achieve-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(163,230,53,0.2);
  background: linear-gradient(180deg, rgba(10,10,10,0.8), rgba(6,6,8,0.6));
  color: var(--primary);
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

.achieve-btn:hover {
  background: linear-gradient(180deg, rgba(163,230,53,0.15), rgba(163,230,53,0.08));
  border-color: rgba(163,230,53,0.4);
  transform: translateY(-50%) scale(1.1);
}

.achieve-btn.prev { left: -24px; }
.achieve-btn.next { right: -24px; }

@media (max-width: 768px) {
  .achieve-btn { display: none; }
  .achievements-grid {
    flex-direction: column;
    align-items: center;
  }
}

.achievement-card {
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(15, 15, 15, 0.9) 100%);
  border: 1px solid rgba(163, 230, 53, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  color: var(--text-primary);
  padding: 2rem 2.5rem;
  border-radius: 16px;
  text-align: center;
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 280px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  animation: scaleIn 0.6s ease-out;
}

.achievement-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow: 0 16px 48px rgba(163,230,53,0.2);
}

.achievement-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.8rem;
  text-shadow: 0 4px 12px rgba(163, 230, 53, 0.3);
  line-height: 1;
}

.achievement-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

.achievement-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* SKILLS SECTION */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.skill-category {
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(15, 15, 15, 0.8) 100%);
  padding: var(--spacing-lg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
  animation: slideUp 0.8s ease-out;
}

.skill-category:hover {
  border-color: #a3e635;
  box-shadow: 0 20px 60px rgba(163, 230, 53, 0.15);
  transform: translateY(-4px);
}

.skill-category h3 {
  color: #a3e635;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.skill-list {
  list-style: none;
  padding: 0;
}

.skill-list li {
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(163, 230, 53, 0.1);
  transition: all 0.3s ease;
}

.skill-list li:last-child {
  border: none;
}

.skill-list li:hover {
  color: #a3e635;
  padding-left: 8px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: all 0.4s ease;
  animation: scaleIn 0.6s ease-out;
  aspect-ratio: 3 / 2; /* Compact default size for scalability */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Horizontal variant for gallery cards */
.gallery-item.horizontal {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  height: var(--gallery-card-height);
  aspect-ratio: auto;
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(15, 15, 15, 0.8) 100%);
}

.gallery-item.horizontal img {
  flex: 0 0 var(--gallery-thumb-width);
  height: 100%;
  width: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-right: 1px solid var(--card-border);
}

.gallery-item.horizontal .gallery-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0 var(--spacing-sm);
}

.gallery-item.horizontal .gallery-content h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin: 0;
}

.gallery-item.horizontal .gallery-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.gallery-item.horizontal:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(163, 230, 53, 0.15);
}

.gallery-item.horizontal:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(163, 230, 53, 0.2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-md);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1) rotate(1deg);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.gallery-overlay p {
  color: #a3e635;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
}

.gallery-link {
  color: #fff;
  background: rgba(163, 230, 53, 0.2);
  border: 1px solid #a3e635;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gallery-link:hover {
  background: #a3e635;
  color: #0a0e27;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(15, 15, 15, 0.8) 100%);
  padding: var(--spacing-lg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
  animation: scaleIn 0.6s ease-out;
}

.testimonial-card:hover {
  border-color: #a3e635;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.testimonial-text {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.testimonial-author {
  border-top: 1px solid var(--card-border);
  padding-top: var(--spacing-md);
  color: #fff;
}

.testimonial-author strong {
  display: block;
  color: #a3e635;
  margin-bottom: var(--spacing-xs);
}

.testimonial-author span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FILTERS */
.filter-container,
.categories-container {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease-out;
}

.filter-btn,
.category-btn {
  padding: 10px 24px;
  background: rgba(163, 230, 53, 0.1);
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
}

.filter-btn:hover,
.category-btn:hover,
.filter-btn.active,
.category-btn.active {
  background: #a3e635;
  color: #0a0e27;
  border-color: #a3e635;
  transform: scale(1.05);
}

/* RESOURCES */
.resource-full-card {
  background: linear-gradient(135deg, #0a0a0a 0%, rgba(15, 15, 15, 0.85) 100%);
  padding: var(--spacing-lg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  animation: scaleIn 0.6s ease-out;
}

.resource-full-card:hover {
  transform: translateY(-8px);
  border-color: #a3e635;
  box-shadow: var(--shadow-hover);
}

.resource-full-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.resource-full-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  color: #fff;
}

.resource-full-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
}

/* Resources - full width centered cards (like the reference) */
.resources-list {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-lg);
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: var(--spacing-md);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

/* Also support existing HTML structure `.resources-full-container` used in pages/recursos.html */
.resources-full-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  align-items: start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md);
}

.resource-full-card {
  margin: 0;
  padding: var(--spacing-lg);
  border-radius: 14px;
  border: 1px solid rgba(163,230,53,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  background: linear-gradient(180deg, rgba(10,10,10,0.95), rgba(18,18,18,0.95));
}

.resource-full-icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.resource-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 14px 0;
}

.resource-badges .badge {
  background: rgba(163,230,53,0.08);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(163,230,53,0.12);
  font-size: 0.85rem;
}

.resource-download-btn {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #0a0e27;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.resource-download-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-strong);
}

@media (max-width: 768px) {
  .resources-list { flex-direction: column; padding: 0; }
  .resource-full-card { padding: var(--spacing-lg); border-radius: 14px; width: 100%; max-width: 100%; flex: 0 0 auto; }
  .resource-full-icon { font-size: 40px; }
}

@media (max-width: 1024px) {
  .resources-full-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
  }
}

.resource-meta {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-size: 0.85rem;
}

.resource-type,
.resource-size {
  background: rgba(163, 230, 53, 0.1);
  color: #a3e635;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.resource-download-btn {
  background: #a3e635;
  color: #0a0e27;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.resource-download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(163, 230, 53, 0.3);
}

/* MODAL STYLES */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 40px;
  height: 40px;
  background: rgba(163, 230, 53, 0.1);
  border: none;
  border-radius: 8px;
  color: #a3e635;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #a3e635;
  color: #0a0e27;
}

/* Neon framed modal (visual from mock, adapted to site's green) */
.modal {
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.72), rgba(0,0,0,0.88));
  backdrop-filter: blur(8px) saturate(120%);
}

.modal .modal-content {
  background: linear-gradient(180deg, rgba(6,6,8,0.98), rgba(8,8,10,0.92));
  border-radius: 20px;
  padding: var(--spacing-xl);
  max-width: 480px;
  width: 92%;
  position: relative;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 80px var(--primary-glow) inset;
  overflow: visible;
}

.modal .modal-content::before {
  /* outer neon stroke */
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 26px;
  pointer-events: none;
  border: 2px solid rgba(163,230,53,0.14);
  box-shadow: 0 0 48px var(--primary-glow), 0 0 12px rgba(163,230,53,0.06) inset;
  filter: blur(6px);
}

.modal .modal-content::after {
  /* subtle inner highlight strip like the mock */
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  height: 6px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(163,230,53,0.06), rgba(163,230,53,0.02));
  pointer-events: none;
}

/* Service modal header - visual akin to the attached mock but using project colors */
.service-modal-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 12px 16px;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(180deg, rgba(10,10,10,0.6), rgba(8,8,10,0.4));
  border-radius: 14px;
  border: 1px solid rgba(163,230,53,0.06);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 24px rgba(163,230,53,0.03) inset;
}

.service-modal-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 26px;
  background: linear-gradient(180deg, rgba(163,230,53,0.08), rgba(0,0,0,0.12));
  border: 1px solid rgba(163,230,53,0.12);
  color: var(--primary);
}

/* Status pill (e.g., Activated) to mimic the control pill in the mock */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(163,230,53,0.14), rgba(163,230,53,0.06));
  color: #071012;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(163,230,53,0.06), var(--shadow-glow-strong);
  border: 1px solid rgba(163,230,53,0.14);
}

.modal .modal-close {
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: rgba(163,230,53,0.92);
  border: 1px solid rgba(163,230,53,0.12);
  box-shadow: 0 6px 20px rgba(163,230,53,0.04);
}

.modal .modal-close:hover {
  background: linear-gradient(180deg, rgba(163,230,53,0.06), rgba(163,230,53,0.02));
  color: #071012;
  transform: translateY(-2px);
}

/* Make lists and content feel like the mock */
.modal h2, .modal h3 {
  color: var(--text-primary);
}
.modal p, .modal li {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .modal .modal-content { padding: var(--spacing-lg); border-radius: 16px; }
  .modal .modal-close { right: 10px; top: 10px; }
}

/* Services Modal Specific Styling - COMPACT CLEAN DESIGN */
.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

/* Modal Header with Icon and Title */
.service-modal-header-custom {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.service-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(163,230,53,0.15), rgba(163,230,53,0.08));
  border: 1px solid rgba(163,230,53,0.2);
  color: var(--primary);
  flex-shrink: 0;
}

.service-modal-title-section {
  flex: 1;
}

.service-modal-title-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 2px 0;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.service-billing-modal {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.service-badge-modal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.2);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

.service-badge-modal::before {
  content: "✓";
  font-size: 0.8rem;
}

/* Description */
.service-detail-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

/* Includes Section */
.service-detail-features {
  margin: var(--spacing-sm) 0;
}

.service-detail-features h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--spacing-sm) 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-detail-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-detail-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 4px 0;
}

.service-detail-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Price Section in Modal */
.service-price-modal-section {
  margin: var(--spacing-md) 0 var(--spacing-sm) 0;
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(163, 230, 53, 0.1);
}

.service-price-modal {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 2px;
}

.service-price-note-modal {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* CTA Section */
.service-detail-cta {
  margin-top: var(--spacing-sm);
}

.modal-cta {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #000000;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  box-shadow: 0 4px 20px rgba(163, 230, 53, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-cta::after {
  content: "→";
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(163, 230, 53, 0.35);
}

.modal-cta:hover::after {
  transform: translateX(4px);
}

/* Close button more compact and neon-styled on top-right */
.modal .modal-close {
  right: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
  color: var(--primary);
  border: 1px solid rgba(163,230,53,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 20px var(--primary-glow);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.modal .modal-close:hover {
  background: linear-gradient(180deg, rgba(163,230,53,0.06), rgba(163,230,53,0.02));
  color: #071012;
  transform: translateY(-2px);
}

/* Light-card variant (pricing-like card with green footer) */
.modal .modal-content.light-card {
  background: #ffffff;
  color: #0b0b0b;
  border-radius: 18px;
  padding: 28px;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 12px 30px rgba(10,10,12,0.08), 0 8px 20px rgba(16,16,16,0.06);
  border: 1px solid rgba(10,10,12,0.04);
  overflow: hidden;
  padding-bottom: 0; /* CTA bar will sit flush at bottom */
}

.modal .modal-content.light-card .service-detail-content {
  grid-template-columns: 120px 1fr;
  gap: 18px;
}

.modal .modal-content.light-card .service-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  font-size: 30px;
  background: linear-gradient(180deg, rgba(163,230,53,0.08), rgba(163,230,53,0.02));
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(10,10,12,0.06);
  align-self: start;
}

.modal .modal-content.light-card h2,
.modal .modal-content.light-card h3 {
  color: #071012;
}

.modal .modal-content.light-card p,
.modal .modal-content.light-card li {
  color: #4b5563; /* cooler gray for body text */
}

/* Full-width green CTA bar across the bottom like the mock */
.modal .modal-content.light-card .modal-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 18px;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-radius: 0 0 14px 14px;
}

.modal .modal-content.light-card .modal-cta .cta-button {
  display: block;
  width: 100%;
  background: transparent;
  color: #071012;
  font-weight: 800;
  text-align: center;
  padding: 6px 0;
  box-shadow: none;
}

/* Close button for light card: small dark circle with green X */
.modal .modal-content.light-card .modal-close {
  background: rgba(0,0,0,0.06);
  color: var(--primary-dark);
  border: 1px solid rgba(10,10,12,0.04);
}

@media (max-width: 768px) {
  .modal .modal-content.light-card { max-width: 92%; }
  .modal .modal-content.light-card .service-detail-content { grid-template-columns: 1fr; }
  .modal .modal-content.light-card .service-detail-icon { margin: 0 auto; }
  .modal .modal-content.light-card .modal-cta { padding: 14px; }
}

/* Generic card-layout (used by both light and dark variants) */
.modal .modal-content.card-layout {
  padding-bottom: 0; /* CTA bar anchored to bottom */
  overflow: visible;
}

/* Dark, pricing-like card variant (keeps the project's dark/neon palette) */
.modal .modal-content.card-layout.dark-card {
  background: linear-gradient(180deg, rgba(6,6,8,0.98), rgba(8,8,10,0.96));
  color: var(--text-primary);
  border-radius: 18px;
  padding: 28px;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.4) inset;
  border: 1px solid rgba(163,230,53,0.04);
}

.modal .modal-content.card-layout.dark-card .service-detail-content {
  grid-template-columns: 120px 1fr;
  gap: 18px;
}

.modal .modal-content.card-layout.dark-card .service-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  font-size: 30px;
  background: linear-gradient(180deg, rgba(10,10,10,0.6), rgba(6,6,8,0.3));
  color: var(--primary);
  border: 1px solid rgba(163,230,53,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 18px var(--primary-glow) inset;
  align-self: start;
}

.modal .modal-content.card-layout.dark-card h2,
.modal .modal-content.card-layout.dark-card h3 {
  color: var(--text-primary);
}

.modal .modal-content.card-layout.dark-card p,
.modal .modal-content.card-layout.dark-card li {
  color: var(--text-secondary);
}

/* Title row and badge */
.modal .modal-content.card-layout.dark-card .service-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal .modal-content.card-layout.dark-card .card-badge {
  background: rgba(163,230,53,0.12);
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.75rem;
  border: 1px solid rgba(163,230,53,0.12);
}

.modal .modal-content.card-layout.dark-card .service-subtitle {
  margin: 8px 0 12px 0;
  color: rgba(163,230,53,0.28);
  font-size: 0.9rem;
}

.modal .modal-content.card-layout.dark-card .card-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(163,230,53,0.03), rgba(163,230,53,0.02));
  margin: 0 0 16px 0;
}

/* Price block */
.modal .modal-content.card-layout.dark-card .service-price {
  margin-top: 12px;
}

.modal .modal-content.card-layout.dark-card .price-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
}

.modal .modal-content.card-layout.dark-card .price-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Adjust CTA text color on dark background to be readable on green strip */
.modal .modal-content.card-layout.dark-card .modal-cta .cta-button {
  color: #071012;
}

/* Dark footer CTA bar — full width, slightly inset green with rounded bottom */
.modal .modal-content.card-layout.dark-card .modal-cta {
  background: linear-gradient(180deg, rgba(10,10,10,0.02), rgba(0,0,0,0.02));
  padding: 0;
  margin-top: 18px;
  position: relative;
}

.modal .modal-content.card-layout.dark-card .modal-cta::before {
  /* green footer strip */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 -6px 30px rgba(0,0,0,0.4), var(--shadow-glow-strong);
}

.modal .modal-content.card-layout.dark-card .modal-cta .cta-button {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  color: #071012;
  background: transparent;
  font-weight: 800;
  padding: 20px 12px;
  text-align: center;
}

/* Ensure the modal-close sits above the CTA strip */
.modal .modal-content.card-layout.dark-card .modal-close {
  z-index: 5;
}

@media (max-width: 768px) {
  .modal .modal-content.card-layout.dark-card { max-width: 92%; }
  .modal .modal-content.card-layout.dark-card .service-detail-content { grid-template-columns: 1fr; }
  .modal .modal-content.card-layout.dark-card .service-detail-icon { margin: 0 auto; }
  .modal .modal-content.card-layout.dark-card .modal-cta::before { height: 56px; }
}

.service-detail-cta {
  margin-top: var(--spacing-md);
  display: flex;
  justify-content: flex-end;
}

/* Modal entrance polish */
.modal-content {
  transform-origin: center;
  animation: scaleIn 0.36s cubic-bezier(.2,.9,.2,1);
}

@media (max-width: 768px) {
  .service-detail-content { grid-template-columns: 1fr; grid-template-rows: auto; }
  .service-detail-cta { justify-content: center; }
  .modal-content.large { padding: var(--spacing-lg); width: 94%; }
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes revealSection {
  from {
    opacity: 0;
    transform: scale(0.8) translateZ(-100px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateZ(0);
  }
}

/* Common animation moved here so other CSS files don't duplicate definitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
  }
}

/* Additional reveal helpers for more animation types */
.reveal {
  opacity: 0;
  transform-origin: center;
  will-change: transform, opacity;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.9,.2,1);
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal.fade-left { transform: translateX(-30px); }
.reveal.fade-right { transform: translateX(30px); }
.reveal.fade-up { transform: translateY(30px); }
.reveal.fade-down { transform: translateY(-30px); }
.reveal.zoom { transform: scale(0.92); }

/* Floating/oscillation animation for small decorative elements */
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.float { animation: floaty 4s ease-in-out infinite; }

/* Pulse / glow for accents */
@keyframes glowPulse {
  from { box-shadow: 0 6px 20px rgba(163,230,53,0.06); }
  to { box-shadow: 0 30px 90px rgba(163,230,53,0.18); }
}
.glow-pulse { animation: glowPulse 2.5s ease-in-out infinite alternate; }

/* Slight parallax translation for layered backgrounds */
.parallax-1 { transform: translateZ(0) translateY(-4px); transition: transform 0.8s ease; }
.parallax-2 { transform: translateZ(0) translateY(-8px); transition: transform 0.8s ease; }

/* Nav underline animation */
.nav-menu .nav-link { position: relative; overflow: visible; }
.nav-menu .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(163,230,53,1), rgba(163,230,53,0.7));
  border-radius: 3px;
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(.2,.9,.2,1);
}
.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after { width: 46%; }

@keyframes expandSectionContent {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 1000px;
    opacity: 1;
  }
}

/* RESPONSIVE - MODIFICADO */
@media (max-width: 1200px) {
  .page-header {
    padding: 100px var(--spacing-md) 50px;
  }
}

/* MODIFICACIÓN CLAVE: El apilamiento (vertical) de la sección "Sobre Mí" 
   ahora se activa en 992px, lo que la mantiene "lado a lado" por más tiempo. */
@media (max-width: 992px) { 
  .bio-container {
    /* Cambia a 1 columna para tablets verticales y móviles grandes */
    grid-template-columns: 1fr; 
    gap: var(--spacing-lg);
  }

  .bio-image {
    /* Mueve la imagen arriba del texto al apilarse (buena práctica en móvil) */
    order: -1; 
    max-width: 300px; /* Un poco más pequeña en estos dispositivos */
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 80px var(--spacing-md) 40px;
  }

  .page-title {
    font-size: 2rem;
  }

  /* Se elimina la regla de .bio-container ya que se gestiona en el breakpoint de 992px */

  .timeline::before {
    left: 0;
    width: 1px;
  }

  .timeline-item {
    flex-direction: column !important;
    margin-left: var(--spacing-lg); 
  }

  .team-full-container,
  .clients-full-grid,
  .courses-full-container,
  .services-full-container {
    grid-template-columns: 1fr;
  }

  .achievements-grid,
  .skills-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .page-header {
    padding: 60px var(--spacing-sm) 30px;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }
}

/* ========================================
   CORPORATE EVENT GALLERY STYLES
   ======================================== */

.corporate-event-grid {
  column-count: 4;
  column-gap: 32px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
}
.corporate-event-item {
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  animation: fadeInUp 0.6s ease-out backwards;
}

.corporate-event-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(163, 230, 53, 0.1);
  border-radius: 16px;
  z-index: 2;
  transition: border-color 0.4s ease;
}

.corporate-event-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(163, 230, 53, 0.15);
}

.corporate-event-item:hover::before {
  border-color: rgba(163, 230, 53, 0.4);
}

.corporate-event-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: grayscale(0.1) contrast(1.05);
}

.corporate-event-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0) contrast(1.1);
}

/* Stagger animation for corporate event items */
.corporate-event-item:nth-child(1) { animation-delay: 0.05s; }
.corporate-event-item:nth-child(2) { animation-delay: 0.08s; }
.corporate-event-item:nth-child(3) { animation-delay: 0.11s; }
.corporate-event-item:nth-child(4) { animation-delay: 0.14s; }
.corporate-event-item:nth-child(5) { animation-delay: 0.17s; }
.corporate-event-item:nth-child(6) { animation-delay: 0.20s; }
.corporate-event-item:nth-child(7) { animation-delay: 0.23s; }
.corporate-event-item:nth-child(8) { animation-delay: 0.26s; }
.corporate-event-item:nth-child(9) { animation-delay: 0.29s; }
.corporate-event-item:nth-child(10) { animation-delay: 0.32s; }
.corporate-event-item:nth-child(11) { animation-delay: 0.35s; }
.corporate-event-item:nth-child(12) { animation-delay: 0.38s; }
.corporate-event-item:nth-child(13) { animation-delay: 0.41s; }
.corporate-event-item:nth-child(14) { animation-delay: 0.44s; }
.corporate-event-item:nth-child(15) { animation-delay: 0.47s; }
.corporate-event-item:nth-child(16) { animation-delay: 0.50s; }
.corporate-event-item:nth-child(17) { animation-delay: 0.53s; }
.corporate-event-item:nth-child(18) { animation-delay: 0.56s; }
.corporate-event-item:nth-child(19) { animation-delay: 0.59s; }
.corporate-event-item:nth-child(20) { animation-delay: 0.62s; }
.corporate-event-item:nth-child(21) { animation-delay: 0.65s; }
.corporate-event-item:nth-child(22) { animation-delay: 0.68s; }
.corporate-event-item:nth-child(23) { animation-delay: 0.71s; }
.corporate-event-item:nth-child(24) { animation-delay: 0.74s; }
.corporate-event-item:nth-child(25) { animation-delay: 0.77s; }
.corporate-event-item:nth-child(26) { animation-delay: 0.80s; }
.corporate-event-item:nth-child(27) { animation-delay: 0.83s; }
.corporate-event-item:nth-child(28) { animation-delay: 0.86s; }
.corporate-event-item:nth-child(29) { animation-delay: 0.89s; }
.corporate-event-item:nth-child(30) { animation-delay: 0.92s; }
.corporate-event-item:nth-child(31) { animation-delay: 0.95s; }
.corporate-event-item:nth-child(32) { animation-delay: 0.98s; }
.corporate-event-item:nth-child(33) { animation-delay: 1.01s; }
.corporate-event-item:nth-child(34) { animation-delay: 1.04s; }
.corporate-event-item:nth-child(35) { animation-delay: 1.07s; }
.corporate-event-item:nth-child(36) { animation-delay: 1.10s; }
.corporate-event-item:nth-child(37) { animation-delay: 1.13s; }
.corporate-event-item:nth-child(38) { animation-delay: 1.16s; }
.corporate-event-item:nth-child(39) { animation-delay: 1.19s; }
.corporate-event-item:nth-child(40) { animation-delay: 1.22s; }
.corporate-event-item:nth-child(41) { animation-delay: 1.25s; }
.corporate-event-item:nth-child(42) { animation-delay: 1.28s; }
.corporate-event-item:nth-child(43) { animation-delay: 1.31s; }
.corporate-event-item:nth-child(44) { animation-delay: 1.34s; }
.corporate-event-item:nth-child(45) { animation-delay: 1.37s; }
.corporate-event-item:nth-child(46) { animation-delay: 1.40s; }

/* Overlay styling for corporate event */
.corporate-event-item .gallery-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-md);
  opacity: 0;
  transition: all 0.4s ease;
}

.corporate-event-item:hover .gallery-overlay {
  opacity: 1;
}

.corporate-event-item .gallery-overlay h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.corporate-event-item:hover .gallery-overlay h3 {
  transform: translateY(0);
}

.corporate-event-item .gallery-overlay p {
  color: #a3e635;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.05s;
}

.corporate-event-item:hover .gallery-overlay p {
  transform: translateY(0);
}

/* Responsive adjustments for corporate event gallery */
@media (max-width: 1024px) {
  .corporate-event-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .corporate-event-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
  
  .corporate-event-item {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }
  
  .corporate-event-item::before {
    border-radius: 12px;
  }
  
  .corporate-event-item .gallery-overlay h3 {
    font-size: 1rem;
  }
  
  .corporate-event-item .gallery-overlay p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .corporate-event-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .corporate-event-item {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
}

/* Resaltar frases clave en la biografía */
.bio-highlight {
    color: var(--primary);
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(90deg, var(--primary-glow) 60%, transparent 100%);
    padding: 2px 4px;
    border-radius: 4px;
}

/* NUEVOS ESTILOS PARA GESTIÓN DE REDES SOCIALES */
.service-rrss-horizontal {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 2.5rem 2rem;
}
.service-rrss-horizontal .service-full-icon {
  justify-content: center;
  margin-bottom: 0.5rem;
}
.service-rrss-horizontal h3 {
  text-align: center;
  margin-bottom: 0.5rem;
}
.service-rrss-horizontal p {
  text-align: center;
  margin-bottom: 1.2rem;
}
.service-plans-cards-horizontal {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.plan-card {
  background: var(--card-bg);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 1.2rem 1.2rem 1.2rem 1.2rem;
  min-width: 180px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 12px rgba(163,230,53,0.08);
}
.plan-card h4 {
  margin: 0.5rem 0 0.3rem 0;
  font-size: 1.1rem;
  color: var(--primary);
}
.plan-card p {
  text-align: center;
  font-size: 0.98rem;
  color: var(--text-secondary);
}
@media (max-width: 900px) {
  .service-plans-cards-horizontal {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .plan-card {
    min-width: 90vw;
    max-width: 98vw;
  }
}

/* ========================================
   EVENT LIGHTBOX STYLES
   ======================================== */

.event-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.event-lightbox.active {
  display: flex;
}

.event-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.3);
  border-radius: 50%;
  color: #a3e635;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.event-lightbox-close:hover {
  background: #a3e635;
  color: #000;
  transform: rotate(90deg);
}

.event-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.2);
  border-radius: 50%;
  color: #a3e635;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.event-lightbox-nav:hover {
  background: rgba(163, 230, 53, 0.3);
  border-color: #a3e635;
}

.event-lightbox-prev {
  left: 30px;
}

.event-lightbox-next {
  right: 30px;
}

.event-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 85vh;
}

.event-lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  animation: scaleIn 0.3s ease;
}

.event-lightbox-counter {
  margin-top: 15px;
  color: #a3e635;
  font-size: 1rem;
  font-weight: 500;
}

/* Responsive for lightbox */
@media (max-width: 768px) {
  .event-lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .event-lightbox-prev {
    left: 10px;
  }
  
  .event-lightbox-next {
    right: 10px;
  }
  
  .event-lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .event-lightbox-content img {
    max-height: 70vh;
  }
}

/* ========================================
   PAGE HEADER WITH LOGOS STYLES
   ======================================== */

.page-header-with-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.page-header-text {
  flex: 1;
  max-width: 800px;
}

.page-header-logo {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: brightness(1.1);
  flex-shrink: 0;
}

.page-header-logo:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: brightness(1.2);
}

.page-header-logo-left {
  max-width: 180px;
}

.page-header-logo-right {
  max-width: 220px;
}

/* Responsive for page header with logos */
@media (max-width: 1024px) {
  .page-header-with-logos {
    gap: 2rem;
  }
  
  .page-header-logo {
    max-height: 80px;
  }
  
  .page-header-logo-left {
    max-width: 150px;
  }
  
  .page-header-logo-right {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .page-header-with-logos {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .page-header-logo {
    max-height: 70px;
  }
  
  .page-header-logo-left,
  .page-header-logo-right {
    max-width: 160px;
  }
  
  .page-header-text {
    order: 2;
  }
  
  .page-header-logo-left {
    order: 1;
  }
  
  .page-header-logo-right {
    order: 3;
  }
}

@media (max-width: 480px) {
  .page-header-logo {
    max-height: 60px;
  }
  
  .page-header-logo-left,
  .page-header-logo-right {
    max-width: 140px;
  }
}
