:root {
  --accent: #EF2525;
  --background: #1D1D1D;
  --primary: #FFF;
  --secondary: #383838;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'CoFo Peshka 75';
  src: url('/wp-content/themes/welt/assets/fonts/CoFoPeshka75-Bold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Formular';
  src: url('/wp-content/themes/welt/assets/fonts/Formular-Light.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  background-color: var(--background);
  color: var(--primary);
  font-family: "CoFo Peshka 75";
  font-size: 16px;
  margin: 0px;
}

h1 {
  color: var(--primary, #FFF);
  font-family: "CoFo Peshka 75";
  font-size: 150px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  margin-block-start: 0px;
  margin-block-end: 0px;
}

.hide {
  display: none;
}

.result {
  padding-top: 160px;
}

h2 {
  font-family: "CoFo Peshka 75";
  font-size: 100px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  margin-block-start: 0px;
  margin-block-end: 0px;
}

h3 {
  font-family: "CoFo Peshka 75";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  margin-block-start: 0px;
  margin-block-end: 0px;
}

p {
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin: 0px 0px !important;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.op06 {
  opacity: .6;
}

.txt1 {
  font-family: "Formular";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}
.txt2 {
  font-family: "Formular";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}
.txt3 {
  font-family: "Formular";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.button-txt-bg {
  font-family: "Formular";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}
.button-txt-sm {
  font-family: "Formular";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.nav-link {
  font-family: "Formular";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: var(--primary);
  text-decoration: none;
  transition: color 100ms ease;
}

.nav-link:hover {
  color: #BABABA;
}

.container {
  max-width: 1440px;
  padding-left: 50px;
  padding-right: 50px;
  margin-left: auto;
  margin-right: auto;
}

header {
  display: flex;
  max-width: 1440px;
  padding-left: 50px;
  padding-right: 50px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 24px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.hero {
  min-height: 657px;
  overflow: hidden;
}

.hero-wrap {
  position: relative;
  min-height: 657px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 21px;
}

.txt1.bottom {
  padding-top: 20px;
}

.hero-wrap h1 {
  text-align: right;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: flex-end;
  gap: 28px;
}

.button {
  font-family: Formular;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  display: flex;
  width: 400px;
  height: 78px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background-color: var(--accent);
  transition: background-color 100ms ease;
}

.button:hover {
  background-color: #E60C0C;
}

.mb-11 {
  margin-bottom: 26px;
}

.hero-bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: auto;
  right: auto;
  margin-top: 139px;
  margin-left: -50px;
  margin-right: -50px;
}

.spasibo-p h3 {
  margin-top: 40px;
}

.spasibo-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-direction: column;
  height: 66vh;
  padding-top: 64px;
}

.conditions {
  margin-top: 60px;
  padding-top: 60px;
}
.conditions-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
}

#city {
  display: none;
}

label {
color: rgba(255, 255, 255, 0.501);
font-family: Formular;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 140%;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: auto;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
margin-block-start: 0px;
margin-block-end: 0px;
text-decoration: none;
}

label a {
  color: var(--primary);
  font-size: 16px;
}
input[type="checkbox" i] {
  margin: 0 10px 0 0;
  height: 12px;
  cursor: pointer;
}


.d-none {
  display: none;
}

.conditions-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
}
.conditions-grid {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 40px;
  grid-template:
        "." / 1fr 1fr;
        "." / 1fr 1fr;
  grid-auto-columns: 1fr;
}

.thesis {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
}

.conditions-pic {
  width: 50%;
  height: 50%;
  object-fit: cover;
}

.about {
  margin-top: 47px;
  padding-top: 50px;
  overflow: hidden;
}

.about-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 578px;
}

.about-pic {
  position: absolute;
  object-fit: cover;
  height: 578px;
  z-index: -1;
}

.about-content {
  max-width: 646px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.center-txt {
  text-align: center;
}
.reg-form {
  margin-top: 90px;
  padding-top: 90px;
}


.faq {
  margin-top: 180px;
}

.head-wrap {
  display: grid;
  grid-template:
        "." / 1fr 1fr;
        "." / 1fr 1fr;
    gap: 20px;
}

.head-wrap h2 {
  grid-column-start: 2;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-wrapper {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 40px;
  grid-template:
        "." / 1fr 1fr;
        "." / 1fr 1fr;
  gap: 20px;
}

.result-wrap {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 40px;
  grid-template:
        "." / 1fr 1fr;
        "." / 1fr 1fr;
  gap: 20px;
}

.result-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}




.faq-item {
  max-height: 78px;
  overflow: hidden;
  transition: max-height 300ms ease;
  background-color: var(--secondary);
  display: flex;
  flex-direction: column;
}


.faq-item.active {
  max-height: 1000px; /* или больше, в зависимости от контента */
}

.faq-icon {
  transition: transform 300ms ease;
}

.faq-item.active .faq-icon{
  transform: rotate(45deg);
}


.faq-item-head {
  padding-top: 27px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 27px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor: pointer;
}

.faq-item-bottom {
  padding-top: 27px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 27px;
}

footer {
  margin-top: 111px;
  position: relative;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.address-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-self: stretch;
}

.address-info-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.address-info-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-buttons {
  display: grid;
  grid-template:
        "." / 1fr 1fr;
        "." / 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-button-privacy {
  display: flex;
  height: 78px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-left: 24px;
  padding-right: 24px;
  flex: 1 0 0;
  color: var(--primary, #FFF);
  font-family: Formular;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  text-align: center;
  background-color: var(--secondary);
  transition: background-color 150ms ease;
}
.footer-button-privacy:hover {
  background-color: #282828;
}

.footer-button-up {
  display: flex;
  height: 78px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  color: var(--primary, #FFF);
  font-family: Formular;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  background-color: var(--accent);
  transition: background-color 150ms ease;
}

.footer-button-up:hover {
  background-color: #E60C0C;
}

.footer-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.leaflet-popup-content-wrapper {
  border-radius: 0px !important;
}
.leaflet-popup-content {
    margin: 16px !important;
}

.text-popup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.map-popup-top a {
  color: var(--background) !important;
}
.popup-buttons {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.copy-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: 'Formular' !important;
  justify-content: center;
  gap: 6px;
  height: 56px;
  background-color: var(--secondary);
  color: var(--primary);
  cursor: pointer;
  transition: background-color 150ms ease;
}

.copy-button:hover {
  background-color: #282828;;
}

.map-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: 'Formular' !important;
  justify-content: center;
  height: 56px;
  background-color: var(--secondary);
  color: var(--primary) !important;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.map-button a {
  color: var(--primary) !important;
}

.map-button:hover {
  background-color: #282828;;
}

.leaflet-popup {
    margin-bottom: 37px !important;
}

.copy-feedback {
  position: absolute;
  top: 3px;
  left: 16px;
  color: green;
  display: none;
  font-size: 12px;
}
.map {
  position: relative;
  margin-top: 80px;
  padding-top: 80px;
}

.privacy-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.button.priv {
  width: 100%;
  margin-top: 24px;
}

.privacy {
  margin-bottom: 64px;
}

.privacy-grid {
  display: grid;
  grid-template:
        "." / 1fr 1fr;
        "." / 1fr 1fr;
  gap: 20px;
}

.map-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.reg-form-wrapper {
  display: grid;
  grid-template:
        "." / 1fr 1fr;
        "." / 1fr 1fr;
  gap: 20px;
}

form {
  display: flex;
  flex-direction: column;
}
select,
input {
  height: 78px;
  background-color: var(--secondary);
  padding-block: 0px;
  padding-inline: 0px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 0px;
  margin-bottom: 20px;
  border-width: 0px;
  border-style: none;
  color: var(--primary);
  font-family: Formular;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

select {
  cursor: pointer;
}

option {
  border-radius: 0;
}
option:hover {
  background-color: var(--background);
}


/* Полный сброс стилей для формы */
#giveawayForm,
#giveawayForm * {
  border: none;
  outline: none;
}

form button {
  display: flex;
  height: 78px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--primary, #FFF);
  font-family: Formular;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  background-color: var(--accent);
  transition: background-color 150ms ease;
  cursor: pointer;
  margin-bottom: 16px;
}

form button:hover {
  background-color: #E60C0C;
}

form p {
  color: rgba(255, 255, 255, 0.50);
  font-family: Formular;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

form a {
  color: var(--primary);
  text-decoration: underline;
  font-family: Formular;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.burger-button {
  display: none;
}

.m-menu {
  display: none;
}

@media screen and (max-width: 991px) {

.hero-wrap {
  gap: 318px;
}

.d-none {
  display: block;
}

.button {
  width: 305px;
}

.container {
  padding-left: 24px;
  padding-right: 24px;
}

.hero-bg {
  max-width: auto;
  margin-top: 286px;
  margin-left: 150px;
  margin-right: -350px;
}

.conditions-wrap {
  flex-direction: column;
  width: auto;
  position: relative;
  justify-content: space-between;
}

.conditions-grid {
  width: auto;
}

.conditions-pic {
  width: 100%;
}

.conditions-wrap h2 {
  display: block;
  position: absolute;
  margin-top: -36px;
  z-index: -2;
  align-self: center;
}

.conditions-content h2 {
  display: none;
}

.thesis {
  width: auto;
}

.conditions-content {
  width: auto;
  justify-content: flex-start;
}

header {
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 24px;
}

.nav {
  display: none;
}

.burger-button {
  display: block;
}

.m-menu {
  position:fixed;
  top: 0%;
  display: flex;
  right: 0%;
  left: 0%;
  bottom: 0%;
  z-index: 999;
  background-color: #1d1d1d7e;
  transform: translateY(-100%);
  transition: transform 300ms ease;
}

.m-menu.active {
  transform: translateY(0%);
}

.m-menu-wrap {
  background-color: var(--background);
  height: auto;
  width: 100%;
  align-self: self-start;
}

ul {
  list-style-type: none;
    margin: 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
}
li {
  display: flex;
  justify-content: end;
}

.reg-form-wrapper {
  display: flex;
  flex-direction: column;
}

.reg-form-wrapper h1 {
  text-align: center;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bg {
  width: 140vw;
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-button-privacy {
  height: auto;
  padding: 24px;
}

.footer-button-up {
  height: auto;
  padding: 24px;
}



.nav-link {
  font-family: "CoFo Peshka 75";
  font-size: 100px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  text-align: right;
  color: var(--primary);
  text-decoration: none;
  transition: color 100ms ease;
}

.head-wrap {
  display: flex;
  justify-content: flex-end;
}

.m-menu-top {
  margin: 24px 24px 40px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-wrap h1 {
  text-align: left;
}

}

@media screen and (max-width: 767px) {
h1 {
font-size: 64px;
text-align: center;
}

h2 {
  font-size: 54px;
  line-height: 100%;
}

.d-none {
  display: none;
}

h3 {
  font-size: 40px;
  line-height: 110%;
}

.txt1 {
  font-size: 16px;
  line-height: 140%;
}

header {
  padding-bottom: 24px;
}
.container {
  padding-left: 16px;
  padding-right: 16px;
}


.result-container h2 {
  text-align: center;
}

.hero-wrap h1 {
  text-align: center;
}

.logo-link img{
  height: 23px;
}

.m-menu-top {
  margin: 16px 16px 24px 16px;
}

.hero-wrap {
  align-items: center;
  gap: 24px;
  height: 70vh;
  min-height: 0;
}

.button {
  width: 100%;
}
.hero-bottom {
  align-items: center;
  flex-direction: column-reverse;
  /* gap: 357px; */
}
.hero-bg {
  margin-top: 236px;
  margin-bottom: 0px;
  max-width: 767px;
  margin-left: 0px;
  margin-right: -16px;
  bottom: 0%;
}

.nav-link {
  font-size: 54px;
  line-height: 100%;
  text-align: center;
}

ul {
  align-items: center;
}

.conditions-wrap {
    display: flex;
    flex-direction: column;
}

.footer-bg {
  width: 190vw;
}

.conditions-content {
  width: auto;
}

.conditions-wrap h2 {
  margin-top: -52px;
  text-align: center;
}

.conditions-grid {
  width: auto;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  grid-row-gap: 24px;
}

.about-wrap {
  height: auto;
}


.about-content {
  gap: 200px;
}

.about-pic {
  top: 50px;
  height: 188px;
  margin-top: 4px;
}

.address-info {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  align-items: center;
}

.address-info-left {
  text-align: center;
}

.address-info-right {
  text-align: center;
}

.footer-button-privacy {
  height: auto;
  padding: 16px;
}

.footer-button-up {
  height: auto;
  padding: 16px;
}

.reg-form {
  margin-top: 70px;
  padding-top: 70px;
}
}


//timer

.timer-content {
  top: auto;
  bottom: 0%;
  width: auto;
  left: 0%;
  right: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.timer-head {
  display: flex;
  padding: 12px 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: var(--accent);
  color: var(--primary, #FFF);
  font-family: "CoFo Peshka 75";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%; /* 44px */
}

.timer-wrap {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.number {
font-family: "CoFo Peshka 75";
color: var(--primary);
font-size: 56px;
font-style: normal;
font-weight: 700;
line-height: 110%; /* 61.6px */
}

.timer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50px;
}

.timer-sub {
color: var(--primary, #FFF);
font-family: Formular;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 110%;
opacity: .5;
}

.timer-row.colon {
width: auto;