/* Solov & Teitell — brand tokens (Schwaner & Co. palette) */
:root {
  --st-gold: #c9a96e;
  --st-gold-dark: #b08e54;
  --st-gold-light: #e0c48a;
  --st-navy: #0d1f3c;
  --st-navy-dark: #1a1a2e;
  --st-navy-light: #2a3a5e;
  --st-cream: #faf7f2;
  --st-cream-warm: #f0ebe2;
  --st-ink: #1a1a2e;
  --st-ink-muted: #4a4a6a;
  --st-slate: #7a7a9a;
  --st-accent: #2d7a51;
  --st-line: #e8e1d3;
  --st-bg: #ffffff;
  --st-bg-alt: #faf7f2;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 31, 60, 0.06);
  --shadow-md: 0 8px 30px rgba(13, 31, 60, 0.12);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--st-ink);
  background: var(--st-bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--st-navy);
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
a { color: var(--st-navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--st-gold-dark); }

/* Layout */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--st-bg-alt); }
.section-navy { background: var(--st-navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a { color: var(--st-gold-light); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--st-gold);
  color: #fff !important;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  border: 2px solid var(--st-gold);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn:hover { background: var(--st-gold-dark); border-color: var(--st-gold-dark); transform: translateY(-1px); }

/* Continuous shimmer sweep across the button (matches WIN / Schwaner) */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.30) 50%, transparent 100%);
  transform: skewX(-20deg) translateX(-250%);
  pointer-events: none;
  z-index: 10;
  animation: btn-shimmer 2.8s ease-in-out infinite;
}
.btn.form-submit::after { animation-duration: 3.6s; }

@keyframes btn-shimmer {
  0%   { transform: skewX(-20deg) translateX(-250%); opacity: 0; }
  5%   { opacity: 1; }
  40%  { transform: skewX(-20deg) translateX(350%); opacity: 1; }
  41%  { opacity: 0; }
  100% { transform: skewX(-20deg) translateX(-250%); opacity: 0; }
}

/* Auto-shake on phone icons (matches WIN / Schwaner) */
@keyframes phone-auto-shake {
  0%   { transform: rotate(0deg)   scale(1); }
  4%   { transform: rotate(-18deg) scale(1.2); }
  8%   { transform: rotate(16deg)  scale(1.2); }
  12%  { transform: rotate(-13deg) scale(1.1); }
  16%  { transform: rotate(10deg)  scale(1.1); }
  20%  { transform: rotate(-7deg)  scale(1.05); }
  24%  { transform: rotate(4deg)   scale(1.02); }
  28%  { transform: rotate(0deg)   scale(1); }
  100% { transform: rotate(0deg)   scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .btn::after, .phone-cta svg, .btn-phone-icon { animation: none !important; }
}
.btn-outline {
  background: transparent;
  color: var(--st-navy) !important;
  border-color: var(--st-navy);
}
.btn-outline:hover { background: var(--st-navy); color: #fff !important; }
.btn-on-dark {
  background: var(--st-gold);
  border-color: var(--st-gold);
}
.btn-on-dark:hover { background: #fff; color: var(--st-navy) !important; border-color: #fff; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--st-gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-top {
  background: var(--st-navy);
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 0;
}
.header-top .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.header-top a { color: #fff; text-decoration: none; }
.header-top a:hover { color: var(--st-gold-light); }
.lang-toggle { display: flex; gap: 14px; font-size: 0.85rem; }
.lang-toggle a { padding: 2px 6px; border-radius: 3px; }
.lang-toggle a.active, .lang-toggle a:hover { background: var(--st-gold); color: #fff; }

.header-main {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 64px; height: auto; }
.brand-text { font-family: var(--font-serif); color: var(--st-navy); line-height: 1.1; }
.brand-text .b-line1 { display: block; font-size: 1.15rem; font-weight: 700; color: var(--st-gold-dark); }
.brand-text .b-line2 { display: block; font-size: 0.85rem; color: var(--st-navy); letter-spacing: 1.5px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  text-decoration: none; color: var(--st-navy); font-weight: 600; font-size: 0.97rem;
  padding: 6px 0; position: relative;
}
.main-nav a:hover { color: var(--st-gold-dark); }
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a::after { content: " ▾"; font-size: 0.75em; opacity: 0.6; }
.main-nav .submenu {
  display: none;
  position: absolute; top: 100%; left: -16px;
  background: #fff; box-shadow: var(--shadow-md); border-top: 3px solid var(--st-gold);
  min-width: 280px; padding: 8px 0; border-radius: 0 0 var(--radius) var(--radius);
}
.main-nav .has-sub:hover .submenu { display: block; }
.main-nav .submenu a {
  display: block; padding: 9px 18px; font-weight: 500; font-size: 0.95rem;
  border-bottom: 1px solid var(--st-line);
}
.main-nav .submenu a:last-child { border-bottom: none; }
.main-nav .submenu a:hover { background: var(--st-bg-alt); color: var(--st-gold-dark); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--st-gold); color: #fff !important; padding: 10px 18px;
  text-decoration: none; border-radius: var(--radius); font-weight: 700;
}
.phone-cta:hover { background: var(--st-gold-dark); }
.phone-cta {
  position: relative;
  overflow: hidden;
}
.phone-cta::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.32) 50%, transparent 100%);
  transform: skewX(-20deg) translateX(-250%);
  pointer-events: none;
  animation: btn-shimmer 2.6s ease-in-out infinite;
}
.phone-cta svg {
  width: 16px; height: 16px; fill: currentColor;
  display: inline-block;
  transform-origin: center;
  animation: phone-auto-shake 2.5s ease-in-out infinite;
  position: relative; z-index: 2;
}

