:root {
  --max-width: 1286px;
  --primary-color: #0d07ad;
  --text-light: #ffffffcc;
  --text-dark: #333;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --border-radius-sm: 12px;
  --border-radius-md: 32px;
  --border-radius-lg: 70px;
}

@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat.ttf);
}

html,
body {
  overflow-x: hidden;
}

/* Base Styles */
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 20px;
}

.add {
  display: flex !important;
  gap: 16px;
  color: #fff !important;
  margin-bottom: 16px;
}

.price {
  color: #fff !important;
}

.num {
  color: #fff;
  text-decoration: underline !important;
}

.container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Buttons and Links */
.defaultButton {
  background-color: var(--primary-color);
  padding: 16px 24px;
  align-content: center;
  text-align: center;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--border-radius-lg);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.defaultButton:hover {
  background-color: #1a14c9;
}

.defaultLink {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-light);
  text-decoration: underline !important;
  text-decoration-color: var(--text-light);
  text-underline-offset: 6px;
  transition: opacity 0.3s ease;
}

.defaultLink:hover {
  opacity: 0.8;
}

/* Header and Logo */
header {
  padding: 20px;
  position: absolute;
  width: 100%;
  z-index: 10;
  top: 0;
  box-sizing: border-box;
}

.logo {
  color: white;
  font-weight: 900;
  font-size: 32px;
  margin: 0;
}

/* Hero Section */
.hero {
  background-image: url("/placeholder.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  padding: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../img/headerBg.webp") no-repeat center/cover;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  align-items: center;
  padding: 20px;
}

