/* Project-specific adaptation layer for the Ravelo template. */
:root {
  --site-graphite: #1d2221;
  --site-green: #232c27;
  --site-orange: #f69321;
  --site-sage: #7f8f7e;
  --site-milk: #fcfcfb;
  --site-border: #3c443f;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body,
body .page-wrapper {
  background: var(--site-milk);
}

body {
  --primary-color: #667e69;
  --secondary-color: var(--site-orange);
  --heading-color: var(--site-graphite);
  --lighter-color: #f3f4ef;
  --border-color: #dfe3de;
  --primary-rgb: 102, 126, 105;
  --secondary-rgb: 246, 147, 33;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--site-graphite);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}

.site-logo:hover {
  color: var(--site-graphite);
}

.site-logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--site-orange);
  color: var(--site-graphite);
  font-size: 18px;
}

.header-upper {
  border-bottom: 0;
}

.main-header .header-upper {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.main-header.fixed-header .header-upper {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.main-header .menu-btns {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.main-header .navigation > li > a {
  padding: 11px 10px !important;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.main-header .navigation > li {
  margin: 0;
}

.main-header .menu-btns .theme-btn {
  margin-right: 0;
  padding: 11px 22px;
}

.main-header .menu-btns .theme-btn span {
  white-space: nowrap;
}

.mobile-estimate-item {
  display: none !important;
}

.home-overlay-header {
  position: absolute;
  inset: 0 0 auto;
}

@media (min-width: 992px) {
  .main-header .header-upper {
    background: transparent !important;
  }

  .main-header .header-upper > .container-fluid {
    max-width: 1420px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .main-header .header-inner {
    padding: 17px 20px;
    border: 1px solid rgba(60, 68, 63, .12);
    border-radius: 999px;
    background: white;
    box-shadow: 0 10px 30px rgba(29, 34, 33, .06);
  }

  .main-header .menu-btns {
    margin-left: 28px;
  }

  .main-header.header-one .main-menu .navbar-collapse .navigation > li:hover {
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--primary-color);
  }

  .main-header.header-one .main-menu .navbar-collapse .navigation > li:hover > a,
  .main-header.header-one .main-menu .navbar-collapse .navigation > li > a:hover {
    color: var(--heading-color);
    text-decoration: none;
  }
}

@media (min-width: 1400px) {
  .main-header .navigation > li > a {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .main-header .menu-btns {
    margin-right: 28px;
  }

  .main-header .menu-btns .theme-btn {
    padding: 9px 16px;
    font-size: 13px;
  }

  .main-header .menu-btns .theme-btn i {
    margin-left: 8px;
  }
}

@media (max-width: 991px) {
  .home-overlay-header .header-upper {
    background: transparent !important;
  }

  .home-overlay-header .header-upper > .container-fluid {
    padding-right: 12px;
    padding-left: 12px;
  }

  .home-overlay-header .header-inner {
    padding: 10px 12px;
    border: 1px solid rgba(60, 68, 63, .12);
    border-radius: 999px;
    background: white;
    box-shadow: 0 10px 30px rgba(29, 34, 33, .06);
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .main-header .navigation > li > a {
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 13px;
  }

  .main-header .menu-btns .theme-btn {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 13px;
  }

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

  .site-logo-mark {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 1399px) and (min-width: 1280px) {
  .main-header .navigation > li > a {
    padding-right: 9px !important;
    padding-left: 9px !important;
  }
}

.hero-house {
  min-height: 560px;
  padding-top: 114px !important;
  padding-bottom: 26px !important;
  display: flex;
  align-items: flex-end;
  background-position: center;
  position: relative;
}

.hero-house::before,
.page-banner-area::before,
.image-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 27, 24, .88), rgba(20, 27, 24, .34) 62%, rgba(20, 27, 24, .18));
}

.hero-house .container,
.page-banner-area .container,
.image-cta .container {
  position: relative;
  z-index: 2;
}

.hero-house h1 {
  max-width: 980px;
  font-size: clamp(40px, 4.8vw, 69px);
  line-height: .98;
  letter-spacing: -.04em;
}

.hero-house .lead {
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
}

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

.hero-actions .theme-btn {
  min-width: 205px;
  justify-content: center;
}

.trust-strip {
  margin-top: -1px;
  background: var(--site-green);
  color: white;
}

.trust-item {
  height: 100%;
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, .13);
}

.trust-item i {
  color: var(--site-orange);
  font-size: 24px;
  margin-bottom: 12px;
}

.trust-item strong {
  display: block;
  color: white;
  font-size: 18px;
  line-height: 1.25;
}

.trust-item span {
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--site-orange);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}

.section-title {
  max-width: 850px;
}

.section-title h2 {
  letter-spacing: -.025em;
}

.demo-note {
  padding: 14px 18px;
  border-left: 3px solid var(--site-orange);
  background: #fff7ed;
  color: #6b5135;
  border-radius: 0 8px 8px 0;
}

.selection-panel {
  margin-top: -18px;
  position: relative;
  z-index: 5;
  border-radius: 14px;
  background: white;
  box-shadow: 0 20px 70px rgba(29, 34, 33, .13);
  padding: 32px;
}

.selection-panel label {
  color: var(--site-graphite);
  font-weight: 600;
}

.selection-panel select,
.selection-panel input,
.selection-panel textarea,
.selection-panel .nice-select,
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
  border-color: #dfe3de;
  border-radius: 8px;
  background: white;
}

.selection-panel .nice-select {
  min-width: 0;
  max-width: 100%;
}

.selection-panel .nice-select .current {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selection-panel .selection-submit .theme-btn {
  height: 60px;
  min-height: 60px;
}

.project-card,
.scenario-card,
.feature-card,
.package-card,
.step-card,
.case-card,
.material-card {
  height: 100%;
  background: white;
  border: 1px solid #e2e5e1;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: auto;
}

.case-gallery-card {
  display: flex;
  flex-direction: column;
}

.case-gallery-card .image {
  flex: 0 0 auto;
  background: var(--site-graphite);
}

.case-gallery-item {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  cursor: zoom-in;
}

.case-gallery-item.is-active {
  position: absolute;
  opacity: 1;
  visibility: visible;
}

.case-gallery-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(29, 34, 33, .78);
  box-shadow: 0 8px 24px rgba(29, 34, 33, .2);
  backdrop-filter: blur(8px);
}

.case-gallery-controls button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--site-graphite);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.case-gallery-controls button:hover {
  background: var(--site-orange);
  color: white;
  transform: scale(1.05);
}

