.gpcf,
.gpcf * {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.gpcf {
  font-family: "Open Sans", sans-serif;
  color: #fff;
  line-height: 1.5;
  letter-spacing: .045em;
}

.gpcf [hidden] {
  display: none !important;
}

.gpcf .gp-modal-content {
  width: 100%;
  max-width: 550px;
}
.gpcf .subject-step .gp-modal-content {
  width: 100%;
  max-width: none!important;
}
.gpcf .gp-modal-header {
  text-align: left;
  color: #000;
  background-color: #f7a400;
  font-size: 1.1em;
  padding: 10px 15px;
  filter: saturate(1.5);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .045em;
}
.gpcf .flex-1{
  flex:1;
}
.gpcf .gp-modal-body {
  padding: 0 15px;
  border: 1px solid #f7a400;
}

/* ROW: label + input */
.gpcf .form-row,
.gpcf .mf-input-wrapper {
  margin-bottom: 16px;
}

.gpcf .form-row {
  display: flex;
  align-items: flex-start;
  margin: 15px 0;
  position: relative;
}

.gpcf .mf-input-label,
.gpcf .form-row label {
  flex: 0 0 155px;
  width: 155px;
  padding: 8px 14px 0 0;
  margin: 0;
  text-align: right!important;
  color: #fff!important;
  font-size: 14px!important;
  font-weight: 400!important;
  line-height: 1.5!important;
}

.gpcf .mf-input-wrapper {
  flex: 1 1 auto;
  margin: 9px 0;
  width: auto;
}

.gpcf input[type='text'],
.gpcf input[type='email'],
.gpcf input[type='tel'],
.gpcf textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  background-color: #e6e6e6;
  color: #000;
  border: 0;
  border-bottom: 2px solid #ededed;
  border-radius: 0;
  font-family: "Open Sans", sans-serif!important;
  font-size: 14px!important;
  line-height: 1.3!important;
}
.gpcf input[type='checkbox'] {
  min-height: 16px;
}
.gpcf .mf-checkbox-option{

}
.gpcf textarea,
.gpcf .mf-textarea {
  max-height: 90px;
  resize: vertical;
}
.gpcf .form-row--agreements p.agreement{
    text-align: left;
    font-size: 11px;
    margin-bottom:0;
}
.gpcf .gpcf-submit-row {
  margin-left: 155px;
  margin-top: 14px;
}

.gpcf .gpcf-submit-row button,
.gpcf .gpcf-submit-row input[type='submit'] {
  width: 100%;
  padding: 14px 20px;
  background: red;
  color: #fff;
  border: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .08em;
}
.gpcf .form-row--agreements {

}
.gpcf .form-row {
  display: flex;
  align-items: flex-start;
}

.gpcf .mf-input-label {
  flex: 0 0 155px;
  width: 155px;
}

.gpcf .mf-input {
  flex: 1;
}

.gpcf .gpcf-field-error {
  margin-top: 6px;
  color: #d63638;
  font-size: 12px;
  line-height: 1.4;
}
/* ERRORS */
.gpcf .gpcf-field-error {
  display: block;
  margin-top: 6px;
  color: #d63638;
  font-size: 12px;
  letter-spacing: 0;
}

.gpcf .gpcf-error-row .mf-input,
.gpcf .error-row .mf-input,
.gpcf .form-row.error-row input,
.gpcf .form-row.error-row textarea {
  border-bottom-color: #d63638 !important;
}

.gpcf .form-row.error-row label,
.gpcf .gpcf-error-row label {
  color: #d63638;
}

/* RESPONSE */
.gpcf .gpcf-response {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0;
}

.gpcf .gpcf-response.is-error {
  color: #d63638;
}

.gpcf .gpcf-response.is-success {
  color: #148f46;
}

