/* style.css */
:root {
    --bg: white;
    --primary: #00d09c;
    --secondary: #00ee831a;
    --bg-blocks: #00ee9f0d;
    --text: #71717A;
    --text-h: #11181C;
    --fir: "Inter", "Helvetica Neue";
    --thin: 300;
    --light: 400;
    --semibold: 500;
    --bold: 700;
    --gbold: 900;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h1 {
  font-family: var(--fir);
  text-align: right;
  font-size: clamp(1.8rem, 1.2rem + 1.5vw, 4.3rem);
}
h2 {
  font-family: var(--fir);
  font-size: clamp(1.4rem, 1rem + 1vw, 3rem);
}
@media (max-width: 1035px) {
  h1 {
  text-align: center;
  }
}
h3 {
  font-family: var(--fir);
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  color: var(--text-h);
  line-height: 1.3;
}

h4 {
  font-family: var(--fir);
  font-size: clamp(0.75rem, 1.4vw, 0.9rem);
  color: var(--text);
  font-weight: var(--thin);
  line-height: 1.4;
}
span {
  font-family: var(--fir);
  font-size: clamp(0.8125rem, 0.65rem + 0.45vw, 1rem);
  color: var(--text);
}
header {
  background-color: var(--bg);
  padding-block: clamp(0.75rem, 2vw, 1.25rem);
  padding-inline: clamp(1rem, 3vw, 2rem);
  height: auto;
  border-bottom: 2px solid rgba(17, 17, 17, 0.15);
}
a {
  color: var(--text-h);
  font-family: var(--fir);
  font-weight: var(--thin);
  text-decoration: none;
}
.list-menu {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem); 
}
.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto; 
}
.logo {
  display: flex;
  align-items: center;
  gap: clamp(0.3125rem, 1.2vw, 0.75rem);
}
.logo img {
  width: clamp(2rem, 0.5rem + 5vw, 3rem);
  height: auto;
}
.section-1 {
  display: flex;
  justify-content: center;
  width: 100vw;
  background-color: var(--secondary);
}
.section-5 {
      background: 
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(0, 255, 89, 0.304) 100%
        ),
        url('/img/bg-comp.webp') center/cover;
  display: flex;
  padding: 10px;
  margin-top: 20px;
}
.logo-title {
  font-family: var(--fir);
  font-weight: var(--bold);
  font-size: clamp(1rem, 0.75rem + 2.8vw, 1.15rem);
}
.buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.container {
    display: flex;
    align-items: stretch;
    max-width: min(1440px, 95vw);
    margin: 20 0 auto;
    gap: 1.3rem;
    min-height: 70vh;
}
@media (max-width: 1035px) {
  .container {
    flex-direction: column;
  }
} 
.form__calculator {
    width: 600px;
    max-width: 100%;
    margin: clamp(2rem, 5vw, 4rem) auto clamp(1.5rem, 4vw, 2rem) auto;
    height: auto;
    background-color: var(--bg);
    border-radius: clamp(1rem, 2vw, 1.25rem);
    box-shadow: 
        0px 
        clamp(0.375rem, 1vw, 0.5rem) 
        clamp(1.5rem, 3vw, 1.75rem) 
        clamp(0.125rem, 0.3vw, 0.25rem) 
        rgba(34, 60, 80, 0.09);
    padding: clamp(1.25rem, 3vw, 1.5rem);
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
}
.form-calculator-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
@media (max-width: 600px) {
  .form__calculator {
    width: 95vw;
}
}
@media (max-width: 1035px) {
  .form__calculator {
    margin: 0;
}
}
.loan__form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}
@media (max-width: 1035px) {
  .loan__form {
    align-items: center;
  }
}
.girl__loan-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    flex: 1;
}
@media (max-width: 1336px) {
  .girl__loan-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
}
.girl img {
  width: clamp(350px, 35vw, 450px);
  height: auto;
  max-width: 100%;
}
@media (max-width: 1336px) {
  .girl {
    display: none;
  }
}
.content__text {
  display: flex;
}
@media (min-width: 1036px) {
.content__h1 span {
 display: none;
}
}
@media (max-width: 1035px) {
  .content__text {
    display: none;
  }
}
.content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    flex: 1;
}
@media (max-width: 1336px) {
.content {
    justify-content: center;
}
}
.content__span-button {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
@media (min-width: 1336px) {
  .content__span-button {
    gap: 1vw;
  }
}
@media (max-width: 1035px) {
  .content__span-button {
    align-items: center;
    gap: 20px;
  }
}
.content__span-button span {
  text-align: right;
  font-size: clamp(0.8125rem, 0.65rem + 0.45vw, 1rem);
}
@media (max-width: 1035px) {
.content__span-button span {
  text-align: center;
  }
}
.span-btn-cont {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}
@media (min-width: 1336px) {
.span-btn-cont {
  gap: 50px;
}
}
@media (max-width: 1035px) {
  .span-btn-cont {
  align-items: center;
}
}
/* ===================== */
/* Иконки под кнопками в header - Start */
.icons {
  display: flex;
  gap: 10px;
}
@media (max-width: 420px) {
  .icons {
    align-items: flex-start;
    flex-direction: column;
  }
}
.icons__right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.icons1 span, .icons2 span, .icons3 span {
  color: var(--text-h);
  font-weight: var(--thin);
}
/* Иконки под кнопками в header - End */
/* ===================== */
.icn__partners {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-bottom: 20px;
}
.icn__partners_mobi {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 1035px) {
  .icn__partners {
    display: none;
  }
}
.icn__part {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icn__part p {
  font-family: var(--fir);
  color: var(--text);
  font-size: clamp(0.75rem, 0.8vw, 0.875rem);
}
.icn__part span {
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  color: var(--primary);
  font-weight: var(--bold);
}
.content__h2 {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  flex-direction: column;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}
.section-2 .content__h2,
.section-3 .content__h2,
.section6 .partners-heading,
.section-7 .partners-heading {
  margin-top: clamp(1.75rem, 4.5vw, 3.5rem);
  margin-bottom: clamp(1.75rem, 4.5vw, 3.5rem);
}
.container-2,
.our-service {
  padding-top: clamp(0.75rem, 2vw, 1.5rem);
  padding-bottom: clamp(0.75rem, 2vw, 1.5rem);
}

.container-2 {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}  
.steps {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    margin-left: 10px;
    margin-right: 10px;
    flex-wrap: wrap; 
    justify-content: center;
}

.step_content {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
.step_content {
  border-radius: clamp(1rem, 2vw, 1.25rem);
  box-shadow: 
        0px 
        clamp(0.375rem, 1vw, 0.5rem) 
        clamp(1.5rem, 3vw, 1.75rem) 
        clamp(0.125rem, 0.3vw, 0.25rem) 
        rgba(34, 60, 80, 0.09);
  border: 1px solid rgba(17, 17, 17, 0.15);
  padding: 20px;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}
.step_texth1 span {
  font-family: var(--fir);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--text-h);
  font-weight: var(--bold);
}
.step_textspan span {
  font-size: clamp(0.85rem, 0.65rem + 0.5vw, 1.05rem);
}
.service {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.service-content {
  border-radius: clamp(1rem, 2vw, 1.25rem);
  box-shadow: 
        0px 
        clamp(0.375rem, 1vw, 0.5rem) 
        clamp(1.5rem, 3vw, 1.75rem) 
        clamp(0.125rem, 0.3vw, 0.25rem) 
        rgba(34, 60, 80, 0.09);
  border: 1px solid rgba(17, 17, 17, 0.15);
  padding: 20px;
  flex: 1;
  min-width: 300px;
  max-width: 1200px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
}
.scti-text {
  display: flex;
  flex-direction: column;
}
.service-cont-text-icon {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
 .scti-text-h2 {
  color: var(--text-h);
  font-size: .9rem;
  line-height: 20px;
 }
 .info__container {
  display: flex;
  justify-content: center;
  gap: 20px;
 }
.criteria-container {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.5vw, 0.625rem);
  border-radius: clamp(1rem, 2vw, 1.25rem);
  box-shadow: 
    0px 
    clamp(0.375rem, 1vw, 0.5rem) 
    clamp(1.5rem, 3vw, 1.75rem) 
    clamp(0.125rem, 0.3vw, 0.25rem) 
    rgba(34, 60, 80, 0.09);
  border: 1px solid rgba(17, 17, 17, 0.15);
  width: min(100% - 20px, 1200px);
  margin: clamp(1.875rem, 5vw, 3.125rem) auto;
  padding: clamp(1.875rem, 5vw, 3.125rem) clamp(1rem, 2.5vw, 1.25rem) clamp(1.875rem, 5vw, 3.125rem);
  box-sizing: border-box;
  align-items: center;
}
.criteria-container > * {
  width: min(100%, 500px);
  box-sizing: border-box;
}
 .cc-h2 {
  text-align: center;
 
 }
 .cc-content {
  display: flex;
  gap: 10px;
 }
 .container-howlate {
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.5vw, 0.625rem);
  border-radius: clamp(1rem, 2vw, 1.25rem);
  box-shadow: 
    0px 
    clamp(0.375rem, 1vw, 0.5rem) 
    clamp(1.5rem, 3vw, 1.75rem) 
    clamp(0.125rem, 0.3vw, 0.25rem) 
    rgba(34, 60, 80, 0.09);
  border: 1px solid rgba(17, 17, 17, 0.15);
  width: min(100% - 20px, 1200px);
  margin: clamp(1.875rem, 5vw, 3.125rem) auto;
  padding: clamp(1.875rem, 5vw, 3.125rem) clamp(1rem, 2.5vw, 1.25rem) clamp(1.875rem, 5vw, 3.125rem);
  box-sizing: border-box;
  align-items: center;
 }
 .our-service {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.5vw, 0.625rem);
  width: min(100% - 20px, 1200px);
  margin: 20px auto 0;
  box-sizing: border-box;
 }
 .partners-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
 }
