/*
Theme Name: thermolink
Author: Getso.pl
Description: thermolink WordPress theme.
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme.
*/

html,
body {
    overflow-x: hidden ;
}

section[id],
[id] {
  scroll-margin-top: 80px;
}

.eq-header.is-sticky{position:fixed;top:0;left:0;right:0;z-index:9999;width:100%}

.newsletter-inline {
  display: flex;
  justify-content: flex-start;
  font-family: "avenir-next-lt-pro", Sans-serif;
   gap: 15px !important;
 
}


.newsletter-inline p {
    display: flex;
    gap: 8px;
    font-family: "avenir-next-lt-pro", Sans-serif;
    font-size: 14px;
}

.newsletter-inline input::placeholder {
    font-size: 14px;
    color: #121212 !important;
}

.newsletter-inline input[type="text"] {
    width: 100%;
    background-color: #FFF;
    padding: 12px 15px;
    border-radius: 999px;
    color: #121212;
    border: 0px;
}
.newsletter-inline input[type="email"] {
  background-color: #FFF;
  color: #121212;
  border: none;
  padding: 12px 15px;
  border-radius: 999px;
  width: 100%;
}

.newsletter-inline label {
    font-size: 12px;
    font-weight: 700;
}


.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border: none;
    padding: 0;
    margin: 0;
    font-family: "avenir-next-lt-pro", Sans-serif;
}

.newsletter-inline input::placeholder {
  color: #121212;
}

.newsletter-inline input[type="submit"] {
    font-family: "avenir-next-lt-pro", Sans-serif;
    font-size: 16px;
    font-weight: 800;
    background-color: #FF9262;
    color: #121212;
    border-radius: 100px;
    padding: 12px 36px 12px 36px;
    border: 0px !important;
}

.newsletter-inline input[type="submit"]:hover {
  color: #FFF;
  background-color: #121212;
}


.newsletter-inline label input,
.newsletter-inline label textarea {
  margin-top: 0.5em; /* odstęp nad polem input, jeśli input jest wewnątrz label */
}


@media(max-width:767px) {
  .newsletter-inline {
    flex-direction: column;
  }

  .newsletter-inline label {
    width: 100%;
  }
}

/* Calculator */


.thermolink-calculator {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 24px;
  box-sizing: border-box;
  font-family: "avenir-next-lt-pro", Sans-serif;
}

.thermolink-layout {
  display: flex;
  gap: 32px;
}

.thermolink-aside {
  width: 32%;
  border-radius: 16px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #e5e7eb;
  padding: 20px 18px;
  font-size: 14px;
  line-height: 1.6;
}

.thermolink-aside p {
  margin: 0;
}

.thermolink-main {
  width: 68%;
}

.thermolink-title {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 18px;
  color: #111827;
}

.thermolink-title br {
  display: none;
}

.cf7-wizard .wpcf7-form-control-wrap {
  display: block;
}

/* Steps */


.cf7-steps-bar p {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.cf7-steps-bar::before {
  content: "";
  position: absolute;
  top: 43px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: #17294E;
  z-index: 1;
}

.cf7-step-dot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #121212;
}

.cf7-step-dot::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid #121212;
  background: #F7FAFF;
  font-size: 16px;
  font-weight: 800;
}

.cf7-step-dot.is-active::before {
  border-color: #17294E;
  background: #17294E;
  color: #ffffff;
}

.cf7-step-dot.is-done::before {
  border-color: #17284F;
  background: #17284F;
  color: #FFF;
}

.cf7-steps-bar .cf7-step-dot::before {
  content: attr(data-step);
}

.cf7-steps-bar .cf7-step-dot.is-done {
  border-color: #15264a;
  color: #ffffff;
}

.cf7-steps-bar .cf7-step-dot.is-done {
  background-color: #15264a;
  border-color: #15264a;
  position: relative;
  color: transparent;
  border-radius: 999px;
}

.cf7-steps-bar .cf7-step-dot.is-done::before {
  content: "";
  background-image: url('https://thermolink.me/wp-content/uploads/2025/12/check-mark-black-outline-svgrepo-com.svg');
  background-repeat: no-repeat;
  background-size: contain;
}


.cf7-steps-bar .cf7-step-dot.is-active {
  background: #ffffff;
  border-color: #15264a;
  color: #15264a;
}

.cf7-step-dot.is-active {
  color: #111827;
  font-weight: 600;
}

.cf7-step {
  display: none;
}

.cf7-step.is-active {
  display: block;
}

/* Questions */

.cf7-question {
  font-weight: 800;
  margin: 28px 0px 18px 0px;
  font-size: 20px;
  color: #121212;
}

