:root {
  --bg: #0f1014;
  --text: #171717;
  --muted: #232323;
  --accent: #ffcc00;
  --accent2: #e53935;
  --dark: #151515;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(0, 0, 0, .18);
  --headerH: 0px;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url("s/roboto/v51/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbWmT.ttf") format("truetype");
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url("s/roboto/v51/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuYjammT.ttf") format("truetype");
}

@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("s/lobster/v32/neILzCirqoswsqX9_oU.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text);
  background: #111111 url("image/fon.webp") center / 520px auto fixed;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.page {
  width: min(1600px, 100%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  background: #222327;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: #222327;
}

.topbar {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(14px, 3vw, 36px);
  transition: min-height .22s ease, padding .22s ease, gap .22s ease;
}

.site-header.is-scrolled .topbar {
  min-height: 64px;
  padding-top: 7px;
  padding-bottom: 7px;
  gap: 14px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: clamp(86px, 12vw, 150px);
  display: block;
  transition: width .22s ease;
}

.site-header.is-scrolled .logo img {
  width: 58px;
}

.hero-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hero-title h1 {
  margin: 0;
  color: var(--accent);
  font-family: 'Lobster', cursive;
  font-weight: 900;
  letter-spacing: 1.2px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.04;
  transition: font-size .22s ease;
}

.site-header.is-scrolled .hero-title h1 {
  font-size: clamp(22px, 2.4vw, 34px);
}

.hero-title p {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: clamp(14px, 1.4vw, 15px);
  font-weight: 700;
  transition: opacity .18s ease, max-height .22s ease, margin .22s ease;
}

.site-header.is-scrolled .hero-title p {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  color: #111111;
  font-size: 16px;
  font-family: 'Roboto';
  background: var(--accent);
  white-space: nowrap;
}

.action-btn.secondary:hover {
  background-color: var(--accent);
  color: #111111;
}

.burger:hover,
.burger.active:hover {
  background: #ffffff;
  color: #111111;
}

.action-btn.secondary {
  background: #ffffff;
  color: #111111;
}

.burger {
  flex: 0 0 auto;
  padding: 8px 12px;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #000000;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Roboto';
}

.btnmax {
  background-image: linear-gradient(135deg, #4171FD 0%, #A04BDE 100%) !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.btnmaxfooter {
  background-image: linear-gradient(135deg, #4171FD 0%, #A04BDE 100%) !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-decoration: none !important;
  margin-top: 7px;
}

.menu-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--headerH);
  bottom: 0;
  display: block;
  background: #111111;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 998;
}

body.menu-open .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.navigation {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--headerH);
  z-index: 1002;
  width: 100%;
  max-height: calc(100dvh - var(--headerH));
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 18px clamp(14px, 3vw, 36px) 22px;
  background: rgba(18, 18, 18, .985);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 45px rgba(0, 0, 0, .48);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  scrollbar-width: thin;
}

.navigation.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navigation a,
.navigation button {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  border-radius: 14px;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: .2s;
}

.navigation a:hover,
.navigation button:hover {
  background: var(--accent);
  color: #111111;
}

.mobile-menu-extra {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 12px;
}

.title {
  scroll-margin-top: calc(var(--headerH) + 14px);
}

.title h2 {
  margin: 38px auto 18px;
  padding: 0 16px;
  color: var(--accent);
  font-family: 'Lobster', cursive;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  text-align: center;
}

.menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto 22px;
}

.menu-item {
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #fafafa);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform .18s, box-shadow .18s;
}

.menu-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .25);
}

.menu-item h3 {
  margin: 0 0 10px;
  color: #111111;
  font-size: 20px;
  line-height: 1.15;
}

.menu-item img {
  display: block;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 12px !important;
  border-radius: 14px !important;
  background: #eeeeee;
  cursor: zoom-in;
}

.menu-item p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.menu-item p:nth-last-child(-n+3) {
  color: #222222;
  font-weight: 800;
}

.contacts-section {
  width: min(1320px, calc(100% - 32px));
  margin: 46px auto 0;
  padding: clamp(18px, 3vw, 34px);
  background: rgba(255, 255, 255, .96);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contacts-section h3 {
  margin: 0 0 18px;
  color: #111;
  font-family: 'Lobster', cursive;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  text-align: left;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card {
  padding: 18px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 18px;
}

.contact-card h4 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 20px;
}

.contact-card p {
  margin: 7px 0;
  color: #444444;
}

.map-box {
  width: 100%;
  min-height: 320px;
  margin-top: 18px;
  padding: 0;
  display: block;
  overflow: hidden;
  background: #f1f1f1;
  border-radius: 18px;
}

.map-box iframe {
  width: 100%;
  height: 470px;
  display: block;
  border: 0;
}

.site-footer {
  width: min(1320px, calc(100% - 32px));
  margin: 18px auto 36px;
  color: #ffffff;
  text-align: center;
}

.banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: rgba(0, 0, 0, .55);
}

