/* =========================================================
   CONSTRUCTION PAGE (page-construction.php)
   Visual language matches the About / Development pages:
   headings in Felidae / Cormorant Garamond (uppercase),
   body in Inter 300, accent #41545C, borders #E1E1E1.
   ========================================================= */

.big_block_home--construction {
  background: #FFFFFF;
  height: auto;
  min-height: 0;
  position: relative;
}
.big_block_home--construction > .container {
  height: auto;
}
.big_block_home--construction header .mega-menu .logo img { filter: none; }
.big_block_home--construction header .about_block .top_header_group { border-bottom: 0; }
.big_block_home--construction header .about_block .top_header_group::after { content: none; }
.big_block_home--construction::before,
.big_block_home--construction::after { content: none; }

/* ----- HERO ----- */
.cons_hero {
  padding: 72px 0 56px;
  text-align: center;
  background: #FFFFFF;
}
.cons_hero__breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 130%;
  color: #C4C4C4;
  margin-bottom: 28px;
}
.cons_hero__breadcrumbs a,
.cons_hero__breadcrumbs span { color: #C4C4C4; text-decoration: none; transition: color .2s; }
.cons_hero__breadcrumbs a:hover { color: #010101; }

.cons_hero__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 72px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #010101;
  text-transform: uppercase;
  margin: 0 auto 28px;
  max-width: 1300px;
}
.cons_hero__subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 22px;
  line-height: 140%;
  color: #3C3C3B;
  margin: 0 auto 32px;
  max-width: 980px;
}
.cons_hero__list {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: 760px;
  text-align: left;
  display: grid;
  gap: 14px;
}
.cons_hero__list li {
  position: relative;
  padding-left: 34px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 135%;
  color: #3C3C3B;
}
.cons_hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #41545C;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%2341545C' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.cons_hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.cons_hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 72px;
  padding: 0 36px;
  background: #41545C;
  color: #FFFFFF;
  border: 1.6px solid #41545C;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, transform .45s cubic-bezier(0.16,1,0.3,1), box-shadow .45s cubic-bezier(0.16,1,0.3,1);
}
.cons_hero__btn:hover { background: #010101; border-color: #010101; color: #FFFFFF; }
.cons_hero__btn--ghost {
  background: transparent;
  color: #232323;
  border-color: #232323;
}
.cons_hero__btn--ghost:hover { background: #010101; border-color: #010101; color: #FFFFFF; }
@media (hover: hover) {
  .cons_hero__btn:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(1,1,1,.16); }
}

/* ----- PANORAMA BAND ----- */
.cons_panorama {
  width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
}
.cons_panorama img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}
body.js-anim-ready .cons_panorama img.anim-wipe {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.08);
  transition: clip-path 1.6s cubic-bezier(0.16,1,0.3,1), transform 2.5s cubic-bezier(0.16,1,0.3,1);
}
body.js-anim-ready .cons_panorama img.anim-wipe.visible {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}
.cons_panorama--parallax {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ----- TRUST BADGES ----- */
.cons_trust {
  background: #FFFFFF;
  padding: 48px 0;
  border-bottom: 1.6px solid #E1E1E1;
}
.cons_trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* auto tracks + justify-content:center keep the badges as a centred group
     (instead of stretched 1fr columns that hug the left edge). */
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 24px 48px;
}
.cons_trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 130%;
  color: #010101;
}
.cons_trust__check {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #41545C
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11' fill='none'%3E%3Cpath d='M1 5.5L5 9.5L13 1' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ----- SERVICES / WHY US ----- */
.cons_services {
  background: #FFFFFF;
  padding: 96px 0;
}
.cons_services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}
.cons_services__photo {
  min-width: 0;
}
.cons_services__photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  display: block;
}
.cons_services__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 112%;
  letter-spacing: 0.02em;
  color: #010101;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.cons_services__lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 145%;
  color: #3C3C3B;
  margin: 0 0 32px;
}
.cons_services__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 16px;
}
.cons_services__list li {
  position: relative;
  padding-left: 30px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 135%;
  color: #010101;
  border-bottom: 1px solid #EFEFEF;
  padding-bottom: 16px;
}
.cons_services__list li:last-child { border-bottom: 0; }
.cons_services__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #41545C;
}
.cons_services__outro {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 145%;
  color: #6A6A6A;
  margin: 0;
}

