.pc-page {
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.pc-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pc-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* HERO */
.pc-hero {
  background: #000;
  padding: 0;
}

.pc-hero__inner {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: stretch;
  min-height: 430px;
}

.pc-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 30px 40px 0;
}

.pc-hero__title {
  margin: 0 0 16px;
  font-size: 3rem;
  line-height: 1;
  font-weight: 300;
  color: #fff;
}

.pc-hero__desc p {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #d9d9d9;
}

.pc-hero__media {
  min-height: 430px;
}

.pc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* CONTACT CARDS */
.pc-contact-cards {
  background: #000;
  padding: 68px 0 54px;
}

.pc-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: #ededed;
  border-radius: 4px;
  padding: 28px 18px;
}

.pc-card {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 22px 14px;
  text-align: center;
  text-decoration: none;
  color: #111;
  min-height: 170px;
  transition: transform .2s ease;
}

.pc-card:hover {
  transform: translateY(-2px);
  color: #111;
}

.pc-card__icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 14px;
  color: #111;
}

.pc-card:first-child .pc-card__icon {
  color: #e10600;
}

.pc-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.pc-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 400;
  color: #111;
}

.pc-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #333;
}

/* FORM SECTION */
.pc-form-section {
  background: #000;
  padding: 42px 0 80px;
}

.pc-form-wrap {
  max-width: 920px;
}

.pc-form-title {
  margin: 0 0 26px;
  text-align: center;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 300;
  color: #fff;
}

.pc-form-box {
  max-width: 720px;
  margin: 0 auto;
}



/* RESPONSIVE */
@media (max-width: 1024px) {
  .pc-hero__inner {
    grid-template-columns: 1fr;
  }

  .pc-hero__text {
    padding: 40px 0 26px;
  }

  .pc-hero__media {
    min-height: 340px;
  }

  .pc-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pc-wrap {
    width: min(100% - 28px, 100%);
  }

  .pc-hero__title {
    font-size: 2.2rem;
  }

  .pc-hero__desc p {
    font-size: 0.95rem;
  }

  .pc-hero__media {
    min-height: 240px;
  }

  .pc-contact-cards {
    padding: 42px 0 36px;
  }

  .pc-cards-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .pc-card {
    min-height: auto;
  }

  .pc-form-title {
    font-size: 1.8rem;
  }

 
}


.cf7-steps-form {
  max-width: 900px;
  margin: 0 auto;
}

.cf7-step {
  display: none;
  background: #efefef;
  padding: 28px;
  border-radius: 8px;
}

.cf7-step.active {
  display: block;
}

.cf7-step > p {
  margin: 0 0 16px;
}

.cf7-grid.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cf7-field {
  display: flex;
  flex-direction: column;
}

.cf7-field label {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: #222;
}

.cf7-field input,
.cf7-field select,
.cf7-field textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 12px 14px;
  font-size: 16px;
  color: #111;
  box-sizing: border-box;
  border-radius: 0;
}

.cf7-field textarea {
  min-height: 138px;
  resize: vertical;
}

.cf7-single-box {
  max-width: 420px;
  margin: 0 auto 24px;
}

/* ACTIONS */
.cf7-step-actions {
  width: 100%;
  margin-top: 28px;
}

/* importante: CF7 spesso inserisce un <p> wrapper */
.cf7-step-actions > p {
  margin: 0;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.cf7-step-actions.align-right > p {
  justify-content: flex-end;
}

.cf7-step-actions.space-between > p {
  justify-content: space-between;
}

.cf7-step-actions .cf7-prev,
.cf7-step-actions .cf7-next,
.cf7-step-actions .cf7-submit,
.cf7-step-actions input.wpcf7-submit {
  min-width: 170px;
  height: 58px;
  padding: 0 26px;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.cf7-prev {
  background: #111;
  color: #fff;
}

.cf7-next,
.cf7-submit,
input.wpcf7-submit {
  background: #f4002c;
  color: #fff;
}

/* CONSENT */
.cf7-consent {
  margin-top: 24px;
  margin-bottom: 24px;
}

.cf7-consent > p {
  margin: 0;
}

.cf7-consent .wpcf7-form-control-wrap {
  display: block;
}

.cf7-consent .wpcf7-acceptance {
  display: block;
}

.cf7-consent .wpcf7-list-item {
  margin: 0;
}

.cf7-consent .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  cursor: pointer;
}

.cf7-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: 0 0 18px;
  accent-color: #f4002c;
}

/* ERRORI */
.wpcf7-not-valid {
  border-color: #d9002b !important;
}

/* MOBILE */
@media (max-width: 767px) {
  .cf7-grid.two-cols {
    grid-template-columns: 1fr;
  }

  .cf7-step {
    padding: 20px;
  }

  .cf7-step-actions > p {
    flex-direction: column;
    align-items: stretch;
  }

  .cf7-step-actions .cf7-prev,
  .cf7-step-actions .cf7-next,
  .cf7-step-actions .cf7-submit,
  .cf7-step-actions input[type="submit"] {
    width: 100%;
    min-width: 100%;
  }
}