/* ==========================================================================
   УК «Экожилсервис» — design system
   DNA: eco-green leaf + water-blue wave + glass-cyan windows (from logo)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Golos+Text:wght@400;500;600&display=swap');

:root {
  /* Brand — sampled from logo */
  --lime: #8DC63F;
  --green: #34A853;
  --green-d: #1E7A48;
  --cyan: #45C4E6;
  --blue: #2A86C9;
  --blue-d: #1665AD;
  --navy: #103A6B;

  /* Neutrals */
  --ink: #16313F;
  /* primary text */
  --body: #415763;
  /* secondary text */
  --muted: #7B919D;
  /* tertiary */
  --line: #E3EDF3;
  --line-2: #D2E0E9;
  --bg: #F2F7FA;
  --bg-2: #E9F2F7;
  --surface: #FFFFFF;

  /* Brand gradients */
  --grad-brand: linear-gradient(120deg, var(--green) 0%, var(--cyan) 50%, var(--blue) 100%);
  --grad-eco: linear-gradient(120deg, var(--lime) 0%, var(--green) 100%);
  --grad-water: linear-gradient(135deg, var(--cyan) 0%, var(--blue-d) 100%);
  --grad-deep: linear-gradient(150deg, #15528F 0%, var(--navy) 70%, #0C2A50 100%);

  --shadow-sm: 0 2px 8px rgba(16, 58, 107, .06);
  --shadow: 0 10px 30px rgba(16, 58, 107, .10);
  --shadow-lg: 0 24px 60px rgba(16, 58, 107, .16);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --maxw: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Golos Text", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.01em;
}

p {
  margin: 0;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope";
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-d);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-eco);
}

.section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  margin-top: 12px;
  max-width: 18ch;
}

.section-head p {
  color: var(--body);
  max-width: 46ch;
}

.lead {
  font-size: 19px;
  color: var(--body);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Manrope";
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: .18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--grad-water);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 101, 173, .30);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(22, 101, 173, .38);
}

.btn-eco {
  background: var(--grad-eco);
  color: #fff;
  box-shadow: 0 8px 20px rgba(52, 168, 83, .28);
}

.btn-eco:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--blue-d);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}

.btn-ghost:hover {
  color: var(--blue-d);
  box-shadow: inset 0 0 0 1.5px var(--blue), var(--shadow-sm);
}

.btn-light {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4);
  backdrop-filter: blur(6px);
}

.btn-light:hover {
  background: rgba(255, 255, 255, .26);
}

.btn-lg {
  padding: 17px 34px;
  font-size: 16px;
}

.form button,
.form-button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--grad-water);
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: .18s ease;
  box-shadow: 0 8px 20px rgba(22, 101, 173, .30);
  white-space: nowrap;
}

.form button:hover,
.form-button:hover,
input[type="submit"]:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(22, 101, 173, .38);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope";
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-d);
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: .18s;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: #dCe8f3;
  font-size: 13.5px;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
}

.topbar a {
  color: #dCe8f3;
  opacity: .9;
}

.topbar a:hover {
  opacity: 1;
  color: #fff;
}

.topbar .tb-left {
  display: flex;
  gap: 26px;
  align-items: center;
}

.topbar .tb-right {
  display: flex;
  gap: 22px;
  align-items: center;
}

