.cprod-page {
  background: var(--body-bg);
}

.cprod-page .edge-lock-layer {
  z-index: 15;
  opacity: calc(var(--edge-opacity) * 1.2);
}

.cprod-page main {
  margin-top: 62px;
  position: relative;
  z-index: 10;
}

.cprod-page .hero-header,
.cprod-page .site-footer {
  position: relative;
  z-index: 30;
}

.cprod-page .site-footer {
  margin-top: 0;
}

.cprod-header {
  z-index: 200;
}

.cprod-shell {
  width: min(1320px, 92vw);
  margin: 0 auto;
}

.cprod-section {
  position: relative;
  padding: clamp(54px, 6vw, 96px) 0;
  overflow: hidden;
}

.cprod-section--light {
  background: transparent;
  color: #535962;
}

.cprod-section--light h2,
.cprod-section--light h3 {
  color: #515862;
}

.cprod-section--dark {
  background: linear-gradient(98deg, #242628 0%, #1b1d20 56%, #242628 100%);
  color: #eef3f8;
}

.cprod-hero {
  position: relative;
  min-height: clamp(500px, 62vh, 700px);
  display: grid;
  align-items: center;
  color: #ffffff;
  background: #0e1218;
}

.cprod-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cprod-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgb(6 10 16 / 0.78) 0%, rgb(6 10 16 / 0.56) 50%, rgb(6 10 16 / 0.76) 100%);
}

.cprod-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cprod-hero__content h1 {
  margin: 0 auto;
  width: min(920px, 94%);
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
}

.cprod-hero__content p {
  margin: 18px auto 0;
  width: min(920px, 94%);
  font-size: clamp(1rem, 1.16vw, 1.3rem);
  line-height: 1.5;
  color: rgb(243 248 253 / 0.94);
}

.cprod-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 44px;
  z-index: 4;
  background: var(--story-bg);
  clip-path: polygon(0 30%, 10% 42%, 24% 34%, 35% 45%, 50% 32%, 65% 46%, 80% 35%, 92% 43%, 100% 32%, 100% 100%, 0 100%);
}

.cprod-wave-divider--bottom {
  bottom: -1px;
}

.cprod-media {
  position: relative;
  background: linear-gradient(145deg, rgb(226 232 239 / 0.9), rgb(201 210 220 / 0.96));
  border: 1px solid rgb(118 132 148 / 0.35);
  overflow: hidden;
}

.cprod-section--dark .cprod-media {
  background: linear-gradient(145deg, rgb(54 63 74 / 0.75), rgb(39 45 53 / 0.88));
  border-color: rgb(169 186 206 / 0.28);
}

.cprod-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cprod-media--cover img {
  object-fit: cover;
}

.cprod-media__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 16px;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  color: #31455f;
  line-height: 1.35;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(225deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(315deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px,
    linear-gradient(45deg, rgb(255 255 255 / 0.36) 25%, transparent 25%) 0 0 / 32px 32px;
}

.cprod-media__placeholder code {
  display: inline-block;
  margin-top: 6px;
  color: #1f3b5b;
}

.cprod-section--dark .cprod-media__placeholder {
  color: #e9f2ff;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(225deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) -16px 0 / 32px 32px,
    linear-gradient(315deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) 0 0 / 32px 32px,
    linear-gradient(45deg, rgb(255 255 255 / 0.08) 25%, transparent 25%) 0 0 / 32px 32px;
}

.cprod-section--dark .cprod-media__placeholder code {
  color: #ca0d00;
}

.cprod-media.has-media .cprod-media__placeholder {
  display: none;
}

.cprod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent-blue);
  padding: 12px 22px;
}

.cprod-btn--solid {
  color: #ffffff;
  background: #ca0d00;
}

.cprod-intro {
  text-align: center;
}

.cprod-notch {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 24px solid #dfe2e8;
  transform: translateX(-50%);
  z-index: 5;
}

.cprod-intro h2 {
  margin: 0 auto;
  width: min(1060px, 94%);
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.1;
}

