/* ===================================
   HERO SECTION CON CARRUSEL
   =================================== */
.product-hero {
  position: relative;
  padding: 100px 0 70px;
  overflow: hidden;
  height: 450px;
  min-height: 450px;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.75) 0%, rgba(22, 33, 62, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.product-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.15) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.product-hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.product-hero h1 {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.product-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}


/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
  padding: 60px 0;
  background: #f8f9fa;
}

/* ===================================
   ABOUT PANEL - HISTORIA
   =================================== */
.about-panel {
  position: relative;
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 60px;
  overflow: hidden;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.527) 0%, rgba(22, 33, 62, 0.336) 100%);
  z-index: 1;
}

.about-intro {
  position: relative;
  z-index: 2;
}

.about-intro h2 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.separator-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8a2be2, #4b0082);
  margin: 0 auto 35px;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(138, 43, 226, 0.5);
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}

.about-text {
  background: rgba(255, 255, 255, 0.459);
  backdrop-filter: blur(5px);
  padding: 28px;
  border-radius: 15px;
  border: 2px solid rgba(138, 43, 226, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.about-text:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(138, 43, 226, 0.3);
}

.about-description {
  color: #000000;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 15px;
}

.about-description:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.336);
  backdrop-filter: blur(0px);
  padding: 25px;
  border-radius: 15px;
  border: 2px solid rgba(138, 43, 226, 0.2);
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.highlight-item:hover {
  background: rgba(255, 255, 255, 0.938);
  transform: translateX(8px);
  box-shadow: 0 12px 40px rgba(138, 43, 226, 0.3);
  border-color: #8a2be2;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  border-radius: 50%;
  margin-bottom: 15px;
  position: relative;
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

.highlight-icon::before {
  content: '🎯';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
}

.vision-icon::before {
  content: '🚀';
}

.highlight-item h3 {
  color: #1a1a2e;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.highlight-item p {
  color: #000000;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===================================
   FOUNDERS SECTION
   =================================== */
.founders-section {
  margin-bottom: 60px;
}

.section-title {
  color: #1a1a2e;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 35px;
}

.founder-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  display: grid;
  grid-template-rows: 400px 1fr;
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(138, 43, 226, 0.2);
}

.founder-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #8a2be2, #4b0082);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.founder-card:hover .founder-image img {
  transform: scale(1.1);
}

.founder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}

.founder-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.founder-header h3 {
  color: #1a1a2e;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.founder-title {
  color: #8a2be2;
  font-size: 1rem;
  font-weight: 600;
}

.founder-description {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.founder-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.expertise-tag {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
  color: #7b1fa2;
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.expertise-tag:hover {
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  color: white;
  transform: translateY(-2px);
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
  margin: 60px 0;
  position: relative;
}

.stats-container {
  max-width: 800px;
  margin: 0 auto;
}

.stats-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  padding: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.stats-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
}

.stats-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  position: relative;
  z-index: 1;
}

.stats-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.stats-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
}

.stats-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.experience-icon::before {
  content: '⏱️';
}

.companies-icon::before {
  content: '🏢';
}

.stats-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 12px;
}

.stats-currency,
.stats-prefix {
  color: #8a2be2;
  font-size: 2rem;
  font-weight: 700;
}

.counter {
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.stats-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.stats-decorators {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.stats-decorator-circle {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 180px;
  height: 180px;
  border: 2px solid rgba(138, 43, 226, 0.2);
  border-radius: 50%;
}

.stats-decorator-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(138, 43, 226, 0.3), transparent);
  transform: translate(-50%, -50%);
}

/* ===================================
   VALUES SECTION CON CARRUSEL
   =================================== */
.values-section-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 600px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  margin-top: 60px;
}

.values-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(26, 26, 46, 0.1) 0%,
    rgba(26, 26, 46, 0.2) 50%,
    rgba(26, 26, 46, 0.9) 100%
  );
  z-index: 1;
}

.values-header {
  position: relative;
  z-index: 2;
  padding: 40px 50px 25px;
  text-align: center;
}

.section-title-white {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.separator-line-white {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8a2be2, #4b0082);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(138, 43, 226, 0.5);
}

.values-carousel-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 0 100px;
  margin-top: auto;
  padding-bottom: 40px;
}

.values-carousel {
  flex: 1;
  overflow: hidden;
  padding: 15px 0;
}

.values-carousel-track {
  position: relative;
  width: 100%;
}

.values-slide {
  display: none;
  gap: 25px;
  animation: fadeIn 0.5s ease;
}