.topbar .tb-item {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.topbar svg {
  width: 14px;
  height: 14px;
  opacity: .8;
}

.tb-phone {
  font-family: "Manrope";
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand-name {
  font-family: "Manrope";
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
  letter-spacing: .01em;
}

.brand-name b {
  background: var(--grad-eco);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-name span {
  color: var(--ink);
}

.brand-sub {
  display: block;
  font-family: "Golos Text";
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
  margin-top: 3px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav a {
  font-family: "Manrope";
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  transition: .15s;
}

.nav a:hover {
  background: var(--bg-2);
  color: var(--blue-d);
}

.nav a.active {
  color: var(--blue-d);
  background: var(--bg-2);
}

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

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
}

.hero-slider {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.on {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 42, 80, .86) 0%, rgba(16, 58, 107, .55) 45%, rgba(16, 58, 107, .10) 100%);
}

.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
}

.hero-inner .wrap {
  width: 100%;
}

.hero-copy {
  max-width: 640px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: "Manrope";
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .02em;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(141, 198, 63, .3);
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  margin: 22px 0 18px;
  letter-spacing: -.02em;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--lime), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  font-size: 19px;
  color: rgba(255, 255, 255, .9);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-nav {
  position: absolute;
  z-index: 4;
  bottom: 30px;
  right: 0;
  display: flex;
  gap: 10px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}

.hero-dots button {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: .2s;
  padding: 0;
}

.hero-dots button.on {
  background: #fff;
  width: 48px;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .18s;
}

.arrow-btn:hover {
  background: rgba(255, 255, 255, .26);
}

.arrow-btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- Quick actions (overlap hero) ---------- */
.quick {
  position: relative;
  z-index: 5;
  margin-top: -58px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.quick-ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.quick-ic svg {
  width: 26px;
  height: 26px;
}

.quick-ic.g {
  background: var(--grad-eco);
}

.quick-ic.b {
  background: var(--grad-water);
}

.quick-ic.c {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.quick-ic.n {
  background: var(--grad-deep);
}

.quick-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.quick-card p {
  font-size: 14.5px;
  color: var(--body);
}

.quick-card .qa {
  margin-top: auto;
  font-family: "Manrope";
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-d);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.quick-card:hover .qa svg {
  transform: translateX(3px);
}

.quick-card .qa svg {
  width: 16px;
  height: 16px;
  transition: .15s;
}

/* ---------- Cards: objects ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: .22s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--green-d);
  font-family: "Manrope";
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.card-tag.b {
  color: var(--blue-d);
}

.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-body h3 {
  font-size: 20px;
  font-weight: 700;
}

.obj-addr {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--body);
  font-size: 15px;
}

.obj-addr svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}

.obj-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.chip {
  font-family: "Manrope";
  font-weight: 600;
  font-size: 12.5px;
  color: var(--body);
  background: var(--bg-2);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.chip svg {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.card-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- News ---------- */
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: .22s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-media {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.news-card:hover .news-media img {
  transform: scale(1.05);
}

.news-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  font-family: "Manrope";
  font-weight: 600;
}

.news-cat {
  color: var(--green-d);
}

.news-body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.news-body p {
  font-size: 15px;
  color: var(--body);
}

.news-card .link-arrow {
  margin-top: auto;
}

/* news list (compact, on news page sidebar / home) */
.news-row {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-row .nr-thumb {
  width: 140px;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-row .nr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-row h4 {
  font-family: "Manrope";
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
}

/* ---------- Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.svc-ic {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-d);
}

.svc-ic svg {
  width: 28px;
  height: 28px;
}

.svc-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.svc-card p {
  font-size: 15px;
  color: var(--body);
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 14px;
  transition: .18s;
}

.svc-item:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.svc-item .si-main {
  flex: 1;
  min-width: 0;
}

.svc-item .si-main h4 {
  font-family: "Manrope";
  font-weight: 700;
  font-size: 17px;
}

.svc-item .si-main p {
  font-size: 14px;
  color: var(--body);
}

.svc-price {
  font-family: "Manrope";
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  white-space: nowrap;
}

.svc-price small {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Stats band ---------- */
.band {
  background: var(--grad-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, .25), transparent 65%);
}

.band::after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 196, 230, .22), transparent 65%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.stat {
  text-align: left;
}

.stat .num {
  font-family: "Manrope";
  font-weight: 800;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  background: linear-gradient(100deg, #fff, #bfe6f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .lbl {
  margin-top: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

/* ---------- About / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media .badge-float {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: #fff;
  border-radius: var(--r);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  align-items: center;
}

.badge-float .bf-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-eco);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.badge-float .bf-ic svg {
  width: 24px;
  height: 24px;
}

.badge-float strong {
  font-family: "Manrope";
  font-weight: 800;
  font-size: 20px;
  display: block;
}

.badge-float span {
  font-size: 13px;
  color: var(--body);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}

.feature {
  display: flex;
  gap: 16px;
}

.feature .fc-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--green-d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature .fc-ic svg {
  width: 23px;
  height: 23px;
}

.feature h4 {
  font-family: "Manrope";
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 3px;
}

.feature p {
  font-size: 14.5px;
  color: var(--body);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-deep);
  color: #fff;
  padding: 54px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 196, 230, .25), transparent 65%);
}

.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  font-family: "Manrope";
  font-weight: 600;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs svg {
  width: 14px;
  height: 14px;
  opacity: .6;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  margin: 18px 0 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, .85);
  font-size: 18px;
  max-width: 60ch;
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.filters button {
  font-family: "Manrope";
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--body);
  cursor: pointer;
  transition: .16s;
}

.filters button:hover {
  border-color: var(--blue);
  color: var(--blue-d);
}

.filters button.on {
  background: var(--grad-water);
  color: #fff;
  border-color: transparent;
}

/* ---------- Contacts ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.contact-card .cc-ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--blue-d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.contact-card .cc-ic svg {
  width: 26px;
  height: 26px;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card a.big,
.contact-card p.big {
  font-family: "Manrope";
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
}

.contact-card p.sub {
  color: var(--body);
  font-size: 14.5px;
  margin-top: 4px;
}

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 21/8;
  background: var(--bg-2);
  position: relative;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* form */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: "Manrope";
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  font-family: "Golos Text";
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  transition: .15s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(42, 134, 201, .12);
}

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

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

/* ---------- CTA strip ---------- */
.cta {
  background: var(--grad-water);
  border-radius: var(--r-lg);
  padding: 54px 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, .32), transparent 64%);
}

.cta-copy {
  position: relative;
  z-index: 2;
}

.cta-copy h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
}

.cta-copy p {
  color: rgba(255, 255, 255, .9);
  margin-top: 10px;
  font-size: 17px;
}

.cta .btn-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: #0C2A50;
  color: #A9c2dC;
  padding: 64px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer .f-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer .f-brand img {
  width: 46px;
  height: 46px;
}

.footer .f-brand .brand-name span {
  color: #fff;
}

.footer p.f-desc {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 34ch;
}

.footer h4 {
  color: #fff;
  font-family: "Manrope";
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: .02em;
}

.footer ul li {
  margin-bottom: 11px;
}

.footer ul a {
  color: #A9c2dC;
  font-size: 14.5px;
  transition: .15s;
}

.footer ul a:hover {
  color: #fff;
}

.f-contact-item {
  display: flex;
  gap: 11px;
  margin-bottom: 14px;
  font-size: 14.5px;
}

.f-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.f-contact-item b {
  color: #fff;
  font-family: "Manrope";
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 12px;
}

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

/* ---------- Mobile nav drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
}

.drawer.open {
  visibility: visible;
}

.drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(12, 42, 80, .5);
  opacity: 0;
  transition: .25s;
}

.drawer.open .drawer-bg {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(340px, 86vw);
  background: #fff;
  box-shadow: -10px 0 40px rgba(16, 58, 107, .2);
  transform: translateX(100%);
  transition: .28s;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-panel .dp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.drawer-panel .dp-close {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  color: var(--ink);
}

.drawer-panel nav a {
  display: block;
  font-family: "Manrope";
  font-weight: 700;
  font-size: 18px;
  padding: 15px 14px;
  border-radius: 12px;
  color: var(--ink);
}

.drawer-panel nav a:hover,
.drawer-panel nav a.active {
  background: var(--bg-2);
  color: var(--blue-d);
}

.drawer-panel .dp-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width:1080px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header .header-cta .btn:not(.burger) {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width:920px) {
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3,
  .svc-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .topbar .tb-left .tb-item.hide-sm {
    display: none;
  }
}

@media (max-width:680px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 18px;
  }

  .section {
    padding: 56px 0;
  }

  .topbar {
    display: none;
  }

  .header .wrap {
    height: 66px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    display: none;
  }

  .hero-slider {
    height: 520px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .quick {
    margin-top: 34px;
  }

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

  .grid-3,
  .grid-2,
  .svc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    padding: 20px;
    grid-template-columns: 1fr 1fr;
  }

  .cta {
    padding: 36px 28px;
  }

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

  .news-row .nr-thumb {
    width: 104px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-dots {
    display: none;
  }
}

/* Existing CMS integration */
.wrapper {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.wrapper>.content {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 54px 28px 84px;
  flex: 1;
}

.wrapper.home>.content {
  max-width: none;
  padding: 0;
}

.widther {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

.header .wrap {
  padding: 0 28px;
}

.header .logo img,
.brand img {
  width: 48px;
  height: 48px;
}

.header .logo a,
.header .brand.logo {
  width: auto;
  padding: 0;
  margin: 0;
}

.nav.menu {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.nav.menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.nav.menu li {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
}

.nav.menu a {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
}

.nav.menu a:hover,
.nav.menu a.selected {
  background: var(--bg-2);
  color: var(--blue-d);
}

.nav.menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
  z-index: 70;
}

.nav.menu li:hover>ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.topbar p,
.topbar .phone,
.topbar .email,
.topbar .address {
  margin: 0;
}

.topbar a {
  text-decoration: none;
}

.topbar .tb-phone-wrap a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  min-height: 0;
  background: none;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
}

.header-cart {
  cursor: pointer;
  position: relative;
  margin: 0 0 0 4px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  line-height: 18px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0;
  background: #fff;
  color: #fff;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0;
  box-shadow: var(--shadow-sm);
}

.header-cart::before {
  content: "";
  position: absolute;
  right: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(50%, -50%);
  background: url("/template/img/cart.svg") center / 21px no-repeat;
}

.header-cart::after {
  content: attr(data-count);
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--grad-eco);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope";
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(52, 168, 83, .28);
}

.header-cart[data-count="0"]::after,
.header-cart[data-count=""]::after {
  display: none;
}

.header-cart:empty {
  display: none;
}

.burger.mobile-menu-button {
  margin: 0;
  background-image: none;
}

.burger.mobile-menu-button span {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  overflow: auto;
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-menu ul,
.mobile-menu li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 16px 20px;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
}

.mobile-menu>ul>li {
  border-top: 1px solid var(--line);
}

.hero .slider-1 {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--navy);
}

