@charset "UTF-8";
/* ========================================
   SERVICES GRID - VARIABLES ESPECÍFICAS
   ======================================== */
:root {
  --services-section-padding: 5rem 0;
  --services-timeline-width: 4px;
  --services-card-max-width: 600px;
  --services-image-width: 480px;
  --services-number-size: 50px;
  --services-icon-size: 2.5rem;
  --services-transition: all 0.3s ease;
}

/* ========================================
   SERVICES GRID CONTAINER
   ======================================== */
.services-grid-wrapper {
  padding: var(--services-section-padding);
  position: relative;
  background: linear-gradient(135deg, var(--color-contrast-dark) 0%, var(--color-contrast) 100%);
}
.services-grid-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

/* ========================================
   SECTION HEADER
   ======================================== */
.services-header {
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-subtitle {
  font-family: var(--font-text);
  font-weight: var(--font-semibold);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.services-subtitle i {
  font-size: 1.1em;
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.services-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 1.5rem;
  text-wrap: balance;
  position: relative;
  background: linear-gradient(90deg, var(--color-white) 0%, #F0EFEA 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.services-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--color-primary), rgba(255, 255, 255, 0.6));
  border-radius: 2px;
}

.services-description {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* ========================================
   SERVICES TIMELINE
   ======================================== */
.services-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  display: none;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: var(--services-timeline-width);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.3) 90%, transparent 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline-line::before, .timeline-line::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.timeline-line::before {
  top: -6px;
}
.timeline-line::after {
  bottom: -6px;
}

/* ========================================
   SERVICE ITEMS - LAYOUT EXPANDIDO
   ======================================== */
.service-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  min-height: 300px;
  justify-content: flex-end;
}
.service-item:nth-child(odd) {
  flex-direction: row;
  justify-content: flex-start;
}
.service-item:nth-child(odd) .service-number {
  order: 2;
  margin-left: 2rem;
  margin-right: 0;
}
.service-item:nth-child(odd) .service-card {
  order: 1;
  margin-right: 2rem;
  text-align: right;
}
.service-item:nth-child(odd) .service-card .service-arrow {
  left: auto;
  right: -15px;
}
.service-item:nth-child(odd) .service-card .service-arrow i {
  transform: rotate(180deg);
}
.service-item:nth-child(odd) .service-image {
  order: 3;
  margin-left: 2rem;
}
.service-item:nth-child(even) {
  flex-direction: row;
}
.service-item:nth-child(even) .service-image {
  order: 1;
  margin-right: 2rem;
}
.service-item:nth-child(even) .service-number {
  order: 2;
  margin-right: 2rem;
  margin-left: 0;
}
.service-item:nth-child(even) .service-card {
  order: 3;
  margin-left: 2rem;
  text-align: left;
}
.service-item:nth-child(even) .service-card .service-arrow {
  right: auto;
  left: -15px;
}
.service-item:last-child {
  margin-bottom: 0;
}

/* ========================================
   SERVICE IMAGES - NUEVO
   ======================================== */
.service-image {
  position: relative;
  width: var(--services-image-width);
  height: 400px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--services-transition);
}
.service-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
}
.service-image .service-image-element {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: var(--services-transition);
}
.service-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(93, 163, 160, 0.1) 0%, rgba(93, 163, 160, 0.05) 50%, transparent 100%);
  z-index: 1;
  border-radius: 16px;
  opacity: 0;
  transition: var(--services-transition);
}
.service-image:hover::before {
  opacity: 1;
}
.service-image:hover .service-image-element {
  transform: scale(1.05);
}
.service-image.no-image {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-image.no-image .service-image-placeholder {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   SERVICE NUMBER BADGE
   ======================================== */
.service-number {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}
.service-number .number-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--services-number-size);
  height: var(--services-number-size);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(93, 163, 160, 0.3), 0 3px 8px rgba(0, 0, 0, 0.15);
  border: 4px solid #ffffff;
  transition: var(--services-transition);
}
.service-number .number-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(93, 163, 160, 0.4), 0 5px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SERVICE CARDS - DISEÑO MEJORADO CON COLORES
   ======================================== */
.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  max-width: var(--services-card-max-width);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: var(--services-transition);
  cursor: pointer;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 20px 20px 0 0;
  opacity: 0.7;
  transition: var(--services-transition);
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 30px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(93, 163, 160, 0.2);
}
.service-card:hover::before {
  opacity: 1;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
}
.service-card:hover .service-icon i {
  transform: scale(1.15) rotate(5deg);
  color: var(--color-secondary);
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateY(-50%) translateX(8px) scale(1.1);
}
.service-card:hover .service-card-title {
  color: var(--color-primary-dark);
}
.service-card:hover .service-card-title::after {
  width: 100%;
  opacity: 1;
}
.service-card:hover .service-card-description {
  color: var(--color-gray-700);
}
.service-card:active {
  transform: translateY(-8px) scale(0.98);
  transition: transform 0.1s ease;
}

