/* Base Styles */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Inter', sans-serif;
  color: white;
  overflow-x: hidden;
}

/* Main Container */
.main-container {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Background */
.background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Content */
.content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

/* Header */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1rem;
  padding-top: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  position: relative;
}

.logo-link {
  display: block;
  width: 150px;
  height: auto;
  flex-shrink: 0;
  z-index: 20;
  transition: opacity 0.3s ease;
}

.logo-image {
  width: 80%;
  height: auto;
}

/* Navigation */
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 12px 24px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 35px;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.nav-link {
  font-size: 1.1rem;
  color: white;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.35);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
  position: fixed;
  right: 2rem;
  top: 3.5rem;
  z-index: 1000;
}

.social-link {
  color: grey;
  transition: all 0.3s ease;
  padding: 0.5rem;
  display: flex;
}

.social-link:hover {
  color: #4fd1c5;
  transform: scale(1.15);
}

.icon {
  width: 30px;
  height: 30px;
}

/* Hero Section */
.hero-title {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 8rem;
  max-width: 1000px;
}

.title-line {
  display: block;
}

.title-line-1 { opacity: 0.95;padding-left: 12rem; }
.title-line-2 { opacity: 0.8; padding-left: 12rem; }
.title-line-3 { opacity: 0.6; padding-left: 12rem; }
.title-line-4 { opacity: 0.4; padding-left: 12rem; }

/* Experience Section */
.experience-section {
  position: relative;
  background: #000;
  border-radius: 30px;
  margin: -20px 20px 0;
  padding: 60px 40px;
  z-index: 5;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.experience-container {
  max-width: 1200px;
  margin: 0 auto;
  color: white;
}

.experience-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #4fd1c5;
}

.subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  width: 100%;
}

.stat-col {
  display: flex;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(79, 209, 197, 0.3);
}

.stat-number {
  display: block;
  font-size: 6rem;
  font-weight: 700;
  color: #4fd1c5;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  display: block;
}

/* Solutions Section */
.solutions-section {
  margin-top: 60px;
}

.solutions-section h3 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  text-align: center;
  color: #4fd1c5;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 30px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.solution-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.solution-logo {
  width: auto;
  height: 60px;
  margin-bottom: 15px;
  object-position: center;
}

.solution-card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: #4fd1c5;
  text-decoration: none;
  font-weight: 600;
}

.solution-link::after {
  content: '→';
  margin-left: 8px;
  transition: margin 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-10px);
  border-color: rgba(79, 209, 197, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


/* Sección Metodología */
.methodology-section {
  position: relative;
  background: white;
  color: #2d3748;
  padding: 80px 20px;
  margin-top: -50px;
  z-index: 4;
}

.methodology-container {
  max-width: 1200px;
  margin: 0 auto;
}

.methodology-header {
  text-align: center;
  margin-bottom: 50px;
}

.methodology-header h2 {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 1rem;
}

.methodology-subtitle {
  font-size: 1.1rem;
  color: #718096;
  max-width: 800px;
  margin: 0 auto;
}

/* Acordeones */
.accordion-item {
  border: 2px solid #4fd1c5;
  border-radius: 12px;
  margin-bottom: 20px;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  padding: 25px 50px 25px 25px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.accordion-header::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid rgba(79, 209, 197, 0.3);
  transition: transform 0.3s ease;
}

.accordion-header:hover {
  background: rgba(79, 209, 197, 0.05);
}

.accordion-header:hover::after {
  border-top-color: rgba(79, 209, 197, 0.6);
}

.accordion-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(79, 209, 197, 0.1);
  border-radius: 8px;
}

.accordion-header h3 {
  font-size: 1.2rem;
  color: #2d3748;
  text-align: left;
  margin: 0;
}

.accordion-content {
  display: none;
  padding: 0 25px 25px;
  border-top: 2px solid rgba(79, 209, 197, 0.1);
  margin-top: -2px;
  animation: fadeIn 0.3s ease;
}

.accordion-content p {
  color: #4a5568;
  margin-bottom: 15px;
}

.resultado {
  background: #f7fafc;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #4fd1c5;
  font-size: 0.95rem;
}

.accordion-item.active {
  border-color: #4fd1c5;
  box-shadow: 0 10px 15px -3px rgba(79, 209, 197, 0.1);
}

.accordion-item.active .accordion-header::after {
  transform: translateY(-50%) rotate(180deg);
  border-top-color: #4fd1c5;
}

.accordion-item.active .accordion-icon {
  background: #4fd1c5;
}

.accordion-item.active .accordion-icon svg {
  stroke: white;
}

.accordion-item.active .accordion-content {
  display: block;
}

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

/* Sección CIGE  */
.cige-section {
  position: relative;
  background: #000;
  border-radius: 30px;
  margin: -20px 20px 0;
  padding: 60px 40px;
  z-index: 5;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cige-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cige-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
}

.cige-logo {
  position: relative;
  padding: 10px;
  margin-top: 5px;
}

.cige-svg {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
}

.cige-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
}

.cige-text strong {
  color: #4fd1c5;
  font-weight: 600;
  display: inline-block;
  margin: 0.3em 0;
}

/* Sección Contacto */
.contact-section {
  background: white;
  padding: 60px 20px 30px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-title {
  font-size: 4rem;
  color: #000;
  margin-bottom: 40px;
  text-align: left;
}

.contact-columns {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 40px;
  align-items: start;
}

.contact-divider {
  background: #000;
  height: 100%;
  width: 2px;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 30px;
}

/* Botón Contactar */
.contact-button {
  background: transparent;
  color: #4fd1c5;
  border: 2px solid #4fd1c5;
  padding: 18px 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.contact-button:hover {
  background: #4fd1c5;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 209, 197, 0.3);
}

/* Iconos */
.contact-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  stroke: #4fd1c5; /* Color verde turquesa */
}

.contact-phone {
  font-size: 1.4rem;
  color: #000;
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-location {
  font-size: 1.1rem;
  color: #000;
  margin: 5px 0;
}

.contact-label {
  color: #666;
  font-size: 0.9rem;
}

.contact-footer {
  border-top: 2px solid #000;
  margin-top: 40px;
  padding-top: 20px;
}

.copyright {
  color: #666;
  font-size: 0.9rem;
}



/* Responsive Styles */
@media (max-width: 1024px) {
  .solution-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 5rem;
  }
  
  .nav-list {
    padding: 10px;
    gap: 1rem;
    border-radius: 25px;
  }
  
  .hero-title {
    font-size: 2.8rem;
    margin-top: 4rem;
  }
  
  .stats-grid,
  .solution-cards {
    grid-template-columns: 1fr;
  }
  
  .experience-section {
    margin: -20px 15px 0;
    padding: 40px 20px;
  }
  
  .solution-header {
    flex-direction: column;
    text-align: center;
  }
  
  .solution-logo {
    margin-bottom: 10px;
  }

  .cige-section {
    padding: 60px 0;
  }
  
  .cige-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cige-logo {
    max-width: 150px;
    margin: 0 auto;
  }
  
  .cige-text {
    font-size: 0.95rem;
    text-align: center;
  }
  
  .cige-text strong {
    display: inline;
  }

  .contact-title {
    font-size: 2.5rem;
  }
  
  .contact-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-divider {
    width: 100%;
    height: 2px;
  }
  
  .contact-button {
    width: 100%;
  }
  
  .contact-phone {
    font-size: 1.2rem;
  }
}