/* ============================================
   BuscaProcurador.com — Main Stylesheet
   Professional directory of procuradores in Spain
   ============================================ */

/* ----- 1. Reset & CSS Variables ----- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #1e40af;
  --accent-light: #3b82f6;
  --accent-hover: #1e3a8a;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ----- 2. Base ----- */

body {
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p + p {
  margin-top: 1rem;
}

/* ----- 3. Header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
}

.logo svg,
.logo img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--accent-hover);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 0.25rem 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- 4. Hero ----- */

.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

/* ----- 5. Search Box ----- */

.search-box {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.search-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-form input[type="text"],
.search-form input[type="search"] {
  flex: 1 1 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-form input:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.search-form select {
  flex: 0 1 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-form select:focus {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.search-form .btn-search {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  transition: background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.search-form .btn-search:hover {
  background: var(--accent-hover);
}

/* ----- 6. Stats Grid ----- */

.stats-section {
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card__number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.stat-card__label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ----- 7. Province Grid ----- */

.province-section {
  padding: 3rem 0;
}

.province-section h2 {
  margin-bottom: 1.5rem;
}

.province-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.province-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow var(--transition), transform var(--transition);
}

.province-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--accent);
}

.province-card__name {
  font-weight: 600;
  font-size: 1rem;
}

.province-card__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 9999px;
}

/* ----- 8. Directorio Grid (Listings) ----- */

.directorio-section {
  padding: 3rem 0;
}

.directorio-section h2 {
  margin-bottom: 1.5rem;
}

.directorio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.procurador-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.procurador-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.procurador-card__name {
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.procurador-card__name a {
  color: var(--text);
}

.procurador-card__name a:hover {
  color: var(--accent);
}

.procurador-card__city {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.procurador-card__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.procurador-card__meta dt {
  display: inline;
  font-weight: 600;
  color: var(--text);
}

.procurador-card__meta dt::after {
  content: ": ";
}

.procurador-card__meta dd {
  display: inline;
  margin: 0;
}

.procurador-card__meta dd::after {
  content: "";
  display: block;
}

.procurador-card__phone--masked {
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ----- 9. Ficha (Individual Page) ----- */

.ficha-header {
  padding: 2.5rem 0 1.5rem;
}

.ficha-header h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.ficha-header__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ficha-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.ficha-data {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.ficha-data h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.ficha-data dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.625rem 1rem;
  font-size: 0.9375rem;
}

.ficha-data dt {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.ficha-data dd {
  margin: 0;
  color: var(--text);
}

.ficha-data table {
  font-size: 0.9375rem;
}

.ficha-data th {
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.ficha-data td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.ficha-map {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ficha-map h2 {
  font-size: 1.125rem;
  padding: 1.25rem 1.5rem 1rem;
}

.ficha-map__container {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
}

.ficha-map__container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----- 10. Breadcrumb ----- */

.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--border);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb li:last-child {
  color: var(--text);
  font-weight: 500;
}

/* ----- 11. Pagination ----- */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pagination a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination .current,
.pagination .active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}

.pagination .dots {
  border: none;
  background: transparent;
  color: var(--text-muted);
  min-width: auto;
  padding: 0 0.25rem;
}

.pagination .prev,
.pagination .next {
  font-weight: 600;
}

/* ----- 12. Footer ----- */

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.footer-grid h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-grid p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ----- 13. Card Shared ----- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card--flat:hover {
  box-shadow: none;
  transform: none;
}

/* ----- 14. Responsive ----- */

@media (max-width: 768px) {
  /* Header */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 99;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .main-nav a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .main-nav a:hover {
    background: var(--bg);
  }

  /* Hero */
  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  /* Search */
  .search-form {
    flex-direction: column;
  }

  .search-form input[type="text"],
  .search-form input[type="search"],
  .search-form select {
    flex: 1 1 auto;
    width: 100%;
  }

  .search-form .btn-search {
    width: 100%;
    justify-content: center;
  }

  /* Grids */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

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

  /* Ficha */
  .ficha-body {
    grid-template-columns: 1fr;
  }

  .ficha-header h1 {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Pagination */
  .pagination {
    gap: 0.25rem;
  }

  .pagination a,
  .pagination span {
    min-width: 2.25rem;
    height: 2.25rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .header-inner {
    height: 56px;
  }

  .main-nav {
    top: 56px;
  }
}

/* ----- 15. Utilities ----- */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  line-height: 1.4;
}

.badge--success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.badge--warning {
  background: rgba(234, 179, 8, 0.1);
  color: #a16207;
}

.badge--neutral {
  background: var(--bg);
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover {
  background: var(--bg);
  border-color: var(--text-muted);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1.0625rem;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ----- 16. Lead Form ----- */

.lead-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.lead-benefits {
  padding-top: 1rem;
}

.lead-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.lead-benefit__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.lead-benefit__text h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.lead-benefit__text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.lead-cta-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.lead-cta-box h3 {
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.lead-cta-box p {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.lead-cta-box .btn {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
  font-weight: 700;
}

.lead-cta-box .btn:hover {
  background: rgba(255,255,255,0.9);
}

/* ----- 17. Premium Card ----- */

.procurador-card--premium {
  border-left: 4px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fff7e0 40%, #ffffff 100%);
  position: relative;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  grid-column: 1 / -1; /* span full width */
  padding: 1.5rem;
}

.procurador-card--premium:hover {
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2), 0 4px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.procurador-card--premium::before {
  content: "★ Premium";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

/* Premium hero layout: avatar + info side by side */
.procurador-card__hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.procurador-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.procurador-card__foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #f59e0b;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25);
}

.procurador-card__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.procurador-card__hero-info {
  flex: 1;
  min-width: 0;
}

.procurador-card--premium .procurador-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.procurador-card--premium .procurador-card__name a {
  color: #92400e;
}

.procurador-card--premium .procurador-card__name a:hover {
  color: #78350f;
}

.procurador-card__cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #92400e;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border: 2px solid #f59e0b;
  border-radius: 9999px;
  transition: all var(--transition);
}

.procurador-card__cta:hover {
  background: #f59e0b;
  color: #fff;
}

.procurador-card--verified .procurador-card__name a::after {
  content: " \2713";
  color: #16a34a;
  font-size: 0.875rem;
}

/* Free card: unlock link */
.procurador-card__unlock {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.procurador-card__unlock:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Ficha: teased/masked contact data */
.ficha-teased {
  color: #94a3b8;
  letter-spacing: 0.08em;
  user-select: none;
  position: relative;
  cursor: default;
}

/* Unlock row */
.ficha-unlock-row {
  padding: 0.75rem 0 0.25rem !important;
  border: none !important;
}

.ficha-unlock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f59e0b;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border: 1.5px solid #f59e0b;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.ficha-unlock-btn:hover {
  background: #f59e0b;
  color: #fff;
}

.ficha-unlock-btn svg {
  flex-shrink: 0;
}

/* Responsive: on mobile, premium card avatar smaller */
@media (max-width: 640px) {
  .procurador-card__avatar {
    width: 56px;
    height: 56px;
  }
  .procurador-card__initials {
    font-size: 1.2rem;
  }
  .procurador-card--premium .procurador-card__name {
    font-size: 1.1rem;
  }
}

/* ----- 18. FAQ Section ----- */

.faq-section {
  padding: 3rem 0;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ----- 19. Guide Page ----- */

.guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.guide-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.guide-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.guide-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.guide-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text);
}

.guide-toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.guide-toc h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.guide-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.guide-toc li {
  margin-bottom: 0.375rem;
}

.guide-toc a {
  font-size: 0.875rem;
  color: var(--accent);
}

/* ----- 20. No results / empty states ----- */

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.results-count {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Print ----- */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .search-box,
  .pagination {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero {
    background: none;
    color: #000;
    padding: 1rem 0;
  }

  .hero h1 {
    color: #000;
  }
}
