/*
Theme Name: SCO-SAG Theme
Theme URI: https://kubaturabud.pl
Author: Filip Kowalski
Author URI: https://www.linkedin.com/in/filipkowalski2005/
Text Domain: sco-sag-theme
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
}

html {
  overflow-x: clip;
}

h2 {
  font-weight: bold;
  font-size: 2.5rem;
}

main {
  background: var(--primary-color);
  --glow-rgb: 249 198 61;
  --glow-size: 660px;
  --glow-alpha: 0.24;
}

.kubatura__hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 635px;
  color: var(--third-color);
  padding: 20px;
  position: relative;
  isolation: isolate;
}

.kubatura__hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: var(--glow-size);
  height: var(--glow-size);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--glow-rgb) / var(--glow-alpha)) 0%,
    rgba(var(--glow-rgb) / calc(var(--glow-alpha) * 0.55)) 35%,
    rgba(var(--glow-rgb) / calc(var(--glow-alpha) * 0.25)) 55%,
    rgba(var(--glow-rgb) / 0) 75%
  );
  mix-blend-mode: screen;
}

.kubatura__hero::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -15%;
  width: var(--glow-size);
  height: var(--glow-size);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--glow-rgb) / var(--glow-alpha)) 0%,
    rgba(249 198 61 / calc(0.24 * 0.55)) 35%,
    rgba(249 198 61 / calc(0.24 * 0.25)) 55%,
    rgba(var(--glow-rgb) / 0) 75%
  );
  mix-blend-mode: screen;
}

.kubatura__hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kubatura__hero__text > h1 {
  font-size: 3rem;
  margin-top: 20px;
  font-weight: bold;
}

.kubatura__hero__text > h2 {
  font-weight: bold;
}

.kubatura__hero__text > p {
  font-size: 1.12rem;
  font-weight: 300;
}

.hero__buttons {
  display: flex;
  flex-direction: row;
  gap: 50px;
  margin-top: 30px;
}

.hero__button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px;
  border-radius: 20px;
  width: 210px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0px 0px 1px 2px var(--secondary-color);
}

.contact {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.contact:hover {
  background: transparent;
  color: var(--third-color);
  scale: 1.05;
  transition: all 0.2s ease-in-out;
  box-shadow:
    0px 0px 20px var(--secondary-color),
    0px 0px 15px var(--secondary-color);
}

.realizations:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transition: all 0.2s ease-in-out;
  scale: 1.05;
  box-shadow:
    0px 0px 20px var(--secondary-color),
    0px 0px 15px var(--secondary-color);
}

.realizations {
  background: transparent;
  color: var(--third-color);
}

.kubatura__hero__image {
  display: flex;
  border-radius: 50px;
  width: 80%;
  z-index: 2;
  height: 80%;
  justify-content: center;
  align-items: center;
  margin: auto;
  overflow: hidden;
}

.slider__wrapper {
  display: flex;
  flex-direction: row;
  gap: 100px;
  width: 100%;
  padding: 20px;
  will-change: transform;
  transform: translateZ(0);
  cursor: pointer;
}

.slider__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-weight: bold;
  min-width: fit-content;
  min-height: fit-content;
  transition:
    scale 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.slider__item img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
}

.partners__text {
  text-align: center;
  color: #ffffff9e;
}

.partners__text h3 {
  font-size: 2.2rem;
  font-weight: bold;
  text-transform: uppercase;
}

.features {
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/wp-content/themes/sco-sag-theme/images/ozdobne_tlo.webp);
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.2;
  z-index: 0;
}

.features__kubatura {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
  width: 100%;
  color: var(--third-color);
  position: relative;
  z-index: 3;
}

.features__kubatura h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.features__cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.realization__gallery {
  display: none;
}

.realizations__slider {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

.feature__card {
  --box-shadow-25-percent-black: #00000025;

  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  max-width: 450px;
  margin: auto;
  box-shadow: 0px 4px 4px 0px var(--box-shadow-25-percent-black);
  border-radius: 20px;
  padding: 20px;
  transform: translateY(-20%);
  opacity: 0;
  background: var(--section-background-color);
}

.feature__card__flex {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.feature__card__flex p {
  font-size: 1.4rem;
  font-weight: 600;
}

.feature__image__background {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--secondary-color);
}

.our__services {
  display: flex;
  flex-direction: column;
  margin: auto;
  position: relative;
  padding: 50px;
  gap: 15px;
}

.services {
  position: relative;
  z-index: 2;
}

.services::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -10%;
  width: var(--glow-size);
  height: var(--glow-size);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--glow-rgb) / var(--glow-alpha)) 0%,
    rgba(249 198 61 / calc(0.24 * 0.55)) 35%,
    rgba(249 198 61 / calc(0.24 * 0.25)) 55%,
    rgba(var(--glow-rgb) / 0) 75%
  );
  mix-blend-mode: screen;
  z-index: -1;
}

.services::after {
  content: "";
  position: absolute;
  left: 0%;
  bottom: -15%;
  width: var(--glow-size);
  height: var(--glow-size);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--glow-rgb) / var(--glow-alpha)) 0%,
    rgba(249 198 61 / calc(0.24 * 0.55)) 35%,
    rgba(249 198 61 / calc(0.24 * 0.25)) 55%,
    rgba(var(--glow-rgb) / 0) 75%
  );
  mix-blend-mode: screen;
  z-index: -1;
}

.our__services__header {
  font-weight: bold;
  color: var(--third-color);
  font-size: 2.5rem;
}

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

.our__services__item {
  display: grid;
  grid-template-rows: 250px 55px 290px auto;
  min-height: 650px;
  max-width: 560px;
  gap: 20px;
  padding: 20px;
  background: var(--section-background-color);
  box-shadow: 0px 4px 4px 0px var(--box-shadow-25-percent);
  border-radius: 20px;
  transition:
    box-shadow 0.3s ease-in-out,
    scale 0.3s ease-in-out;
  color: var(--third-color);
}

.our__services__item:hover {
  scale: 1.02;
  transition:
    box-shadow 0.3s ease-in-out,
    scale 0.3s ease-in-out;
  box-shadow: 0px 0px 20px var(--secondary-color);
}

.our__services__background__image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 20px;
  overflow: hidden;
}

.our__services__item__header {
  font-size: 1.25rem;
  font-weight: 500;
}

.our__services__item > p:nth-child(3) {
  width: 95%;
}

.our__services__button {
  display: flex;
  margin-top: auto;
  width: 100%;
}

.our__services__button a {
  --secondary-color-lighter: #ffcf4c11;

  text-decoration: none;
  width: fit-content;
  margin: auto;
  padding: 15px;
  font-size: 1.25rem;
  background: var(--secondary-color-lighter);
  color: var(--third-color);
  font-weight: bold;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: solid 1px var(--secondary-color);
}

.our__services__button a:hover {
  scale: 1.03;
  transition: all 0.3s ease-in-out;
}

.our__services__second__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: auto;
  gap: 100px;
  margin-top: 30px;
}

.taller__item {
  min-height: 800px;
  grid-template-rows: 275px auto auto auto auto;
}

.taller__background__image {
  min-height: 275px;
}

.list__cooperation {
  margin-left: 20px;
}

.cooperation__text {
  width: 95%;
}

.cooperation__text > p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.why__our__company {
  padding: 50px;
  color: var(--third-color);
}

.paragraph__company {
  width: 90%;
}

.our__list {
  margin-left: 20px;
}

.our__company__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.our__company__text > h2 {
  font-weight: bold;
  font-size: 2.5rem;
}

.our__realizations {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px;
  position: relative;
  z-index: 3;
}

.our__realizations > h2 {
  font-weight: bold;
  color: var(--third-color);
  font-size: 2.5rem;
}

.realization__slider__main {
  display: flex;
  gap: 60px;
}

.mobile__arrows {
  display: none;
  justify-content: center;
  gap: 20px;
}

.arrow-left i,
.arrow-right i {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--third-color);
  font-size: 1.5rem;
  background: var(--secondary-color);
  padding: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  cursor: pointer;
}

.realization__link .realization__content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.realization__link:hover {
  transform: translateY(-5px);
}

.realization__link:hover .realization__item__background__image {
  background-position: 55% 55%;
}

.realization__link:hover::after {
  opacity: 1;
}

.realization__link:hover .realization__item__content {
  transform: translateY(0);
  opacity: 1;
}

.realization__link:hover .realization__item__header {
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.realization__link {
  position: relative;
  transition: transform 0.3s ease;
  flex: 1;
  min-width: 250px;
  margin: auto;
  cursor: pointer;
}

.realization__link .realization__item {
  display: flex;
  height: 260px;
  background-size: cover;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  width: 80%;
  margin: auto;
}

.realization__item__body {
  display: grid;
  grid-template-rows: 200px auto;
  min-height: 412px;
  max-height: 500px;
  width: 80%;
  margin: auto;
}

.realization__item__background__image {
  background-position: center;
  background-size: cover;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  transition: background-position 0.3s ease-in-out;
}

.realization__item__background__image__text {
  margin-left: 10px;
  margin-top: 10px;
  padding: 5px;
  color: #333333;
  background: #f9c73dbb;
  width: fit-content;
  border-radius: 20px;
  height: fit-content;
  text-transform: uppercase;
  font-weight: bold;
}

.realization__item__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: var(--section-background-color);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  color: var(--third-color);
}

.realization__item__tags {
  --white-color-30-percent: #ffffff4a;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--white-color-30-percent);
}

.gray__dot {
  --white-color-30-percent: #ffffff4a;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: var(--white-color-30-percent);
}

.realization__item__header {
  font-size: 1.25rem;
}

.text__realization__item__smaller {
  width: 95%;
}

.realizations__description {
  color: var(--third-color);
}

.question__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding: 50px;
  gap: 40px;
}

.questions {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 20px;
  transform: translateX(-150%);
}

.header__section__mainpage {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}

.header__section__contact_form {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.questions > p {
  color: var(--third-color);
  font-size: 1.12rem;
  line-height: 1.6;
}

.stage__block {
  background: var(--form-background);
  border: solid 1px #ffffff25;
  padding: 25px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  box-shadow: 0px 4px 4px #00000085;
  counter-increment: ctr;
}

.stage__block::before {
  --secondary-color-60-percent: #ffcf4c74;

  content: counter(ctr);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: -4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--third-color);
  background: var(--form--background-color);
  width: 40px;
  height: 40px;
  border-radius: 100%;
  border: solid 1px var(--secondary-color-60-percent);
}

.line__stage {
  position: absolute;
  bottom: 15%;
  left: 4%;
  width: 1px;
  height: 60%;
  background: var(--secondary-color);
  opacity: 0.5;
  z-index: 1;
}

.stage__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: center;
}

.background__image__questions {
  width: 40px;
  height: 40px;
  border-radius: 100%;
}

.stage__header > p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.stage__block > p {
  font-size: 1rem;
  color: var(--third-color);
  margin-left: 10px;
}

.sheet__form {
  background: var(--form--background-color);
  padding: 30px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: solid 1px #ffffff25;
  height: fit-content;
  box-shadow: 0px 4px 4px #00000085;
  transform: translateX(150%);
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
}

.form__group {
  position: relative;
  width: 100%;
}

.form__group input,
.form__group textarea {
  width: 100%;
  outline: none;
  border: solid 1px #ffffff25;
  background-color: transparent;
  padding: 15px;
  border-radius: 20px;
  font-size: 1rem;
  color: var(--third-color);
  resize: none;
  transition: border-color 0.3s ease-in-out;
  margin-top: 5px;
}

.form__group input:hover,
.form__group textarea:hover,
.display__flex__row > input[type="checkbox"]:hover {
  transition: border-color 0.3s ease-in-out;
  border-color: var(--secondary-color);
}

fieldset {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  outline: none;
}

.form__group label {
  z-index: 2;
  font-size: 1rem;
  color: var(--third-color);
  transition: all 0.2s ease-in-out;
}

.wpcf7-submit {
  --background-button: #f9c63d;
  background: var(--background-button);
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 20px 40px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  align-self: center;
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.wpcf7-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(249, 198, 74, 0.7);
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.cooperation__with__who {
  display: grid;
  grid-template-columns: 65% auto;
  background: var(--section-background-color);
  width: 100%;
  border-radius: 40px;
  margin-bottom: 20px;
  padding: 20px;
  position: relative;
}

.header__cooperation {
  font-size: 2.5rem;
}

.cooperation__text__main__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  color: var(--third-color);
}

.wpcf7-not-valid-tip {
  color: rgb(212, 45, 45) !important;
}

.background__image__questions img,
.our__services__background__image img,
.kubatura__hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cooperation__background__image__right {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  z-index: 10;
  border-radius: 20px;
  overflow: visible;
}

.cooperation__background__image__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  box-shadow:
    -25px 25px 50px rgba(0, 0, 0, 0.6),
    -10px 10px 20px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.cooperation__background__image__right img:hover {
  transform: perspective(1000px) rotateY(-10deg) rotateX(3deg) scale(1.02);
  box-shadow:
    -30px 30px 60px rgba(0, 0, 0, 0.7),
    -15px 15px 30px rgba(0, 0, 0, 0.5);
}

.display__none {
  display: none;
}

button.send {
  background-color: #28a745 !important;
  color: white !important;
  cursor: not-allowed !important;
  border-color: #28a745 !important;
}

button.error {
  background-color: #dc3545 !important;
  color: white !important;
  cursor: not-allowed !important;
  border-color: #dc3545 !important;
}

.display__flex__row > label {
  display: flex;
  gap: 10px;
}

.display__flex__row .wpcf7-form-control-wrap {
  display: flex;
  align-items: center;
  justify-self: center;
}

.display__flex__row > input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 10px;
  height: 40px;
  width: 40px;
  border: 2px solid #ebebeb;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: border-color 0.3s ease-in-out;
}

.display__flex__row > input[type="checkbox"]:checked {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.display__flex__row > input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  position: absolute;
  left: 12px;
  top: 5px;
  width: 10px;
  height: 18px;
  border: solid var(--primary-color);
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.error-message {
  color: #dc3545;
  position: absolute;
  font-size: 0.85rem;
  top: 100%;
  left: 0;
}

input.error {
  border-color: #dc3545;
  color: #dc3545;
}

textarea.error {
  border-color: #dc3545;
  color: #dc3545;
}

.display__flex__row input.error {
  border-color: #dc3545;
}

.kubatura__hero__services {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-attachment: fixed;
  background-position: bottom;
  background-size: cover;
  color: var(--third-color);
  padding: 20px;
  font-family: var(--primary-font);
  padding: 30px;
}

.kubatura__hero__services > h1 {
  font-size: 3rem;
  margin: 0;
}

.hero__buttons__services {
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.contact__services {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.contact__services:hover,
.contact__company:hover {
  background: transparent;
  color: var(--third-color);
  scale: 1.05;
  transition: all 0.2s ease-in-out;
  box-shadow:
    0px 0px 20px var(--secondary-color),
    0px 0px 15px var(--secondary-color);
}

.realizations__services:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transition: all 0.2s ease-in-out;
  scale: 1.05;
  box-shadow:
    0px 0px 20px var(--secondary-color),
    0px 0px 15px var(--secondary-color);
}

.realizations__services {
  background: transparent;
  color: var(--third-color);
}

.partners__text {
  --special-color: #c0c0c0;

  text-align: center;
  color: var(--special-color);
}

.partners__text h3 {
  font-size: 2.2rem;
  font-weight: bold;
  text-transform: uppercase;
}

.reinforced__concrete {
  display: grid;
  gap: 40px;
  align-items: center;
}

.first__section__reinforced__concrete {
  grid-template-columns: 60% 40%;
}

.second__section__reinforced__concrete {
  grid-template-columns: 40% 60%;
}

.second__section__reinforced__concrete .reinforced__concrete__left__side {
  order: 2;
}

.second__section__reinforced__concrete .reinforced__concrete__wrapper {
  order: 1;
}

.reinforced__concrete__left__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  color: var(--third-color);
}

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

.reinforced__concrete__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.reinforced__concrete__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
}

.reinforced__concrete__wrapper {
  position: relative;
  width: 100%;
  height: 500px;
}

.reinforced__concrete__wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffcf4c 0%, #f59e0b 100%);
  z-index: 1;
  border-radius: 16px;
  transform: rotate(-2deg);
}

.reinforced__concrete__right__side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.reinforced__concrete__right__side:hover {
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) scale(1.02) !important;
  box-shadow: -25px 25px 60px rgba(0, 0, 0, 0.6) !important;
}

.reinforced__concrete__right__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.first__section__reinforced__concrete {
  position: relative;
  isolation: isolate;
  --glow-rgb: 249 198 61;
  --glow-size: 660px;
  --glow-alpha: 0.24;
}

.first__section__reinforced__concrete .reinforced__concrete__wrapper::before {
  left: auto;
  right: 20px;
  transform: rotate(2deg);
}

.first__section__reinforced__concrete .reinforced__concrete__right__side {
  transform: perspective(1000px) rotateY(6deg) rotateX(2deg);
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
}

.first__section__reinforced__concrete::before {
  content: "";
  position: absolute;
  bottom: 0px;
  right: -300px;
  width: var(--glow-size);
  height: var(--glow-size);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--glow-rgb) / var(--glow-alpha)) 0%,
    rgba(var(--glow-rgb) / calc(var(--glow-alpha) * 0.55)) 35%,
    rgba(var(--glow-rgb) / calc(var(--glow-alpha) * 0.25)) 55%,
    rgba(var(--glow-rgb) / 0) 75%
  );
  mix-blend-mode: screen;
}

.second__section__reinforced__concrete {
  position: relative;
  isolation: isolate;
  --glow-rgb: 249 198 61;
  --glow-size: 660px;
  --glow-alpha: 0.24;
}

.second__section__reinforced__concrete .reinforced__concrete__wrapper::before {
  left: 20px;
  right: auto;
  transform: rotate(-2deg);
}

.second__section__reinforced__concrete .reinforced__concrete__right__side {
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5);
}

.second__section__reinforced__concrete
  .reinforced__concrete__right__side:hover {
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) scale(1.02);
  box-shadow: -25px 25px 60px rgba(0, 0, 0, 0.6);
}

.second__section__reinforced__concrete::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: -300px;
  width: var(--glow-size);
  height: var(--glow-size);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--glow-rgb) / var(--glow-alpha)) 0%,
    rgba(var(--glow-rgb) / calc(var(--glow-alpha) * 0.55)) 35%,
    rgba(var(--glow-rgb) / calc(var(--glow-alpha) * 0.25)) 55%,
    rgba(var(--glow-rgb) / 0) 75%
  );
  mix-blend-mode: screen;
}

.work__in__progress {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  color: var(--third-color);
}

.work__in__progress__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.progress__step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #27272a;
  color: var(--third-color);
  padding: 28px 20px;
  border-radius: 0;
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.progress__step:hover {
  background: rgba(255, 207, 76, 0.03);
  border-color: #27272a;
  transform: none;
  box-shadow: none;
}

.progress__step:hover .progress__step__text,
.progress__step:hover .progress__step__header {
  color: #ccc;
}

.progress__step__number {
  position: relative;
  top: auto;
  right: auto;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  min-width: 35px;
  padding-top: 2px;
}

.progress__step__number::after {
  content: ".";
}

.progress__step__header {
  font-weight: 600;
  font-size: 1.05rem;
  color: #999;
  margin-bottom: 5px;
}

.progress__step__text {
  color: #888;
  line-height: 1.7;
  font-size: 0.95rem;
}

.progress__step__text p {
  margin: 0;
}

/* Wrapper dla tekstu (header + text) */
.progress__step__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.why__our__company__services {
  display: grid;
  grid-template-columns: auto 40%;
  padding: 20px;
  background:
    linear-gradient(90deg, #000000 0%, #000000 15%, #00000000 200%),
    url(https://www.kubaturabud.pl/images/roboty-zelbetowe-4.webp) no-repeat
      center center;
  background-size: cover;
  color: var(--third-color);
}

.our__company__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.list__item__company {
  margin-left: 30px;
}

.list__company__text {
  font-size: 1.12rem;
}

.contact__company {
  width: 25%;
  background: var(--secondary-color);
  color: var(--primary-color);
}

.why__concrete__works {
  display: flex;
  position: relative;
  isolation: isolate;
}

.why__concrete__works::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(249, 198, 61, 0.15) 0%,
    rgba(249, 198, 61, 0.05) 50%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.why__concrete__works__content {
  flex: 1 1 60%;
  max-width: 60%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px;
  color: white;
}

.why__concrete__works__header {
  font-weight: bold;
}

.why__concrete__works__paragraph {
  width: 85%;
}

.why__concrete__works__list {
  list-style: none;
}

.why__concrete__works__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
}

.why__concrete__works__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--secondary-color);
  border-radius: 50%;
}