.hero .slider-1>div {
  position: absolute;
  inset: 0;
  display: none;
}

.hero .slider-1>div:first-child,
.hero .slider-1>div.on {
  display: block;
}

.hero .slider-1>div>div {
  width: 100%;
  height: 100%;
  filter: none;
  scale: none;
}

.hero .slider-1 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .slider-1>div>div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 42, 80, .86) 0%, rgba(16, 58, 107, .55) 45%, rgba(16, 58, 107, .10) 100%);
}

.hero .slider-1 .text {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: var(--maxw);
  padding: 0 28px;
  text-align: left;
  text-shadow: none;
  color: #fff;
}

.hero .slider-1 .text h1,
.hero .slider-1 .text h2 {
  max-width: 640px;
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero .slider-1 .text h3,
.hero .slider-1 .text p {
  max-width: 52ch;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
  font-weight: 400;
  margin: 0;
}

.hero-static {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-static .wrap {
  width: 100%;
}

.hero-static .hero-copy {
  pointer-events: auto;
}

.quick-grid-short {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.home-about .home-1 {
  position: static;
  display: block;
  color: var(--ink);
}

.home-about .home-1 h1,
.home-about .home-1 h2,
.home-about .home-1 h3 {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  margin: 14px 0 16px;
}

.home-about .home-1>div>p {
  color: var(--body);
  font-size: 18px;
  margin: 0 0 14px;
}

.home-about .feature p {
  color: var(--body);
  font-size: 14.5px;
  margin: 0;
}

.home-about-actions {
  margin-top: 30px;
}

.news-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.title-custom {
  margin-bottom: 34px;
}

.custom-items-block,
.custom-items {
  color: var(--ink);
}

.home .custom-items-block,
.custom-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
  justify-content: start;
}

.custom-items-block .item,
.custom-items .item {
  position: relative;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: .22s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.custom-items-block .item>a,
.custom-items .item>a {
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.custom-items-block .item:hover,
.custom-items .item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}

.custom-items-block .image,
.custom-items .image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex: none;
  border-radius: 0;
  background: var(--bg-2);
}

.custom-items-block img,
.custom-items img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .5s;
}

.custom-items-block .item:hover img,
.custom-items .item:hover img {
  transform: scale(1.05);
}

.custom-items-block .name,
.custom-items .name {
  flex: 1;
  padding: 22px 24px 8px;
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.custom-items-block .address,
.custom-items-block .square,
.custom-items .address,
.custom-items .square {
  padding: 0 24px;
  opacity: 1;
  color: var(--body);
  font-size: 15px;
}

.custom-items-block .address,
.custom-items .address {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-items-block .address::before,
.custom-items .address::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 12-9 12s-9-5-9-12a9 9 0 0 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 12-9 12s-9-5-9-12a9 9 0 0 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.custom-items-block .square,
.custom-items .square {
  padding-bottom: 24px;
}

.custom-items-block .square::before,
.custom-items .square::before,
.custom-item .square::before {
  content: "Площадь: ";
}

.custom-items-block .square::after,
.custom-items .square::after,
.custom-item .square::after {
  content: " м²";
}

.custom-items-block .date,
.custom-items .date {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  background: rgba(255, 255, 255, .94);
  color: var(--green-d);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: 999px;
  z-index: 2;
}

.news-items-block .item>a {
  height: 100%;
}

.news-items-block .date {
  position: static;
  order: 2;
  display: block;
  padding: 0 24px;
  margin-top: 20px;
  background: transparent;
  color: var(--muted);
}

.news-items-block .name {
  order: 3;
  padding: 8px 24px 24px;
}

.footer-wrapper {
  margin-top: 0;
  background: #0C2A50;
}

.footer>.wrap {
  display: block;
}

.footer-top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 80px;
}

.footer-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.footer-menu {
  flex: 0 1 240px;
}

.footer-cont {
  flex: 0 1 520px;
  max-width: 520px;
}

.footer .f-brand {
  color: #fff;
  text-decoration: none;
}

.footer .f-brand img {
  width: 54px;
  height: 54px;
}

.footer .f-brand .brand-name span {
  color: #fff;
}

.footer .f-desc,
.footer .f-desc p {
  color: #A9c2dC;
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-cont p {
  color: #A9c2dC;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.footer-cont strong {
  color: #fff;
}

.f-contact-item {
  display: flex;
  gap: 11px;
  margin-bottom: 14px;
  color: #A9c2dC;
  font-size: 14.5px;
  line-height: 1.45;
}

.f-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.f-contact-item b {
  color: #fff;
  font-family: "Manrope";
  font-weight: 700;
}

.f-contact-item a {
  color: #A9c2dC;
}

.f-contact-item a:hover {
  color: #fff;
}

.f-requisites {
  margin-top: 18px;
  color: #A9c2dC;
  font-size: 13.5px;
  line-height: 1.6;
  opacity: .78;
}

.footer li {
  padding: 0;
  margin-bottom: 11px;
}

.footer a {
  color: #A9c2dC;
  text-decoration: none;
}

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

.to-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-d) url("/template/img/top.svg") center / 20px no-repeat;
  cursor: pointer;
}

.form input,
.form-input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  font-family: "Golos Text", system-ui, sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
}

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

