:root {
  --navy: #0f172a;
  --slate: #1e293b;
  --charcoal: #111827;
  --panel: #172033;
  --panel-2: #202b40;
  --gold: #d4af37;
  --blue: #38bdf8;
  --text: #ffffff;
  --body: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(248, 250, 252, 0.14);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--body);
  background: var(--navy);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: 1200px;
  min-height: 88px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-weight: 800;
}

.logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text strong,
.brand-text small { display: block; line-height: 1.2; }
.brand-text strong { color: var(--text); font-size: 1rem; }
.brand-text small { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.footer-brand .logo { width: 66px; height: 66px; }

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-menu a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--slate);
}

.language-button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--navy);
  background: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--slate);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 118px 28px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 64px;
  align-items: center;
}

.hero h1,
.section-heading h2,
.split-section h2,
.contact-copy h2,
.cta-band h2,
.legal-page h1 {
  margin: 0;
  color: var(--text);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.75rem, 5.8vw, 5.35rem);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button.primary,
.button.light {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.22);
}

.button.primary:hover,
.button.light:hover { background: #e0bd4f; }

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
}

.practice-panel,
.service-card,
.why-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--panel), var(--slate));
  box-shadow: var(--shadow);
}

.practice-panel { padding: 32px; }
.practice-panel div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.practice-panel div:first-child { padding-top: 0; }
.practice-panel div:last-child { padding-bottom: 0; border-bottom: 0; }

.practice-panel span,
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 800;
}

.practice-panel strong,
.service-card h3,
.why-grid strong,
.contact-list strong,
.contact-form label {
  color: var(--text);
}

.practice-panel strong {
  display: block;
  margin-top: 14px;
  font-size: 1.06rem;
}

.practice-panel p,
.service-card p,
.about-grid p,
.contact-copy p,
.why-grid p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 28px;
}

.about { border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; }

.section-heading h2,
.split-section h2,
.contact-copy h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  margin-top: 40px;
  font-size: 1.05rem;
}

.services,
.why-section {
  max-width: none;
  background: var(--charcoal);
}

.services > *,
.why-section > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.service-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 290px;
  padding: 32px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.why-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.48);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.36);
}

.service-card h3 { margin: 24px 0 14px; font-size: 1.28rem; }
.service-card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.service-card li { margin: 7px 0; }
.service-card li:empty { display: none; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: 54px;
  align-items: start;
}

.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-grid span {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--panel);
  font-weight: 800;
}

.why-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-grid article { padding: 28px; transition: transform 180ms ease, box-shadow 180ms ease; }
.why-grid strong { display: block; font-size: 1.05rem; }
.why-grid p { margin: 10px 0 0; }

.cta-band {
  max-width: 1200px;
  margin: 54px auto 0;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--slate), var(--panel));
  box-shadow: var(--shadow);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: 56px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list a,
.contact-list span { color: var(--muted); }
.contact-list a:hover { color: var(--gold); }

.contact-form { padding: 34px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 18px; font-weight: 800; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--text);
  background: var(--navy);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(212, 175, 55, 0.18);
}

.contact-form textarea { resize: vertical; }
.form-status { min-height: 24px; margin: 14px 0 0; color: var(--gold); font-weight: 700; }

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.field-error {
  min-height: 18px;
  color: #fca5a5;
  font-size: 0.86rem;
  font-weight: 700;
}

.consent-error {
  display: block;
  margin: -8px 0 16px;
}

.contact-form input[aria-invalid],
.contact-form select[aria-invalid],
.contact-form textarea[aria-invalid] {
  border-color: #fca5a5;
}

.contact-form .consent-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--gold);
}

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p { margin: 0 0 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a,
.site-footer a:not(.footer-brand) { color: var(--text); font-weight: 800; }
.footer-links a:hover,
.site-footer a:not(.footer-brand):hover { color: var(--gold); }

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 92px 28px;
}

.legal-page h1 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.legal-page h2 {
  margin: 36px 0 10px;
  color: var(--text);
}

.legal-page a { color: var(--gold); font-weight: 800; }

@media (max-width: 980px) {
  .nav { grid-template-columns: auto auto; }
  .nav-menu {
    grid-column: 1 / -1;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--slate);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: grid; }
  .nav-menu a { padding: 14px; border-radius: 14px; }
  .nav-toggle { display: block; }
  .hero,
  .contact,
  .split-section { grid-template-columns: 1fr; }
  .hero { padding-top: 80px; }
  .about-grid,
  .service-grid,
  .why-grid { grid-template-columns: 1fr; }
  .cta-band {
    margin-left: 28px;
    margin-right: 28px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    min-height: 78px;
    padding: 0 16px;
    gap: 12px;
  }
  .brand-text { display: none; }
  .logo { width: 60px; height: 60px; }
  .language-button { min-width: 38px; }
  .hero,
  .section,
  .legal-page { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 60px; padding-bottom: 76px; }
  .hero h1 { font-size: 2.48rem; }
  .hero-actions,
  .hero-actions .button,
  .contact-form .button { width: 100%; }
  .practice-panel,
  .contact-form,
  .cta-band,
  .service-card,
  .why-grid article { padding: 24px; }
  .cta-band { margin-left: 16px; margin-right: 16px; }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }
}