.why__concrete__works__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 35px;
}

.why__concrete__works__list__item {
  width: 90%;
}

.work__in__progress__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.work__in__progress__list {
  text-align: left;
  margin: auto;
}

.why__concrete__works__image {
  flex: 1 1 40%;
  max-width: 40%;
  min-height: 100%;
}

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

.container {
  width: 100%;
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.realizations__container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--primary-font);
  color: var(--third-color);
  min-height: 750px;
  padding: 10px;
}

.realizations__container h1 {
  font-size: 3rem;
  font-weight: bold;
}

.realizations__container p {
  font-size: 1.12rem;
}

.realizations__item img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
}

.kubatura__slider__main {
  margin-top: 20px;
}

.realizations__item {
  display: grid;
  width: 420px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  height: 320px;
  border-radius: 0px 20px 20px 0px;
  box-shadow: 0px 0px 30px #0000007f;
  cursor: pointer;
  transition:
    background-position 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

.realizations__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.realizations__item > * {
  position: relative;
  z-index: 2;
}

.slider__item__main {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 30px;
}

.slider__item__preview {
  display: flex;
  flex-direction: row;
  gap: 20px;
  cursor: pointer;
}

.slider__item__preview img {
  height: 100px;
  width: 100px;
  background: #00000058;
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
  object-fit: cover;
}

.slider__item__preview img:hover {
  opacity: 1;
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

.slider__item__preview img.active {
  opacity: 1;
  transform: scale(1.15);
  border: 2px solid var(--secondary-color);
}

.big__image__main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
}

.realizations__item:hover {
  --secondary-color-lighter: #ffcf4c7c;

  background-position: bottom;
  transition:
    background-position 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
  box-shadow: 0px 0px 20px 0.1px var(--secondary-color-lighter);
}

.realization__item__background__image__text {
  margin-left: 10px;
  margin-top: 10px;
  padding: 5px;
  background: #f9c73dbb;
  width: fit-content;
  border-radius: 10px;
  height: fit-content;
}

.display__flex__row {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  gap: 10px;
  padding: 10px;
  color: white;
}

.realization__flex__row {
  display: flex;
  flex-direction: row;
  width: 32%;
}

.realization__location {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  background: #ffba00;
  border-radius: 20px 0px 0px 20px;
}

.sideways {
  writing-mode: sideways-lr;
  text-orientation: sideways;
  font-weight: bold;
}

.bigger__font {
  font-size: 1.25rem !important;
  font-weight: bold;
}

.more__button {
  display: flex;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  background: var(--secondary-color);
  padding: 10px;
  border-radius: 40px;
  margin-left: auto;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  padding-left: 20px;
  padding-right: 20px;
}

.more__button:hover {
  background: #f9c73dbb;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 12;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.overlay__img {
  max-width: 80%;
  max-height: 700px;
  width: fit-content;
  border-radius: 15px;
  transform: scale(0.9);
  opacity: 1;
  transition: all 0.3s ease;
}

.overlay__arrow i,
.overlay__close i {
  position: absolute;
  color: #ffd562;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  font-size: 65px;
  line-height: 1;
}

.overlay__close i {
  font-size: 4rem;
  top: 0px;
  right: 30px;
}

.overlay__arrow--left i {
  left: 40px;
  top: 40%;
  transform: translateY(-50%);
}

.overlay__arrow--right i {
  right: 40px;
  top: 40%;
  transform: translateY(-50%);
}

.overlay__x {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10;
}

.contact__with__us {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  margin: auto;
  background: var(--primary-color);
  color: var(--third-color);
  min-height: 800px;
  font-family: var(--primary-font);
}

.contact__form {
  box-shadow: 0px 4px 7.5px #00000022;
  border-radius: 10px;
  width: 560px;
  background: var(--section-background-color);
  grid-row: 1 / 3;
  margin: auto 0 auto auto;
  padding: 20px;
}

.contact__form > h1 {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
}

.contact__form > form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.form__group input:hover,
.form__group textarea:hover,
.display__flex__row > input[type="checkbox"]:hover {
  border-color: var(--secondary-color);
  transition: border-color 0.3s ease;
}

.form__group label {
  font-size: 1rem;
  margin-top: 10px;
}

.form__group textarea {
  height: 100px;
}

.display__flex__row {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  justify-content: left;
  gap: 10px;
  margin-top: 3%;
  position: relative;
}

.realizations__item > .display__flex__row {
  flex-direction: column;
  justify-content: end;
  align-items: start;
  gap: 10px;
  padding: 10px;
}

.see__more > a {
  text-decoration: none;
}

.wpcf7-list-item > input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 10px;
  height: 40px;
  width: 40px;
  border: 2px solid #ebebeb;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: border-color 0.3s ease-in-out;
}

