@font-face {
  font-family: "Forza";
  src: url("fonts/Forza-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

.masthead {
  min-height: 60vh;
  background-color: #0b1215;
  position: relative;
  overflow: hidden;
}

/* Top left logo */
.masthead__logo {
  position: absolute;
  top: 5%;
  left: 5%;
  height: 36px;
  width: auto;
  z-index: 2;
}

/* Masthead images - base */
.masthead__image {
  position: absolute;
  object-fit: cover;
  object-position: center;
}

/* Green block – masthead-1, same size/position as original green block */
.masthead__image--green {
  top: 18%;
  left: 52%;
  width: 38%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1;
  z-index: 2;
}

/* Red block – masthead-2, same size/position as original red block */
.masthead__image--red {
  top: 50%;
  left: 62%;
  width: 36%;
  height: 32%;
  max-width: 380px;
  max-height: 320px;
  min-height: 200px;
  z-index: 1;
}

/* Text block - left side, ~35–40% from top */
.masthead__text {
  position: absolute;
  left: 18%;
  top: 36%;
  z-index: 2;
}

.masthead__text-line {
  font-family: "Forza", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.masthead__text-line + .masthead__text-line {
  margin-top: 0.05em;
}

/* Mobile: green image fills section; red image hidden */
@media (max-width: 767px) {
  .masthead__image--red {
    display: none;
  }

  .masthead__image--green {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    z-index: 1;
  }

  .masthead__logo,
  .masthead__text {
    z-index: 10;
  }

  .masthead__text {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .masthead__text-line {
    color: #fff;
  }

  .masthead__logo {
    filter: brightness(0) invert(1);
  }
}

/* Clients / Who we've worked with */
.clients {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.clients__title {
  font-family: "Forza", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-transform: uppercase;
  color: #000;
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
}

.clients__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem 5rem;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.clients__logo {
  height: 80px;
  width: auto;
  max-width: 280px;
  flex: 1 1 0;
  min-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
}
.clients__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 767px) {
  .clients__logos {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: none;
    padding: 0.5rem 0;
    gap: 3.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
  }

  .clients__logos::-webkit-scrollbar {
    height: 6px;
  }
  .clients__logos::-webkit-scrollbar-track {
    background: transparent;
  }
  .clients__logos::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }
  .clients__logos::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
  }

  .clients__logo {
    flex: 0 0 auto;
    min-width: 160px;
    height: 64px;
  }
}

/* Three photos – full width on desktop */
.photos {
  display: flex;
  width: 100%;
  min-height: 320px;
}

.photos__item {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  display: flex;
}

.photos__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 767px) {
  .photos {
    flex-direction: row;
    flex-wrap: nowrap;
    position: relative;
    min-height: 520px;
    background-color: #0b1215;
    padding: 5rem 1.5rem;
  }

  .photos__item {
    position: absolute;
    flex: none;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .photos__item:nth-child(1) {
    left: 0;
    bottom: 8%;
    width: 55%;
    height: 72%;
    z-index: 1;
  }

  .photos__item:nth-child(2) {
    right: 4%;
    top: 6%;
    width: 52%;
    height: 42%;
    z-index: 2;
  }

  .photos__item:nth-child(3) {
    right: 2%;
    bottom: 8%;
    width: 50%;
    height: 42%;
    z-index: 2;
  }

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

/* Testimonials */
.testimonials {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.testimonials__title {
  font-family: "Forza", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-transform: uppercase;
  color: #000;
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonials__name {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  text-transform: uppercase;
  color: #000;
  text-align: center;
  margin: 0;
}

.testimonials__quote {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #000;
  margin: 0;
  text-align: center;
}

.testimonials__stars {
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: #000;
  text-align: center;
  margin: 0;
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .testimonials__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    max-width: none;
    width: 100%;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
  }

  .testimonials__grid::-webkit-scrollbar {
    height: 6px;
  }
  .testimonials__grid::-webkit-scrollbar-track {
    background: transparent;
  }
  .testimonials__grid::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }
  .testimonials__grid::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
  }

  .testimonials__card {
    flex: 0 0 auto;
    min-width: 85%;
    max-width: 85%;
  }
}
