/* DEFERRED CSS — resto del design system (below-the-fold, componentes, footer, mobile nav). */

/* ---------- Breadcrumbs ---------- */
.breadcrumbs{font-size:.85rem;color:var(--color-text-muted);padding:1rem 0 .25rem}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;margin:0;padding:0}
.breadcrumbs li{display:flex;align-items:center;gap:.35rem}
.breadcrumbs li:not(:last-child)::after{content:'›';color:var(--color-border);margin-left:.35rem}
.breadcrumbs a{color:var(--color-text-muted)}
.breadcrumbs a:hover{color:var(--color-primary)}
.breadcrumbs li[aria-current]{color:var(--color-text);font-weight:500}

/* ---------- Grids ---------- */
.grid{display:grid;gap:1rem}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-4{grid-template-columns:repeat(4,1fr)}
.grid.auto{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
@media(max-width:900px){.grid.cols-3,.grid.cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.grid.cols-2,.grid.cols-3,.grid.cols-4,.grid.auto{grid-template-columns:1fr}}

/* ---------- Cards ---------- */
.card{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius);
  padding:1.1rem 1.2rem;box-shadow:var(--shadow-sm);transition:box-shadow .15s ease,transform .15s ease;
  display:flex;flex-direction:column;gap:.4rem}
.card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.card .card-name{font-weight:600;font-size:1.05rem;color:var(--color-text);line-height:1.3}
.card .card-cat{font-size:.8rem;color:var(--color-text-muted)}
.card .card-meta{display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:.85rem;color:var(--color-text-muted);margin-top:.15rem}
.card .card-cta{margin-top:.35rem;font-weight:600;font-size:.9rem;color:var(--color-primary)}
.card a.card-link{color:inherit}
.card a.card-link:hover{text-decoration:none}

/* State / city tiles */
.tile{display:flex;justify-content:space-between;align-items:center;background:#fff;
  border:1px solid var(--color-border);border-radius:var(--radius);padding:.85rem 1.1rem;
  box-shadow:var(--shadow-sm);transition:box-shadow .15s ease,transform .15s ease;color:var(--color-text)}
.tile:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);text-decoration:none}
.tile .tile-name{font-weight:600}
.tile .tile-count{font-size:.82rem;color:var(--color-text-muted);background:var(--color-bg-soft);
  border-radius:999px;padding:.15rem .6rem;white-space:nowrap}

/* ---------- Rating stars ---------- */
.stars{display:inline-flex;align-items:center;gap:.3rem;vertical-align:middle}
.stars svg{display:block}
.stars .rv{font-size:.82rem;color:var(--color-text-muted)}
.no-rating{font-size:.82rem;color:var(--color-text-muted);font-style:italic}

/* ---------- Verified badge ---------- */
.badge-verified{display:inline-flex;align-items:center;gap:.3rem;background:rgba(46,139,87,.1);
  color:var(--color-accent);font-size:.78rem;font-weight:600;padding:.2rem .6rem;border-radius:999px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.4rem;background:var(--color-primary);color:#fff;
  padding:.7rem 1.2rem;border-radius:var(--radius);font-weight:600;font-size:.95rem;border:none;cursor:pointer;
  transition:background .15s ease}
.btn:hover{background:var(--color-primary-dark);text-decoration:none}
.btn.secondary{background:#fff;color:var(--color-primary);border:1px solid var(--color-border)}
.btn.secondary:hover{background:var(--color-bg-soft)}
.btn.block{display:flex;width:100%;justify-content:center}

/* ---------- Company profile (leaf) ---------- */
.profile-head{padding:1rem 0 .5rem}
.profile-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;color:var(--color-text-muted);
  font-size:.92rem;margin:.25rem 0 1rem}
.profile-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--color-border)}
.profile-grid{display:grid;grid-template-columns:1fr 340px;gap:2rem;align-items:start}
@media(max-width:820px){.profile-grid{grid-template-columns:1fr}}
.nap{background:#fff;border:1px solid var(--color-border);border-radius:var(--radius);
  box-shadow:var(--shadow-sm);padding:1.2rem;position:sticky;top:76px}
.nap dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.5rem .8rem;font-size:.92rem}
.nap dt{color:var(--color-text-muted);font-weight:500}
.nap dd{margin:0}
.nap dd a{word-break:break-word}
.map-embed{margin-top:1rem;border-radius:var(--radius);overflow:hidden;border:1px solid var(--color-border);
  aspect-ratio:16/10;background:var(--color-bg-soft)}
.map-embed iframe{width:100%;height:100%;border:0;display:block}
.hours-table{width:100%;border-collapse:collapse;font-size:.9rem;margin:.5rem 0 0}
.hours-table td{padding:.3rem 0;border-bottom:1px solid var(--color-border)}
.hours-table td:last-child{text-align:right;color:var(--color-text-muted)}
.hours-table tr:last-child td{border-bottom:none}