.wpcf7-list-item > input[type="checkbox"]:checked {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.wpcf7-list-item > input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  position: absolute;
  left: 12px;
  top: 5px;
  width: 10px;
  height: 18px;
  border: solid var(--primary-color);
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.contact__form > form > button {
  margin-top: 3%;
  height: 50px;
  font-size: 20px;
  width: 42%;
  border-radius: 40px;
  border: none;
  outline: none;
  background: var(--secondary-color);
  color: var(--primary-color);
  cursor: pointer;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
  background-size: 200% 200%;
}

.contact__form > form > button:hover {
  background: transparent;
  scale: 1.05;
  color: var(--third-color) !important;
  box-shadow:
    0px 0px 20px var(--secondary-color),
    0px 0px 15px var(--secondary-color);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 0 15px var(--secondary-color),
      0 0 15px var(--primary-color);
  }
  50% {
    box-shadow:
      0 0 20px var(--secondary-color),
      0 0 15px var(--primary-color);
  }
}

.contact__data {
  grid-column: 2;
  grid-row: 1;
  box-shadow: 0px 4px 7.5px #00000022;
  border-radius: 10px;
  background: var(--section-background-color);
  padding: 20px;
  width: 560px;
  margin-top: 50px;
  margin-left: 100px;
}

.item__href {
  color: var(--third-color);
  transition: color 0.3s ease-in-out;
  text-decoration: underline;
  text-decoration-color: var(--secondary-color);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.item__href:hover {
  color: var(--secondary-color);
  transition: color 0.3s ease-in-out;
}

.contact__data > h2 {
  font-size: 1.5rem;
  font-weight: 500;
}

.item {
  display: flex;
  gap: 5px;
  margin-top: 10px;
  align-items: center;
  font-size: 1rem;
}

.contact__map {
  grid-column: 2;
  grid-row: 2;
  margin-top: 45px;
  margin-left: 100px;
}

.contact__map > iframe {
  border-radius: 10px;
}

button.send {
  background-color: #28a745 !important;
  color: white !important;
  cursor: not-allowed !important;
  border-color: #28a745 !important;
}

button.error {
  background-color: #dc3545 !important;
  color: white !important;
  cursor: not-allowed !important;
  border-color: #dc3545 !important;
}

.error-message {
  color: #dc3545;
  position: absolute;
  font-size: 0.85rem;
  top: 100%;
  left: 0;
}

input.error {
  border-color: #dc3545;
  color: #dc3545;
}

textarea.error {
  border-color: #dc3545;
  color: #dc3545;
}

.display__flex__row input.error {
  border-color: #dc3545;
}

.article__main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 20px auto;
  width: 68%;
  color: var(--third-color);
}

