:root {
  --red: #DE1300;
  --red-l: #f12b19;
  --red-d: #c41404;
  --red-dd: #180301;
  --blue: #0069C7;
  --green: #53AE27;
  --yellow: #FFB500;
  --gray: #F4F4F4;
  --white: #FFFFFF;
  --dark: #121212;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  color: var(--dark);
  background-color: var(--white);
}

.text-light {
  color: var(--white);
}

.nav-item {
  padding-left: 1rem;
}

.nav-link {
  font-weight: 500;
}

.nav-link.active {
  color: var(--red)!important;
}

.navbar {
  box-shadow: 0 14px 30px rgba(18, 18, 18, 0.06);
}

.dropdown-menu {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(18, 18, 18, 0.12);
  padding: .8rem;
}

.dropdown-item {
  border-radius: .75rem;
  font-weight: 500;
  padding-top: .65rem;
  padding-bottom: .65rem;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: rgba(222, 19, 0, 0.1);
  color: var(--red);
}

@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0);
  }

  .navbar .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    animation: dropdownReveal .24s cubic-bezier(.2, .8, .2, 1);
  }

  .navbar .dropdown-menu > li {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity .18s ease,
      transform .24s ease;
  }

  .navbar .dropdown-menu.show > li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar .dropdown-menu.show > li:nth-child(1) { transition-delay: .03s; }
  .navbar .dropdown-menu.show > li:nth-child(2) { transition-delay: .05s; }
  .navbar .dropdown-menu.show > li:nth-child(3) { transition-delay: .07s; }
  .navbar .dropdown-menu.show > li:nth-child(4) { transition-delay: .09s; }
  .navbar .dropdown-menu.show > li:nth-child(5) { transition-delay: .11s; }
  .navbar .dropdown-menu.show > li:nth-child(6) { transition-delay: .13s; }
  .navbar .dropdown-menu.show > li:nth-child(7) { transition-delay: .15s; }
}

@keyframes dropdownReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.img-logo {
  height: 2rem;
  margin-top:1rem;
  margin-bottom:1rem;
}

.container {
  max-width: 1140px;
}

.heroline {
  background-color: var(--red);
  padding-top: .8rem;
  padding-bottom: .8rem;
  color: var(--white);
  font-weight: 500;
}
.heroline i{
  padding-right: .5rem;
}

.heroline a{
  color: var(--white);
  text-decoration: none;
}

.heroline span{
  margin-left:1.5rem;
}

.heroline span:first-child{
  margin-left:0;
}

.herobox {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.45) 100%),
    url("/img/solarni-panely.jpg") center/cover no-repeat;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.herobox h1{
  margin-bottom: 2rem;
  color: var(--dark);
}

.herobox p{
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
}

.herobox-img{
  padding-bottom:1rem;
  max-height: 20rem;
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(222, 19, 0, 0.08), transparent 35%),
    linear-gradient(180deg, #fff7f5 0%, #ffffff 100%);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.page-hero h1 {
  margin-bottom: 1.5rem;
}

.page-hero h1 b,
.stripe h2 b,
.contact-mini-card h3 b,
.form-panel h2 b,
.content-card h2 b {
  font-weight: 700;
}

