:root {
  --bg: #f3f3f3;
  --white: #ffffff;
  --text: #161616;
  --muted: #666666;
  --muted-2: #8c8c8c;
  --dark: #0f1115;
  --dark-2: #171a1f;
  --dark-3: #1d2128;
  --line: #e8e8e8;
  --accent: #d9742c;
  --accent-hover: #c7641f;
  --shadow: 0 18px 40px rgba(12, 16, 22, 0.08);
  --shadow-soft: 0 12px 30px rgba(12, 16, 22, 0.06);
  --radius: 26px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* --------------------------------------------------
   UI
-------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(217, 116, 44, 0.24);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(217, 116, 44, 0.35);
  color: var(--accent);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  min-height: 58px;
  padding: 0 26px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: transparent;
}

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

.section-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2,
.section h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-link {
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.section-link span {
  color: var(--accent);
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(243, 243, 243, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.brand-mark span {
  background: var(--accent);
  border-radius: 3px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 29px;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.brand-text small {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #707070;
  font-weight: 700;
}

.main-nav {
  margin-left: auto;
}

.main-nav__list,
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__list li,
.main-nav ul li {
  list-style: none;
}

.main-nav a {
  font-size: 18px;
  font-weight: 500;
  color: #232323;
  transition: 0.2s ease;
}

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

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

.header-phone {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: #fff;
  border-radius: 12px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--shadow-soft);
  margin-right: 15px;
}

.burger span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #222;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-inner {
  padding: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-phone {
  margin-top: 6px;
  font-weight: 700;
  color: var(--accent);
}

/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
  padding: 18px 0 0;
}

.hero-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-topbar {
  display: none;
}

.hero-main {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 12, 17, 0.95) 0%, rgba(10, 12, 17, 0.88) 29%, rgba(10, 12, 17, 0.35) 58%, rgba(10, 12, 17, 0.12) 100%);
  border-radius: 0 0 22px 22px;
  box-shadow: var(--shadow);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(217, 116, 44, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(7, 10, 14, 0.92) 0%, rgba(7, 10, 14, 0.82) 30%, rgba(7, 10, 14, 0.36) 58%, rgba(7, 10, 14, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 48%;
  padding: 78px 40px 42px 54px;
  color: #fff;
}

.hero-label {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 620px;
}

.hero-subtitle {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-facts {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.hero-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
}

.hero-fact span {
  color: var(--accent);
  font-size: 18px;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 69%;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(15, 17, 21, 0) 0%, rgba(15, 17, 21, 0.04) 100%),
    url("img/mainbaner.png") center center / cover no-repeat;
}

.hero-bottom {
  position: relative;
  z-index: 20;
  margin-top: -26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  background: #fff;
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 10px 32px rgba(18, 24, 31, 0.08);
  overflow: hidden;
}

.hero-cat {
  min-height: 166px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-right: 1px solid #ececec;
  background: #fff;
}

.hero-cat:last-child {
  border-right: none;
}

.hero-cat__img {
  width: 136px;
  min-width: 136px;
  height: 136px;
  border-radius: 16px;
  background-color: #f5f5f5;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-cat__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hero-cat__body h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-cat__body p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.35;
}

.hero-cat__body span {
  margin-top: 12px;
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
  font-weight: 500;
}

.hero-side-cta {
  display: none;
}

/* --------------------------------------------------
   CARDS / SECTIONS
-------------------------------------------------- */

.card,
.step-card,
.solution-card,
.project-card,
.faq-item {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.card {
  overflow: hidden;
}

.card-media {
  height: 220px;
  background: #ddd center / cover no-repeat;
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.card-body p {
  margin: 0 0 14px;
  color: #666;
}

.card-body a {
  font-weight: 700;
  color: var(--accent);
}

.solution-card {
  overflow: hidden;
}

.solution-media {
  height: 280px;
  background: #d8d8d8 center / cover no-repeat;
}

.solution-body {
  padding: 22px;
}

.solution-body h3 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
}

.solution-body p {
  margin: 0 0 16px;
  color: #666;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.solution-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f3f3;
  font-size: 14px;
  font-weight: 700;
}

.solution-body a {
  color: var(--accent);
  font-weight: 700;
}

/* --------------------------------------------------
   CONFIGURATOR
-------------------------------------------------- */

.fz-config {
  padding: 82px 0;
  background: #fff;
}

.fz-config__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.fz-config__head h2 {
  margin: 0 0 12px;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.fz-config__head p {
  margin: 0;
  color: #666;
  font-size: 18px;
  max-width: 680px;
}

.fz-stepper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.fz-step {
  border: none;
  background: #f4f4f4;
  color: #333;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.fz-step.is-active {
  background: var(--accent);
  color: #fff;
}

.fz-config__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.fz-config__main {
  min-width: 0;
}

.fz-config__aside {
  position: sticky;
  top: 108px;
}

.fz-wizard {
  background: #f8f8f8;
  border-radius: 24px;
  padding: 24px;
}

.fz-panel {
  display: none;
}

.fz-panel.is-active {
  display: block;
}

.fz-panel h3 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fz-cards {
  display: grid;
  gap: 16px;
}

.fz-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fz-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fz-card-option,
.fz-card-check {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 16px;
  min-height: 100%;
  cursor: pointer;
  transition: 0.2s ease;
}

.fz-card-option input,
.fz-card-check input,
.fz-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fz-card-option:has(input:checked),
.fz-card-check:has(input:checked),
.fz-swatch:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(217, 116, 44, 0.14);
}

.fz-card-option__thumb,
.fz-card-check__thumb {
  display: block;
  width: 100%;
  height: 150px;
  border-radius: 16px;
  background: #ececec center / cover no-repeat;
}

.fz-card-option__icon,
.fz-card-check__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f5ede6;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.fz-card-option__title,
.fz-card-check__title {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
}

.fz-card-option__text,
.fz-card-check__text {
  color: #666;
  font-size: 15px;
}

.fz-subtitle {
  margin: 24px 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.fz-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fz-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.fz-swatch__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.fz-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.fz-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fz-field label {
  font-size: 14px;
  font-weight: 700;
}

.fz-field input,
.fz-field textarea,
.fz-field select {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 0 16px;
  outline: none;
}

.fz-field textarea {
  min-height: 130px;
  padding: 16px;
  resize: vertical;
}

.fz-final-result,
.fz-result-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.fz-final-result h4,
.fz-result-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.fz-result-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fz-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #efefef;
}

.fz-result-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.fz-result-row span {
  color: #666;
}

.fz-result-row strong {
  font-size: 18px;
  font-weight: 800;
  text-align: right;
}

.fz-note {
  margin-top: 16px;
  color: #666;
  font-size: 14px;
}

.fz-submit {
  margin-top: 16px;
}

.fz-wizard__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.fz-btn {
  min-height: 52px;
  padding: 0 22px;
  border: none;
  border-radius: 14px;
  font-weight: 800;
}

.fz-btn--ghost {
  background: #ececec;
  color: var(--text);
}

.fz-btn--primary {
  background: var(--accent);
  color: #fff;
}

/* --------------------------------------------------
   PROJECTS
-------------------------------------------------- */

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

.project-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #ddd center / cover no-repeat;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.02) 20%, rgba(15, 17, 21, 0.68) 100%);
}

.project-card__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}

.project-card__content h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
}

