:root {
  --ink: #16231f;
  --muted: #5d6b65;
  --paper: #f7f4ee;
  --panel: #fffdf8;
  --line: #ded7ca;
  --green: #18352f;
  --green-2: #28564b;
  --copper: #b66b39;
  --blue: #315a7a;
  --shadow: 0 24px 70px rgba(22, 35, 31, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid rgba(222, 215, 202, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 54px;
  place-items: center;
}

.brand-mark img {
  display: block;
  width: auto;
  height: 54px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

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

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

.language-switcher button[aria-pressed="true"] {
  background: var(--green);
  color: #fffaf2;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100vh - 73px);
  padding: clamp(46px, 8vw, 96px) clamp(18px, 4vw, 56px) 44px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 1.02;
}

h3 {
  font-size: 1rem;
}

.lead {
  max-width: 660px;
  color: #33423d;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.contact-links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
}

.button.primary,
.contact-links a {
  background: var(--green);
  color: #fffaf2;
}

.button.secondary {
  border: 1px solid var(--green);
  color: var(--green);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 880px;
  margin: 54px 0 0;
}

.quick-facts div {
  padding: 18px;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quick-facts dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  align-self: stretch;
  background:
    linear-gradient(115deg, rgba(24, 53, 47, 0.08), transparent 42%),
    radial-gradient(circle at 64% 38%, rgba(182, 107, 57, 0.16), transparent 18%),
    linear-gradient(135deg, #eee6da, #f9f6ef);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(24, 53, 47, 0.16);
  border-radius: 50%;
  content: "";
}

.route-line {
  position: absolute;
  height: 3px;
  background: var(--green-2);
  transform-origin: left center;
}

.route-a {
  top: 30%;
  left: -4%;
  width: 78%;
  transform: rotate(24deg);
}

.route-b {
  top: 73%;
  left: 22%;
  width: 92%;
  background: var(--blue);
  transform: rotate(-38deg);
}

.route-c {
  top: 16%;
  left: 48%;
  width: 62%;
  background: var(--copper);
  transform: rotate(82deg);
}

.location-pin {
  position: absolute;
  top: 48%;
  left: 52%;
  width: 116px;
  height: 116px;
  padding: 14px;
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 14px 42px rgba(22, 35, 31, 0.18);
  transform: translate(-50%, -50%);
}

.location-pin span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green);
  border: 10px solid #fffaf2;
  border-radius: 50%;
}

.mini-card {
  position: absolute;
  width: 150px;
  padding: 16px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(22, 35, 31, 0.12);
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
}

.mini-card.one {
  top: 18%;
  left: 12%;
}

.mini-card.two {
  right: 10%;
  bottom: 14%;
}

.section {
  padding: clamp(66px, 9vw, 126px) clamp(18px, 4vw, 56px);
}

.intro,
.contact-section,
.fees-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.intro {
  background: var(--green);
  color: #fffaf2;
}

.intro .section-kicker {
  color: #d9a77f;
}

.intro-text {
  color: rgba(255, 250, 242, 0.82);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: end;
  margin-bottom: 34px;
}

.practice-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.practice-card,
.lawyer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.practice-card {
  min-height: 176px;
  padding: 22px;
}

.practice-card .icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  place-items: center;
  background: #e9efe8;
  color: var(--green);
  border-radius: var(--radius);
}

.practice-card h3,
.lawyer-card h3 {
  margin-bottom: 8px;
}

.practice-card p,
.lawyer-card p,
.fees-panel p,
.notice p {
  color: var(--muted);
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lawyer-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px;
}

.portrait {
  display: block;
  width: 112px;
  height: 124px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  filter: grayscale(1);
}

.lawyer-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.lawyer-card li {
  padding: 6px 9px;
  background: #f0eadf;
  border-radius: 999px;
  color: #3b4b45;
  font-size: 0.82rem;
  font-weight: 700;
}

.lawyer-card a {
  color: var(--green);
  font-weight: 750;
}

.fees-section {
  padding-top: 0;
}

.fees-panel {
  padding: clamp(28px, 5vw, 54px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fee-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fee-cards article {
  padding: 22px;
  background: #f0eadf;
  border-radius: var(--radius);
}

.fee-cards span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fee-cards strong {
  display: block;
  margin: 10px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
}

.contact-section {
  background: #ece6dc;
}

address {
  font-style: normal;
  font-size: 1.16rem;
  font-weight: 650;
}

.notice {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: var(--green);
  color: rgba(255, 250, 242, 0.82);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro,
  .section-heading,
  .contact-section,
  .fees-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    grid-row: 1;
    min-height: 340px;
  }

  .quick-facts,
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
  }

  .brand small {
    display: none;
  }

  .language-switcher button {
    min-width: 34px;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.45rem);
    line-height: 1.03;
  }

  .quick-facts,
  .practice-grid,
  .team-grid,
  .fee-cards {
    grid-template-columns: 1fr;
  }

  .lawyer-card {
    grid-template-columns: 1fr;
  }

  .portrait {
    width: 120px;
    height: 132px;
  }

  .mini-card {
    width: 124px;
  }

  .site-footer {
    flex-direction: column;
  }
}
