/**
 * Styles for Rozwiązania+ Template
 * Template: single-rozwiazania+.php
 */

/* Reasons Section - Light background */
.c-section__super-reasons {
  padding: 80px 0;
  background-color: #f5f5f5;
}
@media screen and (max-width: 1650px) and (min-width: 1200px) {
  .wrapper {
    min-height:auto;
  }
}
.wrapper{
  min-height:unset;
}
.col-sm-6 {
  background-size: cover;
  background-position: 50% 50%;
}
.mar-top{
  margin:2rem 0 4em;
}
.c-section__super-reasons .section-heading {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  color: #000C2D;
  margin-bottom: 15px;
}
.c-section__super-reasons .heading-divider {
  width: 60px;
  height: 3px;
  background-color: #C23035;
  margin: 0 auto 50px;
}
.c-section__super-reasons .reasons-list {
  margin-top: 40px;
}
.c-section__super-reasons .reason-item {
  padding: 30px;
  height: 100%;
}
.c-section__super-reasons .reason-item h3 {
  font-size: 22px;
  font-weight: 600;
  color: #000C2D;
  margin-bottom: 20px;
  line-height: 1.4;
}
.c-section__super-reasons .reason-item .reason-content {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.c-section__super-reasons .reason-item .reason-content p {
  margin-bottom: 10px;
}
.c-section__super-reasons .reason-item .reason-content p:last-child {
  margin-bottom: 0;
}
.c-section__super-reasons .reason-item .reason-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.c-section__super-reasons .reason-item .reason-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.c-section__super-reasons .reason-item .reason-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  background-image: var(--list-icon, none);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 2px;
}
.c-section__super-reasons .reason-item .reason-content:not([style*="--list-icon"]) ul li::before {
  content: '•';
  width: auto;
  height: auto;
  background-image: none;
  color: #C23035;
}

