:root {
  --red: #E50019;
  --text: #212529;
  --text-muted: rgba(33, 37, 41, 0.64);
  --border: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "tenon", sans-serif;
  background-color: #EFF0F3;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.btn{border-radius:99px; padding:18px 30px; font-size:inherit; text-decoration:none; line-height:1;}
.btn-primary{background-color:#1E61AF; border-color:#1E61AF; font-weight:600;}
.btn-primary.red{background-color:var(--red); border-color:var(--red); min-width:200px;}
.btn-primary.red:hover, .btn-primary.red:active:focus{background-color:#FF0000 !important; border-color:#FF0000 !important;}

/* -- Nav -- */
.lp-nav {
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 80px;
  z-index: 100;
}

.lp-nav-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.lp-nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lp-nav-tab {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  text-decoration: underline;
  padding: 4px 2px;
  transition: color .2s;
  text-align: center;
}

.lp-nav-tab.active {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.lp-nav-tab:hover {
  text-decoration: none;
  color: #fff;
}

.lp-nav-tab.active:hover {
  text-decoration: underline;
}

.lp-nav-sep {
  color: rgba(255,255,255,.5);
  font-size: 14px;
  padding: 0 8px;
}


/* --- Hero --- */
.hero-wrap {
  position: relative;
  width: 100%;
  background: #FFFFFE;
  overflow: hidden;
}

.hero-illustration {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.24;
  max-height: 800px;
  &.lead {
      max-height: 600px;
  }
  &.request {
      max-height: 420px;
  }
}


.hero-overlay {
  position: relative;
  bottom: 0;
  right: 0;
  padding: 24px 40px 20px;
  background: rgba(255,255,255,.5);
  border-radius: 16px;
  &.partners {
      background-color: var(--red);
      .hero-title {
          color: #fff;
      }
      .hero-sub {
          color: rgba(255, 255, 255, 0.64);
      }
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.05;
  color: #1a1a1a;
  margin-bottom: 10px;
} 


.hero-title .red { color: var(--red); }

.hero-sub {
  font-size: 1.3rem;
  color: #5A6779;
  line-height: 1.65;
}

.hero-sub a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.hero-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  &.partners {
      bottom: 80px;
  }
}

.hero-badge {
  background: #0A0A0A;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 10;
  display: inline-block;
  width: auto;
  position: relative;
  margin-bottom: 8px;
  letter-spacing: 10%;
}


/*--- Tooltip-uri ---*/
.hero-tooltip {
  position: absolute;
  background: rgba(255,255,255,.95);
  border: 2px solid #499624;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.3;
  z-index: 10;
  text-align: center;
}

.hero-tooltip small {
  display: block;
  font-weight: 400;
  color: #6b6b6b;
  font-size: 18px;
  margin-top: 1px;
  text-align: center;
}

.tt-eficienta   { top: 10%; left: 12%; }
.tt-investitii  { top: 8%;  right: 8%; }
.tt-mobilitate  { top: 30%; left: 7%; }
.tt-acces       { top: 28%; right: 23%; }


/* ─── Shared section styles ---*/
.lp-container-summary {
  background: #D7CCC0;
  .lp-section {
      background: #D7CCC0;
  }
  &.partners {
      background-color: #0A0A0A;
      .lp-section {
          background-color: #0A0A0A;
      }
      .section-title {
          color: #fff;
      }
      .section-label {
          color: rgba(255, 255, 255, 0.7);
      }
  }
}

.lp-container-investitions, .lp-container-conditions {
  background: #F8F6F2;
  .lp-section {
      background: #F8F6F2;
  }
}

.lp-container-conditions.partners {
  background-color: #fff;
  .lp-section {
      background-color: #fff;
  }
  .benefit {
      background-color: #FBFAF7;
      border: 1px solid #E8E6E1;
      img {
          width: 36px;
          height: auto;
      }
  }
} 

.lp-container-partners {
  background-color: #F8F6F2;
  .section-title {
      margin-bottom: 4px;
  }
  .section-subtitle  {
      opacity: 0.64;
  }
  .help-text {
      color: var(--text-muted);
      font-size: 14px;
      padding-top: 2px;
  }
  ::placeholder {
      color: var(--text-muted);
  }
}

.lp-container-how {
  background: #fff;
  .lp-section {
      background: #fff;
  }
}

.lp-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: content-box;
}

.lp-section-dark {
  background: #1a1a1a;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
}

.section-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0;
  letter-spacing: 10%;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--text);
}

.section-title-dark {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 10px;
}

.section-title-dark .accent { color: var(--red); }

.separator {
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 0 auto 36px;
  border: none;
  display: block;
}


/*--- About credit ---*/
.params-card {
  background: #fff;
  border: 1px solid #E2DFD9;
  border-radius: 12px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto 32px;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  padding: 12px 0;
}

.params-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.params-col {
  display: flex;
  flex-direction: column;
}

.params-col:first-child {
  border-right: 1px solid #EFF0F3;
}

.params-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 11px 20px;
  border-bottom: 1px solid #EFF0F3;
  gap: 16px;
}

