@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ─── Variables ─────────────────────────────────────────── */
:root {
  /* Brand */
  --navy:        #0D1B3E;
  --navy-mid:    #162650;
  --navy-deep:   #080F22;
  --orange:      #F97316;
  --orange-dark: #E05E05;
  --orange-soft: rgba(249,115,22,0.12);
  --success:     #22C55E;
  --blue-badge:  #3B82F6;

  /* Light theme (body) */
  --body-bg:     #EEF2FA;
  --surface:     #FFFFFF;
  --surface-2:   #F4F7FD;
  --border:      #DDE4F0;
  --text-1:      #0D1B3E;
  --text-2:      #4A5978;
  --text-3:      #8A96B0;

  /* Typography */
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 4px rgba(13,27,62,0.07), 0 2px 12px rgba(13,27,62,0.05);
  --shadow:    0 4px 20px rgba(13,27,62,0.10);
  --shadow-lg: 0 8px 40px rgba(13,27,62,0.14);
  --transition: 0.22s ease;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--body-bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Utilities ──────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-tag {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
  line-height: 1.25;
}
.section-subtitle { font-size: 0.9rem; color: var(--text-2); }
.section-header { margin-bottom: 28px; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}
.view-all {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  transition: var(--transition);
  white-space: nowrap;
}
.view-all:hover { opacity: 0.75; }

.accent { color: var(--orange); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(249,115,22,0.35); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--navy); background: var(--surface-2); }

.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-outline-orange:hover { background: var(--orange); color: #fff; }

.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1aab54; transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

.btn-sm  { padding: 7px 14px; font-size: 0.78rem; }
.btn-lg  { padding: 13px 30px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Badges ─────────────────────────────────────────────── */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(59,130,246,0.1);
  color: var(--blue-badge);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.badge-247 {
  display: inline-flex;
  align-items: center;
  background: rgba(249,115,22,0.1);
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.badge-new {
  background: rgba(34,197,94,0.12);
  color: var(--success);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, #0E1D42, #0A1730);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.navbar.scrolled {
  background: #0D1B3E;
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  flex: 1;
  text-decoration: none;
}
.nav-logo {
  height: 118px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.5));
}
.nav-brand-text { display: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 7px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
  transition: var(--transition);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.09); }
.nav-link.active { color: var(--orange); font-weight: 600; }

.nav-actions { display: flex; align-items: center; flex: 1; justify-content: flex-end; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.85); border-radius: 2px; transition: var(--transition); }

/* ─── Mobile menu ────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: #0D1B3E;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 24px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { color: rgba(255,255,255,0.8); font-size: 0.92rem; padding: 11px 14px; }
.mobile-menu .nav-link.active { color: var(--orange); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
  background: #0D1B4B;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../HERO IMAGE NEW.png');
  /* auto width, fills 100% of hero height — no blue strips */
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
}
/* True navy on the left, clean fade to transparent */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,27,75,1.00)  0%,
    rgba(13,27,75,1.00)  28%,
    rgba(13,27,75,0.85)  42%,
    rgba(13,27,75,0.30)  60%,
    rgba(13,27,75,0.00)  76%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  /* padding defines the hero height — image scales to match */
  padding: 56px 0 32px;
}
.hero-content { max-width: 760px; }

/* Plain orange uppercase eyebrow — no pill */
.hero-eyebrow {
  display: block;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 28px;
  color: #fff;
}
.hero-subtitle {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.65;
}

/* Clean white search card */
.hero-search {
  background: #fff;
  border-radius: 50px;
  padding: 10px 10px 10px 24px;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
  margin-bottom: 28px;
}

/* Location field — slightly larger share */
.hero-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hero-search-field:first-child { flex: 1.3; }

.search-field-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.search-field-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.search-field-label {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  line-height: 1.2;
}
.hero-search-field input,
.hero-search-field select {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-3);
  font-family: 'Poppins', sans-serif;
  font-size: 0.80rem;
  outline: none;
  width: 100%;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-search-field input::placeholder { color: var(--text-3); }
.hero-search-field select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  width: auto;
  align-self: flex-start; /* don't stretch — stay as wide as the text */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A96B0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0px center;
  padding-right: 16px;
}
.hero-search-field select option { background: #fff; color: var(--text-1); }

/* Divider — tighter margins so fields feel closer */
.hero-search-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 18px;
}

/* Button — a touch more padding, stays pill-shaped */
.hero-search-btn { flex-shrink: 0; }
.hero-search-btn .btn {
  border-radius: 50px;
  padding: 15px 32px;
  font-size: 0.90rem;
  gap: 8px;
  white-space: nowrap;
}

/* Hero trust badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.hero-trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* Hero sidebar stats (hidden on mobile) */
.hero-side {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  flex-shrink: 0;
}
.hero-side-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  line-height: 1.4;
}
.hero-side-stats { display: flex; flex-direction: column; gap: 16px; }
.hero-side-stat {}
.hero-side-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 2px;
}
.hero-side-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.hero-side-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 4px 0; }

/* ─── Autocomplete dropdown ──────────────────────────────── */
.location-dropdown {
  /* Mounted at body level — true floating overlay, zero layout impact */
  position: fixed;
  z-index: 9999;
  /* top / left / width set by JS via getBoundingClientRect */
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid var(--border);
  box-shadow: 0 12px 40px rgba(13,27,62,0.18), 0 2px 8px rgba(13,27,62,0.08);
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;       /* stop wheel events leaking to page */
  -webkit-overflow-scrolling: touch;  /* smooth momentum scroll on iOS */
  opacity: 0;
  transform: translateY(-6px) scale(0.99);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.location-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.location-dropdown::-webkit-scrollbar { width: 4px; }
.location-dropdown::-webkit-scrollbar-track { background: transparent; }
.location-dropdown::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.dropdown-group-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 5px;
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid var(--border);
}
.dropdown-group-label:first-child { border-top: none; padding-top: 12px; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.12s ease;
  border-radius: 0;
}
.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(249,115,22,0.07);
}
.dropdown-item.active { background: rgba(249,115,22,0.11); }

