:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #111317;
  --muted: #68717c;
  --line: #dfe4eb;
  --red: #d71920;
  --red-dark: #b80f16;
  --blue: #1c6ed2;
  --dark: #111820;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(10, 18, 30, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 94px;
  padding: 0 clamp(18px, 3.5vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-camera {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 38px;
}

.brand-camera::before {
  position: absolute;
  content: "";
  left: 0;
  top: 9px;
  width: 34px;
  height: 20px;
  border: 3px solid var(--red);
  border-radius: 7px;
  background: #fff;
}

.brand-camera::after {
  position: absolute;
  content: "";
  left: 31px;
  top: 13px;
  width: 14px;
  height: 12px;
  clip-path: polygon(0 0, 100% 24%, 100% 76%, 0 100%);
  background: #111317;
}

.brand-camera span {
  position: absolute;
  left: 11px;
  top: 14px;
  width: 10px;
  height: 10px;
  border: 3px solid #111317;
  border-radius: 50%;
  background: #fff;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-title {
  color: #0c1118;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.brand-title b {
  color: var(--red);
}

.brand-copy > span:last-child,
.header-contact span {
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 30px);
  color: #1e2530;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--red);
}

.header-contact {
  display: grid;
  gap: 2px;
  text-align: right;
  white-space: nowrap;
}

.header-contact a {
  font-size: 22px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #e21d25, #c61118);
  box-shadow: 0 16px 32px rgba(215, 25, 32, 0.28);
}

.btn.secondary {
  color: var(--blue);
  background: #fff;
  border-color: #b8cff0;
}

.btn.outline-light {
  color: #fff;
  background: rgba(0, 0, 0, 0.14);
  border-color: rgba(255, 255, 255, 0.72);
}

.btn.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100vh - 94px);
  overflow: hidden;
  color: #fff;
  background: #101820;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 24, 0.78) 0%, rgba(7, 14, 24, 0.58) 43%, rgba(7, 14, 24, 0.22) 72%, rgba(7, 14, 24, 0.08) 100%),
    url("./assets/hero-astana-baiterek-camera.png") center / cover no-repeat;
  transform: scale(1.03);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 94px);
  padding: clamp(54px, 7vw, 95px) clamp(18px, 3.5vw, 58px);
}

.hero-copy {
  max-width: 740px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
}

.brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: clamp(26px, 3vw, 35px);
  font-weight: 900;
}

.brand-line span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 13px 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius);
  backdrop-filter: blur(5px);
}

.live-counter strong,
.live-counter small {
  display: block;
}

.live-counter strong {
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.12;
}

.live-counter small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.live-dot {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background: #24d366;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(36, 211, 102, 0.55);
  animation: livePulse 1.7s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(36, 211, 102, 0.55);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(36, 211, 102, 0);
  }
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.hero-badges div {
  min-height: 108px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.badge-icon svg {
  width: 42px;
  height: 42px;
  overflow: visible;
}

.badge-icon svg * {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-van svg path:nth-of-type(1),
.icon-van svg path:nth-of-type(2) {
  fill: #ffffff;
  stroke: #ffffff;
}

.icon-van svg circle {
  fill: #111317;
  stroke: #ffffff;
}

.icon-van svg path:nth-of-type(3),
.icon-camera svg path,
.icon-camera svg rect,
.icon-camera svg circle {
  stroke: var(--red);
}

.icon-van text {
  fill: var(--red);
  stroke: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.icon-shield svg path:first-child {
  fill: rgba(215, 25, 32, 0.18);
  stroke: #ffffff;
}

.icon-shield svg path:last-child,
.icon-baiterek svg * {
  stroke: var(--red);
}

.icon-baiterek svg circle {
  fill: rgba(255, 255, 255, 0.92);
  stroke: var(--red);
}

.hero-list {
  display: grid;
  gap: 9px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  font-size: 19px;
  font-weight: 600;
}

.hero-list li::before {
  content: "✓";
  margin-right: 12px;
  color: #ff3038;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.calculator {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.calc-head h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
}

label,
legend,
.number-row > span {
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
}

select,
input,
textarea {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dce5;
  border-radius: 6px;
  outline: none;
}

textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 110, 210, 0.14);
}

.number-row {
  display: grid;
  gap: 8px;
}

.stepper {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
}

.stepper button,
.stepper input {
  margin: 0;
  border-radius: 0;
}

.stepper button {
  border: 1px solid #d5dce5;
  background: #f2f4f7;
  color: #606b78;
  font-size: 24px;
}

.stepper button:first-child {
  border-radius: 6px 0 0 6px;
}

.stepper button:last-child {
  border-radius: 0 6px 6px 0;
}

.stepper input {
  border-left: 0;
  border-right: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.segments label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: #1f2937;
  background: #fff;
  border: 1px solid #d5dce5;
  border-radius: 6px;
  cursor: pointer;
}

.segments input {
  position: absolute;
  opacity: 0;
}

.segments label:has(input:checked) {
  color: var(--red);
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.calc-branch[hidden] {
  display: none;
}

.range-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d5dce5;
  border-radius: 6px;
}

.range-row > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.range-row span {
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
}

.range-row strong {
  color: var(--red);
  font-size: 22px;
}

input[type="range"] {
  min-height: 24px;
  margin: 0;
  padding: 0;
  accent-color: var(--red);
}

.hdd-grid,
.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.hdd-grid label,
.toggle-grid label {
  display: grid;
  gap: 5px;
  min-height: 66px;
  padding: 12px;
  color: #1f2937;
  background: #fff;
  border: 1px solid #d5dce5;
  border-radius: 6px;
  cursor: pointer;
}

.toggle-grid label {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.toggle-grid label span {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
}

.hdd-grid input,
.toggle-grid input {
  width: auto;
  min-height: 0;
  margin: 0;
  accent-color: var(--red);
}

.hdd-grid label:has(input:checked),
.toggle-grid label:has(input:checked) {
  color: var(--red);
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.hdd-grid span {
  color: var(--muted);
  font-size: 12px;
}

.estimate-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  text-align: left;
}

.estimate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  color: #374151;
  font-size: 13px;
}

.estimate-row strong {
  color: #111317;
  font-size: 13px;
  white-space: nowrap;
}

.total-box {
  padding: 18px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #f4f6f9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.total-box > span,
.total-box > small {
  display: block;
}

.total-box > span {
  font-size: 24px;
  font-weight: 800;
}

.total-box > span strong {
  color: var(--red);
  font-size: clamp(34px, 4vw, 46px);
}

.total-box > small {
  margin-top: 6px;
  color: #747e8a;
  font-size: 14px;
}

.calc-note {
  margin: -4px 0 0;
  color: #747e8a;
  text-align: center;
  font-size: 13px;
}

.object-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 34px clamp(18px, 3.5vw, 58px) 40px;
  background: #fff;
}

.object-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 22px;
  min-height: 242px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(10, 18, 30, 0.08);
}

