/* Highlights Section - Estilo Maldonado Daniel */
:root {
  --highlight-text-dark: #000000;
  --highlight-text-medium: #555555;
  --highlight-text-light: #999999;
  --highlight-white: #ffffff;
  --highlight-light-bg: #f8f8f8;
  --highlight-transition: all 0.4s ease;
}

.apple-highlights {
  padding: 120px 0;
  background-color: var(--highlight-white);
  position: relative;
}

.highlights-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header minimalista */
.highlights-header {
  text-align: center;
  margin-bottom: 100px;
}

.section-title {
  font-size: 42px;
  font-weight: 300;
  color: var(--highlight-text-dark);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 18px;
  color: var(--highlight-text-medium);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.6;
}

/* Grid de servicios con diseño minimalista */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-card {
  position: relative;
  overflow: hidden;
  background-color: var(--highlight-white);
  transition: var(--highlight-transition);
}

.highlight-image {
  width: 100%;
  height: 500px; /* Imágenes más altas como en Maldonado */
  overflow: hidden;
  position: relative;
}

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: grayscale(0%); /* Sin filtro por defecto */
}

.highlight-card:hover .highlight-image img {
  transform: scale(1.05);
  filter: grayscale(30%); /* Ligero efecto de escala de grises al hover */
}

.highlight-content {
  padding: 30px 0;
  text-align: center;
}

.highlight-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--highlight-text-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.highlight-description {
  font-size: 15px;
  color: var(--highlight-text-medium);
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 300;
  padding: 0 15px;
}

/* Botón minimalista */
.highlight-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: transparent;
  color: var(--highlight-text-dark);
  font-weight: 300;
  font-size: 13px;
  text-decoration: none;
  transition: var(--highlight-transition);
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--highlight-text-dark);
}

.highlight-button:hover {
  background-color: var(--highlight-text-dark);
  color: var(--highlight-white);
}

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

.highlight-card {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.highlight-card:nth-child(1) {
  animation-delay: 0.1s;
}

.highlight-card:nth-child(2) {
  animation-delay: 0.2s;
}

.highlight-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Media queries */
@media (max-width: 1200px) {
  .highlights-container {
      max-width: 1100px;
  }
  
  .highlight-image {
      height: 450px;
  }
}

@media (max-width: 992px) {
  .highlights-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
  }
  
  .section-title {
      font-size: 36px;
  }
  
  .highlight-image {
      height: 400px;
  }
  
  .highlight-card:nth-child(3) {
      animation-delay: 0.1s;
  }
}

@media (max-width: 768px) {
  .apple-highlights {
      padding: 80px 0;
  }
  
  .highlights-header {
      margin-bottom: 60px;
  }
  
  .section-title {
      font-size: 32px;
  }
  
  .highlight-image {
      height: 380px;
  }
}

@media (max-width: 576px) {
  .highlights-grid {
      grid-template-columns: 1fr;
  }
  
  .highlights-container {
      padding: 0 20px;
  }
  
  .section-title {
      font-size: 28px;
  }
  
  .highlight-image {
      height: 450px;
  }
  
  .highlight-card:nth-child(2) {
      animation-delay: 0.1s;
  }
  
  .highlight-card:nth-child(3) {
      animation-delay: 0.1s;
  }
}
