@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/figtree-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/figtree-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --navy: #0f1e33;
  --navy-soft: #1a2e4a;
  --navy-rgb: 15, 30, 51;
  --gold: #ad8953;
  --gold-bright: #c8a66f;
  --cream: #f7f3ec;
  --cream-deep: #ece4d6;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --ink: #191b20;
  --ink-soft: #40454e;
  --muted: #6b7078;
  --line: rgba(15, 30, 51, 0.14);
  --line-gold: rgba(173, 137, 83, 0.34);
  --header-bg: rgba(247, 243, 236, 0.9);
  --shadow: 0 24px 64px rgba(15, 30, 51, 0.12);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --navy: #f5ead8;
  --navy-soft: #d9cdbb;
  --navy-rgb: 245, 234, 216;
  --gold: #d4ae72;
  --gold-bright: #e0c08e;
  --cream: #101720;
  --cream-deep: #17212d;
  --surface: #16202b;
  --surface-strong: #1b2734;
  --ink: #f2eee7;
  --ink-soft: #d4d0c9;
  --muted: #a9a69f;
  --line: rgba(245, 234, 216, 0.14);
  --line-gold: rgba(212, 174, 114, 0.34);
  --header-bg: rgba(16, 23, 32, 0.9);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: #0f1e33;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--surface-strong);
  color: var(--ink);
  border: 1px solid var(--gold);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-heading {
  max-width: 780px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.section-lead {
  max-width: 710px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  min-height: 84px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  width: 240px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
  transition: filter 0.2s ease;
}

:root[data-theme="dark"] .brand img {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.92;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.language-menu a {
  display: grid;
  width: 34px;
  height: 30px;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-menu a[aria-current="page"] {
  background: var(--navy);
  color: var(--cream);
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.icon-button:hover {
  border-color: var(--gold);
}

.theme-icon {
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-shadow: inset -5px -3px 0 0 var(--surface);
}

.menu-toggle {
  display: none;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease;
}

.menu-toggle-lines::before {
  transform: translateY(-6px);
}

.menu-toggle-lines::after {
  transform: translateY(4.5px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 72px;
  background:
    radial-gradient(circle at 84% 16%, rgba(173, 137, 83, 0.12), transparent 31%),
    linear-gradient(rgba(var(--navy-rgb), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--navy-rgb), 0.025) 1px, transparent 1px),
    var(--cream);
  background-size: auto, 64px 64px, 64px 64px, auto;
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
  min-height: min(720px, calc(100svh - 160px));
}

.hero-copy {
  padding: 36px 0;
}

.hero h1 {
  max-width: 760px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(3.55rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.91;
}

.hero h1 span {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.58em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-summary {
  max-width: 650px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(1.32rem, 2.4vw, 1.75rem);
  font-style: italic;
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #0f1e33;
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  color: var(--navy);
}

.button-secondary:hover {
  color: #0f1e33;
}

.hero-portrait {
  position: relative;
  height: clamp(540px, 58vh, 680px);
  margin-right: 18px;
}

.hero-portrait::before {
  position: absolute;
  inset: 24px -18px -18px 24px;
  z-index: -1;
  border: 1px solid var(--gold);
  content: "";
}

.hero-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 28%;
  box-shadow: var(--shadow);
}

.hero-portrait-mark {
  position: absolute;
  right: -30px;
  bottom: 30px;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid var(--line-gold);
  background: var(--surface-strong);
  box-shadow: 0 12px 30px rgba(15, 30, 51, 0.13);
}

.hero-portrait-mark img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  box-shadow: none;
}

.trust-strip {
  border-block: 1px solid rgba(200, 166, 111, 0.18);
  background: #0f1e33;
  color: #f7f3ec;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: block;
  padding: 29px 30px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}

a.trust-item:hover,
a.trust-item:focus-visible {
  background: rgba(200, 166, 111, 0.12);
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(200, 166, 111, 0.22);
}

.trust-item strong {
  display: block;
  color: #d5b27c;
  font-family: var(--display);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 500;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  color: rgba(247, 243, 236, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Sorkizárt szövegtörzs (Móni kérése), elválasztással a hézagok ellen */
.section-lead,
.service-card p,
.about-copy p:not(.about-intro),
.office-copy > p,
.contact-copy > p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.services {
  padding: 112px 0 122px;
}

.services-head {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 60px;
}

.services-head .section-lead {
  margin-top: 0;
}

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

.service-card {
  position: relative;
  min-height: 315px;
  padding: 38px 34px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  z-index: 2;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-number {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
}

.service-number::after {
  width: 24px;
  height: 1px;
  background: var(--line-gold);
  content: "";
}

.service-card h3 {
  margin-top: 28px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}

.service-card p {
  margin-top: 17px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.72;
}

.about {
  padding: 120px 0;
  background: var(--cream-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(54px, 6vw, 84px);
}

.about-photo {
  position: relative;
  aspect-ratio: 4 / 3;
}

.about-photo::before {
  position: absolute;
  inset: -20px 38px 38px -20px;
  border: 1px solid var(--line-gold);
  content: "";
}

.about-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.about-intro {
  margin: 26px 0 30px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-style: italic;
  line-height: 1.45;
}

.about-copy p:not(.about-intro) {
  margin-top: 17px;
  color: var(--ink-soft);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 38px;
  border: 1px solid var(--line);
  background: var(--line);
}

.credential {
  min-height: 108px;
  padding: 21px 18px;
  background: var(--surface);
}

.credential span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credential strong {
  display: block;
  margin-top: 7px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
}

.quote-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background: #0f1e33;
  color: #f7f3ec;
}

.quote-section::after {
  position: absolute;
  top: -190px;
  right: 4vw;
  color: rgba(200, 166, 111, 0.07);
  content: "“";
  font-family: var(--display);
  font-size: 30rem;
  line-height: 1;
}

.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 950px;
  text-align: center;
}

.quote-inner blockquote {
  color: #f7f3ec;
  font-family: var(--display);
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  font-style: italic;
  line-height: 1.15;
}

.quote-inner cite {
  display: block;
  margin-top: 26px;
  color: #d5b27c;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.office {
  padding: 120px 0;
}

.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.office-photo {
  min-height: 520px;
}

.office-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 78px);
}

.office-copy .section-heading {
  font-size: clamp(2.35rem, 4.3vw, 3.6rem);
}

.office-copy > p {
  margin-top: 24px;
  color: var(--ink-soft);
}

.office-details {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.office-detail {
  display: grid;
  grid-template-columns: 114px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.office-detail span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.office-detail strong {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 600;
}

.contact {
  padding: 108px 0;
  background: var(--cream-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.contact-copy .section-lead {
  margin-bottom: 0;
}

.contact-copy .contact-options {
  margin-top: 36px;
}

.contact-options {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(15, 30, 51, 0.09);
  transform: translateX(4px);
}

.contact-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
}

.contact-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
}

.contact-arrow {
  color: var(--gold);
  font-size: 1.3rem;
}

.contact-form {
  position: relative;
  padding: clamp(34px, 5vw, 52px);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.contact-form::before {
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  background: var(--gold);
  content: "";
}

.contact-form h3 {
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
}

.form-intro {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label,
.consent-label {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input {
  min-height: 50px;
  padding: 11px 14px;
}

.form-field textarea {
  min-height: 142px;
  padding: 13px 14px;
  line-height: 1.55;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  outline: none;
  background: var(--surface-strong);
  box-shadow: 0 0 0 3px rgba(173, 137, 83, 0.14);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.72;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 20px;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.consent-label {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.form-privacy-note {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.contact-form .button {
  width: 100%;
  margin-top: 24px;
  cursor: pointer;
}

.form-status {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: var(--cream-deep);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-status[data-state="success"] {
  border-left-color: #4f8560;
}

.form-status[data-state="error"] {
  border-left-color: #a95a52;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  padding: 72px 0 28px;
  background: #0f1e33;
  color: #f7f3ec;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr 0.9fr;
  gap: 70px;
}

.footer-brand img {
  width: min(330px, 100%);
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.94;
}

.footer-brand p {
  max-width: 520px;
  margin-top: 24px;
  color: rgba(247, 243, 236, 0.66);
  font-size: 0.86rem;
  line-height: 1.75;
}

.footer-column h2 {
  margin-bottom: 18px;
  color: #d5b27c;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-column a,
.footer-column li {
  color: rgba(247, 243, 236, 0.76);
  font-size: 0.88rem;
}

.footer-column a:hover {
  color: #d5b27c;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 166, 111, 0.18);
  color: rgba(247, 243, 236, 0.48);
  font-size: 0.76rem;
}

.text-link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--navy);
}

.legal-main {
  padding: 150px 0 100px;
}

.legal-header {
  max-width: 850px;
  margin-bottom: 56px;
}

.legal-header .section-lead {
  max-width: 780px;
}

.legal-document {
  max-width: 900px;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-document section + section {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
}

.legal-document h3 {
  margin-top: 24px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.legal-document p,
.legal-document li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.78;
}

.legal-document p,
.legal-document ul {
  margin-top: 14px;
}

.legal-document ul {
  padding-left: 22px;
}

.legal-document .legal-meta {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-portrait {
    animation: reveal 0.8s ease both;
  }

  .hero-portrait {
    animation-delay: 0.12s;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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

  .brand {
    width: 210px;
  }

  .site-nav ul {
    gap: 19px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.7fr;
    gap: 48px;
  }

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

  .footer-grid {
    gap: 42px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 40px, 720px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 74px;
  }

  .brand {
    width: 205px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
  }

  body.nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    display: grid;
    width: min(100% - 40px, 720px);
    margin-inline: auto;
    padding: 24px 0 30px;
  }

  .site-nav a {
    display: block;
    padding: 8px 0;
    font-size: 1rem;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-portrait {
    width: min(84%, 520px);
    height: auto;
    margin: 0 auto;
  }

  .hero-portrait > img {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .services-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-photo {
    width: min(86%, 540px);
    margin-inline: auto;
  }

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

  .office-photo {
    min-height: auto;
  }

  .office-photo img {
    aspect-ratio: 4 / 3;
  }

  .contact-grid {
    gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, 540px);
  }

  .brand {
    width: 120px;
  }

  .header-inner {
    gap: 8px;
  }

  .header-actions {
    gap: 4px;
  }

  .language-menu {
    position: static;
    padding: 3px;
    box-shadow: none;
  }

  .language-menu a {
    width: 24px;
    height: 28px;
    font-size: 9px;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 105px 0 64px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.5rem);
  }

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

  .hero-portrait {
    width: calc(100% - 16px);
  }

  .hero-portrait-mark {
    right: -10px;
    width: 76px;
    height: 76px;
  }

  .hero-portrait-mark img {
    width: 54px;
    height: 54px;
  }

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

  .trust-item {
    padding: 20px;
  }

  .trust-item + .trust-item {
    border-top: 1px solid rgba(200, 166, 111, 0.22);
    border-left: 0;
  }

  .services,
  .about,
  .office,
  .contact {
    padding: 82px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .service-card {
    min-height: auto;
    padding: 30px 26px;
  }

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

  .quote-section {
    padding: 70px 0;
  }

  .office-copy {
    padding: 38px 26px;
  }

  .office-detail {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-card {
    grid-template-columns: 46px 1fr auto;
    gap: 14px;
    padding: 18px 16px;
  }

  .contact-form {
    padding: 34px 22px;
  }

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

  .form-field-full {
    grid-column: auto;
  }

  .contact-symbol {
    width: 46px;
    height: 46px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

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

@media print {
  .site-header,
  .hero-actions,
  .language-menu,
  .theme-toggle,
  .menu-toggle {
    display: none !important;
  }

  .hero {
    padding-top: 40px;
  }

  body {
    background: #fff;
    color: #000;
  }
}
