/* SIMTOLITE industry-grade UI and interaction layer */

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), #ffe185);
  box-shadow: 0 0 15px rgba(246, 173, 0, 0.45);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.nav-shell {
  transition:
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.nav-shell.is-scrolled {
  box-shadow: 0 12px 30px rgba(7, 31, 79, 0.11);
}

.page-hero {
  position: relative;
  min-height: 520px;
  padding: 90px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(43, 135, 255, 0.22),
      transparent 35%
    ),
    linear-gradient(115deg, #05183c 0%, var(--navy) 62%, #092b65 100%);
  color: #fff;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 75%);
  pointer-events: none;
}

.page-hero__glow {
  position: absolute;
  top: -180px;
  right: 6%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(246, 173, 0, 0.13);
  filter: blur(80px);
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(42px, 7vw, 105px);
}

.page-hero__copy h1 {
  max-width: 780px;
  margin: 20px 0 22px;
  font-size: clamp(47px, 5.2vw, 78px);
  letter-spacing: -0.055em;
}

.page-hero__copy > p {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.75;
}

.page-hero .breadcrumb {
  margin-top: 32px;
}

.page-hero__media {
  position: relative;
  height: 365px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.3);
}

.page-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(2, 14, 36, 0.8));
  content: "";
  pointer-events: none;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.page-hero:hover .page-hero__media img {
  transform: scale(1.035);
}