.partners-icon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
}
.partners-icon img {
  flex: 0 0 auto;
  width: clamp(70px, 15vw, 100px);
  height: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.partners-icon img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
@media (max-width: 480px) {
  .partners-icon {
    gap: 0.5rem;
  }
  .partners-icon img {
    width: 60px;
  }
}
@media (min-width: 1400px) {
  .partners-icon img {
    width: 100px;
  }
}
.t-1 {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  flex-direction: column;
  border-radius: clamp(1rem, 2vw, 1.25rem);
  box-shadow: 
    0px 
    clamp(0.375rem, 1vw, 0.5rem) 
    clamp(1.5rem, 3vw, 1.75rem) 
    clamp(0.125rem, 0.3vw, 0.25rem) 
    rgba(34, 60, 80, 0.09);
  border: 1px solid rgba(17, 17, 17, 0.15);
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 1.5vw, 1.25rem);
  flex: 1;
  min-width: min(100%, 350px);
}

.testimonials-content-up,
.testimonials-content-down {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 800px;
}

@media (min-width: 1101px) {
  .testimonials-content-up {
    margin-left: 40px;
  }
}

.clients-content {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.testimonials {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  flex-direction: column;
  flex: 1;
}

.clients {
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem) 1rem;
}

.testimonials-girl img {
  width: clamp(280px, 25vw, 350px);
  height: auto;
}

