/* =============================================
   HOME REDESIGN - Visual Monte Santo Premium
   ============================================= */

.header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #166534 0%, #15803d 50%, #14532d 100%) !important;
  background-size: 100% 100% !important;
  animation: none !important;
  backdrop-filter: blur(10px);
  padding: 0.4rem 0 !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header .container {
  padding: 0 1rem !important;
}

.header .header-top {
  padding: 0 !important;
}

.header .logo {
  width: 40px !important;
  height: 40px !important;
}

.header .brand-text h1 {
  font-size: 0.95rem !important;
}

.header .brand-text p,
.header .brand-text .subtitle {
  font-size: 0.7rem !important;
}

.header .btn-login {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.header .btn-login:hover {
  background: rgba(255,255,255,0.25) !important;
}

.hero {
  position: relative !important;
  min-height: auto !important;
  height: auto !important;
  background: none !important;
  padding: 0 !important;
  margin-top: 60px !important;
  overflow: visible !important;
}

.hero .hero-background {
  display: none !important;
}

.hero .container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero .hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 0 !important;
  gap: 0 !important;
  max-width: 100% !important;
}

.hero-top-visual {
  position: relative;
  width: 100%;
  min-height: 420px;
  background-image: url('images/monte-santo-praca.jpeg');
  background-color: #1a4a1a;
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-top-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.1);
  z-index: 0;
}

.hero-top-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(20, 60, 20, 0.98) 0%, rgba(30, 70, 25, 0.85) 30%, rgba(40, 80, 30, 0.4) 55%, transparent 100%);
  z-index: 1;
}

.hero-top-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding: 0 1.5rem 0;
  gap: 0.5rem;
}

.hero-foto-vereador {
  flex-shrink: 0;
  width: 220px;
  margin-bottom: -5px;
  filter: drop-shadow(0 8px 25px rgba(0,0,0,0.5)) drop-shadow(0 2px 10px rgba(0,0,0,0.3));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-foto-vereador img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: contrast(1.05) brightness(1.02);
}

.hero-texto-info {
  flex: 1;
  padding-bottom: 1.5rem;
}

.hero-texto-info .nome-vereador {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  text-shadow: 2px 3px 6px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.3);
  margin: 0;
  letter-spacing: -0.5px;
}

.hero-texto-info .nome-vereador .nome-amarelo {
  color: #fbbf24;
  font-style: italic;
  font-weight: 700;
}

.hero-texto-info .nome-vereador .nome-destaque {
  display: block;
  font-size: 2.6rem;
  letter-spacing: -0.5px;
}

.hero-texto-info .cargo-vereador {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0.4rem 0;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
}

.hero-texto-info .cargo-vereador .bullet-sep {
  color: #fbbf24;
  margin: 0 0.15rem;
}

.hero-texto-info .slogan-vereador {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin: 0.3rem 0 0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  line-height: 1.4;
}

/* =============================================
   BUTTONS AREA - Premium Modern
   ============================================= */

.hero-buttons-categorias {
  width: 100%;
  background:
    linear-gradient(160deg, #0f3d1e 0%, #145228 20%, #1a6b33 45%, #17593a 70%, #0f3d1e 100%);
  padding: 1.5rem 1rem 1.8rem;
  position: relative;
  overflow: hidden;
}

.hero-buttons-categorias::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, rgba(34,197,94,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 85% 80%, rgba(16,185,129,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 50%, rgba(251,191,36,0.06) 0%, transparent 60%),
    radial-gradient(circle 200px at 30% 70%, rgba(255,255,255,0.03) 0%, transparent 100%),
    radial-gradient(circle 200px at 70% 30%, rgba(255,255,255,0.03) 0%, transparent 100%);
  z-index: 0;
}

.hero-buttons-categorias::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.15) 0%, transparent 15%, transparent 85%, rgba(0,0,0,0.15) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, transparent 10%, transparent 90%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
  z-index: 0;
}

.categoria-titulo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.2rem 0 0.8rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.categoria-titulo:first-child {
  margin-top: 0;
}

.categoria-titulo::before,
.categoria-titulo::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,0.5), rgba(255,255,255,0.3), rgba(251,191,36,0.5), transparent);
}

.categoria-botoes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.cat-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  line-height: 1.15;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.18),
    0 2px 8px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cat-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s;
}

.cat-btn:hover::after {
  left: 100%;
}

.cat-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.25),
    0 4px 12px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.cat-btn:active {
  transform: translateY(0) scale(0.98);
}

.cat-btn i {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
}

