
:root {
  --ink: #17161b;
  --muted: #696271;
  --line: #ebe5dc;
  --cream: #fff1c6;
  --soft: #f7f5f0;
  --green: #9bcf82;
  --red: #e72e38;
  --orange: #ff8a2a;
  --blue: #1d9fe6;
  --shadow: 0 20px 60px rgba(35, 31, 45, .12);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.55; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 76px;
  padding: 14px min(6vw, 72px);
  border-bottom: 1px solid rgba(23, 22, 27, .08);
  background: rgba(255, 241, 198, .92);
  backdrop-filter: blur(16px);
}

.brand, .footer-brand { font-size: 30px; font-weight: 950; line-height: 1; }
.site-nav { display: flex; justify-content: flex-end; gap: 10px; align-items: center; flex-wrap: wrap; }
.site-nav a { padding: 9px 12px; border-radius: 999px; color: #3d3841; font-weight: 650; }
.site-nav a:hover, .site-nav a.is-active { background: rgba(255, 255, 255, .78); color: var(--ink); }
.header-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 21px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(20, 18, 21, .13);
  font-weight: 850;
  line-height: 1;
}
.btn.red { background: var(--red); color: #fff; }
.btn.dark { background: #1f1f24; color: #fff; box-shadow: none; }
.btn.white { background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  position: relative;
  min-height: clamp(430px, 56vw, 680px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 10vw, 128px) 0;
  background: linear-gradient(135deg, #fff8df 0%, #fff 72%);
  overflow: hidden;
}
.hero.media { color: #fff; background-position: center; background-size: cover; }
.hero.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 13, 13, .76), rgba(16, 13, 13, .28));
}
.hero > .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}
.hero.media .eyebrow { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255,255,255,.28); }
h1 {
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: .96;
  font-weight: 950;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.hero h1.red { color: var(--red); }
.lead { max-width: 760px; margin-top: 18px; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); }
.hero.media .lead { color: rgba(255,255,255,.9); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: clamp(28px, 6vw, 74px); align-items: center; }
.panel { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.soft { background: var(--soft); }
.cream { background: var(--cream); }
.kicker { color: var(--red); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
h2 { margin-top: 10px; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.04; font-weight: 950; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.16; font-weight: 900; }
.text { margin-top: 16px; color: var(--muted); font-size: 18px; }
.text + .text { margin-top: 14px; }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(36, 32, 44, .08);
}
.card-body { padding: 22px; }
.card img, .photo-card img { aspect-ratio: 1.16; object-fit: cover; }
.tag {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff3d0;
  color: #745213;
  font-size: 14px;
  font-weight: 850;
}
.price { margin-top: 16px; font-size: 22px; font-weight: 950; }
.gallery { columns: 4 220px; column-gap: 16px; }
.photo-card { display: block; margin: 0 0 16px; break-inside: avoid; border-radius: 20px; overflow: hidden; background: #eee; }
.photo-card img { aspect-ratio: auto; }

.steps { max-width: 900px; margin: 34px auto 0; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; padding: 12px 0; }
.step-num { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; background: var(--green); font-size: 22px; font-weight: 950; }
.step-body { padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(38,32,44,.06); }

.cta { padding: clamp(64px, 9vw, 112px) 0; color: #fff; background-position: center; background-size: cover; }
.cta .box { width: min(640px, 100%); padding: clamp(24px, 4vw, 38px); border-radius: 28px; background: rgba(18, 15, 16, .62); backdrop-filter: blur(8px); }
.cta .text { color: rgba(255,255,255,.88); }

.contact-list { display: grid; gap: 12px; margin-top: 24px; }
.contact-row { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.contact-row strong { display: block; margin-bottom: 4px; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  padding: 38px min(6vw, 72px);
  background: #17161b;
  color: #fff;
}
.site-footer p { margin-top: 10px; color: rgba(255,255,255,.72); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; }
.footer-links a { color: rgba(255,255,255,.78); }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { grid-column: 1 / -1; justify-content: flex-start; }
  .split, .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header { position: static; padding: 14px 18px; }
  .brand { font-size: 26px; }
  .header-btn { min-height: 42px; padding-inline: 16px; }
  .site-nav { gap: 4px; }
  .site-nav a { padding: 7px 9px; font-size: 14px; }
  .container { width: min(100% - 24px, 1120px); }
  .hero { padding: 54px 0; }
  h1 { font-size: clamp(38px, 13vw, 54px); }
  h2 { font-size: clamp(31px, 10vw, 44px); }
  .split, .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .step { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .step-num { width: 54px; height: 54px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* 2026 site hardening layer */
:root {
  --color-bg: #fffaf2;
  --color-bg-soft: #fff3cf;
  --color-surface: #ffffff;
  --color-text: #211b1b;
  --color-muted: #6f6660;
  --color-primary: #e7262e;
  --color-primary-hover: #c91c24;
  --color-accent: #ffd43b;
  --color-accent-soft: #fff0a8;
  --color-border: rgba(33, 27, 27, 0.1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-card: 0 16px 40px rgba(33, 27, 27, 0.08);
  font-family: Manrope, Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 12px min(5vw, 64px);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 250, 242, 0.88);
  backdrop-filter: blur(16px);
}

.site-header .brand,
.footer-brand {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-weight: 850;
}

.site-nav a,
.header-phone,
.header-btn,
.header-order,
.btn,
.footer-col a {
  min-height: 44px;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  font-weight: 850;
  white-space: nowrap;
}

.header-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 14px 32px rgba(231, 38, 46, .18);
  font-weight: 900;
  line-height: 1;
}

.header-order:hover,
.btn.red:hover {
  background: var(--color-primary-hover);
}

.narrow { max-width: 880px; }
.doc { margin-top: 28px; }
.doc h2 { margin-top: 28px; font-size: clamp(24px, 3vw, 34px); }
.doc p { margin-top: 12px; color: var(--color-muted); font-size: 18px; }
.not-found { min-height: 62vh; display: grid; align-items: center; }

.site-footer {
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(150px, 1fr));
  align-items: start;
  gap: 28px;
  padding: clamp(42px, 6vw, 72px) min(5vw, 64px);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.footer-about,
.footer-col {
  display: grid;
  gap: 8px;
}

.footer-col a,
.footer-col span {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.78);
}

.footer-copy,
.requisites {
  color: rgba(255,255,255,.62) !important;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }
  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
  }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; }
  .header-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .header-phone { grid-column: 1 / -1; }
  .header-order { grid-column: 1 / -1; }
  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 96px;
  }
}

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


