/* ===========================
   GlacierHook Outfitters
   Global styles (all pages)
   Dark ice design
   =========================== */

/* Reset & base --------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
}

/* Typography ------------------------------------------------------ */

/* Local fonts from Google Fonts (TTF in /fonts) */
@font-face {
  font-family: "GH-Display";
  src: url("../fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GH-Display";
  src: url("../fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GH-Body";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GH-Body";
  src: url("../fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --gh-font-display: "GH-Display", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --gh-font-body: "GH-Body", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  /* Dark ice palette */
  --gh-color-bg: #050816;
  --gh-color-bg-elevated: #0b1222;
  --gh-color-bg-deep: #000814;
  --gh-color-bg-glass: rgba(5, 18, 40, 0.78);

  --gh-color-ice-soft: #b4e3ff;
  --gh-color-ice-bright: #7ee0ff;
  --gh-color-ice-line: #4fd5ff;

  --gh-color-ink-main: #e6f0ff;
  --gh-color-ink-soft: #c0d0ef;
  --gh-color-ink-muted: #7b8fab;

  --gh-color-accent: #34bfff;
  --gh-color-accent-soft: #7bd5ff;
  --gh-color-accent-strong: #00a1ff;

  --gh-color-signal: #4df9ff;
  --gh-color-warning: #ffd878;

  --gh-radius-lg: 1.75rem;
  --gh-radius-md: 1rem;
  --gh-radius-sm: 0.5rem;
  --gh-radius-pill: 999px;

  --gh-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.72);
  --gh-shadow-subtle: 0 8px 20px rgba(0, 0, 0, 0.65);

  --gh-shell-width: 1120px;
  --gh-shell-padding: 1.5rem;

  --gh-header-height: 4.5rem;

  --gh-transition-fast: 150ms ease-out;
  --gh-transition-normal: 220ms ease-out;
  --gh-transition-slow: 360ms ease-out;
}

.gh-body {
  font-family: var(--gh-font-body);
  color: var(--gh-color-ink-main);
  background:
    radial-gradient(circle at 0% 0%, #19243f 0, transparent 55%),
    radial-gradient(circle at 100% 10%, #20365f 0, transparent 55%),
    radial-gradient(circle at 50% 100%, #050816 0, #020412 55%, #00010a 100%);
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers -------------------------------------------------- */

.gh-shell {
  width: 100%;
  max-width: var(--gh-shell-width);
  margin-inline: auto;
  padding-inline: var(--gh-shell-padding);
}

.gh-main {
  padding-top: calc(var(--gh-header-height) + 1.75rem);
}

/* Sections -------------------------------------------------------- */

.gh-section {
  position: relative;
  padding-block: 4.5rem;
}

.gh-section-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gh-color-ink-muted);
  margin: 0 0 0.75rem;
}

/* Buttons --------------------------------------------------------- */

.gh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--gh-radius-pill);
  border: 1px solid transparent;
  font-family: var(--gh-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--gh-transition-normal),
    color var(--gh-transition-normal),
    box-shadow var(--gh-transition-normal),
    transform var(--gh-transition-fast),
    border-color var(--gh-transition-normal);
  white-space: nowrap;
}

.gh-btn-primary {
  background: radial-gradient(
    circle at 0% 0%,
    var(--gh-color-signal) 0,
    var(--gh-color-accent) 40%,
    var(--gh-color-accent-strong) 100%
  );
  color: #02121f;
  box-shadow: var(--gh-shadow-soft);
}

.gh-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.9);
}

.gh-btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--gh-shadow-soft);
}

.gh-btn-ghost {
  background: linear-gradient(
    135deg,
    rgba(118, 198, 255, 0.1),
    rgba(19, 149, 255, 0.2)
  );
  color: var(--gh-color-ice-soft);
  border-color: rgba(137, 212, 255, 0.6);
  backdrop-filter: blur(14px);
}

.gh-btn-ghost:hover {
  background: linear-gradient(
    135deg,
    rgba(118, 198, 255, 0.16),
    rgba(19, 149, 255, 0.26)
  );
  transform: translateY(-1px);
}