.hero-text {
  max-width: 860px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-text p {
  color: var(--text-light);
  max-width: 693px;
  font-size: 16px;
  margin-bottom: 32px;
}

/* Timer Box */
.timer-box {
  background: linear-gradient(
    221deg,
    #250599 3.04%,
    #472a84 21.82%,
    #57466f 40.61%,
    #5f6058 59.39%,
    #61793d 78.18%,
    #5d930b 96.96%
  );
  padding: 16px;
  border-radius: var(--border-radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  min-width: 398px;
  min-height: 374px;
  border: 2px solid #ffffff;
}

.timer_title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.timer_desc {
  max-width: 268px;
  font-weight: 500;
  font-size: 18px;
  margin: 0;
}

.timer_desc span {
  color: #26e100;
}

.timer {
  font-size: 64px;
  font-weight: 800;
}

/* Buttons */
.form_btn {
  margin-top: 16px;
}

.btn {
  display: inline-block;
  padding: 16px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #1a14c9;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid white;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  max-width: 146px;
  flex: 1;
  min-width: 120px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: #eee;
  border-radius: 50%;
  margin: 0 auto 20px;
}

/* Section Titles */
.section-title {
  text-align: left;
  font-size: 40px;
  font-weight: 800;
  color: #000;
  margin-top: 0;
}

/* Slider Section */
.slider_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  gap: 20px;
}

.slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  margin-bottom: 30px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.slide {
  flex-shrink: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.slide-img {
  padding: 15px;
  align-content: center;
  height: 496px;
  border-radius: 20px;
}

.slide-img img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-title {
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 24px;
  max-width: 397px;
  flex: 1 1 auto;
}

.slider-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.slider-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: #000000;
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.slider-btn:hover {
  background-color: #333;
}

.slider-btn::after {
  content: "";
  display: block;
  background: url("../img/icons/slider/left_arrow.svg") no-repeat center/cover;
  width: 12px;
  height: 22px;
}

.right {
  transform: rotate(180deg);
}

/* Steps Section */
.steps {
  margin-top: 50px;
}

.wrapper__steps {
  display: flex;
  gap: 46px;
  flex-wrap: wrap;
}

.notDefaulSteps {
  margin-top: 40px;
}

.step {
  background: var(--primary-color);
  color: white;
  padding: 30px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  min-height: 200px;
  align-content: center;
  border-radius: var(--border-radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step h3 {
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}

.step-number {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
  background-color: #333;
  color: white;
  padding: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.form-control,
.form-control-input {
  padding: 15px 40px 15px 15px;
  border: 1px solid #ffffff;
  border-radius: var(--border-radius-sm);
  color: var(--text-light);
  background-color: transparent;
  width: 100%;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

.form-control {
  background-image: url("../img/icons/arrow.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px;
}

.form-control option {
  background: #f8f8f8;
  color: #333;
  font-size: 16px;
  padding: 10px;
}

.form-control option:checked,
.form-control option:hover {
  background: #ddd;
  color: #000;
}

.inputRange {
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #b6b6b6 6.7%, #6e6e6e 6.7%);
  cursor: pointer;
}

.DefaultLabel {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* Thumb: for Chrome, Safari, Edge */
.inputRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: none;
}

/* Thumb: for Firefox */
.inputRange::-moz-range-thumb {
  border: none;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: none;
}

.inputRange_wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inputLabel_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-control::placeholder,
.form-control-input::placeholder {
  color: var(--text-light);
}

.form-control:focus,
.form-control-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 46px 44px;
  margin-top: 80px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer__logo {
  color: #000;
}

.footer__soc {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 4px;
  color: #000;
}

.footer__link {
  color: #000;
}

/* Header Styles */
.header-desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.header-nav {
  display: flex;
  gap: 32px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-socials {
  display: flex;
  gap: 12px;
}
.header-divider {
  width: 1px;
  height: 28px;
  background: #fff;
  margin: 0 16px;
}
.header-mobile {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.burger-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
}
.burger-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #23232b;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 54px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.mobile-menu-content {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 24px;
  width: 100%;
  max-width: 320px;
}
.mobile-menu-content .logo {
  margin-bottom: 12px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.mobile-socials {
  display: flex;
  gap: 18px;
  margin: 12px 0 0 0;
}
.mobile-phone {
  color: #fff;
  font-size: 1.2rem;
  margin: 12px 0 0 0;
  text-decoration: underline;
  display: block;
}
@media (max-width: 900px) {
  .header-desktop {
    display: none;
  }
  .header-mobile {
    display: flex;
  }
}
@media (min-width: 901px) {
  .header-mobile,
  .mobile-menu {
    display: none !important;
  }
}

/* Media Queries */
@media (max-width: 1400px) {
  .container {
    max-width: 1140px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .timer-box {
    min-width: 350px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .hero,
  .hero-overlay {
    height: auto;
    min-height: calc(100svh + 264px);
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .timer-box {
    min-width: 320px;
    min-height: 340px;
  }

  .timer {
    font-size: 54px;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .timer-box {
    min-width: 100%;
    min-height: 320px;
  }

  .features {
    justify-content: center;
  }

  .feature {
    min-width: 140px;
  }

  .section-title {
    font-size: 32px;
  }

  .wrapper__steps {
    gap: 30px;
  }

  .step {
    min-height: 180px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .logo {
    font-size: 28px;
  }

  .hero,
  .hero-overlay {
    height: auto;
    min-height: calc(100svh + 464px);
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .timer_title {
    font-size: 28px;
  }

  .timer {
    font-size: 48px;
  }

  .slider_header {
    margin-bottom: 40px;
  }

  .slide-title {
    font-size: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .step h3 {
    font-size: 20px;
  }

  .step-number {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .footer__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .footer__soc {
    align-items: center;
  }
  .hero-text h1 {
    font-size: 24px;
  }

  .defaultButton,
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .defaultLink {
    font-size: 14px;
  }

  .hero-text div {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .features {
    gap: 30px;
  }

  .feature {
    min-width: 120px;
    max-width: 120px;
  }

  .section-title {
    font-size: 28px;
  }

  .timer-box {
    padding: 12px;
    min-height: 280px;
  }

  .timer_title {
    font-size: 24px;
  }

  .timer_desc {
    font-size: 16px;
  }

  .timer {
    font-size: 40px;
  }

  .wrapper__steps {
    flex-direction: column;
    gap: 20px;
  }

  .notDefaulSteps {
    margin-top: 20px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 22px;
  }

  .logo {
    font-size: 24px;
  }

  .timer-box {
    min-height: 260px;
  }

  .timer {
    font-size: 36px;
  }

  .feature {
    min-width: 100px;
    max-width: 100px;
  }

  .section-title {
    font-size: 24px;
  }
}

.mob_features {
  display: none;
}

@media screen and (max-width: 576px) {
  .features {
    display: none;
  }
  .mob_features {
    display: flex !important;
    margin-top: 0 !important;
  }
  .add {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 16px;
  }
}

/* Realizacje Section */
.realizacje-section {
  padding: 60px 0 50px 0;
  background: #f7f7f7;
}

/* Realizacje Section - карточка в 2 колонки */
.realizacje-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.realizacja-card {
  background-color: #292933 !important;
  display: flex;
  flex-direction: row;
  border-radius: 20px;
  overflow: hidden;
  background: none;
  box-shadow: 0 4px 24px #0001;
  min-height: 400px;
  height: 400px;
}

.realizacja-img {
  width: 50%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  background: #222;
  display: block;
}

.realizacja-content {
  width: 50%;
  background: #292933;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 28px 28px 28px;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  min-height: 400px;
  height: 100%;
}

.realizacja-content h3 {
  margin: 0 0 20px 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.realizacja-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
}

.realizacja-content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.realizacja-content ul li img {
  width: 24px;
  height: 24px;
}

/* Для мобильных — одна колонка, скругления все */
@media (max-width: 900px) {
  .realizacje-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .realizacja-card {
    flex-direction: column;
    border-radius: 24px;
    min-height: unset;
    height: auto;
  }
  .realizacja-img {
    width: 100%;
    height: 500px;
    border-radius: 24px 24px 0 0;
    min-height: unset;
    max-height: unset;
  }
  .realizacja-content {
    width: 100%;
    border-radius: 0 0 24px 24px;
    padding: 20px;
    min-height: unset;
    height: auto;
  }
  .realizacja-content h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  .realizacja-content ul {
    font-size: 0.98rem;
    gap: 8px;
    margin-bottom: 20px;
  }
}

.undertitle {
    text-align: center;
    margin-top: -32px;
    opacity: .7;
}

.data {
    text-align: center;
    opacity: .7;
}

