:root {
  --color-graphite: #343434;
  --color-gray: #CECECE;
  --color-primary: #818934;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-dark: #343434;
  --color-primary-hover: #6B722B;

  --font-sans: 'Inter', Arial, sans-serif;

  --text-h1: clamp(1.7rem, 1.45rem + 1.25vw, 2.25rem);
  --text-h2: clamp(1.3rem, 1.18rem + 0.65vw, 1.7rem);
  --text-h3: clamp(1.05rem, 1rem + 0.3vw, 1.275rem);
  --text-h4: clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  --text-h5: 0.875rem;
  --text-h5-mobile: 0.8125rem;
  --text-h6: 0.75rem;
  --text-h6-mobile: 0.6875rem;
  --text-body: 1rem;
  --text-body-lg: clamp(1rem, 0.96rem + 0.19vw, 1.125rem);
  --text-button: 0.9375rem;

  --container-width: 1240px;
  --content-width: 800px;
  --container-padding-desktop: 40px;
  --container-padding-tablet: 30px;
  --container-padding-mobile: 20px;
  --section-gap-desktop: 100px;
  --section-gap-tablet: 70px;
  --section-gap-mobile: 50px;
}

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

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-graphite);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-desktop);
}

@media (max-width: 1024px) {
  .container {
    padding: 0 var(--container-padding-tablet);
  }
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 5px 12px -2px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s;
  will-change: transform;
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

body.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

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

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  max-width: 80px;
  max-height: none;
  display: block;
}

.header__logo-link {
  font-weight: 700;
  font-size: var(--text-h3);
  color: var(--color-primary);
}

.header__tagline {
  margin: 0;
  font-size: 13px;
  color: #999;
  max-width: 200px;
  line-height: 1.4;
}

/* Navigation */
.header__nav {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 0;
}

.header__menu > li {
  position: relative;
}

.header__menu > li > .nav-link {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-graphite);
  white-space: nowrap;
  transition: color 0.2s;
}

.header__menu > li > .nav-link:hover,
.header__menu > li.current-menu-item > .nav-link,
.header__menu > li.current_page_item > .nav-link {
  color: var(--color-primary);
}

.header__menu > li.menu-item-has-children > .nav-link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--color-graphite);
  margin-left: 6px;
  transition: transform 0.2s;
}

.header__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 5px 12px -2px rgba(0,0,0,0.07);
  border-radius: 6px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.header__menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header__menu .sub-menu .nav-link {
  display: block;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-graphite);
  transition: color 0.2s, background 0.2s;
}

.header__menu .sub-menu .nav-link:hover {
  color: var(--color-primary);
}

.header__menu .sub-menu li.current-menu-item > .nav-link,
.header__menu .sub-menu li.current_page_item > .nav-link {
  color: var(--color-primary);
}

.header__menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 4px;
}

/* Contacts */
.header__contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__social {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header__social:hover svg {
  opacity: 0.7;
}

.header__social svg {
  transition: opacity 0.2s;
}

.header__phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.header__phone {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-graphite);
  white-space: nowrap;
  line-height: 1.3;
}

.header__phone:hover {
  color: var(--color-primary);
}

.header__workhours {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-button);
  line-height: 1;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  width: fit-content;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--color-graphite);
  border: 1px solid var(--color-gray);
}

.btn--secondary:hover {
  background: var(--color-gray);
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.07);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  max-width: 100%;
  background: rgba(52, 52, 52, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 0;
}

.hero__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-white);
}

.hero__trust {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 620px;
  font-style: italic;
}

.hero__title {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin: 0;
  max-width: 640px;
}

.hero__subtitle {
  font-size: var(--text-body);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 640px;
}

.hero__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  max-width: 640px;
}

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(0px);
  border-radius: 0;
  padding: 15px;
  min-width: 0;
  box-sizing: border-box;
}

.hero__feature-num {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.hero__feature-text {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.7);
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
}

.hero__actions .btn {
  width: 100%;
}

.btn--white {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn--white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
}

.hero__panel {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero__panel-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 14px;
}

.hero__panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero__panel-item {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  line-height: 1.4;
  padding-left: 20px;
  position: relative;
}

.hero__panel-item::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
}

/* Section */
.section {
  padding: 40px 0;
}

@media (max-width: 1024px) {
  .section {
    padding: 30px 0;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 20px 0;
  }
}

.section--related {
  padding-top: 0;
}

.section__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-graphite);
  margin: 0 0 16px;
}

.section__subtitle {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--color-graphite);
  max-width: var(--content-width);
}

/* Page header */
.page-header {
  background: #f8f8f8;
  padding: 40px 0;
}

@media (max-width: 1024px) {
  .page-header {
    padding: 30px 0;
  }
}

@media (max-width: 767px) {
  .page-header {
    padding: 20px 0;
  }
}

.page-header__title {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--color-graphite);
}

/* Page content */
.page-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 0;
  line-height: 1.8;
  font-size: var(--text-body);
}

@media (max-width: 1024px) {
  .page-content {
    padding: 30px 0;
  }
}

@media (max-width: 767px) {
  .page-content {
    padding: 20px 0;
  }
}

.page-content p {
  margin: 0 0 1.5em;
}

.project-description.page-content {
  margin-left: 0;
  margin-right: 0;
  max-width: var(--content-width);
}

.project-short-description.page-content {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  padding: 24px;
  margin-top: 20px;
  font-size: var(--text-body);
  background: #f8f8f8;
  border-radius: 8px;
}

