.zw-proy {
  position: relative;
  z-index: 2;
  overflow: visible;
  background: var(--zw-white);
  color: var(--zw-dark);
  padding: clamp(6.5rem, 16vw, 10.5rem) 0 clamp(3.5rem, 8vw, 5rem);
}

.zw-proy__truck {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 3;
  width: min(78vw, 54rem);
  height: auto;
  transform: translate(-50%, -46%);
  pointer-events: none;
}

.zw-proy__head {
  text-align: center;
  margin: 0 auto clamp(2rem, 4.5vw, 3rem);
}

.zw-proy__eyebrow {
  margin: 0 0 0.35rem;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  font-weight: var(--zw-weight-title);
  line-height: 1.35;
  color: var(--zw-dark);
}

.zw-proy__title {
  margin: 0;
  font-size: clamp(1.35rem, 5.2vw, 2.75rem);
  font-weight: var(--zw-weight-title);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--zw-dark);
  white-space: nowrap;
}

.zw-proy__title-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 0.24em;
}

.zw-proy__title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--zw-orange);
  border-radius: 2px;
}

.zw-proy__intro {
  margin: 0.85rem auto 0;
  max-width: 34rem;
  font-size: clamp(0.82rem, 1.55vw, 0.92rem);
  font-weight: var(--zw-weight-body);
  line-height: 1.55;
  color: #9a9a9a;
}

.zw-proy__layout {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  align-items: stretch;
}

.zw-proy__mosaic {
  display: grid;
  gap: 0.35rem;
}

.zw-proy__row {
  display: grid;
  gap: 0.35rem;
}

.zw-proy__row--top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zw-proy__row--bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zw-proy__tile {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.zw-proy__row--top .zw-proy__tile {
  aspect-ratio: 1.06 / 1;
}

.zw-proy__row--bottom .zw-proy__tile {
  aspect-ratio: 1.08 / 1;
}

.zw-proy__tile::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.zw-proy__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 420ms var(--zw-ease);
}

@keyframes zw-proy-photo-whoosh {
  0% {
    transform: translateX(-22%);
    filter: blur(14px);
    opacity: 0.4;
  }
  58% {
    transform: translateX(4%);
    filter: blur(5px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    filter: blur(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .zw-proy__tile.is-whoosh .zw-proy__photo {
    animation: zw-proy-photo-whoosh 720ms var(--zw-ease) both;
    transition: none;
    will-change: transform, filter;
    backface-visibility: hidden;
  }
}

.zw-proy__tile:hover:not(.is-whoosh) .zw-proy__photo {
  transform: scale(1.04);
}

.zw-proy__label {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  z-index: 2;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  font-weight: var(--zw-weight-title);
  line-height: 1.1;
  color: var(--zw-white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.zw-proy__form-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.6rem, 3.4vw, 2.15rem) clamp(1.1rem, 2.6vw, 1.55rem) clamp(1.35rem, 2.8vw, 1.65rem);
  background: var(--zw-orange);
  color: var(--zw-white);
}

.zw-proy__form-wrap .form-wrapper,
.zw-proy__form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: clamp(0.75rem, 1.6vw, 0.95rem);
  min-height: 0;
  margin: 0;
  background: transparent;
}

.zw-proy__form-wrap .buttons {
  display: flex;
  margin-top: auto;
}

.zw-proy__form-wrap .notices {
  margin: 0 0 0.35rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.zw-proy__form-wrap .notices p {
  margin: 0;
}

.zw-proy__form-wrap .notices.success,
.zw-proy__form-wrap .notices.green {
  background: rgba(255, 255, 255, 0.18);
}

.zw-proy__form-wrap .notices.error,
.zw-proy__form-wrap .notices.red {
  background: rgba(80, 20, 0, 0.28);
}

.zw-proy__form-icon {
  position: absolute;
  top: -1.35rem;
  right: -0.35rem;
  width: clamp(4.5rem, 8vw, 5.75rem);
  height: clamp(4.5rem, 8vw, 5.75rem);
  padding: 0.85rem;
  border-radius: 50%;
  background: #2c2c2c;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.zw-proy__form-icon--svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.zw-proy__form-head {
  margin-bottom: 0.35rem;
  padding-right: clamp(3rem, 8vw, 4.5rem);
}

.zw-proy__form-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: var(--zw-weight-title);
  line-height: 1.1;
}

.zw-proy__form-sub {
  margin: 0.2rem 0 0;
  font-size: clamp(0.78rem, 1.4vw, 0.88rem);
  font-weight: var(--zw-weight-body);
  line-height: 1.35;
}

.zw-proy__field input {
  width: 100%;
  padding: 0.82rem 1.05rem;
  border: 1.5px solid rgba(120, 45, 0, 0.38);
  border-radius: 999px;
  background: transparent;
  color: var(--zw-white);
  font-family: inherit;
  font-size: clamp(0.82rem, 1.5vw, 0.92rem);
  font-weight: var(--zw-weight-body);
  line-height: 1.2;
}

.zw-proy__field input::placeholder {
  color: rgba(255, 214, 186, 0.82);
}

.zw-proy__field input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.zw-proy__roles {
  margin: 0.35rem 0 0;
  padding: 0;
  border: 0;
}

.zw-proy__roles legend {
  margin-bottom: 0.55rem;
  font-size: clamp(0.82rem, 1.45vw, 0.92rem);
  font-weight: var(--zw-weight-body);
}

.zw-proy__radio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 1.1rem;
  font-size: clamp(0.82rem, 1.45vw, 0.92rem);
  font-weight: var(--zw-weight-body);
  cursor: pointer;
}

.zw-proy__radio input {
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.zw-proy__radio input:checked {
  background: radial-gradient(circle at center, #fff 0 35%, transparent 36%);
}

.zw-proy__submit {
  margin-top: auto;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #2c2c2c;
  color: var(--zw-orange);
  font-family: inherit;
  font-size: clamp(0.82rem, 1.5vw, 0.92rem);
  font-weight: var(--zw-weight-title);
  line-height: 1.2;
  cursor: pointer;
  transition: filter 220ms var(--zw-ease), transform 220ms var(--zw-ease);
}

.zw-proy__submit:hover {
  filter: brightness(1.08);
  transform: translateY(1px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 960px) {
  .zw-proy__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(0.85rem, 2vw, 1.1rem);
  }
}

@media (max-width: 959px) {
  .zw-proy__row--bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zw-proy__row--bottom .zw-proy__tile:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .zw-proy__row--top,
  .zw-proy__row--bottom {
    grid-template-columns: 1fr;
  }

  .zw-proy__row--bottom .zw-proy__tile:last-child {
    grid-column: auto;
  }

  .zw-proy__form-icon {
    right: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zw-proy__photo,
  .zw-proy__submit {
    transition: none;
  }

  .zw-proy__tile:hover:not(.is-whoosh) .zw-proy__photo,
  .zw-proy__submit:hover {
    transform: none;
  }
}