.article__main > figure {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

img,
figure > img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article__header {
  color: var(--secondary-color);
  width: 70%;
  white-space: pre-wrap;
  margin: 20px auto;
  text-align: center;
}

article {
  position: relative;
}

article::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: var(--glow-size);
  height: var(--glow-size);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--glow-rgb) / var(--glow-alpha)) 0%,
    rgba(var(--glow-rgb) / calc(var(--glow-alpha) * 0.55)) 35%,
    rgba(var(--glow-rgb) / calc(var(--glow-alpha) * 0.25)) 55%,
    rgba(var(--glow-rgb) / 0) 75%
  );
  mix-blend-mode: screen;
  z-index: -1;
}

article::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -15%;
  width: var(--glow-size);
  height: var(--glow-size);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--glow-rgb) / var(--glow-alpha)) 0%,
    rgba(249 198 61 / calc(0.24 * 0.55)) 35%,
    rgba(249 198 61 / calc(0.24 * 0.25)) 55%,
    rgba(var(--glow-rgb) / 0) 75%
  );
  mix-blend-mode: screen;
  z-index: -1;
}

h1 {
  font-size: 3rem;
  margin: 20px 0;
}

h3 {
  font-size: 1.5rem;
}

.article__of__contest__header {
  white-space: pre-wrap;
  font-size: 2.5rem;
}

