body {
    font-family: 'Josefin Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
  }

  .container {
    width: 80%;
    margin: 50px auto;
    padding: 40px;
  }

  .container img {
    display: block;
    margin: 40px auto; /* Espaciado arriba y abajo, centrado horizontal */
    width: 100%;
    height: auto;
  }

  h1, h2 {
    color: #1f775a;
    font-weight: 800;
    margin-bottom: 20px;
  }

  h1{
      text-align: center;
  }

  h2 {
    margin-top: 40px;
    font-size: 2rem;
  }
  h3{
    color: #1f775a;
  }

  p, li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
  }

  ul {
    padding-left: 20px;
    margin-bottom: 20px;
  }

  strong {
    font-weight: 600;
  }

  a{
      text-decoration: none;
      color: #333;
  }

  @media (max-width: 768px) {
    .container {
      padding: 20px;
    }

    h1 {
      font-size: 1.8rem;
    }

    h2 {
      font-size: 1.5rem;
    }
  }

  .descarga-contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
    text-align: center;
  }

  .descarga-contenedor p {
    font-family: 'Josefin Sans', sans-serif;
    color: #1f775a;
    font-size: 1.4rem;
    margin: 0;
  }

  .boton-descarga {
    background-color: #1f775a;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }

  .boton-descarga:hover {
    background-color: #155f47;
  }
  
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .modal-content {
    background: #228362;
    color: #fff;
    padding-top: 70px;
    padding-bottom: 70px;
    padding-left: 50px;
    padding-right: 50px;
    width: 55%;
    font-family: 'Josefin Sans', sans-serif;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .modal-content p {
    margin-bottom: 20px;
  }
  
  .modal-titulo {
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.3;
    text-shadow: 1px 1px 2px #00000050;
  }
  
  .modal-secundario {
    font-weight: 300;
    font-size: 1rem;
    color: #fff;
  }
  
  .modal-secundario a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    margin-left: 0px;
  }
  
  .modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
  }

  .hero-inpsolution {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 15vh;
    color: white;
    position: relative;
    font-family: 'Josefin Sans', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .logo-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
  }
  
  a {
    text-decoration: none;
    color: #333;
  }

  .logo{
    height: 140px;
    margin-left: 10%;
  }
  
  .menu-inps {
    display: flex;
    gap: 40px;
    margin-right: 20%;
  }
  
  .menu-inps a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .menu-inps a:hover {
    color: #1f775a;
  }

  /* ================== FOOTER RESPONSIVE ================== */
/* Tipografía y respiración fluidas */
.site-footer .footer-inner{
  padding: clamp(20px, 4vw, 44px) clamp(14px, 4vw, 32px);
}

/* Grid base: en desktop mantén 2 columnas, en pantallas pequeñas 1 */
@media (max-width: 900px){
  .site-footer .footer-grid{
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 28px);
  }
  /* Logo centrado y a continuación de los enlaces */
  .site-footer .footer-logo{
    grid-column: 1;
    justify-self: center;
    margin-top: clamp(6px, 2.5vh, 16px);
  }
}

/* Rejilla de enlaces flexible con auto-fit: 1–3 columnas según ancho */
.footer-links{
  /* en desktop puede llegar a 3 columnas; en móvil se pliega a 1–2 */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  column-gap: clamp(10px, 2.2vw, 18px);
  row-gap: clamp(10px, 1.8vw, 16px);
  max-width: 100%;
}

/* Tocar targets táctiles (mín. 44px) sin cambiar estética */
.footer-links a{
  display: inline-block;
  padding: 10px 6px;
  line-height: 1.35;
  font-size: clamp(14px, 1.9vmin, 16px);
  border-radius: 6px;
}

/* Logo responsive: no invadir ancho en móvil, más presencia en desktop */
.site-footer .footer-logo img{
  width: 100%;
  max-width: clamp(220px, 36vw, 520px);
  height: auto;
}

/* Decoración de fondo coherente en móviles (evita desbordar) */
@media (max-width: 640px){
  .site-footer::before{
    inset: -6% -10% auto -10%;
    height: 40svh;
    filter: blur(28px) saturate(110%);
  }
}

/* Pequeño ajuste de contraste al pasar el dedo por un enlace en táctil */
@media (hover: hover){
  .footer-links a:hover{
    color: #374151;
    text-decoration: underline;
  }
}