/* Comparison Section */
.c-section__super-comparison {
  padding: 80px 0;
  background-color: white;
}
.c-section__super-comparison .section-heading {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  color: #000C2D;
  margin-bottom: 15px;
}
.c-section__super-comparison .heading-divider {
  width: 60px;
  height: 3px;
  background-color: #C23035;
  margin: 0 auto 50px;
}
.c-section__super-comparison .comparison-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.c-section__super-comparison .comparison-card {
  background-color: white;
  padding: 40px 35px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.c-section__super-comparison .comparison-card.card-extended {
  background-color: #000C2D;
  color: white;
}
.c-section__super-comparison .comparison-card.card-extended .card-header h3 {
  color: white;
}
.c-section__super-comparison .comparison-card.card-extended .card-subtitle {
  color: rgba(255, 255, 255, 0.8);
}
.c-section__super-comparison .comparison-card.card-extended .card-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.c-section__super-comparison .comparison-card.card-extended .comparison-bullets li {
  color: rgba(255, 255, 255, 0.9);
}
.c-section__super-comparison .comparison-card .card-header {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.c-section__super-comparison .comparison-card .card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #000C2D;
  margin-bottom: 15px;
  line-height: 1.4;
}
.c-section__super-comparison .comparison-card .card-header .card-subtitle {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.c-section__super-comparison .comparison-card .card-header .card-subtitle img {
  max-height: 30px;
  width: auto;
}
.c-section__super-comparison .comparison-card .comparison-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.c-section__super-comparison .comparison-card .comparison-bullets li {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  color: #333;
}
.c-section__super-comparison .comparison-card .comparison-bullets li:last-child {
  margin-bottom: 0;
}
.c-section__super-comparison .comparison-card .comparison-bullets li .bullet-icon {
  width: 20px;
  height: auto;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.c-section__super-comparison .comparison-card .comparison-bullets li .bullet-icon-fallback {
  width: 20px;
  height: auto;
  margin-right: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}
.c-section__super-comparison .comparison-card .comparison-bullets li .bullet-icon-fallback.icon-check {
  background-color: #4CAF50;
  color: white;
}
.c-section__super-comparison .comparison-card .comparison-bullets li .bullet-icon-fallback.icon-check::before {
  content: '✓';
}
.c-section__super-comparison .comparison-card .comparison-bullets li .bullet-icon-fallback.icon-x {
  background-color: #9e9e9e;
  color: white;
}
.c-section__super-comparison .comparison-card .comparison-bullets li .bullet-icon-fallback.icon-x::before {
  content: '✕';
}
.c-section__super-comparison .comparison-card .comparison-bullets li .bullet-content {
  flex: 1;
}
.c-section__super-comparison .comparison-card .comparison-bullets li .bullet-content p {
  margin: 0;
}
.c-section__super-comparison .comparison-card .comparison-bullets li.bullet-no {
  opacity: 0.7;
}

/* CTA Section */
.c-section__super-cta {
  padding: 80px 0 0;
  background-color: white;
  overflow: hidden;
}
.c-section__super-cta .cta-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.c-section__super-cta .col-sm-6.aos-init.aos-animate{
  padding: 4rem 2rem;
}
.contact-list{
  font-size:1.25em;
  line-height:1.5em;
}
.c-section__super-cta .cta-wrapper .container {
  position: relative;
  z-index: 2;
}
.c-section__super-cta .cta-content {
  padding-right: 50px;
}
.c-section__super-cta .cta-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #000C2D;
  margin-bottom: 20px;
  font-style: italic;
}
.c-section__super-cta .cta-content .cta-text {
  margin-bottom: 30px;
}
.c-section__super-cta .cta-content .cta-text p {
  font-size: 16px;
  font-weight: 600;
  color: #000C2D;
  margin-bottom: 20px;
}
.c-section__super-cta .cta-content .cta-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.c-section__super-cta .cta-content .cta-text ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
.c-section__super-cta .cta-content .cta-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: var(--list-icon, none);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 2px;
}
.c-section__super-comparison .comparison-card .card-header h3{
margin: 0;
  font-size:1.75em;
}
.c-section__super-comparison .comparison-card .card-header .card-subtitle{
  align-items: center;
}
.c-section__super-comparison .comparison-card .card-header .card-subtitle p{
  margin:0 0 auto;
  font-size:1.25rem;
  font-weight:300;
}
.c-section__super-comparison .comparison-card li p{
  font-size:1rem;
  margin-bottom:12px!important;
}
.c-section__super-comparison .comparison-card.card-extended .card-header .card-subtitle {
color: rgba(233,233,233,1);
}
.c-section__super-cta .cta-content .cta-text:not([style*="--list-icon"]) ul li::before {
  content: '→';
  width: auto;
  height: auto;
  background-image: none;
  color: #C23035;
  font-weight: bold;
}
.c-section__super-cta .cta-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 100%;
  min-height: 400px;
}
.c-section__super-cta .cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  box-shadow: 0px 12px 30px #00000029;
}

/* Media Queries */
@media only screen and (max-width: 991px) {
  .c-section__super-reasons {
    padding: 50px 0;
  }
  .c-section__super-reasons .section-heading {
    font-size: 28px;
  }
  .c-section__super-reasons .reason-item {
    padding: 20px 15px;
    margin-bottom: 30px;
  }
  .c-section__super-reasons .reason-item h3 {
    font-size: 18px;
  }
  .c-section__super-comparison {
    padding: 50px 0;
  }
  .c-section__super-comparison .section-heading {
    font-size: 24px;
    line-height: 1.3;
  }
  .c-section__super-comparison .comparison-cards {
    gap: 20px;
  }
  .c-section__super-comparison .comparison-card {
    padding: 30px 25px;
  }
  .c-section__super-cta {
    padding: 50px 0;
  }
  .c-section__super-cta .cta-wrapper {
    flex-direction: column;
  }
  .c-section__super-cta .cta-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  .c-section__super-cta .cta-content h2 {
    font-size: 22px;
  }
  .c-section__super-cta .cta-image {
    position: relative;
    width: 100%;
    top: auto;
    transform: none;
    min-height: auto;
    margin-top: 30px;
  }
  .c-section__super-cta .cta-image img {
    height: auto;
    object-fit: contain;
  }
}