.form input[type="checkbox"],
.form input[type="radio"] {
  width: auto;
  flex: 0 0 auto;
  margin: 2px 0 0;
}

.form label {
  display: block;
  margin-bottom: 7px;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
}

.form label.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  line-height: 1.45;
}

.form>div {
  margin-bottom: 18px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--body);
}

.page {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.page a {
  min-width: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.page .selected {
  background: var(--grad-water);
  color: #fff;
  border-color: transparent;
}

.custom-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
}

.custom-menu li {
  list-style: none;
}

.custom-menu li a {
  display: block;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
}

.custom-menu li.selected a {
  background: var(--grad-water);
  color: #fff;
  border-color: transparent;
}

.custom-item .image {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.custom-item .image a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.custom-item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.price>div:not(:empty)::after {
  content: "\00a0₽";
  white-space: nowrap;
}

.services-page {
  margin: -54px -28px -84px;
}

.services-page .section {
  background: var(--bg);
}

.services-layout {
  display: block;
  width: 100%;
}

.services-page .svc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-category {
  position: relative;
  margin: 14px 0 0;
  padding: 22px 64px 22px 26px;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.svc-category::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--blue-d);
  border-bottom: 2px solid var(--blue-d);
  transform: translateY(-65%) rotate(45deg);
  transition: .18s;
}

.svc-category.opened::after {
  transform: translateY(-35%) rotate(225deg);
}

.svc-category:first-child {
  margin-top: 0;
}

.svc-category-items,
.svc-sub {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 14px 0 20px;
}

.svc-category.opened+.svc-category-items,
.svc-category.opened+.svc-sub,
.svc-category.opened+.svc-category-items+.svc-sub {
  display: flex;
}

.services-page .svc-item {
  margin: 0;
}

.services-page .svc-item .si-main p:empty {
  display: none;
}

.services-page .svc-price {
  min-width: 120px;
  text-align: right;
}

.services-page .svc-price>div:first-child:empty {
  display: none;
}

.services-page .svc-price>div:first-child:not(:empty)+div {
  color: var(--muted);
  font-size: 14px;
  text-decoration: line-through;
}

.services-page .to-cart {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-eco);
  flex: 0 0 auto;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 20px rgba(52, 168, 83, .22);
}