.project-short-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-short-description ul li {
  padding: 5px 0 5px 20px;
  line-height: 1.6;
  position: relative;
}

.project-short-description ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Footer */
.footer {
  background: #2a2a2a;
  color: #ccc;
  padding: var(--section-gap-desktop) 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__logo img {
  max-height: 75px;
  width: auto; height: auto; display: block;
}

.footer__logo-link {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-primary);
}

.footer__tagline {
  font-size: 13px;
  color: #999;
  margin: 12px 0 0;
  max-width: 260px;
  line-height: 1.5;
}

.footer__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 16px;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
}

.footer__menu .nav-link {
  color: #ccc;
  font-size: 14px;
  transition: color 0.2s;
}

.footer__menu .nav-link:hover {
  color: var(--color-primary);
}

.footer__phone {
  display: block;
  color: #ccc;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer__phone:hover {
  color: var(--color-primary);
}

.footer__workhours {
  font-size: 13px;
  color: #999;
  margin: 8px 0 0;
}

.footer__link {
  display: block;
  color: #ccc;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
  text-decoration: none;
}

.footer__link:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 40px;
  font-size: 13px;
  color: #888;
  text-align: center;
}

.footer__bottom p {
  margin: 0;
}

/* Title section */
.title-section {
  padding: 0 0 var(--section-gap-desktop);
}

@media (max-width: 1024px) {
  .title-section {
    padding: 0 0 var(--section-gap-tablet);
  }
}

@media (max-width: 767px) {
  .title-section {
    padding: 0 0 var(--section-gap-mobile);
  }
}

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

  .header__contacts {
    display: none;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-white);
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
  }

  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .mobile-menu__inner {
    padding: 90px 24px 40px;
    max-width: 500px;
    margin: 0 auto;
  }

  .mobile-menu__list > li {
    margin-bottom: 16px;
  }

  .mobile-menu__list .menu-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-gray);
    padding-bottom: 12px;
  }

  .mobile-menu__list .nav-link {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-graphite);
  }

  .mobile-menu__list .nav-link:hover {
    color: var(--color-primary);
  }

  .mobile-menu__list li.current-menu-item > .nav-link,
  .mobile-menu__list li.current_page_item > .nav-link {
    color: var(--color-primary);
  }

  .submenu-toggle-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
  }

  .submenu-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border: solid var(--color-primary);
    border-width: 0 2px 2px 0;
    transition: transform 0.3s;
  }

  .submenu-toggle-btn.expanded::before {
    transform: translate(-50%, -50%) rotate(-135deg);
  }

  .mobile-menu__list .sub-menu {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transition: max-height 0.35s, opacity 0.3s, padding 0.3s;
  }

  .mobile-menu__list .sub-menu.open {
    max-height: 1000px;
    opacity: 1;
    padding: 12px 0 4px 16px;
  }

  .mobile-menu__list .sub-menu .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #666;
    display: block;
    padding: 8px 0;
  }

  .mobile-menu__catalog-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 17px;
    border-radius: 6px;
    margin: 24px 0;
    transition: background 0.2s;
  }

  .mobile-menu__catalog-btn:hover {
    background: var(--color-primary-hover);
  }

  .mobile-menu__phones {
    margin-top: 32px;
  }

  .mobile-menu__phone {
    display: block;
    color: var(--color-graphite);
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 12px;
  }

  .mobile-menu__socials {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
  }

  .mobile-menu__social {
    display: flex;
    align-items: center;
    line-height: 0;
  }

  .mobile-menu__social img {
    transition: opacity 0.2s;
  }

  .mobile-menu__social:hover img {
    opacity: 0.7;
  }

  .mobile-menu__workhours {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 8px;
  }

  .hero {
    min-height: 440px;
  }

  .hero__features {
    max-width: 100%;
  }

  .hero__trust,
  .hero__subtitle {
    max-width: 100%;
  }

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

  .page-header__title {
    font-size: var(--text-h1);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Catalog grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

.catalog-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}

.catalog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.catalog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.catalog-card__image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f5f5f5;
}

.catalog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.catalog-card:hover .catalog-card__img {
  transform: scale(1.05);
}

.catalog-card__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.catalog-card__price {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
}

.catalog-card__body {
  padding: 20px;
}

.catalog-card__title {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 12px;
  line-height: 1.3;
}

.catalog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
}


/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-graphite);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.pagination a:hover {
  background: var(--color-gray);
}

.pagination .current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Single project */
.project-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.project-gallery {
  overflow: hidden;
}

.project-gallery__main {
  height: 380px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
}

.project-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.project-gallery__thumb {
  flex: 1;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--color-gray);
  transition: border-color 0.2s;
  display: block;
}

.project-gallery__thumb:hover {
  border-color: var(--color-primary);
}

.project-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .project-gallery__main {
    height: 280px;
  }
}


.project-gallery__thumbs {
  display: flex;
  gap: 8px;
  width: fit-content;
  overflow-x: auto;
}

.project-gallery__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--color-gray);
  transition: border-color 0.2s;
}

.project-gallery__thumb:hover {
  border-color: var(--color-primary);
}

.project-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 12px;
}

.page-header__back:hover {
  text-decoration: underline;
}

.project-info__price {
  margin-bottom: 24px;
}

.project-info__price-label {
  display: block;
  font-size: 14px;
  color: #999;
  margin-bottom: 4px;
}