.dropdown-item-icon { font-size: 0.9rem; flex-shrink: 0; line-height: 1; }

.dropdown-item-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-1);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Highlighted match characters */
.dropdown-item-name mark {
  background: none;
  color: var(--orange);
  font-weight: 700;
}
.dropdown-item-state {
  font-size: 0.72rem;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
}
.dropdown-item-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-estado {
  background: rgba(13,27,62,0.07);
  color: var(--navy);
}
.badge-ciudad {
  background: rgba(249,115,22,0.10);
  color: var(--orange);
}
.dropdown-empty {
  padding: 18px 16px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ─── Light body sections ─────────────────────────────────── */
.section { padding: 56px 0; }
.section--categories { background: var(--surface-2); }

/* ─── Service categories ─────────────────────────────────── */
.categories-scroll {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 22px 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  flex: 1;
  box-shadow: 0 2px 10px rgba(13,27,62,0.07);
}
.cat-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(249,115,22,0.18), 0 2px 8px rgba(13,27,62,0.06);
  transform: translateY(-4px);
}
.cat-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
  transition: var(--transition);
  color: var(--orange);
}
.cat-icon-wrap svg { width: 28px; height: 28px; flex-shrink: 0; }
.cat-card:hover .cat-icon-wrap { background: var(--orange); color: #fff; }
.cat-name { font-size: 0.86rem; font-weight: 700; color: var(--text-1); line-height: 1.3; }
.cat-count { font-size: 0.74rem; color: var(--text-3); margin-top: 4px; font-weight: 500; }

/* ─── Main content layout ────────────────────────────────── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

/* ─── Card entrance animation ─────────────────────────────── */
@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Company cards (horizontal) ─────────────────────────── */
.cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

/* Staggered entrance for first 20 cards */
.company-card { animation: cardSlideIn 0.38s ease both; }
.company-card:nth-child(1)  { animation-delay: 0.04s; }
.company-card:nth-child(2)  { animation-delay: 0.08s; }
.company-card:nth-child(3)  { animation-delay: 0.12s; }
.company-card:nth-child(4)  { animation-delay: 0.16s; }
.company-card:nth-child(5)  { animation-delay: 0.20s; }
.company-card:nth-child(6)  { animation-delay: 0.24s; }
.company-card:nth-child(7)  { animation-delay: 0.28s; }
.company-card:nth-child(8)  { animation-delay: 0.30s; }
.company-card:nth-child(n+9){ animation-delay: 0.32s; }

.company-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.company-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s ease;
}
.company-card:hover {
  border-color: rgba(249,115,22,0.4);
  box-shadow: 0 6px 24px rgba(13,27,62,0.11);
  transform: translateY(-2px);
}
.company-card:hover::before { background: var(--orange); }
.company-card:active { transform: translateY(0); }

/* Company logo — colored initials avatar */
.card-logo {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
  user-select: none;
}

.card-body { flex: 1; min-width: 0; }
.card-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.card-company-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
}

/* Single-line stats row: stars · city · response time */
.card-stats-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 0.76rem;
  color: var(--text-2);
  line-height: 1;
}
.card-stats-dot { color: var(--border); font-size: 0.7rem; }
.stars { color: #F59E0B; letter-spacing: 0.5px; }
.card-rating-score { font-weight: 700; color: var(--text-1); }
.review-count { color: var(--text-3); }
.card-location-text { color: var(--text-2); }
.card-response {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #16a34a;
  font-weight: 600;
}

.card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* Card footer: price left, actions right */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.card-price {
  font-size: 0.74rem;
  color: var(--text-3);
  white-space: nowrap;
}
.card-price strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-1);
}
.card-actions { display: flex; gap: 7px; }

