@font-face {
  font-family: 'Fredoka';
  src: url('../fonts/Fredoka-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --primary:   #1B2B4B;
  --accent:    #C9A84C;
  --bg-light:  #F5F5F5;
  --card:      #FFFFFF;
  --text-main: #2D2D2D;
  --success:   #25D366;
  --error:     #D32F2F;
  --border:    #E0E0E0;
  --shadow:    0 2px 8px rgba(0,0,0,0.08);
  --r-card:    8px;
  --r-input:   4px;
  --r-btn:     50px;
  --page-max:  1680px;
  --page-pad:  clamp(1rem, 3vw, 3rem);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; width: 100%; overflow-x: hidden; }
body { width: 100%; overflow-x: hidden; font-family: 'Fredoka', ui-sans-serif, system-ui, sans-serif; background: var(--bg-light); color: var(--text-main); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body * { text-transform: none !important; }
body, p, li, input, select, textarea { font-weight: 400; }
h1, h2, h3, h4, h5, h6,
.logo,
.section-title,
.card-name,
.hero h1,
.seo-landing-intro h1,
.legal-hero h1,
.legal-content h2,
.pricing-hero h1,
.pricing-plan-title,
.dash-welcome h1 { font-weight: 400 !important; }
.btn,
.chip,
.tag,
.detail-tag,
.practice-name,
.footer-col h4,
.breadcrumb,
.label,
.detail-label,
.profile-stat-label,
.section-subtitle,
.seo-kicker,
.status-chip,
.trust-chip-row span,
.card-badge,
.admin-stat-label,
.admin-table th { font-weight: 400 !important; }
strong, b, .font-bold,
[style*="font-weight:700"],
[style*="font-weight: 700"],
[style*="font-weight:800"],
[style*="font-weight: 800"],
[style*="font-weight:900"],
[style*="font-weight: 900"] { font-weight: 400 !important; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
select, input, textarea { font-family: inherit; }

/* ── Utility ── */
.container { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-pad); }
.card { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-success { color: var(--success); }
.text-error   { color: var(--error); }
.bg-primary   { background: var(--primary); }
.bg-accent    { background: var(--accent); }
.bg-success   { background: var(--success); }
.bg-light     { background: var(--bg-light); }
.font-bold    { font-weight: 700; }
.uppercase    { text-transform: uppercase; }
.tracking-wide{ letter-spacing: 0.1em; }
.label        { display: block; font-size: 10px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 6px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding-inline: 1.5rem; border-radius: var(--r-btn); font-weight: 700; font-size: 13px; transition: opacity .15s, transform .1s; white-space: nowrap; border: 2px solid transparent; }
.btn:active { transform: scale(.98); }
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover { opacity: .92; }
.btn-secondary{ background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: var(--success); color: #fff; }
.btn-whatsapp:hover { opacity: .92; }
.contact-loading { opacity: .7; pointer-events: none; }
.contact-loading::after { content: '...'; margin-left: 2px; }
.btn-gold     { background: var(--accent); color: #fff; }
.btn-gold:hover { opacity: .92; }
.btn-sm       { height: 36px; font-size: 11px; padding-inline: 1rem; }
.btn-full     { width: 100%; }
.btn-danger   { background: var(--error); color: #fff; }
.btn-success-outline { background: #fff; color: var(--success); border-color: var(--success); }
.btn-success-outline:hover { background: var(--success); color: #fff; }

/* ── Inputs ── */
.input-field { display: block; width: 100%; height: 48px; padding: 0 1rem; border: 1px solid var(--border); border-radius: var(--r-input); font-size: 14px; color: var(--text-main); background: #fff; transition: border .15s; }
.input-field:focus { outline: none; border: 2px solid var(--primary); }
.input-field::placeholder { color: #aaa; }
.input-field.error { border-color: var(--error); }
textarea.input-field { height: auto; padding: 12px 1rem; resize: vertical; }
select.input-field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231B2B4B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 2.5rem; }
.input-prefix-wrap { position: relative; }
.input-prefix-wrap .prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #999; font-weight: 700; pointer-events: none; }
.input-prefix-wrap .input-field { padding-left: 2rem; }
.field-error { font-size: 11px; color: var(--error); margin-top: 4px; }
.coupon-apply-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.coupon-apply-row .btn { height: 48px; padding-inline: 1.25rem; }
.coupon-feedback { min-height: 18px; margin-top: 6px; font-size: 11px; font-weight: 800; }
.coupon-feedback.is-success { color: #15803d; }
.coupon-feedback.is-error { color: var(--error); }
.coupon-original-price { display: inline-block; margin-left: 8px; color: #999; font-size: .55em; font-weight: 800; text-decoration: line-through; vertical-align: middle; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 4px; font-size: 20px; font-weight: 700; line-height: 1; }
.logo span.legal { color: var(--primary); }
.logo span.mandi { color: var(--accent); }
.logo-icon { width: 32px; height: 32px; background: var(--primary); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 18px; height: 18px; fill: var(--accent); }
.logo-upload { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; flex: 0 0 auto; }
.logo-brand-icon { color: #fff; font-size: 18px; line-height: 1; }

/* ── Contact Page ── */
.contact-page { max-width: 920px; }
.contact-hero h1 { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 8px; letter-spacing: -.02em; }
.contact-hero p { color: #777; font-size: 14px; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-info-card { padding: 1.5rem; text-align: center; min-width: 0; }
.contact-info-icon { font-size: 28px; margin-bottom: 10px; }
.contact-info-title { font-size: 11px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.contact-info-value { font-weight: 800; color: var(--primary); font-size: 13px; margin-bottom: 4px; overflow-wrap: anywhere; }
.contact-info-desc { font-size: 11px; color: #aaa; line-height: 1.5; }
.contact-form-card { padding: 2rem; }
.contact-form-card h2 { font-size: 17px; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-message-field { height: 140px; resize: vertical; }
.contact-submit-btn { height: 50px; min-width: 180px; }
.header-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { background: none; border: none; cursor: pointer; color: var(--primary); display: flex; }
.hamburger svg { width: 24px; height: 24px; }
.mobile-menu { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; }
.mobile-menu.open { display: block; }
.mobile-menu-panel { position: absolute; right: 0; top: 0; bottom: 0; width: 280px; background: #fff; padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu-panel a { font-weight: 700; color: var(--primary); font-size: 15px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; text-transform: uppercase; letter-spacing: .1em; }
.mobile-close { align-self: flex-end; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* ── Footer ── */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding-top: 2.5rem; padding-bottom: 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { font-size: 13px; color: #666; line-height: 1.7; margin-top: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .1em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: #666; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #f0f0f0; padding-top: 1rem; text-align: center; font-size: 11px; color: #aaa; font-weight: 700; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .15em; line-height: 2; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin-inline: 4px; }
.breadcrumb .current { color: var(--primary); }
.breadcrumb-bar { background: var(--bg-light); border-bottom: 1px solid #e8e8e8; padding: 10px 0; position: sticky; top: 64px; z-index: 90; }

/* ── Lawyer Card ── */
.lawyer-card { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1rem; margin-bottom: 1rem; position: relative; overflow: hidden; display: block; color: inherit; transition: box-shadow .15s; }
.lawyer-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.lawyer-card-link { display: block; color: inherit; }
.card-badge-stack { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.card-badge { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; box-shadow: 0 8px 18px rgba(27,43,75,.10); }
.card-badge-featured { background: var(--accent); color: #fff; }
.card-badge-student { background: rgba(27,43,75,.08); color: var(--primary); border: 1px solid rgba(27,43,75,.08); }
.card-rating { margin-top: 6px; font-size: 11px; color: var(--accent); font-weight: 800; }
.trust-chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.trust-chip-row span { display: inline-flex; align-items: center; min-height: 24px; padding: 5px 8px; border-radius: 999px; background: #F8F4E8; border: 1px solid rgba(201,168,76,.22); color: var(--primary); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.card-trust-row { margin-top: 8px; }
.card-body { display: flex; gap: 1rem; margin-bottom: 1rem; }
.card-photo { width: 64px; height: 64px; border-radius: 50%; background: #e8e8e8; flex-shrink: 0; overflow: hidden; border: 2px solid #f0f0f0; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #aaa; }
.card-info { flex: 1; min-width: 0; }
.card-name { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); font-size: 15px; line-height: 1.3; margin-bottom: 4px; }
.verified-badge { width: 16px; height: 16px; flex-shrink: 0; }
.verified-badge svg { width: 100%; height: 100%; }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.tag { font-size: 10px; font-weight: 700; border: 1px solid var(--primary); color: var(--primary); padding: 2px 8px; border-radius: 50px; }
.card-meta { font-size: 11px; color: #777; font-weight: 500; margin-bottom: 2px; }
.card-location { font-size: 11px; color: #aaa; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { flex: 1; height: 40px; font-size: 12px; }
.seo-landing-intro { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; background: linear-gradient(135deg, #fff, #f7f2e5); border: 1px solid rgba(201,168,76,.18); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1.5rem; margin-bottom: 1.5rem; }
.seo-landing-intro h1 { font-size: 28px; line-height: 1.2; color: var(--primary); font-weight: 800; margin-bottom: 8px; }
.seo-landing-intro p { max-width: 760px; color: #666; line-height: 1.75; font-size: 14px; }
.seo-kicker { font-size: 10px !important; color: var(--accent) !important; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 8px; }
.seo-landing-facts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; min-width: 220px; }
.seo-landing-facts span { border-radius: 999px; background: #fff; border: 1px solid rgba(27,43,75,.08); color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; }
.seo-nearby-links { flex-basis: 100%; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(27,43,75,.08); font-size: 12px; color: #777; }
.seo-nearby-links a, .seo-local-cluster a { color: var(--primary); background: #fff; border: 1px solid rgba(27,43,75,.08); border-radius: 999px; padding: 6px 10px; font-weight: 800; font-size: 11px; }
.seo-local-cluster { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #eee; }
.seo-local-cluster h3 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.seo-local-cluster p { font-size: 13px; color: #777; margin-bottom: 10px; }
.seo-local-cluster div { display: flex; flex-wrap: wrap; gap: 8px; }
.local-featured-section { background: linear-gradient(135deg, #fff, #fbf7ec); border: 1px solid rgba(201,168,76,.22); border-radius: 18px; box-shadow: 0 16px 42px rgba(27,43,75,.08); padding: 1.25rem; margin-bottom: 1.5rem; }
.local-featured-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.local-featured-head h2 { color: var(--primary); font-size: 22px; line-height: 1.15; font-weight: 900; letter-spacing: -.03em; margin-bottom: 6px; }
.local-featured-head p { color: #777; font-size: 13px; line-height: 1.7; max-width: 860px; }

/* ── Legal / Policy Pages ── */
.legal-page { background: linear-gradient(180deg, #f6f6f3 0%, #fff 44%, #f5f5f5 100%); padding-bottom: 2rem; }
.legal-hero { background: radial-gradient(circle at 12% 18%, rgba(201,168,76,.20), transparent 30%), linear-gradient(135deg, var(--primary), #263b65); color: #fff; padding: 4rem 0 5rem; margin-bottom: -2rem; }
.legal-hero-inner { max-width: 860px; }
.legal-hero .seo-kicker { color: rgba(255,255,255,.72); }
.legal-hero h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.02; font-weight: 900; letter-spacing: -.04em; margin: .4rem 0 1rem; }
.legal-hero p { max-width: 760px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.8; }
.legal-page-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1.5rem; align-items: start; position: relative; z-index: 2; min-width: 0; }
.legal-page-nav { position: sticky; top: 96px; }
.legal-page-nav, .legal-page-nav-card, .legal-content-card, .legal-content { min-width: 0; }
.legal-page-nav-card { background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(27,43,75,.12); border: 1px solid rgba(27,43,75,.06); padding: 1rem; display: grid; gap: 6px; max-width: 100%; }
.legal-page-nav-card span { font-size: 10px; font-weight: 900; color: #aaa; text-transform: uppercase; letter-spacing: .16em; padding: .4rem .6rem .7rem; }
.legal-page-nav-card a { display: flex; align-items: center; min-height: 40px; border-radius: 12px; padding: 0 .85rem; color: var(--primary); font-size: 13px; font-weight: 800; }
.legal-page-nav-card a:hover, .legal-page-nav-card a.active { background: #f7f2e5; color: var(--primary); }
.legal-content-card { background: #fff; border-radius: 22px; box-shadow: 0 18px 50px rgba(27,43,75,.10); border: 1px solid rgba(27,43,75,.06); overflow: hidden; width: 100%; }
.legal-content { padding: clamp(1.5rem, 4vw, 3.25rem); color: #444; font-size: 15px; line-height: 1.9; max-width: 980px; width: 100%; }
.legal-content h2 { font-size: clamp(24px, 3vw, 38px); line-height: 1.1; font-weight: 900; color: var(--primary); letter-spacing: -.03em; margin: 0 0 1rem; }
.legal-content h3 { font-size: 17px; font-weight: 900; color: var(--primary); margin: 2rem 0 .65rem; padding-top: .35rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { display: grid; gap: .65rem; padding-left: 0; list-style: none; margin: 1rem 0 1.5rem; }
.legal-content li { position: relative; padding-left: 1.6rem; }
.legal-content li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px rgba(201,168,76,.14); }
.legal-content a { color: var(--accent); font-weight: 800; border-bottom: 1px solid rgba(201,168,76,.35); }
.legal-content strong { color: var(--primary); }
.seo-faq-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1.5rem; margin-top: 2rem; }
.seo-faq-card h2 { font-size: 18px; color: var(--primary); font-weight: 800; margin-bottom: 1rem; }
.seo-faq-card details { border-top: 1px solid #f0f0f0; padding: 1rem 0; }
.seo-faq-card details:last-child { padding-bottom: 0; }
.seo-faq-card summary { cursor: pointer; font-size: 13px; color: var(--primary); font-weight: 800; }
.seo-faq-card p { color: #666; font-size: 13px; line-height: 1.7; margin-top: 8px; }

/* ── Filter Chips ── */
.filter-bar { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px; margin-bottom: 1.5rem; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; padding: 8px 20px; border-radius: 50px; font-size: 12px; font-weight: 700; border: 1px solid var(--border); background: #fff; color: var(--primary); cursor: pointer; transition: all .15s; }
.chip.active, .chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Section Titles ── */
.section-title { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.section-subtitle { font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1rem; }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 2rem 0; }
.page-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 12px; font-weight: 700; border: 1px solid var(--border); background: #fff; color: var(--primary); cursor: pointer; }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:hover:not(.active) { border-color: var(--primary); }
.page-btn-text { padding-inline: 12px; height: 36px; }

/* ── Profile Page ── */
.profile-header-card { text-align: center; padding: 2rem; position: relative; overflow: hidden; }
.profile-header-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 80px; background: rgba(27,43,75,.04); }
.profile-avatar-wrap { position: relative; display: inline-block; margin-bottom: 1rem; }
.profile-avatar { width: 100px; height: 100px; border-radius: 50%; border: 4px solid #fff; box-shadow: var(--shadow); object-fit: cover; background: #e8e8e8; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #aaa; margin: 0 auto; }
.profile-badge { position: absolute; bottom: 4px; right: -4px; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.profile-badge svg { width: 20px; height: 20px; display: block; }
.profile-verify-text { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.profile-rating { display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--accent); font-size: 12px; font-weight: 800; }
.profile-trust-row { justify-content: center; margin-bottom: 1rem; }
.review-card .section-title { margin-bottom: 1rem; }
.review-list { display: grid; gap: .75rem; margin-bottom: 1rem; }
.review-item { background: var(--bg-light); border-radius: 12px; padding: 1rem; border: 1px solid #eee; }
.review-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 6px; font-size: 13px; color: var(--primary); }
.review-head span { color: var(--accent); font-weight: 800; white-space: nowrap; }
.review-item p { font-size: 13px; color: #555; line-height: 1.7; }
.review-form { display: grid; gap: .75rem; margin-top: 1rem; }
.review-form-grid { display: grid; grid-template-columns: 1fr 1fr 140px; gap: .75rem; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; padding: 1.5rem 0; margin: 1.5rem 0; }
.profile-stat-label { display: block; font-size: 10px; color: #aaa; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.profile-stat-val { font-weight: 700; color: var(--primary); font-size: 15px; }
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: 12px 1rem; z-index: 90; display: flex; gap: 12px; }
.sticky-cta .btn { flex: 1; }
.faq-item { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 8px; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem; cursor: pointer; font-weight: 700; font-size: 13px; color: var(--primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { font-size: 20px; color: var(--accent); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] summary { background: #fafafa; }
.faq-body { padding: 0 1rem 1rem; font-size: 13px; color: #666; line-height: 1.7; background: #fafafa; }
.profile-faq-list { display: grid; gap: 8px; }
.profile-faq-list .faq-item { margin-bottom: 0; }
.profile-mobile-faq { display: block; }
.profile-desktop-faq { display: none; margin-top: 1rem; }
.profile-desktop-faq .section-title,
.profile-mobile-faq .section-title { margin-bottom: 1rem; }
.profile-desktop-faq .section-title,
.profile-mobile-faq .section-title,
.profile-faq-list .faq-item summary { font-weight: 400 !important; }
.profile-header-card h1,
.profile-header-card .detail-label,
.profile-header-card .card-name,
.details-grid .detail-label { font-weight: 700 !important; }
.profile-share-card { background: linear-gradient(145deg, #fff, #faf7ee); border: 1px solid rgba(201,168,76,.22); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1.25rem; }
.profile-share-copy h2 { color: var(--primary); font-size: 18px; line-height: 1.2; margin-bottom: 1rem; }
.profile-share-qr { width: 164px; height: 164px; margin: 0 auto 1rem; padding: 10px; border-radius: 20px; background: #fff; border: 1px solid #eee; box-shadow: 0 10px 26px rgba(27,43,75,.08); }
.profile-share-qr img { width: 100%; height: 100%; display: block; object-fit: contain; }
.profile-share-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.profile-share-actions .btn { width: 100%; min-height: 40px; height: auto; white-space: normal; }
.profile-mobile-share { display: block; }
.profile-desktop-share { display: none; margin-top: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; align-items: start; justify-content: center; }
.gallery-item { aspect-ratio: 4 / 3; max-height: 170px; border-radius: 14px; background: #e8e8e8; overflow: hidden; border: 1px solid #f0f0f0; }
.gallery-preview-btn { width: 100%; height: 100%; display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-preview-btn img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; loading: lazy; display: block; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #bbb; text-transform: uppercase; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(8,14,28,.82); }
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img { max-width: min(920px, 94vw); max-height: 86vh; object-fit: contain; border-radius: 18px; background: #fff; box-shadow: 0 20px 80px rgba(0,0,0,.35); }
.gallery-lightbox-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--primary); font-size: 24px; font-weight: 800; cursor: pointer; }
.fee-card { text-align: center; border-top: 4px solid var(--accent); padding: 1.5rem; }
.profile-sidebar-fee-card { display: none; }
.fee-amount { font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1; }
.fee-amount span { font-size: 14px; color: #aaa; font-weight: 400; }
.details-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.detail-label { font-size: 10px; color: #aaa; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-tag { font-size: 11px; font-weight: 700; color: var(--primary); background: var(--bg-light); padding: 4px 12px; border-radius: 4px; }

/* ── Hero Search ── */
.hero { background: radial-gradient(circle at 14% 12%, rgba(201,168,76,.16), transparent 28%), linear-gradient(180deg, #fff 0%, #faf8f1 100%); padding: 3rem 1rem 2.5rem; text-align: center; }
.hero h1 { font-size: 28px; font-weight: 700; color: var(--primary); line-height: 1.25; margin-bottom: 12px; }
.hero p { font-size: 14px; color: #777; margin-bottom: 2rem; }
.search-bar { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.search-bar .input-field { background: #fff; }
.search-bar .btn { width: 100%; }

/* ── Practice Area Grid ── */
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 100%; margin: 0 auto; }
.practice-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); cursor: pointer; transition: box-shadow .15s; }
.practice-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.practice-icon { width: 48px; height: 48px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; border: 1px solid #eee; }
.practice-name { font-size: 11px; font-weight: 700; color: var(--primary); text-align: center; line-height: 1.3; }

/* ── Trust Bar ── */
.trust-bar { background: var(--primary); padding: 12px 0; overflow: hidden; }
.trust-bar-inner { display: flex; gap: 3rem; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .15em; white-space: nowrap; animation: scroll-left 20s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── How It Works ── */
.steps-section { background: #fff; padding: 3rem 1rem; text-align: center; }
.steps-grid { display: flex; flex-direction: column; gap: 2rem; max-width: 1080px; margin: 0 auto; }
.step-item { }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-light); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: var(--primary); margin: 0 auto 1rem; }
.step-title { font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.step-desc { font-size: 13px; color: #777; line-height: 1.7; }

/* ── Registration ── */
.reg-progress { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 0 2rem; margin-bottom: 2rem; }
.reg-progress::before { content: ''; position: absolute; top: 16px; left: calc(2rem + 16px); right: calc(2rem + 16px); height: 2px; background: #e0e0e0; z-index: 0; }
.step-badge { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: #e0e0e0; color: #999; }
.step-circle.active { background: var(--accent); color: #fff; }
.step-circle.done { background: var(--primary); color: #fff; }
.step-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #aaa; }
.step-label.active { color: var(--accent); }
.chip-select { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip-option { padding: 8px; text-align: center; font-size: 11px; font-weight: 700; border: 1px solid var(--border); border-radius: 4px; background: #fff; color: var(--primary); cursor: pointer; transition: all .15s; }
.chip-option.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.upload-box { border: 2px dashed var(--border); border-radius: var(--r-card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background .15s; font-size: 11px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .1em; }
.upload-box:hover { background: #fafafa; }
.upload-circle { width: 96px; height: 96px; border-radius: 50%; }
.upload-rect { width: 100%; height: 80px; }
.upload-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.upload-gallery-item { aspect-ratio: 1; border: 2px dashed var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #bbb; font-weight: 700; cursor: pointer; }
.payment-box { border: 1px solid rgba(201,168,76,.3); background: rgba(201,168,76,.04); border-radius: var(--r-card); padding: 1.5rem; }
.upi-copy-row { background: #fff; border: 1px solid #eee; border-radius: 6px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.upi-copy-row span { font-size: 12px; font-weight: 700; color: #555; }
.copy-btn { font-size: 10px; font-weight: 700; color: var(--accent); background: rgba(201,168,76,.1); padding: 4px 10px; border-radius: 4px; border: none; cursor: pointer; }
.qr-placeholder { width: 128px; height: 128px; background: #e8e8e8; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #bbb; text-transform: uppercase; margin: 0 auto 1rem; }
.register-entry-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.role-picker-card, .role-summary-card { padding: 2rem; }
.role-summary-panel { min-height: 100%; }
.role-price-badge { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 999px; background: rgba(201,168,76,.14); color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.role-benefits { display: grid; gap: 10px; }
.role-benefits div { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #555; line-height: 1.7; }
.role-benefits div::before { content: '•'; color: var(--accent); font-weight: 700; }
.role-switch-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pricing-page { max-width: var(--page-max); }
.pricing-hero h1 { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.pricing-hero p { font-size: 15px; color: #777; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.pricing-plan-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 100%; margin: 0 auto 3rem; align-items: stretch; }
.pricing-comparison-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
.pricing-plan-card { padding: 2rem; display: flex; flex-direction: column; min-height: 100%; }
.pricing-plan-card--advocate { border-top: 4px solid var(--primary); }
.pricing-plan-card--student { border-top: 4px solid var(--success); }
.pricing-plan-card--featured { border: 1px solid rgba(201,168,76,.35); background: linear-gradient(180deg, rgba(201,168,76,.08), #fff 28%); box-shadow: 0 18px 45px rgba(27,43,75,.08); position: relative; overflow: hidden; }
.pricing-plan-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.pricing-plan-title-block { max-width: 70%; }
.pricing-plan-label { font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 6px; }
.pricing-plan-label--success { color: var(--success); }
.pricing-plan-title { font-size: 24px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.pricing-plan-note { font-size: 12px; color: #666; margin-top: 6px; line-height: 1.6; }
.pricing-plan-price { text-align: right; }
.pricing-plan-amount { font-size: 40px; font-weight: 700; color: var(--primary); line-height: 1; }
.pricing-plan-amount--accent { color: var(--accent); }
.pricing-plan-period { font-size: 12px; color: #aaa; font-weight: 700; margin-top: 6px; }
.pricing-plan-period--dark { color: #666; }
.pricing-plan-benefits { display: grid; gap: .85rem; margin-bottom: 1.5rem; }
.pricing-plan-benefit { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #555; line-height: 1.7; }
.pricing-plan-benefit-icon { color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-plan-cta { height: 52px; font-size: 15px; margin-top: auto; }
.pricing-feature-spotlight { justify-content: flex-start; }
.pricing-top-chip { display: inline-flex; align-items: center; justify-content: center; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.pricing-kicker { font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 6px; }
.pricing-feature-list { display: grid; gap: .75rem; }
.pricing-feature-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #555; line-height: 1.7; }
.pricing-feature-dot { color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-feature-summary { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; margin-bottom: 1.25rem; }
.pricing-feature-summary-box { border: 1px solid rgba(201,168,76,.22); border-radius: 14px; background: rgba(255,255,255,.92); padding: .95rem 1rem; }
.pricing-summary-label { font-size: 10px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.pricing-summary-value { font-size: 22px; font-weight: 700; color: var(--primary); }
.pricing-wide-panel { max-width: 1180px; }
.pricing-faq-wrap { max-width: 1180px; }

/* ── Login ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; background: var(--bg-light); }
.auth-card { width: 100%; max-width: 400px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 2.5rem 2rem; }
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-tagline { font-size: 12px; color: #aaa; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 2rem; }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 1.5rem 0; }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.or-divider span { font-size: 11px; color: #aaa; font-weight: 700; }

/* ── Dashboard ── */
.dash-welcome { background: var(--primary); color: #fff; padding: 1.5rem 1rem; }
.dash-welcome-inner { display: flex; justify-content: space-between; align-items: center; }
.dash-welcome h1 { font-size: 20px; font-weight: 700; }
.dash-welcome .eyebrow { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 4px; }
.plan-badge { padding: 6px 16px; border-radius: 50px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.plan-badge.featured { background: var(--accent); color: #fff; }
.plan-badge.listed { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1rem; text-align: center; }
.stat-val { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 9px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .1em; }
.progress-bar-wrap { height: 8px; background: #f0f0f0; border-radius: 50px; overflow: hidden; margin: 10px 0; }
.progress-bar-fill { height: 100%; background: var(--accent); border-radius: 50px; transition: width .4s; }
.plan-card { border-left: 4px solid var(--accent); }
.referral-card { border-left: 4px solid var(--success); }
.ref-link-row { background: var(--bg-light); border-radius: 6px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; margin: 1rem 0; }
.ref-link-row span { font-size: 11px; font-weight: 700; color: var(--primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; margin-right: 12px; }
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #f0f0f0; padding-top: 1rem; text-align: center; }
.ref-stats > div:not(:last-child) { border-right: 1px solid #f0f0f0; }
.ref-stat-val { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.ref-stat-label { font-size: 8px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .1em; }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qa-btn { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1rem; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qa-btn span.icon { font-size: 20px; }
.qa-btn span.label { font-size: 9px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; text-align: center; }
.missing-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.missing-chip { font-size: 10px; font-weight: 700; color: #888; background: #f8f8f8; border: 1px dashed #ccc; padding: 6px 12px; border-radius: 4px; }
.dashboard-overview-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.dashboard-panel { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1.5rem; }
.dashboard-panel-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.dashboard-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.dashboard-mini-stat { background: var(--bg-light); border-radius: 12px; padding: .9rem 1rem; }
.dashboard-mini-label { font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .12em; }
.dashboard-mini-value { font-size: 18px; font-weight: 700; color: var(--primary); margin-top: 4px; line-height: 1.2; }
.stats-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.dashboard-card-actions { margin-top: 1.1rem; display: grid; gap: .85rem; }
.dashboard-card-actions .btn { margin: 0; }
.dashboard-feature-status { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 999px; background: #f7f2e5; border: 1px solid rgba(201,168,76,.35); color: var(--primary); font-size: 12px; font-weight: 800; text-align: center; }
.dashboard-feature-status.is-active { background: rgba(201,168,76,.16); color: #8a6b12; }
.dashboard-wallet-list { margin-top: 1rem; border-top: 1px solid #f1f1f1; padding-top: 1rem; display: grid; gap: .75rem; }
.dashboard-wallet-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #fafafa; border: 1px solid #f1f1f1; border-radius: 10px; padding: .85rem 1rem; }
.dashboard-actions-grid { grid-template-columns: repeat(2, 1fr); }
.dashboard-panel-wide { grid-column: 1 / -1; }
.insight-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.insight-card { background: var(--bg-light); border: 1px solid #eee; border-radius: 14px; padding: 1rem; min-width: 0; }
.insight-bars { height: 74px; display: flex; align-items: flex-end; gap: 7px; margin-top: 1rem; }
.insight-bars span { flex: 1; min-height: 8px; border-radius: 999px 999px 4px 4px; background: linear-gradient(180deg, var(--accent), #e5d08a); }
.insight-list { display: grid; gap: .55rem; margin-top: .75rem; }
.insight-row { display: flex; justify-content: space-between; gap: .75rem; align-items: center; border-bottom: 1px solid rgba(0,0,0,.05); padding-bottom: .55rem; }
.insight-row:last-child { border-bottom: 0; padding-bottom: 0; }
.insight-row span { color: var(--primary); font-size: 12px; font-weight: 700; line-height: 1.35; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.insight-row strong { color: var(--accent); font-size: 11px; white-space: nowrap; }
.insight-empty { color: #888; font-size: 12px; line-height: 1.6; }

/* ── SEO Internal Links ── */
.seo-link-section { background: #fff; padding: 3rem 0; }
.seo-link-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.seo-link-header p:not(.seo-kicker) { color: #777; font-size: 13px; max-width: 680px; line-height: 1.7; }
.seo-link-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.seo-link-grid a { display: flex; justify-content: space-between; gap: .75rem; align-items: center; background: linear-gradient(135deg, #fff, #faf7ed); border: 1px solid rgba(201,168,76,.22); border-radius: 14px; padding: .9rem 1rem; box-shadow: 0 8px 24px rgba(27,43,75,.05); }
.seo-link-grid a span { color: var(--primary); font-size: 13px; font-weight: 800; }
.seo-link-grid a small { color: var(--accent); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.related-results { margin-top: 2.5rem; padding: 1.75rem; background: linear-gradient(135deg, rgba(27,43,75,.06), rgba(201,168,76,.10)); border: 1px solid rgba(27,43,75,.08); border-radius: 22px; }
.related-results-head { max-width: 760px; margin-bottom: 1.25rem; }
.related-results-head h2 { color: var(--primary); font-size: 1.6rem; margin-bottom: .45rem; }
.related-results-head p { color: #666; line-height: 1.65; font-size: 13px; }

/* ── Admin ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--primary); flex-shrink: 0; display: flex; flex-direction: column; }
.admin-sidebar-header { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1rem; }
.admin-sidebar-title { font-size: 9px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .2em; margin-top: 4px; }
.admin-nav-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; cursor: pointer; transition: background .15s; }
.admin-nav-item:hover { background: rgba(255,255,255,.05); }
.admin-nav-item.active { background: rgba(255,255,255,.1); border-left: 4px solid var(--accent); padding-left: 20px; }
.admin-nav-item span.nav-label { font-size: 13px; color: rgba(255,255,255,.6); }
.admin-nav-item.active span.nav-label { color: #fff; }
.admin-nav-badge { background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 50px; }
.admin-main { flex: 1; overflow-y: auto; background: var(--bg-light); }
.admin-topbar { background: #fff; padding: 1rem 2rem; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.admin-topbar h2 { font-size: 17px; font-weight: 700; color: var(--primary); }
.admin-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.admin-content { padding: 2rem; max-width: none; }
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.admin-stat-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1.5rem; }
.admin-stat-label { font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 8px; }
.admin-stat-val { font-size: 26px; font-weight: 700; }
.admin-table-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 1.5rem; }
.admin-table-header { padding: 1rem 1.5rem; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; background: #fafafa; }
.admin-table-header h3 { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { padding: 10px 16px; font-size: 10px; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: .12em; text-align: left; border-bottom: 1px solid #eee; background: #fafafa; }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }
.admin-action-stack { display: grid; gap: 12px; }
.admin-action-form { display: grid; gap: 8px; margin: 0; }
.admin-action-form .btn, .admin-action-stack > .btn { width: 100%; min-height: 44px; height: auto; white-space: normal; }
.admin-action-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.admin-delete-box { border: 1px solid #FCA5A5; background: #FFF7F7; border-radius: 18px; padding: 12px; }
.admin-delete-confirm { display: flex; align-items: flex-start; gap: 8px; color: #991B1B; font-size: 12px; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }
.admin-delete-confirm input { width: 16px; height: 16px; margin-top: 1px; flex: 0 0 auto; }
.admin-crm-hero { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; background: linear-gradient(135deg, #fff, #f7f2e5); border: 1px solid rgba(201,168,76,.18); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-crm-hero h2 { color: var(--primary); font-size: 22px; margin-bottom: 6px; }
.admin-crm-hero p { color: #666; font-size: 13px; max-width: 620px; }
.renewal-inline-form { display: grid; grid-template-columns: 120px 140px minmax(140px, 1fr) auto; gap: 6px; align-items: center; }
.renewal-inline-form .input-field { height: 36px; font-size: 12px; }
.status-chip { display: inline-flex; padding: 3px 10px; border-radius: 50px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.status-pending  { background: #FFF3CD; color: #856404; }
.status-approved { background: #D1FAE5; color: #065F46; }
.status-rejected { background: #FEE2E2; color: #991B1B; }
.status-active   { background: #D1FAE5; color: #065F46; }
.status-new      { background: #EFF6FF; color: #1E40AF; }
.status-read     { background: #F3F4F6; color: #374151; }
.status-replied  { background: #D1FAE5; color: #065F46; }
.approval-card { padding: 1.5rem; border-bottom: 1px solid #f5f5f5; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.approval-card:last-child { border-bottom: none; }
.approval-photo { width: 48px; height: 48px; border-radius: 50%; background: #e8e8e8; flex-shrink: 0; overflow: hidden; border: 1px solid #eee; object-fit: cover; }
.approval-info { flex: 1; }
.approval-name { font-weight: 700; color: var(--primary); font-size: 14px; margin-bottom: 2px; }
.approval-sub { font-size: 11px; color: #aaa; font-weight: 700; margin-bottom: 10px; }
.approval-screenshot { width: 64px; height: 48px; background: #f0f0f0; border: 1px solid #eee; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: #ccc; text-transform: uppercase; cursor: pointer; }
.approval-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.approval-card--review { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(280px, auto) minmax(190px, 240px); align-items: start; gap: 1.25rem; }
.approval-doc-grid { display: grid; grid-template-columns: repeat(3, minmax(82px, 1fr)); gap: 12px; align-items: start; }
.approval-doc-grid .label { white-space: nowrap; }
.approval-screenshot--text { width: 86px; min-height: 48px; height: auto; padding: 8px; line-height: 1.35; text-align: center; word-break: normal; }
.approval-actions--review .btn { min-height: 48px; border-radius: 999px; font-size: 13px !important; }
.payout-utr-form { display: flex; gap: 8px; align-items: center; }
.payout-utr-form input { height: 36px; width: 140px; }

/* ── Bare Act Page ── */
.bare-act-quote { font-size: 15px; color: #555; font-weight: 500; line-height: 1.9; padding: 2rem; border-left: 4px solid var(--primary); border-radius: 0 var(--r-card) var(--r-card) 0; box-shadow: var(--shadow); background: #fff; }
.punishment-card { background: var(--primary); color: #fff; border-radius: var(--r-card); padding: 2rem; }
.punishment-card .eyebrow { font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 8px; }
.punishment-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 1rem; }
.punishment-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.punishment-tag { padding: 4px 14px; background: rgba(255,255,255,.1); border-radius: 50px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.key-points-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.key-point { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 1rem; }
.key-point-icon { color: var(--accent); font-size: 18px; flex-shrink: 0; line-height: 1; }
.key-point-text { font-size: 13px; color: #555; line-height: 1.7; }
.bare-act-cta { border: 1px solid rgba(201,168,76,.3); background: rgba(201,168,76,.05); border-radius: var(--r-card); padding: 2rem; text-align: center; }
.related-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.related-chip { padding: 8px 16px; border: 1px solid var(--border); background: #fff; border-radius: 4px; font-size: 12px; font-weight: 700; color: var(--primary); }
.related-chip:hover { border-color: var(--accent); }

/* ── Fee Index ── */
.fee-table-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.fee-table-header { background: var(--primary); padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 12px; }
.fee-filters { display: flex; gap: 8px; }
.fee-filter-select { height: 36px; padding: 0 12px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; flex: 1; }
.fee-filter-select option { background: var(--primary); color: #fff; }
.fee-index-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
.fee-index-card-dark { background: var(--primary); color: #fff; border-radius: var(--r-card); padding: 2rem; }
.fee-index-card-light { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; }

/* ── Search Results ── */
.search-sticky { position: sticky; top: 64px; z-index: 80; background: #fff; border-bottom: 1px solid var(--border); padding: 10px 0; }
.sort-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.sort-select { height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 4px; font-size: 12px; font-weight: 700; color: var(--primary); background: #fff; }
.no-results { text-align: center; padding: 4rem 2rem; }
.no-results p { font-size: 14px; color: #aaa; margin-bottom: 1.5rem; }

/* ── Forgot Password ── */
/* reuses auth-card */

/* ── Responsive ── */
@media (min-width: 640px) {
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
  .chip-select { grid-template-columns: repeat(3, 1fr); }
  .key-points-grid { grid-template-columns: 1fr 1fr; }
  .fee-index-cards { grid-template-columns: 1fr 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
  .hero h1 { font-size: 40px; }
  .hero { padding: 5rem 2rem 4rem; }
  .search-bar { flex-direction: row; background: #fff; padding: 6px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,.1); border: 1px solid #eee; gap: 0; }
  .search-bar .input-field { border: none; flex: 1; border-radius: 0; height: 44px; }
  .search-bar .input-field:focus { border: none; outline: none; box-shadow: none; }
  .search-bar .btn { width: auto; border-radius: 6px; height: 44px; }
  .practice-grid { grid-template-columns: repeat(5, 1fr); max-width: 100%; }
  .steps-grid { flex-direction: row; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .header-nav { display: flex; align-items: center; gap: 1.5rem; }
  .header-nav a { font-size: 14px; font-weight: 400; color: var(--primary); text-transform: uppercase; letter-spacing: .02em; }
  .header-nav a:hover { color: var(--accent); }
  .hamburger { display: none; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .stats-row .stat-card { padding: 1.5rem; }
  .listing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .register-entry-layout { grid-template-columns: minmax(280px, 320px) 1fr; }
  .pricing-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-comparison-row { grid-template-columns: repeat(3, 1fr); }
  .dashboard-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-actions-grid { grid-template-columns: repeat(4, 1fr); }
  .insight-grid { grid-template-columns: .8fr 1.1fr 1.1fr; }
  .seo-link-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .seo-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .profile-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; }
  .sticky-cta { display: none; }
  .profile-desktop-cta { display: block; }
  .profile-main-fee-card { display: none; }
  .profile-sidebar-fee-card { display: block; }
  .profile-mobile-faq { display: none; }
  .profile-desktop-faq { display: block; }
  .profile-mobile-share { display: none; }
  .profile-desktop-share { display: block; }
  .listing-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .hero { padding-block: 6rem 5rem; }
  .hero h1 { font-size: 56px; letter-spacing: -.04em; }
  .hero p { font-size: 16px; }
  .listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .practice-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .profile-layout { grid-template-columns: minmax(0, 2.4fr) minmax(340px, .8fr); }
  .admin-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .seo-link-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 1536px) {
  :root { --page-max: 1760px; --page-pad: 3.5rem; }
  .listing-grid { gap: 2rem; }
  .pricing-plan-card { padding: 2.5rem; }
}

@media (max-width: 767px) {
  :root { --page-pad: 16px; }
  .seo-landing-intro { display: block; padding: 1.25rem; }
  .seo-landing-intro h1 { font-size: 22px; }
  .seo-landing-facts { justify-content: flex-start; min-width: 0; margin-top: 1rem; }
  .local-featured-section { border-radius: 14px; padding: 1rem; }
  .local-featured-head { display: block; }
  .local-featured-head h2 { font-size: 19px; }
  .local-featured-head .btn { margin-top: .8rem; width: 100%; }
  .legal-page { overflow-x: hidden; }
  .legal-hero { padding: 1.6rem 0 2.25rem; margin-bottom: -1rem; }
  .legal-hero h1 { font-size: clamp(28px, 10vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
  .legal-hero p { font-size: 14px; line-height: 1.7; }
  .legal-page-shell { display: block; width: 100%; max-width: 100%; padding-inline: 12px; }
  .legal-page-nav { position: static; width: 100%; max-width: 100%; margin-bottom: .9rem; overflow: hidden; }
  .legal-page-nav-card { display: flex; width: 100%; max-width: 100%; overflow-x: auto; overflow-y: hidden; border-radius: 14px; padding: .65rem; gap: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .legal-page-nav-card::-webkit-scrollbar { display: none; }
  .legal-page-nav-card span { display: none; }
  .legal-page-nav-card a { flex: 0 0 auto; white-space: nowrap; min-height: 36px; font-size: 12px; padding-inline: .85rem; }
  .legal-content-card { border-radius: 18px; max-width: 100%; width: 100%; }
  .legal-content { max-width: none; padding: 1.15rem; font-size: 14px; line-height: 1.75; overflow-wrap: break-word; word-break: normal; }
  .legal-content h2 { font-size: 24px; line-height: 1.15; }
  .legal-content h3 { font-size: 16px; line-height: 1.35; }
  .legal-content ul { gap: .55rem; }
  .legal-content li { padding-left: 1.35rem; }
  .legal-content p, .legal-content li { max-width: 100%; }
  .legal-content a { word-break: break-word; }
  .legal-content [style*="grid"] { grid-template-columns: 1fr !important; }
  form [style*="grid-template-columns:1fr 1fr"],
  form [style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
  .coupon-apply-row { grid-template-columns: 1fr; }
  .coupon-apply-row .btn { width: 100%; }
  .review-form-grid, .renewal-inline-form { grid-template-columns: 1fr; }
  .admin-crm-hero { display: block; }
  .pricing-plan-title-block { max-width: 100%; }
  .pricing-plan-price { text-align: left; }
  .pricing-feature-summary { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; justify-content: stretch; width: 100%; }
  .gallery-item { width: 100%; max-height: none; border-radius: 12px; }
  .contact-page { padding-top: 1.5rem; padding-bottom: 2rem; max-width: 100%; }
  .contact-hero { text-align: left; margin-bottom: 1.25rem; }
  .contact-hero h1 { font-size: 30px; line-height: 1.1; }
  .contact-info-grid, .contact-form-grid { grid-template-columns: 1fr; }
  .contact-info-card { padding: 1rem; display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; text-align: left; align-items: center; }
  .contact-info-icon { margin: 0; grid-row: span 3; font-size: 24px; }
  .contact-form-card { padding: 1.15rem; border-radius: 18px; }
  .contact-submit-btn { width: 100%; }
}

/* ── Alerts ── */
.alert { padding: 12px 16px; border-radius: var(--r-input); font-size: 13px; font-weight: 600; margin-bottom: 1rem; }
.alert-success { background: #D1FAE5; color: #065F46; border-left: 4px solid var(--success); }
.alert-error { background: #FEE2E2; color: #991B1B; border-left: 4px solid var(--error); }
.alert-info { background: #EFF6FF; color: #1E40AF; border-left: 4px solid #3B82F6; }

/* ── Misc ── */
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.py-2 { padding-block: .5rem; } .py-4 { padding-block: 1rem; } .py-6 { padding-block: 1.5rem; } .py-8 { padding-block: 2rem; } .py-12 { padding-block: 3rem; }
.px-4 { padding-inline: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.text-center { text-align: center; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.text-gray { color: #666; }
.text-gray-light { color: #aaa; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ── Typography fine-tuning ── */
.profile-header-card h1,
.card-name,
.mobile-menu-panel a,
.seo-link-grid a,
.seo-link-grid a span,
.seo-link-grid a small,
.seo-link-header h2,
.seo-link-header p,
.local-featured-head h2,
.local-featured-head p { font-weight: 400 !important; }
.profile-header-card .profile-stat-label,
.profile-header-card [style*="BCI ID"],
.details-grid .detail-label,
.details-grid > div > .detail-label,
.card .details-grid .detail-label,
.card .details-grid > div > .detail-label { font-weight: 700 !important; color: var(--primary) !important; }
.details-grid .detail-tag,
.details-grid [style*="font-size:13px"],
.details-grid [style*="font-size: 13px"] { font-weight: 400 !important; }
.seo-faq-card h2,
.seo-faq-card summary,
.seo-local-cluster h3,
.seo-local-cluster a,
.seo-nearby-links strong,
.seo-nearby-links a,
.seo-landing-facts span,
.related-results h2,
.related-results p { font-weight: 400 !important; }
.details-grid .detail-tags *,
.details-grid div:not(.detail-label),
.details-grid div:not(.detail-label) *,
.details-grid span,
.details-grid p { font-weight: 400 !important; }
.card .details-grid .detail-label,
.card .details-grid > div > .detail-label { font-weight: 700 !important; }
