:root {
  --ink: #34251f;
  --ink-soft: #6b5448;
  --green: #5b3829;
  --green-light: #7a503b;
  --ivory: #f5f0e8;
  --paper: #fdfbf7;
  --white: #ffffff;
  --brass: #a97845;
  --brass-light: #ddbe95;
  --line: rgba(67, 43, 32, 0.17);
  --shadow: 0 24px 70px rgba(67, 43, 32, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
  --wrap: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid #b97b3e;
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--green-light);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
  transform: translateY(-160%);
}

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(67, 43, 32, 0.1);
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-wrap,
.nav-list {
  display: flex;
  align-items: center;
}

.nav-wrap {
  gap: 20px;
}

.nav-list {
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  padding-block: 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(800px, calc(100vh - 82px));
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: sepia(0.36) saturate(0.78) hue-rotate(342deg);
}

.hero-media::after {
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(245, 240, 232, 0.98) 0%, rgba(245, 240, 232, 0.93) 35%, rgba(245, 240, 232, 0.18) 68%, rgba(67, 43, 32, 0.08) 100%);
}

.hero-inner {
  min-height: min(800px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  padding-block: 90px 76px;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 24px;
  color: var(--green-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: var(--brass);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-size: clamp(49px, 7vw, 92px);
}

h1 em {
  color: var(--green-light);
  font-style: italic;
}

h2 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(39px, 5vw, 66px);
}

h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: #5b4034;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--green);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

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

.button-secondary {
  color: var(--green);
  background: rgba(253, 251, 247, 0.82);
}

.button-quiet {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.button-quiet:hover {
  background: var(--ivory);
}

.button-light {
  color: var(--green);
  background: var(--ivory);
  border-color: var(--ivory);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 42px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  list-style: none;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-meta li::before {
  width: 7px;
  height: 7px;
  content: "";
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--brass-light);
}

.opening-note {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  z-index: 2;
  max-width: 270px;
  padding: 16px 20px;
  color: var(--white);
  background: rgba(75, 45, 33, 0.92);
  border-left: 3px solid var(--brass-light);
  font-size: 13px;
  line-height: 1.5;
}

.opening-note strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.section {
  position: relative;
  padding-block: 120px;
}

.section-tight {
  padding-block: 90px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 58px;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-head .eyebrow {
  margin-bottom: 20px;
}

.section-head h2 {
  margin-bottom: 0;
}

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

.seal-card {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green);
}

.seal-card::before,
.seal-card::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(214, 189, 150, 0.36);
  border-radius: 50%;
}

.seal-card::before {
  width: 370px;
  height: 370px;
}

.seal-card::after {
  width: 285px;
  height: 285px;
}

.seal-card-copy {
  position: relative;
  z-index: 1;
  max-width: 320px;
  padding: 30px;
  text-align: center;
}

.seal-card-copy strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
}

.seal-card-copy span {
  color: #e9decb;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.prose-lead {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.3;
}

.prose p {
  color: var(--ink-soft);
}

.quiet-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.quiet-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.quiet-list li::before {
  margin-top: 12px;
  width: 18px;
  height: 1px;
  content: "";
  background: var(--brass);
}

.services-section {
  background: var(--ivory);
}

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

.service-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(253, 251, 247, 0.58);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  z-index: 1;
  color: var(--white);
  background: var(--green);
  transform: translateY(-4px);
}

.service-number {
  display: block;
  margin-bottom: 70px;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 16px;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.service-card:hover p {
  color: #f0e3d8;
}

.service-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
}

.process-section {
  overflow: hidden;
  color: var(--white);
  background: var(--green);
}

.process-section::after {
  position: absolute;
  right: -170px;
  bottom: -250px;
  width: 600px;
  height: 600px;
  content: "";
  border: 1px solid rgba(214, 189, 150, 0.18);
  border-radius: 50%;
}

.process-section .eyebrow {
  color: #ecd1ae;
}

