@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  color: #2b2b2b;
  font-size: 16px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0.5px;
}

.flat-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.overlay {
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.section-title {
  color: #d4b34a;
  font-weight: 500;
  line-height: 1.3;
  font-size: 40px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.carousel-item-text {
  z-index: 100;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 101;
}


.request-callback-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.subtitle {
  font-size: 16px;
  color: #777;
  margin-bottom: 40px;
}

.request-callback-form {
  display: flex;
  justify-content: start;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.input-group {
  position: relative;
  flex: 1 1 250px;
  min-width: 250px;
}

.request-callback-form input {
  width: calc(100% - 26px);
  border: none;
  border-bottom: 2px solid #ddd;
  background: transparent;
  padding: 10px 5px;
  font-size: 16px;
  color: #222;
  transition: all 0.3s ease;
}

.request-callback-form input:focus {
  outline: none;
  border-color: #d4b34a;
}

.underline {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #d4b34a;
  transition: width 0.3s ease;
}

.input-group input:focus + .underline {
  width: 100%;
}

.send-button {
  background-color: #d4b34a;
  border: none;
  color: #fff;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  white-space: nowrap;
  margin-top: 2px;
}

.send-button:hover {
  background-color: #bca03d;
  transform: translateY(-2px);
}

.arrow {
  font-weight: bold;
  font-size: 18px;
}

@media (max-width: 768px) {
  .request-callback-form {
    flex-direction: column;
    align-items: stretch;
  }

  .send-button {
    width: 100%;
    justify-content: center;
  }
}

input:focus {
  outline: none;
  border: none;
  border-bottom: 1px solid #d9d9d9;
  box-shadow: none;
}

.our-projects {
  background: linear-gradient(to bottom, #f3f4f6, #ffffff);
}

.our-project-name {
  color: #d4b34a;
  font-size: 25px;
  font-weight: 600;
}
.project-card-img {
  height: 20rem;
  position: relative;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.project-card-status {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  height: 1.5rem;
  padding: 0 1.1rem;
  border-radius: 2rem;
  color: #fff;
  font-size: 0.65rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  background: #d4b34a;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.project-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  max-width: 360px;
  border: 1px solid #f1f1f1;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.project-card-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.project-card-name h3 {
  font-size: 2rem;
  color: #d4b34a;
  margin: 0;
}

.project-card-name .project-badge {
  background-color: #f4f0e8;
  color: #9c7e36;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 500;
}

.projects-card-info li span:first-child {
  color: #8694b1;
  font-weight: 400;
}
.projects-card-info li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}
ul, li {
  margin: 0;
  padding: 0;
  display: block;
}
.about-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #333333;
  max-width: 700px;
  margin: 0 auto 3rem 0;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.about-stats {
  display: flex;
  justify-content: space-between;
  max-width: 700px;
  margin: 0 auto 3rem 0;
  gap: 2.5rem;
}
.stat-item {
  flex: 1;
  text-align: start;
  user-select: none;
  color: #444;
}

.lightning {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: drawLightning 2.5s forwards ease-in-out;
  animation-delay: 0.2s;
  stroke: #d4b34a;
}

@keyframes drawLightning {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 6px #d4b34aaa);
  }
  50% {
    filter: drop-shadow(0 0 15px #d4b34aff);
  }
}

.stat-item h3 {
  font-size: 32px;
  font-weight: 600;
  color: #d4b34a;
  margin-bottom: 0.3rem;
  letter-spacing: 0.06em;
}
.stat-item small {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


.news-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}

.slider-controls {
  display: flex;
  gap: 10px;
}
.slider-btn {
  background: #fff;
  border: 1px solid #d4b34a;
  color: #d4b34a;
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-btn:hover {
  background: #bfa158;
  color: #fff;
  border-color: #bfa158;
}
.news-slider {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory; 
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.news-card {
  flex: 0 0 auto;
  width: calc(32% - 18px);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);  
  color: #fff;
  height: 33rem;
  margin-right: 28px;
  z-index: 1;
}

.news-card-img {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  z-index: -1;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.news-card-img::after{
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  content: '';
  background: rgba(0, 0, 0, 0.45);
}

.news-content {
  padding: 16px;
  position: relative;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.news-content h3 {
  font-size: 24px;
  line-height: 26px;
  padding: 0 0 36px;
  border-bottom: 1px solid #ffffff80;
}

.read-more {
  display: inline-block;
  background-color: #bfa158;
  color: #fff;
  padding: 6px 14px;
  margin: 22px 0;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.read-more .arrow {
  margin-left: 5px;
}

.read-more:hover {
  background-color: #a78c3c;
}

.footer {
  background-color: #0c0f1c;
  color: #ffffff;
  padding: 60px 0 20px 0;
  position: relative;
  overflow: hidden;
}
.footer h4 {
  color: #d4b34a;
  margin-bottom: 20px;
  font-weight: bold;
}
.footer a {
  color: #bdbdbd;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.location-info li {
  padding-bottom: 8px;
}
.location-info i {
  color: #d4b34a;
  margin-right: 5px;
}
.footer .social-icons a {
  color: #fff;
  font-size: 18px;
  margin-right: 15px;
  transition: all 0.3s ease;
}
.footer .social-icons a:hover {
  color: #d4b34a;
}

.footer-bottom {
  border-top: 1px solid #3c3f58;
  margin-top: 10px;
  padding-top: 15px;
  font-size: 14px;
  color: #aaa;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    background-color: #d4b34a;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

#backToTop:hover {
    background-color: #ceaf4a;
}

/* Адаптивность */
@media (max-width: 768px) {
  .news-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto!important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 10px;
  }

  .news-card {
    width: 80%;
    flex: 0 0 auto;
  }
}
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: calc(100% - 120px) !important;
  }
}
