@font-face {
    font-family: "Martian Mono";
    src: url(./MartianMono.ttf);
}

body {
    background-color: #FFF5EA;
    margin: 0;
    height: 100vh;
    font-family: "Martian Mono";
}
p {
    color: #1D1915;
    margin: 0;
}

.header {
    display: flex;
    flex-direction: column;
    background-color: #FC7A1E;
    padding-bottom: 24px;
    gap: 24px;
    justify-content: center;
    align-items: center;
        padding-left: 40px;
    padding-right: 40px;
}

.header p {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.upperheader {
    display: flex;
    width: 100%;
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ffffff;
}

.logomenu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;

}

.headerlogo {
    height: 72px;
    width: auto;
    flex-shrink: 0;
}

.headerlogo img{
    height: 100%;
    width: 100%;
}

.menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1096px;
    gap:36px;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}

.menu a:hover 
{
    color: #F9D2A5;
    transition: 0.3s;
    transform: scale(102%);
}

.main {
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 32px;
}

.main p {
    text-align: center;
    font-size: 28px;
    font-weight: 500;
}

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

  gap: 16px;
  max-width: 1320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;   
}

.offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 250px;
  max-width: 312px;
  width: 100%;
  background-color: #fff;
  gap: 20px;

  border: 2px solid transparent;
  background-image:
    linear-gradient(#fff, #fff), /* фон самої картки */
    linear-gradient(90deg, #FC7A1E, #FFE200, #B2FF00); /* обводка */
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.plank {
    height: 0px;
}

.offer img {
    height: 127px;
    width: 100%;
    object-fit: contain;
}

.conditions {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.condition1 {
    background-color: #FFF6EF;
    padding: 6px 20px;
    text-align: center;
}

.condition1 p {
font-size: 16px;
}

.condition2 {
    padding: 6px 20px;
    text-align: center;
}

.condition2 p {
font-size: 16px;
}

.condition1 a {
font-size: 16px;
color: #1D1915;
}

.condition2 a {
font-size: 16px;
color: #1D1915;
}

.offerbutton {
    display: flex;
    padding: 12px 8px;
    background-color: #FC7A1E;
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}

.offerbutton:hover {
    background-color: #fff;
    color: #FC7A1E;
    transition: 0.3s;
}

.footer {
    background-color: #1D1915;
    display: flex;
    padding: 60px 40px;
    align-items: center;
    justify-content: center;
}

.footer p {
    color:#fff;
}

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

.footerblocks {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: space-between;
}

.footerblock {
    width: 100%;
    max-width: 310px;
    display: flex;
    flex-direction: column;
    gap:24px;
}

.footerblock p {
    font-size: 24px;
    font-weight: 500;
}

.footerlinks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.footerlinks a{
    font-size: 18px;
}

.footerlinks p {
        font-size: 18px;
        font-weight: 400;
}

.text p{
    font-size: 18px;
    text-align: left;
}

.text b {
    font-size: 28px;
    text-align: left;
}

@media screen  and (max-width: 900px){ 
    .header {
    padding-left: 20px;
    padding-right: 20px;
}

.headerlogo {
    height: 60px;
    width: auto;
}

.upperheader {
    padding-top: 16px;
    padding-bottom: 16px;
}

.menu {
    display: none;
}

.main {
    padding: 20px;
    gap: 20px;
}

.main p {
    font-size: 24px;
}

.offers {
  display: grid;

    align-items: start;
}

.offer {
  min-width: 200px;
  max-width: 400px;
}

.offer img {
    max-width: 272px;
}

.condition1 {
    padding: 8px 20px;
}

.condition1 p {
font-size: 20px;
}

.condition2 {
    padding: 8px 20px;
}

.condition2 p {
font-size: 20px;
}

.condition1 a {
font-size: 20px;
}

.condition2 a {
font-size: 20px;
}

.offerbutton {
    padding: 16px 12px;
    font-size: 22px;
}

.footer {
    padding: 36px 20px;
}

.footerblocks {
    gap: 36px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footerblock {
    max-width: 420px;
    gap:20px;
}

.text p{
    font-size: 16px;
}

.text b {
    font-size: 24px;
}

}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  display: block;
  border-radius: 2px;
}

/* Мобільне меню */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #FC7A1E;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  text-align: center;
}

.mobile-menu a:hover {
      color: #FC7A1E;
      background-color: #fff;
      transition: 0.3s;
}
.mobile-menu a:last-child {
  border-bottom: none;
}


.close-menu {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}


@media screen and (max-width: 900px) {
  .burger {
    display: flex;
  }

  .menu {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }
}

@media screen and (max-width: 600px) {
.offers {  
  place-items: center;
}
}







.topbar {
  background-color: #FFF5EA;
  color: #212121;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 6px 12px;
  flex-wrap: wrap;
}

.topbar span {
  white-space: nowrap;
}

@media screen and (max-width: 900px) {
  .topbar {
    font-size: 12px;
    gap: 12px;
    text-align: center;
  }
  .topbar span {
    white-space: normal;
  }
}


.description {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #1D1915;
}

.description p {
  margin: 8px 0;
}

.description em {
  color: #FC7A1E;
  font-style: normal;
  font-weight: 500;
}



.platform-advantages {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 40px;
  text-align: left;
  background-color: #fff;
  border: 1px solid #F9D2A5;
  border-radius: 12px;
}

.platform-advantages h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1D1915;
  text-align: center;
}

.platform-advantages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-advantages li {
  font-size: 16px;
  line-height: 1.4;
  color: #1D1915;
}


.reviews {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1D1915;
}

.review {
  background: #fff;
  border: 1px solid #F9D2A5;
  border-radius: 12px;
  padding: 16px;
}

.review p {
  font-size: 16px;
  margin: 6px 0;
}


.disclaimer {
  width: 100%;
  max-width: 1320px;
  margin:0;
  border-top: 1px solid rgba(255,255,255,0.3);
}

.disclaimer h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}