/* ----- PROJECT SHOWCASE ----- */
.cons_projects {
  background: #F7F7F5;
  padding: 96px 0;
}
.cons_projects__head {
  text-align: center;
  margin-bottom: 64px;
}
.cons_projects__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #010101;
  text-transform: uppercase;
  margin: 0 auto 20px;
  max-width: 1100px;
}
.cons_projects__lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 21px;
  line-height: 140%;
  color: #3C3C3B;
  margin: 0 auto;
  max-width: 880px;
}
/* Alternating before/after rows */
.cons_proj {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.cons_proj:last-child { margin-bottom: 0; }
.cons_proj--reverse .cons_proj__media { order: 2; }
.cons_proj--reverse .cons_proj__text  { order: 1; }
.cons_proj__media { min-width: 0; }
/* Single project image (when no before/after pair is set) — matches the slider size */
.cons_proj__single {
  display: block;
  width: 100%;
  height: 640px;
  object-fit: cover;
}

/* --- Before / after comparison slider --- */
.cons_ba {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #ececec;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.cons_ba__img {
  display: block;
  width: 100%;
  height: 640px;
  object-fit: cover;
  pointer-events: none;
}
.cons_ba__clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.cons_ba__clip .cons_ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cons_ba__tag {
  position: absolute;
  top: 18px;
  z-index: 3;
  padding: 7px 15px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(10,16,18,0.5);
  pointer-events: none;
}
.cons_ba__tag--l { left: 18px; }
.cons_ba__tag--r { right: 18px; }
.cons_ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 48px;
  transform: translateX(-50%);
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  z-index: 4;
  cursor: ew-resize;
}
.cons_ba__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}
.cons_ba__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14' fill='none'%3E%3Cpath d='M8 2L3 7l5 5M16 2l5 5-5 5' stroke='%2341545C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.cons_ba.is-dragging { cursor: ew-resize; }
.cons_ba.is-dragging .cons_ba__img { transition: none; }

/* --- Text column --- */
.cons_proj__text { min-width: 0; }
.cons_proj__loc {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #41545C;
  margin-bottom: 16px;
}
.cons_proj__name {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 110%;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #010101;
  margin: 0 0 24px;
}
.cons_proj__specs {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 220%;
  color: #3C3C3B;
  margin: 0 0 28px;
}
.cons_proj__specs p { margin: 0 0 14px; }
.cons_proj__specs p:last-child { margin-bottom: 0; }
.cons_proj__specs ul { margin: 0 0 14px; padding-left: 22px; }
.cons_proj__specs li { margin-bottom: 6px; }
.cons_proj__btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 34px;
  border: 1px solid #010101;
  background: transparent;
  color: #010101;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.cons_proj__btn:hover { background: #010101; color: #fff; }

/* ----- HOW WE WORK ----- */
.cons_steps {
  background: #FFFFFF;
  padding: 96px 0;
}
.cons_steps__head {
  text-align: center;
  margin-bottom: 64px;
}
.cons_steps__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #010101;
  text-transform: uppercase;
  margin: 0 auto 18px;
}
.cons_steps__lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 21px;
  line-height: 140%;
  color: #3C3C3B;
  margin: 0 auto;
  max-width: 760px;
}
.cons_steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 56px;
}
.cons_step {
  display: flex;
  flex-direction: column;
  /* Centre the step number, title and description (the photo stays full-width). */
  text-align: center;
}
.cons_step__photo {
  overflow: hidden;
  margin-bottom: 28px;
}
.cons_step__photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(0.16,1,0.3,1);
}
.cons_step:hover .cons_step__photo img { transform: scale(1.04); }
.cons_step__num {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #C4C4C4;
  margin-bottom: 16px;
}
.cons_step__name {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 112%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #010101;
  margin: 0 0 14px;
}
.cons_step__desc {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 145%;
  color: #3C3C3B;
  margin: 0;
}
.cons_steps__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 88px;
  background: #41545C;
  color: #FFFFFF;
  border: 0;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}
.cons_steps__btn:hover { background: #010101; color: #FFFFFF; }

/* ----- FAQ ----- */
.cons_faq {
  background: #F7F7F5;
  padding: 96px 0;
}
.cons_faq__head {
  text-align: center;
  margin-bottom: 56px;
}
.cons_faq__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #010101;
  text-transform: uppercase;
  margin: 0 auto 16px;
}
.cons_faq__lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 21px;
  line-height: 140%;
  color: #3C3C3B;
  margin: 0 auto;
}
.cons_faq__accordion {
  max-width: 1080px;
  margin: 0 auto;
}
.cons_faq__item {
  background: #FFFFFF;
  border: 1px solid #E6E6E4;
  margin-bottom: 16px;
}
.cons_faq__item .accordion-header { margin: 0; }
.cons_faq__item .accordion-button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 28px 64px 28px 32px;
  position: relative;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 125%;
  letter-spacing: 0.01em;
  color: #010101;
  cursor: pointer;
}
.cons_faq__item .accordion-button::after {
  content: "";
  position: absolute;
  right: 32px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M9 2v14M2 9h14' stroke='%2341545C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s ease;
}
.cons_faq__item .accordion-button:not(.collapsed)::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M2 9h14' stroke='%2341545C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cons_faq__item .accordion-body {
  padding: 0 64px 28px 32px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #5A5A5A;
}