/* No results state */
.no-results-state {
  display: none;
  text-align: center;
  padding: 64px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.no-results-state .no-results-icon { font-size: 3rem; margin-bottom: 12px; }
.no-results-state h3 { font-size: 1rem; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.no-results-state p  { font-size: 0.82rem; color: var(--text-3); margin-bottom: 20px; }

/* Filter bar active indicator */
.filter-select.active, .filter-input.active {
  border-color: var(--orange);
  background: rgba(249,115,22,0.04);
}
.filters-clear {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(249,115,22,0.3);
  background: rgba(249,115,22,0.06);
  transition: var(--transition);
  white-space: nowrap;
  display: none;
}
.filters-clear:hover { background: var(--orange); color: #fff; }
.filters-clear.visible { display: block; }

/* ─── Sidebar widgets ────────────────────────────────────── */
.sidebar-widget {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget + .sidebar-widget { margin-top: 16px; }

.widget-cta {
  background: linear-gradient(140deg, var(--navy) 0%, #1E3A6E 100%);
  border: none;
  color: #fff;
}
.widget-cta-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.widget-cta-desc { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; line-height: 1.5; }
.widget-cta-stats {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.widget-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 2px; }
.widget-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); }

.widget-title { font-size: 0.88rem; font-weight: 700; color: var(--text-1); margin-bottom: 14px; }
.widget-city-list { display: flex; flex-direction: column; gap: 2px; }
.widget-city-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-2);
  transition: var(--transition);
}
.widget-city-link:hover { background: var(--surface-2); color: var(--orange); }
.widget-city-count { font-size: 0.72rem; color: var(--text-3); font-weight: 600; }

/* ─── How it works ───────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.step-card:hover { border-color: rgba(249,115,22,0.3); box-shadow: var(--shadow); transform: translateY(-2px); }
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.step-icon { font-size: 1.6rem; margin-bottom: 10px; }
.step-title { font-size: 0.9rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.step-desc { font-size: 0.8rem; color: var(--text-2); line-height: 1.55; }

/* ─── Stats bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number { font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 4px; }
.stat-label  { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1B3568 100%);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(249,115,22,0.07);
  pointer-events: none;
}
.cta-banner-title { font-size: clamp(1.3rem, 2.8vw, 1.9rem); font-weight: 800; margin-bottom: 10px; }
.cta-banner-sub   { color: rgba(255,255,255,0.6); margin-bottom: 26px; font-size: 0.9rem; }
.cta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ─── Blog cards ─────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.blog-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(249,115,22,0.2); }
.blog-card-img {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A6E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-tag { font-size: 0.68rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 7px; }
.blog-card-title { font-size: 0.93rem; font-weight: 700; line-height: 1.4; margin-bottom: 7px; color: var(--text-1); }
.blog-card-excerpt { font-size: 0.8rem; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.blog-meta { font-size: 0.73rem; color: var(--text-3); display: flex; gap: 12px; }

.blog-hero-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-hero-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-hero-img {
  height: 300px;
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A6E 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.blog-hero-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.blog-hero-title { font-size: 1.25rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; color: var(--text-1); }
.blog-hero-excerpt { font-size: 0.85rem; color: var(--text-2); line-height: 1.65; margin-bottom: 18px; }

/* ─── Page header ────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 110px 0 52px;
  text-align: center;
}
.page-header-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; margin-bottom: 10px; }
.page-header-sub { color: rgba(255,255,255,0.55); font-size: 0.92rem; }

/* ─── Filters bar ────────────────────────────────────────── */
.filters-bar {
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 76px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.filters-inner { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-select {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 14px;
  color: var(--text-1);
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  min-width: 160px;
}
.filter-select option { background: #fff; color: var(--text-1); }
.filter-select:focus { border-color: var(--orange); }
.filter-input {
  flex: 1;
  min-width: 200px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 14px;
  color: var(--text-1);
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  outline: none;
}
.filter-input::placeholder { color: var(--text-3); }
.filter-input:focus { border-color: var(--orange); }
.filter-count { margin-left: auto; font-size: 0.8rem; color: var(--text-3); font-weight: 500; white-space: nowrap; }

/* ─── Contact ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; align-items: start; }
.contact-info-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon {
  width: 40px; height: 40px;
  background: var(--orange-soft);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-label { font-size: 0.7rem; color: var(--text-3); margin-bottom: 1px; text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600; }
.contact-info-value { font-size: 0.88rem; font-weight: 600; color: var(--text-1); }
.contact-form-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text-1);
  font-family: 'Poppins', sans-serif;
  font-size: 0.87rem;
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ─── Cómo funciona page ─────────────────────────────────── */
.benefit-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.benefit-card:hover { border-color: rgba(249,115,22,0.25); box-shadow: var(--shadow); }
.benefit-icon {
  width: 48px; height: 48px;
  background: var(--orange-soft);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.benefit-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 5px; color: var(--text-1); }
.benefit-desc { font-size: 0.8rem; color: var(--text-2); line-height: 1.55; }

.plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.plan-card.featured { border-color: var(--orange); box-shadow: 0 4px 24px rgba(249,115,22,0.15); }
.plan-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.plan-name { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 3px; }
.plan-period { font-size: 0.78rem; color: var(--text-3); margin-bottom: 22px; }
.plan-features { list-style: none; text-align: left; margin-bottom: 24px; }
.plan-features li { font-size: 0.82rem; color: var(--text-2); padding: 5px 0; display: flex; gap: 9px; align-items: center; }
.plan-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* FAQ */
.faq-item { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--text-1); transition: var(--transition); user-select: none; }
.faq-question:hover { color: var(--orange); }
.faq-arrow { transition: var(--transition); font-size: 0.75rem; color: var(--text-3); }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--orange); }
.faq-answer { display: none; padding: 0 20px 18px; font-size: 0.83rem; color: var(--text-2); line-height: 1.65; }
.faq-item.open .faq-answer { display: block; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { height: 36px; margin-bottom: 10px; }
.footer-brand-name { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 3px; }
.footer-brand-sub { font-size: 0.62rem; color: rgba(255,255,255,0.35); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-desc { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.65; max-width: 270px; }
.footer-col-title { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy  { font-size: 0.76rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.76rem; color: rgba(255,255,255,0.3); transition: var(--transition); }
.footer-legal a:hover { color: var(--orange); }

/* ═══════════════════════════════════════════════════════════
   DIRECTORY PAGE v2 — REDESIGN
   ═══════════════════════════════════════════════════════════ */

/* ── Dir Header ──────────────────────────────────────────── */
.dir-header {
  background: var(--surface);
  padding: calc(76px + 36px) 0 28px;
  border-bottom: none;
}
.dir-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dir-header-text h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.2;
}
.dir-header-text p { font-size: 0.92rem; color: var(--text-2); margin: 0; }
.dir-verified-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.dir-badge-icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--orange-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--orange);
}
.dir-badge-title { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.dir-badge-sub   { font-size: 0.74rem; color: var(--text-2); }
.dir-badge-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #22C55E;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34,197,94,0.35);
}

/* ── Dir Search ──────────────────────────────────────────── */
.dir-search-wrap {
  background: var(--surface);
  padding: 0 0 28px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(13,27,62,0.06);
}
.dir-search-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 10px 10px 10px 24px;
  box-shadow: 0 8px 40px rgba(13,27,62,0.14), 0 2px 8px rgba(13,27,62,0.06);
}
.dir-search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  padding: 8px 16px 8px 0;
}
.dir-search-field-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--orange-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--orange);
}
.dir-field-body  { flex: 1; min-width: 0; }
.dir-field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 3px;
}
.dir-field-input {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy);
  border: none; outline: none;
  background: transparent;
  width: 100%; padding: 0;
  font-family: 'Poppins', sans-serif;
}
.dir-field-input::placeholder { color: var(--text-3); font-weight: 400; }
.dir-field-select {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy);
  border: none; outline: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  -webkit-appearance: none; appearance: none;
  padding-right: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  align-self: flex-start;
}
.dir-search-divider {
  width: 1px; height: 48px;
  background: var(--border);
  flex-shrink: 0; margin: 0 4px;
}
.dir-search-btn-wrap { flex-shrink: 0; padding-left: 8px; }
.dir-search-btn {
  height: 62px; padding: 0 32px;
  font-size: 0.92rem; border-radius: 14px;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; cursor: pointer;
  font-weight: 700; letter-spacing: 0.2px;
}