.params-row:last-child {
  border-bottom: none;
}

.params-label {
  font-size: 1rem;
  opacity: 0.64;
  flex-shrink: 0;
}

.params-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.params-value small {
  display: block;
  font-weight: 400;
  opacity: 0.64;
  font-size: 0.875rem;
}

.params-value.green { color: #3d9b60; }


/*--- Investitii ---*/
.dest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dest-row {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 28px 20px;
  border-bottom: 1px solid #E2DFD9;
  background-color: #fff;
  border-radius: 16px;
  margin-bottom: 24px;
}

.dest-row:first-child {
  border-top: 1px solid #E2DFD9;
}

.dest-left {
  flex: 0 0 500px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dest-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}

.dest-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
  line-height: 1.3;
}

.dest-desc {
  font-size: 1rem;
  opacity: 0.64;
  line-height: 1.65;
  margin: 0;
}

.dest-chips {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: center;
  width: 100%;
}

.dest-chips li {
  font-size: 1rem;
  color: var(--text);
  padding: 9px 14px 9px 26px;
  background: rgba(229,0,25,0.02);
  border: 1px solid rgba(229,0,25,0.15);
  border-radius: 6px;
  position: relative;
  line-height: 1.4;
}

.dest-chips li::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 20px;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}


/*---- Pasi ----*/
.tg-section-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.tg-section-title {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 800;
  color: var(--dark);
}

.tg-red { color: var(--red); }

.tg-steps-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  margin-top: 52px;
}

.tg-step {
  flex: 1;
  min-width: 160px;
  max-width: 250px;
  text-align: center;
  padding: 0 8px;
  cursor: pointer;
}

.tg-step-line {
  flex: 0 0 40px;
  height: 2px;
  background: var(--border);
  margin-top: 36px;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.tg-step-line.tg-line-active {
  background: var(--red);
}

.tg-step-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-muted);
  margin: 0 auto 18px;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 0 0 rgba(229,0,25,0);
}

.tg-step.tg-step-active .tg-step-circle,
.tg-step:hover .tg-step-circle {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(229,0,25,0.3);
}

.tg-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color 0.2s;
}

.tg-step.tg-step-active .tg-step-title {
  color: var(--red);
}

.tg-step-sub {
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  font-size: 1rem;
}

.tg-step-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
  transition: opacity 0.2s;
}



/*--- Eligibilitate ---*/
.elig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.elig-col-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0;
}

.elig-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.elig-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  span {
      display: block;
      opacity: 0.64;
  }
}

.elig-text strong::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.guarantee {
  .elig-item {
      border-bottom: 1px solid #E8E5E0;
      border-radius: 0;
      background: none;
      padding: 24px 0;
      &:last-child {
          border: none;
          padding-bottom: 0;
      }
  }
  .elig-list {
      gap: 0;
  }
  span {
      display: inline-block;
  }
}



/*--- Footer ---*/
.lp-footer {
  background: #1a1a1a;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 auto;
}

.lp-footer p {
  font-size: 1rem;
  color: #fff;
  margin: 0;
}

.lp-footer span {
  opacity: 0.7;
}

.lp-footer a {
  color: #fff;
  text-decoration: underline;
}

.lp-footer a:hover {
  text-decoration: none;
}

.group-title p {
  color: var(--red);
  width: 100%;
  border-bottom: 1px solid #BFC6D0;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 4px;
}


#tableCaptcha input[type="radio"] {
display: none;
}
#tableCaptcha label {
border: 3px solid #E8E5E5;
width: 35px;
height: 35px;
display: inline-block !important;
padding: 5px;
box-sizing: content-box;
}
#tableCaptcha label img {
display: block;
margin: 0;
width: 35px;
height: 35px;
}
#captcha table {
border: none;
border-collapse: initial !important;
padding: 0px !important;
}
#tableCaptcha td {
padding: 0;
border: none;
}
#tableCaptcha .error {
border: none 0; 
font-size: 18px; 
width: auto; 
height: auto; 
color: var(--red);
padding: 0;
}		
#tableCaptcha .redBorder {
border: 3px solid var(--red); !important;
}
#tableCaptcha .item {
color: var(--red);
}
@media screen and (max-width: 360px) {
#tableCaptcha label {
  width:26px !important;
  height: 26px !important;
}

