:root {
  --accent: #b89b63;
  --accent-dark: #8f7442;
  --accent-soft: #f7f1e6;
  --text: #252831;
  --muted: #6d7179;
  --white: #ffffff;
  --border: rgba(184, 155, 99, 0.24);
  --shadow: 0 18px 45px rgba(113, 86, 45, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

body:not(.home) main#top {
    padding-top: 92px;
}


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

.container {
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 155, 99, 0.14);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
body.logged-in header {
    margin-top: 32px;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 34px rgba(80, 62, 32, 0.12);
}

.header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: height 0.25s ease;
}

.site-header.is-scrolled .header-inner {
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
a.logo:hover,
a.logo:active,
a.logo:focus {
    color: #000;
    text-decoration: none;
    outline: none;
}

.logo-svg {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(143, 116, 66, 0.16));
}

.logo-title {
  display: block;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.logo-title span {
  color: var(--accent);
}

.logo-subtitle {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333844;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #343842;
}

.nav a {
  transition: color 0.2s ease;
}
nav a:hover, 
nav a:focus, 
nav a:active {
    color: var(--accent-dark);
    text-decoration: none;
    outline: none !important;
}

.nav a:hover {
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d7bd7a, var(--accent-dark));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(143, 116, 66, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.phone-btn:hover,
.phone-btn:focus,
.phone-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(143, 116, 66, 0.3);
  text-decoration: none;
  color: #fff;
  outline: none;
}
a.phone-btn svg {
  width: 20px;
}

.messenger {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent-dark);
  font-weight: 800;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.messenger:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 20px;
}
.phone_mobile{
  display: none;
}

/* Hero */
.hero {
  min-height: 100vh;
  padding-top: 92px;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 28%, rgba(255,255,255,0.62) 48%, rgba(255,255,255,0.12) 78%),
    url("../images/hero.jpeg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: linear-gradient(0deg, #fff, rgba(255,255,255,0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 28px 0 68px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(184, 155, 99, 0.18);
}

.hero h1 {
  margin: 32px 0 18px;
  font-size: clamp(42px, 5vw, 55px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero h1 span {
  color: var(--accent-dark);
  display: block;
}

.city {
  margin: 0 0 26px;
  font-size: clamp(22px, 1.8vw, 34px);
  font-weight: 800;
  color: #999d9f;
}

.lead {
  max-width: 690px;
  margin: 0;
  color: #41454e;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
  font-weight: 500;
}

.benefits {
  margin: 42px 0 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 720px;
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 55px rgba(78, 92, 65, 0.08);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.benefit {
  padding: 22px 20px;
  border-right: 1px solid rgba(184, 155, 99, 0.16);
}

.benefit:last-child {
  border-right: 0;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: var(--accent-dark);
}

.benefit p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -90%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s ease;
}

.btn:hover::before {
  left: 135%;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #d7bd7a, var(--accent-dark));
  color: #fff;
  box-shadow: 0 16px 32px rgba(143, 116, 66, 0.24);
  border-color: unset;
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(143, 116, 66, 0.32);
  border-color: unset;
  outline: none;
}
.btn-primary:focus, .btn-primary.focus,
.btn-primary:active {
    border-color: unset;
    outline: none;
    background: linear-gradient(135deg, #d7bd7a, var(--accent-dark));
    color: #fff;
}

.btn-outline {
  border: 2px solid var(--accent-dark);
  color: var(--text);
  background: rgba(255,255,255,0.78);
}

/* Services */
.services {
  position: relative;
  padding: 90px 0 90px;
  background:
    radial-gradient(circle at 3% 10%, rgba(143, 116, 66, 0.09), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(184, 155, 99, 0.12), transparent 26%),
    #fbf8f2;
  overflow: hidden;
}

.section-head {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 62px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}

.service-card {
  grid-column: span 2;
  min-height: 100%;
  padding: 12px 12px 26px;
  border: 1px solid rgba(143, 116, 66, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(113, 86, 45, 0.08);
  backdrop-filter: blur(10px);
  transform: translateY(28px);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.55s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card.wide {
  grid-column: span 3;
}

.service-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(143, 116, 66, 0.4);
  box-shadow:
    0 25px 60px rgba(113, 86, 45, 0.15),
    0 10px 25px rgba(113, 86, 45, 0.08);
}

.service-image {
  position: relative;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--accent-soft);
}

.service-card.wide .service-image {
  height: 260px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.055);
}

.service-icon {
  width: 74px;
  height: 74px;
  margin: -37px 0 14px 18px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 7px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8bd78, var(--accent-dark));
  color: #fff;
  box-shadow: 0 14px 28px rgba(143, 116, 66, 0.22);
}

.service-icon svg {
  width: 34px;
  height: 34px;
}

.service-body {
  padding: 0 18px;
}

.service-body h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-body ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: #555a63;
  font-size: 15px;
  line-height: 1.5;
}