.project-info__price-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

.project-info__chars {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 16px;
  margin-bottom: 32px;
}

.project-info__char-label {
  display: block;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.project-info__char-value {
  display: block;
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
}

.project-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-description {
  border-top: 1px solid var(--color-gray);
  padding-top: 40px;
  margin-top: 0;
  max-width: var(--content-width);
}

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

  .project-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-info__chars {
    grid-template-columns: 55fr 45fr;
  }

  .project-gallery__main {
    height: 240px;
  }

  .project-gallery {
    overflow: hidden;
  }

  .project-gallery__thumb {
    width: 64px;
    height: 48px;
  }

  .project-short-description.page-content {
    padding: 16px;
    margin-top: 12px;
  }
}

/* Catalog filters */
.catalog-filters {
  margin-bottom: 32px;
  padding: 24px;
  background: #f8f8f8;
  border-radius: 4px;
}

.catalog-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.catalog-filters__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

.catalog-filters__group--search {
  flex: 1;
  min-width: 200px;
}

.catalog-filters__label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog-filters__select,
.catalog-filters__input {
  padding: 10px 12px;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-graphite);
  background: var(--color-white);
  width: 100%;
  transition: border-color 0.2s;
}

.catalog-filters__select:hover,
.catalog-filters__input:hover {
  border-color: var(--color-primary);
}

.catalog-filters__select:focus,
.catalog-filters__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(129,137,52,0.15);
}

.catalog-filters__actions {
  display: flex;
  gap: 8px;
  width: fit-content;
  align-items: flex-end;
}

.catalog-filters__actions .btn {
  white-space: nowrap;
}

.catalog-count {
  font-size: 14px;
  color: #999;
  margin-bottom: 24px;
}

.catalog-empty {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 16px;
}

@media (max-width: 768px) {
  .catalog-filters__row {
    flex-direction: column;
  }

  .catalog-filters__group,
  .catalog-filters__group--search {
    min-width: 100%;
  }

  .catalog-filters__actions {
    width: 100%;
  }

  .catalog-filters__actions .btn {
    flex: 1;
  }
}

/* Catalog layout with sidebar */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.catalog-filters-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  color: var(--color-graphite);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
}

.catalog-filters-toggle:hover {
  background: var(--color-gray);
}

.catalog-sidebar {
  position: sticky;
  top: 100px;
}

.catalog-filters {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-filters__title {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-gray);
}

.catalog-filters__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-filters__group {
  min-width: 0;
}

.catalog-filters__group--search {
  flex: none;
  min-width: 0;
}

.catalog-filters__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
  padding-top: 8px;
  border-top: 1px solid var(--color-gray);
}

.catalog-filters__actions .btn {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.catalog-main {
  min-width: 0;
}

.catalog-count {
  font-size: 14px;
  color: #999;
  margin-bottom: 24px;
}

.catalog-empty {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 16px;
}

@media (max-width: 900px) {
  .catalog-filters-toggle {
    display: flex;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-sidebar {
    display: none;
    position: static;
  }

  .catalog-sidebar--open {
    display: block;
  }

  .catalog-filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .catalog-filters__group {
    flex: 1;
    min-width: 140px;
  }

  .catalog-filters__actions {
    flex-direction: row;
    border-top: none;
    padding-top: 0;
  }

  .catalog-filters__title {
    width: 100%;
  }
}

.catalog-filters__range {
  display: flex;
  gap: 8px;
  width: fit-content;
}

.catalog-filters__input--half {
  width: 50%;
  min-width: 0;
}

/* Catalog Load More */
.catalog-loadmore {
  text-align: center;
  margin-top: 32px;
}

/* Gallery thumbs */
.project-gallery__thumbs {
  display: flex;
  gap: 8px;
  width: fit-content;
  margin-top: 12px;
  width: 100%;
}

.project-gallery__thumb {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--color-gray);
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s;
}

.project-gallery__thumb:hover {
  border-color: var(--color-primary);
}

.project-gallery__thumb--active {
  border-color: var(--color-primary);
}

.project-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-gallery__thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.lightbox--open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}

.lightbox__content {
  position: relative;
  z-index: 5;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__image {
  max-width: 100%;
  max-height: 85vh;
  display: block;
  border-radius: 4px;
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  padding: 4px 12px;
  border-radius: 4px;
}


.header__logo-img {
  width: 100%;
  height: auto;
  display: block;
}


.header__catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.header__catalog-btn:hover {
  background: #6B722B;
}




.header__social-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}


.hero-wrap {
  padding-top: 30px;
  padding-bottom: 30px;
}


@media (max-width: 767px) {
  .hero-wrap {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .hero {
    border-radius: 0;
    min-height: auto;
  }

  .hero__content {
    padding: 24px 16px;
    gap: 20px;
  }

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

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__panel {
    max-width: 100%;
  }
}


/* Fundamenty workflow (block 2) */
.fw-section {
  padding: 40px 0;
}

.fw-heading {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: 800px;
}

.fw-lead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 0 40px;
}

.fw-scheme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.fw-scheme__step {
  flex: 0 1 auto;
}

.fw-scheme__box {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 0;
  text-align: center;
  white-space: nowrap;
}

.fw-scheme__arrow {
  color: var(--color-gray);
  font-size: 13px;
  line-height: 1;
  padding-bottom: 1px;
}

.fw-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}

.fw-card {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 24px 20px;
}