.case-gallery-count {
  min-width: 42px;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  text-align: center;
}

.case-gallery-count b {
  color: white;
  font-weight: 600;
}

.case-card__title {
  min-height: 104px;
  padding: 24px;
}

.case-card__title h3 {
  margin: 0;
  font-size: 25px;
}

.case-card__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
  border-top: 1px solid #e2e5e1;
}

.case-card__details p {
  margin: 0 0 22px;
}

.case-card__gallery-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--site-graphite);
  font-weight: 600;
}

.case-card__gallery-link i {
  margin-left: 8px;
  transition: transform .2s ease;
}

.case-card__gallery-link:hover {
  color: var(--site-orange);
}

.case-card__gallery-link:hover i {
  transform: translateX(4px);
}

.owner-stories-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.owner-stories-head .section-title {
  max-width: 780px;
}

.owner-stories-nav {
  display: flex;
  gap: 10px;
  padding-bottom: 4px;
}

.owner-stories-nav button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #d9ddd8;
  border-radius: 50%;
  background: white;
  color: var(--site-graphite);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.owner-stories-nav button:hover {
  border-color: var(--site-orange);
  background: var(--site-orange);
  color: white;
  transform: translateY(-2px);
}

.owner-stories-nav button:focus:not(:hover) {
  border-color: #d9ddd8;
  outline: none;
  background: white;
  color: var(--site-graphite);
  transform: none;
}

.owner-stories-nav button:focus-visible {
  outline: 2px solid var(--site-orange);
  outline-offset: 3px;
}

.owner-story-slide {
  padding: 2px;
}

.owner-story-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 420px;
  overflow: hidden;
  border: 1px solid #e2e5e1;
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 45px rgba(29, 34, 33, .08);
}

.owner-story-copy {
  height: 420px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px;
}

.owner-story-quote {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #f9b25d;
  color: var(--site-graphite);
  font-size: 18px;
}

.owner-story-copy h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.owner-story-copy blockquote {
  margin: 0 0 18px;
  padding: 16px 18px;
  color: #555e59;
  background: #f6f7f4;
  border-color: #e2e5e1;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.owner-story-person {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  margin-bottom: 14px;
}

.owner-story-person strong {
  color: var(--site-graphite);
}

.owner-story-person span {
  color: #737c77;
  font-size: 14px;
}

.owner-story-copy .theme-btn {
  min-width: 205px;
  justify-content: center;
  padding: 13px 22px;
  font-size: 15px;
}

.owner-story-video {
  position: relative;
  height: 420px;
  min-height: 420px;
  align-self: start;
  overflow: hidden;
  background: var(--site-graphite);
}

.owner-story-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-story-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(29, 34, 33, .82), rgba(29, 34, 33, .08) 65%);
}

.owner-story-video-overlay {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 32px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 2px 16px;
  color: white;
}

.owner-story-play {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--site-orange);
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(246, 147, 33, .3);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.owner-story-play:hover,
.owner-story-play:focus-visible {
  background: #ff9f32;
  color: white;
  transform: scale(1.07);
  box-shadow: 0 13px 32px rgba(246, 147, 33, .4);
}

.owner-story-play:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.owner-story-video-overlay strong {
  color: white;
  font-size: 18px;
}

.owner-story-video-overlay small {
  color: rgba(255, 255, 255, .72);
}

.owner-video-modal {
  position: relative;
  width: min(920px, calc(100vw - 32px));
  margin: 40px auto;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

.owner-video-modal__frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
}

.owner-video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.owner-video-modal .mfp-close {
  top: -42px;
  right: 0;
  color: white;
  opacity: 1;
}

.owner-stories-dots .slick-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
}

.owner-stories-dots .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  background: transparent;
}

.owner-stories-dots .slick-dots li::before {
  display: none;
}

