/* =========================================================
   LED Ekran — ledekran.hr
   Design: dark, cinematic, red accent, premium AV vibe
   ========================================================= */

:root {
  --bg: #050505;
  --bg-2: #0c0c0c;
  --bg-3: #131313;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --text-mute: #71717a;
  --accent: #ff2d3a;
  --accent-2: #ff7a45;
  --accent-glow: rgba(255, 45, 58, 0.4);
  --grad: linear-gradient(135deg, #ff2d3a 0%, #ff7a45 50%, #ffd23f 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 45, 58, 0.18), rgba(255, 122, 69, 0.05));
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1280px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-bar {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}
.loader-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad);
  animation: loadFill 1.6s var(--ease-out) forwards;
}
@keyframes loadFill {
  to { width: 100%; }
}
.loader-text {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor, .cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: difference;
}
.cursor {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.6);
}
.cursor-dot {
  width: 4px;
  height: 4px;
  background: white;
}
.cursor.hover {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.1);
  border-color: transparent;
}
@media (hover: none), (max-width: 900px) {
  .cursor, .cursor-dot { display: none; }
}

/* =========================================================
   GRID BG
   ========================================================= */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(5,5,5,0);
  backdrop-filter: blur(0);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(18px);
  padding: 12px 32px;
  border-bottom-color: var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  position: relative;
  z-index: 2;
}
.logo svg { color: var(--accent); }
.logo-text {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo-text em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  gap: 6px;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-toggle:hover { border-color: var(--line-2); color: var(--text); }
.lang-toggle .lang-active { color: var(--text); }
.lang-toggle .lang-sep { color: var(--text-mute); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px var(--accent-glow);
}
.btn-cta:hover::before { opacity: 1; }
.btn-cta > * { position: relative; z-index: 1; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.96);
  backdrop-filter: blur(20px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: 'Anton', sans-serif;
  font-size: 36px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.mobile-menu a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .nav-links, .btn-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 32px 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg-img {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.2) contrast(1.1);
  transform: scale(1.05);
  animation: heroDrift 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroDrift {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.75) 50%, var(--bg) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(255, 45, 58, 0.25), transparent 50%);
}

.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
}
.dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}
.dot-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: revealUp 1.1s var(--ease-out) forwards;
}
.hero-title .line:nth-child(2) .line-inner {
  animation-delay: 0.15s;
}
@keyframes revealUp {
  to { transform: translateY(0); }
}

.gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 620px;
  color: var(--text-dim);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 80px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 12px 36px -10px var(--accent-glow);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px var(--accent-glow);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary svg {
  transition: transform 0.3s var(--ease);
}
.btn-primary:hover svg { transform: translateX(4px); }

