html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  padding: 0 clamp(16px, 4vw, 56px);
  box-sizing: border-box;
  color: white;
}

section {
  scroll-margin-top: 120px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 110px);
  padding: 42px 0 82px;
  text-align: center;
}

.hero-inner {
  width: min(920px, 100%);
}

.eyebrow,
.section-heading p,
.project-label {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.62);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 200;
  line-height: 1.12;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px auto 28px;
  color: rgba(255, 255, 255, 0.74);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.7;
}

.cta,
.submit-btn,
.project-actions a,
.service-card__content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  color: white;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04rem;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cta:hover,
.submit-btn:hover,
.service-card__content a:hover {
  background: white;
  color: black;
}

.section-block {
  max-width: 1240px;
  margin: 0 auto 118px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 200;
  letter-spacing: 0.08rem;
}

.services-section .section-heading p {
  display: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  justify-content: center;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-sizing: border-box;
}

.service-card img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.service-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

.service-card__content h3,
.format-card h3,
.project-statistics h3,
.comments h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.service-card__content p,
.format-card p,
.project-statistics p,
.comment p,
.about-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.service-card__content a {
  min-height: 36px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.about-copy,
.about-stats {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.about-copy .section-title {
  margin-bottom: 20px;
  text-align: left;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-stats div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.about-stats strong {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 200;
}

.about-stats span {
  color: rgba(255, 255, 255, 0.66);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}

.format-card {
  min-width: 0;
  padding: 14px 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-sizing: border-box;
}

.format-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.format-card h3 {
  margin-top: 16px;
}

.format-card p {
  margin-top: 10px;
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 26px;
  align-items: start;
}

.comments {
  position: sticky;
  top: 118px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-sizing: border-box;
}

.comment {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.user img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.user h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.project-card.reverse .project-img {
  order: 2;
}

.project-img {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
}

.project-img div,
.mySlides {
  width: 100%;
  height: 100%;
  margin: 0;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
}

.prev {
  left: 14px;
}

.next {
  right: 14px;
}

.prev:hover,
.next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.project-statistics {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.project-statistics h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 200;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-meta div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.project-meta span,
.project-meta strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
}

.project-meta span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  text-transform: uppercase;
}

.project-meta strong {
  margin-top: 6px;
  font-size: 18px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-actions a {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.84);
}

.contact-us {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 0 110px;
  text-align: center;
}

.contact-form {
  width: 100%;
  margin: 42px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  gap: 22px;
}

.form-group {
  position: relative;
  flex: 1;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 18px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-sizing: border-box;
  color: white;
  font-size: 16px;
  outline: none;
  resize: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-group select {
  min-height: 57px;
  appearance: none;
  cursor: pointer;
  background-color: rgba(8, 8, 8, 0.92);
  color-scheme: dark;
}

.form-group select option {
  background: #050505;
  color: white;
}

.form-group select option:checked,
.form-group select option:hover {
  background: #222;
  color: white;
}

.form-group label {
  position: absolute;
  left: 15px;
  top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  pointer-events: none;
  transition: 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 12px;
  padding: 0 6px;
  background: black;
  color: white;
  font-size: 12px;
}

.submit-btn {
  width: 100%;
  min-height: 56px;
  cursor: pointer;
}

.form-success {
  display: none;
  color: #8ef8d2;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .service-grid,
  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-layout {
    grid-template-columns: 1fr;
  }

  .comments {
    position: static;
  }

  .about-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding: 56px 0 78px;
  }

  .project-card,
  .project-card.reverse {
    grid-template-columns: 1fr;
  }

  .project-card.reverse .project-img {
    order: 0;
  }

  .project-img {
    min-height: 300px;
  }

  .form-row {
    flex-direction: column;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  main {
    padding: 0 14px;
  }

  .section-block {
    margin-bottom: 86px;
  }

  .service-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .services-section .section-heading p {
    display: block;
  }

  .services-section .section-heading .section-title {
    display: none;
  }

  .service-card {
    min-height: auto;
    padding: 18px;
  }

  .project-card {
    padding: 12px;
  }

  .project-img {
    min-height: 240px;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .project-actions a {
    width: 100%;
  }
}