.cprod-intro__lead {
  margin: 16px auto 0;
  width: min(1000px, 94%);
  font-size: clamp(1rem, 1.15vw, 1.26rem);
  line-height: 1.5;
}

.cprod-gallery {
  margin: clamp(30px, 3.2vw, 48px) auto 0;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cprod-gallery__item {
  min-height: clamp(210px, 18vw, 300px);
}

.cprod-gallery__item--d {
  grid-column: 1 / 2;
}

.cprod-form-band {
  min-height: 760px;
}

.cprod-form-band__bg {
  position: absolute;
  inset: 0;
}

.cprod-form-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 0.58);
}

.cprod-form-band__content {
  position: relative;
  z-index: 2;
  width: min(840px, 92vw);
}

.cprod-form-band__content h2 {
  margin: 0;
  text-align: center;
  color: #ffffff;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.1;
}

.cprod-form-band__content p {
  margin: 14px auto 0;
  text-align: center;
  color: rgb(240 247 255 / 0.9);
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  line-height: 1.5;
}

.cprod-form {
  margin-top: 28px;
}

.cprod-form label,
.cprod-form legend {
  display: block;
  color: #ffffff;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  line-height: 1.35;
}

.cprod-form span {
  color: #ca0d00;
}

.cprod-form input,
.cprod-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 0;
  background: rgb(255 255 255 / 0.95);
  color: #222e3d;
  font-family: "MyriadProRegular", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.cprod-form textarea {
  min-height: 126px;
}

.cprod-form label + label {
  margin-top: 14px;
}

.cprod-form fieldset {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.cprod-form fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: "MyriadProRegular", "Segoe UI", sans-serif;
  font-size: 1.02rem;
}

.cprod-form fieldset input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
}

.cprod-form button {
  margin-top: 18px;
  padding: 12px 20px;
  border: 0;
  background: #5c636d;
  text-transform: uppercase;
  color: #ffffff;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
}

.cprod-services {
  padding-top: clamp(56px, 6vw, 96px);
}

.cprod-services__title {
  margin: 0;
  text-align: center;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.1;
}

.cprod-services__lead {
  margin: 16px auto 0;
  width: min(980px, 94%);
  text-align: center;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  line-height: 1.5;
}

.cprod-services__grid {
  margin-top: clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.2vw, 30px);
}

.cprod-service-card .cprod-media {
  min-height: clamp(190px, 15vw, 250px);
}

.cprod-service-card h3 {
  margin: 14px 0 0;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1.46rem, 1.85vw, 2.15rem);
  line-height: 1.2;
}

.cprod-service-card p {
  margin: 12px 0 0;
  font-size: clamp(1rem, 1.12vw, 1.25rem);
  line-height: 1.52;
}

.cprod-service-card a {
  display: inline-block;
  margin-top: 14px;
  color: #ca0d00;
  text-decoration: none;
  font-family: "MyriadProBold", "Segoe UI", sans-serif;
  font-size: clamp(1.02rem, 1.1vw, 1.2rem);
  border-bottom: 2px solid rgb(202 13 0 / 0.36);
  padding-bottom: 3px;
}

@media (max-width: 1160px) {
  .cprod-services__grid,
  .cprod-gallery {
    grid-template-columns: 1fr;
  }

  .cprod-gallery__item--d {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  .cprod-page main {
    margin-top: 44px;
  }

  .cprod-section {
    padding: 42px 0;
  }

  .cprod-hero {
    min-height: 420px;
  }

  .cprod-hero__content h1,
  .cprod-intro h2,
  .cprod-form-band__content h2,
  .cprod-services__title {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }

  .cprod-hero__content p,
  .cprod-intro__lead,
  .cprod-form-band__content p,
  .cprod-services__lead,
  .cprod-service-card p,
  .cprod-form fieldset label {
    font-size: clamp(0.95rem, 4.2vw, 1.1rem);
  }

  .cprod-wave-divider {
    height: 28px;
  }
}