.t-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.t-data-profile {
  display: flex;
  flex-direction: column;
}

.t-text span {
  font-family: var(--fir);
  font-size: clamp(0.6875rem, 0.55rem + 0.35vw, 0.85rem);
  color: var(--text);
  font-style: italic;
  line-height: 1.4;
}

.data-name {
  color: var(--text-h);
  font-weight: var(--semibold);
  font-size: clamp(0.75rem, 0.6rem + 0.4vw, 0.9rem);
}

.data-descr {
  font-size: clamp(0.625rem, 0.5rem + 0.3vw, 0.8rem);
  color: var(--text);
}

.t-star {
  display: inline-flex;
  position: relative;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #e0e0e0;
}

.t-star::before {
  content: '★★★★★';
}

.t-star::after {
  content: '★★★★★';
  position: absolute;
  left: 0;
  top: 0;
  width: 90%;
  color: #ffb300;
  overflow: hidden;
}
@media (max-width: 1100px) {
  .testimonials-girl {
    display: none;
  }
  
  .clients-content {
    justify-content: center;
  }
  
  .testimonials {
    align-items: center;
  }

  .testimonials-content-up {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .testimonials-content-up,
  .testimonials-content-down {
    flex-direction: column;
    align-items: center;
  }
  
  .t-1 {
    width: 100%;
    max-width: 400px;
  }
  
  .clients-content {
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .clients {
    padding: 1.5rem 0.5rem;
  }
  
  .clients-content {
    width: 100%;
    padding: 0 0.5rem;
  }
  
  .t-1 {
    padding: 1.25rem 1rem;
  }
}
@media (min-width: 1101px) {
.section8 {
  position: relative;
  margin-top: -5vw;
  z-index: 2;
}
}
.bg-s8 {
  background: 
    linear-gradient(rgba(58, 150, 255, 0.4), rgba(22, 135, 255, 0.4)),
    url('/img/bg-s8.webp') var(--primary) center / cover no-repeat;
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 6vw, 3.75rem) clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}
.content-bgs8 {
  width: min(100% - 2rem, 1100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.25rem);
  text-align: center;
}
.content-bgs8 h2 {
  color: var(--bg);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
  max-width: 800px;
}
.content-bgs8 span {
  color: var(--bg);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
  max-width: 600px;
}
.content-sc9 {
  background-color: var(--bg-blocks);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.text-sc9 {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}
footer {
  padding-top: 40px;
  padding-bottom: 40px;
}
.footer-container {
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.footer-up {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 4vw, 4rem);
  justify-content: space-between;
  align-items: flex-start;
}
.footer-up-left {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 4vw, 3rem);
  flex: 1 1 600px;
  min-width: min(100%, 600px);
  max-width: 100%;
}
.logo-footer {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  flex: 1 1 300px;
  min-width: min(100%, 300px);
  max-width: 400px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.logo img {
  width: clamp(2rem, 4vw, 2.5rem);
  height: clamp(2rem, 4vw, 2.5rem);
}

.logo-title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: bold;
  margin: 0;
  color: black;
}

.logo-footer span {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--text);
  line-height: 1.5;
  display: block;
}
.icons-footer {
  display: flex;
  gap: 1rem;
  margin-top: clamp(0.5rem, 1vw, 0.75rem);
}
.icons-footer img {
  width: clamp(1.25rem, 2.5vw, 1.5rem);
  height: clamp(1.25rem, 2.5vw, 1.5rem);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.icons-footer img:hover {
  transform: scale(1.1);
}
.menu-footer {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  flex: 0 0 auto;
  min-width: min(100%, 180px);
}
.list-menu-footer {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 0.75rem);
}
.list-menu-footer a {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
  white-space: nowrap;
}
.list-menu-footer a:hover {
  color: var(--primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  flex: 0 0 auto;
  width: min(100%, 300px);
}
.footer-contact > span {
  font-size: clamp(0.875rem, 1.75vw, 1rem);
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.icons-footer-tel {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.25rem 0;
}
.icons-footer-tel img {
  width: clamp(1rem, 2vw, 1.25rem);
  height: clamp(1rem, 2vw, 1.25rem);
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.icons-footer-tel a {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s ease;
  word-break: break-word;
}
.icons-footer-tel a:hover {
  color: var(--primary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  flex-wrap: wrap;
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: clamp(1rem, 2vw, 1.5rem);
  flex-direction: column;
}
@media (min-width: 1000px) {
  .footer-bottom {
  flex-direction: row;
  }
}
.copyright span {
  font-size: clamp(0.625rem, 0.5rem + 0.3vw, 0.8rem);
}
.metadescription {
  font-size: clamp(0.625rem, 0.5rem + 0.3vw, 0.8rem);
  text-align: left;
  width: 460px;
  font-family: var(--fir);
  color: #71717A;
}
@media (max-width: 500px) {
  .metadescription {
  width: 300px;
  }
}
.menu-old {
  display: flex;
  gap: 8px;
}
.menu-old a {
  font-size: clamp(0.625rem, 0.5rem + 0.3vw, 0.8rem);
}

/* Новые стили для динамической формы */
.dynamic-form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.dynamic-form-step.active {
    display: block;
}

/* Контейнер вопроса */
.form-question {
    margin-bottom: 25px;
}
.field-wrapper {
  margin-bottom: 25px;
}

.form-question-label {
    display: block;
    font-family: var(--fir);
    font-size: 16px;
    color: var(--text-h);
    margin-bottom: 15px;
    font-weight: var(--semibold);
}

/* Стили для input полей */
.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--fir);
    font-size: 16px;
    color: var(--text-h);
    background: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

.form-input::placeholder {
    color: #a0a0a0;
}

/* Стили для выпадающих списков */
.form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--fir);
    font-size: 16px;
    color: var(--text-h);
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23006FEE' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat calc(100% - 15px) center;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

/* Группы кнопок выбора */
.form-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.form-option-btn {
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--fir);
    font-size: 16px;
    color: var(--text);
    transition: all 0.3s ease;
    text-align: center;
}

.form-option-btn:hover {
    border-color: var(--primary);
    background: var(--secondary);
}

.form-option-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Группы радио-кнопок */
.form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.form-radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--fir);
    color: var(--text);
}

