/* static/css/home-start.css */
.summary-section {
    /* El selector genérico "section" en style.css fuerza min-height:100vh
       y solo lo resetea por debajo de 768px -- entre 768 y 900px (donde
       este layout ya se apila) quedaba una sección forzada a ocupar toda
       la pantalla con contenido mucho más corto, generando el espacio en
       blanco enorme antes de la imagen. Por defecto queda a medida de su
       contenido; el alto completo se devuelve solo en desktop (ver media
       query más abajo), donde el layout de dos columnas sí lo aprovecha. */
    min-height: 0;
    height: auto;
    background-color: #ffffff;
    padding: 110px 20px 90px;
    color: #162640;
    position: relative;
    overflow: hidden;
  }

  @media (min-width: 901px) {
    .summary-section {
      min-height: 100vh;
    }
  }
  
  .summary-bg-shape {
    position: absolute;
    top: -80px;
    left: -120px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 30% 30%, #16264018 60%, transparent 100%);
    z-index: 0;
    pointer-events: none;
  }
  
  .container.summary-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideIn 1s ease forwards;
  }
  
  .summary-content {
    flex: 1 1 460px;
    min-width: 280px;
    text-align: left;
    z-index: 2;
  }

  .summary-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b61e25;
    margin-bottom: 18px;
  }

  .summary-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: #b61e25;
    display: inline-block;
  }
  
  .summary-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 6px;
    line-height: 1.25;
    letter-spacing: -0.005em;
  }
  
  .summary-content h1 span.highlight {
    display: block;
    font-size: 3.1rem;
    font-weight: 900;
    margin-top: 6px;
    margin-bottom: 32px;
    line-height: 1.08;
    letter-spacing: -0.01em;
  }
  
  .highlight {
    color: #b61e25;
  }
  
  .summary-subtitle {
    font-size: 1.4rem;
    margin: 12px 0;
    font-weight: 600;
  }
  
  .summary-badges {
    margin: 0 0 34px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-content: center;
    justify-content: flex-start;
  }
  
  .badge {
    background: #f4f6f9;
    color: #4a5568;
    border: 1px solid rgba(22, 38, 64, 0.08);
    border-radius: 50px;
    padding: 8px 18px 8px 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .badge-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b61e25, #7f151a);
    color: #fff;
  }

  .badge-icon i {
    font-size: 0.82rem;
  }
  
  .badge:hover {
    background: #fff;
    border-color: rgba(182, 30, 37, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 38, 64, 0.08);
  }
  
  .cta-btn {
    display: inline-flex;
    margin-top: 0;
    background: #b61e25;
    color: #fff;
    font-weight: 800;
    padding: 15px 38px;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(182, 30, 37, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
    justify-content: center;
    align-items: center;
  }
  .cta-btn i{
    margin-right: 0.75rem;
    font-size: 1.15rem;
  }
  
  .cta-btn:hover {
    background: #7f151a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(182, 30, 37, 0.35);
  }
  
  .summary-tagline {
    margin-top: 34px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #8a94a3;
    text-align: left;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 1s ease forwards;
    animation-delay: 0.6s;
  }

  .summary-tagline::before {
    content: "";
    width: 34px;
    height: 2px;
    background: rgba(22, 38, 64, 0.25);
    display: inline-block;
  }
  
  .summary-image-container {
    flex: 1 1 400px;
    min-width: 280px;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-bg-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #b61e2520 50%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(10px);
  }
  
  .dynamic-image {
    /* Antes: height:75vh (atado al alto de PANTALLA). El ancho de la
       columna cambia por breakpoint pero el alto de pantalla no tiene
       relación con eso -- por eso no "guardaba proporción". Ahora se
       dimensiona por su propio ancho de contenedor y el alto sigue la
       proporción natural de la imagen. */
    width: 100%;
    max-width: 440px;
    height: auto;
    z-index: 1;
    animation: floatUpDown 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(22, 38, 64, 0.18));
  }
  
  /* Animaciones */
  @keyframes fadeSlideIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes floatUpDown {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-15px);
    }
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .container.summary-container {
      flex-direction: column;
      text-align: center;
      gap: 24px;
    }
    .summary-content {
      text-align: center;
    }
    .summary-eyebrow {
      justify-content: center;
    }
    .summary-title {
      font-size: 1.3rem;
    }
    .summary-content h1 span.highlight {
      font-size: 2.3rem;
      margin-bottom: 24px;
    }
    .summary-badges {
      justify-content: center;
    }
    .summary-tagline {
      justify-content: center;
      font-size: 0.82rem;
    }
    .summary-image-container {
      display: none;
    }
    .cta-btn{
      width: 100%;      
    }
  }
@media (max-width: 425px) {
  .summary-section {
    padding: 90px 20px 70px;
  }
  .summary-title {
    font-size: 1.05rem;
  }
  .summary-content h1 span.highlight {
    font-size: 1.9rem;
  }
  .badge {
    padding: 6px 14px 6px 6px;
    font-size: 0.82rem;
  }
  .badge-icon {
    width: 26px;
    height: 26px;
  }
  .cta-btn {
    padding: 12px 26px;
    font-size: 1rem;
  }
  .summary-tagline {
    margin-top: 20px;
    font-size: 0.8rem;
  }
}
@media (max-width: 375px) {
  .badge {
    padding: 5px 10px 5px 5px;
    font-size: 0.75rem;
  }
}
@media (max-width: 320px) {
  .summary-badges {
    gap: 10px;
  }
}