/**
 * Defensa Total Section Styles - BEM Methodology
 * Estudio Defensor
 */

/* ============================================
   DEFENSA TOTAL SECTION
   ============================================ */

.defensa-total {
  padding: 4rem 2rem;
  margin-bottom: 5rem;
}

.defensa-total__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 3rem;
  align-items: start;
}

/* ============================================
   CONTENT AREA
   ============================================ */

.defensa-total__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ============================================
   HEADER
   ============================================ */

.defensa-total__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.defensa-total__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.25rem 2rem;
  background-color: #FF6600;
  border-radius: 30px;
}

.defensa-total__badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.defensa-total__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  color: #333333;
}

/* ============================================
   FEATURES
   ============================================ */

.defensa-total__features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 60%;
}

.defensa-total__feature {
  display: grid;
  grid-template-columns: 15% 85%;
  gap: 1rem;
  align-items: start;
}

.defensa-total__feature-icon {
  width: 100%;
  height: auto;
  display: block;
}

.defensa-total__feature-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.defensa-total__feature-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
  color: #333333;
}

.defensa-total__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: #666666;
}

/* ============================================
   DIVIDER
   ============================================ */

.defensa-total__divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  border: none;
  margin: 1rem 0;
}

/* ============================================
   CTA
   ============================================ */

.defensa-total__cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.defensa-total__button {
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  background-color: #FF6600;
  border: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.defensa-total__button:hover {
  background-color: #e55a00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}

.defensa-total__button:active {
  transform: translateY(0);
}

/* ============================================
   IMAGE
   ============================================ */

.defensa-total__image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.defensa-total__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   RESPONSIVIDAD
   ============================================ */

@media (max-width: 1024px) {
  .defensa-total__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .defensa-total__features {
    max-width: 100%;
  }

  .defensa-total__image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .defensa-total {
    padding: 3rem 1.5rem;
    margin-bottom: 3rem;
  }

  .defensa-total__header {
    gap: 1.25rem;
  }

  .defensa-total__badge {
    padding: 0.25rem 1.5rem;
  }

  .defensa-total__badge-text {
    font-size: 0.75rem;
  }

  .defensa-total__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .defensa-total__features {
    gap: 1.5rem;
  }

  .defensa-total__feature {
    grid-template-columns: 20% 80%;
  }

  .defensa-total__feature-title {
    font-size: 1.125rem;
  }

  .defensa-total__feature-description {
    font-size: 0.9375rem;
  }

  .defensa-total__button {
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .defensa-total {
    padding: 2rem 1rem;
  }

  .defensa-total__header {
    gap: 1rem;
  }

  .defensa-total__badge {
    padding: 0.25rem 1.25rem;
  }

  .defensa-total__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .defensa-total__features {
    gap: 1.25rem;
  }

  .defensa-total__feature {
    grid-template-columns: 25% 75%;
    gap: 0.75rem;
  }

  .defensa-total__feature-title {
    font-size: 1rem;
  }

  .defensa-total__feature-description {
    font-size: 0.875rem;
  }
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */

.defensa-total__button:focus-visible {
  outline: 3px solid rgba(255, 102, 0, 0.5);
  outline-offset: 4px;
}

/* ============================================
   ANIMACIONES
   ============================================ */

/* Respetar preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .defensa-total,
  .defensa-total * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
