.brand > .brand-mark {
  display: none !important;
}

.brand {
  transform: scale(1.1);
  transform-origin: left center;
}

.brand::before {
  background: url("/assets/fratelli-group-mark.svg") center / contain no-repeat;
  content: "";
  flex: 0 0 44px;
  height: 38px;
  width: 44px;
}

.brand.brand-inverse::before {
  background-image: url("/assets/fratelli-group-mark-inverse.svg");
}

.hero-mark {
  background: url("/assets/fratelli-group-logo.svg") center / contain no-repeat;
}

.hero-mark > svg {
  display: none !important;
}

.hero-mark {
  transform: scale(1.1);
  transform-origin: center;
}

.hero-stat-side {
  display: none !important;
}

.page-hero-with-media {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.page-hero-with-media > .container.narrow {
  max-width: 1180px;
  padding-right: clamp(290px, 30vw, 390px);
  position: relative;
  z-index: 1;
}

.page-hero-media {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(52, 57, 65, 0.18);
  box-shadow: 0 18px 48px rgba(52, 57, 65, 0.14);
  margin: 0;
  opacity: 0.9;
  padding: 12px;
  pointer-events: none;
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  top: 50%;
  transform: translateY(-50%) rotate(1deg);
  width: clamp(260px, 25vw, 340px);
  z-index: 0;
}

.page-hero-media::after {
  border: 1px solid rgba(116, 24, 39, 0.28);
  content: "";
  inset: 7px;
  pointer-events: none;
  position: absolute;
}

.page-hero-media img {
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}

.page-hero-media--process {
  transform: translateY(-50%) rotate(-1deg);
  width: clamp(300px, 28vw, 400px);
}

.page-hero-media--process img {
  aspect-ratio: 16 / 9;
}

.page-hero-media--pricing {
  transform: translateY(-50%) rotate(1.2deg);
}

.page-hero-media--nomenclature {
  transform: translateY(-50%) rotate(-1.2deg);
}

.price-request-section {
  padding-top: 72px;
}

.price-request-grid {
  align-items: start;
  display: grid;
  gap: 84px;
  grid-template-columns: 0.8fr 1.2fr;
}

.price-request-grid > div > p {
  color: var(--muted);
  max-width: 540px;
}

.price-request-details {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.price-request-details div {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.price-request-details strong {
  display: block;
  font: 700 13px/1.2 Manrope, sans-serif;
  margin-bottom: 5px;
}

.price-request-details span {
  color: var(--muted);
  font-size: 14px;
}

.price-request-form {
  background: var(--off-white);
  border-top: 4px solid var(--burgundy);
  padding: 36px;
}

.price-request-form h2 {
  font-size: 31px;
  margin-bottom: 12px;
}

.price-request-form > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.price-request-email {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-request-form label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  margin-bottom: 20px;
}

.price-request-form .form-row {
  gap: 15px;
}

.price-request-form .form-message {
  color: var(--burgundy);
  font-size: 13px;
  margin: 0 0 18px;
}

.contact-email {
  color: var(--burgundy);
  display: inline-block;
  font: 700 18px/1.2 Manrope, sans-serif;
  margin-top: 15px;
}

.nomenclature-card {
  min-height: 470px;
  overflow: hidden;
}

.nomenclature-image {
  aspect-ratio: 16 / 10;
  background: #f1f2f3;
  border: 1px solid var(--line);
  margin: 22px 0 28px;
  overflow: hidden;
}

.nomenclature-image img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  width: 100%;
}

.footer-email {
  color: #ffffff !important;
  font-weight: 600;
}

@media (min-width: 1100px) {
  .page-hero-media--process {
    transform: translate(10mm, -50%) rotate(-1deg);
  }
}

@media (max-width: 1020px) {
  .page-hero-with-media > .container.narrow {
    padding-right: 0;
  }

  .page-hero-media {
    margin: 34px 0 0 auto;
    max-width: 100%;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
  }

  .page-hero-media--process {
    width: min(100%, 520px);
  }

  .page-hero-media--pricing,
  .page-hero-media--nomenclature {
    width: min(100%, 330px);
  }

  .price-request-grid {
    gap: 45px;
  }
}

@media (max-width: 720px) {
  .page-hero-media {
    margin: 28px auto 0;
  }

  .page-hero-media--process {
    width: min(100%, 430px);
  }

  .page-hero-media--pricing,
  .page-hero-media--nomenclature {
    width: min(100%, 310px);
  }

  .price-request-section {
    padding-top: 42px;
  }

  .price-request-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .price-request-form {
    padding: 26px 20px;
  }

  .nomenclature-card {
    min-height: 0;
  }

  .nomenclature-image {
    margin: 18px 0 24px;
  }
}
