/* =====================================================================
   Sibienii.ro — Design System
   Paleta calda: navy brand + terracotta accent + saffron + cream bg
   ===================================================================== */

:root {
  /* Brand */
  --brand:        #1F4268;
  --brand-dark:   #17324F;
  --brand-light:  #2D5A8C;
  --brand-tint:   #E8EEF5;

  /* Accent (terracotta — recall acoperisuri Sibiu) */
  --accent:       #E76F51;
  --accent-hover: #D85A3A;
  --accent-tint:  #FFF1EC;

  /* Saffron (Saxon yellow) */
  --saffron:      #F4A261;
  --saffron-tint: #FFF4E6;

  /* Neutre */
  --bg:           #FBF8F3;
  --surface:      #FFFFFF;
  --surface-2:    #F4F0E6;
  --text:         #1A2332;
  --text-muted:   #5A6478;
  --text-soft:    #8C95A4;
  --border:       #E8E2D6;
  --border-strong:#D4CCB8;

  /* Status */
  --success:      #06A77D;
  --warning:      #F4A261;
  --danger:       #E63946;
  --info:         #2D5A8C;

  /* Tipografie */
  --font-sans:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;

  /* Layout */
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-sm:    0 1px 2px rgba(23, 50, 79, 0.06);
  --shadow:       0 4px 12px rgba(23, 50, 79, 0.08);
  --shadow-lg:    0 12px 32px rgba(23, 50, 79, 0.12);
  --shadow-xl:    0 20px 60px rgba(23, 50, 79, 0.15);

  --container:    1200px;
  --gap:          24px;
}

/* Reset minim */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }

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

/* Tipografie */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-dark);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
}

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand-dark);
}
.nav-logo svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.nav-logo .domain-suffix {
  color: var(--accent);
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-tint); }
.nav-links a.active { color: var(--brand); background: var(--brand-tint); }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switch {
  display: flex;
  background: var(--surface-2);
  padding: 4px;
  border-radius: 999px;
  gap: 2px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: all 0.15s;
}
.lang-switch button.active {
  background: var(--surface);
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger {
    display: flex;
    border: 0;
    background: var(--surface);
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
  }
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 0;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(231, 111, 81, 0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(231, 111, 81, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--brand-dark);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--brand); }
.btn-brand {
  background: var(--brand);
  color: white;
}
.btn-brand:hover { background: var(--brand-dark); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, var(--saffron-tint) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, var(--accent-tint) 0%, transparent 50%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(31, 66, 104, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
}
.hero-text h1 {
  margin-bottom: 16px;
}
.hero-text h1 .highlight {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero-text h1 .highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--saffron);
  opacity: 0.4;
  z-index: -1;
  border-radius: 4px;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

/* Bara de cautare hero */
.search-bar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  max-width: 600px;
}
.search-bar .field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}
.search-bar .field svg {
  color: var(--text-soft);
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.search-bar input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  min-width: 0;
}
.search-bar input::placeholder { color: var(--text-soft); }
.search-bar .divider {
  width: 1px;
  background: var(--border);
  margin: 8px 0;
}
.search-bar .btn { white-space: nowrap; }

@media (max-width: 600px) {
  .search-bar { flex-direction: column; }
  .search-bar .divider { width: auto; height: 1px; margin: 0; }
}

/* Stats hero */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brand-dark);
  display: block;
}
.hero-stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hero visual — siglă mare cu glow */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.25) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.hero-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 20px 40px rgba(31, 66, 104, 0.25));
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section {
  padding: 80px 0;
}
@media (max-width: 900px) {
  .section { padding: 50px 0; }
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head .titles { max-width: 600px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--text-muted); margin: 0; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}
.section-link:hover { color: var(--accent); }

/* =====================================================================
   CATEGORII GRID
   ===================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cat-color, var(--accent));
  opacity: 0;
  transition: opacity 0.2s;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cat-color, var(--accent));
  color: white;
}
.cat-icon svg { width: 24px; height: 24px; }
.cat-card h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.cat-card span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =====================================================================
   BUSINESS CARDS
   ===================================================================== */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.biz-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.biz-cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  position: relative;
  overflow: hidden;
}
.biz-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.biz-cover .badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}
.biz-cover .verified {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--surface);
  color: var(--brand);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.biz-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.biz-body .cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
}
.biz-body h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.biz-body .biz-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
.biz-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.biz-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--text);
}
.biz-rating svg { color: var(--saffron); width: 14px; height: 14px; }