.process-section .section-head p {
  color: #dfcfc4;
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-item {
  padding: 10px 32px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.process-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.process-item strong {
  display: block;
  margin-bottom: 22px;
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
}

.process-item h3 {
  font-size: 23px;
}

.process-item p {
  margin: 0;
  color: #dfcfc4;
  font-size: 15px;
}

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

.documents-photo {
  position: relative;
}

.documents-photo::before {
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -24px;
  bottom: 24px;
  left: 24px;
  content: "";
  border: 1px solid var(--brass-light);
}

.documents-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: var(--shadow);
  filter: sepia(0.36) saturate(0.78) hue-rotate(342deg);
}

.document-list {
  display: grid;
  gap: 0;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.document-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}

.document-list strong {
  color: var(--brass);
  font-family: var(--serif);
  font-weight: 400;
}

.fees-section {
  background: linear-gradient(135deg, #ece4d7 0%, var(--ivory) 68%);
}

.fees-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  padding: 70px;
  border: 1px solid rgba(169, 132, 79, 0.35);
  background: rgba(253, 251, 247, 0.84);
  box-shadow: 0 18px 50px rgba(67, 43, 32, 0.07);
}

.fees-card h2 {
  font-size: clamp(38px, 5vw, 62px);
}

.fee-parts {
  display: grid;
  gap: 18px;
}

.fee-part {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.fee-part strong {
  display: block;
  margin-bottom: 4px;
}

.fee-part span {
  color: var(--ink-soft);
  font-size: 14px;
}

.area-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: center;
}

.place-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.place-list span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 14px;
}

.area-quote {
  padding: 44px;
  color: var(--white);
  background: var(--green);
}

.area-quote p {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.35;
}

.area-quote small {
  color: #dfcfc4;
}

.map-section {
  background: var(--ivory);
}

.map-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(67, 43, 32, 0.08);
}

.map-frame {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #e6e1d6;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.map-consent {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 460px;
  padding: 44px;
  text-align: center;
  background:
    linear-gradient(rgba(245, 240, 232, 0.72), rgba(245, 240, 232, 0.88)),
    repeating-linear-gradient(31deg, transparent 0 52px, rgba(91, 56, 41, 0.1) 53px 55px),
    repeating-linear-gradient(121deg, transparent 0 72px, rgba(169, 120, 69, 0.13) 73px 75px);
}

.map-consent h3 {
  margin: 20px 0 5px;
  font-size: 32px;
}

.map-consent p {
  margin: 0 0 22px;
  color: var(--ink-soft);
}

.map-consent small {
  margin-top: 13px;
  color: var(--ink-soft);
}

