/* ============================================================
   MOBILE RESPONSIVE — responsive.css
   Ajustes específicos mobile-first para la Veeduría
   ============================================================ */

/* ── Secciones: padding reducido en móvil ──────────────── */
@media (max-width: 768px) {

  /* Espaciado general de secciones */
  section {
    padding: 3.5rem 0 !important;
  }

  .container {
    padding: 0 1rem;
  }

  /* ── NAVBAR ── */
  .nav-inner {
    padding: 0.75rem 1rem;
  }
  .nav-logo-text {
    font-size: 0.7rem;
    max-width: 140px;
  }
  .nav-logo img {
    width: 42px;
    height: 42px;
  }

  /* ── HERO ── */
  #inicio {
    min-height: 100svh; /* safe viewport height en móviles modernos */
  }
  .hero-content {
    grid-template-columns: 1fr;
    padding: 6rem 1rem 3rem;
    text-align: center;
    gap: 1.5rem;
  }
  .hero-left {
    order: 2;
  }
  .hero-visual {
    order: 1;
  }
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    margin-bottom: 0.8rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .hero-btns {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .logo-hero-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 1.5rem;
  }
  .stat-box {
    padding: 0.75rem 0.5rem;
  }
  .stat-num {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }

  /* ── TICKER ── */
  .news-ticker {
    padding: 0.5rem 0;
  }
  .ticker-label {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }
  .ticker-item {
    font-size: 0.75rem;
  }

  /* ── QUIÉNES SOMOS ── */
  .quienes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .quienes-img-wrap img {
    height: 260px;
    border-radius: 12px;
  }
  .quienes-badge-float {
    right: 0.5rem;
    bottom: -1rem;
    padding: 0.8rem 1rem;
  }
  .quienes-badge-float strong {
    font-size: 1.1rem;
  }
  .quienes-cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem !important;
  }
  .info-card {
    padding: 0.9rem;
  }
  .info-card h4 {
    font-size: 0.7rem;
  }
  .info-card p {
    font-size: 0.82rem;
  }

  /* ── OBJETIVO SOCIAL ── */
  .objetivo-quote {
    padding: 1.2rem 1.4rem;
    font-size: 0.95rem;
    margin: 1.5rem 0;
  }
  .actividades-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .actividad-item {
    padding: 1rem;
  }
  .actividad-num {
    font-size: 1.2rem;
  }

  /* ── NOTICIAS ── */
  .noticias-layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .noticia-featured {
    min-height: 300px;
    border-radius: 12px;
  }
  .noticia-featured-overlay h3 {
    font-size: 1.1rem;
  }
  .noticias-sidebar {
    gap: 0.9rem;
  }
  .noticia-card {
    padding: 0.8rem;
  }
  .noticia-card img {
    width: 70px;
    height: 60px;
  }
  .noticia-card-body h4 {
    font-size: 0.82rem;
  }

  /* ── JUNTA DIRECTIVA ── */
  .junta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .miembro-card {
    padding: 1.4rem 1rem;
  }
  .miembro-avatar {
    width: 58px;
    height: 58px;
    font-size: 1.2rem;
  }
  .miembro-nombre {
    font-size: 0.88rem;
  }
  .miembro-cargo {
    font-size: 0.65rem;
  }

  /* ── GALERÍA ── */
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 0.7rem;
  }
  .galeria-item:first-child {
    grid-row: auto;
  }

  /* ── PARTICIPAR ── */
  .participar-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .asociado-card {
    padding: 1.1rem;
  }
  .asociado-card h3 {
    font-size: 0.95rem;
  }
  .asociado-card p {
    font-size: 0.82rem;
  }
  .derechos-lista {
    gap: 0.6rem;
  }
  .derecho-item {
    font-size: 0.85rem;
  }

  /* ── TRANSPARENCIA ── */
  .trans-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .trans-card {
    padding: 1.3rem 1rem;
  }
  .trans-card h3 {
    font-size: 0.88rem;
  }
  .trans-card p {
    font-size: 0.78rem;
  }

  /* ── CONTACTO ── */
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contacto-item {
    padding: 0.85rem;
  }
  .contacto-item-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-input,
  .form-textarea,
  .form-select {
    font-size: 0.9rem;
    padding: 0.75rem 0.9rem;
  }

  /* ── FOOTER ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand img {
    width: 56px;
    height: 56px;
  }
  .footer-brand p {
    font-size: 0.82rem;
  }
  .footer-col h4 {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .footer-col li {
    margin-bottom: 0.5rem;
  }
  .footer-col a {
    font-size: 0.82rem;
  }
  .footer-bottom {
    font-size: 0.72rem;
    padding: 1rem;
    line-height: 1.6;
  }

  /* ── FLOTANTES más pequeños en móvil ── */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1.2rem;
    right: 1.2rem;
    font-size: 1.3rem !important;
  }
  .scroll-top {
    width: 38px;
    height: 38px;
    bottom: 1.2rem;
    left: 1.2rem;
    font-size: 0.9rem;
  }

  /* ── SECTION TITLES en móvil ── */
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .section-subtitle {
    font-size: 0.9rem;
  }

  /* ── BADGES ── */
  .badge {
    font-size: 0.65rem;
    padding: 0.28rem 0.75rem;
  }

  /* ── BOTONES en móvil ── */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.88rem;
  }
}

/* ── PANTALLAS MUY PEQUEÑAS (≤ 400px) ───────────────────── */
@media (max-width: 400px) {

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .stat-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 0.6rem 0.9rem;
  }
  .stat-num {
    font-size: 1.4rem;
  }

  .quienes-cards {
    grid-template-columns: 1fr;
  }

  .junta-grid {
    grid-template-columns: 1fr;
  }

  .trans-cards {
    grid-template-columns: 1fr;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .galeria-item {
    height: 200px;
  }

  .hero-title {
    font-size: 1.7rem;
  }
}

/* ── TABLET (769px – 1024px) ─────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {

  .hero-content {
    padding: 7rem 1.5rem 3rem;
    gap: 2rem;
  }
  .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .logo-hero-wrap {
    width: 220px;
    height: 220px;
  }

  .quienes-grid {
    gap: 2rem;
  }
  .quienes-img-wrap img {
    height: 380px;
  }

  .noticias-layout {
    grid-template-columns: 1.3fr 1fr;
  }

  .junta-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }

  .trans-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── MEJORAS DE ACCESIBILIDAD TÁCTIL ─────────────────────── */
@media (hover: none) and (pointer: coarse) {
  /* Aumentar área táctil de links y botones */
  .nav-link,
  .btn,
  .footer-col a,
  .noticia-card,
  .galeria-item {
    min-height: 44px;
  }

  /* Eliminar efectos hover que no aplican en táctil */
  .noticia-card:hover {
    transform: none;
  }
  .galeria-item:hover img {
    transform: none;
  }
  /* Mostrar caption de galería siempre en táctil */
  .galeria-caption {
    opacity: 1;
  }
}
