/* ========================================
   HERO.CSS — Hero Section & Header
   ======================================== */

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(11, 29, 58, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header--scrolled {
  background: rgba(6, 15, 31, 0.98);
  box-shadow: var(--shadow-lg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-xl);
}

.header__logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header__nav {
  display: flex;
  gap: var(--space-lg);
}

.header__link {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: var(--space-xs) 0;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.header__link:hover { color: var(--color-white); }
.header__link:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__phone {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  color: var(--color-white);
  font-weight: 600;
  white-space: nowrap;
}

.header__phone i { color: var(--color-accent); margin-right: var(--space-xs); }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-base);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  background: transparent;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(232, 116, 42, 0.15);
  border: 1px solid rgba(232, 116, 42, 0.3);
  color: var(--color-accent-light);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.05;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero__buttons {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.hero__badges {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero__badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-sm);
}

.hero__badge-item i {
  color: var(--color-accent);
  font-size: var(--fs-base);
}

/* Hero Image */
.hero__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(232, 116, 42, 0.2);
}

.hero__image-frame::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(232, 116, 42, 0.15) 25%,
    transparent 50%
  );
  animation: rotateGlow 8s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  100% { transform: rotate(360deg); }
}

.hero__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.hero__visual { position: relative; }

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-xl);
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}