/* =====================================================================
   EVENIMENTE CARDS
   ===================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.event-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.2s;
}
.event-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.event-date {
  background: var(--accent-tint);
  border: 1px solid var(--accent);
  color: var(--accent-hover);
  width: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 10px 4px;
}
.event-date strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  display: block;
  line-height: 1;
}
.event-date span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.event-info h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--text);
}
.event-info .meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-info .meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.event-info .meta svg { width: 14px; height: 14px; flex-shrink: 0; }

/* =====================================================================
   TURISM STRIP (4 monumente din sigla)
   ===================================================================== */
.tourism {
  background:
    linear-gradient(135deg, rgba(31, 66, 104, 0.96), rgba(23, 50, 79, 0.96)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.08"/></svg>');
  color: white;
  position: relative;
  overflow: hidden;
}
.tourism::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.25;
}
.tourism::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--saffron) 0%, transparent 70%);
  opacity: 0.2;
}
.tourism h2, .tourism .eyebrow { color: white; position: relative; z-index: 1; }
.tourism .eyebrow { color: var(--saffron); }
.tourism p { color: rgba(255,255,255,0.8); }

.poi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}
.poi-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 24px 20px;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}
.poi-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: var(--saffron);
}
.poi-card .poi-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--saffron));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: white;
}
.poi-card h4 {
  color: white;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.poi-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
}

/* =====================================================================
   CTA INSTALL PWA
   ===================================================================== */
.install-cta {
  background: linear-gradient(135deg, var(--accent), var(--saffron));
  border-radius: var(--radius-xl);
  padding: 50px 60px;
  color: white;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.install-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
}
.install-cta h2, .install-cta .eyebrow { color: white; }
.install-cta .eyebrow { color: rgba(255,255,255,0.8); }
.install-cta p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.install-cta .btn-primary {
  background: white;
  color: var(--accent-hover);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.install-cta .btn-primary:hover {
  background: var(--bg);
}
.install-visual {
  position: relative;
  z-index: 1;
}
.install-visual svg {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .install-cta {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    text-align: center;
  }
  .install-cta .btns { justify-content: center; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .nav-logo {
  color: white;
  margin-bottom: 16px;
}
.footer-brand .nav-logo .domain-suffix { color: var(--saffron); }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  max-width: 320px;
}
.footer-col h5 {
  color: white;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--saffron); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}
.social-row {
  display: flex;
  gap: 8px;
}
.social-row a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: all 0.15s;
}
.social-row a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* =====================================================================
   UTILS
   ===================================================================== */
.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.center { align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* Animatii subtile */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-visual svg { animation: float 6s ease-in-out infinite; }

/* =====================================================================
   ANAF lookup widget — feedback live pe input CUI
   ===================================================================== */
.anaf-status {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  min-height: 0;
  transition: background-color .2s, color .2s;
}
.anaf-status:empty { padding: 0; margin: 0; }
.anaf-status.anaf-idle    { background: transparent; padding: 0; margin: 0; }
.anaf-status.anaf-loading { background: var(--brand-tint); color: var(--brand); }
.anaf-status.anaf-ok      { background: rgba(6,167,125,.08); color: #047857; border: 1px solid rgba(6,167,125,.2); }
.anaf-status.anaf-warning { background: var(--saffron-tint); color: #8a5a1d; border: 1px solid rgba(244,162,97,.4); }
.anaf-status.anaf-error   { background: rgba(230,57,70,.08); color: #b1232c; border: 1px solid rgba(230,57,70,.2); }
.anaf-status small        { color: inherit; opacity: .8; }
.anaf-status a            { color: inherit; text-decoration: underline; }
.anaf-warn                { color: var(--danger); font-weight: 600; }
.anaf-claim {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,.6);
  border-radius: 6px;
  font-size: 13px;
}
.anaf-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: anaf-spin .8s linear infinite;
  vertical-align: -2px;
  margin-right: 6px;
}
@keyframes anaf-spin { to { transform: rotate(360deg); } }
input.anaf-filled, textarea.anaf-filled {
  background: linear-gradient(0deg, rgba(6,167,125,.04), rgba(6,167,125,.04)) var(--surface);
  border-color: rgba(6,167,125,.35);
}

/* User chip in header (cand e logat) */
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-user-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background-color .15s;
}
.nav-user-link:hover, .nav-user-link.active {
  background: var(--brand);
  color: #fff;
}
.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.nav-user-link:hover .nav-user-avatar, .nav-user-link.active .nav-user-avatar {
  background: #fff;
  color: var(--brand);
}
@media (max-width: 720px) { .nav-user-name { display: none; } }

/* =====================================================================
   /ghid — listing firme
   ===================================================================== */
.breadcrumbs {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs .sep { color: var(--text-soft); }

.ghid-hero {
  background: var(--brand-tint);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
}
.ghid-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 6px;
  color: var(--brand-dark);
}
.ghid-title-sub { color: var(--text-muted); font-weight: 400; font-size: 0.7em; }
.ghid-lead { color: var(--text-muted); margin: 0 0 20px; }

.ghid-filters {
  display: grid;
  grid-template-columns: 1fr 200px 160px auto auto;
  gap: 10px;
  align-items: stretch;
}
@media (max-width: 820px) { .ghid-filters { grid-template-columns: 1fr; } }

.ghid-filter-search {
  position: relative;
  display: flex;
  align-items: center;
}
.ghid-filter-search svg {
  position: absolute;
  left: 14px;
  color: var(--text-soft);
  pointer-events: none;
}
.ghid-filter-search input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  color: var(--text);
}
.ghid-filter-search input:focus { outline: 2px solid var(--brand-light); outline-offset: 1px; }

