/* ============================================
   TIPUANAS — responsive.css v3
   ============================================ */

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0; right: 0;
    background: var(--color-blanco);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 24px;
    border-bottom: none;
    box-shadow: 0 8px 24px rgba(36,29,24,0.12);
    z-index: 99;
    overflow-y: auto;
    max-height: calc(100vh - var(--topbar-h) - var(--header-h));
    margin-left: 0;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 14px 8px; font-size: 13px; border-radius: 0; border-bottom: none; }
  .nav__dropdown {
    display: block; position: static;
    box-shadow: none; border: none; border-radius: 0;
    padding: 0 0 0 16px; background: transparent;
    margin-top: 0;
  }
  .nav__dropdown a { font-size: 13px; padding: 10px 8px; border-bottom: none; }
  .nav__item--wsp { margin-left: 0; margin-top: 8px; }
  .nav__item--wsp .btn { width: 100%; justify-content: center; padding: 12px 16px; font-size: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__desc { max-width: 100%; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .topbar { display: none; }
  .header { top: 0; }
  .nav { top: var(--header-h); max-height: calc(100vh - var(--header-h)); }
  .btn { padding: 10px 18px; font-size: 12px; }
}

/* MOBILE MENU — sin líneas divisoras */
@media (max-width: 768px) {
  .nav.is-open .nav__item,
  .nav.is-open .nav__link,
  .nav.is-open .nav__dropdown a {
    border-bottom: none !important;
    border-top: none !important;
  }
  .nav__item + .nav__item { border-top: none !important; }
  .nav__dropdown a + a { border-top: none !important; }
}

/* ============================================
   MOBILE v7 — ajustes de tamaño (solo movil)
   ============================================ */
@media (max-width: 768px) {
  /* 1 - Por que elegirnos: mas grande y un poco mas arriba */
  .why { padding-top: 48px !important; }
  .why__inner { padding-top: 26px !important; }
  .why .why__eyebrow { font-size: 14px !important; letter-spacing: 2.2px; margin-bottom: 12px !important; }

  /* 2 - +30 ANOS / de experiencia: un poquito mas grandes */
  .why .why__years { font-size: 3.2rem !important; }
  .why .why__years-sub { font-size: 1.1rem !important; }

  /* 3 - CALIDAD EN TU JARDIN: un poco mas grande */
  .hero .hero__title { font-size: clamp(2.3rem, 9vw, 3rem) !important; }

  /* 5 y 6 - Todo lo que necesitas para tu proyecto: textos un toque mas grandes */
  .cat-section__title { font-size: 1.45rem !important; line-height: 1.25; }
  .cat-section__header .badge { font-size: 11px !important; }
  .cat-card__body h3 { font-size: 1rem !important; }
  .cat-card__body p { font-size: 13px !important; line-height: 1.45; }
  .cat-card__link { font-size: 12px !important; }
}

/* 4 - Logo del header 2px mas grande (todas las paginas) */
@media (max-width: 768px) {
  .header .header__logo img,
  header .header__logo img,
  .header__logo img { height: 28px !important; width: auto !important; }
}

/* v8 - salto de linea en el titulo de categorias (solo movil) */
@media (max-width: 768px) {
  .cat-section__title .mobile-br { display: block !important; }
}