@media only screen and (min-width: 992px) {
  .c-section__super-comparison .comparison-cards > div {
    max-width: 500px;
  }
}

/* HubSpot Form Styles */
.c-section__form-offer .hs-form {
  transition: height 0.3s ease;
}

.c-section__form-offer .hs-form-field {
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.c-section__form-offer .hs-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.c-section__form-offer .hs-form label .hs-form-required {
  color: #C23035;
  margin-left: 2px;
}

.c-section__form-offer .hs-form .hs-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  padding: 12px 0;
  font-size: 16px;
  color: white;
  transition: all 0.3s ease;
  outline: none;
}

.c-section__form-offer .hs-form .hs-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.c-section__form-offer .hs-form .hs-input:hover,
.c-section__form-offer .hs-form .hs-input:focus {
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

.c-section__form-offer .hs-form .hs-input:hover::placeholder,
.c-section__form-offer .hs-form .hs-input:focus::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.c-section__form-offer .hs-form .hs-form-field:focus-within label {
  color: rgba(255, 255, 255, 1);
}

/* Select dropdowns */
.c-section__form-offer .hs-form select.hs-input {
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.7)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}

.c-section__form-offer .hs-form select.hs-input option {
  background: #000C2D;
  color: white;
}

/* Phone field with country selector */
.c-section__form-offer .hs-form .hs-fieldtype-intl-phone {
  display: flex;
  gap: 10px;
}

.c-section__form-offer .hs-form .hs-fieldtype-intl-phone select {
  flex: 0 0 auto;
  width: auto;
  min-width: 160px;
}

.c-section__form-offer .hs-form .hs-fieldtype-intl-phone input[type="tel"] {
  flex: 1;
}

/* Checkbox as Toggle */
.c-section__form-offer .hs-form .hs-form-booleancheckbox {
  margin-bottom: 12px;
}

.c-section__form-offer .hs-form .hs-form-booleancheckbox-display {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.c-section__form-offer .hs-form .hs-form-booleancheckbox-display input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 44px;
  height: 24px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 0;
  flex-shrink: 0;
}

.c-section__form-offer .hs-form .hs-form-booleancheckbox-display input[type="checkbox"]::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}

.c-section__form-offer .hs-form .hs-form-booleancheckbox-display input[type="checkbox"]:checked {
  background: #C23035;
}

.c-section__form-offer .hs-form .hs-form-booleancheckbox-display input[type="checkbox"]:checked::after {
  transform: translateX(20px);
}

.c-section__form-offer .hs-form .hs-form-booleancheckbox-display span {
  padding-top: 2px;
}

.c-section__form-offer .hs-form .hs-form-booleancheckbox-display span p {
  margin: 0;
  display: inline;
}

/* Legal consent text */
.c-section__form-offer .hs-form .legal-consent-container {
  margin-top: 24px;
}

.c-section__form-offer .hs-form .legal-consent-container .hs-richtext {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 16px;
}

.c-section__form-offer .hs-form .inputs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Error states */
.c-section__form-offer .hs-form .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.c-section__form-offer .hs-form .hs-error-msg {
  font-size: 12px;
  color: #C23035;
}

.c-section__form-offer .hs-form .hs-input.invalid,
.c-section__form-offer .hs-form .hs-input.error {
  border-bottom-color: #C23035;
}

/* Submit button */
.c-section__form-offer .hs-form .hs-submit {
  margin-top: 32px;
}

.c-section__form-offer .hs-form .hs-button {
  background-color: #C23035;
  color: white;
  border: none;
  border-radius: 0;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.16);
}

.c-section__form-offer .hs-form .hs-button:hover {
  background-color: white;
  color: #C23035;
}

/* Hide field descriptions if not needed */
.c-section__form-offer .hs-form .hs-field-desc {
  display: none;
}

/* Smooth height transitions for form container */
.c-section__form-offer .col-sm-6.form {
  transition: height 0.3s ease;
}

.c-section__form-offer .col-sm-6.form > div {
  transition: all 0.3s ease;
}
