:root {
  --bg: #fbf7f1;
  --paper: #fffdf9;
  --paper-2: #f4ece2;
  --text: #1b1713;
  --muted: #665b50;
  --brand: #b8742c;
  --brand-2: #d29344;
  --contact-green: #e0b15c;
  --contact-green-dark: #24170b;
  --dark: #18130f;
  --line: rgba(44, 31, 20, .12);
  --shadow: 0 22px 70px rgba(54, 35, 19, .15);
  --radius: 24px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,249,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__row { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-grid; gap: 2px; }
.logo__name { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.logo__domain { color: var(--muted); font-size: 13px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; color: #33291f; }
.nav a { opacity: .84; transition: opacity .2s, color .2s; }
.nav a:hover { color: var(--brand); opacity: 1; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.phone-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; white-space: nowrap; }
.phone-link svg { color: var(--brand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 14px 30px rgba(184,116,44,.28); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.76); background: rgba(255,255,255,.08); }
.btn--light { color: var(--text); border-color: var(--line); background: #fff; }
.burger { display:none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px; }
.burger span { display:block; height:2px; margin:5px 0; background:var(--text); border-radius:4px; }
.hero {
  position: relative; min-height: 660px; display: flex; align-items: stretch; overflow: hidden;
  color: #fff; background: var(--dark);
}
.hero::before { content:""; position:absolute; inset:0; background-image: linear-gradient(90deg, rgba(18,13,9,.96) 0%, rgba(18,13,9,.78) 35%, rgba(18,13,9,.22) 62%, rgba(18,13,9,.06)), url('../img/hero-piter.jpg'); background-size: cover; background-position: center right; }
.hero__content { position: relative; z-index: 1; width: min(var(--container), calc(100% - 40px)); margin: 0 auto; display: grid; align-content: center; padding: 74px 0 96px; }
.hero__inner { max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.88); font-size: 14px; margin-bottom: 22px; }
h1, h2, h3 { margin: 0; line-height: 1.06; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 76px); letter-spacing: -.04em; }
.hero__lead { max-width: 610px; margin: 24px 0 28px; font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,.9); }

.hero-contact {
  max-width: 620px;
  margin: 20px 0 24px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(7, 9, 8, .68);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 70px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
}
.hero-contact__title {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-contact__menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin-bottom: 20px;
}
.hero-contact__menu a {
  color: var(--contact-green);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.2;
}
.hero-contact__icons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--contact-green-dark);
  background: var(--contact-green);
  box-shadow: 0 12px 28px rgba(224, 177, 92, .25);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.contact-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(224, 177, 92, .36);
  filter: brightness(1.05);
}
.contact-icon__text {
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: -.04em;
}
.hero-contact__main,
.hero-contact__secondary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  text-align: center;
  letter-spacing: .01em;
}
.hero-contact__main {
  min-height: 60px;
  padding: 0 26px;
  color: var(--contact-green-dark);
  background: var(--contact-green);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 1000;
  box-shadow: 0 18px 38px rgba(224, 177, 92, .28);
}
.hero-contact__secondary {
  min-height: 52px;
  margin-top: 10px;
  padding: 0 22px;
  color: rgba(255,255,255,.94);
  background: rgba(224, 177, 92, .12);
  border: 1px solid rgba(224, 177, 92, .52);
  font-size: clamp(17px, 2.3vw, 21px);
  font-weight: 900;
}
.hero-contact__secondary:hover {
  background: rgba(224, 177, 92, .18);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.footer__small-link {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.76);
}