.project-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

/* --------------------------------------------------
   STEPS
-------------------------------------------------- */

.step-card {
  padding: 24px;
}

.step-num {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #f6eee8;
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: #666;
}

/* --------------------------------------------------
   CONTACTS
-------------------------------------------------- */

.contact-section__head {
  margin-bottom: 32px;
}

.contact-section__subtitle {
  max-width: 760px;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.7;
  color: #6b7280;
}

.contact-modern {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-modern__info {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 28px;
  padding: 32px;
  box-shadow:
    0 10px 30px rgba(17, 24, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.contact-modern__info h3 {
  font-size: 40px;
  line-height: 1.05;
  margin: 18px 0 14px;
  font-weight: 800;
  color: #111827;
}

.contact-modern__text {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 24px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(193, 105, 43, 0.1);
  color: #c1692b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-info-list {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  transition: 0.25s ease;
}

a.contact-info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06);
  border-color: rgba(193, 105, 43, 0.18);
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #f5ede6;
  color: #c1692b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 44px;
}

.contact-info-item strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
  color: #111827;
}

.contact-info-item small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.contact-modern__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-modern__actions .btn,
.final-cta__actions .btn {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
}

.contact-modern__note {
  padding-top: 18px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.contact-modern__map {
  position: relative;
  min-height: 620px;
  border-radius: 32px;
  overflow: hidden;
  background: #e5e7eb;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.contact-modern__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  filter: saturate(0.95) contrast(1.02);
}

.contact-map-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.1);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.contact-map-badge strong {
  display: block;
  font-size: 16px;
  color: #111827;
  font-weight: 800;
}

.contact-map-badge span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