.values-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.value-card-carousel {
  background: rgba(255, 255, 255, 0.555);
  backdrop-filter: blur(20px);
  padding: 30px 28px;
  border-radius: 18px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid rgba(138, 43, 226, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  min-height: 180px;
}

.value-card-carousel.empty-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.value-card-carousel:hover {
  transform: translateY(-8px);
  border-color: #8a2be2;
  box-shadow: 0 15px 50px rgba(138, 43, 226, 0.4);
  background: rgba(255, 255, 255, 0.664);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.2);
}

.value-card-carousel:hover .value-icon {
  transform: scale(1.1) rotate(10deg);
}

.transparency-icon::before {
  content: '💎';
}

.integrity-icon::before {
  content: '🤝';
}

.innovation-icon::before {
  content: '💡';
}

.trust-icon::before {
  content: '🛡️';
}

.service-icon::before {
  content: '⭐';
}

.value-card-carousel h3 {
  color: #1a1a2e;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card-carousel p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.values-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.values-carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(138, 43, 226, 0.6);
}

.values-carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: 25px;
}

.next-btn {
  right: 25px;
}

.values-carousel-indicators {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-bottom: 30px;
}

.indicator {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.indicator.active {
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  width: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(138, 43, 226, 0.6);
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in-element {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

.from-left {
  transform: translateX(-40px);
}

.from-left.visible {
  transform: translateX(0);
}

.from-right {
  transform: translateX(40px);
}

.from-right.visible {
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

/* Counter Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter {
  animation: countUp 0.8s ease;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
  .product-hero {
    height: 420px;
    min-height: 420px;
  }
  
  .about-content-grid {
    gap: 20px;
  }
  
  .founders-grid {
    gap: 35px;
  }
  
  .values-section-wrapper {
    min-height: 550px;
  }
  
  .values-carousel-container {
    padding: 0 85px;
  }
}

@media (max-width: 992px) {
  .product-hero {
    height: 380px;
    min-height: 380px;
    padding: 90px 0 60px;
  }
  
  .product-hero h1 {
    font-size: 2.5rem;
  }
  
  .product-subtitle {
    font-size: 1.1rem;
  }
  
  .about-panel {
    min-height: 550px;
  }
  
  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .about-panel {
    padding: 35px;
  }
  
  .stats-items {
    gap: 35px;
  }
  
  .values-section-wrapper {
    min-height: 650px;
  }
  
  .values-carousel-container {
    padding: 0 70px;
  }
  
  .values-slide.active {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .value-card-carousel {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 80px 0 60px;
    height: 350px;
    min-height: 350px;
  }
  
  .product-hero h1 {
    font-size: 2rem;
  }
  
  .product-subtitle {
    font-size: 1rem;
  }
  
  .about-panel {
    padding: 25px 18px;
    min-height: 500px;
  }
  
  .about-intro h2,
  .section-title {
    font-size: 1.7rem;
  }
  
  .about-text,
  .highlight-item {
    padding: 20px;
  }
  
  .stats-items {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .stats-card {
    padding: 35px 25px;
  }
  
  .counter {
    font-size: 2.8rem;
  }
  
  .founder-card {
    grid-template-rows: 350px 1fr;
  }
  
  .values-section-wrapper {
    min-height: 550px;
  }
  
  .values-header {
    padding: 35px 25px 20px;
  }
  
  .section-title-white {
    font-size: 1.7rem;
  }
  
  .values-carousel-container {
    padding: 0 60px;
    padding-bottom: 35px;
  }
  
  .values-carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .prev-btn {
    left: 12px;
  }
  
  .next-btn {
    right: 12px;
  }
  
  .value-card-carousel {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .product-hero {
    height: 320px;
    min-height: 320px;
    padding: 70px 0 50px;
  }
  
  .product-hero h1 {
    font-size: 1.7rem;
  }
  
  .product-subtitle {
    font-size: 0.95rem;
  }
  
  .about-panel {
    min-height: 480px;
  }
  
  .about-text,
  .highlight-item {
    padding: 18px;
  }
  
  .founder-info {
    padding: 22px;
  }
  
  .founder-header h3 {
    font-size: 1.3rem;
  }
  
  .stats-card {
    padding: 28px 18px;
  }
  
  .counter {
    font-size: 2.3rem;
  }
  
  .values-section-wrapper {
    min-height: 500px;
  }
  
  .values-header {
    padding: 28px 18px 18px;
  }
  
  .section-title-white {
    font-size: 1.5rem;
  }
  
  .values-carousel-container {
    padding: 0 55px;
    padding-bottom: 28px;
  }
  
  .values-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  
  .value-card-carousel {
    padding: 22px 18px;
  }
}