:root {
  --navy: #0B1F3A;
  --navy-soft: #132C4F;
  --ivory: #F7F4EF;
  --charcoal: #1F2933;
  --muted: #6B7280;
  --gold: #C9A227;
  --white: #FFFFFF;
  --border: rgba(11, 31, 58, 0.12);
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.11);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.75;
  padding-top: 78px;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.45rem;
}

a {
  color: inherit;
}

.legal-navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar-brand {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.legal-navbar .nav-link {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  padding-inline: 0.85rem !important;
}

.legal-navbar .nav-link:hover, .legal-navbar .nav-link.active {
  color: var(--navy);
}

.legal-navbar .nav-link.active {
  position: relative;
}

.legal-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--gold);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 28px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
  border: 1px solid rgba(11, 31, 58, 0.2);
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-pill:hover {
  transform: translateY(-1px);
  color: var(--navy);
}

.lang-pill.active {
  border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(11, 31, 58, 0.18), inset 0 0 0 999px rgba(255, 255, 255, 0.05);
}

.lang-ro {
  background: linear-gradient(90deg, #183B75 0 33.33%, #D7B33A 33.33% 66.66%, #A7343B 66.66% 100%);
}

.lang-hu {
  background: linear-gradient(180deg, #B5474A 0 33.33%, #FFFFFF 33.33% 66.66%, #4F7F55 66.66% 100%);
}

.hero-section {
  background: radial-gradient(circle at 78% 28%, rgba(201, 162, 39, 0.18), transparent 34%), linear-gradient(135deg, var(--navy) 0%, #071526 100%);
  color: var(--white);
  padding: 7rem 0;
  overflow: hidden;
}

.hero-section h1, .hero-section .eyebrow {
  color: var(--white);
}

.hero-lead, .page-hero p {
  max-width: 760px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow, .section-label {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  margin-bottom: 0.85rem;
}

.page-hero {
  background: linear-gradient(rgba(11, 31, 58, 0.88), rgba(11, 31, 58, 0.88)), linear-gradient(135deg, #18304f, #0B1F3A);
  color: var(--white);
  padding: 6rem 0 5rem;
}

.page-hero h1, .page-hero .eyebrow {
  color: var(--white);
}

.portrait-placeholder {
  min-height: 520px;
  border-radius: 32px;
  background: rgba(247, 244, 239, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-photo {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.section-padding {
  padding: 5.5rem 0;
}

.bg-ivory {
  background: var(--ivory);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.content-card, .service-card, .contact-card, .practice-area, .map-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.content-card {
  padding: clamp(1.5rem, 3vw, 3rem);
}

.rich-text p:last-child, .service-card p:last-child, .practice-area p:last-child {
  margin-bottom: 0;
}

.highlight-card {
  min-height: 132px;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.08);
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 1.4rem;
  width: 42px;
  height: 3px;
  background: var(--gold);
}

.highlight-card span {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
}

.value-card {
  height: 100%;
  padding: 1.6rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.07);
}

.value-card i, .service-card i, .contact-card i {
  color: var(--gold);
  font-size: 1.8rem;
}

.service-card {
  height: 100%;
  padding: 2rem;
}

.service-card h2, .contact-card h2 {
  font-size: 1.55rem;
  margin: 1rem 0 0.75rem;
}

.process-card {
  height: 100%;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.6rem;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.07);
}

.process-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 1rem;
}

.process-card p {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.practice-area {
  padding: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 2rem;
}

.practice-area h2 {
  font-size: 2rem;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.8rem;
}

.legal-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
}

.cta-section {
  padding: 4.5rem 0;
  background: var(--ivory);
}

.cta-box {
  border-radius: 30px;
  padding: clamp(2rem, 5vw, 4rem);
  background: radial-gradient(circle at 90% 10%, rgba(201, 162, 39, 0.2), transparent 28%), var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  color: var(--white);
  max-width: 760px;
  margin: 0;
}

.btn {
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-weight: 800;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: #d8b43a;
  border-color: #d8b43a;
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
  color: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-card {
  min-height: 100%;
  padding: 1.6rem;
  overflow-wrap: break-word;
}

.contact-card a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.contact-card a[href^="mailto:"] {
  white-space: nowrap;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.form-control, .form-check-input {
  border-color: var(--border);
}

.form-control {
  min-height: 48px;
  border-radius: 14px;
}

textarea.form-control {
  min-height: 150px;
}

.form-control:focus, .form-check-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.18);
}

.legal-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.map-card {
  height: 100%;
  min-height: 520px;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(0.18) contrast(0.95);
}

.site-footer {
  background: #071526;
  color: rgba(255, 255, 255, 0.72);
  padding: 4.5rem 0 2rem;
}

.site-footer h3, .site-footer h4 {
  color: var(--white);
}

.site-footer h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.site-footer h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.site-footer .footer-switcher .lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  color: var(--navy);
  font-size: 0.9rem;
}

.site-footer .footer-switcher .lang-pill:hover {
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 991.98px) {
  body {
    padding-top: 72px;
  }
}

@media (max-width: 991.98px) {
  .legal-navbar .navbar-collapse {
    padding: 1rem 0 0.75rem;
  }
}

@media (max-width: 991.98px) {
  .legal-navbar .nav-link {
    padding: 0.7rem 0 !important;
  }
}

@media (max-width: 991.98px) {
  .legal-navbar .nav-link.active::after {
    left: 0;
    right: auto;
    width: 42px;
    bottom: 0.25rem;
  }
}

@media (max-width: 991.98px) {
  .language-switcher {
    padding-top: 0.75rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section, .page-hero {
    padding: 4.75rem 0;
  }
}

@media (max-width: 991.98px) {
  .portrait-placeholder {
    min-height: 360px;
  }
}

@media (max-width: 991.98px) {
  .portrait-photo {
    height: 360px;
  }
}

@media (max-width: 991.98px) {
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 4rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero-section, .page-hero {
    padding: 4rem 0;
  }
}

@media (max-width: 575.98px) {
  .content-card, .service-card, .practice-area, .contact-card {
    border-radius: 20px;
  }
}

@media (max-width: 575.98px) {
  .map-card, .map-card iframe {
    min-height: 360px;
  }
}