.gh-btn-ghost:active {
  transform: translateY(0);
}

/* Links ----------------------------------------------------------- */

a {
  color: var(--gh-color-accent-soft);
}

a:hover {
  color: var(--gh-color-signal);
}

/* Images: global constraint (≤ 350px) ----------------------------- */

.gh-main img,
.gh-header img,
.gh-footer img {
  display: block;
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
}

/* Scroll reveal base ---------------------------------------------- */

.js-observe {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--gh-transition-slow),
    transform var(--gh-transition-slow);
}

.js-observe.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer base ----------------------------------------------------- */

.gh-footer {
  position: relative;
  margin-top: 3rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(88, 214, 255, 0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(55, 141, 255, 0.28), transparent 65%),
    radial-gradient(circle at 50% 100%, #000614 0, #000108 55%, #000000 100%);
  color: #d4e8ff;
  overflow: hidden;
}

.gh-footer-glow {
  position: absolute;
  inset-inline: -30%;
  inset-block-start: -40%;
  height: 14rem;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 224, 255, 0.5),
    transparent 70%
  );
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: screen;
}

.gh-footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.8rem;
  padding-block: 3.2rem;
  z-index: 1;
}

.gh-footer-column {
  min-width: 0;
}

/* Brand column */

.gh-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.gh-footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 1rem;
  background: radial-gradient(
    circle at 20% 0%,
    var(--gh-color-signal),
    var(--gh-color-accent-strong)
  );
  font-family: var(--gh-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #02121f;
  box-shadow: 0 0 30px rgba(68, 234, 255, 0.8);
}

.gh-footer-logo-text {
  font-family: var(--gh-font-display);
  font-size: 1.15rem;
  color: #e4f1ff;
}

.gh-footer-tagline {
  max-width: 24rem;
  margin: 0 0 1rem;
  font-size: 0.93rem;
  line-height: 1.7;
  color: #c3d9f3;
}

.gh-footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gh-footer-pill {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(151, 214, 255, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gh-color-ice-soft);
  background: rgba(2, 12, 28, 0.96);
}

/* Headings & lists */

.gh-footer-heading {
  font-family: var(--gh-font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 0.7rem;
  color: #e1f0ff;
}

.gh-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gh-footer-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: #d4e8ff;
  text-decoration: none;
  transition:
    color var(--gh-transition-normal),
    transform var(--gh-transition-fast),
    text-shadow var(--gh-transition-fast);
}

.gh-footer-link:hover {
  color: var(--gh-color-ice-bright);
  transform: translateX(3px);
  text-shadow: 0 0 18px rgba(112, 220, 255, 0.9);
}

/* Legal column extra text */

.gh-footer-disclaimer {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #9fb6d4;
}

/* Bottom strip */

.gh-footer-bottom {
  position: relative;
  border-top: 1px solid rgba(153, 193, 238, 0.32);
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(77, 213, 255, 0.25),
    transparent 60%
  );
}

.gh-footer-bottom-inner {
  padding-block: 0.9rem;
}

.gh-footer-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #9fb6d4;
}

/* Footer responsive ------------------------------------------------ */

@media (max-width: 960px) {
  .gh-footer-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.2rem;
  }

  .gh-footer-column--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .gh-footer {
    margin-top: 2.4rem;
  }

  .gh-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .gh-footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .gh-footer-inner {
    padding-block: 2.5rem;
  }

  .gh-footer-tagline {
    font-size: 0.88rem;
  }

  .gh-footer-heading {
    font-size: 0.9rem;
  }

  .gh-footer-link {
    font-size: 0.86rem;
  }

  .gh-footer-meta {
    font-size: 0.76rem;
  }
}

/* Header base (shared) -------------------------------------------- */