.form-radio-option:hover {
    border-color: var(--primary);
    background: var(--secondary);
}

.form-radio-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
}

/* Навигация */
.form-navigation {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.form-next-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: var(--fir);
    background: var(--primary);
    color: white;
    font-weight: var(--semibold);
    transition: all 0.3s ease;
}

.form-next-btn:hover {
    background: color-mix(in srgb, var(--primary) 90%, black);
    transform: translateY(-2px);
}

.form-finish-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: var(--fir);
    background: #28a745;
    color: white;
    font-weight: var(--semibold);
    transition: all 0.3s ease;
}

.form-finish-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-options-grid {
        grid-template-columns: 1fr;
    }
    
    .form-next-btn,
    .form-finish-btn {
        width: 100%;
    }
}
/* Контейнер навигации */
.form-navigation {
    display: flex;
    margin-top: 30px;
    width: 100%;
}

/* Центрирование для всех шагов кроме первого */
.center-nav {
    justify-content: center;
}

/* Стили для кнопок на внутренних шагах */
.primary-btn {
    padding: 15px 40px;
    border-radius: 12px;
    border: none;
    background: #007bff; /* Ваш основной цвет */
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.primary-btn:hover {
    transform: scale(1.05);
}

/* Сохраняем вашу верстку для первого шага */
.first-step-nav .buttton__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}
/* Форма Димы */
/* Форма Димы */
.main-form {
  border-radius: 14px;
  background: #FFF;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.03), 0px 2px 30px 0px rgba(0, 0, 0, 0.08), 0px 0px 1px 0px rgba(0, 0, 0, 0.30);
  padding: 24px;
  position: relative;
  overflow: hidden; 
}