/* SUBMIT */
.gpcf button,
.gpcf input[type='submit'] {
  display: inline-block;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background-color: #f7a400;
  color: #000;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: .1rem;
  cursor: pointer;
  transition: all .25s ease;
}
.gpcf .gpcf-subject-card{
  background:transparent;
  color:#fff;
  display: grid;
}
.gpcf .select-subject-message h4{
  color:#fff;
  text-align:left;
}
.gpcf .select-subject-message .subject-buttons .btn {
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 1px;
    width: 100%;
    padding: 15px 40px;
}
.select-subject-message .new-services-container .services-items .item:hover .icon-border i,
.select-subject-message .new-services-container .services-items .item.select .icon-border i,
.select-subject-message .other-services-container .services-items .item:hover .icon-border i,
.select-subject-message .other-services-container .services-items .item.select .icon-border i {
    background-color: rgba(247, 164, 0, .3);
}
.gpcf button {
  padding: 25px 0; 
}
.gpcf .subject-buttons .btn{
  padding: 25px 0;  
}
.gpcf button:hover,
.gpcf input[type='submit']:hover {
  filter: saturate(1.5);
}

.gpcf button:disabled,
.gpcf input[type='submit']:disabled,
.gpcf .is-loading {
  opacity: .65;
  pointer-events: none;
  cursor: not-allowed;
}

/* DISCLAIMER */
.gpcf .disclaimer-container {
  color: inherit;
}

.gpcf .disclaimer-info,
.gpcf .contact-container .disclaimer-info,
.gpcf .order-container .disclaimer-info {
  margin-top: 5px;
  margin-bottom: 0;
  text-align: left;
  font-weight: 300;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0;
}

.gpcf .disclaimer-info a,
.gpcf .disclaimer-info span {
  color: #f7a400;
  cursor: pointer;
}

.gpcf .read-more {
  display: inline;
  width: fit-content;
  letter-spacing: 0.5px;
  padding-left: 5px;
  border: 0;
  background: transparent;
  color: #f7a400;
  cursor: pointer;
  font: inherit;
}

.icon-arrow-down:before {
    content: '' !important;
    display: inline-block !important;
    width: 14px;
    height: 14px;
    margin: 0 .2em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23f7a400' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    font-family: initial !important;
    line-height: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: none;
}
.gpcf .read-more.is-open .icon-arrow-down:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 15L12 9L18 15' stroke='%23f7a400' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.gpcf .icon-arrow-down {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  transition: transform .3s ease;
}

.gpcf .desclimer-more {
  margin-top: 10px;
  text-align: left;
  font-size: .7em;
}

/* SUBJECT STEP */
.gpcf .subject-step__title {
  font-size: 24px;
  font-weight: 400;
  color:#fff;
  margin-top: 0;
  margin-bottom: .5rem;
}
.gpcf .subject-step .gp-modal-header{
  display:none;
}
.gpcf .subject-step .gp-modal-body {
  border: 0;
  text-align: center;
}
.gpcf .subject-step .select-subject-message {
  display: flex;
}
.gpcf .subject-step .select-subject-message .new-services-container {
  width:75%;
  margin-right:30px;
  position: relative;
}
.gpcf .subject-step .select-subject-message .new-services-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #fff;
}
.gpcf .subject-step .select-subject-message .new-services-container .services-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gpcf .subject-step .select-subject-message .other-services-container {
  width:25%;
  margin-left:30px;
}
.gpcf .subject-step .select-subject-message .other-services-container .other-services-items {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px; 
}
.gpcf .subject-step__subtitle {
  margin-bottom: 24px;
}
.select-subject-message .new-services-container .services-items .item .icon-border i, .select-subject-message .other-services-container .services-items .item .icon-border i {
    width: 65px;
    height: 65px;
    background-color: rgb(0, 0, 0);
    color: rgb(247, 164, 0);
    font-size: 32px;
    line-height: 65px;
    text-align: center;
    display: inline-block;
    margin-bottom: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(247, 164, 0);
    border-image: initial;
    transition: 0.45s cubic-bezier(0.25, 1, 0.33, 1);
}

.gpcf .new-services-container,
.gpcf .other-services-container {
  margin-bottom: 26px;
}

.gpcf .services-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}


.gpcf .subject-buttons {
  margin-top: 22px;
}

.contact-container.is-subject-step,
.contact-section.is-subject-step,
.contact-grid.is-subject-step,
.elementor-container.is-subject-step {
  grid-template-columns: 1fr !important;
}

.is-subject-step .contact-data {
  display: none !important;
}

.is-subject-step [data-gpcf-step="subjects"] {
  display: block !important;
  width: 100% !important;
  grid-column: 1 / -1 !important;
}

.is-subject-step [data-gpcf-step="subjects"] .gp-modal-content {
  width: 100% !important;
  max-width: none !important;
}
body.gpcf-is-subject-step .contact-data {
  display: none !important;
}