.fw-card__title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 10px;
}

.fw-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

.fw-quote {
  background: #f0f0f0;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  max-width: 800px;
}

.fw-quote p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0;
}

@media (max-width: 1024px) {
  .fw-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .fw-scheme {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .fw-cards {
    grid-template-columns: 1fr;
  }

  .fw-scheme {
    flex-wrap: wrap;
    gap: 8px;
  }

  .fw-scheme__arrow {
    display: none;
  }
}


/* Fundamenty types (block 3) */
.ft-section {
  padding: 40px 0;
}

.ft-heading {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: 800px;
}

.ft-lead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 0 40px;
}

/* Types grid 3+2 */
.ft-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 0 40px;
}

.ft-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 280px;
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.ft-card__image {
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 320px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}

.ft-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ft-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ft-card__body {
  padding: 20px 24px;
}

.ft-card__title {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 8px;
}

.ft-card__price {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.ft-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

.ft-card__details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-gray);
}

.ft-card__section {
  margin-bottom: 14px;
}

.ft-card__section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 6px;
}

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

.ft-card__section li {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  padding: 2px 0 2px 16px;
  position: relative;
}

.ft-card__section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}

.ft-card__section p {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

.ft-outro {
  max-width: 800px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--color-graphite);
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--color-primary);
}

@media (max-width: 1024px) {
  .ft-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 767px) {
  .ft-card {
    flex: 0 0 100%;
    min-width: 0;
  }
}


/* Fundamenty process (block 4) */
.fp-section {
  padding: 40px 0;
}

.fp-heading {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: 800px;
}

.fp-lead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 0 40px;
}

.fp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}

.fp-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fp-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-step__content {
  min-width: 0;
}

.fp-step__title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 6px;
}

.fp-step__text {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

.fp-warning {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 28px 32px;
  margin: 0 0 40px;
}

.fp-warning__title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 16px;
}

.fp-warning__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-warning__list li {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  padding-left: 18px;
  position: relative;
}

.fp-warning__list li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: #c0392b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.fp-cta {
  background: #f0f0f0;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.fp-cta__title {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 12px;
}

.fp-cta__text {
  font-size: var(--text-body);
  line-height: 1.6;
  color: #555;
  max-width: 600px;
  margin: 0 auto 20px;
}

.fp-cta--dark {
  background: var(--color-graphite);
}

.fp-cta--dark .fp-cta__title {
  color: #fff;
}

.fp-cta--dark .fp-cta__text {
  color: rgba(255,255,255,.8);
}

.fp-cta--has-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fp-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 100%);
  border-radius: 8px;
}

.fp-cta__content {
  position: relative;
  z-index: 1;
}

.fp-cta__contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.fp-cta__phone {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.fp-cta__phone:hover {
  color: var(--color-primary);
}

.fp-cta__schedule {
  font-size: 14px;
  color: rgba(255,255,255,.6);
}

@media (max-width: 768px) {
  .fp-cta__contacts {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 1024px) {
  .fp-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .fp-warning__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .fp-steps {
    grid-template-columns: 1fr;
  }
}


/* Fundamenty comparison (block 5) */
.fc-section {
  padding: 40px 0;
}

.fc-heading {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: 800px;
}

.fc-lead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 0 40px;
}

.fc-table-wrap {
  overflow-x: auto;
  margin: 0 0 40px;
  border: 1px solid var(--color-gray);
  border-radius: 8px;
}

.fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 700px;
}

.fc-table th {
  background: var(--color-graphite);
  color: var(--color-white);
  font-weight: 600;
  padding: 12px 14px;
  text-align: center;
  white-space: nowrap;
}

.fc-table th:first-child {
  text-align: left;
  min-width: 180px;
}

.fc-table td {
  padding: 10px 14px;
  text-align: center;
  border-bottom: 1px solid #eee;
  color: var(--color-graphite);
}

.fc-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.fc-table tr:last-child td {
  border-bottom: none;
}

/* ==============================================
   Unified table style — used across all pages
   ============================================== */
.h-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 40px;
  border: 1px solid var(--color-gray);
  border-radius: 8px;
}

.h-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.h-table thead th {
  background: var(--color-graphite);
  color: var(--color-white);
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.h-table thead th:last-child {
  text-align: right;
}

.h-table tbody td {
  padding: 12px 18px;
  color: var(--color-graphite);
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.h-table tbody td:first-child {
  font-weight: 500;
}

.h-table tbody td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-graphite);
}

.h-table tbody tr:nth-child(even) td {
  background: #fafafa;
}

.h-table tbody tr:last-child td {
  border-bottom: none;
}

.h-table tfoot td {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-graphite);
  border-top: 2px solid var(--color-gray);
  background: #f8f8f8;
}

.h-table tfoot td:last-child {
  text-align: right;
}

@media (max-width: 767px) {
  .h-table {
    font-size: 13px;
  }

  .h-table thead th,
  .h-table tbody td,
  .h-table tfoot td {
    padding: 10px 12px;
  }

  .h-table thead th {
    font-size: 11px;
  }

  .h-table tfoot td {
    font-size: 14px;
  }
}

.fc-bar {
  display: inline-block;
  width: 70px;
  height: 5px;
  background: #e8e8e8;
  border-radius: 3px;
  vertical-align: middle;
}

.fc-bar__fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--color-primary);
}

.fc-tag-yes {
  display: inline-block;
  color: #2e7d32;
  font-weight: 600;
  font-size: 13px;
}

