.section-title {
  font-size: clamp(35px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(1.3rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.card-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.card-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 0.875rem);
}

.text-mind {
  color: var(--accent-mind);
  font-style: italic;
}

.text-light-gray {
  color: var(--text-light-gray);
  line-height: 1.6;
}

/* Services Section */
.services-section {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 2rem;
}

@media (min-width: 560px) and (max-width: 1185px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (min-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(280px, 1fr));
  }
}

/* Service Card */
.service-card {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
}

.service-card-inner {
  position: relative;
  height: 100%;
  width: 100%;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-bg {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 35, 50, 0.95) 0%, rgba(26, 35, 50, 0.6) 50%, transparent 100%);
}

.service-card-content {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.learn-more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.875rem;
}

.service-card:hover .learn-more {
  opacity: 1;
}

.accent-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--accent-mind), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .accent-border {
  opacity: 1;
}

/* Modal Overlay */
[data-seo-hidden="true"] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  visibility: hidden;
  display: none !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal-card {
  position: relative;
  background-color: var(--dark-blue);
  border-radius: 0.75rem;
  max-width: 56rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  z-index: 1;
}

.modal-card {
  position: relative;
  background-color: var(--dark-blue);
  border-radius: 10px;
  max-width: 56rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  z-index: 10000;
}


.btn-close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-close-modal:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-header-img {
  position: relative;
  height: 16rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.modal-header-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dark-blue) 0%, rgba(26, 35, 50, 0.5) 50%, transparent 100%);
}

/* Ajustar foto header modal */
.modal-overlay[data-service="coaches"] #modalHeaderImg {
  background-position: 50% 12%;
}

.modal-overlay[data-service="athletes"] #modalHeaderImg {
  background-position: 50% 45%;
}

.modal-overlay[data-service="psychologists"] #modalHeaderImg {
  background-position: 50% 38%;
}

.modal-body {
  padding: 2rem;
}

.modal-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--accent-mind);
  font-style: italic;
}

.modal-description {
  margin-bottom: 2.5rem;
}

.features-section {
  margin-bottom: 2.5rem;
}

.features-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.3s ease forwards;
}

.feature-item:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-item:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-icon {
  color: var(--accent-mind);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.feature-text {
  flex: 1;
}

.feature-title {
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.feature-description {
  color: var(--text-light-gray);
  font-size: 0.95rem;
}

.modal-cta {
  text-align: center;
}

.btn-cta {
  padding: 0.75rem 2rem;
  background-color: var(--accent-mind);
  color: var(--bg-dark);
  border: none;
  border-radius: 0.25rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: filter 0.25s, transform 0.25s;
  text-decoration: none;
}

.btn-cta:hover {
  filter: brightness(1.12);
}

.btn-cta .arrow {
  transition: transform 0.3s ease;
}

.btn-cta:hover .arrow {
  transform: translateX(0.25rem);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

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

/* Responsive */
@media (max-width: 768px) {
  .modal-title {
    font-size: 1.875rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .modal-header-img {
    height: 12rem;
  }

  .services-section {
    padding: clamp(70px, 7vw, 120px) 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

/* Scrollbar Styling */
.modal-card::-webkit-scrollbar {
  width: 8px;
}

.modal-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.modal-card::-webkit-scrollbar-thumb {
  background: rgba(0, 217, 255, 0.3);
  border-radius: 4px;
}

.modal-card::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 217, 255, 0.5);
}