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

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

.header {
    display: flex;
    flex-direction: column;
    background-color: #F9D557;
    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: #212121;
    text-align: center;
}

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

.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: #212121;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}

.menu a:hover 
{
    color: rgb(83, 69, 54);
    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;   
}

.offerplank:hover .offer {
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: 0.5s;
}

.offerplank {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 250px;
  max-width: 312px;
  width: 100%;
}

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

.offer * {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.plank {
    height: 0px;
}

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

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

.condition1 {
    background-color: #fff8e4;
    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 12px;
    background-color: #05C631;
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: 100px;
}

.offerbutton:hover {
    transition: 0.5s;
    transform: scale(105%);
}

.texts {
  font-size: 12px;
  text-align: center;
  margin-top: 20px;
  color: #94959A;
}

.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: #212121;
  display: block;
  border-radius: 2px;
}

/* Мобільне меню */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #F9D557;
  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: #212121;
  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: #F9D557;
      background-color: #212121;
      transition: 0.3s;
}
.mobile-menu a:last-child {
  border-bottom: none;
}


.close-menu {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  color: #212121;
  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: 32px 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;
}