.owner-stories-dots .slick-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--site-orange);
  border-radius: 50%;
  background: white;
  opacity: 1;
  font-size: 0;
  transition: background .2s ease, transform .2s ease;
}

.owner-stories-dots .slick-dots li.slick-active {
  margin: 0;
}

.owner-stories-dots .slick-dots .slick-active button {
  background: var(--site-orange);
  transform: scale(1.12);
}

.faq-contact-note {
  max-width: 390px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e2e5e1;
}

.faq-contact-note p {
  margin-bottom: 16px;
  color: var(--site-graphite);
  font-weight: 600;
}

.project-card .content {
  display: flex;
  flex: none;
  flex-direction: column;
  padding: 0;
}

.project-card__header {
  padding: 16px 18px 14px;
}

.project-card h3 {
  margin-bottom: 0;
}

.project-card .project-meta {
  gap: 6px 16px;
  margin: 8px 0 0;
}

.project-card__description {
  border-top: 1px solid #edf0ec;
  flex: none;
  padding: 14px 18px;
}

.project-card__description p {
  margin-bottom: 0;
}

.project-card__actions {
  border-top: 1px solid #edf0ec;
  display: flex;
  flex-direction: column;
  gap: 12px !important;
  padding: 14px 18px 16px;
}

.project-card__buttons {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}

.project-card__buttons .theme-btn {
  font-size: 15px;
  justify-content: center;
  min-height: 52px;
  padding: 10px 14px;
  white-space: nowrap;
}

@media (max-width: 479px) {
  .project-card__buttons {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .project-card__header {
    min-height: var(--project-header-height, auto);
  }

  .project-card__description {
    min-height: var(--project-description-height, auto);
  }
}

.project-card:hover,
.scenario-card:hover,
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(29, 34, 33, .12);
}

.project-card .image,
.case-card .image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.16 / 1;
}

.project-card .image img,
.case-card .image img,
.gallery-tile img,
.detail-gallery img,
.scenario-card img,
.material-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card .badge,
.case-card .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--site-orange);
  color: var(--site-graphite);
  border-radius: 50px;
  padding: 7px 12px;
  font-weight: 600;
}

.case-card .content,
.scenario-card .content,
.feature-card,
.package-card,
.step-card,
.material-card .content {
  padding: 24px;
}

.project-meta {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  color: #68716c;
  font-size: 14px;
  margin: 12px 0;
}

.project-meta i {
  color: var(--primary-color);
  margin-right: 5px;
}

.project-price {
  color: var(--site-graphite);
  font-weight: 700;
}

.scenario-showcase__head {
  align-items: flex-end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 34px;
}

.projects-showcase-section {
  padding-bottom: 34px;
}

.scenario-showcase {
  padding-bottom: 100px;
  padding-top: 51px;
}

.technology-advantages-section {
  padding-bottom: 100px;
  padding-top: 51px;
}

.scenario-showcase__head .section-title {
  margin-bottom: 0;
  max-width: 760px;
}

.scenario-showcase__head .section-title h2 {
  font-size: clamp(38px, 4vw, 56px);
  margin-bottom: 8px;
}

.scenario-showcase__head .section-title p {
  font-size: 18px;
  margin-bottom: 0;
  max-width: 680px;
}

.scenario-showcase__head > .theme-btn {
  flex: 0 0 auto;
  margin-bottom: 6px;
}

.scenario-card {
  display: flex;
  flex-direction: column;
}

.scenario-card .image {
  height: 270px;
  position: relative;
}

.scenario-card__badge {
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border-radius: 50px;
  color: var(--site-graphite);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  left: 14px;
  padding: 9px 14px;
  position: absolute;
  top: 14px;
  z-index: 2;
}

.scenario-card__badge i {
  color: var(--site-orange);
  font-size: 17px;
}

.scenario-card .content {
  flex: 1;
  min-height: 188px;
  padding: 20px 68px 22px 22px;
  position: relative;
}

.scenario-card .content p {
  margin-bottom: 0;
}

.scenario-card__link {
  align-items: center;
  border: 1px solid #e4d4c1;
  border-radius: 50%;
  bottom: 18px;
  color: var(--site-orange);
  display: flex;
  height: 48px;
  justify-content: center;
  position: absolute;
  right: 18px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  width: 48px;
}

.scenario-card__link:hover {
  background: var(--site-orange);
  color: white;
  transform: translateX(3px);
}

.scenario-card h3,
.feature-card h3,
.package-card h3,
.step-card h3 {
  font-size: 23px;
}

@media (max-width: 991px) {
  .scenario-showcase__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .scenario-showcase__head > .theme-btn {
    margin-bottom: 0;
  }
}

@media (max-width: 575px) {
  .scenario-showcase__head .section-title h2 {
    font-size: 34px;
  }

  .scenario-showcase__head .section-title p {
    font-size: 16px;
  }

  .scenario-showcase__head > .theme-btn {
    justify-content: center;
    width: 100%;
  }

  .scenario-card .image {
    height: 240px;
  }
}

.feature-card i,
.package-card i,
.step-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--site-graphite);
  background: #f9b25d;
  border-radius: 50%;
  font-size: 22px;
  margin-bottom: 18px;
}