.main-form-purple {
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  background: rgba(93, 200, 40, 0.2);
  filter: blur(12px);
  transform: translate(30%, -30%);
}

.main-form-blue {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 128px;
  height: 128px;
  border-radius: 9999px;
  background: rgba(0, 238, 52, 0.2);
  filter: blur(12px);
  transform: translate(-30%, 30%);
}
@media only screen and (max-width: 768px) {
  .main-form-purple {
    width: 60px;
    height: 60px;
    transform: translate(20%, -20%);
  }
  
  .main-form-blue {
    width: 80px;
    height: 80px;
    transform: translate(-20%, 20%);
  }
}

@media only screen and (max-width: 480px) {
  .main-form-purple {
    width: 40px;
    height: 40px;
    transform: translate(15%, -15%);
  }
  
  .main-form-blue {
    width: 60px;
  height: 60px;
    transform: translate(-15%, 15%);
  }
}

.main-form h2 {
  color: #11181C;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  margin: 0;
  padding: 0;
}

.subtitleh2 {
  color: #71717A;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.mainform {
  margin-top: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0px;
}

.mainform label {
  color: #11181C;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 4px;
  font-family: var(--fir);
}

.mainform select {
  border-radius: 6px;
  border: 1px solid #E4E4E7;
  background: #EFEFEF;
  padding: 10px 20px 10px 10px;
  height: 40px;
  color: #11181C;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  background: #EFEFEF url('../img/arrow-select.svg') no-repeat;
  background-position: 98%;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: "Inter", sans-serif;
}

.mainform input {
  border-radius: 6px;
  border: 1px solid #E4E4E7;
  background: #EFEFEF;
  padding: 10px 20px 10px 10px;
  height: 40px;
  color: #11181C;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  font-family: "Inter", sans-serif;
}

.mainform button {
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  width: 100%;
  height: 40px;
  padding: 13px 10px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: #FFF;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  border: 1px solid var(--primary);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  margin-top: 24px;
}

.mainform button:hover {
  background: #fff;
  color: #00ee63;
}

.main-form-policy {
  width: 100%;
  text-align: left;
  display: flex;
  margin-top: 12px;
}

.main-form-policy a {
  color: #00ee7f;
}

.mainform .main-form-policy input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 0px;
  height: 0px;
}

.mainform .main-form-policy input[type=checkbox]:before {
  content: "";
  display: block;
  position: absolute;
  width: 14px;
  height: 14px;
  top: 0;
  left: 0;
  border: 1px solid #8A8A8A;
  border-radius: 3px;
  background-color: white;
}

.mainform .main-form-policy input[type=checkbox]:checked:after {
  content: "";
  display: block;
  width: 4px;
  height: 10px;
  border: 1px solid #006FEE;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 1px;
  left: 5px;
}

.main-form-policy-label {
  color: #A1A1AA;
  font-family: Inter;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  margin-left: 25px;
  margin-top: 2px;
}
.container-old {
    display: flex;
    align-items: stretch;
    max-width: min(1440px, 95vw);
    margin: 0 auto;
    gap: 1.3rem;
    min-height: 70vh;
    justify-content: center;
    padding: 0 1rem; /* добавляем отступы */
    box-sizing: border-box;
}

.step1 {
    width: 100%;
    max-width: 1120px;
}

.row {
    width: 100%;
    max-width: 1120px;
}
.offers-table{max-width:1000px;margin:0 auto;font-family:var(--fir);}
.header-row{display:none;font-weight:600;padding:12px 10px;border-bottom:2px solid #ccc;}
.offer-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:15px 10px;border-bottom:1px solid #eee;text-decoration:none;color:inherit;opacity:0;transform:translateY(20px);transition:opacity .45s ease,transform .45s ease;}
.offer-row.visible{opacity:1;transform:translateY(0);}
.offer-row:hover{background:#fafafa;}
.col-logo{flex:0 0 50px;}
.col-sum{flex:1 1 120px;font-weight:600;}
.col-desc{flex:2 1 220px;}
.col-btn{flex:0 0 120px;text-align:right;}
.offer-row img{height:40px;max-width:100%;object-fit:contain;}
.offer-row button{width:100%;padding:10px 5px;background:var(--primary);color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;}
.offer-row button:hover{background:#0056b3;}
.label{display:none;font-weight:600;}

@media(min-width:768px){
  .header-row{display:flex;}
  .offer-row{flex-wrap:nowrap;}
  .col-logo,.col-sum,.col-desc,.col-btn{flex:1;}
}
@media(max-width:420px){
  .offer-row{flex-direction:column;align-items:flex-start;}
  .col-logo,.col-sum,.col-desc,.col-btn{flex:1 1 100%;width:100%;text-align:left;}
  .col-btn{margin-top:8px;}
  .label{display:inline-block;margin-right:6px;}
}

/* carousel.css */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}
.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
}
.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.modal-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}
.modal-prev {
  left: 20px;
}
.modal-next {
  right: 20px;
}
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  padding-left: 10px;
}
.gallery {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  flex: 1;
  padding: 2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery::-webkit-scrollbar {
  display: none;
}
.gallery img {
  scroll-snap-align: start;
  flex: 0 0 auto;
  height: 500px;
  width: auto;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}
.gallery img:hover {
  transform: scale(1.02);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.8;
}
.carousel-btn:hover {
  background: rgba(0, 0, 0, 1);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}
.carousel-btn.prev {
  left: 1rem;
}
.carousel-btn.next {
  right: 1rem;
}
@media (max-width: 768px) {
  .gallery {
    gap: 1rem;
    padding: 1.5rem 0;
  }
  
  .gallery img {
    height: 300px;
    width: auto;
    max-width: calc(100vw / 1.5 - 2rem);
  }
  
  .gallery img:first-child {
    margin-left: 1rem;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .modal-prev {
    left: 10px;
  }
  
  .modal-next {
    right: 10px;
  }
}
.gallery img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.carousel-container::before,
.carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 1;
}
.carousel-container::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, transparent 100%);
}
.carousel-container::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,0.9) 0%, transparent 100%);
}
@media (max-width: 768px) {
  .carousel-container::before,
  .carousel-container::after {
    display: none;
  }
}

