/* AvökatFinder Hungary - Main Stylesheet v2 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --red: #CE2939;
  --red-dark: #A01F2B;
  --navy: #0D1F3C;
  --navy-light: #162D55;
  --gold: #477050;
  --white: #FFFFFF;
  --off-white: #F8F6F1;
  --bg-light: #F4F2ED;
  --light-grey: #EEEAE3;
  --mid-grey: #DDD9D0;
  --text: #1A1A2E;
  --text-muted: #5A6475;
  --border: #DDD9D0;
  --shadow-sm: 0 2px 8px rgba(13,31,60,0.07);
  --shadow-md: 0 4px 20px rgba(13,31,60,0.11);
  --shadow-lg: 0 8px 40px rgba(13,31,60,0.14);
  --radius: 8px;
  --radius-lg: 12px;
  --max-w: 1200px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── SVG Icons ──────────────────────────────────────────────────────────── */
.ico {
  display: inline-block;
  width: 40px; height: 40px;
  stroke: currentColor;
  flex-shrink: 0;
}
.ico-sm {
  display: inline-block;
  width: 15px; height: 15px;
  stroke: currentColor;
  vertical-align: middle;
  flex-shrink: 0;
}
.ico-wrap {
  width: 52px; height: 52px;
  background: #FEE8EA;
  color: var(--red);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.ico-wrap .ico { width: 26px; height: 26px; }

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), var(--shadow-md);
  transition: box-shadow 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: var(--max-w); margin: 0 auto; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-size: 1.1rem; font-weight: 700;
  text-decoration: none; letter-spacing: -0.3px; flex-shrink: 0;
}
.logo-img { height: 32px; width: auto; filter: brightness(0) invert(1); flex-shrink: 0; }
.logo-text { font-family: var(--font-serif); }
.logo-text span { color: #CE2939; }

nav { display: flex; align-items: center; gap: 2px; }
nav a {
  color: rgba(255,255,255,0.78); font-size: 0.875rem; font-weight: 500;
  padding: 7px 13px; border-radius: var(--radius); transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
}
nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
nav a.active {
  color: var(--white);
  border-bottom: 2px solid #CE2939;
  padding-bottom: 5px;
}
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 7px 16px !important; letter-spacing: 0.04em;
}
.nav-cta:hover { background: var(--red-dark) !important; border-bottom: none !important; }
.hamburger { display: none; cursor: pointer; background: none; border: none; color: white; font-size: 1.5rem; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1C3568 100%);
  color: var(--white); padding: clamp(4rem, 8vw, 7rem) 24px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(206,41,57,0.2); color: #FF9EAA;
  border: 1px solid rgba(206,41,57,0.35); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.8px; text-transform: uppercase; padding: 5px 16px;
  border-radius: 20px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15; margin-bottom: 18px; font-weight: 700;
}
.hero h1 span { color: #FF9EAA; }
.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.8);
  max-width: 600px; margin: 0 auto 34px;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 26px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
  text-decoration: none; border: 2px solid transparent;
  letter-spacing: 0.02em; font-family: var(--font-sans);
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(206,41,57,0.3); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--off-white); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--red); color: var(--white); text-decoration: none; }

/* ── TRUST BAR ──────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--off-white); border-bottom: 1px solid var(--border); padding: 14px 24px;
}
.trust-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.83rem; color: var(--text-muted); font-weight: 500; }
.trust-item strong { color: var(--text); }
.trust-sep { color: var(--border); }

/* ── SECTION ────────────────────────────────────────────────────────────── */
section { padding: clamp(3rem, 6vw, 5rem) 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; background: #FDE8EA; color: var(--red-dark);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--navy); margin-bottom: 12px; line-height: 1.2;
}
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ── GRIDS ──────────────────────────────────────────────────────────────── */
.practice-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; max-width: var(--max-w); margin: 0 auto;
}
.city-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px; max-width: var(--max-w); margin: 0 auto;
}
.firms-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px; max-width: var(--max-w); margin: 0 auto;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px; max-width: var(--max-w); margin: 0 auto;
}