.nav-toggle {
  display: none; background: none; border: 2px solid var(--st-navy); color: var(--st-navy);
  padding: 6px 12px; border-radius: var(--radius); font-weight: 700; cursor: pointer;
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-top: 1px solid var(--st-line); padding: 12px 24px 20px;
    max-height: 75vh; overflow-y: auto;
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--st-line); }
  .main-nav.open .submenu { position: static; box-shadow: none; border-top: none; padding-left: 14px; }
  .main-nav.open .has-sub:hover .submenu { display: block; }
  .brand img { width: 52px; }
  .brand-text .b-line1 { font-size: 1rem; }
}

/* Hero — clean navy with subtle gold light accents */
.hero {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(201,169,110,0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(201,169,110,0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--st-navy) 0%, var(--st-navy-dark) 100%);
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(255,255,255,0.02) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.02) 95%);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--st-gold-light); }
.hero .lede { font-size: 1.18rem; line-height: 1.55; margin-bottom: 28px; color: rgba(255,255,255,0.92); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.hero-badges span { display: flex; align-items: center; gap: 8px; }
.hero-badges span::before { content: "\2713"; color: var(--st-gold-light); font-weight: 800; }

.hero-form {
  background: #fff; color: var(--st-ink); padding: 32px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero-form h3 { color: var(--st-navy); margin-bottom: 4px; font-size: 1.35rem; }
.hero-form .sub { font-size: 0.9rem; color: var(--st-ink-muted); margin-bottom: 18px; }

@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Form */
.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 4px; color: var(--st-navy); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--st-line); border-radius: var(--radius);
  font-size: 1rem; font-family: inherit; background: #fff;
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--st-gold); outline-offset: 1px; border-color: var(--st-gold);
}
.form-consent {
  font-size: 0.78rem; color: var(--st-ink-muted); margin: 10px 0 14px; line-height: 1.5;
  display: flex; gap: 8px; align-items: flex-start;
}
.form-consent input[type=checkbox] { margin-top: 3px; flex-shrink: 0; }
.form-submit { width: 100%; }
.form-status { margin-top: 12px; padding: 10px; border-radius: var(--radius); display: none; font-size: 0.92rem; }
.form-status.ok { display: block; background: #e6f5e8; color: #1e6a2a; border: 1px solid #bfe1c4; }
.form-status.err { display: block; background: #fde7e7; color: #8a1f1f; border: 1px solid #f0bfbf; }

/* Settlements row */
.settlements {
  background: var(--st-bg-alt); padding: 56px 0;
}
.settlements h2 { text-align: center; margin-bottom: 38px; }
.settlement-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.settlement-card {
  background: #fff; padding: 28px 22px; border-radius: var(--radius-lg);
  border-top: 4px solid var(--st-gold); box-shadow: var(--shadow-sm);
  text-align: center;
}
.settlement-card .amount {
  font-family: var(--font-serif); font-size: 2rem; color: var(--st-navy); font-weight: 800; line-height: 1; margin-bottom: 10px;
}
.settlement-card p { font-size: 0.93rem; color: var(--st-ink-muted); margin: 0; }
@media (max-width: 860px) {
  .settlement-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .settlement-card { padding: 22px 16px; }
  .settlement-card .amount { font-size: 1.6rem; }
}

/* Why choose us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.why-card {
  padding: 28px; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--st-line); box-shadow: var(--shadow-sm);
}
.why-card .ico {
  width: 44px; height: 44px; border-radius: 50%; background: var(--st-gold);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800;
  font-size: 1.15rem; margin-bottom: 14px;
}
.why-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why-card p { font-size: 0.97rem; color: var(--st-ink-muted); margin: 0; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 18px; } }

/* Practice grid */
.practice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px;
}
.practice-card {
  background: #fff; padding: 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--st-line); transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  text-decoration: none; color: inherit; display: block;
}
.practice-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--st-gold);
}
.practice-card h3 { color: var(--st-navy); margin-bottom: 8px; font-size: 1.15rem; }
.practice-card p { font-size: 0.93rem; color: var(--st-ink-muted); margin: 0 0 12px; line-height: 1.55; }
.practice-card .more { color: var(--st-gold-dark); font-weight: 700; font-size: 0.9rem; }
@media (max-width: 860px) { .practice-grid { grid-template-columns: 1fr; gap: 14px; } }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--st-navy) 0%, var(--st-navy-dark) 100%);
  color: #fff; padding: 60px 0 48px;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero .crumb { font-size: 0.88rem; opacity: 0.8; }
