:root {
  --bg: #f6f0ea;
  --bg-soft: #fdfaf7;
  --panel: #ffffff;
  --panel-soft: #f3eadf;
  --text: #19130f;
  --muted: #5d514b;
  --line: rgba(26, 19, 15, 0.1);
  --orange: #ec8936;
  --orange-deep: #b95f22;
  --brown: #5d392a;
  --brown-soft: #b87f52;
  --gold: #dcb57a;
  --shadow: 0 24px 60px rgba(71, 39, 17, 0.12);
  --success: #1b7f5a;
  --danger: #b23f3f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #f5efe8 0%, #fbf8f5 100%);
  color: var(--text);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .38;
  background-image: radial-gradient(circle at 12% 8%, rgba(236,137,54,.16), transparent 30%), radial-gradient(circle at 90% 38%, rgba(93,57,42,.09), transparent 32%);
}
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, calc(100% - 32px));
  padding: 16px 18px;
  border: 1px solid rgba(26, 19, 15, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(42, 25, 14, 0.2);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .9rem; }
.cookie-banner .button { flex: 0 0 auto; min-height: 42px; padding: 10px 16px; }
@media (max-width: 600px) {
  .cookie-banner { right: 16px; bottom: 16px; align-items: stretch; flex-direction: column; gap: 12px; }
  .cookie-banner .button { width: 100%; }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
iframe { border: 0; width: 100%; height: 100%; }
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.container, .hero-inner, .split-block, .contact-grid, .service-card,
.feature-card, .process-grid article, .contact-card, .map-card,
.footer-inner, .footer-legal, .footer-meta { min-width: 0; }
.section { padding: 96px 0; }
.alt-section { background: rgba(255, 255, 255, 0.32); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 240, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(88, 46, 24, 0.2));
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  filter: drop-shadow(0 10px 18px rgba(88, 46, 24, 0.2));
}
.brand-mark-small { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.35rem; letter-spacing: -0.04em; }
.brand-text small { color: var(--muted); margin-top: 3px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 700;
}
.main-nav a:hover,
.footer-links a:hover,
.footer-meta a:hover,
.contact-item a:hover,
.header-phone:hover { color: var(--orange-deep); }
.maps-list { display: grid; gap: 18px; }
.maps-list .map-card { min-height: 270px; }
.maps-list .map-card h3 { margin: 0; padding: 16px 18px 0; font-size: 1rem; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 800; color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 14px;
  padding: 0 24px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #f2ab5a 100%);
  color: #fff;
  box-shadow: 0 18px 30px rgba(236, 137, 54, 0.28);
}
.button-secondary {
  border-color: rgba(25, 19, 15, 0.18);
  background: rgba(255,255,255,0.18);
  color: var(--text);
}

.section-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 88px);
  padding: clamp(54px, 8vw, 108px) 0;
  overflow: hidden;
  isolation: isolate;
}
.section-hero::before {
  content: "";
  position: absolute;
  inset: 7% -12% 7% 42%;
  z-index: -1;
  border-radius: 48% 0 0 48%;
  background: linear-gradient(120deg, rgba(246,240,234,0), rgba(236,137,54,.1));
  animation: heroGlow 10s ease-in-out infinite alternate;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(236, 137, 54, 0.12);
  color: var(--orange-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
}
.hero-copy h1,
.section-head h2,
.split-block h2,
.contact-card h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.hero-copy h1 { font-size: clamp(2.8rem, 4vw, 5rem); max-width: 620px; }
.hero-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.quick-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  padding: 0;
  margin: 32px 0 0;
  color: var(--text);
  font-weight: 700;
}
.hero-visual { display: flex; justify-content: center; }
.photo-card {
  position: relative;
  width: min(520px, 100%);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 19, 15, 0.06);
  transform: rotate(1.5deg);
  animation: heroFloat 8s ease-in-out infinite;
}
.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(0,0,0,0.02));
  pointer-events: none;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 560px;
}
@keyframes heroFloat {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-10px); }
}
@keyframes heroGlow {
  from { transform: translateX(0) scale(1); opacity: .7; }
  to { transform: translateX(-24px) scale(1.04); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-card, .section-hero::before { animation: none; }
}

.stats { padding: 14px 0 32px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stats-grid article,
.feature-card,
.review-card,
.process-grid article,
.contact-card,
.map-card,
.service-card,
.stats-plate {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 38px rgba(31, 17, 12, 0.04);
}
.stats-grid article { padding: 28px 18px; text-align: center; }
.stats-grid strong {
  display: block;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}
.stats-grid span { color: var(--muted); font-weight: 700; }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2,
.split-block h2,
.contact-card h2 { font-size: clamp(2.2rem, 3vw, 3rem); }

.features-grid,
.services-grid,
.process-grid,
.reviews-grid { display: grid; gap: 24px; }
.features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card { padding: 26px 22px; }
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(236,137,54,0.12), rgba(236,137,54,0.18));
}
.icon-box svg {
  width: 28px;
  height: 28px;
  fill: var(--orange-deep);
}
.feature-card h3,
.service-card h3,
.process-grid h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.feature-card p,
.service-card p,
.review-card p,
.process-grid p,
.contact-item p,
.lead-copy {
  margin: 0;
  color: var(--muted);
}