.btn-recursos { background: linear-gradient(135deg, #166534, #22c55e); color: white; }
.btn-fale { background: linear-gradient(135deg, #15803d, #22c55e); color: white; }
.btn-projetos { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #1a1a1a; }
.btn-projetos i { background: rgba(0,0,0,0.1); }

.btn-parcerias { background: #ffffff; color: #1a1a1a; }
.btn-parcerias i { background: rgba(22,163,74,0.12); color: #16a34a; }
.btn-empreendedorismo { background: linear-gradient(135deg, #7c3aed, #a78bfa); color: white; }
.btn-saude { background: linear-gradient(135deg, #f97316, #fb923c); color: white; }
.btn-esporte { background: linear-gradient(135deg, #f9c200, #fbbf24); color: #1a1a1a; }
.btn-esporte i { background: rgba(0,0,0,0.1); }
.btn-instalar { background: linear-gradient(135deg, #15803d, #22c55e); color: white; }
.btn-transparencia { background: linear-gradient(135deg, #8b5cf6, #a78bfa); color: white; }

.btn-assistente { background: linear-gradient(135deg, #f9c200, #fbbf24); color: #1a1a1a; }
.btn-assistente i { background: rgba(0,0,0,0.1); }
.btn-trabalho { background: #ffffff; color: #1a1a1a; }
.btn-trabalho i { background: rgba(22,101,52,0.12); color: #166534; }
.btn-mandato { background: #ffffff; color: #1a1a1a; }
.btn-mandato i { background: rgba(22,163,74,0.12); color: #16a34a; }
.btn-associacoes { background: linear-gradient(135deg, #0d9488, #14b8a6); color: white; }
.btn-portal-fe { background: #ffffff; color: #1a1a1a; }
.btn-portal-fe i { background: rgba(245,158,11,0.12); color: #f59e0b; }
.btn-suporte { background: linear-gradient(135deg, #0d9488, #14b8a6); color: white; }

/* =============================================
   BOTTOM NAV
   ============================================= */

.bottom-nav {
  width: 100%;
  background: linear-gradient(135deg, #166534 0%, #15803d 50%, #14532d 100%);
  padding: 0.7rem 0.5rem;
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.bottom-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  color: #fbbf24;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bottom-nav-btn:hover {
  color: #fff;
}

.bottom-nav-btn i {
  font-size: 0.85rem;
}

/* =============================================
   HIDE OLD ELEMENTS
   ============================================= */

.hero .hero-image,
.hero .foto-vereador,
.hero .hero-text,
.hero .hero-actions,
.hero .hero-text h2,
.hero .hero-text p,
.hero .vereador-nome {
  display: none !important;
}

.navigation#navigation {
  display: none !important;
}

.main-content {
  padding-top: 0 !important;
}

/* =============================================
   FOOTER - Modern Green
   ============================================= */

.footer {
  background: linear-gradient(135deg, #166534 0%, #15803d 50%, #14532d 100%) !important;
  animation: none !important;
  background-size: 100% 100% !important;
  margin-top: 2rem !important;
  padding: 2.5rem 0 1rem !important;
}

.footer-section h4 {
  color: #fbbf24 !important;
}

.social-links a {
  background: #fbbf24 !important;
  color: #166534 !important;
}

.social-links a:hover {
  background: #fde68a !important;
}

.footer-links a:hover {
  color: #fbbf24 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15) !important;
}

.acesso-vereador-footer:hover {
  color: rgba(255,255,255,0.8) !important;
}

/* =============================================
   SECTION HEADERS - Premium Green with White Text
   ============================================= */

.section-header {
  background: linear-gradient(135deg, #166534, #15803d, #14532d) !important;
  padding: 1.8rem 2rem !important;
  border-radius: 16px !important;
  margin-bottom: 2.5rem !important;
  position: relative;
  overflow: hidden;
}

.section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 300px 200px at 10% 50%, rgba(34,197,94,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 250px 150px at 90% 50%, rgba(251,191,36,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.section-header h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-size: 1.8rem !important;
  position: relative;
  z-index: 1;
}

.section-header h2 i {
  color: #fbbf24;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.section-header p {
  color: rgba(255,255,255,0.85) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}

/* =============================================
   DESKTOP (769px+)
   ============================================= */

@media (min-width: 769px) {
  .hero {
    margin-top: 70px !important;
  }

  .hero-top-visual {
    min-height: 500px;
  }

  .hero-top-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 0;
    gap: 1rem;
  }

  .hero-foto-vereador {
    width: 280px;
  }

  .hero-texto-info .nome-vereador {
    font-size: 3rem;
  }

  .hero-texto-info .nome-vereador .nome-destaque {
    font-size: 3.4rem;
  }

  .hero-texto-info .cargo-vereador {
    font-size: 1.2rem;
  }

  .hero-texto-info .slogan-vereador {
    font-size: 1rem;
  }

  .hero-buttons-categorias {
    padding: 1.5rem 2rem 2rem;
  }

  .categoria-botoes {
    max-width: 800px;
    margin: 0 auto;
    gap: 0.7rem;
  }

  .cat-btn {
    padding: 1rem 1.1rem;
    font-size: 0.9rem;
    border-radius: 18px;
  }

  .cat-btn i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 12px;
  }

  .categoria-titulo {
    font-size: 1.3rem;
  }

  .categoria-titulo::before,
  .categoria-titulo::after {
    max-width: 100px;
  }

  .bottom-nav {
    max-width: 800px;
    margin: 0 auto;
  }

  .bottom-nav-btn {
    font-size: 0.8rem;
    gap: 0.4rem;
  }
}

/* =============================================
   TABLET (max 600px)
   ============================================= */

@media (max-width: 600px) {
  .categoria-botoes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   SMALL MOBILE (max 400px)
   ============================================= */

@media (max-width: 400px) {
  .hero-top-visual {
    min-height: 320px;
  }

  .hero-foto-vereador {
    width: 150px;
  }

  .hero-texto-info .nome-vereador {
    font-size: 1.4rem;
  }

  .hero-texto-info .nome-vereador .nome-destaque {
    font-size: 1.7rem;
  }

  .hero-texto-info .cargo-vereador {
    font-size: 0.85rem;
  }

  .cat-btn {
    padding: 0.75rem 0.65rem;
    font-size: 0.75rem;
    gap: 0.5rem;
  }

  .cat-btn i {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .categoria-titulo {
    font-size: 0.95rem;
  }

  .bottom-nav-btn {
    font-size: 0.6rem;
    gap: 0.2rem;
    padding: 0.2rem;
  }

  .bottom-nav-btn i {
    font-size: 0.75rem;
  }
}

/* =============================================
   MOBILE RESPONSIVE FIX (max 768px)
   ============================================= */

@media (max-width: 768px) {

  /* ---- FIX 3: SCROLL & OVERFLOW ---- */
  html {
    scroll-behavior: smooth;
    overflow-x: clip !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
  }

  body {
    overflow-x: clip !important;
    overflow-y: visible !important;
    height: auto !important;
    min-height: 100% !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    position: static !important;
  }

  /* ---- FIX 1: HEADER ALWAYS ON TOP ---- */
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9990 !important;
    padding: 0.4rem 0 !important;
    height: auto !important;
  }

  .header .container {
    padding: 0 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 0.3rem !important;
  }

  .header .logo {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
  }

  .header .brand-text {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .header .brand-text h1 {
    font-size: 0.7rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .header .brand-text p,
  .header .brand-text .subtitle {
    display: none !important;
  }

  .header .btn-login {
    font-size: 0.65rem !important;
    padding: 0.3rem 0.5rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    order: 2 !important;
  }

  .mobile-menu-toggle {
    flex-shrink: 0 !important;
    order: 3 !important;
    width: 36px !important;
    height: 36px !important;
    z-index: 9999 !important;
  }

  /* ---- FIX 1+2: HERO BELOW HEADER ---- */
  .hero {
    margin-top: 70px !important;
    min-height: auto !important;
    height: auto !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 1 !important;
  }

  /* ---- FIX 2: HERO VISUAL - SHOW THE PRAÇA ---- */
  .hero-top-visual {
    min-height: 290px !important;
    max-height: 370px !important;
    height: 70vw !important;
    background-position: center 25% !important;
    background-size: cover !important;
    align-items: flex-end !important;
    position: relative !important;
    overflow: visible !important;
  }

  /* Sombra leve no topo para contrastar com o header */
  .hero-top-visual::before {
    height: 25% !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 100%) !important;
    z-index: 0 !important;
  }

  /* Gradiente inferior bem mais suave — não cobre o vereador */
  .hero-top-visual::after {
    height: 60% !important;
    background: linear-gradient(
      to top,
      rgba(10, 40, 10, 0.88) 0%,
      rgba(20, 55, 20, 0.65) 30%,
      rgba(30, 65, 25, 0.25) 60%,
      transparent 100%
    ) !important;
    z-index: 1 !important;
  }

  /* ---- VEREADOR PHOTO - LEFT CORNER, FLOATS ---- */
  .hero-top-inner {
    flex-direction: row !important;
    align-items: flex-end !important;
    padding: 0 0.5rem !important;
    gap: 0.5rem !important;
    z-index: 3 !important;
  }

  .hero-foto-vereador {
    width: 115px !important;
    flex-shrink: 0 !important;
    margin-bottom: -2px !important;
    order: 0 !important;
    align-self: flex-end !important;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.7)) drop-shadow(0 2px 6px rgba(0,0,0,0.5)) brightness(1.08) !important;
    animation: heroFloat 4s ease-in-out infinite !important;
  }

  /* ---- NAME & TEXT - BRIGHT AND READABLE ---- */
  .hero-texto-info {
    flex: 1 !important;
    padding-bottom: 0.8rem !important;
    text-align: center !important;
    order: 1 !important;
    z-index: 3 !important;
  }

  .hero-texto-info .nome-vereador {
    font-size: 1.45rem !important;
    text-align: center !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    text-shadow:
      2px 2px 0 rgba(0,0,0,0.9),
      0 4px 12px rgba(0,0,0,0.8),
      0 0 30px rgba(0,0,0,0.6) !important;
  }

  .hero-texto-info .nome-vereador .nome-destaque {
    font-size: 1.75rem !important;
    color: #fbbf24 !important;
    text-shadow:
      1px 1px 0 rgba(0,0,0,0.9),
      0 3px 10px rgba(0,0,0,0.8) !important;
  }

  .hero-texto-info .cargo-vereador {
    font-size: 0.82rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 0 rgba(0,0,0,1), 0 2px 8px rgba(0,0,0,0.9) !important;
    letter-spacing: 0.02em !important;
  }

  .hero-texto-info .slogan-vereador {
    font-size: 0.72rem !important;
    color: rgba(255,255,255,0.9) !important;
    line-height: 1.35 !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.8) !important;
  }

  /* ---- BUTTONS AREA ---- */
  .hero-buttons-categorias {
    padding: 1rem 0.75rem 1.2rem !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .categoria-botoes {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .categoria-titulo {
    font-size: 0.95rem !important;
    margin: 0.8rem 0 0.5rem !important;
  }

  .categoria-titulo:first-child {
    margin-top: 0 !important;
  }

  .cat-btn {
    padding: 0.7rem 0.6rem !important;
    font-size: 0.75rem !important;
    border-radius: 12px !important;
    gap: 0.5rem !important;
  }

  .cat-btn i {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
  }

  /* ---- BOTTOM NAV ---- */
  .bottom-nav {
    position: relative !important;
    width: 100% !important;
    padding: 0.5rem 0.3rem !important;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px)) !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 0 !important;
    z-index: 3 !important;
  }

  .bottom-nav-btn {
    font-size: 0.65rem !important;
    padding: 0.3rem 0.2rem !important;
    gap: 0.15rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .bottom-nav-btn i {
    font-size: 0.75rem !important;
  }

  /* ---- FIX 3: CONTENT SECTIONS - CLEAR BOUNDARIES ---- */
  .main-content {
    padding: 0.5rem 0 !important;
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .content-section {
    padding: 1.5rem 1rem !important;
    margin: 0 0.5rem 1rem !important;
    border-radius: 16px !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    position: relative !important;
  }

  .section-header {
    padding: 1.2rem 1rem !important;
    margin-bottom: 1.5rem !important;
    border-radius: 12px !important;
  }

  .section-header h2 {
    font-size: 1.3rem !important;
    gap: 0.5rem !important;
  }

  .section-header p {
    font-size: 0.85rem !important;
  }

  /* ---- CARDS ---- */
  .mandatos-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .mandato-card {
    padding: 1.2rem !important;
    border-radius: 14px !important;
  }

  .mandato-icon {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
  }

  .mandato-title {
    font-size: 1.05rem !important;
  }

  .mandato-description {
    font-size: 0.85rem !important;
  }

  .mandato-stats {
    gap: 1rem !important;
  }

  .mandato-stats .stat-number {
    font-size: 1rem !important;
  }

  .projects-grid,
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .project-card,
  .news-card,
  .contact-card {
    padding: 1.2rem !important;
    border-radius: 14px !important;
  }

  /* ---- FOOTER ---- */
  .footer {
    padding: 1.5rem 0.5rem 0.5rem !important;
    margin-top: 1rem !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .footer .container {
    padding: 0 0.75rem !important;
  }

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

  .footer-section h4 {
    font-size: 1rem !important;
  }

  /* ---- WHATSAPP FLOAT ---- */
  .whatsapp-float {
    bottom: 15px !important;
    right: 10px !important;
    z-index: 999 !important;
  }

  .whatsapp-float a {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.3rem !important;
  }

  /* ---- FIX 3: KILL ALL 100vh TRAPS ON MOBILE ---- */
  .sidebar {
    height: auto !important;
  }

  #main-content,
  .main-content,
  .content-area {
    min-height: auto !important;
  }
}