.fc-tag-no {
  display: inline-block;
  color: #c0392b;
  font-size: 13px;
}

.fc-guide {
  margin: 0 0 40px;
  max-width: 800px;
}

.fc-guide__title {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 10px;
}

.fc-guide__text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.fc-factors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}

.fc-factor {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
}

.fc-factor__icon {
  font-size: 20px;
  margin-bottom: 10px;
}

.fc-factor__title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 6px;
}

.fc-factor__text {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

.fc-outro {
  max-width: 800px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--color-graphite);
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--color-primary);
}

@media (max-width: 1024px) {
  .fc-factors {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .fc-factors {
    grid-template-columns: 1fr;
  }
}


/* Fundamenty construction (block 6) */
.fb-section {
  padding: 40px 0;
}

.fb-heading {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: 800px;
}

.fb-lead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 0 48px;
}

/* Timeline */
.fb-timeline {
  display: flex;
  gap: 28px;
  margin: 0 0 48px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.fb-timeline__step {
  flex: 0 0 220px;
  position: relative;
}

.fb-timeline__photo {
  width: 200px;
  height: 140px;
  background: #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  margin-bottom: 12px;
}

.fb-timeline__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.fb-timeline__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 6px;
}

.fb-timeline__text {
  font-size: 12px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

/* Control cards */
.fb-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}

.fb-control {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.fb-control__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.fb-control__title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 4px;
}

.fb-control__text {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

/* Quote */
.fb-quote {
  background: var(--color-graphite);
  color: var(--color-white);
  border-radius: 12px;
  padding: 36px 40px;
  margin: 0 0 40px;
}

.fb-quote__text {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
}

/* Trust badges */
.fb-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fb-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-graphite);
  padding: 12px 0;
}

.fb-trust__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .fb-controls {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 767px) {
  .fb-controls {
    grid-template-columns: 1fr;
  }

  .fb-trust {
    grid-template-columns: 1fr;
  }
}


/* Foundation projects (block 7) */
.fproj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}

.fproj-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.fproj-card__image {
  height: 220px;
  overflow: hidden;
}

.fproj-card__image--empty {
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}

.fproj-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fproj-card__body {
  padding: 20px 24px;
}

.fproj-card__title {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 14px;
}

.fproj-card__chars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}

.fproj-card__char {
  font-size: 13px;
  color: #555;
}

.fproj-card__work {
  margin: 0 0 16px;
}

.fproj-card__work-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}

.fproj-card__work-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fproj-card__work-list li {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  padding: 2px 0 2px 16px;
  position: relative;
}

.fproj-card__work-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}

.fproj-card__result {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-graphite);
  margin: 0 0 16px;
  font-weight: 500;
}

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

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


/* Cost factors (block 8) */
.fc-factors--icons {
  grid-template-columns: repeat(4, 1fr);
}

.fc-factor--icon {
  text-align: center;
}

.fc-factor--icon .fc-factor__icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.fc-transparent {
  background: var(--color-graphite);
  color: var(--color-white);
  border-radius: 12px;
  padding: 36px 40px;
  margin: 0 0 40px;
}

.fc-transparent__text {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
}

/* Calculator data block */
.fc-data {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin: 0 0 40px;
}

.fc-data__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fc-data__list li {
  font-size: 14px;
  color: var(--color-graphite);
  padding-left: 24px;
  position: relative;
}

.fc-data__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .fc-factors--icons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .fc-factors--icons {
    grid-template-columns: 1fr;
  }

  .fc-data {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* Trust / FAQ / Final CTA (block 9) */
.fq-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}

.fq-trust__card {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 24px 20px;
}

.fq-trust__title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 8px;
}