.left-text-right-image {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.left-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 55%;
}

article,
.table__of__contents,
.modal__ad {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 90%;
  margin: auto;
  padding: 20px;
}

.article__link__topic {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px auto;
}

.modal__ad {
  width: 100% !important;
  background: var(--fourth-color);
  padding: 50px;
  border-radius: 20px;
}

.modal__ad__link {
  color: var(--secondary-color);
}

.text {
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 30px;
  color: #ffffff;
}

.list-text {
  margin-left: 20px;
  font-size: 1.25rem;
  line-height: 30px;
  color: #ffffff;
}

.text__section__mainpage {
  color: #ffffff;
}

.article__description {
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 30px;
  font-size: 1.25rem;
}

.main__link {
  margin-left: 20px;
}

.additional__link {
  margin-left: 40px;
}

.table__of__contents__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.table__of__contents__list a {
  text-decoration: none;
  width: fit-content;
  color: unset;
  position: relative;
}

.table__of__contents__list a li {
  position: relative;
  width: fit-content;
}

.partners-img {
  min-height: 200px;
  max-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.swiper-slide {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: background 0.3s ease;
}

.swiper-slide:hover {
  background: rgba(255, 255, 255, 0.08);
}

.swiper-backface-hidden .swiper-slide {
  text-align: center !important;
}

.table__of__contents__list a li::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--secondary-color);
  transition: width 0.3s ease-in-out;
}

.table__of__contents__list a li:hover::before {
  width: 100%;
  transition: width 0.3s ease-in-out;
}

#consequences__of__our__work h3 {
  font-weight: 300 !important;
}

.article__link__topic__image {
  margin: auto;
}

.contact__items__container > .item > img {
  width: 30px;
  height: 30px;
}

.similar__articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
}

.similar__articles-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.similar__articles-main::before {
  content: "";
  position: absolute;
  top: -15px;
  width: 100%;
  height: 1px;
  background: var(--secondary-color);
}

.similar__articles-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.show-mobile-menu {
  transform: translateX(0) !important;
  transition: transform 0.3s ease-in-out;
}

.shortened {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-post-single > figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article__link {
  color: unset;
  text-decoration: none;
}

.informations__about__image {
  display: flex;
  flex-direction: row;
  gap: 5px;
  font-weight: bold;
  color: #ffffff;
}

@media (max-width: 768px) {
  .article__main {
    width: 100%;
  }

  .article__header {
    font-size: 2rem;
    width: auto;
  }

  .left-text-right-image {
    flex-direction: column;
  }

  .similar__articles {
    display: flex;
    flex-direction: column;
    margin-bottom: unset;
  }

  .similar__articles-main {
    width: 90%;
    margin: auto;
  }

  .modal__ad {
    padding: 20px;
    border-radius: unset;
  }

  h3 {
    font-size: 1.5rem;
  }

  .article__of__contest__header {
    font-size: 1.75rem;
  }

  .line__stage {
    left: 12%;
  }

  .article__main > figure > img {
    border-radius: unset;
  }

  .informations__about__image {
    justify-content: center;
  }

  article::after,
  article::before {
    all: unset;
  }
}

@media (max-width: 768px) {
  .contact__with__us {
    display: block;
    height: auto;
    padding-top: 50px;
  }

  .contact__form {
    width: 95%;
    margin: auto;
    height: fit-content;
    margin-bottom: 50px;
  }

  .contact__form > h1 {
    font-size: 1.5rem;
  }

  .display__flex__row > label {
    width: 100%;
    font-size: 0.8rem;
  }

  .display__flex__row > input[type="checkbox"]:checked::after {
    left: 9px;
  }

  .contact__form > form > button {
    width: auto;
  }

  .contact__map {
    margin-top: unset;
    margin-left: unset;
    text-align: center;
  }

  .contact__data {
    margin-top: unset;
    margin-left: unset;
    width: 100%;
    margin: auto;
    height: 245px;
    margin-bottom: 50px;
  }

  .item a,
  .item p {
    font-size: 0.9rem;
  }

  iframe {
    width: 95% !important;
    margin-bottom: 50px;
  }
}

@media (min-width: 769px) and (max-width: 1320px) {
  .contact__with__us {
    display: block;
    height: auto;
    padding-top: 50px;
  }

  .contact__form {
    width: 95%;
    margin: auto;
    height: fit-content;
    margin-bottom: 50px;
  }

  .contact__form > h1 {
    font-size: 1.5rem;
  }

  .display__flex__row > label {
    width: 100%;
    font-size: 0.8rem;
  }

  .display__flex__row > input[type="checkbox"]:checked::after {
    left: 9px;
  }

  .contact__form > form > button {
    width: auto;
  }

  .contact__map {
    margin-top: unset;
    margin-left: unset;
    text-align: center;
  }

  .contact__data {
    margin-top: unset;
    margin-left: unset;
    width: 95%;
    margin: auto;
    height: 245px;
    margin-bottom: 50px;
  }

  .item p,
  .item a {
    font-size: 0.9rem;
  }

  iframe {
    width: 95% !important;
    margin-bottom: 50px;
  }

  .contact__form > form > button {
    margin-top: 40px;
  }
}

@supports not (writing-mode: sideways-lr) {
  .sideways {
    transform: rotate(-90deg);
    overflow: visible !important;
    transform-origin: center;
    white-space: nowrap;
  }
}

@media (max-width: 440px) {
  .realizations__item {
    width: auto;
  }
}

@media (max-width: 768px) {
  .realizations__item img {
    width: 95%;
    margin: auto;
    height: 300px;
    object-fit: cover;
    object-position: center;
  }

  .wpcf7-submit {
    width: -webkit-fill-available;
    margin: 20px 0;
    font-size: 1rem;
    padding: 10px;
  }

  .overlay__close i {
    right: 10px;
  }

  .realizations__item {
    margin: auto;
    width: 95%;
  }

  .container {
    width: auto;
    margin-left: unset;
    margin-right: unset;
  }

  .realizations__slider {
    display: flex;
    flex-wrap: unset;
    flex-direction: unset;
    width: unset;
    justify-content: unset;
  }

  .realizations__slider {
    flex-direction: column;
    text-align: center;
  }

  .realization__item__text,
  .address {
    margin-left: unset !important;
  }

  .realization__address {
    flex: unset;
  }

  .overlay__arrow--left i,
  .overlay__arrow--right i {
    top: 63%;
  }

  .slider__item__preview img {
    width: 80px;
    height: 80px;
  }

  .realizations__container h1 {
    font-size: 1.5rem;
  }

  .more__button {
    width: max-content;
  }

  .realizations__container {
    height: auto;
  }

  .realizations__container p {
    text-align: left;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6 * -webkit-line-clamp);
  }
}