.banner.hidden {
  display: none;
}

.banner-content {
  width: 100%;
  max-width: 720px;
  padding: 16px;
  background: #ffffff;
  border-radius: 18px;
  text-align: center;
}

.banner-content img {
  border-radius: 12px;
}

.banner-content button,
#scrollToTopBtn {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
}

#scrollToTopBtn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: none;
  padding: 10px 14px;
  background: var(--accent2);
  color: rgb(255, 255, 255);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, .88);
  touch-action: none;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 88dvh;
  object-fit: contain;
  border-radius: 16px;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);

}


.lightbox-close {
  position: fixed;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1200px) and (min-width: 761px) {
  .menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.no-scroll {
    overflow: hidden;
    touch-action: none;
  }

  .topbar,
  .site-header.is-scrolled .topbar {
    min-height: 62px;
    padding: 5px 10px;
    gap: 10px;
  }

  .logo img,
  .site-header.is-scrolled .logo img {
    width: 64px;
  }

  .hero-title h1,
  .site-header.is-scrolled .hero-title h1 {
    font-size: clamp(19px, 5.3vw, 25px);
    line-height: 1.05;
  }

  .hero-title p {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .burger {
    padding: 0px 5px;
    margin-left: auto;
    font-size: 13px;
    border-radius: 8px;
    min-height: 27px;
  }

  .menu-backdrop {
    background: rgba(0, 0, 0, .58);
  }

  .navigation {
    left: 10px;
    right: 10px;
    top: calc(var(--headerH) + 8px);
    width: auto;
    max-height: calc(100dvh - var(--headerH) - 18px);
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .5);
  }

  .navigation a,
  .navigation button {
    width: 100%;
    min-height: 33px;
    padding: 7px 10px;
    text-align: left;
    white-space: normal;
    border-radius: 12px;
    font-size: 15px;
  }

  .mobile-menu-extra {
    display: grid;
    grid-column: 1 / -1;
    gap: 10px;
    margin-top: 6px;
  }

  .mobile-menu-extra .action-btn {
    width: 100%;
    min-height: 48px;
  }

  .title h2 {
    margin: 28px auto 14px;
  }

  .menu {
    width: calc(100% - 20px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .menu-item {
    padding: 10px;
    border-radius: 16px;
  }

  .menu-item h3 {
    min-height: 38px;
    display: flex;
    align-items: center;
    font-size: 16px;
  }

  .menu-item p {
    font-size: 13px;
  }

  .contacts-section {
    width: calc(100% - 20px);
    margin-top: 34px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  #scrollToTopBtn {
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
    font-size: 14px;
  }
}

/* Кнопка Контакты */
.mobile-contact-btn {
  display: none;
}

@media (max-width: 760px) {

  .mobile-contact-btn {
    display: block;
    padding: 10px 10px 0;
  }

  .mobile-contact-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 35px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: #ffcc00;
    color: #000000;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  }

}

@media (max-width: 760px) {
  body {
    background-size: 360px auto;
  }

  .topbar,
  .site-header.is-scrolled .topbar {
    min-height: 40px;
  }

  .logo img,
  .site-header.is-scrolled .logo img {
    width: 35px;
  }

  .hero-title h1,
  .site-header.is-scrolled .hero-title h1 {
    font-size: 19px;
  }

  .menu {
    width: calc(100% - 14px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .menu-item {
    padding: 8px;
    border-radius: 14px;
  }

  .menu-item img {
    margin-bottom: 8px !important;
    border-radius: 11px !important;
  }

  .menu-item h3 {
    min-height: 32px;
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.15;
  }

  .menu-item p {
    margin: 4px 0;
    font-size: 12px;
    line-height: 1.3;
  }

  .title h2 {
    padding: 0 8px;
    font-size: 25px;
  }

  .contacts-section {
    width: calc(100% - 14px);
    padding: 14px;
    border-radius: 18px;
  }

  .contact-card {
    padding: 14px;
  }

}

.itmbot-link {
  color: #ffffff;
  text-decoration: none;
}

.itmbot-link:hover {
  color: #ffcc00 !important;
  text-decoration: underline;
}

/* Адаптация шапки */
@media (max-width: 1350px) and (min-width: 901px) {
  .topbar {
    min-height: 78px;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .logo img {
    width: 82px;
  }

  .hero-title h1 {
    font-size: clamp(30px, 3.3vw, 44px);
  }

  .hero-title p {
    font-size: 14px;
  }

  .header-actions .btnmax {
    display: none;
  }

  .action-btn,
  .burger {
    font-size: 14px;
    min-height: 38px;
    padding: 8px 12px;
  }
}