/* Services */
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1.5rem}
.chip{background:var(--color-bg-soft);border:1px solid var(--color-border);border-radius:999px;
  padding:.3rem .8rem;font-size:.85rem;color:var(--color-text)}

/* License / E-E-A-T box */
.eeat{background:rgba(46,139,87,.06);border:1px solid rgba(46,139,87,.25);border-radius:var(--radius);
  padding:.9rem 1.1rem;font-size:.9rem;margin:0 0 1.5rem}

/* CTA lead-gen */
.cta-box{background:var(--color-primary);color:#fff;border-radius:var(--radius);padding:1.4rem 1.5rem;
  margin:1.5rem 0;text-align:center}
.cta-box h3{color:#fff;margin-bottom:.4rem}
.cta-box p{color:rgba(255,255,255,.85);margin-bottom:1rem}
.cta-box .btn{background:#fff;color:var(--color-primary)}
.cta-box .btn:hover{background:var(--color-bg-soft)}

/* ---------- FAQ ---------- */
.faq{margin:1.5rem 0}
.faq details{border:1px solid var(--color-border);border-radius:var(--radius);margin-bottom:.6rem;
  background:#fff;overflow:hidden}
.faq summary{cursor:pointer;padding:.9rem 1.1rem;font-weight:600;list-style:none;position:relative;
  padding-right:2.5rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';position:absolute;right:1.1rem;top:50%;transform:translateY(-50%);
  color:var(--color-text-muted);font-weight:400;font-size:1.2rem}
.faq details[open] summary::after{content:'−'}
.faq details[open] summary{border-bottom:1px solid var(--color-border)}
.faq .faq-a{padding:.9rem 1.1rem;color:var(--color-text-muted)}
.faq .faq-a p:last-child{margin-bottom:0}

/* ---------- Article ---------- */
.article{max-width:740px;margin:0 auto}
.article h2{margin-top:2rem}
.article p,.article li{color:var(--color-text)}
.article ul{padding-left:1.2rem}
.prose p{margin-bottom:1rem}

/* ---------- Ad slot ---------- */
.ad-slot{margin:1.5rem auto;text-align:center;min-height:100px;display:flex;align-items:center;
  justify-content:center;background:var(--color-bg-soft);border:1px dashed var(--color-border);
  border-radius:var(--radius);color:var(--color-text-muted);font-size:.8rem;max-width:100%}
.ad-slot.tall{min-height:250px}

/* ---------- Source note ---------- */
.source-note{font-size:.8rem;color:var(--color-text-muted);border-top:1px solid var(--color-border);
  padding-top:1rem;margin-top:2rem}

/* ---------- Section headings ---------- */
.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.section-title h2{margin:0}
.section-title a{font-size:.9rem;font-weight:500}

/* ---------- Empty state ---------- */
.empty{background:var(--color-bg-soft);border:1px solid var(--color-border);border-radius:var(--radius);
  padding:2rem;text-align:center;color:var(--color-text-muted)}

/* ---------- Footer ---------- */
.site-footer{background:var(--color-bg-soft);border-top:1px solid var(--color-border);
  padding:2.5rem 0 1.5rem;margin-top:2rem;font-size:.9rem}
.footer-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:1.5rem}
@media(max-width:768px){.footer-cols{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.footer-cols{grid-template-columns:1fr}}
.footer-cols h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted);margin-bottom:.8rem}
.footer-cols ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.footer-cols a{color:var(--color-text-muted)}
.footer-cols a:hover{color:var(--color-primary)}
.footer-brand{max-width:280px}
.footer-brand .brand{margin-bottom:.6rem}
.footer-bottom{border-top:1px solid var(--color-border);margin-top:2rem;padding-top:1.2rem;
  color:var(--color-text-muted);font-size:.82rem;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem}

/* ---------- Mobile orbital nav ---------- */
.orbital-nav{display:none}
@media(max-width:768px){
  .orbital-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:120;background:#fff;
    border-top:1px solid var(--color-border);box-shadow:0 -2px 12px rgba(16,24,40,.06);
    padding:.4rem env(safe-area-inset-right) calc(.4rem + env(safe-area-inset-bottom)) env(safe-area-inset-left)}
  .orbital-nav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:.2rem;
    font-size:.68rem;color:var(--color-text-muted);padding:.3rem 0}
  .orbital-nav a:hover,.orbital-nav a.active{color:var(--color-primary);text-decoration:none}
  .orbital-nav svg{display:block}
  body{padding-bottom:64px}
}

/* Utility spacing */
.mt-2{margin-top:2rem}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}
