/* ============================================================
   RESPONSIVE — telecomunicaciones.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%; }

  /* Operadores */
  .operators-container { padding: 32px 20px; }
  .operators-grid { gap: 20px; }
  .operator-card { width: 170px; }
  .operator-logo { width: 160px; height: 160px; }
  .logo-digi .brand-text    { font-size: 52px; }
  .logo-masmovil .brand-text { font-size: 30px; }
  .logo-pepephone .pepe-line1,
  .logo-pepephone .pepe-line2 { font-size: 42px; }
  .logo-jazztel .brand-text { font-size: 42px; }
  .logo-lowi .brand-text    { font-size: 58px; }

  /* 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; }

  /* Page */
  .page-wrapper { padding: 0 14px; margin: 14px auto 28px; }
  .breadcrumb { font-size: 0.8rem; flex-wrap: wrap; gap: 4px; }
  .section-header h1 { font-size: 1.5rem; }
  .section-header p  { font-size: 0.88rem; }

  /* Operadores: 2 por fila */
  .operators-container { padding: 20px 14px; margin-top: 14px; }
  .operators-grid { gap: 14px; justify-content: center; }
  .operator-card { width: calc(50% - 7px); max-width: 180px; }
  .operator-logo { width: 100%; height: 120px; border-radius: 8px; }
  .operator-name { font-size: 14px; }
  .logo-digi .brand-text    { font-size: 38px; }
  .logo-masmovil .brand-text { font-size: 22px; }
  .logo-pepephone .pepe-line1,
  .logo-pepephone .pepe-line2 { font-size: 30px; }
  .logo-jazztel .brand-text { font-size: 30px; }
  .logo-lowi .brand-text    { font-size: 44px; }
  .logo-lowi .lowi-dot      { width: 14px; height: 14px; }

  /* 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; }

  .operators-grid { gap: 10px; }
  .operator-card { width: calc(50% - 5px); }
  .operator-logo { height: 100px; }
  .operator-name { font-size: 12px; }
  .logo-digi .brand-text    { font-size: 30px; }
  .logo-masmovil .brand-text { font-size: 18px; }
  .logo-pepephone .pepe-line1,
  .logo-pepephone .pepe-line2 { font-size: 24px; }
  .logo-jazztel .brand-text { font-size: 24px; }
  .logo-lowi .brand-text    { font-size: 34px; }

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