:root {
  --primary-red: #d5233f;
  --primary-blue: #0052a5;
  --text-dark: #1b1b1b;
  --text-light: #656565;
  --text-black: #000000;
  --background-light-gray: #f1f1f1;
  --background-medium-gray: #f0f0f0;
  --background-white: #ffffff;
  --border-gray: #d9d9d9;
  --icon-gray: #717171;
  --placeholder-gray: #9b9b9b;
}

* {
  box-sizing: border-box;
  font-family: 'Onest', sans-serif;
}
body {
  margin: 0;

  background-color: var(--background-white);
  color: var(--text-dark);
}

header {
  display: flex;
  padding: 15px;
  justify-content: center;
  gap: 15px;
  align-items: center;
border-bottom: 1px solid #D9D9D9;;
}

.dividerrrr {
background: #D9D9D9;
min-height: 25px;
min-width: 1px;

}

.topper {
  width: 280px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 13px;

}



.container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.section-divider {
  border: none;
  height: 1px;
  background-color: var(--border-gray);
  margin: 50px auto;
  width: calc(100% - 80px);
  max-width: 897px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.main-header {
  background-color: var(--background-white);
}
.top-bar {
  display: flex;
  align-items: center;
  height: 70px;
  background-color: var(--background-white);
  padding: 0 90px;
}
.menu-button {
  background-color: var(--background-light-gray);
  border: none;
  cursor: pointer;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
}
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hamburger-line {
  width: 23px;
  height: 2px;
  background-color: var(--icon-gray);
}
.top-bar-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 29px;
}
.gov-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-herb-polski {
  position: relative;
  width: 37.4px;
  height: 44px;
}
.gov-pl-text {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 27.5px;
  color: var(--text-dark);
}
.divider-vertical {
  width: 2px;
  height: 44px;
  background-color: var(--primary-red);
}
.divider-vertical-grey {
  width: 2px;
  height: 44px;
  background: #f1f1f1;
}
.site-description {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: var(--text-dark);
}
.top-bar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.login-link {
  border: 2px solid var(--primary-blue);
  border-radius: 4px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-blue);
}
.login-icon {
  width: 16px;
  height: 16px;
}
.eu-logo-link img {
  width: 72px;
  height: 44px;
}
.secondary-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}
.site-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--text-dark);
}
.secondary-nav {
  display: flex;
  gap: 40px;
}
.secondary-nav a {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  opacity: 0.5;
}
.header-divider {
  border: none;
  height: 1px;
  background-color: var(--border-gray);
  margin: 0;
}
.mob {
  display: none;
}
@media (max-width: 1200px) {
  .secondary-nav {
    display: none;
  }
  .secondary-nav-container {
    justify-content: center;
  }
}
@media (max-width: 992px) {
  .top-bar {
    padding: 0 20px 0 80px;
  }
  .site-description,
  .top-bar-actions .divider-vertical {
    display: none;
  }
  .login-link,
  .divider-vertical {
    display: none;
  }
  .mob {
    display: block;
  }
  .top-bar-content {
    justify-content: space-between;
  }
  .top-bar-actions {
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .gov-pl-text {
    font-size: 20px;
  }
}

.hero-section {
  background-image: url("../images/main.png");
  background-size: cover;
  background-position: center;
  height: 374px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-content h1 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.3;
  color: var(--background-white);
  width: 100%;
  max-width: 806px;
  margin: auto;
}
@media (max-width: 768px) {
  .hero-section {
    height: 300px;
  }
  .hero-content h1 {
    font-size: 24px;
  }

  .hero-section {
    background-image: url("../images/main-mob.png");
    background-size: cover;
    background-position: center;
  }
}

.intro-section {
  padding: 52px 0;
}
.intro-container {
  max-width: 976px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.intro-container h2 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  color: var(--text-dark);
}
.intro-text-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.intro-text-group p {
  font-family: "Open Sans", sans-serif;
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-dark);
}
.dividend-box {
  background-color: var(--background-light-gray);
  border-bottom: 3px solid var(--primary-red);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}
.dividend-box p {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.42px;
  color: var(--text-dark);
}

.details-section {
  padding: 24px 0;
}
.details-container {
  max-width: 976px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.details-image {
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.details-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.details-text-content p {
  font-family: "Open Sans", sans-serif;
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-dark);
}

.partners-section {
  padding: 52px 0;
}
.partners-container {
  max-width: 976px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.partners-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-dark);
}
.partners-grid-wrapper {
  position: relative;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 27px;
}
.partner-card {
  background-color: var(--background-light-gray);
  border: 1px solid var(--primary-red);
  border-radius: 24px;
  height: 216px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partners-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 156px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 50.2%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 44px;
  pointer-events: none;
}
.partners-count {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: var(--primary-red);
  text-align: center;
}
@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-count {
    font-size: 36px;
  }
}