#tableCaptcha label img {
  width: 26px !important;
  height: 26px !important;
}
}
.form-check-input[type=checkbox] {
  border-color: var(--text);
}





/*---Responsive ---*/
@media (max-width: 1600px) {
  .hero-container {
      max-width: 1200px;
  }

  .hero-title {
    font-size: 3.5rem;
}

}

@media (max-width: 1500px) {
  .hero-illustration {
      height: 560px;
  }
  .hero-container {
      max-width: 1200px;
  }
}

@media (max-width: 1400px) {
  .tg-steps {
      padding: 40px 40px;
  }
}

@media (max-width: 1200px) {
  .lp-nav {
      padding: 16px 40px;
  }
  
  .section-title {
      font-size: 2.8rem;
      margin-bottom: 24px;
  }
  .section-title-dark {
      font-size: 2.8rem;
      margin-bottom: 12px;
  }
  .hero-container {
      padding: 0 40px;
  }
}

@media (max-width: 991px) {
  .lp-section,
  .lp-section-summary,
  .lp-section-dark { padding: 60px 24px; }

  .dest-row {
      flex-direction: column;
      gap: 20px;
  }

  .dest-left { flex: none; width: 100%; }

  .steps-container { grid-template-columns: 1fr 1fr;}

  .steps-container::before,
  .steps-container::after { display: none; }

  .params-grid { grid-template-columns: 1fr; }
  .params-col:first-child { border-right: none; }
  .params-col:first-child .params-row:last-child { border-bottom: 1px solid #EFF0F3; }

  .lp-nav { padding: 16px 24px; }
  .lp-footer { padding: 16px 20px; }

  .tg-steps-track {
      flex-direction: column;
      align-items: center;
  }

  .tg-step-line {
      width: 2px;
      height: 32px;
      margin: 16px 0 0 0;
      align-self: center;
      flex: 0 0 32px;
  }

  .tg-step {
      max-width: 100%;
      width: 100%;
  }

  .hero-tooltip {
      display: none;
  }

  .hero-illustration {
      height: 400px;
  }

  .hero-container {
      padding: 32px 0;
      &.partners {
          bottom: 0;
      }
  }

  .hero-overlay {
      padding: 16px 24px;
      border-radius: 0;
  }

  .hero-badge {
      margin-left: 24px;
  }
}

@media (max-width: 767px) {
  .lp-section,
  .lp-section-summary,
  .lp-section-dark { padding: 40px 24px; }

  .hero-tooltip { display: none; }
  .hero-content { padding: 20px 20px 28px; }

  .steps-container {
      grid-template-columns: 1fr;
      gap: 28px;
  }
  .tg-steps {
      padding: 40px 16px;
  }
  .hero-overlay {
      padding: 8px 24px;
  }
  .hero-title {
      
      font-size: 2.3rem;
  }
  .hero-sub {
      font-size: 1rem;
  }
  .elig-grid {
      grid-template-columns: 1fr; 
      gap: 48px;
  }
  .hero-illustration {
    height: 400px;
    &.request {
        max-height: 200px;
    }
}
  .section-title {
      font-size: 2rem;
      margin-bottom: 20px;
  }
  .section-title-dark {
      font-size: 2rem;
      margin-bottom: 8px;
  }
  .section-label {
      font-size: 0.875rem;
  }
  .cta-dark-sub {
      font-size: 1.2rem;
  }
  .lp-nav-tab {
      font-size: 1rem;
  }
  .lp-nav {
      flex-direction: column;
      padding: 12px 24px;
      img {
          max-height: 36px;
      }
  }
}

@media (max-width: 575px) {
  .lp-section,
  .lp-section-summary,
  .lp-section-dark { padding: 36px 16px; }
  .lp-footer { padding: 16px; }
  .dest-left { flex-direction: column; gap: 12px; }
  .hero-overlay {
      padding: 8px 16px;
  }
  .hero-badge {
      margin-left: 16px;
      font-size: 0.750rem;
  }
}

@media (max-width: 480px) {
  .tg-steps .btn {
      min-width:100%;
  }
}