/* ── Results Section ─────────────────────────────────────── */
.dir-results-section { padding: 24px 0 40px; }
.dir-results-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  align-items: start;
}

/* ── List Panel ──────────────────────────────────────────── */
.dir-list-panel {
  background: var(--surface);
  border-radius: 18px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,27,62,0.08), 0 1px 4px rgba(13,27,62,0.05);
}
.dir-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}
.dir-result-bar-left { display: flex; align-items: center; gap: 7px; }
.dir-result-bar svg { color: var(--orange); flex-shrink: 0; }
.dir-sort-wrap {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; color: var(--text-2);
  flex-shrink: 0;
}
.dir-sort-select {
  font-size: 0.78rem; font-weight: 600;
  color: var(--navy); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 5px 28px 5px 10px;
  background: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  -webkit-appearance: none; appearance: none;
  cursor: pointer; outline: none;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.15s ease;
}
.dir-sort-select:focus { border-color: var(--orange); }

/* ── Company Card ────────────────────────────────────────── */
.dir-company-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-bottom: 7px solid var(--body-bg);
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-left-color 0.15s ease;
}
.dir-company-card:last-of-type { border-bottom: none; }
.dir-company-card:hover { background: #FFF8F3; border-left-color: var(--orange); }
.dir-card-photo {
  width: 152px;
  min-height: 118px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-radius: 0;
}
.dir-card-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.22);
}
.dir-card-photo > * { position: relative; z-index: 1; }
.dir-card-photo--logo {
  background: linear-gradient(135deg,#f8fafc,#eef2f7) !important;
  padding: 18px;
}
.dir-card-photo--logo::after { display: none; }
.dir-logo-card {
  width: 82px;
  height: 82px;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(13,27,62,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dir-logo-card img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.dir-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #16a34a;
  color: #fff;
  font-size: 0.63rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  letter-spacing: 0.4px;
  align-self: center;
  white-space: nowrap;
  cursor: default;
}
.dir-card-badge svg { flex-shrink: 0; }

/* ── Verified tooltip — JS-positioned fixed element ─────── */
.dng-tooltip { cursor: default; }
#dng-tip {
  position: fixed;
  z-index: 9999;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.92);
  font-family: 'Poppins', sans-serif;
  font-size: 0.71rem;
  font-weight: 400;
  line-height: 1.55;
  padding: 9px 12px;
  border-radius: 9px;
  width: 248px;
  white-space: normal;
  text-align: left;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(13,27,62,0.22);
  transition: opacity 0.15s ease;
  opacity: 0;
}

.dir-card-info {
  flex: 1; min-width: 0;
  padding: 14px 14px 14px 16px;
  display: flex; flex-direction: column; justify-content: center;
}
.dir-card-name {
  display: flex; align-items: center;
  gap: 6px; flex-wrap: wrap;
  font-size: 0.97rem; font-weight: 700;
  color: var(--navy); margin-bottom: 5px;
}
.dir-name-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dir-verified-check {
  width: 17px; height: 17px;
  border-radius: 50%; background: #2563EB;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dir-years-badge {
  font-size: 0.7rem; font-weight: 600;
  background: var(--orange-soft);
  color: var(--orange);
  padding: 2px 9px; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
}
.dir-card-location {
  display: flex; align-items: center;
  gap: 5px; font-size: 0.79rem; color: var(--text-2);
  margin-bottom: 8px;
}
.dir-card-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
}
.dir-tag {
  font-size: 0.7rem; font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 3px 9px; border-radius: 20px;
  white-space: nowrap;
}
.dir-tag--avail {
  background: rgba(22,163,74,0.10);
  border-color: rgba(22,163,74,0.30);
  color: #15803d;
}
.dir-service-count {
  display: none;
}
.dir-card-actions {
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: 7px;
  justify-content: center;
  padding: 14px 18px 14px 0;
}
.dir-card-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.8rem; font-weight: 700;
  padding: 9px 16px; border-radius: 10px;
  background: #16a34a; color: #fff;
  border: none; text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 6px rgba(22,163,74,0.25);
}
.dir-card-whatsapp:hover { background: #15803d; box-shadow: 0 4px 12px rgba(22,163,74,0.35); }
.dir-card-call {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600;
  padding: 9px 16px; border-radius: 10px;
  border: 1.5px solid var(--border);
  color: var(--navy); background: var(--surface);
  white-space: nowrap; text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  font-family: 'Poppins', sans-serif;
}
.dir-card-call:hover { border-color: var(--orange); color: var(--orange); background: rgba(249,115,22,0.04); }

/* ── Homepage featured section — two-column layout ──────── */
.featured-layout {
  display: grid;
  /* Cards dominate ~73%, sidebar rail ~23%, gap creates clear air */
  grid-template-columns: 1fr 256px;
  gap: 0;               /* gap handled by sidebar padding-left below */
  align-items: start;
}
#featured-cards {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,27,62,0.07);
}
/* Actions move inside .dir-card-info — row layout under tags */
#featured-cards .dir-card-actions {
  flex-direction: row;
  padding: 10px 0 0;
  border: none;
  width: auto;
  justify-content: flex-start;
  gap: 8px;
}
#featured-cards .dir-card-info {
  padding-bottom: 16px;
}
#featured-cards .dir-card-whatsapp,
#featured-cards .dir-card-call {
  padding: 8px 14px;
  font-size: 0.78rem;
}