/* --------------------------------------------------
   FAQ
-------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 78px;
  border: none;
  background: #fff;
  text-align: left;
  padding: 0 24px;
  font-size: 22px;
  font-weight: 800;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--accent);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
  color: #666;
  font-size: 16px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-question::after {
  content: "–";
}

/* --------------------------------------------------
   FINAL CTA
-------------------------------------------------- */

.final-cta {
  padding: 0 0 80px;
}

.final-cta__box {
  background: linear-gradient(135deg, #12151b 0%, #1a1f27 100%);
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}

.final-cta__box h2 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 780px;
}

.final-cta__box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.final-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.site-footer {
  background: #101318;
  color: #fff;
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 32px;
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.56);
}

.footer-text {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.74);
  margin: 18px 0 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------
   IMAGES
-------------------------------------------------- */

.hero-image {
  background-image: url("/wp-content/themes/bricks/img/mainbaner.png");
}
.cat-brick { background-image: url("/wp-content/themes/bricks/images/cat-brick.png"); }
.cat-tile { background-image: url("/wp-content/themes/bricks/images/cat-tile.png"); }
.cat-fence { background-image: url("/wp-content/themes/bricks/images/cat-fence.png"); }
.cat-kit { background-image: url("/wp-content/themes/bricks/images/cat-kit.png"); }

.media-brick { background-image: url("/wp-content/themes/bricks/images/media-brick.jpg"); }
.media-cap { background-image: url("/wp-content/themes/bricks/images/media-cap.jpg"); }
.media-ready { background-image: url("/wp-content/themes/bricks/images/media-ready.jpg"); }
.media-kit2 { background-image: url("/wp-content/themes/bricks/images/media-kit2.jpg"); }

.solution-a { background-image: url("/wp-content/themes/bricks/images/solution-a.jpg"); }
.solution-b { background-image: url("/wp-content/themes/bricks/images/solution-b.jpg"); }
.solution-c { background-image: url("/wp-content/themes/bricks/images/solution-c.jpg"); }

.project-a { background-image: url("/wp-content/themes/bricks/images/project-a.jpg"); }
.project-b { background-image: url("/wp-content/themes/bricks/images/project-b.jpg"); }
.project-c { background-image: url("/wp-content/themes/bricks/images/project-c.jpg"); }

.thumb-classic { background-image: url("images/thumb-classic.jpg"); }
.thumb-columns { background-image: url("images/thumb-columns.jpg"); }
.thumb-front { background-image: url("images/thumb-front.jpg"); }

.brick-prime { background-image: url("images/brick-prime.jpg"); }
.brick-classic { background-image: url("images/brick-classic.jpg"); }
.brick-loft { background-image: url("images/brick-loft.jpg"); }
.brick-slim { background-image: url("images/brick-slim.jpg"); }

.addon-caps { background-image: url("images/addon-caps.jpg"); }
.addon-parapet { background-image: url("images/addon-parapet.jpg"); }
.addon-mix { background-image: url("images/addon-mix.jpg"); }

/* --------------------------------------------------
   TABLET
-------------------------------------------------- */