.service-body li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
}

.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 800;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-link:hover {
  gap: 13px;
  color: #6d562d;
}

.section-placeholder {
  min-height: 500px;
  padding: 100px 0;
  background: #fff;
}

.section-placeholder h2 {
  font-size: 42px;
  margin: 0;
}

.portfolio{
  padding:90px 0;
  background:#fff;
}

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:50px;
}

.portfolio-item{
    display:block;
    overflow:hidden;
    border-radius:22px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.portfolio-item img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
    transition:.5s;
}

.portfolio-item:hover img{
    transform:scale(1.08);
}

.portfolio-btn{
    text-align:center;
    margin-top:40px;
}


.portfolio-item{
    position:relative;
    overflow:hidden;
}

.portfolio-item::after{
    content:"+";
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:60px;
    color:#fff;
    background:rgba(0,0,0,.35);
    opacity:0;
    transition:.3s;
}

.portfolio-item:hover::after{
    opacity:1;
}

.portfolio-item img{
    transition:.5s;
}

.portfolio-item:hover img{
    transform:scale(1.08);
}

.reviews{
    padding:90px 0;
    background:#fbf8f2;
}

.yandex-reviews {
  background: #fbf8f2;
}

.yandex-reviews-box {
  max-width: 960px;
  margin: 50px auto 0;
  padding: 24px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(113,86,45,.08);
  overflow: hidden;
}
.yandex-reviews-box-container{
  width:700px;
  max-width: 100%;
  height:800px;
  overflow:hidden;
  position:relative;
  margin: 0 auto;
}

.work-process {
  padding: 90px 0;
  background: #fff;
}

.process-timeline {
  max-width: 980px;
  margin: 55px auto 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184,155,99,.5), transparent);
}

.process-step {
  position: relative;
  z-index: 2;
  padding: 34px 24px;
  background: #fbf8f2;
  border: 1px solid rgba(184,155,99,.2);
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(113,86,45,.08);
  text-align: center;
}

.process-number {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #d7bd7a, #8f7442);
  box-shadow: 0 12px 26px rgba(143,116,66,.25);
}

.process-step h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.process-step p {
  margin: 0;
  color: #555a63;
  font-size: 15px;
  line-height: 1.6;
}

.info-block {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 55px;
  align-items: center;
  margin-top: 70px;
}

.info-block.reverse {
  grid-template-columns: 1.15fr 1fr;
}

.info-block.reverse .info-content {
  order: 2;
}

.info-block.reverse .info-image {
  order: 1;
}

.info-content h2 {
  margin: 0 0 22px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.info-content p {
  margin: 0 0 30px;
  color: #4f545d;
  font-size: 18px;
  line-height: 1.75;
}

.section-kicker.small {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.section-kicker.small::before {
  display: none;
}

.info-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(113,86,45,.13);
}

.info-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}

.info-image:hover img {
  transform: scale(1.055);
}

/*calc*/
.calc-section {
  padding: 90px 0;
  background: #fbf8f2;
}

.calc-box {
  max-width: 1280px;
  margin: 50px auto 0;
  padding: 36px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid rgba(184,155,99,.22);
  box-shadow: 0 24px 70px rgba(113,86,45,.1);
}

.calc-progress {
  text-align: center;
  margin-bottom: 24px;
  font-size: 17px;
  font-weight: 600;
}

.calc-progress div {
  height: 8px;
  margin-top: 14px;
  border-radius: 50px;
  background: #f1eadf;
  overflow: hidden;
}

.calc-progress i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #d7bd7a, var(--accent-dark));
  transition: width .3s ease;
}

.calc-step {
  display: none;
}

.calc-step.active {
  display: block;
  animation: calcFade .35s ease;
}