/* ----- FINAL CTA ----- */
.cons_cta {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0;
  position: relative;
}
.cons_cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 18, 0.55);
}
.cons_cta .container { position: relative; z-index: 2; }
.cons_cta__card {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  color: #FFFFFF;
}
.cons_cta__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 58px;
  line-height: 112%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 24px;
}
.cons_cta__sub {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 21px;
  line-height: 145%;
  color: rgba(255,255,255,0.88);
  margin: 0 0 18px;
}
.cons_cta__tagline {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 140%;
  color: rgba(255,255,255,0.7);
  margin: 0 0 36px;
}
.cons_cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  height: 76px;
  padding: 0 40px;
  background: #FFFFFF;
  color: #010101;
  border: 1.6px solid #FFFFFF;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, transform .45s cubic-bezier(0.16,1,0.3,1);
}
.cons_cta__btn:hover { background: transparent; color: #FFFFFF; }
@media (hover: hover) { .cons_cta__btn:hover { transform: translateY(-3px); } }
.cons_cta__micro {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 140%;
  color: rgba(255,255,255,0.7);
  margin: 24px 0 0;
}

/* =========================================================
   RESPONSIVE — ≤1200
   ========================================================= */
@media (max-width: 1200px) {
  /* Header: full-bleed like the development page so the top row (incl. the
     consultation button) doesn't overflow the narrow grid. */
  .big_block_home.big_block_home--construction > .container { padding: 0 !important; max-width: 100% !important; }
  .big_block_home.big_block_home--construction .top_header_group {
    margin-left: 0 !important; margin-right: 0 !important;
    padding-left: 60px !important; padding-right: 60px !important;
  }
  .big_block_home.big_block_home--construction .bottom_header { padding-left: 60px; padding-right: 60px; }
  body:has(.big_block_home--construction) .wrapper { border-left: 0 !important; border-right: 0 !important; max-width: 100% !important; }

  .cons_hero { padding: 48px 60px 40px; }
  .cons_hero__title { font-size: 50px; max-width: 1000px; }
  .cons_hero__subtitle { font-size: 18px; }
  .cons_panorama img { height: 420px; }
  .cons_trust__list { grid-template-columns: repeat(2, auto); gap: 20px 48px; }
  .cons_services { padding: 72px 0; }
  .cons_services__grid { gap: 48px; }
  .cons_services__photo img { min-height: 480px; }
  .cons_services__title { font-size: 40px; }
  .cons_projects, .cons_steps, .cons_faq { padding: 72px 0; }
  .cons_projects__title, .cons_steps__title, .cons_faq__title { font-size: 46px; }
  .cons_proj { grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 56px; }
  .cons_ba__img, .cons_proj__single { height: 480px; }
  .cons_proj__name { font-size: 34px; }
  .cons_steps__grid { gap: 28px; }
  .cons_step__photo img { height: 260px; }
  .cons_step__name, .cons_step__num { font-size: 28px; }
  .cons_cta { padding: 88px 0; }
  .cons_cta__title { font-size: 46px; }
}

/* =========================================================
   RESPONSIVE — ≤768
   ========================================================= */
@media (max-width: 768px) {
  .big_block_home.big_block_home--construction .top_header_group {
    padding-left: 30px !important; padding-right: 30px !important;
  }
  .big_block_home.big_block_home--construction .bottom_header { padding-left: 30px; padding-right: 30px; }
  .big_block_home--construction header .about_block .top_header_group::after { left: 30px !important; right: 30px !important; }

  .cons_hero { padding: 36px 30px 32px; }
  .cons_hero__breadcrumbs { font-size: 14px; margin-bottom: 18px; }
  .cons_hero__title { font-size: 36px; }
  .cons_hero__subtitle { font-size: 16px; margin-bottom: 24px; }
  .cons_hero__list { gap: 12px; margin-bottom: 28px; }
  .cons_hero__list li { font-size: 16px; }
  .cons_hero__actions { gap: 14px; }
  .cons_hero__btn { min-width: 0; width: 100%; height: 58px; font-size: 17px; }
  .cons_panorama img { height: 300px; }
  .cons_trust { padding: 32px 0; }
  .cons_trust__item { font-size: 16px; }
  .cons_services { padding: 56px 0; }
  .cons_services__grid { grid-template-columns: 1fr; gap: 32px; }
  .cons_services__photo img { height: 360px; min-height: 0; }
  .cons_services__title { font-size: 32px; }
  .cons_services__lead, .cons_services__list li { font-size: 16px; }
  .cons_projects, .cons_steps, .cons_faq { padding: 56px 0; }
  .cons_projects__head, .cons_steps__head, .cons_faq__head { margin-bottom: 40px; }
  .cons_projects__title, .cons_steps__title, .cons_faq__title { font-size: 34px; }
  .cons_projects__lead, .cons_steps__lead, .cons_faq__lead { font-size: 17px; }
  .cons_proj { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .cons_proj__media, .cons_proj--reverse .cons_proj__media { order: 1; }
  .cons_proj__text,  .cons_proj--reverse .cons_proj__text  { order: 2; }
  .cons_ba__img, .cons_proj__single { height: 360px; }
  .cons_proj__name { font-size: 28px; margin-bottom: 18px; }
  .cons_proj__specs { font-size: 16px; line-height: 200%; }
  .cons_ba__handle span { width: 42px; height: 42px; }
  .cons_steps__grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .cons_step__photo img { height: 240px; }
  .cons_steps__btn { height: 64px; font-size: 17px; }
  .cons_faq__item .accordion-button { font-size: 20px; padding: 22px 52px 22px 22px; }
  .cons_faq__item .accordion-body { font-size: 16px; padding: 0 22px 22px; }
  .cons_cta { padding: 64px 0; }
  .cons_cta__title { font-size: 34px; }
  .cons_cta__sub { font-size: 17px; }
  .cons_cta__btn { min-width: 0; width: 100%; height: 60px; font-size: 18px; }
}

@media (max-width: 480px) {
  .big_block_home.big_block_home--construction .top_header_group {
    padding-left: 16px !important; padding-right: 16px !important;
  }
  .big_block_home.big_block_home--construction .bottom_header { padding-left: 16px; padding-right: 16px; }
  .big_block_home--construction header .about_block .top_header_group::after { left: 16px !important; right: 16px !important; }
  .cons_hero { padding: 32px 16px 28px; }
  .cons_hero__title { font-size: 30px; }
  .cons_projects__title, .cons_steps__title, .cons_faq__title { font-size: 28px; }
  .cons_trust__list { grid-template-columns: auto; }
  .cons_ba__img { height: 300px; }
  .cons_cta__title { font-size: 28px; }
}

/* =========================================================
   PER-PROJECT PHOTO GALLERY (construction / progress photos)
   A horizontal strip of thumbnails under each project + a
   "Ver todas las fotos" button that opens the shared lightbox.
   ========================================================= */
.cons_proj__gallery {
  grid-column: 1 / -1;     /* full width across the 2-col project grid */
  order: 3;                /* always render below media + text (incl. reversed rows) */
  margin-top: 8px;
}
.cons_proj__gallery-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* No -webkit-overflow-scrolling: touch — it makes this scroller paint above
     the fixed lightbox on iOS Safari and steal taps from it. */
  padding-bottom: 4px;
}
.cons_proj__gallery-strip::-webkit-scrollbar { display: none; }
/* Hide the thumbnail strips while the fullscreen viewer is open so they can't
   bleed over it / swallow taps on iOS Safari. */
body.cons-lightbox-open .cons_proj__gallery { visibility: hidden; pointer-events: none; }
.cons_proj__gallery-cell {
  position: relative;
  flex: 0 0 clamp(180px, 26%, 280px);
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ececec;
  overflow: hidden;
  cursor: zoom-in;
  scroll-snap-align: start;
}
.cons_proj__gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.cons_proj__gallery-cell:hover img { transform: scale(1.05); }
.cons_proj__gallery-cell--teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0) 25%, rgba(255,255,255,0.55) 70%, rgba(255,255,255,0.94) 100%);
  pointer-events: none;
}
.cons_proj__gallery-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid #010101;
  color: #010101;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s ease, color .2s ease;
}
.cons_proj__gallery-more:hover { background: #010101; color: #fff; }
.cons_proj__gallery-count { opacity: .6; }

/* ----- Shared fullscreen lightbox ----- */
body.cons-lightbox-open { overflow: hidden; }
.cons_lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, .92);
  padding: 24px;
}
.cons_lightbox[hidden] { display: none; }
.cons_lightbox__main {
  position: relative;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cons_lightbox__main img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  display: block;
}
.cons_lightbox__counter {
  position: absolute;
  left: 0;
  bottom: -34px;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  letter-spacing: .12em;
}
.cons_lightbox__close,
.cons_lightbox__prev,
.cons_lightbox__next {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.cons_lightbox__close:hover,
.cons_lightbox__prev:hover,
.cons_lightbox__next:hover { background: rgba(255, 255, 255, .25); }
.cons_lightbox__close { top: 24px; right: 24px; }
.cons_lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.cons_lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .cons_proj__gallery-cell { flex-basis: 70%; }
  .cons_lightbox { padding: 12px; }
  .cons_lightbox__prev { left: 10px; }
  .cons_lightbox__next { right: 10px; }
  .cons_lightbox__close { top: 12px; right: 12px; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  body.js-anim-ready .cons_panorama img.anim-wipe,
  body.js-anim-ready .cons_panorama img.anim-wipe.visible {
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}
