* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === NEW THEME TOKENS (yellow-green palette) === */
:root{
  --bg-overlay: #12120bcc;        /* overlay */
  --panel: rgba(35,40,18,0.55);   /* translucent olive panels */
  --panel-strong: rgba(35,40,18,0.72);

  --text: #ffffff;
  --muted: #d7dfb9;

  --brand: #b5d915;               /* основной жёлто-зелёный */
  --brand-hover: #9cbf12;
  --brand-shadow: #6d8210;

  --accent: #f2c94c;              /* золотистый для акцентов */
  --accent-muted: #d4a72f;

  --warn: #ffeb3b;                /* ярко-жёлтый для предупреждений */
  --warn-hover: #fff176;

  --field-bg: rgba(255,255,255,0.08);
  --field-border: rgba(255,255,255,0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background: url(../img/banner.webp) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  font-family: Hind, sans-serif !important;
  line-height: 1.6;
}

ul, ol { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

h1 {
  margin: 0 0 16px 0;
  font-size: 51px;
  text-align: center;
  line-height: 60px;
  color: var(--brand);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #0f1730;
  color: var(--text);
  padding: 15px 20px;
  font-size: 14px;
  z-index: 1000;
  display: none;
}

.cookie-popup__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cookie-popup__text { flex: 1 1 70%; margin: 0; }

.cookie-popup__text a {
  color: var(--brand);
  text-decoration: underline;
}

.cookie-popup__btn {
  background: var(--brand);
  color: var(--text);
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.cookie-popup__btn:hover { background: var(--brand-hover); }

.overlay {
  background: #12120b96;
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  z-index: -1;
  width: 100%; height: 100%;
}

.container {
  max-width: 1156px;
  width: 100%;
  margin: 0 auto 58px auto;
}

header {
  text-align: center;
  width: 100%;
  padding: 0 21px;   
}

.header-text {
  color: var(--text) !important;
  font-weight: 500;
  line-height: 28px;
  padding: 5px;
  letter-spacing: .2px;
  font-size: 16px;
  margin: 0 !important;
  word-spacing: 1px;  
}

.logo {
  max-width: 240px;
  width: 100%;
  padding: 36px 0 0 0;
}

main {}

.hero {
  height: 252px;
  display: flex;
  align-items: center;
  color: var(--text);
  margin: 11px 0 0 0;
  padding: 0 21px;
}

.hero__info {}
.hero__info p { text-align: center; color: var(--muted); }
.hero__info-adv { text-align: center; }

.content__table {
  color: var(--text);
  padding: 0 21px;
}

.content__table-block {
  background: var(--panel);
  color: var(--text);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin: 0 0 27px 0;
  padding: 14px 0;
  border-radius: 9px;
}

.content__table-block--one {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 865px;
  width: 100%;
  padding: 21px;
}

.content__table-block--button {
  text-align: center;
  background: var(--brand);
  box-shadow: 0px 2px 5px var(--brand-shadow);
  border-radius: 4px;
  padding: 9px 22px;
  width: 225px;
  height: 45px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 auto;
}

.content__table-block--logo { width: 186px; margin-right: 41px; }

.content__table-block--name {}

.content__table-block--price {
  color: var(--accent);
  font-style: oblique;
}

.content__table-block--tours {
  color: var(--text);
  font-weight: bold;
  font-size: 19px;  
}

.content__table-block--two {
  max-width: 278px;
  width: 100%;
  padding: 7px 21px 21px 21px;   
}

.content__table-block--rating { text-align: center; }
.content__table-block--number { font-size: 32px; color: var(--accent); }
.content__table-block--votes { color: var(--muted); }

.content__table-block--stars { width: 110px; height: 28px; }
.content__table-block--star {}

.content__table-block--visit {
  display: flex;
  flex-direction: column;
  padding-top: 15px;
  justify-content: space-between;
  height: 106px;
}

.content__table-block--ok {
  text-align: center;
  margin-top: 15px;
  color: var(--muted);
}

.content__table-block--ok:before {
  content: url(../img/verify.png);
  margin-right: 7px;
  position: relative;
  top: 2px;
}

.text {
  padding: 25px 21px 60px 21px;
  text-align: center;
}

.text h3 {
  font-size: 25px;
  font-weight: 700;
  color: var(--text);
  margin-top: 25px;
  word-spacing: 1px;
}

.text p {
  color: var(--muted);
  line-height: 22px;
  font-size: 16px;
}

.text-block {
  background: var(--panel-strong);
  padding: 71px 21px;
  color: var(--text);
}

.text-block h2 { margin: 21px 0 14px 0; }
.text-block h3 { margin: 21px 0 14px 0; }
.text-block p { margin: 21px 0 14px 0; color: var(--muted); }

footer {
  color: var(--text);
  padding: 43px 21px 28px 21px;
  background: var(--panel);
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
}

.footer-logos__block {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-links__img--18 { width: 93px; height: 90px; }
.logos-links__img--gamcare { width: 169px; height: 69px; }
.logos-links__img--aware { width: 214px; }
.logos-links__img--best { width: 136px; height: 58px; }
.logos-links__img--anj { width: 48px; height: 43px; }
.logos-links__img--ssl { width: 136px; height: 76px; }

.footer-info { text-align: center; }
.footer-info p { margin-bottom: 32px; color: var(--muted); }

.footer-menu {}
.footer-menu__links {
  display: flex;
  justify-content: space-between;
  max-width: 971px;
  width: 100%;
  margin: 0 auto;
  text-decoration: underline;
  color: var(--text);
}

.footer-copyright {
  margin: 41px auto;
  text-align: center;
  color: var(--muted);
}

/* Contact */
.contact-block {
  padding: 112px 20px;
  display: flex;
  justify-content: center;
}

.contact-form {
  max-width: 600px;
  width: 100%;
  background: var(--panel);
  padding: 30px;
  border-radius: 10px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form__title {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: var(--text);
}

.contact-form__input,
.contact-form__textarea {
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  padding: 12px;
  border-radius: 5px;
  color: var(--text);
  font-size: 14px;
  width: 100%;
}

.contact-form__textarea { resize: vertical; min-height: 100px; }

.contact-form__btn {
  background: var(--brand);
  color: var(--text);
  text-transform: uppercase;
  border: none;
  padding: 12px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px var(--brand-shadow);
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s;
}

.contact-form__btn:hover { background: var(--brand-hover); }

.contact-form__success {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background-color: var(--accent);
  color: var(--text);
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
}

/* Media */
@media (max-width: 1209px) {
  .hero { margin: 49px 0; }
}

@media (max-width: 985px) {
  .footer-menu__links { flex-direction: column; text-align: center; }
  .footer-menu__links span { display: none; }

  h1,
  .hero__info p,
  .footer-info,
  .text h3,
  .text p { text-align: center; }
}

@media (max-width: 909px) {
  .content__table-block { flex-direction: column; }
  .content__table-block--one {
    flex-direction: column;
    margin: 0 auto;
    text-align: center;  
  }
  .content__table-block--two { margin: 0 auto; }
  .content__table-block--name { margin-top: 14px; }
}

@media (max-width: 725px) {
  .hero { margin: 72px 0 21px 0; height: auto; }
}

@media (max-width: 705px) {
  .content__table-block { flex-direction: column; }
  .content__table { padding: 0 21px 43px 21px; }
  .content__table-block--one,
  .content__table-block--two {
    margin: 0 auto;
    max-width: 462px;
  }
}

@media (max-width: 686px) {}

@media (max-width: 600px) {
  .footer-logos { justify-content: center; }
  .cookie-popup__content { flex-direction: column; align-items: flex-start; }
  .cookie-popup__btn { width: 100%; }
  .contact-form { padding: 20px; }
}

@media (max-width: 537px) {
  .content__table-block {
    justify-content: space-between;
    margin: 0 0 27px 0; 
  } 
}

@media (max-width: 460px) {
  .content__table-block { justify-content: space-between; }
}