@media (min-width: 769px) and (max-width: 1529px) {
  .realization__item__text,
  .address {
    margin-left: unset !important;
  }

  .realizations__item {
    margin: auto;
  }

  .container {
    width: auto;
    margin-left: unset;
    margin-right: unset;
  }

  .realizations__item img {
    width: 100%;
    margin: auto;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .realizations__container {
    height: auto;
  }

  .realizations__container h1,
  .realizations__container p {
    margin-left: 30px;
  }

  .overlay__img {
    max-width: 800px;
    max-height: 400px;
  }

  .overlay__arrow--left i,
  .overlay__arrow--right i {
    top: 75%;
  }
}

@media (min-width: 993px) and (max-width: 1500px) {
  .overlay__arrow--left i,
  .overlay__arrow--right i {
    top: 80%;
  }
}

@media (max-height: 580px) and (max-width: 1500px) {
  .overlay__img {
    max-width: 80%;
    max-height: 200px;
  }

  .slider__item__preview img {
    height: 70px;
    width: 70px;
  }
}

@media (max-width: 1200px) {
  .our__services__item {
    grid-template-rows: 250px auto auto auto;
  }

  .cooperation__background__image__right {
    display: none;
  }

  .cooperation__with__who {
    display: block;
    width: 90%;
  }
}

@media (max-width: 600px) {
  .kubatura__hero__services > p,
  .reinforced__concrete__left__side p,
  .reinforced__concrete__list,
  .progress__step__text,
  .why__concrete__works__paragraph,
  .why__concrete__works__list__item {
    font-size: 0.95rem;
    width: 100%;
    margin-left: unset;
  }

  .our__company__text > p,
  .our__company__text > ul > li,
  .paragraph__first__company,
  .paragraph__last__company {
    font-size: 0.95rem;
    width: 100%;
  }

  main h2 {
    font-size: 1.5rem;
    width: 100%;
  }

  .kubatura__hero__services {
    padding: 15px;
    gap: 10px;
  }

  .kubatura__hero__services > h1 {
    font-size: 1.5rem;
  }

  .slider__wrapper {
    gap: 5px;
  }

  .hero__buttons__services {
    flex-direction: column;
    gap: 15px;
  }

  .hero__button {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
  }

  .reinforced__concrete {
    display: block;
    height: auto;
  }

  .first__section__reinforced__concrete {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 25px;
  }

  .second__section__reinforced__concrete {
    display: flex !important;
    flex-direction: column !important;
  }

  .reinforced__concrete__left__side {
    margin-top: 10px;
    padding: 10px;
    gap: 10px;
  }

  .reinforced__concrete__wrapper {
    width: 95%;
    height: 180px;
    margin: auto;
    margin-top: 10px;
  }

  .paragraph__company,
  .our__company__text > h2 {
    width: 100%;
  }

  .reinforced__concrete__wrapper::before {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    z-index: 0;
  }

  .reinforced__concrete__right__side {
    position: static;
    width: 100%;
    height: 180px;
    background-size: cover;
    border-radius: 8px;
  }

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

  .work__in__progress {
    height: auto;
    padding: 10px;
    gap: 20px;
  }

  .work__in__progress__header {
    font-size: 1.12rem;
    text-align: left;
  }

  .work__in__progress__text {
    font-size: 0.95rem;
    text-align: left !important;
  }

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

  .progress__step {
    width: 100%;
    padding: 20px 15px;
    gap: 15px;
  }

  .progress__step:hover {
    padding-left: 20px;
  }

  .progress__step__number {
    min-width: 30px;
    font-size: 0.9rem;
  }

  .progress__step__header {
    font-size: 0.95rem;
  }

  .why__our__company__services {
    display: block;
    height: auto;
    padding: unset;
    background:
      linear-gradient(90deg, #000000 0%, #000000 30%, #00000000 300%),
      url(../images/background_image_why_our_company_services.webp) no-repeat
        center center;
    background-size: cover;
  }

  .our__company__text {
    padding: 10px;
  }

  .contact__us__services {
    width: 100%;
    font-size: 1rem;
    height: 40px;
  }

  .slider__item img {
    aspect-ratio: 2 / 1;
    width: 150px;
    height: auto;
  }

  .why__concrete__works {
    flex-direction: column;
    min-height: auto;
  }

  .why__concrete__works__content {
    max-width: 100%;
    padding: 10px;
  }

  .why__concrete__works__image {
    display: none;
  }

  .partners__text h3 {
    font-size: 2rem;
  }

  .why__concrete__works__list {
    padding-left: 15px;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .our__company__text > *,
  .why__concrete__works__header,
  .why__concrete__works__paragraph *,
  .reinforced__concrete__list,
  .work__in__progress__text {
    width: 100% !important;
  }

  .kubatura__hero__services {
    padding: 20px;
    gap: 15px;
  }

  .kubatura__hero__services > h1 {
    font-size: 2rem;
    margin-top: 15px;
  }

  .kubatura__hero__services > p {
    font-size: 1.1rem;
    width: 80%;
  }

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

  .hero__buttons__services {
    flex-direction: row;
    gap: 20px;
  }

  .hero__button {
    width: 40%;
    font-size: 1.3rem;
    padding: 20px;
  }

  .reinforced__concrete {
    grid-template-columns: 1fr;
    height: auto;
    padding: unset;
  }

  .reinforced__concrete__left__side {
    margin-top: unset;
    padding: 15px;
    gap: 15px;
  }

  .reinforced__concrete__wrapper {
    width: 95%;
    margin: auto;
    height: 350px;
    margin-top: 15px;
  }

  .reinforced__concrete__wrapper::before {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    z-index: -1;
  }

  .why__concrete__works__image {
    display: none;
  }

  .reinforced__concrete__right__side {
    position: static;
    width: 100%;
    height: 325px;
    background-size: cover;
    border-radius: 10px;
  }

  .work__in__progress {
    padding: 15px;
    gap: 15px;
  }

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

  .progress__step {
    width: 100%;
    padding: 24px 20px;
    gap: 20px;
  }

  .progress__step:hover {
    padding-left: 25px;
  }

  .progress__step__header {
    font-size: 1rem;
  }

  .progress__step__text {
    font-size: 0.95rem;
  }

  .why__our__company__services {
    grid-template-columns: 1fr;
    padding: unset;
    background:
      linear-gradient(90deg, #000000 0%, #000000bd 100%, #00000000 100%),
      url(../images/background_image_why_our_company_services.webp);
  }

  .our__company__text {
    padding: 15px;
  }

  .contact__us__services {
    width: 60%;
    margin: auto;
    font-size: 1.2rem;
    height: 50px;
  }

  .why__concrete__works {
    flex-direction: column;
    min-height: auto;
  }

  .why__concrete__works__content,
  .why__concrete__works__image {
    max-width: 100%;
    width: 100%;
    min-height: 200px;
    padding: 15px;
  }

  .why__concrete__works__list {
    padding-left: 25px;
  }
}

@media (max-width: 1430px) {
  .feature__card {
    min-height: unset;
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .hero__buttons__services {
    flex-direction: row;
    gap: 30px;
  }

  .contact__company {
    width: 40%;
  }

  .reinforced__concrete {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .reinforced__concrete__left__side {
    margin-top: 30px;
    padding: 20px;
    gap: 20px;
  }

  .reinforced__concrete__left__side h2,
  .work__in__progress__header {
    font-size: 1.7rem;
  }

  .reinforced__concrete__wrapper {
    width: 90%;
    height: 400px;
    margin-top: 30px;
  }

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

  .reinforced__concrete__wrapper::before {
    width: 100%;
    height: 400px;
    border-radius: 10px;
  }

  .reinforced__concrete__right__side {
    position: absolute;
    width: 90%;
    height: 400px;
    background-size: cover;
    border-radius: 10px;
  }

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

  .progress__step__header {
    font-size: 1rem;
  }

  .progress__step__text {
    font-size: 0.95rem;
  }

  .why__our__company__services {
    grid-template-columns: auto 40%;
    height: auto;
    padding: 20px;
    background-size: cover;
  }

  .reinforced__concrete__right__side {
    top: 0;
    right: 5%;
  }

  .statistics {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    grid-template-rows: unset;
    gap: 30px;
    width: 100%;
  }

  .item__stats {
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
  }

  .contact__us__services {
    width: 50%;
    font-size: 1.2rem;
  }

  .why__concrete__works {
    flex-direction: row;
    min-height: 600px;
  }

  .why__concrete__works__list {
    padding-left: 30px;
  }
}

@media (min-width: 556px) and (max-width: 1005px) {
  .realization__link:nth-child(3) {
    grid-column: 1 / 3;
  }

  .realization__link {
    width: 100%;
  }

  .realization__item__body {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1005px) {
  .realization__slider__main {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .stage__block::before {
    left: 85%;
    top: -1%;
  }

  .header__section__mainpage,
  .header__cooperation,
  .kubatura__hero__text > h1,
  .our__services__button a,
  .our__realizations > h2,
  .our__services__header,
  .features__kubatura h2 {
    font-size: 1.5rem;
  }

  .mobile__arrows {
    display: flex;
  }

  .kubatura__hero__text > h2,
  .our__services__item__header,
  .paragraph__stats__smaller {
    font-size: 1.25rem;
  }

  .kubatura__hero__text > p,
  .our__services__item p,
  .cooperation__text__main__left > p,
  .list__item__cooperation,
  .text__section__mainpage,
  .realizations__description > p {
    font-size: 0.95rem !important;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero__button {
    width: 100%;
    font-size: 1.2rem;
    padding: 15px;
  }

  .kubatura__hero__image {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    margin-top: 30px;
    gap: 10px;
    position: relative;
    z-index: 3;
  }

  .features__kubatura {
    height: auto;
    gap: 20px;
    width: 100%;
  }

  .features__kubatura h2 {
    margin-left: unset;
  }

  .features__description {
    margin-left: unset;
    width: 100%;
  }

  .our__services__item:hover {
    scale: unset;
  }

  .slider__item img {
    aspect-ratio: 2 / 1;
    width: 150px;
    height: auto;
  }

  .display__flex__row {
    align-items: center;
  }

  .display__flex__row > label {
    width: 100%;
    align-items: center;
  }

  .display__flex__row > input[type="checkbox"]:checked::after {
    left: 9px;
  }

  .features__cards {
    flex-direction: column;
    gap: 20px;
  }

  .feature__card {
    transform: translateY(0);
    opacity: 1;
    max-width: 100%;
  }

  .our__services__item {
    width: 100%;
    max-width: unset;
    padding: 10px;
  }

  .our__sevices__first__row {
    grid-template-columns: auto;
  }

  .our__services {
    gap: 10px;
    padding: 20px;
  }

  .slider__wrapper {
    gap: 5px;
  }

  .cooperation__text__main__left > p {
    width: 100% !important;
  }

  .list__cooperation {
    margin-left: 20px;
  }

  .our__realizations {
    height: auto;
    padding: 20px;
  }

  .our__company__text ul {
    margin-left: 20px;
  }

  .realization__item {
    width: auto;
    height: auto;
  }

  .realization__item > a {
    font-size: 1rem;
    text-align: center;
  }

  .realization__item__body {
    width: auto;
  }

  .realization__link:hover .realization__item__header {
    color: inherit;
  }

  .question__form {
    grid-template-columns: 1fr;
    padding: unset;
    margin-top: unset;
    padding-bottom: 30px;
  }

  .sheet__form > h3 {
    margin-left: 20px;
  }

  .stage__header > p {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .stage__header {
    grid-template-columns: auto;
  }

  .questions,
  .sheet__form {
    border-radius: 30px;
    gap: 30px;
    padding: 20px;
    transform: translateX(0);
  }

  .realization__flex__row {
    width: auto;
  }

  .why__our__company {
    grid-template-columns: 1fr;
    height: auto;
    padding: unset;
  }

  .extra__details {
    font-size: 1rem !important;
  }

  .paragraph__stats {
    font-size: 2rem;
  }

  .our__company__text > h2 {
    text-align: left;
    font-size: 1.5rem;
  }

  .our__company__text > p,
  .our__company__text > ul > li {
    text-align: left;
    font-size: 0.95rem;
  }

  .item__stats {
    width: 80%;
    height: auto;
  }

  .sheet__form {
    padding-left: unset;
    padding: 10px;
  }

  .sheet__form > form > input,
  .sheet__form > form > textarea {
    width: 95%;
    margin: auto;
    padding: 10px;
  }

  .sheet__form > form > input::placeholder,
  .sheet__form > form > textarea::placeholder {
    font-size: 0.95rem;
    top: 0;
  }

  .sheet__form > form > button {
    padding: 15px;
    width: 60%;
  }

  .partners__text h3 {
    font-size: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .kubatura__hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .kubatura__hero__text > h2,
  .our__services__item__header,
  .paragraph__stats__smaller {
    font-size: 1.25rem;
  }

  .stage__block::before {
    left: 95%;
    top: 5%;
  }

  .hero__button {
    width: 50%;
    font-size: 1.2rem;
    padding: 15px;
    margin: auto;
  }

  .kubatura__hero__image {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    margin-top: 30px;
    gap: 10px;
  }

  .name__projects,
  .name__experience {
    font-size: 0.9rem;
  }

  .features__kubatura {
    height: auto;
    gap: 20px;
    width: 100%;
  }

  .realization__item:hover {
    transform: scale(1);
  }

  .features__kubatura h2 {
    margin-left: unset;
  }

  .features__description {
    margin-left: unset;
    width: 100%;
  }

  .our__services__item:hover {
    scale: unset;
  }

  .features__cards {
    flex-direction: column;
    gap: 20px;
  }

  .feature__card {
    transform: translateY(0);
    opacity: 1;
    max-width: 100%;
  }

  .our__services__header {
    text-align: center;
  }

  .our__services {
    gap: 10px;
  }

  .cooperation__text__main__left {
    clip-path: none;
    width: 100%;
  }

  .header__cooperation,
  .cooperation__text__main__left > p,
  .list__item__cooperation {
    opacity: 1;
  }

  .cooperation__text__main__left > p {
    width: 100% !important;
  }

  .list__cooperation {
    margin-left: 20px;
  }

  .our__realizations {
    height: auto;
  }

  .realization__item {
    width: auto;
    height: auto;
  }

  .realization__item > a {
    font-size: 0.8rem;
    text-align: center;
  }

  .our__realizations > h2 {
    font-weight: bold;
  }

  .realizations__description > p {
    width: 100%;
    font-size: 0.95rem;
  }

  .question__form {
    grid-template-columns: 1fr;
    margin-top: unset;
  }

  .sheet__form > h3 {
    margin-left: 20px;
  }

  .stage__header > p {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .realization__item__body {
    max-height: unset;
    width: auto;
  }

  .realization__slider__main {
    gap: 30px;
  }

  .stage__header {
    grid-template-columns: auto;
  }

  .stage__block > p,
  .paragraph__company {
    width: 100%;
  }

  .why__our__company {
    grid-template-columns: 1fr;
    height: auto;
    text-align: center;
  }

  .paragraph__stats {
    font-size: 2rem;
  }

  .our__company__text > h2 {
    text-align: left;
  }

  .our__company__text > p,
  .our__company__text > ul > li {
    text-align: left;
    font-size: 0.95rem;
  }

  .item__stats {
    padding: 20px;
    width: 50%;
    height: auto;
  }

  .sheet__form > form > input,
  .sheet__form > form > textarea {
    width: 95%;
    margin: auto;
    padding: 10px;
  }

  .sheet__form > form > input::placeholder,
  .sheet__form > form > textarea::placeholder {
    font-size: 0.95rem;
    top: 0px;
  }

  .sheet__form > form > button {
    padding: 15px;
    width: 60%;
    margin-bottom: 20px;
  }
}

@media (min-width: 1201px) and (max-width: 1338px) {
  .stage__block::before {
    width: 35px;
    height: 35px;
    left: -3%;
  }
}

@media (min-width: 1201px) and (max-width: 1500px) {
  .kubatura__hero {
    height: auto;
  }
}

@media (min-width: 1201px) and (max-width: 1600px) {
  .features__cards {
    gap: 20px;
  }

  .realization__item__body {
    max-height: unset;
    width: auto;
  }

  .realization__slider__main {
    gap: 30px;
  }

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

  .our__services__second__row {
    gap: 30px;
  }

  .first,
  .second {
    height: auto;
    width: inherit;
  }

  .why__our__company {
    display: flex;
    flex-direction: column;
  }

  .stage__header {
    grid-template-columns: auto 1fr;
  }

  .stage__block > p,
  .extra__details {
    width: 100%;
  }
}

@media (min-width: 1601px) and (max-width: 1850px) {
  .our__sevices__first__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .our__services__second__row {
    gap: 30px;
  }
}

.section-stages {
  position: relative;
  padding: 100px 0 140px;
  background: linear-gradient(
    var(--section-background-color) 0%,
    var(--primary-color) 100%
  );
  background-size:
    100% 100%,
    60px 60px;
}

.section-stages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--secondary-color) 50%,
    transparent 100%
  );
  opacity: 0.6;
}

.section-stages .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.stages-header {
  max-width: 95%;
  margin: auto;
  margin-bottom: 80px;
}

.stages-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: stagesFadeInUp 0.8s ease forwards;
}

.stages-label::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.stages-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  color: var(--third-color);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  animation: stagesFadeInUp 0.8s 0.2s ease forwards;
}

.stages-title span {
  color: var(--secondary-color);
  position: relative;
}

.stages-title span::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-color);
  opacity: 0.3;
}

.stages-intro {
  font-size: 17px;
  color: #a1a1aa;
  opacity: 0;
  transform: translateY(30px);
  animation: stagesFadeInUp 0.8s 0.4s ease forwards;
}

.stages-intro strong {
  color: var(--third-color);
  font-weight: 600;
}

.timeline {
  position: relative;
  max-width: 95%;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: auto;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #27272a;
}

.timeline-progress {
  position: absolute;
  left: auto;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(
    180deg,
    var(--secondary-color),
    rgba(245, 197, 24, 0.4)
  );
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.4);
  transition: height 0.1s linear;
  z-index: 2;
}

.stage {
  position: relative;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 20px;
}

.stage.visible {
  opacity: 1;
  transform: translateX(0);
}

.stage:last-child {
  margin-bottom: 0;
}

.stage-marker {
  position: absolute;
  left: -120px;
  top: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.stage-number {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border: 2px solid #27272a;
  font-size: 18px;
  font-weight: bold;
  color: #a1a1aa;
  transition: all 0.4s ease;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.stage.visible .stage-number {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  background: var(--primary-color);
  box-shadow: 0 0 30px rgba(245, 197, 24, 0.4);
}

.stage-content {
  background: var(--section-background-color);
  border: 1px solid #27272a;
  border-radius: 4px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.stage-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary-color);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stage-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(245, 197, 24, 0.1) 0%,
    transparent 30%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.stage.visible .stage-content::before {
  opacity: 1;
}

.stage-content:hover {
  border-color: var(--secondary-color);
  background: #1f1f23;
  transform: translateX(8px);
}

.stage-content:hover::after {
  opacity: 1;
}

.stage-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.stage-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 197, 24, 0.1);
  border-radius: 4px;
}

.stage-icon img {
  border-radius: unset;
  width: 50px;
  height: 50px;
  padding: 5px;
  object-fit: cover;
}

.stage-title-wrap {
  flex: 1;
}

.stage-label-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 6px;
}

.stage-title {
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.3;
  color: var(--third-color);
  font-weight: bold;
}

.stage-description {
  font-size: 15px;
  color: #a1a1aa;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.stage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.stage-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.stage-list-item:hover {
  background: rgba(245, 197, 24, 0.05);
  border-color: rgba(245, 197, 24, 0.1);
}

.stage-list-item::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--secondary-color);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.stage-list-item span {
  font-size: 14px;
  color: #a1a1aa;
  transition: color 0.3s ease;
}

.stage-list-item:hover span {
  color: var(--third-color);
}

.stage-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #27272a;
  font-size: 14px;
  color: #a1a1aa;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.stage-note strong {
  color: var(--secondary-color);
  font-style: normal;
}

@keyframes stagesFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .section-stages {
    padding: 60px 0 80px;
  }

  .stages-header {
    margin-bottom: 50px;
  }

  .timeline {
    padding-left: 50px;
  }

  .timeline::before,
  .timeline-progress {
    left: 12px;
  }

  .stage-marker {
    left: -50px;
  }

  .stage-number {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .stage-content {
    padding: 24px;
  }

  .stage-header {
    flex-direction: column;
    gap: 16px;
  }

  .stage-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .timeline {
    padding-left: 40px;
  }

  .stage-marker {
    left: -40px;
  }

  .stage-number {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

.section-cta {
  position: relative;
  padding: 80px 0;
  background: var(--primary-color);
}

.section-cta .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-box {
  padding: 60px;
  background: linear-gradient(
    135deg,
    var(--section-background-color) 0%,
    var(--primary-color) 100%
  );
  border: 1px solid #27272a;
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.cta-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary-color),
    transparent
  );
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245, 197, 24, 0.1);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cta-badge svg {
  width: 16px;
  height: 16px;
}

.cta-title {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--third-color);
  margin-bottom: 16px;
  font-weight: bold;
}

.cta-text {
  font-size: 16px;
  color: #a1a1aa;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(245, 197, 24, 0.4);
}

.cta-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(5px);
}

.deco-corner {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid var(--secondary-color);
  opacity: 0.1;
}

.deco-corner--tl {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.deco-corner--br {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

@media (max-width: 768px) {
  .section-cta {
    padding: 60px 0;
  }

  .cta-box {
    padding: 40px 24px;
  }
}

.kubatura__hero,
.kubatura__hero__services,
.features__kubatura,
.our__services,
.our__realizations,
.question__form,
.why__our__company,
.why__our__company__services,
.cooperation__with__who,
.reinforced__concrete,
.work__in__progress,
.why__concrete__works,
.contact__with__us,
.kubatura__slider__main,
.container,
.stages-container,
.cta-container,
.simple__text__section {
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.simple__text__section {
  color: white;
  margin-top: 30px;
}

.simple__text__section p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.simple__text__section a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.simple__text__section a:hover {
  color: var(--third-color);
}
