/* ===================== */
/*  RESET & BASE         */
/* ===================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .3s;
}

ul {
  list-style: none;
}

/* ===================== */
/*  UTILITIES            */
/* ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.accent {
  color: #FFD600;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #FFD600;
  margin-bottom: 12px;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: #FFD600;
}

.section-tag--center {
  display: block;
  text-align: center;
  padding-left: 0;
}

.section-tag--center::before {
  display: none;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-title--center {
  text-align: center;
}

/* ===================== */
/*  BUTTONS              */
/* ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s;
  font-family: inherit;
}

.btn--primary {
  background: #FFD600;
  color: #1a1a1a;
  border-color: #FFD600;
}

.btn--primary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.btn--outline:hover {
  border-color: #FFD600;
  color: #FFD600;
}

.btn--full {
  width: 100%;
}

/* ===================== */
/*  HEADER               */
/* ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background .3s, box-shadow .3s;
}

.header.scrolled {
  background: rgba(26, 26, 26, .95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
  padding: 12px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.logo__img {
  height: 74px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FFD600;
  transition: width .3s;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.header__cta {
  padding: 10px 24px;
  font-size: 13px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== */
/*  HERO                 */
/* ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../img/imgHero.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, .85) 0%, rgba(26, 26, 26, .6) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
  width: 100%;
}

.hero__tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #FFD600;
  margin-bottom: 20px;
  position: relative;
  padding-left: 40px;
}

.hero__tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: #FFD600;
}

.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero__desc {
  font-size: 16px;
  opacity: .8;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

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

.stat__number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #FFD600;
  line-height: 1;
}

.stat__label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .7;
  margin-top: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  opacity: .6;
  transition: opacity .3s;
}

.hero__scroll:hover {
  opacity: 1;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-8px);
  }

  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ===================== */
/*  ABOUT                */
/* ===================== */
.about {
  padding: 100px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text {
  font-size: 16px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about__badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 8px;
}

.about__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  background: #FFD600;
  color: #1a1a1a;
  font-weight: 800;
  font-size: 13px;
  border-radius: 50%;
}

.about__badge-text {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

.about__image {
  border-radius: 12px;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ===================== */
/*  FEATURES             */
/* ===================== */
.features {
  padding: 0 0 100px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(255, 214, 0, .1);
  border-radius: 12px;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card__text {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

/* ===================== */
/*  PROJECTS / SLIDER    */
/* ===================== */
.projects {
  padding: 100px 0;
  background: #f9f9f9;
}

.slider {
  position: relative;
  margin-top: 40px;
}

.slider__viewport {
  overflow: hidden;
  border-radius: 16px;
}

.slider__track {
  display: flex;
  transition: transform .5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide__image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.slide__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.slide__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #FFD600;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
}

.slide__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px 32px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  color: #fff;
  border-radius: 0 0 16px 16px;
}

.slide__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.slide__desc {
  font-size: 15px;
  opacity: .85;
  margin-bottom: 12px;
  max-width: 600px;
}

.slide__meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  opacity: .7;
}

/* Slider buttons */
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .9);
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

.slider__btn:hover {
  background: #FFD600;
}

.slider__btn--prev {
  left: 16px;
}

.slider__btn--next {
  right: 16px;
}

/* Slider dots */
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: all .3s;
}

.slider__dot.active {
  background: #FFD600;
  transform: scale(1.2);
}

/* Thumbnails */
.thumbnails {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.thumbnails__item {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color .3s, opacity .3s;
  opacity: .6;
}

.thumbnails__item.active {
  border-color: #FFD600;
  opacity: 1;
}

.thumbnails__item:hover {
  opacity: 1;
}

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

/* ===================== */
/*  CONTACTS             */
/* ===================== */
.contacts {
  padding: 100px 0;
}

.contacts__subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 48px;
  margin-top: -12px;
}

.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contacts__item {
  margin-bottom: 20px;
}

.contacts__item-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 4px;
}

.contacts__item-value {
  font-size: 16px;
  font-weight: 600;
}

.contacts__item-value:hover {
  color: #FFD600;
}

.contacts__map {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
  height: auto;
}


.contacts__map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #999;
  font-size: 14px;
}

.contacts__map-placeholder small {
  font-size: 12px;
  opacity: .7;
}

/* Form */
.form {
  background: #f9f9f9;
  padding: 36px;
  border-radius: 16px;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 6px;
  font-weight: 600;
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: border-color .3s;
  color: #1a1a1a;
}

.form__input:focus {
  outline: none;
  border-color: #FFD600;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__privacy {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 16px;
}

.form__privacy a {
  color: #FFD600;
  text-decoration: underline;
}

/* Success message */
.form__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form__success.visible {
  display: block;
}

.form__success h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.form__success p {
  color: #777;
}

/* ===================== */
/*  FOOTER               */
/* ===================== */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__about {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  margin-top: 16px;
  line-height: 1.6;
}

.footer__heading {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFD600;
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  transition: color .3s;
}

.footer__links a:hover {
  color: #FFD600;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  text-align: center;
}

/* ===================== */
/*  ANIMATIONS           */
/* ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== */
/*  RESPONSIVE           */
/* ===================== */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    gap: 40px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .contacts__inner {
    grid-template-columns: 1fr;
  }

  .contacts__map-iframe {
    width: 100%;
  }

}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, .98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 1000;
  }

  .nav.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav__link {
    font-size: 20px;
  }

  .header__cta {
    display: none;
  }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__image {
    order: -1;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .slide__image img {
    height: 320px;
  }

  .slide__title {
    font-size: 18px;
  }

  .contacts__inner {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    padding: 120px 0 60px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__desc {
    font-size: 14px;
  }

  .hero__actions {
    margin-bottom: 40px;
  }

  .hero__stats {
    gap: 32px;
  }

  .slide__info {
    padding: 24px 16px 20px;
  }

  .slide__desc {
    font-size: 13px;
  }

  .slide__meta {
    font-size: 12px;
    gap: 12px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .thumbnails__item {
    width: 80px;
    height: 56px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__inner {
    padding: 110px 20px 50px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__actions {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero__stats {
    gap: 18px;
  }

  .stat__number {
    font-size: 28px;
  }

  .stat__label {
    font-size: 12px;
  }

  .section-title {
    font-size: 24px;
  }

  .slide__image img {
    height: 260px;
  }

  .form {
    padding: 24px 16px;
  }
}