/* ============================================================
   RESPONSIVE — servicios.css
   ============================================================ */

@media (max-width: 992px) {

  /* Header */
  .top-header .inner { flex-wrap: wrap; gap: 12px; padding: 10px 16px; }
  .search-bar { order: 3; width: 100%; max-width: 100%; }
  .search-cat { width: 100%; }
  .search-input { flex: 1 1 auto; }

  /* Navbar */
  .navbar .inner { height: auto; min-height: 48px; flex-wrap: wrap; padding: 0; overflow: visible; }
  .nav-links { flex: 1 1 auto; flex-wrap: wrap; height: auto; }
  .nav-links a { height: 44px; font-size: 0.85rem; padding: 0 10px; }
  .nav-search-btn {
    width: 100%; margin-left: 0; border-left: none;
    border-top: 1px solid rgba(255,255,255,.08);
    justify-content: center; padding: 10px 16px; order: 10;
  }
  .nav-search-btn a { display: block; text-align: center; width: 100%; }

  /* Page */
  .page-wrapper { padding: 0 16px; margin: 20px auto 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .service-icon-wrap { height: 130px; }
  .service-icon { font-size: 44px; }
  .service-body { padding: 16px 16px 20px; }
  .service-title { font-size: 17px; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px 16px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Cookie bar */
  .cookie-bar { flex-wrap: wrap; gap: 10px; padding: 12px 16px; justify-content: flex-start; }
  .cookie-bar p { width: 100%; flex: none; text-align: left; }
  .cookie-actions { width: 100%; flex-wrap: wrap; gap: 8px; }
  .cookie-accept, .cookie-reject, .cookie-configure { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 768px) {

  /* Header */
  .top-header .inner { flex-direction: column; align-items: stretch; padding: 10px 14px; }
  .logo { justify-content: center; }
  .contact-info { justify-content: center; }
  .search-bar { flex-direction: column; display: none !important; }
  .search-cat, .search-input, .search-btn { width: 100%; }

  /* Navbar */
  .navbar .inner { height: auto; flex-direction: column; padding: 0; overflow: visible; }
  .nav-cat-dropdown { width: 100%; }
  .nav-cat-btn { width: 100%; height: 48px; justify-content: flex-start; }
  .nav-cat-menu {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    width: 100vw;
    min-width: unset;
    border-radius: 0;
    z-index: 1001;
  }
  .nav-links { flex-direction: column; width: 100%; height: auto; }
  .nav-links a { width: 100%; height: 44px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; }
  .nav-links a::after { display: none; }
  .nav-search-btn { width: 100%; margin-left: 0; padding: 12px 16px; order: 10; justify-content: center; border-top: 1px solid rgba(255,255,255,.1); border-left: none; }
  .nav-search-btn a { display: block; width: 100%; text-align: center; white-space: normal; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.8rem; flex-wrap: wrap; gap: 4px; }
  .section-header h1 { font-size: 1.5rem; }
  .section-header p  { font-size: 0.88rem; }

  /* Page */
  .page-wrapper { padding: 0 14px; margin: 14px auto 28px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Cards horizontales */
  .service-card { flex-direction: row; align-items: flex-start; }
  .service-icon-wrap { height: 90px; min-width: 90px; flex: 0 0 90px; }
  .service-icon { font-size: 36px; }
  .service-body { padding: 14px 14px 14px 0; }
  .service-title { font-size: 15px; margin-bottom: 6px; }
  .service-desc  { font-size: 12.5px; }
  .service-link  { font-size: 12px; margin-top: 10px; }

  /* Feature strip */
  .feature-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; }
  .feature-item { padding: 16px 10px; gap: 8px; flex-direction: column; align-items: center; text-align: center; }
  .feature-item i { font-size: 1.6rem; }
  .feature-item strong { font-size: 0.95rem; }
  .feature-item p { font-size: 0.8rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 20px; padding: 24px 14px; }
  .footer-brand { grid-column: auto; }
  .copy-inner { flex-direction: column; gap: 12px; text-align: center; padding: 0 14px; }
  .social-links { justify-content: center; }

  /* Cookie bar */
  .cookie-bar { flex-direction: column; gap: 10px; text-align: center; padding: 14px; }
  .cookie-actions { flex-direction: column; width: 100%; }
  .cookie-accept, .cookie-reject, .cookie-configure { width: 100%; }
}

@media (max-width: 480px) {

  .logo-text { font-size: 0.95rem; }
  .logo-icon img { width: 38px; height: 38px; }

  /* Cards apiladas */
  .service-card { flex-direction: column; }
  .service-icon-wrap { height: 100px; min-width: auto; flex: none; width: 100%; }
  .service-icon { font-size: 40px; }
  .service-body { padding: 14px; }

  /* Feature strip: 1 col */
  .feature-strip { grid-template-columns: 1fr; }
  .feature-item { flex-direction: row; text-align: left; gap: 12px; padding: 14px; align-items: center; }
  .feature-item i { font-size: 24px; }

  .footer-logo { flex-direction: column; gap: 8px; }
  .footer-logo-icon img { width: 40px; height: 40px; }
}