.fq-trust__text {
  font-size: 13px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

.fq-when {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 28px 32px;
  margin: 0 0 40px;
}

.fq-when__title {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 16px;
}

.fq-when__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fq-when__list li {
  font-size: 14px;
  color: var(--color-graphite);
  padding-left: 22px;
  position: relative;
}

.fq-when__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.fq-faq {
  margin: 0 0 40px;
  max-width: 800px;
}

.fq-faq__item {
  border-bottom: 1px solid var(--color-gray);
  padding: 18px 0;
}

.fq-faq__q {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 6px;
}

.fq-faq__a {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.fq-final {
  background: var(--color-graphite);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  color: var(--color-white);
}

.fq-final__title {
  font-size: var(--text-h2);
  font-weight: 600;
  margin: 0 0 16px;
}

.fq-final__text {
  font-size: var(--text-body);
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 24px;
}

.fq-final__contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.fq-final__phone {
  color: var(--color-white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.fq-final__phone:hover {
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .fq-trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .fq-trust {
    grid-template-columns: 1fr;
  }

  .fq-when__list {
    grid-template-columns: 1fr;
  }

  .fq-final {
    padding: 32px 24px;
  }

  .fq-final__contacts {
    flex-direction: column;
    gap: 8px;
  }
}


.breadcrumbs {
  margin-bottom: 8px;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.5px;
}

.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .breadcrumb_last {
  color: #999;
}

/* Contact Form */
.contact-form {
  width: 100%;
}

.contact-form__field {
  margin-bottom: 16px;
}

.contact-form__input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  color: var(--color-graphite);
  font-family: var(--font-sans);
  font-size: 1rem;
  box-sizing: border-box;
  outline: none;
  transition: box-shadow 0.2s;
}

.contact-form__input:focus {
  box-shadow: 0 0 0 2px rgba(129, 137, 52, 0.2);
}

.contact-form__input::placeholder {
  color: var(--color-graphite);
  opacity: 0.6;
}

.contact-form__phone-wrap {
  display: flex;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.contact-form__phone-wrap--error {
  border-color: #e53935;
}

.contact-form__phone-prefix {
  padding: 12px 0 12px 12px;
  color: #666;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.contact-form__phone-input {
  border: none;
  box-shadow: none;
}

.contact-form__phone-input:focus {
  box-shadow: none;
}

.contact-form__textarea {
  resize: none;
  overflow: hidden;
  min-height: 52px;
}

.contact-form__consent {
  font-size: 0.875rem;
  color: var(--color-graphite);
}

.contact-form__consent a {
  color: var(--color-primary);
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
}

.contact-form__submit-wrap {
  text-align: center;
}

.contact-form__message {
  margin-top: 12px;
  font-size: 0.9375rem;
  text-align: center;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay--open {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px 32px 32px;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.popup-overlay--open .popup {
  transform: translateY(0);
}

.popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-graphite);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.popup__close:hover {
  color: var(--color-primary);
}

.popup__title {
  text-align: center;
  margin: 0 0 8px;
  font-size: var(--text-h2);
  font-weight: 600;
  color: var(--color-graphite);
}

.popup__subtitle {
  text-align: center;
  margin: 0 0 24px;
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.5;
}

/* About page */
.section__title-about {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-graphite);
  margin: 0 0 24px;
}

.section__title-about--center {
  text-align: center;
}

.about-intro {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 0 32px;
}

.about-section {
  padding: var(--section-gap-desktop) 0;
}

.about-section--alt {
  background: #f8f8f8;
}

.about-reputation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-reputation__content p {
  margin: 0 0 1.5em;
  line-height: 1.8;
}

.about-reputation__image {
  position: sticky;
  top: 100px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-reputation__image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-quote {
  max-width: var(--content-width);
  margin: 0 auto 48px;
  padding: 24px 32px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-white);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--color-graphite);
}

.about-quote p {
  margin: 0;
}

.about-founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.about-founder {
  text-align: center;
}

.about-founder__photo {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-founder__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-founder__name {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0;
}

.about-simple {
  max-width: var(--content-width);
  margin: 0 auto;
}

.about-simple p {
  margin: 0 0 1.5em;
  line-height: 1.8;
  font-size: var(--text-body);
}

.about-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-people__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.about-people__image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-people__content p {
  margin: 0 0 1.5em;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .about-section {
    padding: var(--section-gap-tablet) 0;
  }

  .about-reputation {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-reputation__image {
    position: static;
  }

  .about-people {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .about-section {
    padding: var(--section-gap-mobile) 0;
  }

  .about-founders {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 360px;
  }

  .about-quote {
    padding: 20px;
    margin-bottom: 32px;
  }
}

/* Contacts page */
.contacts-section {
  padding: var(--section-gap-desktop) 0;
}

.contacts-section--alt {
  background: #f8f8f8;
}

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

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contacts-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contacts-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f1e0;
  border-radius: 10px;
}

.contacts-info__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts-info__label {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contacts-info__value {
  font-size: var(--text-body);
  color: var(--color-graphite);
  text-decoration: none;
  line-height: 1.5;
}

a.contacts-info__value:hover {
  color: var(--color-primary);
}

.contacts-info__messengers {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.contacts-info__messenger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-graphite);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.contacts-info__messenger:hover {
  border-color: var(--color-primary);
  background: #f0f1e0;
}

.contacts-info__messenger img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contacts-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: 12px;
  padding: 40px 32px;
}

.contacts-form-wrap__intro {
  margin: -12px 0 28px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.contacts-map {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .contacts-section {
    padding: var(--section-gap-tablet) 0;
  }

  .contacts-grid {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .contacts-section {
    padding: var(--section-gap-mobile) 0;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts-form-wrap {
    padding: 28px 20px;
  }

  .contacts-info__messengers {
    flex-direction: column;
    gap: 8px;
  }
}


/* ===========================================
   GAZOBETON — Why choose (section 1)
   =========================================== */
.gb-why {
  padding: 40px 0;
}

.gb-why__heading {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: 800px;
}

.gb-why__lead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 0 40px;
}

.gb-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}

.gb-why__card {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 24px 20px;
}

.gb-why__card-title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 10px;
}

.gb-why__card-text {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

@media (max-width: 1024px) {
  .gb-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .gb-why__grid {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   GAZOBETON — Pricing (section 2)
   =========================================== */
.gb-price {
  padding: 40px 0;
}

.gb-price__heading {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: 800px;
}

.gb-price__lead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 0 40px;
}

.gb-price__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 48px;
}

.gb-price__card {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}

.gb-price__card-title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 8px;
}

.gb-price__card-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px;
}

.gb-price__card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

.gb-price__subheading {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 12px;
  max-width: 800px;
}

.gb-price__sublead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 0 40px;
}

.gb-price__factors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px;
}

.gb-price__factor {
  background: var(--color-white);
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.gb-price__factor-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  color: var(--color-primary);
}

.gb-price__factor-icon svg {
  width: 32px;
  height: 32px;
}

.gb-price__factor-title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 8px;
}

.gb-price__factor-text {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

@media (max-width: 1024px) {
  .gb-price__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 767px) {
  .gb-price__grid {
    grid-template-columns: 1fr;
  }

  .gb-price__factors {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   GAZOBETON — Tech (section 3)
   =========================================== */
.gb-tech {
  padding: 40px 0;
}

.gb-tech__heading {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: 800px;
}

.gb-tech__lead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 0 40px;
}

.gb-tech__scheme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.gb-tech__step {
  flex: 0 1 auto;
}

.gb-tech__box {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 0;
  text-align: center;
  white-space: nowrap;
}

.gb-tech__arrow {
  color: var(--color-gray);
  font-size: 13px;
  line-height: 1;
  padding-bottom: 1px;
}

.gb-tech__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}

.gb-tech__card {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 24px 20px;
}

.gb-tech__card-title {
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-graphite);
  margin: 0 0 10px;
}

.gb-tech__card-text {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

.gb-tech__note {
  background: #f0f0f0;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  max-width: 800px;
}

.gb-tech__note p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0;
}

@media (max-width: 1024px) {
  .gb-tech__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .gb-tech__scheme {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .gb-tech__cards {
    grid-template-columns: 1fr;
  }

  .gb-tech__scheme {
    flex-wrap: wrap;
    gap: 8px;
  }

  .gb-tech__arrow {
    display: none;
  }
}


/* ===========================================
   GAZOBETON — Projects CTA
   =========================================== */
.gb-projects {
  padding: 40px 0;
  text-align: center;
}

.gb-projects__heading {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gb-projects__lead {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 800px;
  margin: 0 auto 32px;
}

.gb-projects__action {
  margin: 0;
}


/* ===========================================
   TECH SELECT — Technology choice grid
   =========================================== */
.ts {
  padding: 60px 0;
}

.ts__title {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: var(--content-width);
}

.ts__subtitle {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 0 40px;
  max-width: var(--content-width);
}

.ts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.ts-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}

.ts-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.ts-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ts-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  flex: 1;
}

.ts-card__title {
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0;
}

.ts-card__desc {
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--color-graphite);
  margin: 0;
}