.dark-section {
  background: var(--site-graphite);
  color: rgba(255, 255, 255, .7);
}

.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: white;
}

.dark-section .feature-card,
.dark-section .package-card,
.dark-section .step-card {
  background: var(--site-green);
  border-color: var(--site-border);
}

.dark-section .feature-card p,
.dark-section .package-card p,
.dark-section .step-card p {
  color: rgba(255, 255, 255, .68);
}

.package-list li,
.check-list li {
  position: relative;
  padding-left: 27px;
  margin-bottom: 10px;
}

.package-list li::before,
.check-list li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--site-orange);
  font-family: "Font Awesome 5 Pro";
}

.gallery-tile {
  display: block;
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(29, 34, 33, .75), transparent 55%);
}

.gallery-tile .caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  color: white;
}

.gallery-tile .caption h3 {
  color: white;
  margin: 0;
}

.image-cta {
  position: relative;
  background-size: cover;
  background-position: center;
}

.image-cta h2 {
  color: white;
}

.image-cta p {
  color: rgba(255, 255, 255, .78);
}

.detail-gallery .main-image {
  height: 560px;
  border-radius: 12px;
  overflow: hidden;
}

.detail-gallery .small-image {
  height: 270px;
  border-radius: 12px;
  overflow: hidden;
}

.project-summary {
  position: sticky;
  top: 115px;
  padding: 30px;
  border-radius: 12px;
  background: var(--site-green);
  color: rgba(255, 255, 255, .72);
}

.project-summary h3,
.project-summary h4 {
  color: white;
}

.project-summary .summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.project-summary .summary-row strong {
  color: white;
  text-align: right;
}

.floorplan {
  min-height: 380px;
  display: grid;
  place-items: center;
  border: 1px dashed #aeb7af;
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 49.6%, #d9ddd9 50%, transparent 50.4%),
    linear-gradient(transparent 49.6%, #d9ddd9 50%, transparent 50.4%),
    #f7f8f5;
  background-size: 90px 90px;
  text-align: center;
  padding: 30px;
}

.material-card .image {
  height: 170px;
}

.timeline-line {
  position: relative;
}

.timeline-line::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(246, 147, 33, .45);
}

.timeline-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  position: relative;
  margin-bottom: 36px;
}

.timeline-item .step-number {
  position: relative;
  z-index: 2;
  margin: 0;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 42px;
}

.work-step-item {
  position: relative;
  min-width: 0;
}

.work-step-item:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

.work-step-item:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

.work-step-item:nth-child(6) {
  grid-column: 1;
  grid-row: 2;
}

.work-step-connector {
  position: absolute;
  z-index: 3;
  left: 100%;
  top: 50%;
  width: 42px;
  height: 18px;
  color: var(--site-orange);
  border-top: 2px dashed rgba(246, 147, 33, .6);
  pointer-events: none;
}

.work-step-connector i {
  position: absolute;
  right: -1px;
  top: -11px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--site-orange);
  color: white;
  box-shadow: 0 4px 12px rgba(246, 147, 33, .28);
}

.work-step-connector i::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.work-step-connector i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.work-step-item:nth-child(3) .work-step-connector {
  left: 50%;
  top: 100%;
  width: 18px;
  height: 52px;
  border-top: 0;
  border-left: 2px dashed rgba(246, 147, 33, .6);
}

.work-step-item:nth-child(3) .work-step-connector i {
  right: auto;
  left: -11px;
  top: auto;
  bottom: -1px;
  transform: rotate(90deg);
}

.work-step-item:nth-child(4) .work-step-connector,
.work-step-item:nth-child(5) .work-step-connector {
  left: auto;
  right: 100%;
}

.work-step-item:nth-child(4) .work-step-connector i,
.work-step-item:nth-child(5) .work-step-connector i {
  left: -1px;
  right: auto;
  transform: rotate(180deg);
}

@media (max-width: 991px) and (min-width: 576px) {
  .work-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 34px;
  }

  .work-step-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .work-step-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .work-step-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .work-step-item:nth-child(4) { grid-column: 1; grid-row: 2; }
  .work-step-item:nth-child(5) { grid-column: 1; grid-row: 3; }
  .work-step-item:nth-child(6) { grid-column: 2; grid-row: 3; }

  .work-step-connector {
    width: 34px;
  }

  .work-step-item:nth-child(2) .work-step-connector,
  .work-step-item:nth-child(4) .work-step-connector {
    left: 50%;
    right: auto;
    top: 100%;
    width: 18px;
    height: 46px;
    border-top: 0;
    border-left: 2px dashed rgba(246, 147, 33, .6);
  }

  .work-step-item:nth-child(2) .work-step-connector i,
  .work-step-item:nth-child(4) .work-step-connector i {
    left: -11px;
    right: auto;
    top: auto;
    bottom: -1px;
    transform: rotate(90deg);
  }

  .work-step-item:nth-child(3) .work-step-connector {
    left: auto;
    right: 100%;
    top: 50%;
    width: 34px;
    height: 18px;
    border-top: 2px dashed rgba(246, 147, 33, .6);
    border-left: 0;
  }

  .work-step-item:nth-child(3) .work-step-connector i {
    left: -1px;
    top: -11px;
    bottom: auto;
    transform: rotate(180deg);
  }

  .work-step-item:nth-child(5) .work-step-connector {
    left: 100%;
    right: auto;
  }

  .work-step-item:nth-child(5) .work-step-connector i {
    left: auto;
    right: -1px;
    transform: none;
  }
}