@media (max-width: 1250px) {
  .main-nav__list,
  .main-nav ul {
    gap: 24px;
  }

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

  .hero-content {
    width: 54%;
  }

  .hero-image {
    width: 62%;
  }

  .hero-cat {
    padding: 18px;
  }

  .hero-cat__img {
    width: 108px;
    min-width: 108px;
    height: 108px;
  }
}

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

  .burger {
    display: flex;
  }

  .hero-main {
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding: 54px 28px 34px;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0.45;
  }

  .hero h1 {
    font-size: 48px;
    max-width: 700px;
  }

  .hero-bottom {
    margin-top: -18px;
  }

  .hero-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .hero-cat {
    border-right: none;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .projects-grid .project-card:first-child {
    grid-column: 1 / -1;
  }

  .fz-config__layout {
    grid-template-columns: 1fr;
  }

  .fz-config__aside {
    position: static;
  }

  .contact-modern {
    grid-template-columns: 1fr;
  }

  .contact-modern__map,
  .contact-modern__map iframe {
    min-height: 460px;
  }

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

  .fz-cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 767px) {
  .container,
  .hero-shell {
    width: min(100% - 24px, 100%);
  }

  .header-inner {
    height: 72px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    gap: 3px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .brand-text small {
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-main {
    border-radius: 18px;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    padding: 26px 16px 22px;
  }

  .hero-label {
    min-height: 32px;
    padding: 0 10px;
    margin-bottom: 12px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.04;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.4;
  }

  .hero-cta {
    margin-top: 18px;
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    font-size: 15px;
  }

  .hero-facts {
    margin-top: 20px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-bottom {
    margin-top: 12px;
    gap: 12px;
  }

  .hero-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-cat {
    min-height: auto;
    padding: 10px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cat__img {
    width: 100%;
    min-width: 0;
    height: 86px;
    border-radius: 12px;
  }

  .hero-cat__body {
    gap: 4px;
  }

  .hero-cat__body h3 {
    font-size: 14px;
    line-height: 1.2;
  }

  .hero-cat__body p {
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-cat__body span {
    margin-top: 6px;
    font-size: 22px;
  }

  .section,
  .fz-config {
    padding: 44px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }

  .section-head h2,
  .section h2,
  .fz-config__head h2,
  .final-cta__box h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .section-link {
    font-size: 14px;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .card,
  .solution-card,
  .step-card {
    border-radius: 16px;
  }

  .card-media,
  .solution-media {
    height: 120px;
  }

  .card-body,
  .solution-body,
  .step-card {
    padding: 12px;
  }

  .card-body h3,
  .solution-body h3,
  .step-card h3 {
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .card-body p,
  .solution-body p,
  .step-card p {
    font-size: 12px;
    line-height: 1.45;
  }

  .card-body a,
  .solution-body a {
    font-size: 12px;
  }

  .solution-tags {
    gap: 6px;
    margin-bottom: 10px;
  }

  .solution-tags span {
    padding: 7px 10px;
    font-size: 11px;
  }

  .fz-config__head p {
    font-size: 15px;
  }

  .fz-stepper {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 4px;
    margin-bottom: 16px;
  }

  .fz-step {
    white-space: nowrap;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .fz-wizard {
    padding: 14px;
    border-radius: 16px;
  }

  .fz-panel h3 {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .fz-cards--3,
  .fz-cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fz-card-option,
  .fz-card-check {
    padding: 10px;
    border-radius: 14px;
    gap: 8px;
  }

  .fz-card-option__thumb,
  .fz-card-check__thumb {
    height: 86px;
    border-radius: 10px;
  }

  .fz-card-option__icon,
  .fz-card-check__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 14px;
  }

  .fz-card-option__title,
  .fz-card-check__title {
    font-size: 14px;
    line-height: 1.2;
  }

  .fz-card-option__text,
  .fz-card-check__text {
    font-size: 11px;
    line-height: 1.35;
  }

  .fz-subtitle {
    margin: 18px 0 10px;
    font-size: 15px;
  }

  .fz-swatches {
    gap: 8px;
  }

  .fz-swatch {
    padding: 9px 11px;
    font-size: 12px;
  }

  .fz-form-grid,
  .fz-form-grid--1 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fz-field label {
    font-size: 13px;
  }

  .fz-field input,
  .fz-field textarea,
  .fz-field select {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 16px;
  }

  .fz-field textarea {
    min-height: 110px;
    padding: 12px;
  }

  .fz-final-result,
  .fz-result-card {
    padding: 14px;
    border-radius: 16px;
  }

  .fz-final-result h4,
  .fz-result-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .fz-result-row {
    gap: 10px;
    padding-bottom: 10px;
  }

  .fz-result-row span,
  .fz-note {
    font-size: 12px;
  }

  .fz-result-row strong {
    font-size: 14px;
  }

  .fz-wizard__actions {
    margin-top: 16px;
    gap: 10px;
  }

  .fz-btn {
    flex: 1 1 0;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 14px;
  }

  .fz-config__aside {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-card {
    min-height: 180px;
    border-radius: 16px;
  }

  .project-card__content {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .project-card__content h3 {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .project-card__content p {
    font-size: 12px;
  }

  .grid--steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .step-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 10px;
  }

  .contact-section__head {
    margin-bottom: 18px;
  }

  .contact-section__subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
  }

  .contact-modern {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-modern__info {
    padding: 16px;
    border-radius: 18px;
  }

  .contact-modern__info h3 {
    font-size: 24px;
    margin: 14px 0 10px;
  }

  .contact-modern__text {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .contact-badge {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .contact-info-list {
    gap: 10px;
    margin-bottom: 16px;
  }

  .contact-info-item {
    padding: 12px;
    border-radius: 14px;
    gap: 10px;
  }

  .contact-info-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex: 0 0 36px;
    font-size: 15px;
  }

  .contact-info-item strong {
    font-size: 14px;
  }

  .contact-info-item small {
    font-size: 12px;
  }

  .contact-modern__actions,
  .final-cta__actions {
    flex-direction: column;
    gap: 10px;
  }

  .contact-modern__actions .btn,
  .final-cta__actions .btn {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    font-size: 14px;
  }

  .contact-modern__note {
    padding-top: 14px;
    font-size: 12px;
  }

  .contact-modern__map,
  .contact-modern__map iframe {
    min-height: 300px;
    border-radius: 18px;
  }

  .contact-map-badge {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .contact-map-badge strong {
    font-size: 13px;
  }

  .contact-map-badge span {
    font-size: 11px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item {
    border-radius: 14px;
  }

  .faq-question {
    min-height: 58px;
    padding: 0 16px;
    padding-right: 42px;
    font-size: 15px;
  }

  .faq-question::after {
    right: 16px;
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 13px;
  }

  .final-cta {
    padding: 0 0 48px;
  }

  .final-cta__box {
    padding: 18px;
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .final-cta__box p {
    font-size: 14px;
  }

  .site-footer {
    padding: 34px 0;
  }

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

  .footer-text {
    margin-top: 12px;
    font-size: 13px;
  }

  .footer-col {
    gap: 8px;
  }

  .footer-col h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .footer-col a,
  .footer-col span {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 28px;
  }

  .section-head h2,
  .section h2,
  .fz-config__head h2,
  .final-cta__box h2 {
    font-size: 24px;
  }

  .grid-4,
  .grid-3,
  .hero-cats,
  .fz-cards--3,
  .fz-cards--4,
  .grid--steps {
    grid-template-columns: 1fr 1fr;
  }

  .card-media,
  .solution-media {
    height: 104px;
  }

  .hero-cat__img {
    height: 74px;
  }
}

.fence-product-page {
  padding: 26px 0 60px;
  background: #fff;
}

.fence-breadcrumbs {
  font-size: 13px;
  color: #666;
  margin-bottom: 28px;
}

.fence-breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.fence-breadcrumbs a:hover {
  color: var(--accent);
}

.fence-breadcrumbs__sep {
  margin: 0 8px;
  color: #c9c9c9;
}

.fence-product-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  margin-bottom: 56px;
  align-items: start;
}

.fence-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.fence-gallery-main {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.fence-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 420px;
  object-fit: cover;
}

.fence-gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.fence-thumb {
  width: 86px;
  height: 66px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.2s ease;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.fence-thumb:hover,
.fence-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

.fence-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fence-product-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}

.fence-product-status {
  font-size: 14px;
  color: #2ea84a;
  font-weight: 600;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fence-product-status::before {
  content: "✔";
}

.fence-product-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.fence-short-features {
  font-size: 14px;
  color: var(--text-muted);
}

.fence-short-features strong {
  color: var(--text-main);
}

.fence-short-features p {
  margin: 10px 0 14px;
}

.fence-short-features ul {
  padding-left: 20px;
  margin: 12px 0 18px;
}

.fence-short-features li {
  margin-bottom: 8px;
}

.fence-content-section {
  max-width: 940px;
  margin: 0 auto 60px;
}

.fence-content-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 40px 0 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.fence-content-section h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 30px 0 16px;
}

.fence-content-section p {
  font-size: 16px;
  margin-bottom: 18px;
  color: #444;
}

.fence-content-entry ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: #444;
}

.fence-content-entry li {
  margin-bottom: 10px;
}

.fence-specs-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-color);
}

.fence-specs-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.fence-specs-label {
  color: #666;
}

.fence-specs-value {
  color: #111;
  text-align: right;
}

.fence-alert-box {
  background: #fff8f5;
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 34px 0;
  font-size: 15px;
  color: #555;
  border-radius: 0 8px 8px 0;
}

.fence-alert-box strong {
  color: #111;
}

.fence-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fence-modal-overlay.active {
  display: flex;
}

.fence-modal-content {
  background: #fff;
  width: 100%;
  max-width: 450px;
  padding: 36px;
  position: relative;
  border-radius: 12px;
}

.fence-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
}

.fence-modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.fence-form-group {
  margin-bottom: 15px;
}

.fence-form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}

.fence-form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.fence-btn-full {
  width: 100%;
}

@media (max-width: 900px) {
  .fence-product-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fence-gallery-wrap {
    position: static;
  }

  .fence-product-actions {
    flex-direction: column;
  }

  .fence-product-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .fence-product-page {
    padding-top: 18px;
  }

  .fence-product-title {
    font-size: 24px;
  }

  .fence-gallery-main img {
    min-height: 260px;
  }

  .fence-thumb {
    width: 74px;
    height: 56px;
  }

  .fence-content-section h2 {
    font-size: 22px;
  }

  .fence-content-section h3 {
    font-size: 18px;
  }

  .fence-specs-row {
    flex-direction: column;
    gap: 6px;
  }

  .fence-specs-value {
    text-align: left;
  }

  .fence-modal-content {
    padding: 24px;
  }
}


.fence-product-page {
  padding: 26px 0 60px;
  background: #fff;
}

.fence-breadcrumbs {
  font-size: 13px;
  color: #666;
  margin-bottom: 28px;
}

.fence-breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.fence-breadcrumbs a:hover {
  color: var(--accent);
}

.fence-breadcrumbs__sep {
  margin: 0 8px;
  color: #c9c9c9;
}

.fence-product-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  margin-bottom: 56px;
  align-items: start;
}

.fence-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.fence-gallery-main {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.fence-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 420px;
  object-fit: cover;
}

.fence-gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.fence-thumb {
  width: 86px;
  height: 66px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.2s ease;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.fence-thumb:hover,
.fence-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

.fence-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fence-product-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}

.fence-product-status {
  font-size: 14px;
  color: #2ea84a;
  font-weight: 600;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fence-product-status::before {
  content: "✔";
}

.fence-product-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.fence-short-features {
  font-size: 14px;
  color: var(--text-muted);
}

.fence-short-features strong {
  color: var(--text-main);
}

.fence-short-features p {
  margin: 10px 0 14px;
}

.fence-short-features ul {
  padding-left: 20px;
  margin: 12px 0 18px;
}

.fence-short-features li {
  margin-bottom: 8px;
}

.fence-content-section {
  max-width: 940px;
  margin: 0 auto 60px;
}

.fence-content-section h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 40px 0 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.fence-content-section h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 30px 0 16px;
}

.fence-content-section p {
  font-size: 16px;
  margin-bottom: 18px;
  color: #444;
}

.fence-content-entry ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: #444;
}

.fence-content-entry li {
  margin-bottom: 10px;
}

.fence-specs-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-color);
}

.fence-specs-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.fence-specs-label {
  color: #666;
}

.fence-specs-value {
  color: #111;
  text-align: right;
}

.fence-alert-box {
  background: #fff8f5;
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 34px 0;
  font-size: 15px;
  color: #555;
  border-radius: 0 8px 8px 0;
}

.fence-alert-box strong {
  color: #111;
}

.fence-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fence-modal-overlay.active {
  display: flex;
}

.fence-modal-content {
  background: #fff;
  width: 100%;
  max-width: 450px;
  padding: 36px;
  position: relative;
  border-radius: 12px;
}

.fence-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
}

.fence-modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.fence-form-group {
  margin-bottom: 15px;
}

.fence-form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}

.fence-form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.fence-btn-full {
  width: 100%;
}

@media (max-width: 900px) {
  .fence-product-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fence-gallery-wrap {
    position: static;
  }

  .fence-product-actions {
    flex-direction: column;
  }

  .fence-product-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .fence-product-page {
    padding-top: 18px;
  }

  .fence-product-title {
    font-size: 24px;
  }

  .fence-gallery-main img {
    min-height: 260px;
  }

  .fence-thumb {
    width: 74px;
    height: 56px;
  }

  .fence-content-section h2 {
    font-size: 22px;
  }

  .fence-content-section h3 {
    font-size: 18px;
  }

  .fence-specs-row {
    flex-direction: column;
    gap: 6px;
  }

  .fence-specs-value {
    text-align: left;
  }

  .fence-modal-content {
    padding: 24px;
  }
}
.bl-single-product {
  padding: 28px 0 70px;
  background: #f8f8f8;
}

.bl-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.bl-single-product__breadcrumbs {
  margin-bottom: 18px;
  font-size: 13px;
  color: #8f8f8f;
}

.bl-single-product__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.bl-product-gallery {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 20px;
}

.bl-product-gallery__layout {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.bl-product-gallery__layout.no-thumbs {
  grid-template-columns: 1fr;
}

.bl-product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bl-gallery-thumb {
  width: 78px;
  height: 78px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}

.bl-gallery-thumb:hover {
  transform: translateY(-2px);
}

.bl-gallery-thumb.is-active {
  border-color: #ea6a11;
}

.bl-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl-product-gallery__main-image {
  min-height: 560px;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.bl-product-gallery__main-image img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  display: block;
}

.bl-product-summary {
  position: sticky;
  top: 24px;
  border: 1px solid #ececec;
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.bl-product-summary__sku {
  margin-bottom: 10px;
  font-size: 12px;
  color: #9a9a9a;
  line-height: 1.4;
}

.bl-product-summary__title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
  color: #1d1d1d;
  font-weight: 800;
}

.bl-product-summary__stock {
  margin-bottom: 14px;
  color: #2da14a;
  font-size: 14px;
  font-weight: 600;
}

.bl-product-summary__price {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  color: #111;
}

.bl-product-summary__price .woocommerce-Price-amount {
  font-weight: 800;
}

.bl-product-summary__excerpt {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.7;
  font-size: 15px;
}

.bl-product-summary__actions {
  margin-bottom: 18px;
}

.bl-order-btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  background: #ea6a11;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.bl-order-btn:hover {
  background: #cf5b0d;
  transform: translateY(-1px);
}

.bl-product-summary__badges {
  display: grid;
  gap: 10px;
}

.bl-badge {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7f7f7;
  color: #2d2d2d;
  font-size: 14px;
  font-weight: 600;
}

.bl-product-block {
  margin-top: 28px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 26px;
}

.bl-product-block__title {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.15;
  color: #1d1d1d;
  font-weight: 800;
}

.bl-specs-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
}

.bl-specs-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid #ececec;
}

