:root {
  --ink: #342a20;
  --muted: #74685b;
  --surface: #fffaf1;
  --surface-soft: #f3e6d3;
  --surface-warm: #ead9bf;
  --line: #ddccb2;
  --green: #66745b;
  --green-dark: #756344;
  --rust: #b1764f;
  --rust-dark: #8d5c3e;
  --shadow: 0 24px 70px rgba(93, 73, 47, 0.18);
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--green);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--rust-dark);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 250, 241, 0.95);
  border-bottom: 1px solid rgba(221, 204, 178, 0.9);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border: 1px solid #cbb693;
  border-radius: 50%;
  background: #efe4d3;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(117, 99, 68, 0.18);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.02);
}

.brand-name,
.brand-line {
  display: block;
  letter-spacing: 0;
}

.brand-name {
  font-weight: 800;
  line-height: 1.1;
}

.brand-line {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #efe2cf;
  color: var(--rust-dark);
  outline: none;
}

.site-nav a[aria-current="page"] {
  background: #efe2cf;
  color: var(--rust-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8ec;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: relative;
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 4px;
}

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

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

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

.hero {
  position: relative;
  min-height: 70svh;
  max-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(91, 71, 47, 0.82) 0%, rgba(130, 104, 70, 0.58) 45%, rgba(230, 211, 182, 0.16) 82%),
    linear-gradient(0deg, rgba(95, 75, 50, 0.28), rgba(255, 250, 241, 0.08));
}

.hero-content {
  padding: 78px 0 92px;
}

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

.hero .eyebrow {
  color: #f7d7b9;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: 4rem;
  font-weight: 850;
}

h2 {
  font-size: 2.35rem;
  font-weight: 820;
}

h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--rust);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--rust-dark);
  color: #fff;
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 250, 241, 0.55);
  background: rgba(255, 250, 241, 0.12);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.dark-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.dark-secondary:hover,
.dark-secondary:focus-visible {
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.contact-strip {
  background: #e8d8bf;
  color: var(--ink);
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(117, 99, 68, 0.16);
}

.contact-strip a {
  min-width: 0;
  padding: 22px 24px;
  background: #e8d8bf;
}

.contact-strip a:hover,
.contact-strip a:focus-visible {
  color: var(--ink);
  background: #decaac;
  outline: none;
}

.contact-strip span {
  display: block;
  color: #796b5a;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.section {
  padding: 96px 0;
}

.section.muted {
  background: #f5eadb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.section-intro p:not(.eyebrow),
.profile-copy p,
.contact-grid p,
.site-footer p {
  color: var(--muted);
}

.section-intro h2 {
  max-width: 520px;
}

.section-intro p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--rust-dark);
}

.section-link {
  margin-top: 24px;
}

.section-intro.compact {
  max-width: 660px;
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 10px 26px rgba(117, 99, 68, 0.08);
}

.service-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--rust);
  font-size: 0.84rem;
  font-weight: 850;
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.process-item {
  min-height: 220px;
  padding: 26px;
  border-left: 4px solid var(--rust);
  background: #fffdf8;
}

.process-item span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.process-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

.split {
  padding-top: 104px;
  padding-bottom: 104px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.profile-copy {
  max-width: 690px;
  font-size: 1.1rem;
}

.profile-copy p {
  margin: 0;
}

.profile-copy p + p {
  margin-top: 20px;
}

.contact-section {
  padding: 90px 0;
  background: #e8d8bf;
  color: var(--ink);
}

.contact-section .eyebrow {
  color: var(--rust-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.contact-grid p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-button {
  margin-top: 18px;
}

.contact-details {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(117, 99, 68, 0.22);
  border-radius: 8px;
  font-style: normal;
  background: rgba(255, 250, 241, 0.62);
}

.contact-details strong {
  font-size: 1.15rem;
}

.contact-details span,
.contact-details a {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--rust-dark);
}

.contact-section .button-secondary {
  color: var(--ink);
  border-color: rgba(117, 99, 68, 0.32);
  background: rgba(255, 250, 241, 0.58);
}

.contact-section .button-secondary:hover,
.contact-section .button-secondary:focus-visible {
  color: var(--ink);
  border-color: var(--rust);
  background: rgba(255, 250, 241, 0.82);
}

.site-footer {
  padding: 56px 0 28px;
  background: #ded0ba;
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1fr;
  gap: 42px;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
}

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

.site-footer a {
  color: var(--ink);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--rust-dark);
}

.footer-links {
  margin-top: 12px;
}

.footer-meta-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-hero {
  padding: 84px 0 70px;
  background:
    linear-gradient(115deg, rgba(255, 250, 241, 0.96), rgba(232, 216, 191, 0.86)),
    var(--surface-warm);
  color: var(--ink);
}

.small-page-hero {
  padding: 64px 0 54px;
}

.page-hero .eyebrow {
  color: var(--rust-dark);
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.detail-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 10px 26px rgba(117, 99, 68, 0.08);
}

.detail-card h2 {
  font-size: 1.35rem;
}

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

.compact-contact {
  padding: 72px 0;
}

.cta-box {
  display: grid;
  gap: 12px;
  align-content: start;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-left: 4px solid var(--rust);
  background: #f5eadb;
  font-style: normal;
}

.contact-panel a {
  color: var(--rust-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.form-row label,
.checkbox {
  color: var(--ink);
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--rust);
  outline: 3px solid rgba(177, 118, 79, 0.18);
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--rust);
}

.checkbox a {
  color: var(--rust-dark);
  font-weight: 800;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-wrap {
  min-height: 80px;
}

.form-submit {
  width: fit-content;
  min-width: 180px;
  border: 0;
  cursor: pointer;
}

.narrow {
  max-width: 760px;
}

.legal-content h2 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.legal-content p {
  color: var(--muted);
}

.legal-content strong {
  color: var(--ink);
}

.standalone-message {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 70px 0;
  background: var(--surface-warm);
}

.standalone-message h1 {
  color: var(--ink);
  font-size: 3rem;
}

.standalone-message p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(117, 99, 68, 0.2);
  color: var(--muted);
}

@media (max-width: 920px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 32px, 720px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 241, 0.98);
    transform: translateY(-125%);
    transition: transform 180ms ease;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-content {
    padding: 68px 0 76px;
  }

  h1 {
    max-width: 620px;
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .contact-strip-inner,
  .section-grid,
  .profile-grid,
  .contact-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .profile-grid,
  .contact-grid,
  .form-grid {
    gap: 36px;
  }

  .contact-strip-inner {
    gap: 1px;
  }

  .section {
    padding: 72px 0;
  }

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

  .service-card,
  .process-item,
  .detail-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 520px);
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .brand-line {
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(91, 71, 47, 0.88) 0%, rgba(130, 104, 70, 0.72) 58%, rgba(174, 145, 103, 0.34) 100%),
      linear-gradient(0deg, rgba(95, 75, 50, 0.34), rgba(255, 250, 241, 0.08));
  }

  .hero-content {
    padding: 58px 0 62px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .contact-strip a,
  .service-card,
  .process-item,
  .contact-details,
  .detail-card,
  .contact-panel {
    padding: 22px;
  }

  .page-hero {
    padding: 60px 0 52px;
  }

  .standalone-message h1 {
    font-size: 2.25rem;
  }

  .form-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
