/* ========================================
   EXPERIENCE SECTION - INTERACTIVE TABS
======================================== */

.experience-section {
  padding: 8rem 0;
  background: var(--negro);
  position: relative;
}

.experience-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom,
    #f9f7f4 0%,
    #e5e3df 12%,
    #d1cfcb 24%,
    #bebcb8 36%,
    #aaa8a4 48%,
    #979590 60%,
    #83817c 72%,
    #706e69 84%,
    #5c5a55 92%,
    #1a1a1a 100%
  );
  pointer-events: none;
  z-index: 1;
}

.experience-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Hero Header */
.experience-hero {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.experience-number {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(212, 175, 55, 0.05);
  line-height: 1;
  pointer-events: none;
}

.experience-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  color: var(--blanco);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.experience-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Tabs Navigation */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  padding: 1rem 2rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.3px;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--dorado);
  transition: width 0.3s ease;
}

.tab-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active {
  color: var(--dorado);
}

.tab-btn.active::after {
  width: 100%;
}

/* Tab Content */
.tabs-content {
  position: relative;
  min-height: 600px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-panel.active {
  display: block;
}

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

/* Tab Content Layout */
.tab-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tab-image {
  position: relative;
}

.tab-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.tab-image:hover img {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.tab-text {
  padding: 2rem;
}

.tab-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--dorado);
  border-radius: 50px;
  color: var(--dorado);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.tab-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.tab-text p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tab-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 3px solid var(--dorado);
}

.feature-item span {
  font-size: 1.5rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
  .tab-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tab-image {
    order: -1;
  }

  .tabs-nav {
    gap: 0.5rem;
  }

  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .experience-section::before {
    top: -150px;
    height: 150px;
  }

  .experience-section {
    padding: 5rem 0;
  }

  .experience-hero {
    margin-bottom: 3rem;
  }

  .experience-number {
    font-size: 6rem;
  }

  .tabs-content {
    min-height: auto;
  }

  .tab-text {
    padding: 1rem;
  }

  .tab-features {
    grid-template-columns: 1fr;
  }
}