.gh-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background:
    radial-gradient(circle at 0% 0%, rgba(61, 154, 255, 0.36), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(77, 249, 255, 0.2), transparent 55%),
    linear-gradient(
      to bottom,
      rgba(1, 7, 20, 0.98),
      rgba(1, 7, 18, 0.9),
      rgba(1, 5, 14, 0.9)
    );
  border-bottom: 1px solid rgba(113, 206, 255, 0.5);
  transition:
    background var(--gh-transition-slow),
    transform var(--gh-transition-slow),
    box-shadow var(--gh-transition-slow),
    padding var(--gh-transition-slow);
}

.gh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
}

.gh-header--scrolled {
  background:
    radial-gradient(circle at 0% 0%, rgba(61, 154, 255, 0.2), transparent 55%),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.98),
      rgba(1, 10, 29, 0.98)
    );
  box-shadow: 0 18px 48px rgba(0, 0, 0, 1);
}

.gh-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.gh-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.9rem;
  background: radial-gradient(
    circle at 18% 0%,
    var(--gh-color-signal),
    var(--gh-color-accent-strong)
  );
  font-family: var(--gh-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #02121f;
  box-shadow: 0 0 24px rgba(77, 249, 255, 0.7);
}

.gh-logo-text {
  font-family: var(--gh-font-display);
  font-size: 1.1rem;
  color: #e3f0ff;
}

/* Navigation ------------------------------------------------------ */

.gh-nav {
  display: flex;
}

.gh-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.gh-nav-link {
  position: relative;
  font-size: 0.92rem;
  color: rgba(227, 240, 255, 0.84);
  text-decoration: none;
  padding-block: 0.15rem;
  transition:
    color var(--gh-transition-normal),
    opacity var(--gh-transition-normal),
    text-shadow var(--gh-transition-fast);
}

.gh-nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--gh-color-signal),
    var(--gh-color-accent-soft)
  );
  box-shadow: 0 0 14px rgba(79, 213, 255, 0.7);
  transition: width var(--gh-transition-normal);
}

.gh-nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(85, 213, 255, 0.9);
}

.gh-nav-link:hover::after {
  width: 100%;
}

.gh-nav-link--active {
  color: #ffffff;
}

.gh-nav-link--active::after {
  width: 100%;
}

/* Mobile nav toggle ----------------------------------------------- */

/* Mobile nav toggle ----------------------------------------------- */

.gh-nav-toggle {
  display: none; /* по умолчанию спрятан, ниже включим в @media */
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(151, 207, 255, 0.7);
  background:
    radial-gradient(circle at 0% 0%, rgba(78, 219, 255, 0.5), transparent 60%),
    rgba(1, 8, 21, 0.96);
  box-shadow:
    0 0 14px rgba(79, 213, 255, 0.7),
    0 10px 26px rgba(0, 0, 0, 0.9);
  color: #e4f2ff;
  cursor: pointer;
  transition:
    background var(--gh-transition-normal),
    box-shadow var(--gh-transition-normal),
    transform var(--gh-transition-fast),
    border-color var(--gh-transition-normal);
}

.gh-nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 20px rgba(79, 213, 255, 0.9),
    0 16px 34px rgba(0, 0, 0, 1);
  border-color: rgba(173, 233, 255, 0.95);
}

.gh-nav-toggle:active {
  transform: translateY(0);
  box-shadow:
    0 0 14px rgba(79, 213, 255, 0.7),
    0 10px 26px rgba(0, 0, 0, 0.9);
}

/* Иконка внутри кнопки */

.gh-nav-toggle-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.4rem;
}

.gh-nav-toggle-line {
  position: absolute;
  width: 72%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(226, 244, 255, 0.1),
    #eaf6ff,
    rgba(226, 244, 255, 0.1)
  );
  box-shadow: 0 0 8px rgba(226, 244, 255, 0.6);
  transition:
    transform var(--gh-transition-fast),
    opacity var(--gh-transition-fast);
}

.gh-nav-toggle-line--top {
  transform: translateY(-0.34rem);
}

.gh-nav-toggle-line--middle {
  transform: translateY(0);
}

.gh-nav-toggle-line--bottom {
  transform: translateY(0.34rem);
}

.gh-nav-toggle-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #d9ebff;
}

/* Активное состояние – превращаемся в крестик */