.calc-step h3 {
    margin: 0 0 50px;
    padding: 19px 30px;
    border-radius: 22px;
    background: #c9af6f;
    font-size: clamp(28px, 4vw, 28px);
    line-height: 1.15;
    text-align: center;
    letter-spacing: -0.04em;
}

.calc-options {
  display: grid;
  gap: 34px;
}

.calc-options-4 {
  grid-template-columns: repeat(4, 1fr);
}

.calc-options-3 {
  max-width: 760px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}

.calc-option {
  cursor: pointer;
  display: grid;
  gap: 16px;
  text-align: center;
}

.calc-option input,
.calc-list input {
  display: none;
}

.calc-option img {
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid transparent;
  box-shadow: 0 16px 40px rgba(113,86,45,.08);
  transition: .25s ease;
}

.calc-option > span:last-child,
.calc-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 20px;
  border-radius: 16px;
  background: #fbf8f2;
  font-size: 20px;
  font-weight: 600;
  transition: .25s ease;
}

.calc-option input:checked ~ img {
  border-color: var(--accent-dark);
  transform: translateY(-4px);
}

.calc-option input:checked ~ span:last-child,
.calc-list input:checked + span {
  background: linear-gradient(135deg, #d7bd7a, var(--accent-dark));
  color: #fff;
  box-shadow: 0 16px 34px rgba(143,116,66,.22);
}

.calc-icon {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(184,155,99,.2);
  background: #fff;
}

.calc-big-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  font-size: 58px !important;
  color: var(--accent-dark);
}

.calc-list {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 32px;
  margin: 40px 0 80px;
}

.calc-list label {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.calc-list label::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(143,116,66,.4);
  background: #eef2e8;
}

.calc-list label:has(input:checked)::before {
  background: var(--accent-dark);
  box-shadow: inset 0 0 0 6px #eef2e8;
}

.calc-phone {
  display: block;
  max-width: 820px;
  margin: 55px auto 0;
  text-align: center;
}

.calc-phone span {
  display: block;
  margin-bottom: 18px;
  font-size: 34px;
  font-weight: 800;
}

.calc-phone input {
  width: 100%;
  padding: 18px 22px;
  border: 1px solid rgba(184,155,99,.25);
  border-radius: 16px;
  background: #fbf8f2;
  font: inherit;
  font-size: 18px;
}

.calc-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 60px;
}

#calcSubmit {
  display: none;
}
#calculator input.wpcf7-form-control.wpcf7-submit{
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  background: linear-gradient(135deg, #d7bd7a, var(--accent-dark));
  color: #fff;
  box-shadow: 0 16px 32px rgba(143, 116, 66, 0.24);
  width: 300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
#calculator input.wpcf7-form-control.wpcf7-tel {
    width: 300px;
    max-width: 100%;
    display: block;
    margin: 30px auto;
}

@keyframes calcFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