/* ── Featured ad banners — true sidebar rail ─────────────── */
.featured-banners-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 80px;
  /* Border-left is the visual divider that creates the "rail" feeling */
  border-left: 1px solid var(--border);
  padding-left: 28px;
  /* Slight top offset so ads start a touch below the card container top */
  padding-top: 4px;
}
.featured-banners-title,
.featured-banner-dots {
  display: none;
}
.featured-banners-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Each ad: thin border + minimal shadow = standard display ad look */
.featured-banner-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(13,27,62,0.07);
  transition: box-shadow 0.2s ease, opacity 0.15s ease;
  text-decoration: none;
  line-height: 0;
}
.featured-banner-link:hover {
  box-shadow: 0 3px 12px rgba(13,27,62,0.14);
  opacity: 0.92;
}
/* Portrait-format ad: ~300×250 ratio on 228px effective width → ~200px tall */
.featured-banner-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}
.featured-banner-placeholder {
  width: 100%;
  height: 210px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0D1B3E 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.22);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Mobile: stack ads below cards, row layout on medium screens */
@media (max-width: 860px) {
  .featured-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .featured-banners-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 20px;
    position: static;
  }
  .featured-banners-track {
    flex-direction: row;
  }
  .featured-banner-link {
    flex: 1;
  }
  .featured-banner-img,
  .featured-banner-placeholder {
    height: 120px;
  }
}
@media (max-width: 480px) {
  .featured-banners-track {
    flex-direction: column;
  }
  .featured-banner-img,
  .featured-banner-placeholder {
    height: 160px;
  }
}

/* ── No Results ──────────────────────────────────────────── */
.dir-no-results {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
  text-align: center;
}
.dir-no-results-icon { font-size: 2.2rem; margin-bottom: 10px; }
.dir-no-results h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.dir-no-results p { font-size: 0.82rem; color: var(--text-2); margin-bottom: 16px; }

/* ── Load More ───────────────────────────────────────────── */
.dir-load-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 20px;
  background: transparent; border: none;
  border-top: 1px solid var(--border);
  font-size: 0.84rem; font-weight: 600;
  color: var(--text-2); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: 'Poppins', sans-serif;
}
.dir-load-more:hover { background: #F7F9FF; color: var(--orange); }

/* ── Map Panel ───────────────────────────────────────────── */
.dir-map-panel {
  background: var(--surface);
  border-radius: 18px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,27,62,0.11), 0 1px 4px rgba(13,27,62,0.06);
  position: sticky; top: 84px;
}
.dir-map-header {
  display: flex; align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
}
.dir-map-title {
  font-size: 0.84rem; font-weight: 700;
  color: var(--navy);
  padding-bottom: 2px;
  border-bottom: 2px solid var(--orange);
}
#dir-map { width: 100%; height: 460px; }
.dir-map-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.76rem; color: var(--text-2);
  display: flex; align-items: center; gap: 6px;
}

/* ── Stats Bar ───────────────────────────────────────────── */
.dir-stats-bar {
  background: #F4F6FA;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.dir-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dir-stat-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 2px 12px rgba(13,27,62,0.07);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.dir-stat-item:hover { box-shadow: 0 6px 24px rgba(13,27,62,0.12); transform: translateY(-2px); }
.dir-stat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--orange-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--orange);
}
.dir-stat-title { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.dir-stat-sub   { font-size: 0.75rem; color: var(--text-2); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .dir-results-layout { grid-template-columns: 1fr; }
  .dir-map-panel { position: static; order: -1; }
  #dir-map { height: 320px; }
  .dir-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 780px) {
  .dir-card-photo { width: 110px; }
  .dir-years-badge { display: none; }
}
@media (max-width: 640px) {
  .dir-header-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .dir-verified-badge { display: none; }
  .dir-search-card {
    flex-direction: column; align-items: stretch;
    padding: 16px; gap: 12px; border-radius: 14px;
  }
  .dir-search-field { padding: 0; }
  .dir-search-divider { width: 100%; height: 1px; margin: 0; }
  .dir-search-btn-wrap { padding-left: 0; }
  .dir-search-btn { width: 100%; justify-content: center; height: 52px; }
  .dir-stats-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dir-stat-item { padding: 14px 16px; }
  .dir-card-photo { width: 88px; }
  .dir-card-tags { display: none; }
  .dir-card-actions { padding: 12px 12px 12px 0; gap: 6px; }
  .dir-card-whatsapp, .dir-card-call { padding: 8px 12px; font-size: 0.76rem; }
  .dir-sort-wrap { display: none; }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-hero-card { grid-template-columns: 1fr; }
  .blog-hero-img { height: 180px; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-actions { display: none; }
  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
    pointer-events: auto;
  }
  /* Wrap search card vertically on mobile */
  .hero-search {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
    border-radius: var(--radius-lg);
  }
  .hero-search-divider { display: none; }
  .hero-search-field {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    background: var(--surface-2);
  }
  .hero-search-btn { width: 100%; }
  .hero-search-btn .btn { width: 100%; justify-content: center; border-radius: var(--radius); }
  .hero-trust { gap: 12px; }
  .section { padding: 40px 0; }
  .cta-banner { padding: 36px 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .filters-inner { flex-direction: column; align-items: stretch; }
  .filter-count { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .categories-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-card { min-width: unset; border-radius: 14px; padding: 18px 12px 16px; }
  .cat-icon-wrap { width: 50px; height: 50px; border-radius: 13px; }
  .hero-title { font-size: 1.7rem; }
  .company-card { flex-direction: column; }
  .card-thumb { width: 100%; height: 120px; }
}

/* ─── Quejas button (navbar) ─────────────────────────────── */
.btn-queja {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.89rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}
.btn-queja:hover { background: var(--orange-dark); color: #fff; }
.mobile-menu .nav-link--queja { color: var(--orange); font-weight: 600; }

/* ─── Quejas form page ───────────────────────────────────── */
.queja-wrap { max-width: 680px; margin: 0 auto; }

.queja-intro {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.queja-intro-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: var(--orange-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.queja-intro p { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; }

.queja-form {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qf-group { display: flex; flex-direction: column; gap: 6px; }
.qf-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-1); }
.qf-optional { font-weight: 400; color: var(--text-3); }
.qf-group input,
.qf-group textarea {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-1);
  transition: border-color var(--transition);
  width: 100%;
}
.qf-group input:focus,
.qf-group textarea:focus { outline: none; border-color: var(--orange); }
.qf-group input::placeholder,
.qf-group textarea::placeholder { color: var(--text-3); }
.qf-group textarea { resize: vertical; min-height: 140px; }

.qf-feedback {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  display: none;
}
.qf-feedback.error {
  display: block;
  background: rgba(239,68,68,0.1);
  color: #b91c1c;
  border: 1.5px solid rgba(239,68,68,0.2);
}
.qf-submit { align-self: flex-start; }

.qf-success { text-align: center; padding: 48px 24px; }
.qf-success-icon {
  width: 56px; height: 56px;
  background: rgba(34,197,94,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--success);
}
.qf-success h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.qf-success p  { font-size: 0.88rem; color: var(--text-2); }

@media (max-width: 600px) {
  .qf-row { grid-template-columns: 1fr; }
  .queja-form { padding: 20px; }
  .queja-intro { padding: 18px; }
}

/* ═══════════════════════════════════════════════════════════
   REVISTA DNG
   ═══════════════════════════════════════════════════════════ */

/* ── Page header ─────────────────────────────────────────── */
.rv-page-header {
  background: var(--navy);
  color: #fff;
  padding: 52px 0 46px;
  border-bottom: 3px solid var(--orange);
  position: relative;
  overflow: hidden;
}
.rv-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.rv-page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.rv-page-header-icon { flex-shrink: 0; }
.rv-page-title {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 8px 0 12px;
  line-height: 1.1;
}
.rv-page-subtitle {
  font-size: 0.93rem;
  line-height: 1.65;
  opacity: 0.68;
  max-width: 500px;
}

/* ── Latest issue hero ───────────────────────────────────── */
.rv-latest-hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: start;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 36px;
}
.rv-latest-cover-col {
  flex-shrink: 0;
}
.rv-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 10px 48px rgba(13,27,62,0.28);
}
.rv-cover-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Issue info ──────────────────────────────────────────── */
.rv-issue-info {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}
.rv-issue-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 20px;
}
.rv-issue-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.rv-issue-date {
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 32px;
}
.rv-issue-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────── */
.rv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  font-family: 'Poppins', sans-serif;
}
.rv-btn--navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 10px rgba(13,27,62,0.25);
}
.rv-btn--navy:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,27,62,0.32); }
.rv-btn--orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 2px 10px rgba(249,115,22,0.30);
}
.rv-btn--orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.38); }

