/* =========================================================
   ERROR 404 PAGE — dark teal background with centered 404 content
   ========================================================= */

.big_block_home--error {
  background: #41545C;
  height: auto;
  min-height: 100vh;
}
.big_block_home--error > .container {
  padding: 0;
  height: auto;
  max-width: none;
}
/* Mega-menu logo override (logo1.svg is already dark) */
.big_block_home--error header .mega-menu .logo img { filter: none; }

/* Header on dark bg — keep white text (no buy override) */
.big_block_home--error header {
  position: relative;
  top: auto;
  z-index: 10;
  padding-top: 25px;
}

/* ----- 404 HERO content (centered) ----- */
.error_hero {
  background: #41545C;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 96px 96px;
  box-sizing: border-box;
}
.error_hero__inner {
  text-align: center;
  max-width: 1476px;
}
.error_hero__num {
  display: block;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 32px;
}
.error_hero__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0 auto 80px;
  max-width: 1476px;
}
.error_hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 0 96px;
  background: transparent;
  color: #FFFFFF;
  border: 1.6px solid #FFFFFF;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s;
  box-sizing: border-box;
}
.error_hero__btn:hover { background: #FFFFFF; color: #41545C; }

/* =========================================================
   ADAPTIVE — 1200px (Figma 1925: 1200x515)
   "404" 28px Felidae + title 50px Felidae uppercase + btn 16px Felidae ls 5%
   ========================================================= */
@media (max-width: 1200px) {
  .error_hero { padding: 48px 60px 64px; }
  .error_hero__num { font-size: 28px; line-height: 110%; margin-bottom: 24px; }
  .error_hero__title { font-size: 50px; line-height: 110%; margin-bottom: 56px; max-width: 807px; }
  .error_hero__btn { font-size: 16px; height: 50px; padding: 0 64px; line-height: 150%; }
}

/* =========================================================
   ADAPTIVE — 768px (Figma 1926: 768x590)
   "404" 35px Felidae + title 35px Felidae + btn 12px Felidae ls 2%
   ========================================================= */
@media (max-width: 768px) {
  .error_hero { padding: 40px 30px 56px; min-height: calc(100vh - 150px); }
  .error_hero__num { font-size: 35px; line-height: 110%; margin-bottom: 14px; }
  .error_hero__title { font-size: 35px; line-height: 110%; margin-bottom: 24px; max-width: 679px; }
  .error_hero__btn { font-size: 12px; height: 30px; padding: 0 24px; letter-spacing: 0.02em; }
}

/* =========================================================
   ADAPTIVE — 360px (Figma 404: 360x372)
   "404" 28px Felidae + title 28px Felidae 4 lines + btn 14px Felidae ls 5%
   ========================================================= */
@media (max-width: 360px) {
  .error_hero { padding: 24px 16px 32px; min-height: calc(100vh - 100px); }
  .error_hero__num { font-size: 28px; line-height: 110%; margin-bottom: 12px; }
  .error_hero__title { font-size: 28px; line-height: 110%; margin-bottom: 24px; max-width: 330px; }
  .error_hero__btn { font-size: 14px; height: 50px; padding: 0 24px; letter-spacing: 0.05em; line-height: 150%; }
}
