
/* =========================
   RESPONSIVE - RB Contabilidades
   ========================= */

/* Pantallas grandes */
@media (max-width: 1200px){
  .container{
    width:94%;
  }

  .hero h1{
    font-size:3rem;
  }
}

/* Tablets */
@media (max-width: 992px){

  .navbar .container{
    height:72px;
  }

  nav ul{
    gap:18px;
  }

  .hero{
    text-align:center;
    padding:120px 0 80px;
  }

  .hero h1{
    font-size:2.6rem;
    max-width:100%;
  }

  .hero p{
    font-size:1.1rem;
    max-width:100%;
    margin:0 auto 30px;
  }

  section{
    padding:80px 0;
  }

  section h2{
    font-size:2rem;
    text-align:center;
  }

  .services-grid,
  .benefits-grid{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
  }
}

/* Celulares grandes */
@media (max-width: 768px){

  .navbar .container{
    flex-direction:column;
    height:auto;
    padding:15px 0;
  }

  nav ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin-top:10px;
  }

  .hero{
    min-height:auto;
    padding:140px 0 90px;
  }

  .hero h1{
    font-size:2.2rem;
  }

  .hero p{
    font-size:1rem;
  }

  .btn{
    width:100%;
    max-width:320px;
    text-align:center;
  }

  .services-grid,
  .benefits-grid{
    grid-template-columns:1fr;
  }

  .card{
    padding:24px;
  }

  footer{
    font-size:.95rem;
  }
}

/* iPhone y Android pequeños */
@media (max-width: 480px){

  body{
    font-size:15px;
  }

  .logo{
    font-size:1.35rem;
    text-align:center;
  }

  .hero h1{
    font-size:1.8rem;
    line-height:1.25;
  }

  .hero p{
    font-size:.95rem;
  }

  section{
    padding:60px 0;
  }

  section h2{
    font-size:1.7rem;
  }

  .card{
    padding:20px;
  }

  .btn{
    padding:14px 24px;
    font-size:.95rem;
  }
}

/* Monitores muy grandes */
@media (min-width: 1600px){

  .container{
    max-width:1400px;
  }

  .hero h1{
    font-size:4rem;
  }

  .hero p{
    font-size:1.35rem;
  }
}
