:root {
  color-scheme: light;
  --ink: #141414;
  --muted: #66625c;
  --line: #ded8cf;
  --paper: #f7f3ec;
  --surface: #fffdf8;
  --accent: #9a6a2f;
  --accent-dark: #533719;
  --green: #23443a;
  --blue: #263d59;
  --shadow: 0 24px 80px rgba(31, 26, 18, 0.12);
  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:
    linear-gradient(135deg, rgba(154, 106, 47, 0.08), transparent 34%),
    linear-gradient(215deg, rgba(35, 68, 58, 0.1), transparent 38%),
    var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

main {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 243, 236, 0.86);
  border-bottom: 1px solid rgba(222, 216, 207, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 108px;
  color: var(--ink);
  font-weight: 760;
}

.brand img {
  width: 162px;
  max-height: 70px;
  object-fit: contain;
  display: block;
  background: transparent;
  mix-blend-mode: multiply;
}

.brand span {
  max-width: 150px;
  font-size: 0.82rem;
  line-height: 1.05;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
  border-color: var(--accent);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(154, 106, 47, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.56);
}

.language-switch button {
  min-width: 38px;
  min-height: 32px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
}

.language-switch button.is-active {
  background: var(--accent-dark);
  color: var(--surface);
}

.language-switch button:focus-visible {
  outline: 2px solid rgba(154, 106, 47, 0.62);
  outline-offset: 2px;
}

.hero {
  min-height: calc(100svh - 86px);
  width: min(100%, 1720px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(48px, 8vw, 108px) clamp(20px, 5vw, 64px) clamp(38px, 7vw, 82px);
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.4vw, 4.55rem);
  line-height: 1.1;
  font-weight: 400;
}

html[lang="en"] h1 {
  max-width: 940px;
  font-size: clamp(2.15rem, 4vw, 4.18rem);
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #403c36;
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(154, 106, 47, 0.42);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.64);
  color: var(--accent-dark);
  font-weight: 720;
  line-height: 1.15;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button.primary {
  background: linear-gradient(180deg, rgba(154, 106, 47, 0.16), rgba(154, 106, 47, 0.08));
  color: var(--accent-dark);
  border-color: rgba(154, 106, 47, 0.58);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.44);
  color: #36302a;
  border-color: rgba(20, 20, 20, 0.18);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 253, 248, 0.9);
  border-color: rgba(154, 106, 47, 0.74);
  box-shadow: 0 12px 28px rgba(83, 55, 25, 0.13);
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
}

.hero-panel span {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.hero-panel span:last-child {
  border-bottom: 0;
}

.section {
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1.3fr);
  gap: clamp(24px, 6vw, 86px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.58);
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.95rem, 3.8vw, 3.8rem);
  line-height: 1.06;
  font-weight: 400;
}

.intro > p {
  margin: 0;
  color: #37332e;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 270px;
  padding: clamp(18px, 2.4vw, 28px);
  background: rgba(255, 253, 248, 0.5);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid article:nth-child(2) {
  background: rgba(35, 68, 58, 0.08);
}

.service-grid article:nth-child(4) {
  background: rgba(38, 61, 89, 0.08);
}

h3 {
  margin: 0 0 22px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 1.8vw, 1.78rem);
  line-height: 1.1;
  font-weight: 400;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.statement {
  display: flex;
  justify-content: center;
  background: var(--green);
  color: var(--surface);
}

.statement p {
  max-width: 1100px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.65rem);
  line-height: 1.06;
  font-weight: 400;
  text-align: center;
}

.expertise {
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.54);
}

.expertise-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.expertise-layout > p {
  margin: 0;
  color: #37332e;
  font-size: clamp(1.06rem, 1.6vw, 1.34rem);
}

.expertise-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.expertise-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 720;
}

.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(24px, 6vw, 86px);
}

.contact-box {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-box p {
  margin: 0 0 22px;
  color: #3d3832;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-box a {
  border-bottom: 1px solid rgba(154, 106, 47, 0.46);
}

.legal {
  border-top: 1px solid var(--line);
  background: rgba(247, 243, 236, 0.62);
}

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

.legal-grid article {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.legal-grid p {
  margin: 0 0 18px;
  color: #3d3832;
}

.legal-kicker {
  color: var(--accent-dark) !important;
  font-size: 0.92rem;
  font-weight: 760;
}

.legal-grid p:last-child {
  margin-bottom: 0;
}

.legal-grid a {
  border-bottom: 1px solid rgba(154, 106, 47, 0.46);
}

.notice {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 253, 248, 0.78);
  background: #141414;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: grid;
  gap: 8px;
  text-align: right;
  white-space: nowrap;
}

.cookie-notice {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, calc(100vw - 32px));
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(154, 106, 47, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 60px rgba(31, 26, 18, 0.18);
  backdrop-filter: blur(16px);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  color: #3d3832;
  font-size: 0.92rem;
  line-height: 1.35;
}

.cookie-notice button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(154, 106, 47, 0.58);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(154, 106, 47, 0.16), rgba(154, 106, 47, 0.08));
  color: var(--accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 760;
}

.cookie-notice button:hover,
.cookie-notice button:focus-visible {
  background: rgba(255, 253, 248, 0.9);
  border-color: rgba(154, 106, 47, 0.74);
}

@media (min-width: 1600px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.52fr);
  }

  .lead {
    max-width: 720px;
  }
}

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

  h1 {
    max-width: 760px;
    font-size: clamp(2.28rem, 4.25vw, 3.92rem);
  }

  html[lang="en"] h1 {
    max-width: 820px;
    font-size: clamp(2.1rem, 3.95vw, 3.65rem);
  }

  .hero-panel span {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
  }

  .service-grid article {
    min-height: 250px;
  }
}

@media (max-width: 1180px) {
  .hero,
  .intro,
  .expertise-layout,
  .contact,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    min-height: auto;
    padding-top: clamp(42px, 7vw, 74px);
  }

  h1,
  html[lang="en"] h1 {
    max-width: 980px;
    font-size: clamp(2.2rem, 5.8vw, 4.05rem);
  }

  .lead {
    max-width: 760px;
  }

  .hero-panel {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }

  .hero-panel span {
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 14px 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  }

  .hero-panel span:last-child {
    border-right: 0;
  }

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

@media (max-width: 880px) {
  .site-header {
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  h1,
  html[lang="en"] h1 {
    font-size: clamp(2.08rem, 7.4vw, 3.55rem);
  }

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

  .hero-panel span {
    min-height: 78px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel span:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .hero-panel span:nth-last-child(-n + 1) {
    border-bottom: 0;
  }

  .hero-panel span:last-child {
    border-right: 0;
  }

  .intro > p {
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
  }

  .language-switch {
    align-self: flex-start;
  }

  .brand span {
    max-width: 190px;
  }

  .brand img {
    width: 142px;
    max-height: 62px;
  }

  h1,
  html[lang="en"] h1 {
    font-size: clamp(1.92rem, 9.8vw, 3.05rem);
    line-height: 1.12;
  }

  .lead {
    margin-top: 22px;
    font-size: 1.03rem;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 42px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }

  .hero-panel span,
  .hero-panel span:nth-child(odd) {
    min-height: 0;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel span:last-child {
    border-bottom: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    text-align: left;
    white-space: normal;
  }

  .cookie-notice {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-notice button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  nav {
    flex-wrap: wrap;
  }

  h1,
  html[lang="en"] h1 {
    font-size: clamp(1.78rem, 8.8vw, 2.58rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .statement p {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }
}