/* ── PDF viewer ──────────────────────────────────────────── */
.rv-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--navy);
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.rv-viewer-bar-title { font-size: 0.85rem; font-weight: 600; }
.rv-viewer-bar-hint  { font-size: 0.73rem; opacity: 0.45; }
.rv-iframe {
  width: 100%;
  height: 760px;
  border: none;
  display: block;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #525659;
}
.rv-mobile-note {
  display: none;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
}
.rv-mobile-note p { font-size: 0.88rem; color: var(--text-2); margin-bottom: 20px; }

/* ── Archive ─────────────────────────────────────────────── */
.rv-archive-section {
  background: var(--surface-2);
  border-top: 1.5px solid var(--border);
}
.rv-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.rv-archive-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.rv-archive-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rv-archive-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.rv-archive-cover-empty {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.22);
}
.rv-archive-body {
  padding: 13px 14px 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rv-archive-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  margin-bottom: 4px;
}
.rv-archive-date {
  font-size: 0.73rem;
  color: var(--text-3);
  margin-bottom: 12px;
  flex: 1;
}
.rv-archive-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-archive-btn {
  font-size: 0.71rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
  font-family: 'Poppins', sans-serif;
}
.rv-archive-btn:hover { opacity: 0.78; }
.rv-archive-btn--open { background: var(--navy); color: #fff; }
.rv-archive-btn--dl   { background: var(--orange-soft); color: var(--orange); }

/* ── Empty / loading states ──────────────────────────────── */
.rv-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-2);
}
.rv-empty svg   { margin: 0 auto 20px; display: block; color: var(--text-3); }
.rv-empty h3    { font-size: 1.1rem; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.rv-empty p     { font-size: 0.88rem; }
.rv-loading     { text-align: center; padding: 60px 24px; color: var(--text-3); font-size: 0.88rem; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 740px) {
  .rv-page-header { padding: 40px 0 36px; }
  .rv-page-header-icon { display: none; }
  .rv-latest-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px;
  }
  .rv-latest-cover-col { display: flex; justify-content: center; }
  .rv-cover, .rv-cover-placeholder { width: 180px; }
  .rv-issue-date { margin-bottom: 20px; }
  .rv-iframe { height: 500px; display: none; }
  .rv-mobile-note { display: block; }
  .rv-viewer-bar-hint { display: none; }
  .rv-archive-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
}