.map-pin {
  position: relative;
  width: 48px;
  height: 48px;
  border: 3px solid var(--brass);
  border-radius: 50% 50% 50% 0;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(67, 43, 32, 0.16);
  transform: rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.map-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.map-details h3 {
  margin: 10px 0 14px;
  font-size: 33px;
}

.map-details p {
  color: var(--ink-soft);
}

.map-label {
  color: var(--brass);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 26px 54px 26px 0;
  font-family: var(--serif);
  font-size: 23px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "+";
  color: var(--brass);
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 300;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 760px;
  padding-bottom: 27px;
  color: var(--ink-soft);
}

.contact-section {
  color: var(--white);
  background: #4b2d21;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.contact-section .eyebrow {
  color: #ecd1ae;
}

.contact-section h2 {
  font-size: clamp(43px, 5vw, 68px);
}

.contact-lead {
  max-width: 510px;
  color: #dfcfc4;
}

.contact-methods {
  display: grid;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-method {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-block: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-method dt {
  color: var(--brass-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-method dd {
  margin: 0;
}

.contact-method a {
  font-weight: 650;
}

.contact-form {
  padding: 48px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
  margin-bottom: 8px;
  font-size: 30px;
}

.form-intro {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(67, 43, 32, 0.28);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
  outline: 2px solid rgba(122, 80, 59, 0.2);
  outline-offset: 0;
}

.field label span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 24px;
  color: var(--ink-soft);
  font-size: 12px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.contact-form .button {
  width: 100%;
  cursor: pointer;
}

.form-note,
.form-status {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.form-status:not(:empty) {
  padding: 10px 12px;
  border-left: 3px solid var(--brass);
  background: var(--ivory);
}

[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  max-width: 1180px;
  margin-inline: auto;
  padding: 28px 30px;
  border: 1px solid rgba(169, 120, 69, 0.42);
  color: var(--ink);
  background: rgba(253, 251, 247, 0.98);
  box-shadow: 0 24px 80px rgba(47, 28, 20, 0.24);
  backdrop-filter: blur(18px);
}

.cookie-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--brass);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cookie-banner h2,
.cookie-dialog h2 {
  margin-bottom: 9px;
  font-size: 30px;
  letter-spacing: -0.025em;
}

.cookie-banner p {
  max-width: 700px;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner a {
  color: var(--green-light);
  font-size: 13px;
  font-weight: 700;
}

.cookie-actions,
.cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions {
  justify-content: flex-end;
}

.cookie-actions .button,
.cookie-dialog-actions .button {
  min-height: 46px;
  padding: 11px 16px;
  cursor: pointer;
  font-size: 13px;
}

.cookie-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 34px;
  border: 1px solid rgba(169, 120, 69, 0.42);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(47, 28, 20, 0.34);
}

.cookie-dialog::backdrop {
  background: rgba(35, 21, 15, 0.68);
  backdrop-filter: blur(4px);
}

.cookie-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.cookie-dialog > p {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.cookie-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.cookie-options {
  border-top: 1px solid var(--line);
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.cookie-option strong,
.cookie-option span {
  display: block;
}

.cookie-option strong {
  margin-bottom: 5px;
}

.cookie-option > div > span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.switch {
  position: relative;
  display: block;
  width: 52px;
  height: 29px;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch > span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cbbdb4;
  cursor: pointer;
  transition: background 160ms ease;
}

.switch > span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(47, 28, 20, 0.25);
  content: "";
  transition: transform 160ms ease;
}

.switch input:checked + span {
  background: var(--green);
}

.switch input:checked + span::after {
  transform: translateX(23px);
}

.switch input:focus-visible + span {
  outline: 3px solid var(--brass-light);
  outline-offset: 3px;
}

.switch input:disabled + span {
  cursor: not-allowed;
  opacity: 0.72;
}

.cookie-dialog-actions {
  justify-content: flex-end;
  margin-top: 26px;
}

.footer-cookie-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-footer {
  color: #eadbd1;
  background: #2f1c14;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 70px;
  padding-block: 70px 58px;
}

.footer-brand {
  max-width: 410px;
}

.footer-brand .brand {
  color: var(--white);
  margin-bottom: 22px;
}

.footer-brand p {
  color: #cbb8aa;
  font-size: 14px;
}

.footer-column h3 {
  color: var(--brass-light);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b9a396;
  font-size: 12px;
}

.legal-page {
  padding-block: 90px 120px;
}

.legal-page h1 {
  max-width: 840px;
  font-size: clamp(45px, 6vw, 72px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 80px;
  align-items: start;
  margin-top: 65px;
}

.legal-aside {
  position: sticky;
  top: 120px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.legal-content h2 {
  margin-top: 54px;
  font-family: var(--serif);
  font-size: 34px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 30px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 750;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content a {
  color: var(--green-light);
}

.error-page {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 70px 20px;
  text-align: center;
  background: var(--ivory);
}

.error-page strong {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 110px;
  font-weight: 400;
  line-height: 1;
}

.error-page h1 {
  margin: 14px auto 24px;
  font-size: clamp(40px, 6vw, 64px);
}

@media (max-width: 1040px) {
  .nav-list {
    gap: 15px;
  }

  .header-phone {
    display: none;
  }

  .service-card {
    padding: 28px;
  }

  .service-number {
    margin-bottom: 48px;
  }

  .contact-grid {
    gap: 54px;
  }
}

@media (max-width: 860px) {
  :root {
    --wrap: min(100% - 32px, 720px);
  }

  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 40px rgba(67, 43, 32, 0.13);
  }

  .nav-wrap[data-open="true"] {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-list a::after {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(245, 240, 232, 0.98) 0%, rgba(245, 240, 232, 0.9) 57%, rgba(245, 240, 232, 0.24) 100%);
  }

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

  .opening-note {
    right: 16px;
    bottom: 16px;
  }

  .section {
    padding-block: 88px;
  }

  .section-head,
  .intro-grid,
  .documents-grid,
  .fees-card,
  .area-grid,
  .map-grid,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .section-head,
  .intro-grid,
  .documents-grid,
  .area-grid,
  .contact-grid {
    gap: 44px;
  }

  .map-grid {
    gap: 0;
  }

  .section-head {
    margin-bottom: 42px;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 0;
  }

  .process-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .fees-card {
    gap: 42px;
    padding: 48px;
  }

  .map-details {
    padding: 42px;
  }

  .footer-main {
    grid-template-columns: 1.3fr 0.7fr;
  }

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

  .legal-layout {
    gap: 40px;
  }

  .legal-aside {
    position: static;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  :root {
    --wrap: calc(100% - 28px);
  }

  html {
    scroll-padding-top: 80px;
  }

  body {
    font-size: 16px;
  }

  .brand-copy strong {
    max-width: 202px;
    font-size: 14px;
    letter-spacing: -0.015em;
    white-space: nowrap;
  }

  .brand-copy span {
    font-size: 10px;
  }

  .hero,
  .hero-inner {
    min-height: 750px;
  }

  .hero-inner {
    align-items: start;
    padding-top: 70px;
  }

  .hero-media img {
    object-position: 63% center;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(245, 240, 232, 0.99) 0%, rgba(245, 240, 232, 0.94) 55%, rgba(245, 240, 232, 0.33) 84%, rgba(67, 43, 32, 0.16) 100%);
  }

  h1 {
    font-size: clamp(46px, 15vw, 66px);
  }

  h2 {
    font-size: clamp(37px, 12vw, 51px);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-meta {
    gap: 8px 18px;
    margin-top: 28px;
    padding: 11px 12px;
    border-left: 2px solid var(--brass);
    background: rgba(245, 240, 232, 0.88);
  }

  .opening-note {
    display: none;
  }

  .section {
    padding-block: 72px;
  }

  .map-details {
    padding: 30px 24px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .map-frame,
  .map-frame iframe,
  .map-consent {
    min-height: 360px;
  }

  .map-consent {
    padding: 30px 20px;
  }

  .seal-card {
    min-height: 390px;
  }

  .seal-card::before {
    width: 300px;
    height: 300px;
  }

  .seal-card::after {
    width: 225px;
    height: 225px;
  }

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

  .service-card {
    min-height: 280px;
  }

  .process-item,
  .process-item:nth-child(3) {
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .process-item:last-child {
    border-bottom: 0;
  }

  .documents-photo::before {
    top: -14px;
    right: -8px;
    bottom: 14px;
    left: 14px;
  }

  .fees-card,
  .area-quote,
  .contact-form {
    padding: 30px 22px;
  }

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

  .contact-method {
    grid-template-columns: 86px 1fr;
  }

  .footer-main {
    gap: 36px;
  }

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

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

  .footer-legal-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .cookie-banner {
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 88vh;
    padding: 24px 20px;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .cookie-actions,
  .cookie-dialog-actions {
    display: grid;
    width: 100%;
  }

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

  .cookie-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    padding: 26px 20px;
    overflow-y: auto;
  }

  .cookie-dialog-head {
    gap: 12px;
  }

  .cookie-dialog h2 {
    font-size: 27px;
  }

  .cookie-option {
    gap: 14px;
  }

  .legal-page {
    padding-block: 65px 90px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .button-row,
  .contact-form,
  .site-footer,
  .cookie-banner,
  .cookie-dialog {
    display: none !important;
  }

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

  .section,
  .legal-page {
    padding-block: 30px;
  }
}
