/* ====================================================
   ING HOUSE COLOMBIA — Responsive Global
   Mobile-first · No cambios a desktop
   ==================================================== */

/* ── BASE: overflow prevention ── */
html, body {
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── TABLET (≤ 900px) ── */
@media (max-width: 900px) {

  /* Layout */
  .container {
    padding: 0 24px;
  }

  section {
    padding: 60px 0;
  }

  /* Typography */
  h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
  h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
  h3 { font-size: 1.1rem; }

  /* Grids → 2 columnas */
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Cards */
  .card { padding: 24px; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0 28px;
  }

  /* ── NAVBAR GLOBAL (navbar.css pages) ── */
  .navbar-global {
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .navbar-links {
    display: none !important;
  }
  /* Show hamburger button */
  .nav-hamburger {
    display: flex !important;
  }

  /* ── HERO (index) ── */
  .hero-bg-section {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }
  .hero-bg-img {
    background-position: center top;
    background-size: cover;
    min-height: 260px;
    position: relative;
  }
  .hero-content {
    padding: 40px 24px 36px;
    max-width: 100%;
  }
  .hero-h1 { font-size: 36px; }
  .hero-acts {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-stats {
    position: relative;
    right: auto; bottom: auto;
    margin: 0 24px 32px;
    width: auto;
  }

  /* ── COMO FUNCIONA ── */
  .cf-hero { padding: 48px 24px 36px; }
  .cf-hero h1 { font-size: 32px; }
  .cf-steps-inner { padding: 0 24px; }
  .step-card,
  .step-card.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 0;
  }
  .step-img { height: 220px; }
  .step-body,
  .step-card.reverse .step-body { padding: 28px 24px; }
  .cf-section-title { font-size: 26px; }
  .cf-cta h2 { font-size: 28px; }

  /* ── QUE REVISAMOS ── */
  .qr-grid { grid-template-columns: 1fr 1fr; }
  .qr-title { font-size: 26px; }

  /* ── PAGE HERO (páginas internas) ── */
  .page-hero { padding: 90px 0 56px; }
  .page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }

  /* ── REVIEW ITEMS ── */
  .review-section-header { padding: 14px 16px; }
  .review-item { padding: 12px 16px; }

  /* ── STATS ROW ── */
  .hero-stats-row { grid-template-columns: 1fr 1px 1fr; }
}


/* ── MOBILE (≤ 540px) ── */
@media (max-width: 540px) {

  /* Layout */
  .container { padding: 0 16px; }
  section { padding: 48px 0; }

  /* Typography */
  h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); line-height: 1.15; }
  h2 { font-size: clamp(1.25rem, 5vw, 1.6rem); }
  h3 { font-size: 1rem; }
  p  { font-size: 0.9rem; }

  /* Grids → 1 columna */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }

  /* Buttons → full width */
  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.9rem;
  }
  .btn-lg { padding: 15px 20px; font-size: 0.95rem; }

  /* Button groups → stack */
  div[style*="display:flex"][style*="gap"] {
    flex-direction: column;
    align-items: stretch !important;
  }

  /* Cards */
  .card { padding: 18px; }
  .icon-box { width: 44px; height: 44px; font-size: 1.2rem; }

  /* ── NAVBAR ── */
  .navbar-global {
    padding: 12px 16px;
  }
  .navbar-cta {
    display: none !important;
  }

  /* ── HERO ── */
  .hero-bg-img { min-height: 200px; }
  .hero-content { padding: 32px 16px 28px; }
  .hero-h1 { font-size: 30px; }
  .hero-body { font-size: 14px; }
  .hero-acts { flex-direction: column; gap: 10px; }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
    display: block;
  }
  .hero-stats { margin: 0 16px 28px; }
  .hero-stat-num { font-size: 34px; }

  /* ── COMO FUNCIONA ── */
  .cf-hero { padding: 36px 16px 28px; }
  .cf-hero h1 { font-size: 26px; }
  .cf-hero-sub { font-size: 14px; }
  .step-img { height: 190px; }
  .step-body,
  .step-card.reverse .step-body { padding: 22px 16px; }
  .step-title { font-size: 18px; }
  .step-desc { font-size: 13.5px; }
  .cf-section-title { font-size: 22px; }
  .cf-cta { padding: 56px 16px; }
  .cf-cta h2 { font-size: 24px; }
  .cf-cta-btn { width: 100%; text-align: center; }
  .cf-faq-inner { padding: 0 16px; }
  .faq-q { font-size: 14px; }

  /* ── QUE REVISAMOS ── */
  .qr-grid { grid-template-columns: 1fr; }
  .qr-title { font-size: 22px; }
  .qr-subtitle { font-size: 13px; }
  .qr-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .qr-cta a { width: 100%; text-align: center; }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    display: block;
    box-sizing: border-box;
  }

  /* ── PAGE HERO (internas) ── */
  .page-hero { padding: 80px 0 44px; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .page-hero p { font-size: 0.9rem; }
  .page-hero div[style*="display:flex"] {
    flex-direction: column;
    align-items: stretch;
  }

  /* ── REVIEW ITEMS ── */
  .review-section-header { gap: 10px; padding: 12px 14px; }
  .review-section-header h3 { font-size: 0.95rem; }
  .review-item { gap: 10px; padding: 10px 14px; }
  .ri-body h4 { font-size: 0.88rem; }
  .ri-body p { font-size: 0.8rem; }

  /* ── FOOTER ── */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 20px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.78rem;
  }
  .footer-simple {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 24px 16px;
    font-size: 12px;
  }

  /* ── FAQ ── */
  .faq-q { padding: 16px 0; }
  .faq-a { font-size: 13px; }

  /* ── WA FAB ── */
  .wa-fab { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .wa-fab svg { width: 24px; height: 24px; }
  .wa-fab-label { display: none; }
}

/* ── HAMBURGER BUTTON (navbar-global pages) ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── MOBILE MENU DRAWER (navbar-global pages) ── */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 73px; /* height of navbar-global */
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid #EEEEEC;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-nav-drawer.open {
  display: flex;
}
.mobile-nav-drawer a {
  color: #444;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 11px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active {
  background: #F9F9F7;
  color: #111;
}
.mobile-nav-drawer .drawer-cta {
  margin-top: 8px;
  background: #F8B000;
  color: #111 !important;
  font-weight: 700 !important;
  text-align: center;
  border-radius: 8px;
}