.service-icon {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 3;
}
.service-icon i {
  font-size: var(--services-icon-size);
  color: var(--color-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(93, 163, 160, 0.2));
}

.service-content {
  position: relative;
  z-index: 3;
}

.service-card-title {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: var(--lh-tight);
  color: var(--color-gray-900);
  margin-bottom: 1rem;
  text-wrap: balance;
  transition: all 0.3s ease;
  position: relative;
}
.service-card-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
  border-radius: 2px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card-title::after {
  width: 100%;
  opacity: 1;
}

.service-card-description {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: 0.95rem;
  line-height: var(--lh-relaxed);
  color: var(--color-gray-600);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
}
.service-arrow i {
  font-size: 1.2rem;
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary-ultra-light), rgba(255, 255, 255, 0.9));
  padding: 0.6rem;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(93, 163, 160, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--color-primary-light);
  transition: all 0.3s ease;
}
.service-arrow:hover i {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 3;
}
.service-badge.optional {
  background: linear-gradient(135deg, var(--color-warning-light), #fff3cd);
  color: #d63031;
  border: 1px solid var(--color-warning);
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}
.service-badge.optional::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  border-radius: 25px;
  animation: badgeShimmer 3s ease-in-out infinite;
}
.service-badge i {
  font-size: 0.8em;
  color: inherit;
}

@keyframes badgeShimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
/* ========================================
   SECTION CTA - BOTÓN VERDE
   ======================================== */
.services-cta {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.services-grid-wrapper .btn-services,
.services-grid-wrapper .btn.btn-services {
  padding: 1rem 2.5rem !important;
  font-family: var(--font-text) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  /* Botón verde de vuelta */
  background: var(--color-primary) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 200px !important;
  cursor: pointer !important;
  /* Sombra verde */
  box-shadow: 0 6px 20px rgba(93, 163, 160, 0.3) !important;
  transition: all 0.3s ease !important;
}
.services-grid-wrapper .btn-services i,
.services-grid-wrapper .btn.btn-services i {
  margin-right: 0.6rem !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
}
.services-grid-wrapper .btn-services:hover, .services-grid-wrapper .btn-services:focus,
.services-grid-wrapper .btn.btn-services:hover,
.services-grid-wrapper .btn.btn-services:focus {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(93, 163, 160, 0.4) !important;
  background: var(--color-primary-dark) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.services-grid-wrapper .btn-services:hover i, .services-grid-wrapper .btn-services:focus i,
.services-grid-wrapper .btn.btn-services:hover i,
.services-grid-wrapper .btn.btn-services:focus i {
  transform: translateX(3px) !important;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --services-image-width: 220px;
    --services-card-max-width: 350px;
  }
  .service-image {
    height: 160px;
  }
}
@media (max-width: 768px) {
  :root {
    --services-section-padding: 3rem 0;
    --services-card-max-width: 100%;
    --services-number-size: 40px;
    --services-icon-size: 2rem;
    --services-image-width: 100%;
  }
  .services-grid-wrapper {
    background: linear-gradient(135deg, rgba(35, 57, 91, 0.95) 0%, rgba(52, 52, 74, 0.95) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  }
  .services-header {
    margin-bottom: 3rem;
  }
  .services-header .services-title::after {
    width: 50px;
    height: 3px;
  }
  .services-timeline {
    padding: 1rem 0;
    max-width: 100%;
    display: none;
  }
  .service-item {
    flex-direction: column !important;
    align-items: stretch !important;
    margin-bottom: 3rem;
    min-height: auto;
  }
  .service-item:nth-child(odd) .service-image, .service-item:nth-child(even) .service-image {
    order: 1 !important;
    margin: 0 0 1.5rem 0 !important;
    width: 100% !important;
    height: 200px !important;
  }
  .service-item:nth-child(odd) .service-number, .service-item:nth-child(even) .service-number {
    order: 2 !important;
    margin: 0 0 1rem 0 !important;
    align-self: center;
  }
  .service-item:nth-child(odd) .service-card, .service-item:nth-child(even) .service-card {
    order: 3 !important;
    margin: 0 !important;
    text-align: center !important;
    max-width: 100% !important;
  }
  .service-item:nth-child(odd) .service-card .service-arrow, .service-item:nth-child(even) .service-card .service-arrow {
    display: none !important;
  }
  .timeline-line {
    display: none;
  }
  .services-cta {
    margin-top: 3rem;
    padding-top: 2rem;
  }
  .services-cta .btn-services {
    min-width: 180px !important;
    padding: 0.8rem 2rem !important;
    font-size: 0.85rem !important;
  }
}
@media (max-width: 480px) {
  :root {
    --services-section-padding: 2rem 0;
    --services-number-size: 35px;
  }
  .service-card {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }
  .service-image {
    height: 180px;
    border-radius: 12px;
  }
  .services-header {
    margin-bottom: 2rem;
  }
}/*# sourceMappingURL=services-grid.css.map */