:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --orange: #ff6b4a;
  --orange-soft: rgba(255, 107, 74, 0.16);
  --orange-glow: rgba(255, 107, 74, 0.28);
  --text: #f5f2ef;
  --muted: #a8a29e;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --max: 1080px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, var(--orange-glow), transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 40%, rgba(255, 107, 74, 0.08), transparent 55%),
    radial-gradient(ellipse 35% 25% at 10% 70%, rgba(255, 107, 74, 0.06), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  animation: hero-in 0.9s ease both;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(255, 107, 74, 0.18);
  animation: logo-float 5s ease-in-out infinite;
}

.hero-brand {
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.85rem;
}

.hero-tagline {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 400;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: #140805;
  box-shadow: 0 10px 30px rgba(255, 107, 74, 0.25);
}

.btn-primary:hover {
  background: #ff7d60;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 1.75rem;
}

/* Services */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-list li {
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.service-list li:hover {
  border-color: rgba(255, 107, 74, 0.4);
  color: var(--text);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.45rem;
  background: linear-gradient(160deg, rgba(255, 107, 74, 0.07), transparent 55%),
    var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-card:hover {
  border-color: rgba(255, 107, 74, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.product-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.contact-note {
  color: var(--muted);
  max-width: 28ch;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0f0f0f;
  color: var(--text);
  font: inherit;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b6560;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 107, 74, 0.55);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.contact-form .btn {
  width: fit-content;
  margin-top: 0.35rem;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-status {
  font-size: 0.9rem;
  color: var(--orange);
}

.form-status[data-type="error"] {
  color: #ff8a75;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem) 2.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

.brand-footer {
  font-size: 0.98rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .hero-logo {
    width: 96px;
    height: 96px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-inner,
  .hero-logo,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .product-card:hover {
    transform: none;
  }
}