.bl-specs-row:last-child {
  border-bottom: 0;
}

.bl-specs-row__label {
  background: #fafafa;
  padding: 16px 18px;
  font-weight: 700;
  color: #232323;
}

.bl-specs-row__value {
  padding: 16px 18px;
  color: #5e5e5e;
}

.bl-product-description {
  color: #444;
  line-height: 1.8;
  font-size: 16px;
}

.bl-product-description h2,
.bl-product-description h3,
.bl-product-description h4 {
  margin: 24px 0 12px;
  color: #1d1d1d;
}

.bl-product-description ul {
  padding-left: 20px;
}

.bl-product-description li {
  margin-bottom: 8px;
}

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

.bl-related-card {
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.bl-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.bl-related-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 18px;
  background: #fff;
  text-decoration: none;
}

.bl-related-card__image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.bl-related-card__body {
  padding: 16px;
}

.bl-related-card__title {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  min-height: 44px;
}

.bl-related-card__title a {
  color: #1e1e1e;
  text-decoration: none;
}

.bl-related-card__price {
  font-size: 20px;
  font-weight: 800;
  color: #111;
}

.bl-order-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.bl-order-popup.is-active {
  display: block;
}

.bl-order-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.58);
  backdrop-filter: blur(3px);
}

.bl-order-popup__dialog {
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: 60px auto;
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  z-index: 2;
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
}