.cf7-radio-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cf7-radio-cards--wide .wpcf7-list-item label {
  min-width: 230px;
}

.cf7-radio-cards .wpcf7-list-item {
  margin: 0;
}

.cf7-radio-cards .wpcf7-list-item label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 60px;
  padding: 13px 18px;
  border-radius: 16px;
  margin-right: 24px !important;
  margin-bottom: 14px;
  border: 1.5px solid #121212;
  background: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center !important;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.cf7-radio-cards input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}


.cf7-radio-cards .wpcf7-list-item label:hover {
  border-color: #17294D !important;
  background-color: #D7E6FF;
  
}


.cf7-radio-cards input[type="radio"]:checked + .wpcf7-list-item-label {
  position: relative;
  font-weight: 600;
  color: #111827;
  border-color: #FF9262 !important;
}

.cf7-radio-cards input[type="radio"]:checked + .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  inset: -13px -18px;
  border-radius: 14px;
  border: 1.5px solid #fb923c !important;
  background: #fff7ed;
  z-index: -1;
}

.cf7-radio-cards .wpcf7-list-item label.active {
  border: 2px solid #17294D !important;
  color: #121212 !important;
  background-color: #D7E6FF;
}

.cf7-radio-cards .wpcf7-list-item label.active span {
  color: #121212 !important;
  font-weight: 800 !important;
}

/* Navigation */

.cf7-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.cf7-step[data-step="1"] .cf7-nav {
  flex-direction: row;
}

.cf7-nav p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 27px;
}

.cf7-nav--last {
  margin-top: 26px;
}

.cf7-nav button,
.cf7-nav input[type="submit"] {
  border-radius: 999px;
  font-family: "avenir-next-lt-pro", Sans-serif;
  border: none;
  padding: 12px 58px 12px 58px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.05s ease, box-shadow 0.12s ease;

}

.cf7-nav .cf7-next,
.cf7-nav input[type="submit"] {
  background: #FF9262;
  color: #121212;
}

.cf7-nav .cf7-next:hover,
.cf7-nav input[type="submit"]:hover {
  background: #121212;
  color: #FFF;
}

.cf7-nav .cf7-prev {
  border: 2px solid #FF9262;
  color: #121212;
  box-shadow: none;
}

.cf7-nav .cf7-prev:hover {
  background: #121212;
  border: 2px solid #121212;
}

/* Icons */


.cf7-radio-cards [data-name="haus_typ"] .wpcf7-list-item {
  display: inline-block;
}

.cf7-radio-cards [data-name="haus_typ"] input[type="radio"] {
  display: none;
}

.cf7-radio-cards [data-name="haus_typ"] label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.cf7-radio-cards [data-name="haus_typ"] label::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
}


.cf7-radio-cards [data-name="haus_typ"] .wpcf7-list-item:first-child label::before {
  background-image: url('https://thermolink.me/wp-content/uploads/2025/12/house-8.svg');
}

.cf7-radio-cards [data-name="haus_typ"] .wpcf7-list-item:nth-child(2) label::before {
  background-image: url('https://thermolink.me/wp-content/uploads/2025/12/semi-detached.svg');
}

.cf7-radio-cards [data-name="haus_typ"] .wpcf7-list-item:nth-child(3) label::before {
  background-image: url('https://thermolink.me/wp-content/uploads/2025/12/g6102.svg');
}


.wpcf7-form-control-wrap[data-name="wohnraeume"] .wpcf7-list-item label {
    max-width: 180px;
    min-width: 58px;
}

.wpcf7-form-control-wrap[data-name="heizung"] .wpcf7-list-item label {
    max-width: 170px;
    min-width: 170px;
    margin-right: 14px !important;
    
}

.wpcf7-form-control-wrap[data-name="zustand"] .wpcf7-list-item label {
    width: 231px;
    margin-right: 14px !important;
}

.wpcf7-form-control-wrap[data-name="zustand"] .wpcf7-list-item-label {
    width: 95%;
}

.wpcf7-form-control-wrap[data-name="haus_typ"] .wpcf7-list-item label {
    width: 221px;
    
}

.wpcf7-form-control-wrap[data-name="haus_typ"] .wpcf7-list-item-label {
    width: 77%;
    text-align: left;
}

.wpcf7-form-control-wrap[data-name="split_anzahl"] .wpcf7-list-item label {
    max-width: 180px;
    min-width: 58px;
    margin-right: 14px !important;
}

.wpcf7-form-control-wrap[data-name="split_anzahl"] .wpcf7-list-item.first label {
    max-width: 300px;
    min-width: 58px;
    margin-right: 73px !important;
}

.wpcf7-spinner {
  display: none;
}