.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { overflow: hidden; }
.service-card { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(71,39,17,.14); }
.service-card-image { width: 100%; height: 280px; object-fit: cover; object-position: center; background: var(--panel-soft); }
.service-image-placeholder {
  display: grid;
  place-items: center;
  height: 250px;
  background:
    linear-gradient(135deg, rgba(236,137,54,.18), rgba(93,57,42,.16)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.32) 0 2px, transparent 2px 10px);
  color: var(--brown);
  font-weight: 800;
}
.service-card-body { padding: 22px 22px 18px; }
.service-price {
  display: inline-flex;
  margin-top: 4px;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(236,137,54,.12);
  color: var(--orange-deep);
  font-size: 1.12rem;
  font-weight: 900;
}
.service-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text);
  font-weight: 700;
}
.review-card, .gallery-card { overflow: hidden; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 18px 38px rgba(31,17,12,.04); }
.news-card img { width: 100%; height: 220px; object-fit: cover; }
.news-card-body { padding: 20px; }
.news-card time { color: var(--orange-deep); font-weight: 800; font-size: .85rem; }
.news-card h3 { margin: 6px 0; }
.news-card p { color: var(--muted); }
.lightbox-trigger { cursor: zoom-in; }
.lightbox-dialog { width: min(1000px, calc(100% - 24px)); padding: 18px; border: 0; border-radius: 20px; background: #19130f; }
.lightbox-dialog img { max-height: 80vh; width: 100%; object-fit: contain; }
.lightbox-dialog::backdrop { background: rgba(20, 12, 8, .78); }
.reviews-grid, .gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review-card img, .gallery-card img { width: 100%; height: 260px; object-fit: cover; }
.review-card-body, .gallery-card-body { padding: 20px; }
.review-card h3, .gallery-card h3 { margin: 0 0 8px; }
.gallery-card p, .review-card p { margin: 8px 0 0; color: var(--muted); }
.gallery-material { display: inline-flex; padding: 5px 9px; border-radius: 8px; background: rgba(236,137,54,.12); color: var(--orange-deep); font-weight: 800; font-size: .85rem; }
.details-dialog { width: min(620px, calc(100% - 28px)); border: 0; border-radius: 24px; padding: 32px; color: var(--text); box-shadow: 0 24px 80px rgba(31,17,12,.28); }
.media-empty-state { grid-column: 1 / -1; min-height: 170px; display: grid; place-content: center; text-align: center; padding: 28px; border: 1px dashed rgba(124, 77, 49, .28); border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(246,233,220,.72)); }
.media-empty-state h3 { margin: 0; color: var(--brown); }
.media-empty-state p { margin: 8px auto 0; max-width: 560px; color: var(--muted); }
.details-dialog::backdrop { background: rgba(35,20,12,.5); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; color: var(--muted); }
@media (max-width: 800px) { .reviews-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reviews-grid, .gallery-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }
.service-card li + li { margin-top: 8px; }

.process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid article { padding: 30px 22px; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(236,137,54,0.12);
  color: var(--orange-deep);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.split-block {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
}
.check-list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--text);
  font-weight: 700;
}
.check-list li + li { margin-top: 10px; }
.stats-plate {
  padding: 26px;
  display: grid;
  gap: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(246,233,220,0.85));
}
.mini-stat {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(26, 19, 15, 0.08);
}
.mini-stat strong {
  display: block;
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
}
.mini-stat span { color: var(--muted); font-weight: 700; }

.reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-card { padding: 24px 22px; }
.review-card strong {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-section { padding-bottom: 70px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}
.contact-card { padding: 30px 26px; }
.contact-list { display: grid; gap: 18px; margin-top: 26px; }
.contact-item { display: grid; gap: 6px; }
.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 800;
}
.contact-item a,
.contact-item p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(236,137,54,0.1);
  color: var(--orange-deep);
  border: 1px solid rgba(18, 14, 12, 0.06);
  font-weight: 800;
}
.social-link:hover { background: rgba(236,137,54,0.16); }
.map-card { min-height: 520px; overflow: hidden; }

