/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: #0b0b0b;
  color: #e8e8e2;
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ========== CSS VARIABLES ========== */
:root {
  --orange: #e78229;
  --orange-dim: #b8621d;
  --orange-glow: rgba(231, 130, 41, 0.18);
  --bg: #0b0b0b;
  --bg2: #111111;
  --bg3: #181818;
  --border: rgba(255, 255, 255, 0.07);
  --border-bright: rgba(231, 130, 41, 0.35);
  --text: #e8e8e2;
  --text-dim: #999990;
  --text-muted: #5a5a52;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--orange-dim);
  border-radius: 2px;
}

/* ========== NOISE TEXTURE OVERLAY ========== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
}

h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p {
  line-height: 1.75;
}

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

/* ========== LAYOUT ========== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.34s;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 3px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.22s;
  border: none;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--orange);
  color: #0b0b0b;
}

.btn-primary:hover {
  background: #f0922e;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(231, 130, 41, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-bright);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

/* ========== TOP NAVIGATION ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 64px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-contact {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher select {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 0.28rem 0.55rem;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switcher select:hover {
  border-color: var(--orange);
  color: var(--text);
}

.lang-switcher select option {
  background: var(--bg2);
  color: var(--text);
}

/* ========== HERO ========== */
.hero-section {
  padding-top: 112px;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(231, 130, 41, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 130, 41, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(231, 130, 41, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-video-frame {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg2);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.hero-video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

/* ========== OFFER CARDS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.site-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.site-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

.site-card-body p {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.site-card-actions {
  margin-top: auto;
  padding-top: 1.75rem;
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-title {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.footer-brand p {
  margin-top: 0.85rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 28rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col h3 {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-legal {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .site-nav {
    height: 60px;
    padding: 0 1rem;
  }

  .nav-right {
    gap: 0.4rem;
  }

  .nav-contact,
  .btn {
    padding: 0.75rem 1rem;
  }

  .nav-contact {
    font-size: 0.82rem;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero-section {
    padding-top: 96px;
    padding-bottom: 3.5rem;
  }

  .site-card {
    padding: 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