/* canvas-menu.css */
/* Canvas Menu - Start */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999;
}
.burger span {
  height: 2px;
  background: var(--text-h);
  transition: 0.3s;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 98;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}
.canvas-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(280px, 80vw);
  background: var(--bg);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 4rem 1.5rem 1.5rem;
  gap: 1.25rem;
  z-index: 998;
}
.canvas-menu.active {
  transform: translateX(0);
}
.canvas-menu a {
  color: var(--text-h);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}
.burger,
.canvas-menu,
.overlay {
  display: flex;
}
.list-menu {
  display: none;
}
@media (min-width: 1001px) {
  .burger,
  .canvas-menu,
  .overlay {
    display: none;
  }
  .list-menu {
    display: flex;
  }
}
@media (max-width: 426px) {
    .button-left {
        display: none;
    }
} 
/* Canvas Menu - End */

/* button-primary.css */
/* Кнопка и ее стили - Start */
.button {
  --h-button: 48px;
  --w-button: 102px;
  --round: 0.75rem;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.25s ease;
  background: radial-gradient(
      65.28% 65.28% at 50% 100%,
      rgba(0, 238, 163, 0.8) 0%,
      rgba(0, 111, 238, 0) 100%
    ),
    linear-gradient(0deg, var(--primary), var(--primary));
  border-radius: var(--round);
  border: none;
  outline: none;
  padding: 12px 18px;
}
.button::before,
.button::after {
  content: "";
  position: absolute;
  inset: var(--space);
  transition: all 0.5s ease-in-out;
  border-radius: calc(var(--round) - var(--space));
  z-index: 0;
}
.button::before {
  --space: 1px;
  background: linear-gradient(
    177.95deg,
    rgba(255, 255, 255, 0.19) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.button::after {
  --space: 2px;
    background: radial-gradient(
      65.28% 65.28% at 50% 100%,
      rgba(0, 238, 178, 0.8) 0%,
      rgba(0, 111, 238, 0) 100%
    ),
    linear-gradient(0deg, var(--primary), var(--primary));
}
.button:active {
  transform: scale(0.95);
}
.fold {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  height: 1rem;
  width: 1rem;
  display: inline-block;
  transition: all 0.5s ease-in-out;
  background: radial-gradient(
    100% 75% at 55%,
    rgba(0, 238, 135, 0.8) 0%,
    rgba(0, 111, 238, 0) 100%
  );
  box-shadow: 0 0 3px black;
  border-bottom-left-radius: 0.5rem;
  border-top-right-radius: var(--round);
}
.fold::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150%;
  height: 150%;
  transform: rotate(45deg) translateX(0%) translateY(-18px);
  background-color: #e8e8e8;
  pointer-events: none;
}
.button:hover .fold {
  margin-top: -1rem;
  margin-right: -1rem;
}
.points_wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.points_wrapper .point {
  bottom: -10px;
  position: absolute;
  animation: floating-points infinite ease-in-out;
  pointer-events: none;
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 9999px;
}
@keyframes floating-points {
  0% {
    transform: translateY(0);
  }
  85% {
    opacity: 0;
  }
  100% {
    transform: translateY(-55px);
    opacity: 0;
  }
}
.points_wrapper .point:nth-child(1) {
  left: 10%;
  opacity: 1;
  animation-duration: 2.35s;
  animation-delay: 0.2s;
}
.points_wrapper .point:nth-child(2) {
  left: 30%;
  opacity: 0.7;
  animation-duration: 2.5s;
  animation-delay: 0.5s;
}
.points_wrapper .point:nth-child(3) {
  left: 25%;
  opacity: 0.8;
  animation-duration: 2.2s;
  animation-delay: 0.1s;
}
.points_wrapper .point:nth-child(4) {
  left: 44%;
  opacity: 0.6;
  animation-duration: 2.05s;
}
.points_wrapper .point:nth-child(5) {
  left: 50%;
  opacity: 1;
  animation-duration: 1.9s;
}
.points_wrapper .point:nth-child(6) {
  left: 75%;
  opacity: 0.5;
  animation-duration: 1.5s;
  animation-delay: 1.5s;
}
.points_wrapper .point:nth-child(7) {
  left: 88%;
  opacity: 0.9;
  animation-duration: 2.2s;
  animation-delay: 0.2s;
}
.points_wrapper .point:nth-child(8) {
  left: 58%;
  opacity: 0.8;
  animation-duration: 2.25s;
  animation-delay: 0.2s;
}
.points_wrapper .point:nth-child(9) {
  left: 98%;
  opacity: 0.6;
  animation-duration: 2.6s;
  animation-delay: 0.1s;
}
.points_wrapper .point:nth-child(10) {
  left: 65%;
  opacity: 1;
  animation-duration: 2.5s;
  animation-delay: 0.2s;
}

.inner {
  z-index: 2;
  gap: 6px;
  position: relative;
  width: 100%;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease-in-out;
}

.inner a {
  z-index: 2;
  gap: 6px;
  position: relative;
  width: 100%;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease-in-out;
}

.inner svg.icon {
  width: 18px;
  height: 18px;
  transition: fill 0.1s linear;
}

.button:focus svg.icon {
  fill: white;
}
.button:hover svg.icon {
  fill: transparent;
  animation:
    dasharray 1s linear forwards,
    filled 0.1s linear forwards 0.95s;
}
@keyframes dasharray {
  from {
    stroke-dasharray: 0 0 0 0;
  }
  to {
    stroke-dasharray: 68 68 0 0;
  }
}
@keyframes filled {
  to {
    fill: white;
  }
}
/* Кнопка и ее стили - End */

/* button-secondary.css */
/* ===================== */
/* Кнопка Secondary - START */
.button__secondary {
  appearance: none;
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: clamp(0.75rem, 1.5vw, 0.8125rem);
  min-inline-size: fit-content;
  background-color: transparent;
  border: max(1px, 0.1em) solid var(--primary, #00ff59);
  border-radius: clamp(0.5rem, 1.2vw, 0.625rem);
  font-family: var(--fir, system-ui, -apple-system, sans-serif);
  font-weight: var(--light, 300);
  color: var(--primary, #00ff73);
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.button__secondary:hover,
.button__secondary:focus-visible {
  background-color: color-mix(in srgb, var(--primary, #00ff80) 8%, transparent);
  transform: translateY(-1px);
  outline: 2px solid color-mix(in srgb, var(--primary, #00ff7b) 40%, transparent);
}

.button__secondary:active {
  transform: translateY(0);
  background-color: color-mix(in srgb, var(--primary, #00ff7b) 15%, transparent);
}

.button__secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  border-color: color-mix(in srgb, var(--primary, #00ff7b) 50%, transparent);
  color: color-mix(in srgb, var(--primary, #00ff66) 50%, transparent);
}
/* Кнопка Secondary - END */
/* ===================== */

/* offers-style.css */

        .offers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .offer-card {
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: space-between; 
        }

        .offer-card-content {
            flex-grow: 1;
        }

        .offer-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }

        .offer-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f5f5f5;
        }

        .offer-logo-placeholder {
            width: 50px;
            height: 50px;
            background-color: #e6f7ff;
            border: 1px solid #b3e0ff;
            border-radius: 50%;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: bold;
            color: var(--primary, #007bff);
            flex-shrink: 0;
        }

        .offer-title {
            font-size: clamp(0.9rem, 1.5vw, 1.1rem);
            margin: 0;
            color: #333;
        }

        .offer-description {
            font-style: italic;
            color: #6c757d;
            margin-top: -5px;
            margin-bottom: 15px;
            font-family: var(--fir)
        }

        .offer-details {
            list-style: none;
            padding: 0;
            margin: 0 0 20px 0;
        }

        .offer-details li {
            margin-bottom: 10px;
            font-size: 0.95em;
            display: flex;
            justify-content: space-between;
            padding-bottom: 5px;
            border-bottom: 1px dotted #f0f0f0;
        }

        .offer-details strong {
            font-weight: 600;
            color: #343a40;
            font-family: var(--fir)
        }
        
        .detail-value {
            color: var(--primary, #007bff);
            font-weight: bold;
        }

        .offer-btn {
            --h-button: 48px;
            --w-button: 102px;
            --round: 0.75rem;
            cursor: pointer;
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            transition: all 0.25s ease;
            background: radial-gradient(
                65.28% 65.28% at 50% 100%,
                rgba(0, 238, 163, 0.8) 0%,
                rgba(0, 111, 238, 0) 100%
            ),
            linear-gradient(0deg, var(--primary), var(--primary));
            border-radius: var(--round);
            border: none;
            outline: none;
            padding: 12px 18px;
            width: 100%; 
        }
        .offer-btn::before,
        .offer-btn::after {
            content: "";
            position: absolute;
            inset: var(--space);
            transition: all 0.5s ease-in-out;
            border-radius: calc(var(--round) - var(--space));
            z-index: 0;
        }
        .offer-btn::before {
            --space: 1px;
            background: linear-gradient(
                177.95deg,
                rgba(255, 255, 255, 0.19) 0%,
                rgba(255, 255, 255, 0) 100%
            );
        }
        .offer-btn::after {
            --space: 2px;
            background: radial-gradient(
                65.28% 65.28% at 50% 100%,
                rgba(0, 238, 178, 0.8) 0%,
                rgba(0, 111, 238, 0) 100%
            ),
            linear-gradient(0deg, var(--primary), var(--primary));
        }
        .offer-btn:active {
            transform: scale(0.95);
        }
        
        .offer-btn-fold { 
            z-index: 1;
            position: absolute;
            top: 0;
            right: 0;
            height: 1rem;
            width: 1rem;
            display: inline-block;
            transition: all 0.5s ease-in-out;
            background: radial-gradient(
                100% 75% at 55%,
                rgba(0, 238, 135, 0.8) 0%,
                rgba(0, 111, 238, 0) 100%
            );
            box-shadow: 0 0 3px black;
            border-bottom-left-radius: 0.5rem;
            border-top-right-radius: var(--round);
        }
        .offer-btn-fold::after { 
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 150%;
            height: 150%;
            transform: rotate(45deg) translateX(0%) translateY(-18px);
            background-color: #e8e8e8;
            pointer-events: none;
        }
        .offer-btn:hover .offer-btn-fold { 
            margin-top: -1rem;
            margin-right: -1rem;
        }

        .offer-btn-points_wrapper { 
            overflow: hidden;
            width: 100%;
            height: 100%;
            pointer-events: none;
            position: absolute;
            z-index: 1;
        }
        .offer-btn-points_wrapper .offer-btn-point { 
            bottom: -10px;
            position: absolute;
            animation: floating-points infinite ease-in-out;
            pointer-events: none;
            width: 2px;
            height: 2px;
            background-color: #fff;
            border-radius: 9999px;
        }
        @keyframes floating-points {
            0% { transform: translateY(0); }
            85% { opacity: 0; }
            100% { transform: translateY(-55px); opacity: 0; }
        }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(1) { left: 10%; opacity: 1; animation-duration: 2.35s; animation-delay: 0.2s; }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(2) { left: 30%; opacity: 0.7; animation-duration: 2.5s; animation-delay: 0.5s; }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(3) { left: 25%; opacity: 0.8; animation-duration: 2.2s; animation-delay: 0.1s; }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(4) { left: 44%; opacity: 0.6; animation-duration: 2.05s; }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(5) { left: 50%; opacity: 1; animation-duration: 1.9s; }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(6) { left: 75%; opacity: 0.5; animation-duration: 1.5s; animation-delay: 1.5s; }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(7) { left: 88%; opacity: 0.9; animation-duration: 2.2s; animation-delay: 0.2s; }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(8) { left: 58%; opacity: 0.8; animation-duration: 2.25s; animation-delay: 0.2s; }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(9) { left: 98%; opacity: 0.6; animation-duration: 2.6s; animation-delay: 0.1s; }
        .offer-btn-points_wrapper .offer-btn-point:nth-child(10) { left: 65%; opacity: 1; animation-duration: 2.5s; animation-delay: 0.2s; }

        .offer-btn-inner { 
            z-index: 2;
            gap: 6px;
            position: relative;
            width: 100%;
            color: white;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 500;
            line-height: 1.5;
            transition: color 0.2s ease-in-out;
        }

        .offer-btn-inner a { 
            z-index: 2;
            gap: 6px;
            position: relative;
            width: 100%;
            color: white;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 500;
            line-height: 1.5;
            transition: color 0.2s ease-in-out;
        }

        .offer-btn-inner svg.icon {
            width: 18px;
            height: 18px;
            transition: fill 0.1s linear;
        }

        .offer-btn:focus svg.icon {
            fill: white;
        }
        .offer-btn:hover svg.icon {
            fill: transparent;
            animation:
                dasharray 1s linear forwards,
                filled 0.1s linear forwards 0.95s;
        }
        @keyframes dasharray {
            from { stroke-dasharray: 0 0 0 0; }
            to { stroke-dasharray: 68 68 0 0; }
        }
        @keyframes filled {
            to { fill: white; }
        }