@media (min-width:651px) and (max-width:900px) {
  .cf7-steps-bar::before {
    top: 34px;
  }
}

@media (max-width:640px) {
  .cf7-steps-bar::before {
    top: 30px;
  }

  .cf7-nav p {
    flex-direction: column;
  }
}


/* Modals */

#thermolink-outcome-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  z-index: 9999;
}


.thermolink-outcome-modal .outcome-percent {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #111827;
}


.thermolink-outcome-modal .outcome-actions {
  margin-top: 20px;
  text-align: center;
}


.thermolink-outcome-modal .outcome-btn-secondary {
  background: #f3f4f6;
  color: #111827;
  box-shadow: none;
}

.thermolink-outcome-modal.outcome-yellow .outcome-percent {
  color: #d97706;
}

.thermolink-outcome-modal.outcome-red .outcome-percent {
  color: #b91c1c;
}

/* RWD */

@media (max-width: 900px) {
  .thermolink-calculator {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .thermolink-layout {
    flex-direction: column;
  }

  .thermolink-aside,
  .thermolink-main {
    width: 100%;
  }

  .cf7-steps-bar {
    padding: 0;
  }

  .cf7-steps-bar::before {
    left: 18px;
    right: 18px;
  }

}

@media (max-width: 640px) {

  .thermolink-calculator {
    padding: 18px 14px;
  }
}



/* Popup */


.outcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 999;
}

/* ----- Main Window ----- */
.outcome-box {
  position: fixed;
  max-width: 1150px;
  min-height: 424px;
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  padding: 60px 50px 50px;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  font-family: "avenir-next-lt-pro", Sans-serif;
}


.outcome-icon-row {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
}

.outcome-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- Close button (X) ----- */
.thermolink-outcome-modal .outcome-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
  color: #121212;
}

.thermolink-outcome-modal .outcome-close:hover {
  background-color: transparent !important;
  color: #121212 !important;
}

/* ----- Title ----- */
.thermolink-outcome-modal h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px !important;
  color: #111;
}

/* ----- % ----- */
.outcome-pill {
  display: inline-block;
  padding: 0px 40px;
  background: #D7E6FF;
  border-radius: 20px;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 22px;
  margin: auto;
}

/* ----- TXT ----- */
.outcome-text {
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  color: #121212;
}


.outcome-note {
  border: 2px solid #FFD364;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border-radius: 16px;
  padding: 10px;
  margin-top: 17px;
  background: #FFF4D8;
  gap: 32px;
}

.outcome-note p {
  text-align: left !important;
  font-size: 20px;
  line-height: 1.2em;
}

.outcome-note p strong {
  font-weight: 800;
}

/* ----- Buttons ----- */
.outcome-actions {
  margin-top: 10px;
}

.thermolink-outcome-modal .outcome-btn {
  border-radius: 999px;
  font-family: "avenir-next-lt-pro", Sans-serif;
  border: none;
  background: #FF9262;
  color: #121212;
  padding: 12px 58px 12px 58px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s 
ease, transform 0.05s 
ease, box-shadow 0.12s 
ease;
}

.thermolink-outcome-modal .outcome-btn:hover {
  background: #121212 !important;
  color: #FFF !important;
}


[data-name="zustand"] .wpcf7-form-control {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.radio-desc {
  margin-top: 12px;
}

.radio-desc ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
}

/* Custom bullets */
.cf7-radio-cards ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}


.cf7-radio-cards ul li {
  position: relative;
  padding-left: 15px; 
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.4;
}


.cf7-radio-cards ul li::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 6px;
  width: 7px;
  height: 7px;
  border: 1px solid #000;
  border-radius: 50%;
}

@media (max-width: 1197px) {
  [data-name="zustand"] .wpcf7-form-control {
    flex-direction: column;
  }
}

/* Button prev arrow */
.cf7-prev {
    position: relative;
    padding-left: 35px; 
}

.cf7-prev::before {
    content: "⭠ "; 
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
}


@media (max-width: 640px) {


  .cf7-nav input[type="submit"] {
    padding: 12px 0px;
  }

  .thermolink-outcome-modal h2 {
    font-size: 24px;
  }
  .outcome-note p,
  .outcome-text {
    font-size: 16px;
  }
  .outcome-pill {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .outcome-box {
        padding: 60px 34px 50px;
  }

  .outcome-note {
    gap: 0;
    flex-direction: column;
  }

  [data-name="zustand"] .wpcf7-form-control {
    gap: 24px;
  }

  .wpcf7-form-control-wrap[data-name="split_anzahl"] .wpcf7-list-item.first label {
    margin-right: 43px !important;
  }

  
}