.page-hero .crumb a { color: var(--st-gold-light); text-decoration: none; }
.page-hero .lede { font-size: 1.1rem; opacity: 0.95; max-width: 760px; margin-top: 12px; }

/* Article / content */
.content { max-width: 800px; margin: 0 auto; }
.content h2 { margin-top: 1.6em; }
.content h3 { margin-top: 1.4em; }
.content ul, .content ol { padding-left: 1.3em; margin-bottom: 1em; }
.content li { margin-bottom: 0.4em; }
.content blockquote {
  border-left: 4px solid var(--st-gold); padding: 8px 18px; margin: 1.5em 0;
  background: var(--st-bg-alt); font-style: italic; color: var(--st-navy);
}
.content .callout {
  background: var(--st-bg-alt); border-left: 4px solid var(--st-navy);
  padding: 20px 24px; margin: 1.5em 0; border-radius: 0 var(--radius) var(--radius) 0;
}
.content .callout strong { color: var(--st-navy); }

/* 2-col layout */
.with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.with-sidebar .sidebar {
  position: sticky; top: 120px;
  background: var(--st-bg-alt); padding: 28px; border-radius: var(--radius-lg);
  border-top: 4px solid var(--st-gold);
}
.with-sidebar .sidebar h3 { font-size: 1.2rem; margin-bottom: 12px; }
.with-sidebar .sidebar p { font-size: 0.93rem; color: var(--st-ink-muted); margin-bottom: 16px; }
.with-sidebar .sidebar .phone-big {
  display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--st-navy);
  text-decoration: none; font-weight: 800; margin-bottom: 12px;
}
@media (max-width: 960px) {
  .with-sidebar { grid-template-columns: 1fr; gap: 32px; }
  .with-sidebar .sidebar { position: static; }
}

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.testi-card {
  background: #fff; padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--st-line); position: relative;
}
.testi-card::before {
  content: "\201C"; position: absolute; top: -8px; left: 18px;
  font-family: var(--font-serif); font-size: 5rem; color: var(--st-gold); line-height: 1;
}
.testi-card .quote { padding-top: 26px; font-style: italic; color: var(--st-ink); margin-bottom: 14px; }
.testi-card .author { font-weight: 700; color: var(--st-navy); font-size: 0.92rem; letter-spacing: 1px; }
.testi-card .stars { color: var(--st-gold); margin-bottom: 8px; font-size: 1rem; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }

/* Attorney cards */
.attorney-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 32px; }
.attorney-card {
  background: #fff; border: 1px solid var(--st-line); border-radius: var(--radius-lg);
  padding: 32px; border-top: 5px solid var(--st-gold);
}
.attorney-card h3 { color: var(--st-navy); font-size: 1.5rem; margin-bottom: 4px; }
.attorney-card .title { color: var(--st-gold-dark); font-weight: 700; font-size: 0.92rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.attorney-card p { font-size: 0.97rem; color: var(--st-ink-muted); }
@media (max-width: 860px) { .attorney-grid { grid-template-columns: 1fr; } }

/* Contact info block */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { background: var(--st-bg-alt); padding: 32px; border-radius: var(--radius-lg); border-top: 4px solid var(--st-gold); }
.contact-info h3 { color: var(--st-navy); margin-bottom: 16px; }
.contact-info .row { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-info .row .ico { font-size: 1.3rem; flex-shrink: 0; }
.contact-info .row strong { display: block; color: var(--st-navy); margin-bottom: 2px; }
.contact-info a { color: var(--st-navy); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

/* CTA strip */
.cta-strip {
  background: var(--st-navy); color: #fff; padding: 56px 0; text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 12px; }
.cta-strip p { max-width: 640px; margin: 0 auto 24px; font-size: 1.08rem; opacity: 0.92; }

/* Footer */
.site-footer {
  background: var(--st-navy-dark); color: rgba(255,255,255,0.85);
  padding: 56px 0 24px; font-size: 0.93rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: #fff; font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-grid a { color: rgba(255,255,255,0.85); text-decoration: none; display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--st-gold-light); }
.footer-brand img { width: 80px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.6; opacity: 0.85; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; text-align: center; opacity: 0.75; font-size: 0.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Chat widget */
.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  background: var(--st-gold); color: #fff; border: none;
  width: 60px; height: 60px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer; box-shadow: var(--shadow-md);
  transition: transform 0.2s, background 0.2s;
}
.chat-launcher:hover { background: var(--st-gold-dark); transform: scale(1.06); }
.chat-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 200;
  width: 360px; max-width: calc(100vw - 44px); height: 520px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--st-line);
}
.chat-panel.open { display: flex; }
.chat-header {
  background: var(--st-navy); color: #fff; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header strong { font-family: var(--font-serif); font-size: 1.05rem; }
.chat-header .sub { font-size: 0.78rem; opacity: 0.8; }
.chat-close { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 0 4px; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; background: var(--st-bg-alt); }
.chat-msg { margin-bottom: 10px; padding: 10px 13px; border-radius: 12px; max-width: 88%; font-size: 0.93rem; line-height: 1.5; white-space: pre-wrap; }
.chat-msg.bot { background: #fff; border: 1px solid var(--st-line); color: var(--st-ink); }
.chat-msg.user { background: var(--st-navy); color: #fff; margin-left: auto; }
.chat-input-row {
  display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--st-line); background: #fff;
}
.chat-input-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--st-line); border-radius: var(--radius); font-size: 0.93rem; }
.chat-input-row button { padding: 10px 14px; background: var(--st-gold); color: #fff; border: none; border-radius: var(--radius); font-weight: 700; cursor: pointer; }
.chat-input-row button:disabled { opacity: 0.5; cursor: not-allowed; }