.ts-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ts-card__list li {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-graphite);
  padding-left: 18px;
  position: relative;
}

.ts-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

.ts-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-button);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.2s;
}

.ts-card__btn:hover {
  color: var(--color-primary-hover);
}

.ts__cta {
  text-align: center;
  padding: 40px 0 0;
  border-top: 1px solid var(--color-gray);
}

.ts__cta-text {
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 8px;
}

.ts__cta-sub {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 0 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 767px) {
  .ts {
    padding: 30px 0;
  }

  .ts__title {
    font-size: var(--text-h3);
  }

  .ts__subtitle {
    font-size: var(--text-body);
    margin-bottom: 24px;
  }

  .ts__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-bottom: 32px;
    scrollbar-width: thin;
  }

  .ts__grid::-webkit-scrollbar {
    height: 4px;
  }

  .ts__grid::-webkit-scrollbar-thumb {
    background: var(--color-gray);
    border-radius: 2px;
  }

  .ts-card {
    min-width: 280px;
    max-width: 300px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .ts-card__body {
    padding: 16px;
  }

  .ts__cta {
    padding: 24px 0 0;
  }

  .ts__cta-text {
    font-size: var(--text-h4);
  }

  .ts__cta-sub {
    font-size: 14px;
  }
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent--visible {
  transform: translateY(0);
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px var(--container-padding-desktop);
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  border-radius: 12px 12px 0 0;
}

.cookie-consent__text {
  margin: 0;
  max-width: 720px;
}

.cookie-consent__btn {
  flex-shrink: 0;
  padding: 10px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cookie-consent__btn:hover {
  background: var(--color-primary-hover);
}

@media (max-width: 1024px) {
  .cookie-consent__inner {
    padding: 16px var(--container-padding-tablet);
  }
}

@media (max-width: 767px) {
  .cookie-consent__inner {
    flex-direction: column;
    text-align: center;
    padding: 16px var(--container-padding-mobile);
  }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scroll-top:hover {
  background: var(--color-primary-hover);
}

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

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


/* ===========================================
   APPROACH — Home building philosophy
   =========================================== */
.ap {
  padding: 60px 0;
  background: #f8f8f8;
}

.ap__title {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: var(--content-width);
}

.ap__subtitle {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 0 48px;
  max-width: var(--content-width);
}

.ap__scheme {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.ap__step {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.ap__step-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 16px 12px;
  border-radius: 12px;
  transition: background 0.2s;
  min-width: 100px;
  min-height: 136px;
}

.ap__step-link:hover {
  background: rgba(129, 137, 52, 0.08);
}

.ap__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: background 0.2s;
}

.ap__step-link:hover .ap__step-num {
  background: var(--color-primary-hover);
}

.ap__step-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-graphite);
  text-align: center;
  max-width: 100px;
}

.ap__step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 4px;
  align-self: flex-start;
  margin-top: 26px;
}

.ap__step-arrow svg {
  display: block;
}

.ap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.ap-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, transform 0.3s;
}

.ap-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.ap-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ap-card__title {
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 10px;
}

.ap-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0;
}

