/* components/greenBox/greenBox.css */

/* ================================
   Variables de diseño
   ================================ */
   :root {
    --green-500: #00186A; /*#23805e*/
    --green-600: #051c66; /*#1e6c50*/
    --white:     #ffffff;
    --gray-100:  #f5f5f5;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --container-max: 1200px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.07);
  }
  
  /* ================================
     Full-width rompe márgenes y fondo
     ================================ */
  .greenBox_fullWidth {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: linear-gradient(
      135deg,
      var(--green-600) 0%,
      var(--green-500) 100%
    );
    padding-block: var(--spacing-lg);
    overflow: hidden;
    /* sutil fade-in al cargar */
    opacity: 0;
    animation: fadeInBox 0.8s ease-out forwards;
  }
  
  @keyframes fadeInBox {
    to { opacity: 1; }
  }
  
  /* efecto radial suave sobre el fondo */
  .greenBox_fullWidth::before {
    content: "";
    position: absolute;
    top: -25%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translateX(-50%);
    background: radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.1),
      transparent 70%
    );
    pointer-events: none;
  }
  
  /* ================================
     Contenedor interno centrado
     ================================ */
  .greenBox_container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--spacing-sm);
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(280px, 1fr) );
    gap: var(--spacing-lg);
    align-items: start;
    color: var(--white);
    box-sizing: border-box;
  }
  
  /* ================================
     Título grande y estilizado
     ================================ */
  .greenBox_title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-bottom: var(--spacing-xs);
    /* línea decorativa */
  }
  .greenBox_title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.5rem;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
  }
  
  /* ================================
     Texto y párrafos
     ================================ */
  .greenBox_text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.6;
  }
  .greenBox_text p {
    margin: 0 0 var(--spacing-sm);
    color: var(--gray-100);
  }
  
  /* ================================
     Responsive: una columna en móvil
     ================================ */
  @media (max-width: 768px) {
    .greenBox_container {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .greenBox_title::after {
      left: 50%;
      transform: translateX(-50%);
    }
  }
  