.hero .image-card.card-1 {
  top: 40px;
  left: 0;
  z-index: 2;
  animation: none;
  transform: none;
}

.hero .image-card.card-2 {
  top: 0;
  right: 0;
  left: auto;
  z-index: 1;
  animation: none;
  transform: none;
}

.hero .image-card.card-2 .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.features {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  transition: var(--transition);
  animation: slideUp 0.6s ease-out;
}

.feature-card:hover {
  box-shadow: 0 16px 32px rgba(44, 82, 130, 0.12);
  transform: translateY(-8px);
  border-color: var(--secondary-color);
}

.feature-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  color: #4a5568;
  line-height: 1.6;
  font-size: 0.95rem;
}

.slides-title {
  text-align: center;
  padding-top: 40px;
  margin-bottom: 0;
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.slides-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.slides-title p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 25px;
}

.sliders {
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f9fafb;
  padding: 0 0 50px 0;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}

.slider-wrapper::before,
.slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f9fafb, transparent);
}

.slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f9fafb, transparent);
}

.slider-inner {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 15px;
}

.slider-track {
  display: flex;
  gap: 40px;
  animation: scroll 45s linear infinite;
  width: max-content;
}

.company-item:hover~.slider-track,
.company-item:hover {
  animation-play-state: paused;
}

.slider-track:has(.company-item:hover) {
  animation-play-state: paused;
}

.company-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.company-item:hover {
  transform: translateY(-4px);
}

.logo-container {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.company-item:hover .logo-container {
  box-shadow: 0 12px 32px rgba(255, 140, 66, 0.3);
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.company-item:hover .logo-container img {
  filter: grayscale(0%);
}

.company-name {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% / 3));
  }
}

.impact-section {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
}

.impact-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  z-index: 0;
}

.impact-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
  opacity: 0.4;
}

.impact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
}

.impact-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.impact-header {
  text-align: center;
  margin-bottom: 60px;
}

.impact-title {
  font-size: 42px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.impact-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.impact-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.impact-card:hover::before {
  transform: scaleX(1);
}

.impact-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 140, 66, 0.3);
}

.impact-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
  transition: all 0.3s ease;
}

.impact-card:hover .impact-icon-wrapper {
  transform: rotateY(360deg);
  box-shadow: 0 15px 40px rgba(255, 140, 66, 0.4);
}

.impact-icon {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.impact-content {
  color: var(--text-color);
}

.impact-number {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.impact-number::after {
  content: '+';
  color: var(--secondary-color);
}

.impact-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.impact-description {
  font-size: 14px;
  color: #718096;
  line-height: 1.5;
}

.impact-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 30px 40px;
  flex-wrap: wrap;
}

.metric-item {
  text-align: center;
  color: white;
}

.metric-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-light);
  margin-bottom: 8px;
}

.metric-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-section {
  padding: 80px 20px;
  background: #f9fafb;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.process-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.process-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 60px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
}

.process-step {
  position: relative;
  text-align: left;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(44, 82, 130, 0.15);
}

.step-number {
  font-size: 64px;
  font-weight: 900;
  color: #2c5282;
  opacity: 0.15;
  margin-bottom: 10px;
  line-height: 1;
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  opacity: 0.25;
  transform: scale(1.05);
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
}

/* SECCIÓN DE ESPECIALIZACIÓN */
.specialization-section {
  padding: 80px 20px;
  background: white;
}

.specialization-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.spec-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.spec-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 60px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.spec-card {
  background: #f9fafb;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: left;
  transition: all 0.3s ease;
}

.spec-card:hover {
  background: white;
  border-color: var(--secondary-color);
  box-shadow: 0 16px 32px rgba(255, 140, 66, 0.15);
  transform: translateY(-8px);
}

.spec-icon {
  margin-bottom: 20px;
  display: inline-flex;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 140, 66, 0.1);
  transition: all 0.3s ease;
}

.spec-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--secondary-color);
  transition: all 0.3s ease;
}

.spec-card:hover .spec-icon {
  background: var(--secondary-color);
  transform: scale(1.1) rotate(5deg);
}

.spec-card:hover .spec-icon svg {
  stroke: white;
}