.payment-methods-section {
  padding: 28px 0;
}
.payment-methods-container {
  max-width: 976px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.payment-methods-container .section-divider {
  margin: 0;
  width: 100%;
}
.payment-methods-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-dark);
}
.methods-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}
.method-card {
  background-color: var(--background-medium-gray);
  border: 3px solid var(--primary-red);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 41px;
  flex: 1;
  min-width: 0;
}
.method-icon {
  width: 40px;
  height: 40px;
}
.method-text {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.18px;
  color: var(--text-black);
  line-height: 1.3;
}
@media (max-width: 768px) {
  .methods-wrapper {
    flex-direction: column;
  }
}

.testimonials-section {
  padding: 52px 0;
}
.testimonials-container {
  max-width: 976px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonials-container .section-divider {
  margin-top: 28px;
  margin-bottom: 0;
  width: 100%;
}
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.testimonials-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-black);
}
.testimonials-subtitle {
  font-family: "Open Sans", sans-serif;
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-black);
  letter-spacing: -0.42px;
  text-align: left;
}
.testimonials-subtitle strong {
  font-weight: 700;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-card {
  background-color: var(--background-medium-gray);
  border: 3px solid var(--primary-red);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 17px;
}
.user-avatar {
  width: 51px;
  height: 51px;
  border-radius: 50%;
}
.user-details {
  display: flex;
  flex-direction: column;
}
.user-name {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-black);
}
.user-contact {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #a6aab8;
}
.likes {
  display: flex;
  align-items: center;
  gap: 5px;
}
.like-icon {
  width: 20px;
  height: 20px;
}
.like-count {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #e82764;
}
.testimonial-text {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-black);
}
@media (max-width: 992px) {
  .testimonials-header {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.cta-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.cta-background-map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 687px;
  height: 682px;
  z-index: 1;
}
.form-wrapper {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.44);


  padding: 32px 24px;
  width: 100%;
  max-width: 569px;
  box-sizing: border-box;


  border-radius: 20px;
  border: 3px solid transparent;

  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
      88.77deg,
      #00B5E2 -10.31%,
      #EF3340 52.26%,
      #509E2F 113.64%
    ) border-box;



}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.form-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.35;
  text-align: center;
  color: var(--text-black);
}

