:root {
  --paper: #f6f3ec;
  --ink: #183538;
  --muted: #5d6762;
  --line: #cdd0c6;
  --accent: #92563c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-underline-color: var(--line);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 {
  font-size: clamp(44px, 4.9vw, 74px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.15;
}

p {
  margin: 0 0 1.1em;
}

strong,
em {
  font-family: Arial, Helvetica, sans-serif;
}

.notice {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  padding: 10px 0;
  background: #e8e5da;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.brand-accent {
  color: var(--accent);
}

.header-nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
}

.header-nav a {
  font-size: 14px;
  text-decoration: none;
}

.tel {
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--line);
}

.header-line {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

section {
  padding: 92px 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
}

.hero-text {
  max-width: 480px;
}

.hero-text h1 {
  margin-bottom: 16px;
}

.intro {
  font-size: 17px;
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 26px;
  height: 52px;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.button-light {
  display: inline-block;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 13px 25px;
  height: 52px;
  text-decoration: none;
  border-radius: 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.button:hover,
.button-light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.hero-meta {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-meta a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  bottom: -16px;
  left: -16px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.hero-figure img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-figure figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(246, 243, 236, 0.85);
  padding: 6px 10px;
  line-height: 1.5;
}

.services {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.services-inner h2 {
  margin-bottom: 14px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 14px;
}

.chip-list a {
  text-decoration: none;
  color: var(--ink);
}

.chip-list .sep {
  color: var(--muted);
}

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

.numbered-text {
  max-width: 480px;
}

.numbered-facts .fact {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.fact-label {
  color: var(--muted);
}

.fact-value a {
  color: var(--ink);
}

.projects-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.projects-figure {
  position: relative;
  margin: 0;
}

.projects-figure img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.projects-figure figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}

.contact.dark {
  background: var(--ink);
  color: var(--paper);
}

.contact.dark h2,
.contact.dark p,
.contact.dark a {
  color: var(--paper);
}

.contact.dark a {
  text-decoration-color: rgba(246, 243, 236, 0.4);
}

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

.contact-text {
  max-width: 480px;
}

.contact-text h2 {
  margin-bottom: 12px;
}

.rating-note {
  font-size: 13px;
  color: rgba(246, 243, 236, 0.7);
  margin-top: 6px;
}

.big-tel {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.big-tel a {
  color: var(--paper);
  text-decoration: none;
}

.contact-actions .button {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  margin-bottom: 22px;
}

.contact.dark .button {
  color: var(--ink);
}

.contact-actions .button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.contact-meta {
  font-size: 14px;
  color: rgba(246, 243, 236, 0.8);
  line-height: 1.8;
}

.contact-meta div {
  margin-bottom: 8px;
}

.contact-meta span {
  color: rgba(246, 243, 236, 0.5);
  margin-right: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 24px;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.footer-note {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 1100px) {
  .hero,
  .numbered-inner,
  .projects-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-figure img {
    height: 430px;
  }
  .projects-figure img {
    height: 360px;
  }
}

@media (max-width: 760px) {
  .header-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 20px;
  }
  .brand {
    text-align: center;
  }
  .header-nav {
    display: flex;
    flex-direction: row;
    gap: 18px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .header-nav a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    white-space: nowrap;
  }
  .tel {
    text-align: center;
    display: block;
  }
  section {
    padding: 56px 20px;
  }
  .hero {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero-text {
    max-width: none;
  }
  .hero-figure img {
    height: 360px;
  }
  .numbered-inner,
  .projects-inner,
  .contact-inner {
    gap: 32px;
  }
  .big-tel {
    font-size: 28px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 44px;
  }
  .hero-actions {
    gap: 8px;
  }
  .button,
  .button-light {
    width: 100%;
    text-align: center;
  }
  .numbered-facts .fact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .chip-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .chip-list .sep {
    display: none;
  }
  .chip-list a {
    min-height: 48px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
