:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-alt: #efebe3;
  --text: #202224;
  --muted: #646a70;
  --line: rgba(32, 34, 36, 0.1);
  --shadow: 0 24px 50px rgba(27, 29, 31, 0.08);
  --shadow-soft: 0 12px 30px rgba(27, 29, 31, 0.08);
  --accent: #9b7b52;
  --accent-dark: #7e6240;
  --accent-soft: rgba(155, 123, 82, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(155, 123, 82, 0.12), transparent 24%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

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

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

code {
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(32, 34, 36, 0.06);
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.55);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(252, 251, 248, 0.85);
  border-bottom: 1px solid rgba(32, 34, 36, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(32, 34, 36, 0.08);
  box-shadow: 0 16px 24px rgba(155, 123, 82, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand-text small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.footer-nav a:hover,
.contact-points a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
  cursor: pointer;
}

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

.button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #b18b5c);
  color: #fff;
  box-shadow: 0 18px 30px rgba(155, 123, 82, 0.24);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), #9a7448);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(32, 34, 36, 0.1);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(32, 34, 36, 0.2);
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-section {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 680px;
  margin: 1.4rem 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-highlights {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-side {
  display: grid;
  gap: 1.25rem;
}

.hero-visual-card,
.hero-card,
.service-card,
.advantage-card,
.gallery-card,
.contact-form {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(32, 34, 36, 0.08);
  box-shadow: var(--shadow);
}

.hero-visual-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 320px;
}

.hero-visual-card img {
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.card-label {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.2;
}

.service-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-weight: 600;
}

.service-list li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-card-note {
  padding-top: 1.25rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.services-grid,
.advantages-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.advantage-card,
.gallery-card {
  padding: 1.5rem;
  border-radius: 24px;
}

.service-card h3,
.advantage-card h3,
.gallery-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.service-card p,
.advantage-card p,
.gallery-card p {
  margin: 0;
  color: var(--muted);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.advantages-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card-image {
  overflow: hidden;
  padding: 0;
}

.gallery-card-image img {
  height: 250px;
  object-fit: cover;
}

.gallery-content {
  padding: 1.2rem 1.2rem 1.35rem;
}

.section-contact {
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-copy {
  padding-right: 1rem;
}

.contact-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.contact-points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-points span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field span {
  font-weight: 700;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(32, 34, 36, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(155, 123, 82, 0.7);
  box-shadow: 0 0 0 4px rgba(155, 123, 82, 0.12);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.2rem;
  color: var(--muted);
}

.checkbox-field input {
  margin-top: 0.2rem;
}

.botcheck-field {
  display: none;
}

.captcha-wrap {
  margin-top: 1rem;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.error-message {
  min-height: 1rem;
  color: #c24848;
  font-size: 0.86rem;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: rgba(194, 72, 72, 0.55);
  box-shadow: 0 0 0 4px rgba(194, 72, 72, 0.08);
}

.checkbox-field.has-error {
  padding: 0.75rem;
  border: 1px solid rgba(194, 72, 72, 0.3);
  border-radius: 14px;
  background: rgba(194, 72, 72, 0.05);
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  font-weight: 600;
  color: var(--accent-dark);
}

.site-footer {
  padding: 2.5rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  background: #1f2327;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: 1.4rem;
}

.site-footer h2,
.site-footer h3 {
  margin-top: 0;
  color: #fff;
}

.site-footer p {
  margin: 0.3rem 0;
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  padding-top: 1.4rem;
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1040px) {
  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantages-grid,
  .contact-grid,
  .footer-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding-right: 0;
  }
}

@media (max-width: 820px) {
  .header-inner {
    gap: 0.75rem;
    min-height: 76px;
  }

  .header-cta {
    display: none;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text small {
    font-size: 0.82rem;
  }

  .nav-toggle {
    display: inline-block;
    flex-shrink: 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(32, 34, 36, 0.08);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: flex;
  }
}

@media (max-width: 720px) {
  .brand {
    gap: 0.7rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-text small {
    font-size: 0.78rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .form-grid,
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 11vw, 3.3rem);
  }

  .hero-visual-card,
  .hero-card,
  .service-card,
  .advantage-card,
  .gallery-card,
  .contact-form {
    border-radius: 20px;
  }

  .gallery-card-image img {
    height: 220px;
  }
}