.max-button{position: fixed;right: 35px;bottom: 35px;border-radius: 50%;width: 64px;height: 64px;z-index: 9999;display: flex;align-items: center;justify-content: center;box-shadow: 0px 0px 11px rgb(68 204 255);}
.max-button:before,
.max-button:after {content: " ";display: block;position: absolute;border: 50%;border: 1px solid #742fd3;left: -20px;right: -20px;top: -20px;bottom: -20px;border-radius: 50%;animation: animate 1.5s linear infinite;opacity: 0;backface-visibility: hidden; }
.max-button:after{animation-delay: .5s;}


.whatsapp-button{position: fixed;right: 35px;bottom: 100px;background: #25D366;border-radius: 50%;width: 65px;height: 65px;z-index: 9999;display: flex;align-items: center;justify-content: center;box-shadow: 0px 0px 11px rgb(37 211 102);}
.whatsapp-button:before,
.whatsapp-button:after {content: " ";display: block;position: absolute;border: 50%;border: 1px solid #25D366;left: -20px;right: -20px;top: -20px;bottom: -20px;border-radius: 50%;animation: animate 1.5s linear infinite;opacity: 0;backface-visibility: hidden; }
.whatsapp-button:after{animation-delay: .5s;}

.telegram-button{
  position: fixed;
  right: 35px;
  bottom: 125px;
  background: #fff;border-radius: 50%;width: 64px;height: 64px;
  z-index: 9999;display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 11px #08c;
}
.telegram-button:before,
.telegram-button:after {content: " ";display: block;position: absolute;border: 50%;
  border: 1px solid #08c;
  left: -20px;right: -20px;top: -20px;bottom: -20px;border-radius: 50%;animation: animate 1.5s linear infinite;opacity: 0;backface-visibility: hidden; }
.telegram-button:after{animation-delay: .5s;}
.telegram-button img{
  width: 65px;
  height: 65px;
}
@keyframes animate{0%{transform: scale(0.5);opacity: 0;}50%{opacity: 1;}100%{transform: scale(1.2);opacity: 0;}}


#calcNext {
  display: none !important;
}

.scroll-top {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--accent-dark),
        #d7bd7a
    );
    color: #fff;
    cursor: pointer;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 12px 30px rgba(143,116,66,.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: .3s ease;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(143,116,66,.35);
}

.scroll-top svg {
    transition: .3s ease;
}

.scroll-top:hover svg {
    transform: translateY(-2px);
}


.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: .3s ease;
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-content {
    max-width: 700px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 18px 24px;

    background: rgba(255,255,255,.96);
    backdrop-filter: blur(15px);

    border: 1px solid rgba(184,155,99,.15);
    border-radius: 18px;

    box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.cookie-content a {
    font-weight: bold;
    border-bottom: 1px solid;
}
.cookie-content a:hover{
  text-decoration: none;
  color: var(--accent);
}
.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-content .btn {
    flex-shrink: 0;
}

.acceptance {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.acceptance .wpcf7-list-item {
    margin: 0;
}

.acceptance input[type="checkbox"] {
    margin-right: 10px;
}

.acceptance a {
    color: var(--accent-dark);
    text-decoration: underline;
}

.acceptance a:hover {
    opacity: .8;
}
acceptance.optional label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1.2;
}
span.wpcf7-form-control.wpcf7-acceptance.optional input {
    width: 15px;
    height: 15px;
    margin: 0 3px 0 0;
    position: relative;
    top: 4px;
}
span.wpcf7-list-item-label {
    font-size: 12px;
}
.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus {
    border-color: #122b40;
    outline: none;
    border-color: unset;
}

.error-page {
  min-height: 75vh;
  padding: 30px 0 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(184,155,99,.13), transparent 30%),
    #fbf8f2;
  display: flex;
  align-items: center;
}

.error-page__inner {
  text-align: center;
}

.error-page__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 55px 35px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid rgba(184,155,99,.2);
  box-shadow: 0 24px 70px rgba(113,86,45,.1);
}

.error-page h1 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.error-page p {
  max-width: 520px;
  margin: 0 auto 32px;
  color: #555a63;
  font-size: 18px;
  line-height: 1.7;
}