.site-footer { padding: 18px 0 52px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-links,
.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}
.footer-meta { justify-content: flex-end; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: .86rem;
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(26, 19, 15, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 7px 16px rgba(31, 17, 12, .04);
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-legal a:hover,
.footer-contact a:hover { color: var(--orange-deep); }
.footer-legal a:hover {
  background: #fff;
  border-color: rgba(236, 137, 54, .4);
  transform: translateY(-1px);
}
.footer-contact {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: .86rem;
}
.footer-contact strong { color: var(--text); }
.footer-contact a { font-weight: 800; }
.developer-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(236,137,54,.22);
  border-radius: 10px;
  background: rgba(236,137,54,.08);
  color: var(--orange-deep);
  transition: background .2s ease, transform .2s ease;
}
.developer-link:hover { background: rgba(236,137,54,.16); transform: translateY(-1px); }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-inner,
  .split-block,
  .contact-grid,
  .services-grid,
  .features-grid,
  .process-grid,
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner,
  .split-block,
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid,
  .features-grid,
  .process-grid,
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 520px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; padding: 9px 0; gap: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark img { border-radius: 10px; }
  .brand-text strong { font-size: 1.05rem; white-space: nowrap; }
  .brand-text small { font-size: .75rem; }
  .header-actions { width: 100%; justify-content: space-between; gap: 8px; }
  .header-phone { min-width: 0; font-size: 0.82rem; white-space: nowrap; }
  .header-actions .button { width: auto; min-height: 40px; padding: 0 13px; border-radius: 10px; font-size: .8rem; }
  .section { padding: 54px 0; }
  .section-hero { padding-top: 38px; padding-bottom: 26px; }
  .eyebrow { margin-bottom: 11px; padding: 6px 10px; font-size: .66rem; }
  .hero-copy h1 { font-size: clamp(2.05rem, 11vw, 3.3rem); }
  .hero-copy p { margin-top: 14px; font-size: .95rem; }
  .hero-actions { gap: 9px; margin-top: 20px; }
  .hero-actions,
  .quick-badges,
  .footer-links,
  .footer-meta { flex-direction: column; align-items: flex-start; }
  .hero-actions .button { width: 100%; min-height: 46px; }
  .quick-badges { gap: 7px; margin-top: 20px; font-size: .82rem; }
  .quick-badges li { padding-left: 14px; }
  .photo-card { border-radius: 20px; }
  .photo-card img { min-height: 270px; max-height: 390px; }
  .stats { padding: 8px 0 18px; }
  .stats-grid { gap: 9px; }
  .stats-grid article { padding: 17px 10px; border-radius: 16px; }
  .stats-grid strong { font-size: 1.7rem; }
  .stats-grid span { font-size: .78rem; }
  .section-head { margin-bottom: 22px; }
  .section-head h2, .split-block h2, .contact-card h2 { font-size: clamp(1.75rem, 9vw, 2.45rem); }
  .features-grid, .services-grid, .process-grid { gap: 12px; }
  .feature-card { padding: 18px 16px; border-radius: 18px; }
  .icon-box { width: 42px; height: 42px; border-radius: 11px; }
  .icon-box svg { width: 20px; height: 20px; }
  .feature-card h3, .service-card h3, .process-grid h3 { margin: 13px 0 7px; font-size: 1.05rem; }
  .feature-card p, .service-card p, .process-grid p { font-size: .88rem; }
  .service-card { border-radius: 18px; }
  .service-card-image, .service-image-placeholder { height: 210px; }
  .service-card-body { padding: 16px 15px 15px; }
  .service-price { padding: 5px 8px; font-size: .95rem; border-radius: 8px; }
  .service-card ul { margin-top: 11px; padding-left: 16px; font-size: .84rem; }
  .service-card li + li { margin-top: 5px; }
  .process-grid article { padding: 19px 16px; border-radius: 18px; }
  .step-number { width: 42px; height: 42px; border-radius: 11px; font-size: .85rem; }
  .contact-section { padding-bottom: 44px; }
  .contact-card { padding: 20px 16px; border-radius: 18px; }
  .contact-list { gap: 13px; margin-top: 18px; }
  .contact-item a, .contact-item p { font-size: .92rem; overflow-wrap: anywhere; }
  .socials { gap: 8px; margin-top: 16px; }
  .social-link { width: 36px; height: 36px; border-radius: 9px; font-size: .8rem; }
  .map-card { min-height: 300px; border-radius: 18px; }
  .footer-inner { gap: 20px; padding-top: 18px; }
  .footer-links, .footer-meta { gap: 9px; width: 100%; font-size: .84rem; }
  .footer-legal { gap: 7px; width: 100%; }
  .footer-legal a { width: 100%; min-height: 36px; padding: 7px 10px; font-size: .78rem; }
  .footer-contact { width: 100%; font-size: .8rem; overflow-wrap: anywhere; }
  .developer-link { min-height: 32px; padding: 0 9px; font-size: .78rem; }
  .services-grid, .features-grid, .process-grid, .reviews-grid, .stats-grid { grid-template-columns: 1fr; }
}