.services-page .to-cart::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url("/template/img/cart_w.svg") center / 20px no-repeat;
}

.services-page .to-cart>div:not(.cart-count) {
  position: absolute;
  inset: 0;
}

.services-page .to-cart button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.services-page .cart-count {
  position: absolute;
  left: auto;
  bottom: auto;
  right: 0;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 116px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.services-page .cart-count input {
  width: 100%;
  height: 42px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: "Manrope";
  font-weight: 700;
}

.services-page .cart-count .dec,
.services-page .cart-count .inc {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-eco);
  color: #fff;
  cursor: pointer;
}

.services-page .cart-count .dec {
  left: 7px;
}

.services-page .cart-count .inc {
  right: 7px;
}

.services-page .cart-count .dec::before,
.services-page .cart-count .inc::before {
  content: "-";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope";
  font-weight: 800;
}

.services-page .cart-count .inc::before {
  content: "+";
}

.services-aside {
  position: sticky;
  top: 100px;
}

.services-aside .form-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
}

.services-aside .form-card p {
  color: var(--body);
  font-size: 15px;
  margin: 0 0 24px;
}

.cart {
  margin: -36px 0 0;
}

.content:has(.cart)>h1 {
  display: none;
}

.cart h1 {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 34px;
}

.cart-products {
  width: 100%;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-items .svc-item {
  margin: 0;
}

.cart-items .to-cart {
  min-width: 118px;
}

.cart-items .cart-count {
  position: relative;
  width: 116px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.cart-items .cart-count input {
  width: 100%;
  height: 42px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: "Manrope";
  font-weight: 700;
}

.cart-items .cart-count .dec,
.cart-items .cart-count .inc {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-eco);
  color: #fff;
  cursor: pointer;
}

.cart-items .cart-count .dec {
  left: 7px;
}

.cart-items .cart-count .inc {
  right: 7px;
}

.cart-items .cart-count .dec::before,
.cart-items .cart-count .inc::before {
  content: "-";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope";
  font-weight: 800;
}

.cart-items .cart-count .inc::before {
  content: "+";
}

.cart-items .delete {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff url("/template/img/delete.svg") center / 18px no-repeat;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0;
}

.cart .sum {
  margin: 30px 0 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.cart .sum .order-sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 28px;
  color: var(--ink);
}

.cart .sum .order-sum::before {
  content: "Итого";
  font-size: 16px;
  color: var(--body);
  font-weight: 700;
}

.cart-pay {
  margin: 0 0 34px;
}

.cart-pay:empty {
  display: none;
}

.cart-order {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.cart-order .form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.cart-order .form>div {
  margin: 0;
}

.cart-order .form>div:nth-child(4),
.cart-order .form>div:nth-child(5),
.cart-order .form>div:nth-child(6),
.cart-order .form>div:nth-child(7),
.cart-order .form>div:nth-child(8) {
  grid-column: 1 / -1;
}

.cart-info {
  max-width: 760px;
  font-size: 13px;
  line-height: 1.55;
  opacity: .6;
}

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

  .burger.mobile-menu-button {
    display: flex;
  }
}

@media (max-width:920px) {

  .home .custom-items-block,
  .custom-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    gap: 36px;
    flex-wrap: wrap;
  }

  .footer-cont {
    flex-basis: 100%;
    max-width: none;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-aside {
    position: static;
  }
}

@media (max-width:680px) {
  .wrapper>.content {
    padding: 36px 18px 56px;
  }

  .wrapper.home>.content {
    padding: 0;
  }

  .header .wrap {
    padding: 0 18px;
  }

  .header .logo img,
  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero .slider-1 {
    height: 520px;
  }

  .hero .slider-1 .text {
    padding: 0 18px;
  }

  .quick-grid-short {
    grid-template-columns: 1fr;
  }

  .mobile-menu {
    top: 66px;
  }

  .home .custom-items-block,
  .custom-items {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .title-custom {
    margin-bottom: 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-menu,
  .footer-cont {
    flex-basis: auto;
    width: 100%;
  }

  .services-page {
    margin: -36px -18px -56px;
  }

  .services-page .svc-item {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .services-page .svc-item .si-main {
    flex: 1 1 100%;
  }

  .services-page .svc-price {
    min-width: 0;
    text-align: left;
  }

  .services-page .to-cart {
    margin-left: auto;
  }

  .cart {
    margin: -24px 0 0;
  }

  .cart h1 {
    margin-bottom: 24px;
  }

  .cart-items .svc-item {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 18px;
  }

  .cart-items .svc-item .si-main {
    flex: 1 1 100%;
  }

  .cart-items .svc-item .si-main h4 {
    font-size: 15px;
    line-height: 1.35;
  }

  .cart-items .svc-item .si-main p {
    font-size: 12.5px;
  }

  .cart-items .svc-price,
  .cart-items .price {
    flex: 0 1 auto;
    min-width: 0;
    text-align: left;
    font-size: 15px;
    line-height: 1.35;
  }

  .cart-items .to-cart {
    flex: 0 0 104px;
    min-width: 0;
  }

  .cart-items .cart-count {
    width: 104px;
    height: 40px;
  }

  .cart-items .cart-count input {
    height: 38px;
    font-size: 14px;
  }

  .cart-items .cart-count .dec,
  .cart-items .cart-count .inc {
    width: 26px;
    height: 26px;
  }

  .cart-items .delete {
    width: 24px;
    height: 24px;
    margin-left: auto;
    background-size: 12px;
  }

  .cart .sum {
    margin: 22px 0 28px;
    padding: 20px;
  }

  .cart .sum .order-sum {
    font-size: 22px;
  }

  .cart-order {
    padding: 22px;
  }

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

/* --- Topbar icons --- */
.tb-phone-wrap .phone a::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  opacity: .8;
  background: #dce8f3;
  -webkit-mask: url("/template/img/phone.svg") center/contain no-repeat;
  mask: url("/template/img/phone.svg") center/contain no-repeat;
}

.tb-right a[href^="mailto"]::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  opacity: .8;
  background: #dce8f3;
  -webkit-mask: url("/template/img/email.svg") center/contain no-repeat;
  mask: url("/template/img/email.svg") center/contain no-repeat;
}

/* --- Footer contacts icons --- */
.footer-cont .address,
.footer-cont .email,
.footer-cont .phone {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-cont .address::before,
.footer-cont .email::before,
.footer-cont .phone::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: var(--cyan);
  flex-shrink: 0;
}

.footer-cont .address::before {
  -webkit-mask: url("/template/img/location.svg") center/contain no-repeat;
  mask: url("/template/img/location.svg") center/contain no-repeat;
}

.footer-cont .email::before {
  -webkit-mask: url("/template/img/email.svg") center/contain no-repeat;
  mask: url("/template/img/email.svg") center/contain no-repeat;
}

.footer-cont .phone::before {
  -webkit-mask: url("/template/img/phone.svg") center/contain no-repeat;
  mask: url("/template/img/phone.svg") center/contain no-repeat;
}

/* --- Contacts page (.cont) --- */
.cont {
  max-width: 680px;
}

.cont .address,
.cont .email,
.cont .phone {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  font-size: 16px;
}

.cont .address::before,
.cont .email::before,
.cont .phone::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--blue-d);
  flex-shrink: 0;
}

.cont .address::before {
  -webkit-mask: url("/template/img/location.svg") center/contain no-repeat;
  mask: url("/template/img/location.svg") center/contain no-repeat;
}

.cont .email::before {
  -webkit-mask: url("/template/img/email.svg") center/contain no-repeat;
  mask: url("/template/img/email.svg") center/contain no-repeat;
}

.cont .phone::before {
  -webkit-mask: url("/template/img/phone.svg") center/contain no-repeat;
  mask: url("/template/img/phone.svg") center/contain no-repeat;
}