.hero__badges { display:grid; grid-template-columns: repeat(2, minmax(210px, 1fr)); gap: 15px 24px; max-width: 560px; margin-bottom: 34px; }
.badge { display:flex; align-items:center; gap:12px; font-weight:800; color:rgba(255,255,255,.96); }
.badge__icon { width:42px; height:42px; border-radius:12px; color:#e4a34d; border:1px solid rgba(228,163,77,.52); background: rgba(228,163,77,.08); display:grid; place-items:center; flex:0 0 42px; }
.hero__buttons { display:flex; gap:16px; flex-wrap:wrap; }
.section { padding: 86px 0; }
.section--soft { background: #fffdf9; }
.section__top { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom: 34px; }
.section__title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.03em; }
.section__lead { max-width: 680px; color: var(--muted); font-size: 18px; margin: 14px 0 0; }
.services { margin-top: -70px; position: relative; z-index: 2; padding-bottom: 28px; }
.services__grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 14px 45px rgba(45,31,18,.10); display:grid; grid-template-columns: 1fr 128px; gap:16px; min-height: 196px; }
.service-card__icon { width:43px; height:43px; border-radius:12px; background:#7a5334; color:#fff; display:grid; place-items:center; margin-bottom:14px; }
.service-card h3 { font-size: 19px; line-height:1.18; margin-bottom:10px; }
.service-card p { margin:0; color:var(--muted); font-size:14px; }
.service-card img { width:128px; height:160px; object-fit:cover; border-radius:15px; align-self:stretch; }
.about-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: stretch; }
.about-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.about-card--dark { background: var(--dark); color:#fff; overflow:hidden; position:relative; }
.about-card--dark::after { content:""; position:absolute; right:-80px; bottom:-100px; width:260px; height:260px; background: radial-gradient(circle, rgba(210,147,68,.45), transparent 64%); }
.check-list { display:grid; gap:14px; padding:0; margin:24px 0 0; list-style:none; }
.check-list li { display:flex; gap:12px; align-items:flex-start; }
.check-list li::before { content:"✓"; width:24px; height:24px; display:grid; place-items:center; flex:0 0 24px; border-radius:50%; background: rgba(184,116,44,.12); color:var(--brand); font-weight:900; }
.portfolio { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background:#fff; border:1px solid var(--line); border-radius:22px; overflow:hidden; box-shadow: 0 12px 34px rgba(45,31,18,.08); }
.case__img { aspect-ratio: 1.55 / 1; object-fit:cover; width:100%; background:#f0e5d8; }
.case__body { padding: 20px; }
.case h3 { font-size:20px; line-height:1.18; margin-bottom: 8px; }
.case p { margin:0; color:var(--muted); }
.case__meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.tag { padding:7px 10px; background:#f3eadf; color:#5a4330; border-radius:999px; font-size:13px; font-weight:700; }
.price-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card { background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; min-height: 190px; }
.price-card strong { display:block; font-size:19px; line-height:1.2; margin-bottom:14px; }
.price-card .price { font-size:24px; font-weight:900; color: var(--brand); margin-bottom:10px; }
.price-note { margin-top:18px; color:var(--muted); font-size:14px; }
.steps { display:grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position:relative; background:#fff; border:1px solid var(--line); border-radius:22px; padding:26px 20px 22px; min-height: 218px; }
.step::before { counter-increment: step; content: counter(step); position:absolute; top:16px; right:18px; width:28px; height:28px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-weight:900; font-size:14px; }
.step__icon { width:54px; height:54px; border-radius:17px; background:#f4ece2; display:grid; place-items:center; color:var(--brand); margin-bottom:22px; }
.step h3 { font-size:19px; margin-bottom:8px; }
.step p { color:var(--muted); margin:0; font-size:14px; }
.faq { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
details { background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px 20px; }
summary { cursor:pointer; font-weight:800; }
details p { margin:12px 0 0; color:var(--muted); }
.cta { background: linear-gradient(135deg, #1b1510, #2c1c12); color:#fff; border-radius: 30px; padding: 42px; display:grid; grid-template-columns:1fr auto; gap: 24px; align-items:center; overflow:hidden; position:relative; }
.cta::after { content:""; position:absolute; right:0; top:0; bottom:0; width:38%; background: radial-gradient(circle at 50% 50%, rgba(210,147,68,.38), transparent 70%); }
.cta > * { position:relative; z-index:1; }
.cta h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 48px); }
.cta p { color: rgba(255,255,255,.78); font-size:18px; max-width:720px; }
.footer { background: var(--dark); color:#fff; padding: 48px 0 100px; }
.footer__grid { display:grid; grid-template-columns: 1.2fr .9fr 1fr; gap: 34px; }
.footer h3 { font-size:18px; margin-bottom:10px; }
.footer p, .footer a { color:rgba(255,255,255,.76); }
.footer .phone-link { color:#fff; }
.footer__bottom { display:flex; justify-content:space-between; gap:20px; margin-top:34px; padding-top:20px; border-top:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.55); font-size:13px; }
.mobile-call { display:none; position:fixed; left:12px; right:12px; bottom:12px; z-index:60; }
.privacy-body { background:#fffdf9; }
.privacy { padding:60px 0; max-width:860px; }
.privacy h1 { color:var(--text); font-size:42px; }
.privacy p, .privacy li { color:var(--muted); }
@media (max-width: 1080px) {
  .nav { display:none; }
  .burger { display:block; }
  .menu-open .nav { display:flex; position:absolute; top:78px; left:0; right:0; flex-direction:column; align-items:flex-start; padding:20px; background:#fffdf9; border-bottom:1px solid var(--line); }
  .services__grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .footer__grid { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header__row { height:68px; }
  .logo__name { font-size:21px; }
  .header__actions .phone-link { display:none; }
  .header__actions .btn { display:none; }
  .hero { min-height:auto; }
  .hero::before { background-image: linear-gradient(180deg, rgba(18,13,9,.86), rgba(18,13,9,.72)), url('../img/hero-piter.jpg'); background-position:center; }
  .hero__content { padding:38px 0 78px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: clamp(33px, 10.8vw, 50px); }
  .hero__badges { grid-template-columns: 1fr; }
  .services { margin-top:-44px; }
  .services__grid, .portfolio, .price-grid, .steps, .faq { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr 116px; }
  .section { padding:64px 0; }
  .section__top { display:block; }
  .cta { grid-template-columns:1fr; padding:30px; }
  .contact-actions { justify-content:flex-start; }
  .footer { padding-bottom:100px; }
  .footer__bottom { display:block; }
  .mobile-call { display:block; }
}
@media (max-width: 420px) {
  .service-card { grid-template-columns:1fr; }
  .service-card img { width:100%; height:180px; }
  .hero__buttons .btn, .hero-contact__main, .contact-actions .btn { width:100%; }
  .hero-contact { padding:16px; border-radius:22px; margin:16px 0 18px; }
  .hero-contact__menu { grid-template-columns:1fr; }
  .hero-contact__icons { justify-content:center; gap:12px; margin-bottom:14px; }
  .contact-icon { width:50px; height:50px; }
  .hero-contact__main { min-height:56px; padding:0 16px; font-size:23px; }
  .hero-contact__secondary { min-height:48px; padding:0 16px; font-size:18px; }
  .hero__badges { gap:10px; margin-bottom:20px; }
  .badge__icon { width:36px; height:36px; flex-basis:36px; }

}

@media (max-width: 360px) {
  .hero-contact__main { font-size: 21px; }
  .hero-contact__secondary { font-size: 16px; }
  .contact-icon { width:46px; height:46px; }
}
