@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/pt-serif-400.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: 'PT Serif';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/pt-serif-700.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 {
  --cream: #fffbf5;
  --text: #64647a;
  --muted: #5a5d63;
  --label: #616161;
  --green: #00730a;
  --font: 'PT Serif', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; }
h2, h6, p { margin: 0; font-weight: 400; }

.container {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* Header */
.header { background: var(--cream); padding: 8px 16px; position: relative; }
.header > .container { padding: 0; }
@media (min-width: 992px) { .header > .container { padding: 0 15px; } }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.header__brand { display: block; padding: 5px 0; }
.header__links { display: none; }
.header__links a, .mobile-menu > a {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  padding: 8px 32px 8px 8px;
}
.header__toggle {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: no-repeat center / 100% url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 1.0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.header__toggle--close {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 1.0)' stroke-width='2' stroke-linecap='round' d='M7 7l16 16M23 7L7 23'/%3e%3c/svg%3e");
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--cream);
  padding: 8px 16px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { margin-bottom: 10px; }
@media (min-width: 992px) {
  .header__links { display: flex; }
  .header__toggle, .mobile-menu { display: none !important; }
}

/* Hero */
.hero {
  background: #fff url(/assets/hero.webp) no-repeat center / cover;
  padding: 192px 0 240px;
  text-align: center;
}
.hero__text {
  max-width: 730px;
  margin: 0 auto;
  padding: 12px 0 256px;
  font-size: 24px;
  line-height: 48px;
  letter-spacing: 0.4px;
  color: var(--muted);
}

/* Sections */
.section { background: var(--cream); padding: 96px 0; }
.section__title {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  text-align: center;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* Service cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 0 32px 0;
  overflow: hidden;
}
.card__image {
  position: relative;
  height: 384px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #e0e6f2;
}
.card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px 8px 0 0;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.card:hover .card__overlay, .card__overlay:focus-within { opacity: 1; }
@media (hover: none) { .card__overlay { opacity: 1; background: transparent; align-items: flex-end; padding-bottom: 16px; } }
.card__body { padding: 16px 24px; }
.card__body h6 {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
}
.card__body p { font-size: 14px; line-height: 21px; color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 4px;
  padding: 12px 24px;
  box-shadow: rgba(17, 17, 17, 0.04) 0 2px 4px 0, rgba(33, 33, 33, 0.04) 0 4px 8px 0;
  cursor: pointer;
  transition: filter 0.2s;
}
.btn:hover { filter: brightness(1.1); }

/* Contact form */
.contact { max-width: 571px; margin: 0 auto; padding: 16px; }
.contact .section__title { margin-bottom: 8px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  color: var(--label);
  padding-top: 8px;
  margin-bottom: 8px;
}
.input {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #c2c2c2;
  border-radius: 8px;
  color: #161637;
  transition: border-color 0.2s;
}
.input:hover { border-color: #161637; }
.input:focus-within { border-color: #161637; box-shadow: 0 0 0 1px #161637; }
.input--icon { padding-left: 14px; }
.input--icon svg { flex: none; font-size: 18.2px; margin-right: 8px; color: rgba(0, 0, 0, 0.54); }
.input--textarea { padding: 0 12px; }
.input input, .input textarea {
  flex: 1;
  min-width: 0;
  width: 100%;
  font: 16px/26px var(--font);
  color: #0a0a0a;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 6px 12px;
}
.input--icon input { padding-left: 0; }
.input textarea { height: 118px; padding: 7px 0; resize: none; display: block; }
@media (min-width: 600px) { .input input, .input textarea { font-size: 14px; } }
.input ::placeholder { color: #9e9e9e; opacity: 1; }
.field__error { display: none; font-size: 12px; color: #d32f2f; margin-top: 4px; }
.field.is-invalid .input { border-color: #d32f2f; }
.field.is-invalid .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--submit {
  width: 100%;
  margin-top: 12px;
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  padding: 8px 32px;
  height: 40px;
}
.btn--submit:disabled { opacity: 0.6; cursor: default; }
.form-status { font-size: 14px; text-align: center; margin-top: 16px; color: var(--text); }
.form-status.is-error { color: #d32f2f; }

/* Footer */
.footer { background: var(--cream); padding: 64px 0; }
.footer__top { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer__links { display: flex; justify-content: center; gap: 16px; }
.footer__links a { font-size: 12px; line-height: 18px; color: var(--label); padding: 8px 16px; }
.footer hr { border: 0; border-top: 1px solid #ededed; margin: 48px 0; }
.footer small {
  display: block;
  width: 58.333%;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  padding-bottom: 20px;
}
@media (min-width: 600px) {
  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 0; }
  .footer hr { margin: 24px 0; }
}