@media (max-width: 575px) {
  .work-steps {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .work-step-item,
  .work-step-item:nth-child(4),
  .work-step-item:nth-child(5),
  .work-step-item:nth-child(6) {
    grid-column: 1;
    grid-row: auto;
  }

  .work-step-connector,
  .work-step-item:nth-child(3) .work-step-connector,
  .work-step-item:nth-child(4) .work-step-connector,
  .work-step-item:nth-child(5) .work-step-connector {
    left: 50%;
    right: auto;
    top: 100%;
    width: 18px;
    height: 42px;
    border-top: 0;
    border-left: 2px dashed rgba(246, 147, 33, .6);
  }

  .work-step-connector i,
  .work-step-item:nth-child(3) .work-step-connector i,
  .work-step-item:nth-child(4) .work-step-connector i,
  .work-step-item:nth-child(5) .work-step-connector i {
    left: -11px;
    right: auto;
    top: auto;
    bottom: -1px;
    transform: rotate(90deg);
  }
}

.filter-bar {
  padding: 24px;
  border-radius: 12px;
  background: white;
  border: 1px solid #e2e5e1;
}

.filter-bar select,
.filter-bar .nice-select {
  border: 1px solid #dfe3de;
  border-radius: 8px;
}

.filter-empty {
  display: none;
  padding: 30px;
  border: 1px dashed #aeb7af;
  border-radius: 12px;
  text-align: center;
}

.contact-form-wrap {
  padding: 36px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(29, 34, 33, .1);
}

.contact-form-wrap .nice-select {
  width: 100%;
  min-height: 60px;
  padding: 15px 48px 15px 30px;
  border: 1px solid #dfe3de;
  border-radius: 8px;
  background: white;
  line-height: 28px;
}

.contact-form-wrap .nice-select:hover,
.contact-form-wrap .nice-select:focus,
.contact-form-wrap .nice-select.open {
  border-color: var(--primary-color);
}

.contact-form-wrap .nice-select .current {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-form-wrap .form-required-note {
  margin: 0 0 14px;
  color: #727975;
  font-size: 14px;
}

.contact-form-wrap .form-required-note span,
.required-mark {
  color: var(--secondary-color);
  font-weight: 700;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 8px;
  background: #eaf4e8;
  color: #345332;
}

.accordion-item {
  border-color: #dfe3de;
}

.accordion-button:not(.collapsed) {
  background: #eef2ed;
  color: var(--site-graphite);
  box-shadow: none;
}

.main-footer .footer-widget p,
.main-footer .footer-widget a,
.main-footer .footer-widget li {
  color: rgba(255, 255, 255, .65);
}

.footer-contacts {
  display: grid;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
}

.footer-contact-item > i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--site-orange);
  font-size: 17px;
}

.footer-contact-item div {
  display: grid;
  gap: 2px;
}

.footer-contact-item strong {
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.main-footer .footer-contact-item span,
.main-footer .footer-contact-item a {
  color: rgba(255, 255, 255, .65);
  line-height: 1.45;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: none;
  border: 0;
  background-color: var(--site-orange);
  box-shadow: 0 10px 30px rgba(29, 34, 33, .2);
}

.footer-note {
  max-width: 480px;
}

.page-banner-area {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  background-position: center;
}

.page-banner-area h1,
.page-banner-area h2,
.page-banner-area p,
.page-banner-area a {
  color: white;
}

.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, .6);
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, .68);
}

.legal-note {
  font-size: 13px;
  color: #7a817d;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .main-header .navigation > li {
    margin: 0 2px;
  }

  .main-header .navigation > li > a {
    padding: 10px 9px !important;
    font-size: 11px;
    line-height: 1.25;
  }

  .main-header .theme-btn {
    display: inline-flex !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 13px;
    margin-right: 0;
  }

  .main-header .menu-btns .theme-btn span {
    font-size: 0;
  }

  .main-header .menu-btns .theme-btn span::after {
    content: "Расчёт";
    font-size: 13px;
  }

  .site-logo {
    font-size: 15px;
  }

  .site-logo-mark {
    width: 34px;
    height: 34px;
  }

  .nav-outer {
    padding-left: 10px !important;
  }
}