body.gpcf-is-subject-step .gpcf,
body.gpcf-is-subject-step [data-gpcf-form] {
  width: 100% !important;
  max-width: none !important;
}

body.gpcf-is-subject-step [data-gpcf-step="subjects"] {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

body.gpcf-is-subject-step [data-gpcf-step="subjects"] .gp-modal-content {
  width: 100% !important;
  max-width: none !important;
}
body.gpcf-subject-active #gpcfRight {
    display: none !important;
}

body.gpcf-subject-active #gpcfLeft {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
}
.gpcf .thanks-step .gp-modal-content {
  max-width: 100%;
  text-align:center;
}
.gpcf .thanks-step .gp-modal-body {
    padding: 15px 15px;
    border: 1px solid #f7a400;
}
/* MOBILE */
@media (max-width: 991px) {
  .gpcf .form-row {
    display: block;
    position: relative;
    margin: 22px 0;
  }

  .gpcf .form-row:not(.form-row--agreements) .mf-input-label {
    position: absolute;
    left: 0;
    top: 10px;
    z-index: 2;

    width: auto;
    flex: none;
    padding: 0;
    margin: 0;

    color: #f7a400 !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.2 !important;

    pointer-events: none;
    transform: translateY(0) scale(1);
    transform-origin: left top;
    transition: transform .18s ease, top .18s ease, font-size .18s ease;
  }

  .gpcf .form-row:not(.form-row--agreements).active .mf-input-label,
  .gpcf .form-row:not(.form-row--agreements).fill .mf-input-label {
    top: -9px;
    transform: translateY(0) scale(.78);
  }

  .gpcf .field-column {
    width: 100%;
  }

  .gpcf input[type='text'],
  .gpcf input[type='email'],
  .gpcf input[type='tel'],
  .gpcf textarea {
    width: 100%;
    min-height: 42px;
    padding: 18px 0 7px;
    border: 0;
    border-bottom: 1px solid #f7a400;
    background: transparent;
    color: #fff!important;
    border-radius: 0;
  }

  .gpcf textarea {
    padding-top: 22px;
    min-height: 82px;
  }

  .gpcf input::placeholder,
  .gpcf textarea::placeholder {
    color: transparent !important;
    opacity: 0 !important;
  }

  .gpcf .gpcf-submit-row {
    margin-left: 0;
  }

  .gpcf .form-row--agreements {
    margin-top: 16px;
  }

  .gpcf .form-row--agreements .mf-input-label {
    display: none;
  }

  .gpcf .services-items {
    grid-template-columns: 1fr;
  }
  .gpcf .gpcf-field-error {
    width: 100%;
    margin-left: 0;
  }
  .gpcf .subject-step .select-subject-message {
    display: block;
  }
  .gpcf .subject-step .select-subject-message .new-services-container {
    width: 100%;
  }
  .gpcf .subject-step .select-subject-message .new-services-container .services-items {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 14px;
  }
  .gpcf .subject-step .select-subject-message .other-services-container {
    width: 100%;
    margin-left: 0;
  }
  .gpcf .subject-step .select-subject-message .new-services-container:after {
    background: transparent;
  }
}
/* SUBJECT STEP – kompaktowe kafelki (2026-09-21) */
.gpcf .subject-step .gpcf-subject-card {
  padding: 6px 4px;
  align-content: start;
  justify-items: center;
  font-size: 15px;
  line-height: 1.35;
}
.gpcf .subject-step .select-subject-message .new-services-container .services-items,
.gpcf .subject-step .select-subject-message .other-services-container .other-services-items {
  gap: 8px 14px;
}
.gpcf .subject-step .select-subject-message h4 {
  margin: 0 0 12px;
}
.gpcf .subject-step .new-services-container,
.gpcf .subject-step .other-services-container {
  margin-bottom: 0;
}
.gpcf .subject-step .subject-buttons {
  margin-top: 24px;
}
@media (max-width: 991px) {
  .gpcf .subject-step .select-subject-message .new-services-container {
    margin-right: 0;
    margin-bottom: 24px;
  }
  .gpcf .subject-step .select-subject-message .new-services-container .services-items,
  .gpcf .subject-step .select-subject-message .other-services-container .other-services-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .gpcf .subject-step .gpcf-subject-card {
    font-size: 14px;
  }
}