.gh-nav-toggle--active {
  background:
    radial-gradient(circle at 0% 0%, rgba(103, 245, 255, 0.6), transparent 60%),
    rgba(2, 13, 32, 0.98);
  border-color: rgba(191, 246, 255, 0.95);
  box-shadow:
    0 0 22px rgba(96, 238, 255, 0.95),
    0 18px 40px rgba(0, 0, 0, 1);
}

.gh-nav-toggle--active .gh-nav-toggle-line--top {
  transform: rotate(42deg);
}

.gh-nav-toggle--active .gh-nav-toggle-line--middle {
  opacity: 0;
}

.gh-nav-toggle--active .gh-nav-toggle-line--bottom {
  transform: rotate(-42deg);
}

/* Показываем кнопку только на планшете и телефоне */
@media (max-width: 768px) {
  .gh-nav-toggle {
    display: inline-flex;
  }
}

/* На очень узких экранах прячем надпись, оставляем только иконку */
@media (max-width: 480px) {
  .gh-nav-toggle {
    padding-inline: 0.6rem;
  }

  .gh-nav-toggle-label {
    display: none;
  }
}


/* Mobile nav drawer ----------------------------------------------- */

.gh-nav-drawer {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 100%;
  transform-origin: top;
  transform: scaleY(0.75);
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0 0, rgba(167, 227, 255, 0.38), transparent 52%),
    linear-gradient(
      to bottom,
      rgba(1, 8, 18, 0.98),
      rgba(0, 3, 8, 0.98)
    );
  border-bottom-left-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 1);
  transition:
    opacity var(--gh-transition-slow),
    transform var(--gh-transition-slow);
}

.gh-nav-drawer--open {
  opacity: 1;
  pointer-events: auto;
  transform: scaleY(1);
}

.gh-nav-drawer-nav {
  padding: 0.75rem var(--gh-shell-padding) 1rem;
}

.gh-nav-drawer-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0.25rem;
}

.gh-nav-drawer-item + .gh-nav-drawer-item {
  border-top: 1px solid rgba(138, 190, 235, 0.22);
}

.gh-nav-drawer-link {
  display: block;
  padding-block: 0.7rem;
  font-size: 0.95rem;
  color: #d7ecff;
  text-decoration: none;
  transition:
    color var(--gh-transition-normal),
    text-shadow var(--gh-transition-fast);
}

.gh-nav-drawer-link:hover {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(80, 214, 255, 0.9);
}

.gh-nav-drawer-link--active {
  color: #ffffff;
}

.gh-nav-drawer-link--accent {
  color: var(--gh-color-signal);
}

/* Body state when nav is open ------------------------------------- */

.gh-body--nav-open {
  overflow: hidden;
}

/* Responsive: global ---------------------------------------------- */

@media (max-width: 960px) {
  .gh-footer-inner {
    flex-direction: column;
  }

  .gh-footer-columns {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .gh-nav {
    display: none;
  }

  .gh-nav-toggle {
    display: inline-flex;
  }

  .gh-footer-inner {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --gh-shell-padding: 1.1rem;
  }

  .gh-footer {
    margin-top: 2.25rem;
  }

  .gh-footer-tagline {
    font-size: 0.88rem;
  }

  .gh-footer-heading {
    font-size: 0.9rem;
  }

  .gh-footer-link {
    font-size: 0.86rem;
  }

  .gh-footer-meta {
    font-size: 0.76rem;
  }
}
/* Mobile safety: no horizontal scroll */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Header & shell tuning on small screens */
@media (max-width: 480px) {
  .gh-header-inner {
    padding-block: 0.55rem;
  }

  .gh-logo-mark {
    width: 2rem;
    height: 2rem;
  }

  .gh-logo-text {
    font-size: 0.98rem;
  }

  .gh-nav-toggle {
    padding-inline: 0.6rem;
  }

  .gh-nav-toggle-label {
    display: none; /* экономим ширину, оставляем только иконку */
  }

  .gh-main {
    padding-top: calc(var(--gh-header-height) + 1.1rem);
  }

  .gh-shell {
    padding-inline: 1.05rem;
  }
}