.disclaimer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disclaimer li {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

h4 {
    margin-top: 0;
}

.calculator {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid #F9D2A5;
  border-radius: 16px;
  text-align: center;
}

.calculator h2 {
  font-size: 20px!important;
  margin-bottom: 8px;
  text-align: center;
}

.calc-sub {
  font-size: 16px!important;
  margin-bottom: 20px;
  color: #1D1915;
}

.calc-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.calc-head strong {
  font-size: 22px;
  color: #FC7A1E;
}

.calculator input[type="range"] {
  width: 100%;
}

.calc-limits {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
}

@media (max-width: 600px) {
  .calc-head {
    flex-direction: column;
    gap: 8px;
  }
}

.how-to {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.how-to h2 {
  font-size: 26px;
  margin-bottom: 32px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-card {
  background: #fff;
  border: 1px solid #F9D2A5;
  border-radius: 16px;
  padding: 24px;
}

.how-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.how-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.how-card p {
  font-size: 15px;
}

@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

.why-foxic {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.why-foxic h2 {
  font-size: 26px;
  margin-bottom: 32px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-item {
  background: #fff;
  border: 1px solid #F9D2A5;
  border-radius: 14px;
  padding: 20px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.faq {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.faq-item {
  border: 1px solid #F9D2A5;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px;
  background: #fff;
  border: none;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  background: #FFF6EF;
}

.faq-answer p {
  padding: 16px;
  font-size: 15px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.legal {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 14px;
  line-height: 1.5;
}

.legal p {
  font-size: 14px;
}

.legal h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FC7A1E;
  color: #fff;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  transform: translateY(100%);
  transition: 0.3s;
  z-index: 999;
}

.sticky-cta.show {
  transform: translateY(0);
}

.sticky-cta button {
  background: #fff;
  color: #FC7A1E;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 600px) {
  .sticky-cta {
    flex-direction: column;
    text-align: center;
  }
}


.calc-btn {
  margin-top: 16px;
  background-color: #FC7A1E;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
}

.calc-btn:hover {
  background-color: #fff;
  color: #FC7A1E;
  border: 1px solid #FC7A1E;
  transition: 0.3s;
}

.calculator {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 28px;
  background: #ffffff;
  border: 1px solid #F9D2A5;
  border-radius: 18px;
  text-align: left;
}

/* Заголовок */
.calculator h2 {
  font-size: 26px;
  font-weight: 600;
  color: #1D1915;
  margin-bottom: 10px;
}

/* Опис під заголовком */
.calc-sub {
  font-size: 15px;
  line-height: 1.5;
  color: #5a534d;
  margin-bottom: 16px;
  max-width: 720px;
}

/* Контейнер */
.calc-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Рядок "Сума кредиту — ХХ грн" */
.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: #5a534d;
}

.calc-head span {
  font-weight: 500;
  letter-spacing: 0.2px;
}

.calc-head strong {
  font-size: 24px;
  font-weight: 600;
  color: #FC7A1E;
}

/* Range */
.calculator input[type="range"] {
  width: 100%;
  margin-top: 4px;
}

/* Мін / макс */
.calc-limits {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #8b8178;
}

/* Кнопка */
.calc-btn {
  margin-top: 10px;
  background-color: #FC7A1E;
  color: #ffffff;
  border: none;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  align-self: flex-start;
}

.calc-btn:hover {
  background-color: #ffffff;
  color: #FC7A1E;
  border: 1px solid #FC7A1E;
  transition: 0.25s;
}

/* Мобілка */
@media (max-width: 900px) {
  .calculator {
    padding: 28px 20px;
    text-align: center;
  }

  .calc-sub {
    margin-left: auto;
    margin-right: auto;
      font-size: 18px!important;
  }


  .calc-head {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }

  .calc-btn {
    width: 100%;
    align-self: stretch;
  }
}


.sticky-cta {
  pointer-events: auto !important;
  z-index: 99999 !important;
}