.ghid-filter-select {
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  color: var(--text);
}

.ghid-results { padding: 36px 0 60px; }

.ghid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.biz-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  position: relative;
}
.biz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(31, 66, 104, 0.12);
  border-color: var(--brand-light);
}
.biz-card.is-featured { border-color: var(--saffron); }
.biz-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--saffron);
  color: #2a1a00;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.biz-card-logo {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-tint), var(--surface-2));
  border-bottom: 1px solid var(--border);
}
.biz-card-logo img { max-height: 90px; max-width: 80%; object-fit: contain; }
.biz-card-logo-fallback {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--brand);
  opacity: .7;
}
.biz-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.biz-card-cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--accent);
  font-weight: 600;
}
.biz-card-title { font-family: var(--font-display); font-size: 20px; margin: 0; color: var(--brand-dark); }
.biz-card-desc { color: var(--text-muted); font-size: 14px; margin: 0; flex: 1; }
.biz-card-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
  flex-wrap: wrap;
}
.biz-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--saffron);
  font-weight: 700;
}
.biz-card-rating-n { color: var(--text-soft); font-weight: 400; }
.biz-card-city { display: inline-flex; align-items: center; gap: 4px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state svg { color: var(--text-soft); margin-bottom: 12px; }
.empty-state h2 { font-family: var(--font-display); color: var(--brand-dark); margin: 0 0 8px; }
.empty-state p { margin: 0 0 18px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a, .pagination .page-current, .pagination .page-gap {
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  min-width: 38px;
  text-align: center;
}
.pagination a:hover { background: var(--brand-tint); border-color: var(--brand-light); }
.pagination .page-current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .page-gap { background: transparent; border: none; color: var(--text-soft); }

/* =====================================================================
   /business/{slug} — pagina firma
   ===================================================================== */
.biz-page { padding: 28px 0 60px; }

.biz-banner-draft {
  background: var(--saffron-tint);
  border: 1px solid var(--saffron);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}
.biz-banner-draft a { color: var(--brand); font-weight: 600; }

.biz-hero {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  margin: 18px 0 36px;
  align-items: start;
}
@media (max-width: 720px) { .biz-hero { grid-template-columns: 100px 1fr; gap: 16px; } }

.biz-hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-tint), var(--surface-2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 720px) { .biz-hero-logo { width: 100px; height: 100px; } }
.biz-hero-logo img { max-width: 80%; max-height: 80%; object-fit: contain; }
.biz-hero-logo span { font-family: var(--font-display); font-size: 80px; font-weight: 800; color: var(--brand); opacity: .65; }
@media (max-width: 720px) { .biz-hero-logo span { font-size: 50px; } }

.biz-hero-cat {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 600;
}
.biz-hero-cat a { color: inherit; text-decoration: none; }
.biz-hero-cat a:hover { text-decoration: underline; }
.biz-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  margin: 6px 0 12px;
  color: var(--brand-dark);
}
.biz-hero-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.biz-hero-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--saffron); }
.biz-hero-rating strong { color: var(--text); font-size: 16px; }
.biz-hero-loc { display: inline-flex; align-items: center; gap: 6px; }
.biz-hero-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--success);
  font-weight: 600;
  font-size: 13px;
}
.biz-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-icon { padding: 9px 11px; }

