:root {
  --bg: #1a1a1a;
  --surface: #222;
  --surface-soft: #2a2a2a;
  --text: #f2f2f2;
  --muted: #b9b9b9;
  --line: #3a3a3a;
  --accent: #a68966;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #303030 0%, var(--bg) 45%, #111 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.12;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='12' cy='14' r='1'/%3E%3Ccircle cx='40' cy='54' r='1'/%3E%3Ccircle cx='110' cy='80' r='1'/%3E%3Ccircle cx='160' cy='22' r='1'/%3E%3Ccircle cx='82' cy='142' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.scrolled {
  background: rgba(12, 12, 12, 0.78);
  backdrop-filter: blur(8px);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #d6d6d6;
  font-size: 0.8rem;
}

.lang-switcher label {
  display: block;
  gap: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdbdbd;
}

.lang-switcher select {
  width: auto;
  min-width: 118px;
  padding: 0.35rem 0.55rem;
  border: 1px solid #555;
  background: rgba(20, 20, 20, 0.86);
  color: var(--text);
  font-size: 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.site-logo {
  height: 100px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: #ddd;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid #555;
  background: transparent;
  color: var(--text);
  padding: 0.45rem 0.7rem;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center start;
  position: relative;
  padding-top: 5.2rem;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}

.hero-overlay {
  background: radial-gradient(circle at 70% 20%, rgba(166, 137, 102, 0.24), transparent 42%),
    linear-gradient(110deg, rgba(0, 0, 0, 0.82) 14%, rgba(0, 0, 0, 0.5) 56%, rgba(0, 0, 0, 0.84) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0 4.2rem;
  max-width: 760px;
  width: 100%;
}

.hero-panel {
  max-width: 760px;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  padding: clamp(1.3rem, 2.2vw, 2rem);
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Archivo", sans-serif;
  margin: 0 0 1rem;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.2rem;
}

.hero-lead {
  color: #d0d0d0;
  max-width: 52ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(18, 18, 18, 0.6);
  color: #d9d9d9;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.42rem 0.58rem;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: #d3d3d3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: floatY 2.2s ease-in-out infinite;
}

.scroll-cue::after {
  content: "";
  width: 20px;
  height: 20px;
  border-right: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  transform: rotate(45deg) translateY(-3px);
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #131313;
  font-weight: 600;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.35) 50%, transparent 75%);
  transform: translateX(-140%);
  transition: transform 0.65s ease;
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  transform: translateX(140%);
}

.btn-ghost {
  border-color: #747474;
  color: var(--text);
}

.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -2.3rem;
  position: relative;
  z-index: 5;
}

.stat {
  background: rgba(20, 20, 20, 0.82);
  border: 1px solid var(--line);
  padding: 1.2rem;
  backdrop-filter: blur(3px);
}

.stat strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-head {
  margin-bottom: 2rem;
}

.process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: clip;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.process-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.process-card .process-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.process-card:hover img {
  transform: scale(1.04);
}

.process-card:hover .process-video {
  transform: scale(1.04);
}

.process-card:hover {
  border-color: #6f5f49;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.process-card h3 {
  padding: 1rem;
  margin: 0;
}

.company {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
  border-top: 1px solid #2d2d2d;
  border-bottom: 1px solid #2d2d2d;
}

.company-wrap {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.company-copy p {
  max-width: 56ch;
  color: #d2d2d2;
  line-height: 1.75;
}

.company-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.company-points li {
  border-bottom: 1px solid #3b3b3b;
  padding: 0.75rem 0;
  color: #d0d0d0;
}

.company-media {
  display: grid;
  gap: 1rem;
}

.company-video {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 1px solid #404040;
}

.company-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid #404040;
}

.catalog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-card {
  position: relative;
  min-height: 320px;
  border: 1px solid #3c3c3c;
  overflow: clip;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.catalog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.catalog-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0));
}

.catalog-overlay h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  line-height: 1.2;
}

.catalog-overlay p {
  margin: 0;
  color: #d4d4d4;
  font-size: 0.9rem;
}

.catalog-card:hover img {
  transform: scale(1.06);
}

.catalog-card:hover {
  border-color: #6f5f49;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.projects {
  background: #151515;
}

.projects-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project {
  position: relative;
  border: 1px solid #343434;
  overflow: clip;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.project img {
  height: 340px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.project span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.55rem;
  max-width: calc(100% - 1.6rem);
  line-height: 1.35;
}

.project:hover img {
  transform: scale(1.05);
}

.project:hover {
  border-color: #6f5f49;
  transform: translateY(-4px);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-form,
.contact-info {
  border: 1px solid #3d3d3d;
  background: var(--surface-soft);
  padding: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #ddd;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #575757;
  background: #1a1a1a;
  color: var(--text);
  padding: 0.7rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.contact-info p {
  color: #d6d6d6;
  margin: 0.35rem 0;
}

.contact-section {
  margin-bottom: 1.2rem;
}

.contact-section h3 {
  margin-bottom: 0.8rem;
}

.contact-section p {
  margin: 0.55rem 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-section strong {
  color: var(--accent);
  font-weight: 600;
}

.map-frame {
  margin-top: 1rem;
  border: 1px solid #5a5a5a;
  min-height: 220px;
  width: 100%;
}

.form-feedback {
  min-height: 1.2rem;
  margin: 0.2rem 0 0;
  color: #d8c2a6;
  font-size: 0.84rem;
}

.site-footer {
  border-top: 1px solid #303030;
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #bdbdbd;
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  filter: blur(0);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-ready .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  filter: blur(0);
}

.hero-panel .kicker,
.hero-panel h1,
.hero-panel .hero-lead,
.hero-panel .hero-actions,
.hero-panel .hero-badges {
  animation: heroTextIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-panel h1 {
  animation-delay: 0.08s;
}

.hero-panel .hero-lead {
  animation-delay: 0.16s;
}

.hero-panel .hero-actions {
  animation-delay: 0.24s;
}

.hero-panel .hero-badges {
  animation-delay: 0.34s;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(24px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 1024px) {
  .stats,
  .catalog-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    column-gap: 0.55rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
  }

  .brand {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0.9rem;
    display: none;
    flex-direction: column;
    background: rgba(14, 14, 14, 0.95);
    border: 1px solid #444;
    padding: 0.8rem;
    min-width: 170px;
    max-width: min(88vw, 260px);
  }

  .lang-switcher {
    margin: 0;
    justify-self: end;
  }

  .lang-switcher label {
    display: none;
  }

  .lang-switcher select {
    min-width: 88px;
    font-size: 0.75rem;
    padding: 0.28rem 0.4rem;
  }

  .site-nav.open {
    display: flex;
  }

  .hero-content {
    padding: 1rem 0 3rem;
  }

  .hero-panel {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: start;
  }

  .hero-badges {
    gap: 0.45rem;
  }

  .scroll-cue {
    margin-top: 0.8rem;
  }

  .stats,
  .process-grid,
  .catalog-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@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;
  }
}