@media(max-width:768px){

    .cookie-content{
        flex-direction: column;
        text-align:center;
    }

    .cookie-content .btn{
        width:100%;
    }

}
@media (max-width: 768px) {
    .scroll-top {
        width: 52px;
        height: 52px;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 1000px) {
  .calc-options-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .calc-section {
    padding: 0 0 80px 0;
  }

  .calc-box {
    padding: 20px;
  }

  .calc-options-4, .calc-options-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .calc-option{
    width: calc(50% - 10px);
    display: flex;
    flex-wrap: wrap;
  }
  label.calc-option span {
      width: 100%;
  }
  .calc-option > span:last-child, .calc-list span{
        font-size: 15px;
  }
  .calc-options.calc-options-3{
    gap: 10px;
  }
  label.calc-option.calc-icon {
    width: calc(33.3333334% - 7px);
    padding: 5px;
    gap: 0;

  }
  label.calc-option.calc-icon img {
    width: 50%;
  }
  label.calc-option.calc-icon span{
    background: transparent;
  }

  .calc-step h3 {
    margin-bottom: 30px;
    font-size: 20px;
  }

  .calc-actions {
    flex-direction: column;
  }

  .calc-actions .btn {
    width: 100%;
  }
  .calc-big-icon{
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 1000px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    display: none;
  }

  .info-block,
  .info-block.reverse {
    grid-template-columns: 1fr;
  }

  .info-block.reverse .info-content,
  .info-block.reverse .info-image {
    order: initial;
  }
}

@media (max-width: 600px) {
  .work-process {
    padding: 75px 0;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }

  .info-block {
    gap: 28px;
    margin-top: 45px;
  }

  .info-image img {
    height: 280px;
  }
}

.materials{
    padding: 90px 0;
    background:#fbf8f2;
}

/* ----------------- */
/* Слайдер брендов */
/* ----------------- */

.stone-showcase{
    max-width:1100px;
    margin:50px auto 90px;
    padding:30px;
    border-radius:34px;
    background:#fff;
    border:1px solid rgba(184,155,99,.18);
    box-shadow:0 20px 60px rgba(113,86,45,.08);
}

.stone-slide{
    display:none;
}

.stone-slide.active{
    display:block;
    animation:fadeSlide .4s ease;
}

.stone-slide img{
    width:100%;
    display:block;
    border-radius:24px;
}

.stone-slide h3{
    text-align:center;
    margin:25px 0 0;
    font-size:34px;
    font-weight:800;
}

.stone-dots{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:25px;
}

.stone-dots button{
    width:12px;
    height:12px;
    border:none;
    border-radius:50%;
    background:#d5d5d5;
    cursor:pointer;
}

.stone-dots button.active{
    background:var(--accent);
}

/* ----------------- */
/* Комплектации */
/* ----------------- */

.elements{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:start;
}

.elements-left h2{
    margin:0 0 20px;
    font-size:clamp(34px,4vw,54px);
    line-height:1.1;
}

.elements-left > p{
    margin:0 0 35px;
    color:#555;
    line-height:1.8;
    font-size:18px;
}

.element-card{
    display:flex;
    gap:22px;
    align-items:flex-start;
    padding:24px;
    margin-bottom:18px;
    border-radius:24px;
    background:#fff;
    border:1px solid rgba(184,155,99,.18);
    box-shadow:0 15px 40px rgba(113,86,45,.06);
}

.element-icon{
    width:70px;
    height:70px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:linear-gradient(
        135deg,
        #d7bd7a,
        #8f7442
    );
    color:#fff;
    font-size:30px;
    font-weight:700;
}

.element-card h3{
    margin:0 0 8px;
    font-size:22px;
}

.element-card p{
    margin:0;
    color:#666;
    line-height:1.6;
}

/* ----------------- */
/* Раковины */
/* ----------------- */

.elements-right{
    display:grid;
    gap:24px;
}

.sink-card{
    overflow:hidden;
    border-radius:28px;
    background:#fff;
    border:1px solid rgba(184,155,99,.18);
    box-shadow:0 18px 50px rgba(113,86,45,.08);
}

.sink-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.sink-content{
    padding:24px;
}

.sink-content h3{
    margin:0 0 10px;
    font-size:24px;
}

.sink-content p{
    margin:0;
    color:#666;
    line-height:1.6;
}

/* ----------------- */

@keyframes fadeSlide{

    from{
        opacity:0;
        transform:translateY(10px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

@media(max-width:900px){

    .elements{
        grid-template-columns:1fr;
        gap:35px;
    }

}

@media(max-width:600px){

    .materials{
        padding:80px 0;
    }

    .stone-showcase{
        padding:15px;
    }

    .sink-card img{
        height:220px;
    }

}

.prices {
  padding: 90px 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(184,155,99,.1), transparent 28%),
    #fff;
}

.price-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin: 55px 0 70px;
}

.price-info > div {
  padding: 30px;
  border-radius: 26px;
  background: #fbf8f2;
  border: 1px solid rgba(184,155,99,.18);
  box-shadow: 0 15px 42px rgba(113,86,45,.06);
}

.price-info h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.price-info p {
  margin: 0;
  color: #555a63;
  line-height: 1.7;
}

.price-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: start;
}

.price-card {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(184,155,99,.2);
  box-shadow: 0 20px 60px rgba(113,86,45,.09);
}

.price-card-head {
  padding: 30px 32px;
  background: linear-gradient(135deg, #f7f1e6, #fff);
  border-bottom: 1px solid rgba(184,155,99,.16);
}

.price-card-head span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.price-card-head h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.price-card table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.price-card th {
  padding: 18px 20px;
  text-align: left;
  background: var(--accent-dark);
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.price-card td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(184,155,99,.16);
  color: #333842;
  line-height: 1.6;
  vertical-align: top;
}

.price-card tr:nth-child(even) td {
  background: #fbf8f2;
}

.price-value {
  color: var(--accent-dark) !important;
  font-weight: 800;
  white-space: nowrap;
}

.price-note {
  max-width: 520px;
  margin: 26px auto 18px;
  padding: 0 24px;
  color: #555a63;
  text-align: center;
  line-height: 1.55;
}

.price-btn {
  margin: 0 auto 32px;
  width: fit-content;
  display: flex;
}

@media (max-width: 1000px) {
  .price-grid,
  .price-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .prices {
    padding: 80px 0;
  }

  .price-info {
    margin: 35px 0 45px;
  }

  .price-card-head {
    padding: 24px;
  }

  .price-card th,
  .price-card td {
    padding: 14px;
  }
}

.contact-faq {
  padding: 115px 0 0;
  background: #fbf8f2;
}

.contact-box {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 45px;
  padding: 45px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid rgba(184,155,99,.2);
  box-shadow: 0 22px 60px rgba(113,86,45,.09);
}

.contact-content h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
}

.contact-content p {
  margin: 0;
  color: #555a63;
  font-size: 18px;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid rgba(184,155,99,.3);
  border-radius: 16px;
  padding: 16px 18px;
  font: inherit;
  background: #fbf8f2;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  background: #fff;
}

.file-field {
  padding: 22px;
  border: 1px dashed rgba(143,116,66,.45);
  border-radius: 18px;
  background: #fbf8f2;
  text-align: center;
  cursor: pointer;
}

.file-field input {
  display: none;
}

.contact-form .btn {
  margin-top: 22px;
}
.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-submit {
  border: 0;
  cursor: pointer;
  margin-top: 22px;
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.wpcf7-response-output {
  margin: 20px 0 0 !important;
  border-radius: 14px;
  padding: 14px 18px !important;
}
textarea.wpcf7-form-control.wpcf7-textarea {
    height: 120px;
    resize: none;
}

.contact-form .form-grid > p {
  margin: 0;
}

.contact-form .form-grid p:has(label.full) {
  grid-column: 1 / -1;
}

.contact-form label.full {
  grid-column: auto;
}

.contact-form br {
  display: none;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
}

.contact-form textarea {
  height: 150px;
}

.contact-form .file-field {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form .file-field .wpcf7-form-control-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.contact-form .file-field {
  position: relative;
}

.contact-form .file-field span:last-child {
  position: relative;
  z-index: 2;
}

.contact-form .wpcf7-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-form .wpcf7-submit:focus,
.contact-form .wpcf7-submit:active {
    background: linear-gradient(135deg, #d7bd7a, var(--accent-dark));
    color: #fff;
    outline: none;
}


.wpcf7-form .wpcf7-acceptance label {
  position: relative;
  cursor: pointer;
  display: flex;

}

.wpcf7-form .wpcf7-acceptance input[type=checkbox] {
  position: relative;
  visibility: hidden;
  width: 0;
  margin: 0;
}

.wpcf7-form .wpcf7-acceptance label .wpcf7-list-item-label {
  padding-left: 25px;
}

.wpcf7-form .wpcf7-acceptance input[type=checkbox] + span {
/*   border: 3px solid red;  */
}

.wpcf7-form .wpcf7-acceptance input[type=checkbox] + span:before {
  display: block;
  position: absolute;
  content: '';
  border-radius: 5px;
  height: 18px;
  width: 18px;
  top: 0px;
  left: 0;
  border: 2px solid #222;
}

.wpcf7-form .wpcf7-acceptance input[type=checkbox] + span:after {
    display: block;
    position: absolute;
    content: '\2713';
    border-radius: 100%;
    height: 10px;
    width: 10px;
    top: 4px;
    left: 5px;
    visibility: hidden;
    font-size: 13px;
    transform: translateY(-50%);
    color: #8f7442;
}

.wpcf7-form .wpcf7-acceptance input[type=checkbox]:checked + span:before {
    background: transparent;
    border-color: #8f7442;
}

.wpcf7-form .wpcf7-acceptance input[type=checkbox]:checked + span:after {
/*    background: #222; */
   visibility: visible;
}



.faq {
  padding: 115px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 55px;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(184,155,99,.18);
  box-shadow: 0 14px 36px rgba(113,86,45,.06);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  padding: 22px 26px;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
}

.faq-item button::before {
  content: "+";
  margin-right: 12px;
  color: var(--accent-dark);
}

.faq-item.active button::before {
  content: "−";
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 26px 24px 52px;
  color: #555a63;
  line-height: 1.65;
}

.faq-item.active p {
  display: block;
}

.faq-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(113,86,45,.13);
}

.faq-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .contact-box,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-faq {
    padding-top: 75px;
  }

  .contact-box {
    padding: 24px;
  }

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

  .faq {
    padding: 75px 0;
  }

  .faq-image img {
    height: 280px;
  }
}




.site-footer {
  padding: 110px 0 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.35), transparent 25%),    linear-gradient(135deg, #d7bd7a, var(--accent-dark));
  color: #fff;
  background: var(--accent-dark)
}

.footer-box {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: stretch;
}

.footer-info {
  padding: 44px;
  border-radius: 34px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}

.footer-logo .logo-svg {
  color: #fff;
}

.footer-logo strong {
  display: block;
  font-size: 24px;
  text-transform: uppercase;
}

.footer-logo span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  opacity: .8;
  text-transform: uppercase;
}

