/* ══════════════════════════════════════════
   PLANET OCEAN — HEADER STYLES
   Подключи в <head> каждой страницы:
   <link rel="stylesheet" href="/header-styles.css">
   ══════════════════════════════════════════ */

#prog {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, #0A7B8C, #C9A84C);
  z-index: 9999;
  width: 0%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 0 5vw;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, rgba(1,13,26,.92) 0%, rgba(1,13,26,0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,.08);
  transition: background .4s, border-color .4s;
}
.site-header.scrolled {
  background: rgba(1,13,26,.97);
  border-bottom-color: rgba(201,168,76,.18);
}

.sh-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.sh-logo img {
  height: 34px;
  width: auto;
  opacity: .88;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(18,163,184,.22));
  transition: opacity .3s;
}
.sh-logo:hover img { opacity: 1; }

.sh-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.sh-nav li { position: relative; }
.sh-nav a {
  display: block;
  padding: 0 14px;
  height: 64px;
  line-height: 64px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(245,240,232,.42);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s;
}
.sh-nav a:hover { color: rgba(245,240,232,.88); }
.sh-nav a.nav-active { color: #C9A84C; }
.sh-nav a.nav-active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: linear-gradient(90deg, #0A7B8C, #C9A84C);
  border-radius: 1px 1px 0 0;
}

.sh-nav li:hover .sh-drop { display: block; }
.sh-drop {
  display: none;
  position: absolute;
  top: 64px; left: 0;
  min-width: 200px;
  background: rgba(1,13,26,.97);
  border: 1px solid rgba(201,168,76,.14);
  border-top: 2px solid #0A7B8C;
  padding: 6px 0;
  z-index: 9100;
}
.sh-drop a {
  height: auto;
  line-height: 1.4;
  padding: 9px 18px;
  font-size: 9px;
  letter-spacing: .18em;
  color: rgba(245,240,232,.38);
}
.sh-drop a:hover {
  color: #12A3B8;
  background: rgba(10,123,140,.07);
}
.sh-drop a::after { display: none !important; }

.sh-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid rgba(201,168,76,.45);
  background: rgba(201,168,76,.07);
  color: #C9A84C;
  font-family: 'Segoe UI', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .3s, box-shadow .3s;
}
.sh-cta:hover {
  background: rgba(201,168,76,.15);
  box-shadow: 0 0 18px rgba(201,168,76,.14);
}

.sh-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.sh-burger span {
  display: block;
  height: 1px;
  background: rgba(245,240,232,.55);
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.sh-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sh-burger.open span:nth-child(2) { opacity: 0; }
.sh-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.sh-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(1,10,20,.98);
  border-bottom: 1px solid rgba(201,168,76,.14);
  border-top: 1px solid rgba(10,123,140,.25);
  z-index: 8999;
  padding: 16px 0 24px;
  backdrop-filter: blur(20px);
}
.sh-mobile.open { display: block; }
.sh-mobile a {
  display: block;
  padding: 11px 5vw;
  font-family: 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(245,240,232,.42);
  text-decoration: none;
  transition: color .2s, background .2s;
  border-left: 2px solid transparent;
}
.sh-mobile a:hover {
  color: #12A3B8;
  background: rgba(10,123,140,.06);
  border-left-color: #0A7B8C;
}
.sh-mobile a.nav-active {
  color: #C9A84C;
  border-left-color: #C9A84C;
}
.sh-mobile-sep {
  height: 1px;
  background: rgba(201,168,76,.08);
  margin: 10px 5vw;
}
.sh-mobile-cta {
  display: inline-flex !important;
  margin: 10px 5vw 0 !important;
  padding: 11px 22px !important;
  border: 1px solid rgba(201,168,76,.4) !important;
  background: rgba(201,168,76,.07) !important;
  color: #C9A84C !important;
  font-size: 9px !important;
  letter-spacing: .28em !important;
  border-left: 1px solid rgba(201,168,76,.4) !important;
  transition: background .3s;
}
.sh-mobile-cta:hover { background: rgba(201,168,76,.15) !important; }

/* Отступ страницы под фиксированный хедер */
.page { padding-top: 74px; }
/* Для hero — чтобы не перекрывало */
.hero { padding-top: 74px; }
.phone-frame {
    flex-shrink: 0;
    width: clamp(240px, 24vw, 320px);
    background: #0a0a0a;
    border-radius: 40px;
    border: 1px solid rgba(201, 168, 76, .2);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), 0 40px 100px rgba(0, 0, 0, .85), 0 0 80px rgba(10, 123, 140, .06), inset 0 1px 0 rgba(255, 255, 255, .05);
    padding: 16px;
    position: relative;
    min-width: 350px;
}
@media (max-width: 900px) {
  .sh-nav, .sh-cta { display: none; }
  .sh-burger { display: flex; }
  .hero { padding-top: 54px !important; }
}