.ap__quote {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 32px 40px;
  background: var(--color-white);
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.ap__quote p {
  font-size: var(--text-body-lg);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0;
  font-style: italic;
}

.ap__cta {
  text-align: center;
}

.ap__cta-text {
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 8px;
}

.ap__cta-sub {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 0 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

  .ap__scheme {
    gap: 4px;
  }

  .ap__step-arrow {
    padding: 0 2px;
  }
}

@media (max-width: 767px) {
  .ap {
    padding: 30px 0;
  }

  .ap__title {
    font-size: var(--text-h3);
  }

  .ap__subtitle {
    font-size: var(--text-body);
    margin-bottom: 24px;
  }

  .ap__scheme {
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
  }

  .ap__step {
    flex-direction: column;
    width: 100%;
  }

  .ap__step-link {
    flex-direction: row;
    width: 100%;
    padding: 12px 16px;
    min-width: 0;
    min-height: auto;
  }

  .ap__step-label {
    text-align: left;
    max-width: none;
    flex: 1;
  }

  .ap__step-arrow {
    transform: rotate(90deg);
    padding: 0;
    height: 24px;
    margin-top: 0;
    margin-left: 26px;
  }

  .ap__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .ap-card {
    padding: 20px 16px;
  }

  .ap__quote {
    padding: 20px 16px;
    margin-bottom: 32px;
  }

  .ap__quote p {
    font-size: var(--text-body);
  }

  .ap__cta-text {
    font-size: var(--text-h4);
  }

  .ap__cta-sub {
    font-size: 14px;
  }
}


/* ===========================================
   PROJECTS — Completed projects grid
   =========================================== */
.projects {
  padding: 60px 0;
}

.projects__title,
.related__title {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: var(--content-width);
}

.projects__subtitle {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 0 40px;
  max-width: var(--content-width);
}

.projects__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.projects__filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--color-gray);
  border-radius: 6px;
  background: var(--color-white);
  color: var(--color-graphite);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.projects__filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.projects__filter-btn--active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.projects__filter-btn--active:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.projects-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}

.projects-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.projects-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}

.projects-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.projects-card:hover .projects-card__img {
  transform: scale(1.05);
}

.projects-card__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 14px;
}

.projects-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  flex: 1;
}

.projects-card__title {
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0;
}

.projects-card__chars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.projects-card__char {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.projects-card__char-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #999;
}

.projects-card__char-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-graphite);
}

.projects-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.projects-card__features li {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-graphite);
  padding-left: 18px;
  position: relative;
}

.projects-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

.projects-card__btn {
  margin-top: auto;
  align-self: flex-start;
}

.projects__all {
  text-align: center;
}

.projects__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #999;
  font-size: var(--text-body);
  padding: 40px 0;
  margin: 0;
}


/* ===========================================
   PROJECTS CTA — Quote after projects
   =========================================== */
.projects-cta {
  padding: 60px 0;
  background: #f8f8f8;
}

.projects-cta__quote {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 0;
  border: none;
}

.projects-cta__quote p {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
  margin: 0;
  text-align: center;
}

.projects-cta__text {
  font-size: var(--text-body-lg);
  line-height: 1.7;
  color: var(--color-graphite);
  margin: 0 auto 8px;
  max-width: var(--content-width);
  text-align: center;
}

.projects-cta__sub {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 auto 40px;
  max-width: var(--content-width);
  text-align: center;
}

.projects-cta__action {
  text-align: center;
}

.projects-cta__action-text {
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 8px;
}

.projects-cta__action-sub {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 0 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


/* ===========================================
   COST — Cost breakdown grid
   =========================================== */
.cost {
  padding: 60px 0;
}

.cost__title {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 16px;
  max-width: var(--content-width);
}

.cost__subtitle {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 0 40px;
  max-width: var(--content-width);
}

.cost__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.cost-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 24px 20px;
  cursor: default;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
  position: relative;
}

.cost-card:hover {
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.cost-card__icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.cost-card__title {
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 8px;
}

.cost-card__hint {
  font-size: 13px;
  line-height: 1.5;
  color: #888;
  margin: 0;
  display: none;
}

.cost-card:hover .cost-card__hint {
  display: block;
}

.cost__quote {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.cost__quote-text {
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 12px;
}

.cost__quote-sub {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0;
}

.cost__cta {
  text-align: center;
}

.cost__cta-text {
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-graphite);
  margin: 0 0 8px;
}

.cost__cta-sub {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-graphite);
  margin: 0 0 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

@media (max-width: 767px) {
  .projects {
    padding: 30px 0;
  }

  .projects__title {
    font-size: var(--text-h3);
  }

  .projects__subtitle {
    font-size: var(--text-body);
    margin-bottom: 24px;
  }

  .projects__filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .projects__filter::-webkit-scrollbar {
    display: none;
  }

  .projects__filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

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

  .projects__all {
    text-align: center;
  }

  .projects-cta {
    padding: 30px 0;
  }

  .projects-cta__quote p {
    font-size: var(--text-h3);
  }

  .projects-cta__text {
    font-size: var(--text-body);
  }

  .projects-cta__action-text {
    font-size: var(--text-h4);
  }

  .projects-cta__action-sub {
    font-size: 14px;
  }

  .cost {
    padding: 30px 0;
  }

  .cost__title {
    font-size: var(--text-h3);
  }

  .cost__subtitle {
    font-size: var(--text-body);
    margin-bottom: 24px;
  }

  .cost__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

  .cost-card {
    padding: 16px;
  }

  .cost-card__icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .cost-card__title {
    font-size: 14px;
  }

  .cost__cta-text {
    font-size: var(--text-h4);
  }

  .cost__cta-sub {
    font-size: 14px;
  }
}