.footer-info h2 {
  margin: 0 0 30px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.footer-contacts {
  display: grid;
  gap: 22px;
  font-size: 20px;
  line-height: 1.55;
}

.footer-contacts a,
.footer-contacts div {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  outline: none;
  text-decoration: none;
  -webkit-transition: linear 0.3s all;
  -moz-transition: linear 0.3s all;
  -ms-transition: linear 0.3s all;
  -o-transition: linear 0.3s all;
  transition: linear 0.3s all;
}

.footer-contacts svg {
  width: 32px;
  height: auto;
  flex-shrink: 0;
  font-size: 24px;
  /* color: #fff; */
}

.footer-contacts a:hover {
  color: #fff;
}
.footer-contacts a span {
  position: relative;
  display: inline-flex;
}
.footer-contacts a span:before {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 0;
  height: 1px;
  background-color: #fff;
  -webkit-transition: linear 0.3s all;
  -moz-transition: linear 0.3s all;
  -ms-transition: linear 0.3s all;
  -o-transition: linear 0.3s all;
  transition: linear 0.3s all;
}
.footer-contacts a:hover span:before {
  width: 100%;
}

.footer-contacts > *:not(:first-child) svg path {
  fill: currentColor;
}
.footer-contacts > a:is(:first-child) svg path {
  stroke: currentColor;
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.footer-socials a {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #7f9369;
  background: #fff;
  font-weight: 800;
  transition: .25s ease;
}

.footer-socials a:hover {
  transform: translateY(-4px);
  background: var(--accent);
  color: #fff;
}

.footer-map {
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(55,70,42,.25);
  border: 8px solid rgba(255,255,255,.35);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-box {
    grid-template-columns: 1fr;
  }

  .footer-map {
    min-height: 380px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 75px 0 28px;
  }

  .footer-info {
    padding: 26px;
  }

  .footer-contacts {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

    @media (max-width: 1100px) {
      .nav {
        display: none;
      }

      .burger {
        display: block;
      }
      .phone_mobile{
        display: flex;
        justify-content: center;
        justify-content: center;
      }
      a.phone_mobile svg {
        width: 32px;
        height: 32px;
        margin-right: 10px;
      }

      .mobile-open .nav {
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        display: grid;
        gap: 0;
        padding: 14px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow: var(--shadow);
      }

      .mobile-open .nav a {
        padding: 16px;
      }

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

      .service-card,
      .service-card.wide {
        grid-column: auto;
      }
    }

    @media (max-width: 760px) {
      .container {
        width: min(100% - 24px, 1320px);
      }

      .header-inner,
      .site-header.is-scrolled .header-inner {
        height: 72px;
      }

      .logo-svg {
        width: 40px;
        height: 40px;
      }

      .logo-title {
        font-size: 18px;
      }

      .logo-subtitle {
        font-size: 9px;
      }

      .phone-btn,
      .messenger {
        display: none;
      }

      .hero {
        padding-top: 72px;
        background:
          linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 48%, rgba(255,255,255,0.72) 100%),
          url("../images/hero.jpeg") center / cover no-repeat;
      }

      .hero-inner {
        min-height: calc(100vh - 72px);
        padding: 50px 0 70px;
      }

      .benefits {
        grid-template-columns: 1fr 1fr;
      }

      .benefit:nth-child(2) {
        border-right: 0;
      }

      .benefit:nth-child(1),
      .benefit:nth-child(2) {
        border-bottom: 1px solid rgba(184, 155, 99, 0.16);
      }

      .btn {
        width: 100%;
      }

      .services {
        padding: 72px 0 80px;
      }

      .section-head {
        margin-bottom: 30px;
      }

      .section-kicker::before,
      .section-kicker::after {
        width: 32px;
      }

      .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .service-card,
      .service-card.wide {
        grid-column: auto;
      }

      .service-image,
      .service-card.wide .service-image {
        height: 220px;
      }
    }

/* =========================================================
   Safe responsive corrections
   Добавлено в конец, чтобы не удалять и не переписывать исходный CSS
   ========================================================= */

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font-family: inherit;
}

/* Поддержка случая, если класс mobile-open ставится на header или body */
.site-header.mobile-open .nav,
body.mobile-open .site-header .nav {
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  display: grid;
  gap: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.site-header.mobile-open .nav a,
body.mobile-open .site-header .nav a {
  padding: 16px;
}



/* Адаптация портфолио и отзывов */
@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-slider {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .portfolio {
    padding: 75px 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .portfolio-item img {
    height: 240px;
  }

  .reviews {
    padding: 75px 0;
  }

  .reviews-slider {
    margin-top: 36px;
  }

  .review-card {
    padding: 26px;
    border-radius: 24px;
  }

  .review-card p {
    font-size: 16px;
  }
}

/* Мягкая адаптация блока материалов */
@media (max-width: 760px) {
  .stone-showcase {
    margin: 35px auto 60px;
    border-radius: 26px;
  }

  .stone-slide img {
    border-radius: 18px;
  }

  .stone-slide h3 {
    font-size: 26px;
  }

  .element-card {
    gap: 16px;
    padding: 20px;
  }

  .element-icon {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }
}

/* Очень узкие экраны */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 38px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .benefit,
  .benefit:nth-child(2) {
    border-right: 0;
  }

  .benefit:nth-child(3) {
    border-bottom: 1px solid rgba(184, 155, 99, 0.16);
  }

  .service-body h3,
  .element-card h3,
  .sink-content h3 {
    font-size: 20px;
  }

  .review-header {
    align-items: flex-start;
  }

  .footer-contacts a,
  .footer-contacts div {
    gap: 12px;
  }
}
/* Единое выравнивание хедера на всех страницах */

@media (min-width:1101px){
  .site-header .nav{
    display:flex !important;
    flex-wrap:nowrap;
    justify-content:flex-start !important;
    gap:28px !important;
    white-space:nowrap;
  }
}

@media (max-width:1100px){
  .site-header .burger{
    display:block !important;
    flex:0 0 46px;
  }
}

@media (max-width:760px){
  .site-header .header-inner,
  .site-header.is-scrolled .header-inner{
    justify-content:flex-start !important;
    gap:10px !important;
    min-width:0 !important;
    width:100% !important;
  }

  .site-header .logo{
    margin-right:auto !important;
    min-width:0 !important;
    flex:1 1 auto;
  }

  .site-header .phone_mobile{
    display:flex !important;
    flex:0 0 32px !important;
    width:32px !important;
    min-width:32px !important;
    margin:0 !important;
  }

  .site-header .phone_mobile svg{
    width:28px !important;
    height:28px !important;
    margin:0 !important;
  }

  .site-header .burger{
    display:block !important;
    flex:0 0 46px !important;
    width:46px !important;
    min-width:46px !important;
    margin:0 !important;
  }
}
/* Общие плавающие кнопки */
.float-social{
  position:fixed;
  right:18px;
  bottom:22px;
  z-index:9999;
  display:grid;
  gap:10px;
}

.float-social a{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 32px rgba(0,0,0,.14);
}

.float-social img{
  width:28px;
  height:28px;
  object-fit:contain;
}

.landing-scroll-top{
  position:fixed;
  left:18px;
  bottom:20px;
  z-index:80;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  padding:0;
  border:0 !important;
  border-radius:50%;
  outline:none !important;
  appearance:none;
  -webkit-appearance:none;
  background:linear-gradient(135deg,#d7bd7a,#8f7442) !important;
  color:#fff !important;
  box-shadow:0 10px 24px rgba(80,60,25,.32);
  font-family:inherit;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(6px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}

.landing-scroll-top.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

@media(max-width:760px){
  .float-social{
    right:10px;
    bottom:16px;
  }

  .landing-scroll-top{
    left:18px;
    bottom:20px;
  }

  body.home .float-social{
    bottom:92px;
  }

  body.home .landing-scroll-top{
    bottom:96px;
  }
}