/* ── PRACTICE AREA CARD ─────────────────────────────────────────────────── */
.practice-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: all 0.25s; display: block; text-decoration: none; color: inherit;
}
.practice-card:hover {
  border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none;
}
.practice-icon { margin-bottom: 14px; }
.practice-card .ico-wrap { margin-bottom: 14px; }
.practice-card h3 { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.practice-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }
.practice-card .card-link { font-size: 0.82rem; color: var(--red); font-weight: 600; margin-top: 14px; display: block; }
.practice-card .card-link:hover { text-decoration: none; }

/* ── FIRM CARD ──────────────────────────────────────────────────────────── */
.firm-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; transition: all 0.25s; position: relative;
}
.firm-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); }
.firm-rank {
  position: absolute; top: 16px; right: 16px;
  background: var(--navy); color: var(--white); font-size: 0.72rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
}
.firm-rank.top-3 { background: #b8860b; color: var(--white); }
.firm-card h3 { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; padding-right: 56px; }
.firm-type-badge {
  display: inline-block; background: var(--light-grey); color: var(--text-muted);
  font-size: 0.71rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-bottom: 10px;
}
.firm-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.firm-meta-item {
  display: flex; align-items: center; gap: 5px; font-size: 0.79rem; color: var(--text-muted);
}
.firm-meta-item .ico-sm { color: var(--text-muted); }
.firm-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.tag {
  background: var(--light-grey); color: var(--text-muted); font-size: 0.71rem;
  padding: 3px 8px; border-radius: 4px; font-weight: 500;
}
.tag.english { background: #E3F5E4; color: #2E7D32; font-weight: 600; }
.firm-ranking-text { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; font-style: italic; }
.firm-links { display: flex; gap: 8px; flex-wrap: wrap; }
.firm-link {
  display: inline-flex; align-items: center; gap: 5px; font-size: 0.79rem; font-weight: 600;
  color: var(--red); text-decoration: none; padding: 5px 12px; border: 1px solid var(--red);
  border-radius: var(--radius); transition: all 0.15s;
}
.firm-link:hover { background: var(--red); color: var(--white); text-decoration: none; }

/* ── FILTER BAR ─────────────────────────────────────────────────────────── */
.filter-section { max-width: var(--max-w); margin: 0 auto 32px; }
.filter-label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  background: var(--white); border: 1.5px solid var(--border); color: var(--text-muted);
  font-size: 0.82rem; font-weight: 500; padding: 6px 14px; border-radius: 20px;
  cursor: pointer; transition: all 0.15s; font-family: var(--font-sans);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); font-weight: 600; }
.filter-count-bar { font-size: 0.82rem; color: var(--text-muted); margin-top: 12px; }
.filter-count { font-weight: 700; color: var(--navy); }

/* ── CITY CARD ──────────────────────────────────────────────────────────── */
.city-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; transition: all 0.25s; display: block; text-decoration: none; color: inherit; text-align: center;
}
.city-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.city-icon-wrap {
  width: 48px; height: 48px; background: var(--light-grey); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  color: var(--navy);
}
.city-icon-wrap .ico { width: 26px; height: 26px; }
.city-card h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.city-card .city-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.city-badge { display: inline-block; background: #FDE8EA; color: var(--red); font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.city-card-large {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; display: flex; gap: 20px; text-decoration: none; color: inherit; transition: all 0.25s;
  align-items: flex-start;
}
.city-card-large:hover { border-color: var(--red); box-shadow: var(--shadow-md); text-decoration: none; }
.city-list { display: flex; flex-direction: column; gap: 16px; max-width: var(--max-w); margin: 0 auto; }
.city-info h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.city-info .city-subtitle { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.city-info p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; }
.city-info .card-link { font-size: 0.83rem; color: var(--red); font-weight: 600; }