.object-card img {
  width: 100%;
  height: 100%;
  min-height: 156px;
  object-fit: cover;
  border-radius: 6px;
}

.object-icon {
  color: var(--blue);
  font-size: 37px;
  font-weight: 900;
}

.object-card h2 {
  margin: 0 0 6px;
  font-size: 29px;
}

.object-card p {
  margin: 0 0 22px;
  color: #4b5563;
  line-height: 1.45;
}

.object-card ul,
.turnkey-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #27313d;
}

.object-card li::before,
.turnkey-card li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.section {
  padding: clamp(42px, 5vw, 72px) clamp(18px, 3.5vw, 58px);
}

.catalog-section {
  background: #fff;
}

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

.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(29px, 3.5vw, 42px);
}

.section-head p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-head a {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

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

.category-grid article {
  min-height: 190px;
  padding: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-grid img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  margin-bottom: 14px;
}

.category-grid h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.category-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.shop-toolbar {
  position: sticky;
  top: 94px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.shop-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.shop-tabs::-webkit-scrollbar {
  display: none;
}

.shop-tab,
.cart-open-btn {
  min-height: 42px;
  padding: 0 14px;
  color: #26313f;
  background: #fff;
  border: 1px solid #d5dce5;
  border-radius: 6px;
  font-weight: 900;
  white-space: nowrap;
}

.shop-tab.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.cart-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cart-open-btn strong,
#cartCountInline {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 13px;
}

.barlau-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.barlau-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.barlau-card h3 {
  min-height: 48px;
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.barlau-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.barlau-card strong {
  color: var(--red);
  font-size: 22px;
}

.barlau-card footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.barlau-card footer span {
  color: var(--muted);
  font-size: 12px;
}

.service-strip {
  background: #fff;
  padding-top: 0;
}

.turnkey-card {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  background: #f3f5f8;
  border-radius: var(--radius);
}

.turnkey-card h2 {
  margin: 0 0 18px;
}

.turnkey-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 6px;
}

.works-section {
  background: #f3f5f8;
}

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

.work-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  color: #fff;
  background: #111820;
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(10, 18, 30, 0.13);
}

.work-card-large {
  grid-row: span 2;
  min-height: 680px;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.work-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 13, 20, 0.04) 0%, rgba(8, 13, 20, 0.78) 100%);
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 22px;
}

.work-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.work-card p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
}

.work-meta {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 3.5vw, 58px);
  color: #fff;
  background: var(--dark);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 6px;
  color: #cbd3dd;
}

.footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lead-modal {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-modal {
  width: min(620px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-modal::backdrop {
  background: rgba(5, 8, 12, 0.62);
}

.cart-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.cart-panel h2 {
  margin: 0;
  font-size: 34px;
}

.cart-items {
  display: grid;
  gap: 12px;
  max-height: min(52vh, 460px);
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f5f7fa;
  border-radius: 5px;
}

.cart-item h3 {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.25;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 34px 38px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d5dce5;
  border-radius: 6px;
}

.qty-control button {
  height: 34px;
  border: 0;
  background: #f3f5f8;
  font-weight: 900;
}

.qty-control span {
  text-align: center;
  font-weight: 900;
}

.cart-remove {
  min-height: 34px;
  color: var(--red);
  background: #fff;
  border: 0;
  font-weight: 900;
}

.cart-empty {
  padding: 18px;
  color: var(--muted);
  text-align: center;
  background: #f5f7fa;
  border-radius: 6px;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 900;
}

.cart-total strong {
  color: var(--red);
  font-size: 30px;
}

.seo-section {
  background: #fff;
}

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

.seo-grid article {
  padding: 22px;
  background: #f5f7fa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.seo-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.seo-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.consultant-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.consultant-widget.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.consultant-card,
.whatsapp-float {
  pointer-events: auto;
}

.consultant-card {
  width: min(330px, calc(100vw - 28px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(10, 18, 30, 0.18);
  backdrop-filter: blur(12px);
}

.consultant-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.consultant-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(180deg, #e21d25, #b80f16);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.consultant-head strong,
.consultant-head span {
  display: block;
}

.consultant-head strong {
  font-size: 18px;
}

.consultant-head span {
  color: #24a862;
  font-size: 13px;
  font-weight: 800;
}

.consultant-card p {
  margin: 14px 0;
  color: #26313f;
  font-size: 18px;
  font-weight: 900;
}

.consultant-actions {
  display: grid;
  gap: 8px;
}

.consultant-actions .btn {
  min-height: 44px;
  width: 100%;
  padding-inline: 14px;
  font-size: 14px;
}

.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px 0 48px;
  color: #fff;
  background: #24a862;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(36, 168, 98, 0.32);
  font-weight: 900;
  position: relative;
}

.whatsapp-float::before {
  position: absolute;
  left: 14px;
  width: 24px;
  height: 24px;
  content: "";
  background:
    radial-gradient(circle at 50% 50%, transparent 42%, #fff 44% 54%, transparent 56%),
    linear-gradient(45deg, transparent 0 57%, #fff 58% 72%, transparent 73%);
  border: 2px solid #fff;
  border-radius: 50%;
}

.lead-modal::backdrop {
  background: rgba(5, 8, 12, 0.62);
}

.lead-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
}

.lead-form h2 {
  margin: 0;
  font-size: 34px;
}

.lead-form p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section-kicker {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  color: var(--red-dark);
  background: #fff0f1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 4;
    justify-content: flex-start;
    padding-bottom: 14px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-calculator {
    max-width: 560px;
  }

  .object-cards,
  .category-grid,
  .barlau-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .work-card-large {
    grid-column: 1 / -1;
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    padding-inline: 16px;
  }

  .brand-title {
    font-size: 23px;
  }

  .brand {
    min-width: 0;
  }

  .brand-camera {
    width: 42px;
    height: 34px;
  }

  .brand-camera::before {
    width: 30px;
    height: 18px;
  }

  .brand-camera::after {
    left: 28px;
  }

  .brand-camera span {
    left: 10px;
    top: 14px;
    width: 9px;
    height: 9px;
  }

  .brand-copy > span:last-child,
  .header-contact,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(12, 18, 28, 0.14);
  }

  .shop-toolbar {
    top: 72px;
    align-items: stretch;
    flex-direction: column;
  }

  .shop-tabs,
  .cart-open-btn {
    width: 100%;
  }

  .cart-open-btn {
    justify-content: center;
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7, 14, 24, 0.7) 0%, rgba(7, 14, 24, 0.62) 42%, rgba(7, 14, 24, 0.86) 100%),
      url("./assets/hero-astana-baiterek-camera.png") 56% top / cover no-repeat;
  }

  .hero-content {
    padding: 38px 14px 28px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead,
  .brand-line {
    font-size: 21px;
  }

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

  .hero-list {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .calculator {
    padding: 18px;
  }

  .segments {
    gap: 8px;
  }

  .hdd-grid,
  .toggle-grid {
    grid-template-columns: 1fr;
  }

  .total-box > span strong {
    display: block;
  }

  .object-cards,
  .category-grid,
  .barlau-grid,
  .seo-grid,
  .turnkey-card,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .object-cards,
  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .object-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .object-card img {
    height: 230px;
  }

  .object-card h2 {
    font-size: 24px;
  }

  .section-head.split {
    display: grid;
  }

  .turnkey-card {
    padding: 18px;
  }

  .work-card,
  .work-card-large {
    min-height: 360px;
  }

  .site-footer,
  .footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-panel {
    padding: 22px;
  }

  .consultant-widget {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .consultant-card {
    width: 100%;
  }

  .whatsapp-float {
    min-width: 58px;
    padding: 0;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .whatsapp-float::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 430px) {
  .hero-badges,
  .segments,
  .object-card {
    grid-template-columns: 1fr;
  }

  .hero-badges div {
    min-height: 86px;
  }

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

  .work-card,
  .work-card-large {
    min-height: 320px;
  }

  .work-card-body {
    padding: 18px;
  }
}
