/* Kids Section Styles */

/* Container */
.kids-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: var(--size-8) var(--size-4);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Header */
.kids-header {
  text-align: center;
  margin-bottom: var(--size-12);
  position: relative;
  animation: fadeInDown 0.8s ease-out;
}

.kids-header::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #000000 0%, #333333 100%);
  margin: var(--size-6) auto;
  border-radius: var(--rounded-full);
  transform: scaleX(0);
  animation: expandWidth 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.kids-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: var(--font-bold);
  color: #000000;
  margin-bottom: var(--size-4);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.kids-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--color-text-subtle);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Grid */
.kids-grid {
  display: grid;
  gap: var(--size-8);
}

@media (min-width: 768px) {
  .kids-grid {
    justify-content: center;
    gap: var(--size-10);
    padding: var(--size-4) 0;
  }

  .kids-card {
    padding: var(--size-8);
    min-height: 400px;
    width: 100%;
    max-width: 25rem;
    flex: 1 1 100%;
  }

  .kids-card:nth-child(3) {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .kids-container {
    width: 100%;
    max-width: 1200px;
    padding: var(--size-16) var(--size-8);
  }

  .kids-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--size-20);
    margin: var(--size-8) 0 var(--size-2);
    justify-items: center;
  }

  .kids-card {
    padding: var(--size-10);
    width: 100%;
    max-width: 20rem;
  }

  .kids-card:nth-child(3) {
    margin-top: 0;
  }
}

/* Ultra Wide Screens */
@media (min-width: 1536px) {
  .kids-container {
    max-width: 1600px;
    padding: var(--size-24) var(--size-16);
  }

  .kids-header {
    margin-bottom: var(--size-16);
  }

  .kids-header::after {
    width: 100px;
    height: 5px;
    margin: var(--size-8) auto;
  }

  .kids-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: var(--size-6);
  }

  .kids-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    max-width: 800px;
  }

  .kids-grid {
    gap: var(--size-24);
    margin: var(--size-12) 0 var(--size-24);
  }

  .kids-card {
    padding: var(--size-12);
    max-width: 24rem;
    min-height: 480px;
  }

  .kids-card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: var(--size-6);
  }

  .kids-card-icon svg {
    width: 36px;
    height: 36px;
  }

  .kids-card-title {
    font-size: 1.75rem;
    margin-bottom: var(--size-6);
  }

  .kids-card-list li {
    font-size: 1.125rem;
    padding: var(--size-3) 0;
  }

  .kids-cta {
    padding: var(--size-20) 0;
    margin-top: var(--size-20);
  }

  .kids-cta-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--size-6);
  }

  .btn {
    font-size: 1.125rem;
    padding: var(--size-4) var(--size-8);
  }
}

/* Cards */
.kids-card {
  background: white;
  border-radius: var(--rounded-lg);
  padding: var(--size-6);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--size-4);
  width: 100%;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.kids-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #000000 0%, #333333 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.kids-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.kids-card-icon {
  color: #000000;
  background: #f8f9fa;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--size-4);
  transition: all 0.3s ease;
}

.kids-card:hover .kids-card-icon {
  transform: scale(1.1);
  background: #e9ecef;
}

.kids-card-title {
  display: flex;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  color: #000000;
  margin-bottom: var(--size-4);
}

.kids-card-list {
  display: block;
  margin: 0 auto;
  text-align: left;
  max-width: 320px;
  padding-left: 1.5rem;
  list-style: none;
}

.kids-card-list li {
  color: var(--color-text-subtle);
  padding: var(--size-2) 0;
  display: flex;
  align-items: center;
  gap: var(--size-2);
  transition: transform 0.2s ease;
}

.kids-card-list li:hover {
  transform: translateX(5px);
  color: #000000;
}

.kids-card-list li::before {
  content: "•";
  color: #000000;
  font-weight: bold;
}

/* CTA Section */
.kids-cta {
  text-align: center;
  padding: var(--size-8) 0;
  animation: fadeInUp 0.8s ease-out;
  animation-delay: 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.kids-cta-text {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: var(--font-semibold);
  color: #000000;
  margin-bottom: var(--size-4);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.kids-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.kids-card:nth-child(1) {
  animation-delay: 0.2s;
}

.kids-card:nth-child(2) {
  animation-delay: 0.4s;
}

.kids-card:nth-child(3) {
  animation-delay: 0.6s;
}

.kids-card-subtitle {
  display: block;
  margin: 1.5rem auto 0 auto;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(90deg, #e0f7fa 0%, #fff 100%);
  color: #2d8cff;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px 0 rgba(45, 140, 255, 0.08);
  letter-spacing: 0.2px;
  text-align: center;
  max-width: 90%;
}

@media (min-width: 768px) {
  .kids-card-subtitle {
    display: none;
  }
}

/* Estilos para la imagen de la sección Kids */
.kids-home-image-container {
  text-align: center;
}

.kids-home-image {
  width: 100%;
  max-width: 48rem; /* 768px */
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
} 