/* ── Mobile layout refinements ───────────────────────────── */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #rv-viewer-section {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner,
  .nav-brand,
  .nav-brand-text,
  .mobile-menu,
  .section-header-row,
  .hero-search,
  .featured-layout,
  .featured-banners-col,
  .dir-search-card,
  .dir-company-card,
  .dir-card-info,
  .dir-map-panel,
  .dir-stats-inner,
  .dir-stat-item,
  .contact-info-card,
  .contact-form-card,
  .queja-wrap,
  .queja-form,
  .rv-latest-hero,
  .rv-viewer-bar {
    min-width: 0;
  }

  .nav-brand-name,
  .nav-brand-sub {
    max-width: 58vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .btn,
  .btn-lg,
  .rv-btn,
  .dir-card-whatsapp,
  .dir-card-call,
  .qf-submit {
    max-width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 12px;
  }

  .hero-inner {
    padding: 14px 0 10px;
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 1.35px;
    margin-bottom: 5px;
  }

  .hero-bg {
    background-image: url('../HERO IMAGE MOBILE.png');
    background-size: cover;
    background-position: center top;
    opacity: 0.95;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(13,27,75,0.36) 0%,
        rgba(13,27,75,0.44) 36%,
        rgba(13,27,75,0.88) 72%,
        rgba(13,27,75,1.00) 100%
      ),
      linear-gradient(
        to right,
        rgba(13,27,75,0.78) 0%,
        rgba(13,27,75,0.32) 58%,
        rgba(13,27,75,0.08) 100%
      );
  }

  .hero-title {
    max-width: 310px;
    font-size: 1.28rem;
    line-height: 1.08;
    letter-spacing: 0;
    margin-bottom: 10px;
  }

  .hero-search {
    padding: 9px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .hero-search-field {
    padding: 6px 10px;
    gap: 8px;
  }

  .search-field-label {
    font-size: 0.70rem;
  }

  .hero-search-field input,
  .hero-search-field select {
    font-size: 0.70rem;
  }

  .hero-search-btn .btn {
    padding: 10px 16px;
    min-height: 42px;
  }

  .hero-trust {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-top: 0;
  }

  .hero-trust-item {
    flex: 1 1 0;
    min-width: 0;
    gap: 6px;
    font-size: 0;
    color: rgba(255,255,255,0.78);
  }

  .hero-trust-item::after {
    font-size: 0.68rem;
    line-height: 1.18;
  }

  .hero-trust-item:nth-child(1)::after {
    content: "Cobertura nacional";
  }

  .hero-trust-item:nth-child(2)::after {
    content: "Empresas verificadas";
  }

  .hero-trust-item:nth-child(3)::after {
    content: "Atención 24/7";
  }

  .hero-trust-dot {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-trust-dot::before {
    content: "✓";
    color: #fff;
    font-size: 0.60rem;
    font-weight: 800;
    line-height: 1;
  }

  .hero-title,
  .section-title,
  .dir-page-title,
  .contact-title,
  .queja-title,
  .rv-page-title,
  .rv-issue-title,
  .rv-archive-title {
    overflow-wrap: anywhere;
  }

  .hero-search-field,
  .search-field-body,
  .hero-trust,
  .dir-result-bar,
  .footer-bottom,
  .footer-legal {
    min-width: 0;
  }

  .hero-search {
    width: 100%;
  }

  .hero-trust,
  .section-header-row,
  .dir-result-bar,
  .rv-viewer-bar {
    align-items: flex-start;
  }

  .section--categories {
    padding-top: 18px !important;
    padding-bottom: 10px !important;
  }

  .section--categories .section-header-row {
    margin-bottom: 8px !important;
    gap: 4px;
  }

  .section--categories .section-title {
    font-size: 1.22rem;
    white-space: nowrap;
    margin-bottom: 3px;
  }

  .section--categories .section-subtitle {
    font-size: 0.78rem;
    line-height: 1.3;
    white-space: nowrap;
    margin-top: 0 !important;
  }

  .section--categories .view-all {
    margin-top: 0;
  }

  .categories-scroll {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-right: 0;
    margin-right: 0;
  }

  .cat-card {
    width: 100%;
    min-width: 0;
    min-height: 122px;
    padding: 14px 10px 12px;
    border-radius: 14px;
    justify-content: center;
  }

  .cat-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 8px;
  }

  .cat-icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .cat-name {
    font-size: 0.76rem;
    line-height: 1.22;
    text-align: center;
  }

  .cat-count {
    font-size: 0.68rem;
    margin-top: 4px;
    text-align: center;
  }

  #featured-cards .dir-card-actions,
  .dir-card-actions,
  .footer-legal,
  .rv-issue-actions,
  .rv-archive-btns {
    flex-wrap: wrap;
  }

  #featured-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  #featured-cards .dir-company-card {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(13,27,62,0.07);
  }

  #featured-cards .dir-company-card[data-profile-url] {
    cursor: pointer;
  }

  #featured-cards .dir-company-card:last-of-type {
    border-bottom: 1.5px solid var(--border);
  }

  #featured-cards .dir-card-photo {
    width: 96px;
    height: 112px;
    min-height: 112px;
    flex: 0 0 96px;
    align-self: flex-start;
    border-radius: 0;
    background-size: cover !important;
    background-position: center !important;
  }

  #featured-cards .dir-card-photo--logo {
    padding: 10px;
  }

  #featured-cards .dir-logo-card {
    width: 58px;
    height: 58px;
    border-radius: 9px;
    padding: 6px;
  }

  #featured-cards .dir-card-info {
    min-width: 0;
    padding: 8px;
    justify-content: flex-start;
  }

  #featured-cards .dir-card-name {
    align-items: flex-start;
    gap: 3px;
    font-size: 0.76rem;
    line-height: 1.18;
    margin-bottom: 3px;
  }

  #featured-cards .dir-name-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    min-width: 0;
  }

  #featured-cards .dir-card-location {
    align-items: flex-start;
    font-size: 0.64rem;
    line-height: 1.25;
    margin-bottom: 5px;
  }

  #featured-cards .dir-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
  }

  #featured-cards .dir-tag,
  #featured-cards .dir-years-badge,
  #featured-cards .dir-card-badge {
    font-size: 0.54rem;
    line-height: 1.1;
    padding: 2px 5px;
    white-space: normal;
  }

  #featured-cards .dir-years-badge,
  #featured-cards .dir-tag:not(.dir-tag--avail) {
    display: none;
  }

  #featured-cards .dir-tag.dir-service-count {
    display: block;
  }

  #featured-cards .dir-verified-check {
    width: 13px;
    height: 13px;
  }

  #featured-cards .dir-card-actions {
    display: none;
  }

  .featured-banners-col {
    gap: 6px;
    border-top: none;
    padding-top: 2px;
    margin-top: 12px;
    overflow: visible;
  }

  .featured-banners-title {
    display: block;
    color: var(--navy);
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
  }

  .featured-banners-track {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2px 44px 1px 0;
    margin-right: -16px;
    scrollbar-width: none;
  }

  .featured-banners-track::-webkit-scrollbar {
    display: none;
  }

  .featured-banner-link {
    flex: 0 0 min(68vw, 260px);
    width: min(68vw, 260px);
    max-width: 260px;
    aspect-ratio: 1.18 / 1;
    height: auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(13,27,62,0.08);
    box-shadow: 0 10px 28px rgba(13,27,62,0.14);
    line-height: 0;
  }

  .featured-banner-img,
  .featured-banner-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
  }

  .featured-banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 2px;
  }

  .featured-banner-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #CBD5E1;
  }

  .featured-banner-dot.active {
    background: var(--orange);
  }

  .dir-header {
    padding: calc(76px + 12px) 0 8px;
  }

  .dir-header-inner {
    gap: 8px;
  }

  .dir-header-text h1 {
    max-width: 100%;
    font-size: 1.12rem;
    line-height: 1.05;
    margin-bottom: 2px;
    white-space: nowrap;
  }

  .dir-header-text p {
    font-size: 0.70rem;
    line-height: 1.25;
    white-space: nowrap;
  }

  .dir-search-wrap {
    padding: 0 0 8px;
  }

  .dir-search-card {
    padding: 7px 10px;
    gap: 6px;
    border-radius: 14px;
  }

  .dir-search-field {
    gap: 7px;
    padding: 0;
  }

  .dir-search-field-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .dir-search-field-icon svg {
    width: 15px;
    height: 15px;
  }

  .dir-field-label {
    font-size: 0.54rem;
    line-height: 1.15;
    margin-bottom: 0;
  }

  .dir-field-input,
  .dir-field-select {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .dir-search-divider {
    margin: 0;
  }

  .dir-search-btn {
    height: 38px;
    padding: 0 16px;
    font-size: 0.76rem;
    border-radius: 10px;
  }

  .dir-search-btn svg {
    width: 14px;
    height: 14px;
  }

  .dir-results-section {
    padding: 14px 0 28px;
  }

  .dir-results-layout {
    gap: 12px;
  }

  .dir-list-panel {
    order: 1;
  }

  .dir-map-panel {
    order: 2;
    border-radius: 14px;
  }

  .dir-map-header {
    padding: 8px 12px;
  }

  .dir-map-title {
    font-size: 0.78rem;
  }

  #dir-map {
    height: 220px;
  }

  .dir-map-footer {
    padding: 8px 12px;
    font-size: 0.70rem;
  }

  .dir-result-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .dir-sort-wrap {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .dir-sort-select {
    max-width: 172px;
  }

  #cards-container .dir-company-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-left-width: 0;
    border-bottom-width: 6px;
  }

  #cards-container .dir-company-card[data-profile-url] {
    cursor: pointer;
  }

  #cards-container .dir-card-photo {
    width: 96px;
    height: 112px;
    min-height: 112px;
    flex: 0 0 96px;
    align-self: flex-start;
    border-radius: 12px 0 0 12px;
    background-size: cover !important;
    background-position: center !important;
  }

  #cards-container .dir-card-photo--logo {
    padding: 10px;
  }

  #cards-container .dir-logo-card {
    width: 58px;
    height: 58px;
    border-radius: 9px;
    padding: 6px;
  }

  #cards-container .dir-card-info {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 9px;
    justify-content: flex-start;
  }

  #cards-container .dir-card-name {
    align-items: flex-start;
    gap: 4px;
    font-size: 0.78rem;
    line-height: 1.18;
    margin-bottom: 4px;
  }

  #cards-container .dir-name-text {
    display: -webkit-box;
    min-width: 0;
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  #cards-container .dir-verified-check {
    width: 13px;
    height: 13px;
    margin-top: 1px;
  }

  #cards-container .dir-years-badge,
  #cards-container .dir-card-badge {
    font-size: 0.55rem;
    line-height: 1.1;
    padding: 2px 5px;
    white-space: normal;
  }

  #cards-container .dir-years-badge {
    display: none;
  }

  #cards-container .dir-card-location {
    align-items: flex-start;
    gap: 4px;
    font-size: 0.64rem;
    line-height: 1.25;
    margin-bottom: 5px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #cards-container .dir-card-location svg {
    flex: 0 0 auto;
    margin-top: 1px;
  }

  #cards-container .dir-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    min-width: 0;
  }

  #cards-container .dir-tag {
    font-size: 0.55rem;
    line-height: 1.1;
    padding: 2px 5px;
    white-space: normal;
  }

  #cards-container .dir-card-tags .dir-tag:not(.dir-tag--avail):not(.dir-service-count) {
    display: none;
  }

  #cards-container .dir-service-count {
    display: inline-flex;
  }

  #cards-container .dir-card-actions {
    display: none;
  }

  .dir-stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dir-stat-item {
    gap: 10px;
    padding: 12px;
  }

  .dir-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .dir-stat-title,
  .dir-stat-sub {
    overflow-wrap: anywhere;
  }

  .contact-info-value,
  .footer-brand p {
    overflow-wrap: anywhere;
  }

  .contact-info-item,
  .qf-row {
    min-width: 0;
  }

  .contact-form-card input,
  .contact-form-card textarea,
  .contact-form-card select,
  .queja-form input,
  .queja-form textarea,
  .queja-form select {
    width: 100%;
    min-width: 0;
  }

  .qf-submit,
  .rv-btn {
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .rv-issue-actions,
  .rv-archive-btns {
    align-items: stretch;
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-inner {
    min-height: 68px;
  }

  .nav-brand-name,
  .nav-brand-sub {
    max-width: 52vw;
  }

  .hero-search-btn,
  .qf-submit,
  .rv-btn {
    width: 100%;
  }

  .dir-search-card,
  .contact-info-card,
  .contact-form-card,
  .queja-intro,
  .queja-form,
  .rv-latest-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dir-sort-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .dir-sort-select {
    max-width: 100%;
  }

  .dir-stats-inner {
    grid-template-columns: 1fr;
  }

  .rv-cover,
  .rv-cover-placeholder {
    width: min(180px, 72vw);
  }

  .rv-archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
}
