/* ===================== */
/* ESTILO GENERAL (ESCRITORIO) */
/* ===================== */

.feature-container {
  font-family: 'Nunito', sans-serif;
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 30px;
  height: 700px;
  background-color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

.feature-image {
  height: 100%;
  width: 100%;
  background-image: url('https://via.placeholder.com/800x700'); /* Cambia esta URL por tu imagen real */
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-content {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: 600px;
  height: 660px;
  box-sizing: border-box;
}

.feature-content h4 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.feature-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
}

.icon-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #555;
  transition: transform 0.2s ease, color 0.2s ease;
}

.icon-item .icon {
  font-size: 20px;
  color: #f39c12;
}

.icon-item:hover {
  transform: translateY(-5px);
  color: #333;
}

.feature-content .button {
  display: inline-block;
  padding: 5px 25px;
  background-color: #349B7D;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.feature-content .button:hover {
  background-color: #F8AE00;
}

/* ===================== */
/* RESPONSIVE: HASTA 768px */
/* ===================== */
@media (max-width: 768px) {
  .feature-container {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
    background-color: #f7f7f7;
  }

  .feature-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* Mantiene proporción visual */
    border-radius: 0;
    box-shadow: none;
    background-image: url('https://via.placeholder.com/800x600'); /* Imagen adaptada a móvil */
    background-size: cover;
    background-position: center;
  }

  .feature-content {
    flex-grow: 1;
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 20px 16px;
    margin-top: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
  }

  .feature-content h4 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 16px;
  }

  .feature-content p {
    font-size: 15px;
    color: #444;
    text-align: center;
    margin-bottom: 20px;
  }

  .icon-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  .icon-item {
    background: #f1f1f1;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .icon-item .icon {
    color: #349B7D;
    font-size: 18px;
  }

  .feature-content .button {
    display: block;
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    font-size: 16px;
    background-color: #349B7D;
    color: white;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .feature-content .button:hover {
    background-color: #28705A;
  }
}