.btn-primary.big {
  padding: 22px 40px;
  font-size: 16px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.04);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-mini .num-row {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.stat-mini .num-row em {
  font-style: normal;
  color: var(--accent);
  font-size: 24px;
}
.stat-mini > span:last-child {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.hero-scroll {
  position: absolute;
  right: 32px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mute);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--text-dim));
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@media (max-width: 700px) {
  .hero { padding: 110px 20px 60px; }
  .hero-title { font-size: clamp(40px, 12vw, 56px); }
  .hero-scroll { display: none; }
  .hero-stats { gap: 28px; }
  .stat-mini strong { font-size: 24px; }
  .hero-cta { gap: 12px; }
  .btn-primary, .btn-ghost { padding: 14px 24px; font-size: 14px; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 28px 0;
  background: var(--bg);
  position: relative;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
  padding-right: 48px;
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marquee-group > span:nth-child(odd) {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee-group > span:nth-child(even) {
  color: var(--text-mute);
  font-size: 12px;
}
@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 700px) {
  .marquee-track { animation-duration: 12s; }
  .marquee-group { font-size: 22px; gap: 32px; padding-right: 32px; }
}

/* =========================================================
   SECTIONS — common
   ========================================================= */
section {
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}

.section-head {
  margin-bottom: 80px;
  max-width: 900px;
}
.section-head h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-sub {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 18px;
  max-width: 600px;
}
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  max-width: 100%;
}
.section-head.split p {
  max-width: 360px;
  color: var(--text-dim);
}
@media (max-width: 800px) {
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .section-head { margin-bottom: 48px; }
}
@media (max-width: 500px) {
  .container { padding: 0 18px; }
  .nav { padding: 14px 18px; }
  .nav.scrolled { padding: 10px 18px; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro-left h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.intro-right p {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}
.intro-right strong { color: var(--text); font-weight: 600; }
.checks {
  list-style: none;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checks li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text-dim);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 8px;
  border-bottom: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .intro { padding: 80px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .checks { grid-template-columns: 1fr; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: 48px 40px 40px;
  position: relative;
  cursor: pointer;
  transition: background 0.4s var(--ease);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  background: var(--bg-2);
}
.service-card:hover::before { opacity: 1; }
.svc-num {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  margin-bottom: 20px;
  transition: color 0.4s var(--ease);
}
.service-card:hover .svc-num { color: var(--accent); }
.service-card h3 {
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.service-card > p {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.service-card ul {
  list-style: none;
  margin-top: auto;
  display: grid;
  gap: 8px;
}
.service-card ul li {
  font-size: 13px;
  color: var(--text-mute);
  padding-left: 16px;
  position: relative;
  letter-spacing: 0.02em;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--accent);
}
.svc-arrow {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 24px;
  color: var(--text-mute);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-card:hover .svc-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; min-height: auto; }
}

/* =========================================================
   ZOOM SHOWCASE — cinematic scroll-zoom
   ========================================================= */
.zoom-showcase {
  height: 220vh;
  position: relative;
  background: var(--bg);
}
.zoom-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.zoom-image {
  position: relative;
  width: 38vw;
  height: 60vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.05s linear, border-radius 0.05s linear;
  will-change: transform;
}
.zoom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}
.zoom-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5,5,5,0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.zoom-image.zoomed::after { opacity: 1; }
.zoom-text {
  position: absolute;
  bottom: 60px;
  left: 60px;
  right: 60px;
  z-index: 3;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.zoom-container.show-text .zoom-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.zoom-text .eyebrow { color: white; opacity: 0.85; }
.zoom-text h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 7vw, 110px);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
}
@media (max-width: 700px) {
  .zoom-showcase { height: auto; }
  .zoom-container { position: relative; height: auto; padding: 60px 0; }
  .zoom-image {
    width: 100%;
    height: 70vh;
    border-radius: var(--radius);
    transform: none !important;
  }
  .zoom-image::after { opacity: 1; }
  .zoom-container.show-text .zoom-text,
  .zoom-text {
    opacity: 1;
    transform: none;
    bottom: 30px;
    left: 24px;
    right: 24px;
  }
  .zoom-text h2 { font-size: clamp(32px, 8vw, 48px); }
}

/* =========================================================
   EQUIPMENT
   ========================================================= */
.equipment {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.eq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.eq-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  background: var(--bg-2);
  isolation: isolate;
}
.eq-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg, #131313);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease);
  filter: grayscale(0.3) brightness(0.85);
}
.eq-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,5,5,0.85) 100%);
  z-index: 1;
}
.eq-card:hover::before {
  transform: scale(1.08);
  filter: grayscale(0) brightness(1);
}
.eq-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}
.eq-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 14px;
  font-weight: 600;
}
.eq-meta h3 {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: white;
}
.eq-meta p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}
@media (max-width: 1000px) {
  .eq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .equipment { padding: 80px 0; }
  .eq-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 24px;
}
.proj-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-2);
}
.proj-card.big {
  grid-column: span 2;
  grid-row: span 1;
}
.proj-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform 0.8s var(--ease-out), filter 0.5s var(--ease);
}
.proj-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}
.proj-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,5,0.9) 100%);
}
.proj-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}
.proj-cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}
.proj-info h3 {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: white;
}
.proj-info p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}
@media (max-width: 1000px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-card.big { grid-column: span 2; }
}
@media (max-width: 600px) {
  .projects { padding: 80px 0; }
  .proj-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .proj-card.big { grid-column: span 1; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,45,58,0.06), transparent 60%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat strong {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.stat .plus {
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--accent);
  margin-left: 4px;
}
.stat p {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255,45,58,0.18), transparent 70%);
}
.cta-band h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 130px);
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.cta-band em {
  display: block;
  font-style: normal;
}
@media (max-width: 700px) {
  .cta-band { padding: 80px 0; }
  .cta-band h2 { font-size: clamp(36px, 10vw, 48px); }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.contact-info h2 em {
  display: block;
  font-style: normal;
}
.contact-info > p {
  margin: 24px 0 32px;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
  max-width: 460px;
}
.contact-list {
  list-style: none;
  border-top: 1px solid var(--line);
  margin-bottom: 32px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.ci-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.ci-value {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}
a.ci-value:hover { color: var(--accent); }

.contact-quick {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.quick-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,45,58,0.06);
}

/* Form */
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-3);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23a1a1aa' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.contact-form button {
  justify-self: start;
  margin-top: 8px;
}
.form-hint {
  font-size: 13px;
  color: var(--text-mute);
}

@media (max-width: 1000px) {
  .contact { padding: 80px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .contact-form { padding: 28px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-top: 80px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.foot-brand .logo { margin-bottom: 20px; }
.foot-brand p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.foot-col h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 20px;
  font-weight: 500;
}
.foot-col a, .foot-col span {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.foot-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom p {
  font-size: 13px;
  color: var(--text-mute);
}
.foot-meta { font-family: 'Space Grotesk', monospace; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-bottom .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 500px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ACCESSIBILITY — reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-title .line-inner { transform: translateY(0) !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