/* 2026 second layer */
.feature-grid, .testimonial-grid { margin-top: 32px; }
.text-link { display: inline-flex; margin-top: 16px; color: var(--color-primary, #e7262e); font-weight: 900; }
.faq-list { display: grid; gap: 12px; margin-top: 28px; }
.faq-list details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(33,27,27,.06); }
.faq-list summary { cursor: pointer; font-weight: 900; }
.faq-list p { margin-top: 10px; color: var(--muted); }
.clean-list, .meta-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 18px; }
.clean-list li, .meta-list li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.72); }
.lead-form { display: grid; gap: 14px; margin-top: 22px; }
.lead-form .field { display: grid; gap: 7px; font-weight: 850; }
.lead-form input, .lead-form textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid #d8d2ca; border-radius: 14px; background: #fff; color: var(--ink); font: inherit; }
.lead-form textarea { min-height: 116px; resize: vertical; }
.lead-form.has-error input:invalid, .lead-form.has-error textarea:invalid { border-color: var(--red); }
.form-note a { color: var(--color-primary, #e7262e); font-weight: 850; }
.form-status { min-height: 20px; color: var(--color-primary, #e7262e); font-weight: 850; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.gallery-filters button { min-height: 42px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 850; cursor: pointer; }
.gallery-filters button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.photo-card[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; border: 0; background: rgba(0,0,0,.82); cursor: zoom-out; }
.lightbox img { width: min(100%, 1080px); max-height: 90vh; object-fit: contain; border-radius: 18px; }


/* 2026 deep content layer */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 22px;
  color: var(--color-muted, #6f6660);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a { color: var(--color-primary, #e7262e); }
.service-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.service-facts span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-weight: 900;
}

.meta-list.compact {
  margin-top: 16px;
  gap: 7px;
  font-size: 15px;
}

.meta-list.compact li {
  padding: 9px 11px;
  border-radius: 12px;
}

.gallery-strip { margin-top: 28px; }
.gallery-strip img { aspect-ratio: 1.14; object-fit: cover; }
.cta-panel {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.center-actions { justify-content: center; }
.mobile-bottom-bar { display: none; }

@media (hover: hover) {
  .card, .workshop-card, .step-body {
    transition: transform .22s ease, box-shadow .22s ease;
  }
  .card:hover, .workshop-card:hover, .step-body:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(33,27,27,.12);
  }
}

@media (max-width: 680px) {
  body { padding-bottom: 74px; }
  .cta-panel { display: grid; }
  .service-facts { align-items: stretch; flex-direction: column; }
  .service-facts span { justify-content: center; }
  .mobile-bottom-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(33,27,27,.1);
    border-radius: 18px;
    background: rgba(255,250,242,.94);
    box-shadow: 0 18px 42px rgba(33,27,27,.18);
    backdrop-filter: blur(14px);
  }
  .mobile-bottom-bar a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    color: var(--color-text, #211b1b);
    font-size: 14px;
    font-weight: 900;
  }
  .mobile-bottom-bar a:nth-child(2) {
    background: var(--color-primary, #e7262e);
    color: #fff;
  }
}


/* 2026 service catalog layer */
.service-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted, #6f6660);
  font-size: 15px;
}

.service-meta li {
  padding: 10px 12px;
  border: 1px solid var(--line, #e9e4df);
  border-radius: 12px;
  background: rgba(255,255,255,.76);
}

.service-meta.compact {
  font-size: 14px;
  gap: 7px;
}

.service-meta strong {
  color: var(--color-text, #211b1b);
}

.card-body > .actions,
.service-copy > .actions,
.direction-body > .actions,
.catalog-body > .actions {
  margin-top: 18px;
}

.card-body .btn {
  width: fit-content;
  min-height: 44px;
  margin-top: 16px;
  padding: 11px 18px;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .card-body .btn,
  .catalog-body .btn,
  .direction-body .btn,
  .service-copy .btn {
    width: 100%;
  }
}