.page-hero p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.page-hero-image {
  max-height: 26rem;
  border-radius: 1.5rem;
  box-shadow: 0 26px 50px rgba(18, 18, 18, 0.12);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background-color: rgba(222, 19, 0, 0.1);
  color: var(--red);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.stripe {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.stripe img{
  border-radius: 1rem;
  margin-bottom:2rem;
  max-height: 17rem;
}

.stripe-head {
  padding-bottom: 1.8rem;
}

.stripe-head p:last-child {
  margin-bottom: 0;
}

.stripe-foot {
  padding-top: 2rem;
}

.stripe.red {
  background-color: var(--red);
}
.stripe.red .btn-link{
  color: var(--white);
}
.stripe.red .btn-link:hover{
  color: var(--gray);
}

.stripe.red-d {
  background-color: var(--red-d);
}
.stripe.red-d .btn-link{
  color: var(--white);
}
.stripe.red-d .btn-link:hover{
  color: var(--gray);
}

.stripe.gray {
  background-color: var(--gray);
}

.stripe.blue {
  background-color: var(--blue);
}

.stripe.green {
  background-color: var(--green);
}

.stripe.yellow {
  background-color: var(--yellow);
}

.stripe.dark {
  background-color: var(--red-dd);
}

.points {
  text-align: center;
}

.point {
  margin: 0 0rem;
  padding: 1.5rem 1rem;
}

.point h3{
  margin-bottom: 1rem;
  margin-top:.6rem;
  font-weight: 500;
}

.point i{
  color: var(--red);
  font-size: 4rem;
}

.footer i{
  font-size:4rem;
}

.steps {

}

.step {
  margin: 0 0rem;
}

.step .row {
  align-items: center;
}

.step .col-2,
.step .col-10 {
  display: flex;
  align-items: center;
}

.step .col-2 {
  justify-content: center;
}

.step h3{
  margin: 0;
  font-weight: 500;
  font-size: 1.2rem;
}

.step i{
  color: var(--red);
  font-size: 3rem;
}

.references {
  text-align: center;
}

.service-grid {
  row-gap: 1.5rem;
  margin-top: 1.5rem;
}

.stack-gap {
  row-gap: 1.5rem;
}

.service-card {
  height: 100%;
  overflow: hidden;
  border-radius: 1.4rem;
  background-color: var(--white);
  color: var(--dark);
  box-shadow: 0 20px 40px rgba(24, 3, 1, 0.14);
}

.service-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  margin-bottom: 0;
  border-radius: 0;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card h3 {
  margin-bottom: .8rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

.content-card {
  height: 100%;
  padding: 2rem;
  border-radius: 1.4rem;
  background-color: var(--white);
  box-shadow: 0 18px 38px rgba(18, 18, 18, 0.08);
}

.content-card h2,
.form-panel h2 {
  margin-bottom: 1.4rem;
}

.content-card-soft {
  background:
    linear-gradient(180deg, rgba(222, 19, 0, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.form-side-card {
  position: sticky;
  top: 2rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .75rem;
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: .85rem;
  height: .85rem;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red-l) 0%, var(--red) 100%);
  box-shadow: 0 0 0 .32rem rgba(222, 19, 0, 0.12);
}

.info-grid {
  row-gap: 1.5rem;
}

.info-tile {
  height: 100%;
  padding: 1.6rem;
  border-radius: 1.2rem;
  background-color: var(--white);
  box-shadow: 0 16px 34px rgba(18, 18, 18, 0.08);
}

.info-tile-icon {
  display: block;
  margin-bottom: 1rem;
  color: var(--red);
  line-height: 1;
}

.info-tile-icon i {
  font-size: 2.3rem;
}

.info-tile h3 {
  margin-bottom: 1rem;
}

.reference img{
  border-radius: .4rem;
  margin-bottom: 1rem;
  max-width: 15rem;
}

.reference .info{
  margin-bottom: 1.5rem;
}

.reference .photo{
  display: inline-block;
}

.reference .photo img{
  max-width: 20rem;
  margin-bottom:1rem;
}

.reference .info .photo img{
  max-width: 10rem;
  margin-bottom:1rem;
  border-radius: 20rem;
}

.reference .name{
  font-weight: 300;
  font-size: 1.5rem;
}

.reference .item{
  font-weight: 300;
  font-size: 1.2rem;
}


.reference .location{
  font-weight: 600;
}
.reference .date{
  font-weight: 300;
  text-align: left;
}

.reference .text{
  font-weight: 400;
  margin-top: 1rem;
}

.profil{
  padding-bottom: 1rem;
  color: var(--white);
}

.profil a{
  color: var(--white);
}

.accordion-item {
  margin-bottom: .5rem;
}

.accordion-header {
  border-radius: .2rem!important;
  border: 1px solid var(--red);
}

.accordion-flush {
  border-radius: .2rem!important;
}

.accordion-button:not(.collapsed) {
  color: var(--dark);
  background-color: var(--red);
  border-radius: .2rem!important;
}

.kontakt a{
  text-decoration: none;
}

.kontakt img{
  max-width: 15rem;
}

.contact-mini-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1.2rem;
  background-color: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.contact-mini-card p,
.contact-mini-card h3 {
  color: var(--white);
}

.contact-mini-card .btn-white {
  color: var(--red);
}

.contact-mini-card-right {
  width: 100%;
  max-width: none;
  margin-top: 1.5rem;
}

.contact-form,
.form-panel {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: var(--white);
  box-shadow: 0 22px 44px rgba(24, 3, 1, 0.12);
}

.form-panel {
  color: var(--dark);
}

.contact-form {
  color: var(--dark);
}

.contact-form .form-label,
.contact-form .form-text,
.contact-form .field-optional,
.contact-form .field-required {
  color: var(--dark);
}

.contact-form .form-control::placeholder,
.contact-form textarea::placeholder {
  color: rgba(18, 18, 18, 0.5);
}

.form-lead {
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.4rem;
}

.btn {
  border-radius: 2rem;
  padding: .8rem 1.2rem 0.7rem 1.2rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.btn-red {
  background-color: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background-color: var(--red-d);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--red);
}

.btn-white:hover {
  background-color: var(--gray);
  color: var(--red);
}

.btn-link {
  color: var(--red);
}

.btn-link:hover {
  color: var(--red-d);
}

.btn-red-outline {
  border: 2px solid var(--red);
  color: var(--red);
}

.btn-red-outline:hover {
  border: 2px solid var(--red-d);
  color: var(--red-d);
  background-color: rgba(222, 19, 0, 0.08);
}

.form-label {
  font-weight: 600;
}

.form-error {
  margin-top: .5rem;
  margin-bottom: 0;
}

.field-required {
  color: var(--red);
  font-weight: 600;
}

.field-optional {
  color: rgba(18, 18, 18, 0.62);
  font-weight: 500;
}

.choice-group {
  display: grid;
  gap: .8rem;
}

.choice-group-error {
  padding: 1rem;
  border: 1px solid rgba(222, 19, 0, 0.3);
  border-radius: 1rem;
  background-color: rgba(222, 19, 0, 0.04);
}

.choice-item {
  position: relative;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background-color: var(--white);
  transition: border-color .2s ease, background-color .2s ease;
}

.choice-item.form-check {
  min-height: 0;
  margin-bottom: 0;
  padding-left: 0;
}

.choice-item .form-check-input {
  position: absolute;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.choice-item .form-check-label {
  display: block;
  width: 100%;
  padding: 1rem 1.1rem;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
}

.choice-item:hover {
  border-color: rgba(18, 18, 18, 0.24);
}

.choice-item .form-check-input:checked + .form-check-label {
  color: var(--dark);
}

.choice-item:has(.form-check-input:checked) {
  border-color: var(--red);
  background-color: rgba(222, 19, 0, 0.05);
}

.project-upload,
.consultation-box {
  display: none;
}

.project-upload.is-visible,
.consultation-box.is-visible {
  display: block;
}

.info-box {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background-color: rgba(222, 19, 0, 0.08);
  border-left: 4px solid var(--red);
}

.info-box-success {
  background-color: rgba(83, 174, 39, 0.12);
  border-left-color: var(--green);
}

.form-file-note {
  margin-top: .5rem;
  font-size: .95rem;
  color: rgba(18, 18, 18, 0.65);
}

@media (max-width: 767.98px) {
  .heroline .text-end {
    text-align: center!important;
  }

  .heroline span {
    display: block;
    margin-left: 0;
    margin-bottom: .35rem;
  }

  .heroline span:last-child {
    margin-bottom: 0;
  }

  .herobox {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 100%),
      url("/img/solarni-panely.jpg") center/cover no-repeat;
  }

  .herobox-img{
    padding-top: 1rem;
    padding-bottom: 1rem;
    max-width: 20rem;
  }

  .page-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .contact-form,
  .form-panel,
  .content-card {
    padding: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .nav-item {
    padding-left: 0rem;
  }

  .form-side-card {
    position: static;
  }
}