.bl-order-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bl-order-popup__head {
  padding-right: 44px;
  margin-bottom: 20px;
}

.bl-order-popup__head h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
  color: #1b1b1b;
  font-weight: 800;
}

.bl-order-popup__head p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}

.bl-order-popup__quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.bl-quick-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.bl-quick-contact small {
  font-size: 13px;
  font-weight: 500;
  opacity: .95;
}

.bl-quick-contact--phone {
  background: #218338;
}

.bl-quick-contact--viber {
  background: linear-gradient(135deg, #6d5df6, #7c63ff);
}

.bl-order-popup__form-wrap h4 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #1d1d1d;
  font-weight: 800;
}

.bl-order-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bl-field {
  margin-bottom: 12px;
}

.bl-field input,
.bl-field textarea {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

.bl-field input:focus,
.bl-field textarea:focus {
  border-color: #ea6a11;
}

.bl-order-form__submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: #ea6a11;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.bl-order-form__submit:hover {
  background: #cf5b0d;
}

body.bl-popup-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .bl-single-product__main {
    grid-template-columns: 1fr;
  }

  .bl-product-summary {
    position: static;
  }

  .bl-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bl-container {
    padding: 0 14px;
  }

  .bl-product-gallery,
  .bl-product-summary,
  .bl-product-block {
    border-radius: 14px;
  }

  .bl-product-gallery__layout {
    grid-template-columns: 1fr;
  }

  .bl-product-gallery__thumbs {
    flex-direction: row;
    flex-wrap: wrap;
    order: 2;
  }

  .bl-product-gallery__main-image {
    min-height: 320px;
    padding: 16px;
  }

  .bl-product-summary {
    padding: 18px;
  }

  .bl-product-summary__title {
    font-size: 22px;
  }

  .bl-product-summary__price {
    font-size: 34px;
  }

  .bl-product-block {
    padding: 18px;
  }

  .bl-product-block__title {
    font-size: 24px;
  }

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

  .bl-related-grid {
    grid-template-columns: 1fr;
  }

  .bl-order-popup__dialog {
    width: calc(100% - 16px);
    margin: 16px auto;
    padding: 18px;
    border-radius: 18px;
  }

  .bl-order-popup__quick-actions,
  .bl-order-form__grid {
    grid-template-columns: 1fr;
  }
}









