/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  color: #333;
  font-size: 15px; /* Tamaño base de fuente aumentado */
}

/* Contenedor principal */
.servicios-section {
  padding: 3rem 0;
  background-color: #f9fafb;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Título de sección */
.section-title {
  font-size: 2rem; /* Aumentado de 2rem */
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* Grid de tarjetas */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem; /* Aumentado de 2.5rem */
  }
  
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tarjetas */
.card {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Contenedor de imagen */
.card-image-container {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .card-image-container {
    height: 20rem;
  }
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

/* Overlay de imagen */
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 58, 138, 0.8), transparent);
  opacity: 0.7;
}

/* Contenido sobre la imagen */
.card-content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.5rem;
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.icon {
  width: 1.75rem; /* Aumentado de 1.5rem */
  height: 1.75rem; /* Aumentado de 1.5rem */
  flex-shrink: 0;
}

.icon-settings, .icon-package {
  color: #facc15;
  margin-right: 0.75rem; /* Aumentado de 0.5rem */
}

.card-title {
  font-size: 2rem; /* Aumentado de 1.5rem */
  font-weight: 700;
  color: white;
}

.card-description {
  font-size: 1.25rem; /* Aumentado */
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  max-width: 28rem;
}

/* Cuerpo de la tarjeta */
.card-body {
  padding: 1.75rem; /* Aumentado de 1.5rem */
  background-color: white;
}

/* Lista de características */
.feature-list {
  list-style: none;
  margin-bottom: 1.75rem; /* Aumentado de 1.5rem */
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.85rem; /* Aumentado de 0.75rem */
  font-size: 1.2rem; /* Aumentado */
}

.feature-item:last-child {
  margin-bottom: 0;
}

.icon-chevron {
  width: 1.5rem; /* Aumentado de 1.25rem */
  height: 1.5rem; /* Aumentado de 1.25rem */
  color: #eab308;
  margin-top: 0.125rem;
  margin-right: 0.75rem; /* Aumentado de 0.5rem */
}

/* Botón */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.25rem; /* Aumentado de 0.75rem 1rem */
  border-radius: 0.5rem;
  font-weight: 600; /* Aumentado de 500 */
  font-size: 1.2rem; /* Aumentado */
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #1e3a8a;
  color: white;
}

.btn-primary:hover {
  background-color: #1e40af;
}

.btn .icon-chevron {
  margin-left: 0.5rem; /* Aumentado de 0.25rem */
  margin-top: 0;
  color: currentColor;
}

/* Logo y eslogan */
.logo-container {
  margin-top: 3.5rem; /* Aumentado de 3rem */
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem; /* Aumentado de 1rem */
}

.logo-circle {
  width: 5rem; /* Aumentado de 4rem */
  height: 5rem; /* Aumentado de 4rem */
  position: relative;
  margin-right: 1rem; /* Aumentado de 0.75rem */
}

.logo-circle {
  width: 5rem; /* Aumentado de 4rem */
  height: 5rem; /* Aumentado de 4rem */
  border-radius: 50%;
  border: 5px solid #1e3a8a; /* Aumentado de 4px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-inner-circle {
  width: 3.25rem; /* Aumentado de 2.5rem */
  height: 3.25rem; /* Aumentado de 2.5rem */
  background-color: #1e3a8a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-letter {
  color: #facc15;
  font-weight: 700;
  font-size: 1.5rem; /* Aumentado */
}

.logo-text {
  font-size: 2.5rem; /* Aumentado de 1.875rem */
  font-weight: 700;
  color: #eab308;
}

.slogan {
  color: #6b7280;
  font-style: italic;
  font-size: 1.25rem; /* Aumentado */
}