.form-subtitle {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-top: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: var(--placeholder-gray);
  display: none;
}
.form-group input,
.phone-input-group {
  background-color: #fff;
  border: 1px solid var(--icon-gray);
  border-radius: 12px;
border: 1px solid #818C9D;
background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 20px;
  font-family: "Open Sans", sans-serif;
  color: var(--text-black);
  width: 100%;
}
.form-group input::placeholder {
  color: var(--placeholder-gray);
}
.phone-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-input-group input {
  border: none;
  padding: 0;
  background: transparent;
  flex-grow: 1;
  outline: none;
}
.flag-container {
  position: relative;
  width: 44px;
  height: 24px;
  border: 1px solid var(--icon-gray);
  border-radius: 2px;
  overflow: hidden;
}
.country-code {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--placeholder-gray);
  font-size: 20px;
}
.country-code img {
  transform: rotate(-180deg);
}
.form-notification {
  background-color: #fff;
  border: 1px solid #8B8B8B;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #8B8B8B;
}
.notification-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.form-notification p {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  line-height: 1.4;

}
.submit-button {

background: #00B5E2;
  border-radius: 12px;
  padding: 20px 24px;
  border: none;
  cursor: pointer;
  color: var(--background-white);
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.site-footer {
  border-top: 1px solid var(--primary-red);
  padding: 17px 0 40px;
}
.footer-container {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  grid-template-areas:
    "links links links links govlogo"
    "info info info info info"
    "logos logos logos logos logos";
  gap: 24px 20px;
  align-items: start;
}
.footer-links {
  grid-area: links;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.link-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.link-column a {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.footer-gov-logo {
  grid-area: govlogo;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-gov-logo img {
  width: 30px;
  height: auto;
}
.footer-gov-logo span {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 19.2px;
}
.footer-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}
.cc-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cc-info img {
  margin-top: 4px;
}
.footer-logos {
  grid-area: logos;
  display: flex;
  align-items: center;
  gap: 100px;
  padding-top: 30px;
  flex-wrap: wrap;
}

.select-title {
  font-weight: 700;
  font-size: 21px;
  line-height: 1.4;
}

.fake-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: linear-gradient(#eee, #e6e6e6);
  color: #555;
  cursor: pointer;
  font-weight: 600;
  margin-top: 20px;
}
.fake-select .value {
  opacity: 0.9;
  font-weight: 600;
  font-size: 18px;
}
.chev {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #333;
}
.chev:before {
  content: "▾";
  font-size: 20px;
  line-height: 1;
}
/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 50;
background: #283D4A99;

}
.modal.open {
  display: grid;
}
.picker {
  width: min(560px, 92vw);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.picker__head {
  padding: 18px 22px;
  text-align: center;
  font-weight: 800;
  font-size: 22px;
  border-bottom: 1px solid #eef0f3;
}
.picker__close {
  position: absolute;
  right: 10px;
  top: 10px;

  cursor: pointer;
  border-radius: 9px;
  background: #fff;
  border: none;
  font-size: 42px;
}
.year-list {
  max-height: 52vh;
  overflow: auto;
  padding: 8px 0;
  scroll-behavior: smooth;
}
.year {
  padding: 16px 28px;
  font-size: 32px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  color: #1b1b1b;
}
.year:hover {
  background: #f5f7fb;
}
.year.selected {
  background: #eef4ff;
  color: #1c1c1c;
  font-weight: 800;
}
.picker__actions {
  padding: 18px;
  display: flex;
  justify-content: center;
}
.btn {

background: var(--1212, linear-gradient(89deg, #00B5E2 -10.31%, #EF3340 52.26%, #509E2F 113.64%));
  border: none;
  color: #fff;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(210, 58, 68, 0.25);
  font-size: 24px;
  width: 90%;
  max-width: 400px;
  margin: auto;
  text-align: center;
}

/* Result card */
.result .label {
  font-weight: 700;
  margin-bottom: 10px;
}
.result .ro-input {
  width: 100%;
  height: 58px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-weight: 700;
  background: #fff;
}
.big {
  margin-top: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 32px;
  text-align: center;
}
.odometer {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 10px;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  width: min(540px, 100%);
  margin: 8px auto 0;
  background: #fff;
}
.digit {
  width: 38px;
  height: 48px;
  border-radius: 6px;
  background: #f3f3f3;
  display: grid;
  overflow: hidden;
  place-items: center;
  font-weight: 800;
  font-size: 28px;
  border: 1px solid #e1e1e1;
}
.digit__strip {
  display: grid;
  gap: 4px;
  transform: translateY(0);
  transition: transform 1200ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.digit__num {
  height: 48px;
  display: grid;
  place-items: center;
}
/* Verification */
.hr {
  height: 1px;
  background: #ededed;
  margin: 18px 0;
}
.verif-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}
.checks {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 12px;
}
.dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}
.dot.ok path {
  fill: #35b24a !important;
}
.bar {
  height: 28px;
  border-radius: 999px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  padding: 4px;
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  width: 0%;

background: var(--1212, linear-gradient(89deg, #00B5E2 -10.31%, #EF3340 52.26%, #509E2F 113.64%));
  border-radius: 999px;
  transition: width 0.3s linear;

}
.percent {
  text-align: center;
  font-weight: 800;
  font-size: 44px;
  margin: 12px 0 2px;
}
.muted {
color: #22242D;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;

}

.support {
  margin-top: 10px;
  max-width: 569px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #0C0C0C;
font-size: 12px;
padding: 9px 30px 8px 30px;
border-radius: 12px;
border: 1px solid #B2B2B2;
}


.mob {
  display: none;
}


footer {
  background: #283D4A;
  width: 100%;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  color: #fff;
  font-size: 16px;
}

footer h4 {
  padding-bottom: 12px;
}

.footer-right {
  width: 50%;
  display: flex;
  justify-content: space-between;
gap: 40px;
}

.footer-half {
width: 50%;

}

.footer2 {
  background: #283D4A;
border-top: 1px solid #ffffff50;
color: #ffffff80;
font-size: 16px;
text-align: center;
padding: 15px;
width: 100%;
}
@media (max-width: 992px) {
  .footer-container {
    grid-template-areas:
      "links"
      "govlogo"
      "info"
      "logos";
    justify-items: center;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    align-items: start;
  }
  .link-column {
    align-items: start;
  }
  .footer-gov-logo {
    align-items: center;
  }
  .footer-logos {
    justify-content: center;
    gap: 40px;
    flex-direction: column;
  }

  .big {
    font-size: 21px;
  }

  header .topper, header .dividerrrr {
    display: none;
  }

  .topper.mob {
    display: flex;
    width: 100%;
    padding: 12px;
    background: #EDEDED;
    justify-content: start;
  }
.cta-section {
  padding: 40px 0;
}

footer {
  padding: 20px 15px;
  flex-direction: column;
  gap: 40px;
}
.footer-right, .footer-half {
  width: 100%;
}

.footer-right {
  flex-direction: column;
}
.form-title {
  font-size: 22px;
}

}
