/* Androva & Pechev — Variant C (editorial navy / gold) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --navy: #11283f;
  --navy-light: #1b3a57;
  --navy-deep: #0b1c2a;
  --gold: #b18a4a;
  --gold-hover: #c9a466;
  --gold-soft: #e6c58f;
  --ink: #17212b;
  --muted: #5d6872;
  --paper: #f5f2ec;
  --white: #ffffff;
  --line: #ded8ce;
  --max: 1180px;
  --focus: #f3bd63;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--navy);
  border-radius: 0.35rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

body.is-inner .site-header {
  position: sticky;
  top: 0;
  background: var(--navy);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-copy strong {
  display: block;
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.brand-copy span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  padding: 0.55rem 0.9rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #f1d5a7;
  border-bottom-color: rgba(241, 213, 167, 0.7);
}

.locale-select {
  appearance: none;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f1d5a7' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.25rem;
  padding: 0.4rem 1.75rem 0.4rem 0.7rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.locale-select option {
  color: var(--ink);
  background: var(--white);
}

/* ——— Hero (home) ——— */
.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 31, 48, 0.97) 0%, rgba(12, 31, 48, 0.92) 48%, rgba(12, 31, 48, 0.72) 100%),
    radial-gradient(circle at 85% 25%, rgba(177, 138, 74, 0.32), transparent 31%),
    var(--navy);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: '§';
  position: absolute;
  right: 5vw;
  bottom: -10rem;
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-size: clamp(24rem, 40vw, 42rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.hero-content {
  padding-top: 7rem;
  padding-bottom: 4rem;
  max-width: 790px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 42px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
.box-title {
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.12;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  letter-spacing: -0.035em;
}

.hero p {
  max-width: 680px;
  margin: 2rem 0 2.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.13rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.button-primary {
  background: var(--gold);
  color: #101923;
}

.button-primary:hover {
  background: var(--gold-hover);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ——— Inner page banner ——— */
.page-banner {
  background: var(--navy);
  color: var(--white);
  padding: 7.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '§';
  position: absolute;
  right: 4vw;
  bottom: -4rem;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14rem;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.page-banner .section-label {
  margin-bottom: 0.75rem;
}

.page-banner h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.025em;
  max-width: 18ch;
  position: relative;
  z-index: 1;
}

/* ——— Sections ——— */
.intro,
.page-section {
  padding: 5.5rem 0 6rem;
  background: var(--paper);
}

.page-section.alt {
  background: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.section-label {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2,
.box-title {
  margin: 0.8rem 0 1.5rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--navy);
  letter-spacing: -0.025em;
}

.lead {
  margin-top: 0;
  font-size: 1.18rem;
  color: #34414c;
}

.prose p,
.box-content-text {
  color: var(--muted);
  font-size: 1.02rem;
}

.prose p + p {
  margin-top: 1rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principle {
  padding: 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  margin: 0;
  display: block;
}

.principle > span,
.principle-num {
  color: var(--gold);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  display: block;
}

.principle h3,
.principle-label {
  margin: 0.4rem 0 0.75rem;
  color: var(--navy);
  font-size: 1.25rem;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
  display: block;
}

.principle p,
.principle-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: block;
}

/* Legacy principle class from older markup */
.box-content .principle {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

/* ——— Practice cards / lists ——— */
.practice-block {
  padding: 5.5rem 0;
  background: var(--white);
}

.practice-header {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.practice-header p {
  max-width: 500px;
  margin: 0 0 0.6rem;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #cdd2d5;
  border: 1px solid #cdd2d5;
}

.card {
  min-height: 240px;
  padding: 2rem;
  background: var(--white);
}

.card-number {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.card h3 {
  margin: 2.5rem 0 1rem;
  font-size: 1.55rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  background: #cdd2d5;
  border: 1px solid #cdd2d5;
}

.practice-grid li {
  background: var(--white);
  padding: 1.25rem 1.35rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
}

.practice-grid a {
  display: block;
  margin: -1.25rem -1.35rem;
  padding: 1.25rem 1.35rem;
  color: inherit;
  text-decoration: none;
}

.practice-grid a:hover {
  color: var(--gold);
  background: #faf8f4;
}

.box-content-text a {
  color: var(--navy);
  font-weight: 650;
  text-underline-offset: 0.18em;
}

.box-content-text a:hover {
  color: var(--gold);
}

.area-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 0;
}

.button-ghost {
  border-color: var(--line);
  color: var(--navy);
  background: transparent;
}

.button-ghost:hover {
  border-color: var(--navy);
  background: var(--paper);
}

.services-list {
  margin: 1.25rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--muted);
}

.services-list li {
  margin-bottom: 0.75rem;
}

.services-list li::marker {
  color: var(--gold);
}

/* ——— Team ——— */
.team-holder {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

.profile_pic {
  width: 180px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper);
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.team-card .box-title {
  font-size: 1.75rem;
  margin: 0 0 1.25rem;
}

.team-holder .box-content-text {
  flex: 1;
  color: var(--muted);
}

.box-content-text strong,
.box-content-text u {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 0;
}

/* Content panels on inner pages */
.content-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.content-panel .box-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0;
}

.content-panel .box-title span {
  display: block;
  margin-top: 0.35rem;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

/* ——— Contact CTA band ——— */
.contact-band {
  padding: 4.5rem 0;
  color: var(--white);
  background: var(--navy-light);
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.contact-band h2 {
  color: var(--white);
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.map-box,
.map-figure {
  margin: 0;
}

.map-box iframe,
.map-figure iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ——— Footer ——— */
.site-footer {
  padding: 2rem 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-contact {
  max-width: 32rem;
}

.footer-brand,
.nap-name {
  margin: 0 0 0.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
}

.nap {
  margin: 0;
  font-style: normal;
  line-height: 1.55;
}

.nap-address,
.nap-phone {
  margin: 0.2rem 0 0;
}

.nap-phone a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 197, 143, 0.35);
}

.nap-phone a:hover {
  color: var(--gold-soft);
}

.office-nap {
  margin: 0 0 1.35rem;
  color: var(--navy);
}

.office-nap .nap-name {
  color: var(--navy);
  font-size: 1.15rem;
}

.office-nap .nap-phone a {
  color: var(--navy);
  font-weight: 650;
  border-bottom-color: rgba(177, 138, 74, 0.45);
}

.contact-band .nap-name {
  color: var(--white);
}

.contact-band .nap-address,
.contact-band .nap-phone {
  color: rgba(255, 255, 255, 0.75);
}

.contact-band .nap-phone a {
  color: var(--gold-soft);
}

.footer-meta {
  margin: 0.7rem 0 0;
}

.footer-fb a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(230, 197, 143, 0.35);
}

.footer-fb a:hover {
  color: #fff;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    background: var(--navy);
  }

  .nav {
    min-height: 82px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1.5rem 1.25rem;
  }

  .site-nav.is-open,
  .site-nav[data-open='true'] {
    display: block;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-menu a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .locale-select {
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .page-banner {
    padding-top: 3rem;
  }

  .section-grid,
  .principles,
  .cards {
    grid-template-columns: 1fr;
  }

  .practice-header,
  .contact-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-holder {
    flex-direction: column;
  }

  .profile_pic {
    width: 150px;
  }

  .map-box iframe,
  .map-figure iframe {
    height: 280px;
  }
}
