:root {
  --ink: #13201f;
  --text: #35403d;
  --muted: #6a706d;
  --paper: #f8f7f3;
  --surface: #fffdfa;
  --sage: #526657;
  --sage-soft: #e9ece2;
  --brick: #9e2f22;
  --line: rgba(19, 32, 31, 0.18);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  min-height: 110px;
  padding: 22px 40px;
  background: rgba(248, 247, 243, 0.96);
  border-bottom: 1px solid rgba(19, 32, 31, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-grid;
  gap: 2px;
  text-decoration: none;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 58px);
}

.site-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  gap: 22px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  color: #fffdfa;
  background: var(--brick);
  border-color: var(--brick);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 253, 250, 0.66);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 640px;
  background:
    linear-gradient(90deg, rgba(248, 247, 243, 0.98) 0%, rgba(248, 247, 243, 0.91) 27%, rgba(248, 247, 243, 0.22) 54%, rgba(248, 247, 243, 0) 74%),
    url("../img/hero-docate.png") center right / cover no-repeat;
}

.hero-content {
  width: min(820px, 57vw);
  padding: 112px 0 56px 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(68px, 6.35vw, 96px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 500px;
  margin-bottom: 32px;
  color: #626866;
  font-size: 20px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.rate-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  color: #747977;
  font-size: 14px;
}

.rate-note span {
  color: var(--sage);
  font-size: 18px;
}

.benefits {
  padding: 44px 70px 54px;
  background: var(--surface);
  text-align: center;
}

.benefits .section-kicker {
  margin-bottom: 12px;
}

.benefits h2 {
  margin-bottom: 44px;
  font-size: clamp(36px, 3.1vw, 48px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  text-align: left;
}

.benefit-grid article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  align-items: center;
  padding: 0 48px;
  border-right: 1px solid var(--line);
}

.benefit-grid article:first-child {
  padding-left: 0;
}

.benefit-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.icon {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  color: var(--sage);
  background: var(--sage-soft);
  border-radius: 50%;
}

.icon svg {
  width: 42px;
  height: 42px;
}

.benefit-grid p,
.story p,
.location-panel p,
.contact-panel p,
.business-section p,
.guide-section p,
.site-footer p {
  color: var(--muted);
}

.benefit-grid p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.45;
}

.story,
.location-panel,
.contact-panel,
.business-section,
.guide-section,
.site-footer {
  padding: clamp(58px, 7vw, 104px) 70px;
}

.story {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.8fr);
  gap: 70px;
  align-items: end;
  background: var(--paper);
}

.story p {
  font-size: 19px;
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: 70px;
  align-items: center;
  background: #ebeee7;
}

.location-panel img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brick);
  font-weight: 700;
  text-underline-offset: 6px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 0.72fr);
  gap: 80px;
  background: var(--surface);
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  color: var(--text);
  list-style: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(19, 32, 31, 0.24);
  border-radius: var(--radius);
  font: inherit;
}

input:focus,
textarea:focus,
.button:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(158, 47, 34, 0.24);
  outline-offset: 3px;
}

.business-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.business-copy {
  max-width: 520px;
}

.business-copy p {
  font-size: 19px;
}

.business-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.business-visual article {
  overflow: hidden;
  min-height: 390px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.business-visual img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.business-visual div {
  padding: 24px;
}

.business-visual p {
  margin-bottom: 0;
  font-size: 14px;
}

.guide-section {
  background: var(--surface);
}

.guide-heading {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.guide-heading p:last-child {
  max-width: 780px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  font-size: 19px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-grid article {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.guide-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.guide-grid h3 {
  margin: 0;
  padding: 22px 24px 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.8fr);
  gap: 54px;
  color: rgba(255, 253, 250, 0.88);
  background: var(--ink);
}

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

.site-footer .brand strong {
  font-size: 48px;
}

.site-footer .brand small,
.site-footer p,
.site-footer a {
  color: rgba(255, 253, 250, 0.72);
}

.legal p {
  margin-bottom: 10px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 240px 1fr auto;
    padding-inline: 28px;
  }

  .brand strong {
    font-size: 50px;
  }

  .site-nav {
    gap: 22px;
  }

  .header-actions .ghost {
    display: none;
  }
}

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

  .brand strong {
    font-size: 40px;
  }

  .brand small {
    font-size: 10px;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 83px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(19, 32, 31, 0.14);
  }

  .site-nav.is-open {
    display: grid;
  }

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

  .hero {
    min-height: auto;
    padding-top: 360px;
    background:
      linear-gradient(180deg, rgba(248, 247, 243, 0) 0%, rgba(248, 247, 243, 0.08) 36%, rgba(248, 247, 243, 0.98) 63%, rgba(248, 247, 243, 1) 100%),
      url("../img/hero-docate.png") top center / auto 430px no-repeat;
  }

  .hero-content {
    width: 100%;
    padding: 38px 24px 48px;
  }

  h1 {
    font-size: clamp(54px, 14vw, 76px);
  }

  .benefits,
  .story,
  .location-panel,
  .contact-panel,
  .business-section,
  .guide-section,
  .site-footer {
    padding-inline: 24px;
  }

  .benefit-grid,
  .story,
  .location-panel,
  .contact-panel,
  .business-section,
  .guide-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .business-visual {
    grid-template-columns: 1fr;
  }

  .business-visual article {
    min-height: auto;
  }

  .business-visual img {
    height: 250px;
  }

  .guide-grid img {
    height: 250px;
  }

  .benefit-grid article {
    grid-template-columns: 82px 1fr;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand strong {
    font-size: 34px;
  }

  .brand small {
    letter-spacing: 0.18em;
  }

  .hero {
    padding-top: 310px;
    background:
      linear-gradient(180deg, rgba(248, 247, 243, 0) 0%, rgba(248, 247, 243, 0.08) 34%, rgba(248, 247, 243, 0.98) 61%, rgba(248, 247, 243, 1) 100%),
      url("../img/hero-docate.png") top center / auto 360px no-repeat;
  }

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

  .eyebrow,
  .section-kicker {
    font-size: 11px;
    letter-spacing: 0.24em;
  }

  .benefits {
    padding-top: 38px;
  }

  .icon {
    width: 72px;
    height: 72px;
  }

  .icon svg {
    width: 34px;
    height: 34px;
  }

  .location-panel img {
    height: 300px;
  }

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