.bl-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  background: #ff6a00;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.bl-buy-btn:hover {
  background: #e55f00;
  transform: translateY(-1px);
}

.bl-order-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.bl-order-popup.is-active {
  display: block;
}

.bl-order-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.58);
  backdrop-filter: blur(3px);
}

.bl-order-popup__dialog {
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: 60px auto;
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  z-index: 2;
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
}

.bl-order-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bl-order-popup__head {
  padding-right: 44px;
  margin-bottom: 20px;
}

.bl-order-popup__head h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
  color: #1b1b1b;
  font-weight: 800;
}

.bl-order-popup__head p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}

.bl-order-popup__quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.bl-quick-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.bl-quick-contact small {
  font-size: 13px;
  font-weight: 500;
  opacity: .95;
}

.bl-quick-contact--phone {
  background: #218338;
}

.bl-quick-contact--viber {
  background: linear-gradient(135deg, #6d5df6, #7c63ff);
}

.bl-order-popup__form-wrap h4 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #1d1d1d;
  font-weight: 800;
}

.bl-order-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bl-field {
  margin-bottom: 12px;
}

.bl-field input,
.bl-field textarea {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

.bl-field input:focus,
.bl-field textarea:focus {
  border-color: #ea6a11;
}

.bl-order-form__submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: #ea6a11;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}

.bl-order-form__submit:hover {
  background: #cf5b0d;
}

body.bl-popup-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .bl-order-popup__dialog {
    width: calc(100% - 16px);
    margin: 16px auto;
    padding: 18px;
    border-radius: 18px;
  }

  .bl-order-popup__quick-actions,
  .bl-order-form__grid {
    grid-template-columns: 1fr;
  }

  .bl-buy-btn {
    width: 100%;
  }
}