@media (max-width: 991px) {
  .header-upper {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .menu-btns .theme-btn {
    display: none;
  }

  .main-header .navigation > li.mobile-estimate-item {
    display: block !important;
    margin: 14px 15px 0;
    border-top: 0;
  }

  .main-header .navigation > li.mobile-estimate-item > a {
    color: var(--site-graphite);
    background: var(--site-orange);
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
  }

  .hero-house {
    min-height: 540px;
  }

  .selection-panel {
    margin-top: 30px;
  }

  .project-summary {
    position: static;
  }

  .detail-gallery .main-image {
    height: 440px;
  }

  .owner-story-frame {
    grid-template-columns: 1fr;
    height: auto;
  }

  .owner-story-copy {
    height: auto;
    min-height: 380px;
  }

  .owner-story-video {
    height: 380px;
    min-height: 380px;
  }
}

@media (max-width: 767px) {
  .hero-house {
    min-height: 520px;
    padding-top: 120px !important;
    padding-bottom: 60px !important;
  }

  .hero-house h1 {
    font-size: 36px;
  }

  .hero-house .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .selection-panel,
  .contact-form-wrap {
    padding: 24px 20px;
  }

  .trust-item {
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

  .gallery-tile {
    height: 310px;
  }

  .case-card__title {
    min-height: auto;
  }

  .owner-stories-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .owner-story-copy {
    height: auto;
    min-height: auto;
    padding: 28px 24px;
  }

  .owner-story-video {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    flex: 0 0 320px;
  }

  .owner-story-video-overlay {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .detail-gallery .main-image,
  .detail-gallery .small-image {
    height: 320px;
  }
}

@media (max-width: 575px) {
  .hero-house h1 {
    font-size: 31px;
  }

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

  .page-banner-area {
    min-height: 285px;
  }

  .site-logo span:last-child {
    max-width: 150px;
    white-space: normal;
  }
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}

.lead-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 21, .72);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 42px;
  border-radius: 18px;
}

.lead-modal__heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.lead-modal__heading h2 {
  margin-bottom: 8px;
}

.lead-modal__heading p {
  margin-bottom: 0;
  color: #68716c;
}

.lead-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #dfe3de;
  border-radius: 50%;
  background: white;
  color: var(--site-graphite);
  font-size: 19px;
  transition: border-color .2s ease, background .2s ease;
}

.lead-modal__close:hover,
.lead-modal__close:focus-visible {
  border-color: var(--site-orange);
  background: #fff6ea;
}

body.lead-modal-open {
  overflow: hidden;
}

.client-consent {
  margin-bottom: 20px;
}

.client-consent label {
  display: inline-flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  color: #626a65;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}

.client-consent input[type="checkbox"] {
  appearance: auto;
  flex: 0 0 20px;
  width: 20px !important;
  min-width: 20px;
  height: 20px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  accent-color: var(--site-orange);
  cursor: pointer;
}

.demo-form [data-consent-submit]:disabled {
  border-color: #c8ceca !important;
  background: #c8ceca !important;
  color: #707873 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  filter: none;
  opacity: 1;
  pointer-events: none;
}

.demo-form [data-consent-submit]:disabled i,
.demo-form [data-consent-submit]:disabled span {
  color: inherit !important;
}

.quick-selection-consent {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .contacts-directory__head,
  .contact-form-heading,
  .requisites-panel {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .company-requisites > div:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .contacts-modal-cta__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}

@media (max-width: 767px) {
  .company-requisites {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .company-requisites > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .contact-form-wrap--wide {
    padding: 28px 22px;
  }
}

@media (max-width: 575px) {
  .requisites-panel {
    padding: 24px 20px;
  }

  .company-requisites {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .company-requisites > div,
  .company-requisites > div:nth-child(3) {
    padding: 12px 0;
    border-top: 1px solid #e3e6e2;
    border-left: 0;
  }

  .contacts-modal-cta__inner {
    padding: 28px 22px;
  }

  .contacts-modal-cta__inner .theme-btn {
    justify-content: center;
    width: 100%;
  }

  .lead-modal {
    align-items: end;
    padding: 10px;
  }

  .lead-modal__dialog {
    max-height: calc(100vh - 20px);
    padding: 32px 20px 24px;
    border-radius: 16px;
  }

  .lead-modal__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .lead-modal__heading {
    padding-right: 34px;
  }
}

.contact-form-wrap .nice-select {
  width: 100%;
  min-height: 60px;
  padding: 15px 48px 15px 30px;
  border: 1px solid #dfe3de;
  border-radius: 8px;
  background: white;
  line-height: 28px;
}

.contact-form-wrap .nice-select:hover,
.contact-form-wrap .nice-select:focus,
.contact-form-wrap .nice-select.open {
  border-color: var(--primary-color);
}

.contact-form-wrap .nice-select .current {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-form-wrap .form-required-note {
  margin: 0 0 14px;
  color: #727975;
  font-size: 14px;
}

.contact-form-wrap .form-required-note span,
.required-mark {
  color: var(--secondary-color);
  font-weight: 700;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 8px;
  background: #eaf4e8;
  color: #345332;
}

.accordion-item {
  border-color: #dfe3de;
}

.accordion-button:not(.collapsed) {
  background: #eef2ed;
  color: var(--site-graphite);
  box-shadow: none;
}

.main-footer .footer-widget p,
.main-footer .footer-widget a,
.main-footer .footer-widget li {
  color: rgba(255, 255, 255, .65);
}

.footer-contacts {
  display: grid;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
}

.footer-contact-item > i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--site-orange);
  font-size: 17px;
}

.footer-contact-item div {
  display: grid;
  gap: 2px;
}

.footer-contact-item strong {
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.main-footer .footer-contact-item span,
.main-footer .footer-contact-item a {
  color: rgba(255, 255, 255, .65);
  line-height: 1.45;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: none;
  border: 0;
  background-color: var(--site-orange);
  box-shadow: 0 10px 30px rgba(29, 34, 33, .2);
}

.footer-note {
  max-width: 480px;
}

.page-banner-area {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  background-position: center;
}

.page-banner-area h1,
.page-banner-area h2,
.page-banner-area p,
.page-banner-area a {
  color: white;
}

.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, .6);
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, .68);
}

.legal-note {
  font-size: 13px;
  color: #7a817d;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .main-header .navigation > li {
    margin: 0 2px;
  }

  .main-header .navigation > li > a {
    padding: 10px 9px !important;
    font-size: 11px;
    line-height: 1.25;
  }

  .main-header .theme-btn {
    display: inline-flex !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 13px;
    margin-right: 0;
  }

  .main-header .menu-btns .theme-btn span {
    font-size: 0;
  }

  .main-header .menu-btns .theme-btn span::after {
    content: "Расчёт";
    font-size: 13px;
  }

  .site-logo {
    font-size: 15px;
  }

  .site-logo-mark {
    width: 34px;
    height: 34px;
  }

  .nav-outer {
    padding-left: 10px !important;
  }
}