/* ── BLOG CARD ──────────────────────────────────────────────────────────── */
.blog-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); }
.blog-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 24px; color: var(--white);
}
.blog-cat {
  display: inline-block; background: rgba(206,41,57,0.25); color: #FFAAB5;
  font-size: 0.71rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.blog-card-header h2, .blog-card-header h3 { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.blog-card-header a { color: var(--white); text-decoration: none; }
.blog-card-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body p { font-size: 0.85rem; color: var(--text-muted); flex: 1; margin-bottom: 16px; line-height: 1.55; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-muted); }
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.read-more { color: var(--red); font-weight: 600; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* ── PAGE HERO ──────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); padding: 56px 24px 48px;
}
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin-bottom: 12px; line-height: 1.2;
}
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.8); max-width: 700px; }
.hero-icon { font-size: 2.5rem; margin-bottom: 14px; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-question {
  padding: 18px 24px; font-weight: 600; font-size: 0.95rem; color: var(--navy);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; width: 100%; text-align: left; font-family: var(--font-sans);
}
.faq-icon { font-size: 1.2rem; color: var(--red); flex-shrink: 0; }
.faq-answer { padding: 0 24px 18px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; display: none; }
.faq-answer.open { display: block; }

/* ── TAG GRID ───────────────────────────────────────────────────────────── */
.tag-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-link {
  display: inline-flex; align-items: center; gap: 6px; background: var(--white);
  border: 1.5px solid var(--border); color: var(--text); font-size: 0.83rem; font-weight: 500;
  padding: 7px 14px; border-radius: 20px; text-decoration: none; transition: all 0.15s;
}
.tag-link:hover { border-color: var(--red); color: var(--red); text-decoration: none; }

/* ── CTA BAND ───────────────────────────────────────────────────────────── */
.cta-band { background: var(--red); color: var(--white); padding: 64px 24px; text-align: center; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 56px 24px 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: var(--max-w); margin: 0 auto 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 40px;
}
.footer-logo {
  color: var(--white); font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.footer-brand p { font-size: 0.83rem; line-height: 1.65; max-width: 280px; }
.footer-disclaimer { color: rgba(255,255,255,0.38); font-size: 0.75rem; margin-top: 10px; line-height: 1.5; }
.footer-col h4 { color: var(--white); font-size: 0.79rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.83rem; text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.78rem;
}

/* ── BLOG ARTICLE ───────────────────────────────────────────────────────── */
.blog-article { max-width: 820px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) 24px; }
.blog-article-header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.blog-article-header h1 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--navy); margin: 12px 0; line-height: 1.2; }
.blog-lead { font-size: 1.1rem; color: var(--text-muted); line-height: 1.65; }
.blog-meta-bar { display: flex; gap: 20px; font-size: 0.82rem; color: var(--text-muted); margin-top: 16px; flex-wrap: wrap; }
.blog-meta-bar span { display: flex; align-items: center; gap: 5px; }
.blog-content h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); margin: 2.5rem 0 1rem; line-height: 1.25; }
.blog-content h3 { font-size: 1.15rem; color: var(--navy); margin: 1.8rem 0 0.8rem; font-weight: 700; }
.blog-content p { margin-bottom: 1.2rem; line-height: 1.75; color: var(--text); }
.blog-content ul, .blog-content ol { margin: 0 0 1.2rem 1.5rem; }
.blog-content li { margin-bottom: 0.5rem; line-height: 1.65; }
.blog-content strong { font-weight: 700; color: var(--text); }
.blog-content a { color: var(--red); }

/* ── EMAIL GATE MODAL ───────────────────────────────────────────────────── */
.gate-overlay {
  position: fixed; inset: 0; background: rgba(8,14,30,0.7);
  display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; transition: opacity .2s;
}
.gate-overlay.open { opacity: 1; }
.gate-modal {
  background: #fff; border-radius: 16px; padding: 40px 36px;
  max-width: 420px; width: 90%; position: relative; text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.gate-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--text-muted); }