/* =========================
   CATALOG LAYOUT
========================= */

.bl-catalog-page {
  padding: 30px 0 60px;
  background: #f7f7f7;
}

.bl-catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
}

/* =========================
   SIDEBAR
========================= */

.bl-catalog-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 20px;
}

.bl-filter-group {
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.bl-filter-title {
  width: 100%;
  border: 0;
  background: none;
  padding: 10px 0;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.bl-filter-options {
  display: none;
  margin-top: 10px;
}

.bl-filter-group.is-open .bl-filter-options {
  display: block;
}

.bl-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
}

.bl-filter-option input {
  accent-color: #ff6a00;
}

.bl-filter-option small {
  margin-left: auto;
  color: #999;
  font-size: 12px;
}

/* =========================
   FILTER BUTTONS
========================= */

.bl-filter-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bl-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.bl-btn--dark {
  background: #111;
  color: #fff;
}

.bl-btn--light {
  background: #f3f3f3;
  color: #333;
}

/* =========================
   CONTENT
========================= */

.bl-catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.bl-catalog-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}

.bl-catalog-count {
  font-size: 14px;
  color: #666;
}

/* =========================
   GRID
========================= */

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

/* =========================
   PRODUCT CARD
========================= */

.bl-product-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .2s ease;
}

.bl-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.bl-product-card__image-wrap {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
}

.bl-product-card__image-wrap img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.bl-product-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bl-product-card__sku {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}

.bl-product-card__title {
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 10px;
  min-height: 40px;
}

.bl-product-card__title a {
  text-decoration: none;
  color: #222;
}

.bl-product-card__bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bl-product-card__price {
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.bl-product-card__stock {
  margin-top: 10px;
  font-size: 13px;
  color: #2da14a;
}

/* =========================
   BUTTON
========================= */

.bl-buy-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: #ff6a00;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.bl-buy-btn:hover {
  background: #e55f00;
}

/* =========================
   PAGINATION
========================= */

.bl-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.bl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  margin: 0 4px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  font-size: 14px;
}

.bl-pagination .current {
  background: #ff6a00;
  color: #fff;
  border-color: #ff6a00;
}

/* =========================
   EMPTY
========================= */

.bl-empty {
  padding: 40px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 1100px) {
  .bl-catalog-layout {
    grid-template-columns: 1fr;
  }

  .bl-catalog-sidebar {
    position: static;
  }

  .bl-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .bl-products-grid {
    grid-template-columns: 1fr;
  }

  .bl-catalog-title {
    font-size: 22px;
  }

  .bl-product-card__image-wrap {
    height: 180px;
  }
}