.page-hero__media > span {
  position: absolute;
  right: 25px;
  bottom: 22px;
  left: 25px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero__media > span b {
  color: #fff;
  font-size: 13px;
}

.service-journey {
  position: relative;
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #dfe5ee;
  border: 1px solid #dfe5ee;
}

.service-journey article {
  position: relative;
  display: grid;
  min-height: 240px;
  padding: 32px;
  grid-template-columns: 38px 1fr;
  gap: 20px;
  background: #fff;
}

.service-journey article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-journey article svg {
  margin-bottom: 20px;
  color: var(--blue);
}

.service-journey h3 {
  margin-bottom: 11px;
  font-size: 22px;
}

.service-journey p {
  color: var(--muted);
}

.service-journey small {
  display: block;
  margin-top: 20px;
  color: #7c899a;
  font-size: 12px;
  line-height: 1.6;
}

.service-journey--light,
.service-journey--light article {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.service-journey--light article > span,
.service-journey--light article svg {
  color: var(--amber);
}

.service-journey--light p,
.service-journey--light small {
  color: rgba(255, 255, 255, 0.68);
}

.process-section__action {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.advanced-filters {
  display: grid;
  gap: 13px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.advanced-filters__title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.advanced-filters__title > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.advanced-filters__title small {
  max-width: 135px;
  color: #8390a3;
  font-size: 10px;
  line-height: 1.35;
  text-align: right;
}

.advanced-filters label {
  display: grid;
  gap: 6px;
}

.advanced-filters label > span {
  color: #647187;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.advanced-filters select {
  width: 100%;
  min-height: 43px;
  padding: 0 36px 0 12px;
  border: 1px solid #d9e0e9;
  border-radius: 3px;
  background: #fff;
  font-size: 13px;
}

.advanced-filters > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.catalogue-summary > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.catalogue-summary > div span {
  padding: 5px 9px;
  border: 1px solid #d9e2ee;
  border-radius: 99px;
  background: #f7f9fc;
  color: #627087;
  font-size: 11px;
}

.selection-guide__grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.selection-guide__grid article {
  position: relative;
  min-height: 310px;
  padding: 34px;
  border: 1px solid #dfe5ee;
  background: #fff;
  box-shadow: 0 12px 35px rgba(7, 31, 79, 0.05);
}

.selection-guide__grid article > svg {
  color: var(--blue);
}

.selection-guide__grid article > span {
  position: absolute;
  top: 33px;
  right: 33px;
  color: #9aa5b4;
  font-size: 12px;
  font-weight: 800;
}

.selection-guide__grid h3 {
  margin: 48px 0 20px;
  font-size: 23px;
}

.selection-guide__grid ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.selection-guide__grid li::before {
  margin-right: 8px;
  color: var(--amber);
  content: "•";
}

.product-detail-facts {
  display: grid;
  max-width: 650px;
  margin: 34px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.product-detail-facts > div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.product-detail-facts span,
.product-detail-facts strong {
  display: block;
}

.product-detail-facts span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-facts strong {
  color: #fff;
  font-size: 13px;
}

.product-gallery {
  min-width: 0;
}

.product-gallery__main {
  position: relative;
  height: 425px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #fff;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.product-gallery__main > span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 6px 9px;
  background: rgba(7, 31, 79, 0.82);
  color: #fff;
  font-size: 10px;
}

.product-gallery__thumbs {
  display: grid;
  margin-top: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.product-gallery__thumbs button {
  height: 70px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.product-gallery__thumbs button.active {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-planning__grid,
.quality-continuity__grid {
  display: grid;
  margin-top: 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-planning__grid > div,
.quality-continuity__grid article {
  display: grid;
  min-height: 125px;
  align-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  grid-template-columns: 32px 26px 1fr;
  gap: 12px;
}

.product-planning__grid span {
  color: #99a4b3;
  font-size: 11px;
  font-weight: 800;
}

.product-planning__grid svg,
.quality-continuity__grid svg {
  color: var(--blue);
}

.product-planning__grid strong {
  font-size: 14px;
}

.engineering-story__grid,
.contact-prepare__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(42px, 7vw, 95px);
}

.engineering-story__media,
.contact-prepare__media {
  position: relative;
  height: 455px;
  overflow: hidden;
}

.engineering-story__media img,
.contact-prepare__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.engineering-story__media > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  background: rgba(7, 31, 79, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.engineering-story__checks {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.engineering-story__checks > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.engineering-story__checks svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.service-grid--details {
  margin-top: 26px;
}

.industry-match {
  display: block;
  width: fit-content;
  margin: 19px 0 4px;
  padding: 5px 9px;
  border-radius: 99px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.portfolio-stats {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.portfolio-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-stats__grid > div {
  display: grid;
  min-height: 118px;
  align-content: center;
  padding: 20px 34px;
  border-left: 1px solid var(--line);
}

.portfolio-stats__grid > div:last-child {
  border-right: 1px solid var(--line);
}

.portfolio-stats strong {
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.portfolio-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.project-gallery__empty {
  display: grid;
  min-height: 290px;
  place-items: center;
  align-content: center;
  padding: 35px;
  border: 1px dashed #cdd7e5;
  background: #f6f8fb;
  color: var(--muted);
  text-align: center;
}

.project-gallery__empty svg {
  margin-bottom: 15px;
  color: var(--blue);
}

.project-gallery__empty strong {
  max-width: 350px;
  color: var(--ink);
}

.project-gallery__empty p {
  max-width: 360px;
  margin: 8px 0 0;
  font-size: 13px;
}

.company-capabilities__clients {
  margin-top: 46px;
  padding-top: 35px;
  border-top: 1px solid #dbe2ec;
}

.company-capabilities__clients > span {
  display: block;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.quality-continuity__grid article {
  grid-template-columns: 32px 1fr;
}

.quality-continuity__grid article span {
  font-size: 14px;
  font-weight: 750;
}

.contact-prepare__list {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-prepare__list > div {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.contact-prepare__list span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.legal-copy__lead {
  max-width: 880px;
}

.legal-copy__lead h2 {
  margin: 16px 0 20px;
  font-size: clamp(34px, 4vw, 52px);
}

.legal-copy__lead p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.legal-section-grid {
  display: grid;
  margin-top: 50px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.legal-section-grid article {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.legal-section-grid article > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.legal-section-grid h3 {
  margin: 35px 0 16px;
  font-size: 22px;
}

.legal-section-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.legal-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid #dce6f4;
  background: #f5f9ff;
}

.legal-contact svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.legal-contact p {
  margin: 0;
  font-size: 14px;
}

.legal-contact a {
  color: var(--blue);
  font-weight: 800;
}

.image-unavailable {
  position: relative;
  min-height: 180px;
  background: linear-gradient(145deg, #eef3f9, #fff);
}

.image-unavailable::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #7d8ba0;
  content: "Image available from the SIMTOLITE catalogue";
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* Customer reviews */

.customer-reviews {
  overflow: hidden;
  background: linear-gradient(180deg, #f6f8fb 0%, #fff 100%);
}

.review-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 40px;
}

.review-heading > * {
  min-width: 0;
}

.review-heading__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.review-summary {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: var(--muted);
  min-width: 0;
  max-width: 320px;
  font-size: 11px;
  text-align: right;
}

.review-summary span {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.review-summary strong {
  color: var(--ink);
  font-size: 15px;
}

.review-list {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  min-height: 330px;
  padding: 32px;
  flex-direction: column;
  border: 1px solid #dfe5ee;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 31, 79, 0.07);
}

.review-stars,
.review-stars-admin {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #bdc7d3;
}

.review-stars .is-filled,
.review-stars-admin .is-filled {
  fill: var(--amber);
  color: var(--amber);
}

.review-card h3 {
  margin: 25px 0 14px;
  font-size: 21px;
}

.review-card blockquote {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.review-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 27px;
  border-top: 1px solid #e7ebf1;
}

.review-card__footer strong,
.review-card__footer span {
  display: block;
}

.review-card__footer strong {
  font-size: 12px;
}

.review-card__footer span,
.review-card__footer time {
  margin-top: 5px;
  color: #8995a7;
  font-size: 10px;
}

.review-empty,
.review-loading {
  display: grid;
  min-height: 230px;
  grid-column: 1 / -1;
  place-items: center;
  align-content: center;
  padding: 35px;
  border: 1px dashed #cfd8e5;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.review-empty svg,
.review-loading svg {
  margin-bottom: 14px;
  color: var(--blue);
}

.review-empty h3 {
  margin-bottom: 7px;
}

.review-empty p,
.review-loading {
  color: var(--muted);
  font-size: 13px;
}

body.review-modal-open {
  overflow: hidden;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  overflow: auto;
  overscroll-behavior: contain;
  background: #eef2f7;
  animation: review-modal-in 240ms ease both;
}

@keyframes review-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.review-modal__surface {
  min-height: 100dvh;
  background: #fff;
}

.review-modal__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 180px;
  padding: 36px max(5vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(
      circle at 75% 0%,
      rgba(43, 135, 255, 0.24),
      transparent 32%
    ),
    var(--navy);
  color: #fff;
  box-shadow: 0 18px 40px rgba(7, 31, 79, 0.14);
}

.review-modal__header h2 {
  max-width: 880px;
  margin: 13px 0 8px;
  font-size: clamp(30px, 4vw, 48px);
}

.review-modal__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.review-modal__header > button {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.review-form {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.review-form__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
  padding: 25px 28px;
  border: 1px solid #dfe5ee;
  background: #f7f9fc;
}

.review-form__intro > div > strong,
.review-form__intro > div > span {
  display: block;
}

.review-form__intro > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.review-rating {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: row-reverse;
  border: 0;
}

.review-rating input {
  position: absolute;
  opacity: 0;
}

.review-rating label {
  padding: 5px;
  color: #c5ceda;
  cursor: pointer;
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.review-rating label:hover,
.review-rating label:hover ~ label,
.review-rating input:checked ~ label {
  color: var(--amber);
}

.review-rating input:focus-visible + label {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.review-rating label:hover {
  transform: translateY(-2px);
}

.review-rating label svg {
  fill: currentColor;
}

.review-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.review-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.review-form label > span small {
  color: #8a96a7;
  font-weight: 500;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #d4dce7;
  border-radius: 2px;
  background: #fff;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.review-form textarea {
  min-height: 180px;
  resize: vertical;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 103, 240, 0.12);
}

.review-form label > small {
  color: #8692a3;
  font-size: 10px;
  font-weight: 500;
}

.review-form__wide {
  grid-column: 1 / -1;
}

.review-honeypot {
  position: absolute !important;
  left: -10000px !important;
}

.review-consent {
  display: flex !important;
  align-items: flex-start;
  margin-top: 24px;
  grid-template-columns: auto 1fr;
  gap: 11px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.review-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.review-form__notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #dce8f7;
  background: #f5f9ff;
  color: var(--muted);
}

.review-form__notice svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.review-form__notice p {
  margin: 0;
  font-size: 12px;
}

.review-form__actions {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.review-form__actions p {
  max-width: 650px;
  margin: 0;
  color: #a13d31;
  font-size: 13px;
  font-weight: 700;
}

.review-success {
  display: grid;
  min-height: 460px;
  place-items: center;
  align-content: center;
  padding: 60px 20px;
  text-align: center;
}

.review-success > svg {
  margin-bottom: 24px;
  color: #148257;
}

.review-success h3 {
  max-width: 640px;
  margin: 16px 0 10px;
  font-size: 34px;
}

.review-success p {
  max-width: 550px;
  margin-bottom: 28px;
  color: var(--muted);
}

/* CMS review moderation */

.cms-panel--conditional {
  border-left: 3px solid #0b67f0;
}

.review-moderation__loading {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #647187;
}

.review-privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 99px;
  background: #edf7f2;
  color: #187451;
  font-size: 10px;
  font-weight: 800;
}

.review-moderation__list {
  display: grid;
  gap: 16px;
}

.review-moderation-card {
  padding: 24px;
  border: 1px solid #dde4ec;
  border-radius: 7px;
  background: #fff;
}

.review-moderation-card__top,
.review-moderation-card__top > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-moderation-card__top time {
  color: #8793a3;
  font-size: 10px;
}

.review-status {
  padding: 5px 8px;
  border-radius: 99px;
  background: #fff6df;
  color: #976900;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-status--approved {
  background: #eaf8f1;
  color: #17714f;
}

.review-status--rejected {
  background: #fff0ef;
  color: #a33d35;
}

.review-moderation-card h3 {
  margin: 23px 0 10px;
  font-size: 20px;
}

.review-moderation-card blockquote {
  margin: 0 0 22px;
  color: #57667a;
  font-size: 13px;
  line-height: 1.7;
}

.review-moderation-card dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #e2e7ee;
  border: 1px solid #e2e7ee;
}

.review-moderation-card dl > div {
  min-width: 0;
  padding: 12px;
  background: #f8fafc;
}

.review-moderation-card dt {
  color: #8a95a5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-moderation-card dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: #24364e;
  font-size: 11px;
  font-weight: 700;
}

.review-moderation-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.review-moderation-card__actions button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #d6dee8;
  border-radius: 4px;
  background: #fff;
  color: #34465d;
  font-size: 11px;
  font-weight: 800;
}

.review-moderation-card__actions .review-approve {
  border-color: #0c7a54;
  background: #0c7a54;
  color: #fff;
}

.review-moderation-card__actions .danger {
  border-color: #f0d4d1;
  color: #a23f36;
}

.media-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 11px;
  padding: 28px;
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(246, 173, 0, 0.15),
      transparent 26%
    ),
    linear-gradient(145deg, #f7f9fc, #e8edf4);
  color: #65758b;
  text-align: center;
}

.media-placeholder svg {
  color: var(--amber);
}

.media-placeholder span {
  position: static;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-feature > .media-placeholder,
.product-card__image > .media-placeholder,
.project-card__image > .media-placeholder {
  min-height: 100%;
}

@media (max-width: 1100px) {
  /* Compact desktop / mobile "Desktop site" layout: keep the action block
     from squeezing the review heading into a narrow vertical column. */
  .review-heading {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .review-heading__actions {
    min-width: 0;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .review-summary {
    min-width: 0;
    max-width: 620px;
    justify-items: start;
    text-align: left;
  }

  .page-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .page-hero__media {
    height: 330px;
  }

  .service-journey article {
    padding: 25px;
    grid-template-columns: 30px 1fr;
  }

  .review-list,
  .legal-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-hero__grid,
  .engineering-story__grid,
  .contact-prepare__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__media,
  .engineering-story__media,
  .contact-prepare__media {
    height: 320px;
  }

  .service-journey,
  .selection-guide__grid,
  .product-planning__grid,
  .quality-continuity__grid {
    grid-template-columns: 1fr;
  }

  .service-journey article {
    min-height: 190px;
  }

  .portfolio-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-stats__grid > div:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .portfolio-stats__grid > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .review-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .review-heading__actions {
    justify-content: space-between;
  }

  .review-summary {
    justify-items: start;
  }

  .review-list,
  .legal-section-grid {
    grid-template-columns: 1fr;
  }

  .review-form {
    width: min(100% - 36px, 720px);
  }

  .review-form__grid {
    grid-template-columns: 1fr;
  }

  .review-form__wide {
    grid-column: auto;
  }

  .review-moderation-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page-hero__copy h1 {
    font-size: 42px;
  }

  .page-hero__copy > p {
    font-size: 15px;
  }

  .page-hero__media {
    height: 245px;
  }

  .page-hero__media > span {
    right: 14px;
    bottom: 13px;
    left: 14px;
    font-size: 9px;
  }

  .product-detail-facts {
    grid-template-columns: 1fr;
  }

  .product-gallery__main {
    height: 300px;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .engineering-story__checks,
  .contact-prepare__list {
    grid-template-columns: 1fr;
  }

  .portfolio-stats__grid {
    grid-template-columns: 1fr;
  }

  .portfolio-stats__grid > div {
    min-height: 95px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .review-heading__actions,
  .review-form__intro,
  .review-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .review-modal__header {
    min-height: 168px;
    padding: 25px 20px;
  }

  .review-modal__header h2 {
    font-size: 28px;
  }

  .review-modal__header p {
    display: none;
  }

  .review-form {
    width: calc(100% - 30px);
    padding: 34px 0 55px;
  }

  .review-form__intro {
    gap: 17px;
    padding: 19px;
  }

  .review-rating {
    justify-content: flex-end;
  }

  .review-moderation-card dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__media img,
  .review-modal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