.gate-icon { font-size: 2.2rem; margin-bottom: 12px; }
.gate-modal h3 { font-family: var(--font-serif); color: var(--navy); margin-bottom: 10px; font-size: 1.4rem; }
.gate-modal p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 16px; line-height: 1.55; }
.gate-email { width: 100%; padding: 11px 14px; border: 1.5px solid #ddd; border-radius: var(--radius); font-size: 0.95rem; margin-bottom: 12px; box-sizing: border-box; font-family: var(--font-sans); }
.gate-email:focus { outline: none; border-color: var(--red); }
.gate-modal .btn { width: 100%; justify-content: center; }
.gate-small { font-size: 0.77rem; color: #aaa; margin-top: 12px; }

/* ── CONTACT LOCK ───────────────────────────────────────────────────────── */
.firm-contacts-locked { filter: blur(4px); pointer-events: none; user-select: none; }
.lock-overlay { text-align: center; margin: 6px 0 10px; }
.lock-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--off-white); border: 1.5px solid var(--red); color: var(--red);
  font-size: 0.82rem; padding: 6px 14px; border-radius: 20px; cursor: pointer; font-weight: 600; transition: all .15s;
}
.lock-btn:hover { background: var(--red); color: #fff; }

/* ── SAVE BUTTON ────────────────────────────────────────────────────────── */
.btn-save {
  background: none; border: 1.5px solid var(--border); color: var(--text-muted);
  font-size: 0.8rem; padding: 5px 12px; border-radius: 20px; cursor: pointer; margin-top: 8px;
  transition: all .15s; font-family: var(--font-sans);
}
.btn-save:hover { border-color: var(--red); color: var(--red); }
.btn-save:disabled { color: #2E7D32; border-color: #2E7D32; cursor: default; }

/* ── REVIEWS WIDGET ─────────────────────────────────────────────────────── */
.reviews-widget { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 16px; }
.reviews-summary { margin-bottom: 12px; font-size: 0.88rem; color: var(--text-muted); }
.stars-display { color: #E6A817; letter-spacing: 1px; }
.star { color: #E6A817; font-size: 1.1rem; }
.star-btn { cursor: pointer; transition: transform .1s; }
.star-btn:hover { transform: scale(1.2); }
.review-item { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--bg-light); }
.review-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.review-name { font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.review-date { font-size: 0.77rem; color: #bbb; margin-left: auto; }
.review-comment { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.reviews-empty { font-size: 0.85rem; color: #bbb; font-style: italic; }
.review-form-wrap { margin-top: 14px; }
.star-picker { font-size: 1.4rem; margin-bottom: 10px; }
.review-name-input, .review-comment-input {
  width: 100%; padding: 8px 10px; border: 1.5px solid #e0e0e0; border-radius: var(--radius);
  font-size: 0.85rem; margin-bottom: 8px; box-sizing: border-box; font-family: var(--font-sans);
}
.review-name-input:focus, .review-comment-input:focus { outline: none; border-color: var(--red); }
.review-note { font-size: 0.74rem; color: #aaa; margin: 6px 0 0; }

/* ── WIZARD ─────────────────────────────────────────────────────────────── */
.wizard-wrap { max-width: 680px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) 24px; }
.wizard-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.wizard-header { background: var(--navy); color: var(--white); padding: 28px 32px; }
.wizard-header h1 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 6px; }
.wizard-header p { font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.wizard-progress { padding: 20px 32px 0; background: var(--off-white); border-bottom: 1px solid var(--border); }
.wizard-steps-bar { display: flex; align-items: center; margin-bottom: 16px; }
.wstep { width: 32px; height: 32px; border-radius: 50%; background: var(--border); color: var(--text-muted); font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.wstep.done { background: var(--gold); color: #fff; }
.wstep.active { background: var(--red); color: #fff; }
.wstep-line { flex: 1; height: 2px; background: var(--border); margin: 0 4px; }
.wstep-line.done { background: var(--gold); }
.wizard-body { padding: 28px 32px; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-step h2 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--navy); margin-bottom: 6px; }
.wizard-step p.hint { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.wizard-opts { display: flex; flex-direction: column; gap: 10px; }
.wizard-opts.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wizard-opts.grid3 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wopt {
  background: var(--white); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; cursor: pointer; font-size: 0.9rem; color: var(--text); font-weight: 500;
  text-align: left; transition: all 0.15s; font-family: var(--font-sans);
}
.wopt:hover { border-color: var(--red); color: var(--red); background: #FEF2F3; }
.wopt.selected { border-color: var(--red); background: #FEF2F3; color: var(--red); font-weight: 600; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.wbtn-back { background: none; border: 1.5px solid var(--border); color: var(--text-muted); padding: 10px 20px; border-radius: var(--radius); cursor: pointer; font-size: 0.88rem; font-family: var(--font-sans); }
.wbtn-back:hover { border-color: var(--text-muted); color: var(--text); }
.wizard-results { display: none; }
.wizard-results.active { display: block; }
.result-intro { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.result-card {
  background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 14px; position: relative;
}
.result-rank { position: absolute; top: 16px; right: 16px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.result-card h3 { font-family: var(--font-serif); font-size: 1rem; color: var(--navy); margin-bottom: 4px; padding-right: 50px; }
.result-card .result-type { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.result-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.result-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── DASHBOARD ──────────────────────────────────────────────────────────── */
.dash-header { margin-bottom: 28px; }
.dash-email-display { color: var(--text-muted); font-size: 0.9rem; }
.btn-link { background: none; border: none; color: var(--red); cursor: pointer; font-size: 0.9rem; text-decoration: underline; }
.dash-gate { max-width: 420px; }
.dash-gate input { width: 100%; padding: 11px 14px; border: 1.5px solid #ddd; border-radius: var(--radius); font-size: 0.95rem; margin-bottom: 12px; box-sizing: border-box; font-family: var(--font-sans); }
.dash-firm { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--off-white); border-radius: var(--radius); margin-bottom: 8px; }
.btn-small { font-size: 0.78rem; padding: 5px 12px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: block; }
  nav.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy); padding: 16px 24px; gap: 4px; z-index: 200; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hero { padding: 52px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .firms-grid { grid-template-columns: 1fr; }
  .wizard-body { padding: 20px; }
  .wizard-opts.grid2, .wizard-opts.grid3 { grid-template-columns: 1fr; }
  .blog-article { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .trust-bar-inner { gap: 14px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .filter-btn { font-size: 0.78rem; padding: 5px 11px; }
}

/* ── FIRM BADGES ─────────────────────────────────────────────────────────── */
.badge { display:inline-block; font-size:0.72rem; font-weight:700; padding:3px 9px; border-radius:20px; margin:2px 4px 2px 0; }
.badge-green  { background:#d1fae5; color:#065f46; }
.badge-blue   { background:#dbeafe; color:#1e40af; }
.badge-verified { background:#fef3c7; color:#92400e; border:1px solid #fbbf24; }
.badge-sla    { background:#ede9fe; color:#5b21b6; }
.firm-header-row { display:flex; flex-wrap:wrap; align-items:flex-start; gap:8px; margin-bottom:4px; }
.firm-header-row h3 { margin:0; flex:1; min-width:0; }
.firm-badges  { display:flex; flex-wrap:wrap; gap:4px; }

/* ── FIRM CARD FEATURED ──────────────────────────────────────────────────── */
.firm-card--featured { border-color:#c9a84c !important; box-shadow:0 0 0 1px #c9a84c, var(--shadow-md) !important; }
.firm-card--featured::before { content:'★ Featured'; position:absolute; top:0; right:0; background:#c9a84c; color:#fff; font-size:0.68rem; font-weight:700; letter-spacing:.06em; padding:3px 10px; border-radius:0 12px 0 8px; }
.firm-card { position:relative; }

/* ── RATINGS ─────────────────────────────────────────────────────────────── */
.firm-rating { display:inline-flex; align-items:center; gap:5px; font-size:0.85rem; margin:4px 0 8px; text-decoration:none; color:inherit; }
.firm-rating:hover { text-decoration:underline; }
.stars-filled { color:#f59e0b; font-size:1rem; letter-spacing:1px; }
.stars        { color:#f59e0b; letter-spacing:1px; }
.review-count { color:#6b7280; font-size:0.8rem; }
.firm-rating-empty { color:#6b7280; font-size:0.82rem; }