/* Layout content */
.biz-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
}
@media (max-width: 920px) { .biz-grid { grid-template-columns: 1fr; } }

.biz-section { margin-bottom: 32px; }
.biz-section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--brand-dark);
  margin: 0 0 14px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  display: inline-block;
}
.biz-prose { color: var(--text); line-height: 1.7; }
.biz-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.biz-gallery figure { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.biz-gallery img { width: 100%; height: 100%; object-fit: cover; }

.biz-reviews { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.biz-reviews li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.biz-review-head { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; flex-wrap: wrap; }
.biz-review-head strong { color: var(--text); }
.biz-review-stars { color: var(--saffron); display: inline-flex; gap: 1px; }
.biz-review-date { margin-left: auto; }
.biz-review-reply { margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--brand-light); color: var(--text-muted); }
.biz-review-reply strong { color: var(--brand); font-size: 13px; display: block; margin-bottom: 4px; }

/* Sidebar */
.biz-side { display: flex; flex-direction: column; gap: 18px; }
.biz-card-side {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.biz-card-side h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--brand-dark);
  margin: 0 0 12px;
}
.biz-side-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text);
}
.biz-side-row svg { color: var(--text-muted); flex-shrink: 0; margin-top: 2px; }
.biz-side-row a { color: var(--brand); text-decoration: none; }
.biz-side-row a:hover { text-decoration: underline; }
.biz-orare { width: 100%; border-collapse: collapse; font-size: 14px; }
.biz-orare th { text-align: left; font-weight: 500; padding: 4px 0; color: var(--text-muted); }
.biz-orare td { text-align: right; padding: 4px 0; color: var(--text); }
.biz-card-owner { background: var(--saffron-tint); border-color: var(--saffron); }
.btn-block { display: block; width: 100%; text-align: center; }
.muted { color: var(--text-muted); }
.small { font-size: 12px; }

/* =====================================================================
   Forms (cont-firma + register)
   ===================================================================== */
.form-stack { display: flex; flex-direction: column; gap: 22px; }
.form-stack fieldset {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px 22px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-stack legend {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--brand-dark);
  padding: 0 8px;
}
.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.form-stack input[type="text"],
.form-stack input[type="email"],
.form-stack input[type="tel"],
.form-stack input[type="url"],
.form-stack input[type="password"],
.form-stack input[type="file"],
.form-stack textarea,
.form-stack select {
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus {
  outline: 2px solid var(--brand-light);
  outline-offset: 1px;
  border-color: var(--brand-light);
}
.form-stack textarea { resize: vertical; min-height: 60px; }
.form-stack small { color: var(--text-muted); font-weight: 400; font-size: 12px; }
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.btn-secondary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* ──────────── Categorie landing ──────────── */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip-active {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.chip-count {
  background: rgba(255,255,255,.2);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.chip:not(.chip-active) .chip-count {
  background: rgba(0,0,0,.06);
  color: var(--muted);
}
.biz-badge-verif {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success, #06a77d);
  color: #fff;
  font-size: 11px;
  vertical-align: middle;
  margin-left: 4px;
}
.biz-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

/* ──────────── Editor orare (cont-firma) ──────────── */
.orare-editor {
  display: grid;
  grid-template-columns: 110px 80px 1fr 1fr 1.5fr;
  gap: 8px 12px;
  align-items: center;
  font-size: 14px;
}
.orare-editor > .orare-head {
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.orare-editor input[type="time"],
.orare-editor input[type="text"] {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
}
.orare-editor label.orare-closed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
}
.orare-day-label { font-weight: 600; }
.orare-row[data-closed="1"] input[type="time"],
.orare-row[data-closed="1"] input[type="text"] {
  opacity: .4;
  pointer-events: none;
}

/* ──────────── Galerie foto (cont-firma) ──────────── */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.photo-tile {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.photo-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo-tile .photo-actions {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  padding: 8px 8px 6px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.photo-tile .photo-actions button {
  background: rgba(255,255,255,.9);
  border: 0;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}
.photo-tile .photo-actions button.danger {
  background: rgba(230,57,70,.9);
  color: #fff;
}
.photo-upload-zone {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}
.photo-upload-zone:hover { border-color: var(--brand); color: var(--brand); }

.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.tab-nav a {
  padding: 10px 18px;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 14px;
}
.tab-nav a.active {
  color: var(--brand-dark);
  border-bottom-color: var(--accent);
}
.tab-nav a:hover { color: var(--brand); }