.spec-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.spec-card p {
  font-size: 15px;
  color: #718096;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.spec-list li {
  font-size: 14px;
  color: #4b5563;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.spec-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.cta-final-section {
  background-image: url('../img/call_bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-final-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.85);
  /* Dark overlay for contrast */
  z-index: -1;
}

.cta-final-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.cta-final-content {
  flex: 1;
  color: white;
}

.cta-final-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.8),
    0 0 15px var(--secondary-color),
    0 0 30px var(--secondary-color);
}

.cta-final-content p {
  font-size: 18px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(44, 82, 130, 0.6);
}

.cta-final-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.cta-final-image {
  flex: 0 0 400px;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.2) 0%, rgba(255, 167, 66, 0.1) 100%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255, 140, 66, 0.3);
  z-index: 1;
}

.cta-illustration {
  position: relative;
  z-index: 2;
  width: 110%;
  height: auto;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  border-radius: 24px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
    box-shadow: 0 0 30px rgba(255, 140, 66, 0.3);
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
    box-shadow: 0 0 50px rgba(255, 140, 66, 0.6);
  }
}

/* SECCIÓN ¿POR QUÉ ELEGIRNOS? */
.why-choose-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5c 100%);
  position: relative;
  overflow: hidden;
}

.why-choose-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-choose-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 50px;
  font-weight: 700;
  line-height: 1.2;
}

.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.why-choose-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.why-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.why-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(255, 140, 66, 0.3);
}

.why-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

.why-icon svg {
  stroke: white;
}

.why-text h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.why-text p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.why-choose-image {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.why-choose-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 82, 130, 0.4) 0%, rgba(255, 140, 66, 0.3) 100%);
  z-index: 1;
}

.about-section {
  padding: 80px 20px;
  background: white;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.about-lead {
  font-size: 1.15rem;
  color: #c26530;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.6;
}

.about-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  margin: 30px 0 35px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #333;
}

.about-feature-item svg {
  flex-shrink: 0;
  stroke: var(--secondary-color);
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-lead {
    font-size: 1rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .about-image {
    height: 300px;
  }
}

/* RESPONSIVE PARA NUEVAS SECCIONES */
@media (max-width: 768px) {

  .stats-title,
  .process-title,
  .spec-title {
    font-size: 28px;
  }

  .stats-subtitle,
  .process-subtitle,
  .spec-subtitle {
    font-size: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .stat-number {
    font-size: 40px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .cta-final-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .cta-final-content h2 {
    font-size: 32px;
  }

  .cta-final-buttons {
    justify-content: center;
  }

  .cta-final-image {
    flex: 0 0 300px;
    height: 300px;
    width: 100%;
    margin-bottom: 20px;
  }

  .cta-illustration {
    width: 80%;
    max-width: 300px;
  }
}

/* ESTILOS PARA ICONOS AGREGADOS */
.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(44, 82, 130, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: white;
  transform: rotateY(180deg);
}

.step-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-icon {
  color: var(--secondary-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* RESPONSIVE WHY CHOOSE SECTION */
@media (max-width: 1024px) {
  .why-choose-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-choose-image {
    height: 400px;
    order: -1;
  }

  .why-choose-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .why-choose-section {
    padding: 60px 20px;
  }

  .why-choose-image {
    height: 300px;
  }

  .why-choose-content h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

  .why-item {
    padding: 20px;
  }

  .why-icon {
    width: 50px;
    height: 50px;
  }

  .why-icon svg {
    width: 24px;
    height: 24px;
  }

  .why-text h3 {
    font-size: 1.1rem;
  }

  .why-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .why-choose-image {
    height: 250px;
  }

  .why-choose-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 16px;
  }

  .slider-track {
    gap: 60px;
  }

  .logo-container {
    width: 100px;
    height: 100px;
    padding: 12px;
  }

  .company-name {
    font-size: 12px;
  }

  .slides-title {
    padding-top: 30px;
    font-size: 24px;
    margin-bottom: 30px;

    h2 {
      font-size: 24px;
      margin-bottom: 8px;
    }

    p {
      font-size: 14px;
      margin-bottom: 30px;
    }
  }

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

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 1024px) {
    .hero .image-card.card-1 {
      left: 0;
    }

    .hero .image-card.card-2 {
      right: 0;
    }
  }

  @media (max-width: 768px) {
    .features {
      grid-template-columns: 1fr;
    }

    .hero .hero-images {
      margin: 0 auto;
    }

    .hero .image-card.card-1 {
      left: 0;
    }

    .hero .image-card.card-2 {
      right: 0;
    }
  }
}