@media (max-width: 991px) {
  .header-upper {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .menu-btns .theme-btn {
    display: none;
  }

  .main-header .navigation > li.mobile-estimate-item {
    display: block !important;
    margin: 14px 15px 0;
    border-top: 0;
  }

  .main-header .navigation > li.mobile-estimate-item > a {
    color: var(--site-graphite);
    background: var(--site-orange);
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
  }

  .hero-house {
    min-height: 540px;
  }

  .selection-panel {
    margin-top: 30px;
  }

  .project-summary {
    position: static;
  }

  .detail-gallery .main-image {
    height: 440px;
  }

  .owner-story-frame {
    grid-template-columns: 1fr;
    height: auto;
  }

  .owner-story-copy {
    height: auto;
    min-height: 380px;
  }

  .owner-story-video {
    height: 380px;
    min-height: 380px;
  }
}

@media (max-width: 767px) {
  .hero-house {
    min-height: 520px;
    padding-top: 120px !important;
    padding-bottom: 60px !important;
  }

  .hero-house h1 {
    font-size: 36px;
  }

  .hero-house .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .selection-panel,
  .contact-form-wrap {
    padding: 24px 20px;
  }

  .trust-item {
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

  .gallery-tile {
    height: 310px;
  }

  .case-card__title {
    min-height: auto;
  }

  .owner-stories-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .owner-story-copy {
    height: auto;
    min-height: auto;
    padding: 28px 24px;
  }

  .owner-story-video {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    flex: 0 0 320px;
  }

  .owner-story-video-overlay {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .detail-gallery .main-image,
  .detail-gallery .small-image {
    height: 320px;
  }
}

@media (max-width: 575px) {
  .hero-house h1 {
    font-size: 31px;
  }

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

  .page-banner-area {
    min-height: 285px;
  }

  .site-logo span:last-child {
    max-width: 150px;
    white-space: normal;
  }
}

.lead-modal__dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.lead-modal__heading h2{font-size:28px}.client-consent input{width:18px;height:18px}.theme-btn:disabled{opacity:.55;cursor:not-allowed}

.cookie-banner[hidden]{display:none!important}.cookie-banner{position:fixed;bottom:16px;left:16px;right:16px;z-index:10000;background:white;box-shadow:0 4px 35px #0003;border-radius:16px;padding:22px;display:flex;gap:22px;align-items:center}.cookie-banner p{margin:8px 0 0;max-width:760px}.cookie-actions{display:flex;gap:12px;flex-wrap:wrap}.cookie-actions button{border:1px solid #adb5af;border-radius:8px;padding:10px 15px;background:#edf2ed}.cookie-actions button:disabled{opacity:.5}.legal-document{max-width:900px}.legal-page{padding-top:150px}.legal-note{font-size:13px}.legal-note a,.client-consent a{color:#5d704f;text-decoration:underline}@media(max-width:700px){.cookie-banner{flex-direction:column;align-items:stretch;bottom:8px;left:8px;right:8px;padding:16px}.cookie-actions button{flex:1}}

/* Readable legal documents, independent of the large marketing-page headings. */
.legal-page h1 {font-size:clamp(28px,4vw,44px);line-height:1.2;max-width:980px;margin-bottom:24px;}
.legal-document {font-size:16px;line-height:1.7;overflow-wrap:anywhere;}
.legal-document p {margin-bottom:24px;}

/* Russian headings and calls to action use natural sentence case. */
.section-title h2, .theme-btn {text-transform:none;}

/* Project photography: quiet chrome, a full uncropped image, and explicit navigation. */
.catalog-result-count { margin: -15px 0 24px; color: #53645a; }
.photo-viewer { position: fixed; inset: 16px; width: calc(100% - 32px); max-width: 1440px; height: calc(100dvh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 16px; color: #fff; background: #18241e; overflow: hidden; }
.photo-viewer[open] { display: flex; flex-direction: column; }
.photo-viewer::backdrop { background: rgba(11, 20, 15, .88); }
.photo-viewer__header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; flex-shrink: 0; }
.photo-viewer__header h2 { color: #fff; font-size: 20px; margin: 0; }
.photo-viewer__header p { margin: 4px 0 0; color: #bac6be; font-size: 14px; }
.photo-viewer button { border: 0; color: #fff; cursor: pointer; }
.photo-viewer button:focus-visible { outline: 3px solid #ef9f39; outline-offset: 3px; }
.photo-viewer__close { width: 44px; height: 44px; border-radius: 50%; background: #324238; font-size: 20px; }
.photo-viewer__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #101a14; }
.photo-viewer__image { width: 100%; height: 100%; object-fit: contain; transition: opacity .15s; }
.photo-viewer__image.is-loading { opacity: .3; }
.photo-viewer__prev, .photo-viewer__next { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(24,36,30,.85); font-size: 40px; line-height: 1; }
.photo-viewer__prev { left: 18px; } .photo-viewer__next { right: 18px; }
.photo-viewer__prev:hover, .photo-viewer__next:hover, .photo-viewer__close:hover { background: #56684e; }
.photo-viewer__footer { flex-shrink: 0; padding: 12px 24px 14px; }
.photo-viewer__caption { margin: 0 0 10px; font-size: 15px; line-height: 1.3; }
.photo-viewer__thumbnails { position: relative; display: flex; gap: 10px; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.photo-viewer__thumbnails button { flex: 0 0 88px; height: 62px; padding: 0; border-radius: 6px; background: #fff; overflow: hidden; opacity: .55; }
.photo-viewer__thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.photo-viewer__thumbnails button[aria-pressed="true"] { opacity: 1; outline: 2px solid #ef9f39; outline-offset: 2px; }
.photo-viewer__hint { color: #bac6be; font-size: 12px; margin: 8px 0 0; }
.photo-viewer__error { position: absolute; background: #18241e; padding: 16px; margin: 24px 70px; }
.photo-viewer [hidden] { display: none !important; }
.detail-gallery a { position: relative; }
.detail-gallery a::after { content: '↗'; position: absolute; bottom: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(24,36,30,.8); color: #fff; }
@media (max-width: 600px) {
  .photo-viewer { inset: 0; width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .photo-viewer__header { padding: 12px 14px; }
  .photo-viewer__header h2 { font-size: 17px; }
  .photo-viewer__footer { padding: 12px 14px max(14px, env(safe-area-inset-bottom)); }
  .photo-viewer__prev, .photo-viewer__next { width: 44px; height: 44px; font-size: 32px; }
  .photo-viewer__prev { left: 8px; } .photo-viewer__next { right: 8px; }
  .photo-viewer__thumbnails button { flex-basis: 72px; height: 52px; }
  .photo-viewer__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .photo-viewer__image { transition: none; } }
.catalog-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: end; gap: 20px; }
.catalog-filter-grid .form-group { min-width: 0; margin: 0; }
.filter-bar select.catalog-filter-select { display: block; width: 100%; height: 62px; border: 1px solid #d8dfd9; border-radius: 8px; background-color: #fff; padding: 0 14px; color: #263b2c; font-size: 15px; cursor: pointer; }
.filter-bar select.catalog-filter-select:focus-visible { outline: 2px solid #ef9f39; outline-offset: 3px; }
.catalog-filter-grid .theme-btn { width: 100%; justify-content: center; }
@media (max-width: 575px) { .catalog-filter-grid { grid-template-columns: 1fr; gap: 16px; } }
.photo-viewer__header::after, .photo-viewer__footer::after { content: none; }
.photo-viewer__close { margin-left: auto; flex-shrink: 0; }

/* Cookie choices follow the site accent and retain an explicit essential-only option. */
.cookie-actions button { min-height:44px; white-space:nowrap; background:#fff; color:#263a2a; transition:background-color 180ms,border-color 180ms; }
.cookie-actions button:hover { background:#f1f3ee; border-color:#687d62; }
.cookie-actions .cookie-accept-all { background:var(--site-orange); border-color:var(--site-orange); color:#202b23; font-weight:600; }
.cookie-actions .cookie-accept-all:hover { background:#ffa63e; border-color:#ffa63e; }
.cookie-actions button:focus-visible { outline:3px solid #35513a; outline-offset:4px; }
@media(prefers-reduced-motion:reduce) { .cookie-actions button { transition:none; } }


/* Approved Cyrillic logo: independent vector artwork, stable intrinsic ratio. */
.site-logo-image {display: block; width: 210px; height: auto; max-width: 100%; aspect-ratio: 1900 / 388;}
.logo-outer {flex-shrink: 0;}
.main-footer .site-logo-image {width: 245px;}
@media (min-width: 992px) and (max-width: 1199px) {.main-header .site-logo-image {width: 180px;}}
@media (max-width: 767px) {.main-header .site-logo-image {width: 185px;}}
@media (max-width: 374px) {.main-header .site-logo-image {width: 165px;}}
@media (max-width: 991px) {.main-header .mobile-logo {max-width: none;}}
