:root {
  --bg: #0d0f11;
  --surface: rgba(20,24,28,0.82);
  --surface-soft: rgba(27,32,37,0.72);

  --text: #f3f1ec;
  --muted: #9ba3ad;
  --accent: #c7a36a;
  --line: rgba(255,255,255,0.08);
  --shadow: 0 24px 80px rgba(0,0,0,0.45);
  --radius: 10px;
  --max: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background:
    linear-gradient(
      rgba(13,15,17,0.45),
      rgba(13,15,17,0.65)
    ),
    url("images/foto_protools_pozadi.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: var(--text);
  font-family: Inter, sans-serif;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(199,163,106,0.06),
      transparent 30%
    ),
    rgba(0,0,0,0.18);

  pointer-events: none;
  z-index: -1;
}

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

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

.container {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
}

/* =================================
   HEADER
================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(96, 19, 12, 0.71);
  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 84px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
}

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

.brand-mark {
  width: 81px;
  height: 81px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

/* =================================
   LANGUAGE SWITCH
================================= */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;

  font-weight: 800;
  font-size: 0.82rem;

  letter-spacing: 0.08em;
  white-space: nowrap;
}

.lang-link {
  color: var(--text);
  opacity: .7;
  transition: opacity .2s ease;
}

.lang-link:hover,
.lang-link.active {
  opacity: 1;
}

/* =================================
   HERO
================================= */

.hero {
  padding: 0 0 24px;
}

.hero-image {
  min-height: calc(100vh - 84px);

  display: flex;
  align-items: end;

  background-size: cover;
  background-position: center;

  position: relative;
}

.hero-inner {
  padding-bottom: 90px;
}

.eyebrow {
  margin: 0 0 18px;

  color: var(--accent);

  text-transform: uppercase;
  letter-spacing: 0.14em;

  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow.dark {
  color: var(--accent);
}

.hero h1 {
  margin: 0;

  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.08em;

  max-width: 8ch;
}

.hero-claim {
  margin-top: 30px;

  max-width: 24ch;

  font-size: clamp(1.15rem, 2vw, 1.7rem);

  color: rgba(243,241,236,0.82);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 42px;
}

/* =================================
   BUTTONS
================================= */

.btn {
  min-height: 54px;

  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-weight: 800;

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

/* =================================
   SECTIONS
================================= */

section {
  padding: 120px 0;
}

.section-heading {
  margin-bottom: 44px;
}

section h2 {
  margin: 0;

  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;

  max-width: 12ch;
}

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

.intro-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.intro-grid p,
.text-panel p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* =================================
   FEATURE LARGE
================================= */

.feature-large {
  min-height: 720px;

  padding: 60px;

  display: flex;
  align-items: end;

  background-size: cover;
  background-position: center;

  position: relative;
  overflow: hidden;

  border-radius: var(--radius);
}

.feature-large::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.08),
      rgba(0,0,0,0.68)
    );
}

.feature-large > div {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.feature-large span,
.service-card span {
  color: var(--accent);

  font-size: 2.4rem;

  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.feature-large h3,
.service-card h3 {
  margin: 14px 0 16px;

  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.feature-large p,
.service-card p {
  color: rgba(243,241,236,0.82);
}

/* =================================
   SERVICES GRID
================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

.service-card {
  min-height: 420px;

  padding: 36px;

  display: flex;
  align-items: end;

  position: relative;
  overflow: hidden;

  border-radius: var(--radius);

  background-size: cover;
  background-position: center;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.10),
      rgba(0,0,0,0.74)
    );
}

.service-card > div {
  position: relative;
  z-index: 1;
}

/* =================================
   TEXT PANEL
================================= */

.text-panel {
  background: var(--surface);

  border: 1px solid var(--line);

  padding: 42px;

  border-radius: var(--radius);
}

.clean-list {
  margin: 34px 0 0;
  padding: 0;

  list-style: none;

  display: grid;
  gap: 14px;
}

.clean-list li {
  padding-bottom: 14px;

  border-bottom: 1px solid var(--line);

  color: var(--text);
  font-weight: 600;
}

/* =================================
   WORKSHOP GALLERY
================================= */

.workshop-gallery {
  margin-top: 42px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.workshop-photo {
  aspect-ratio: 16 / 10;

  overflow: hidden;

  border-radius: 8px;

  background: #111;
  cursor: zoom-in;
}

.workshop-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .5s ease;
}

.workshop-photo:hover img {
  transform: scale(1.03);
}

/* =================================
   TEAM
================================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 210px);
  gap: 24px;
  justify-content: start;
}

.team-card {
  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius);

  overflow: hidden;
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.team-card h3 {
  margin: 22px 22px 8px;
  font-size: 1.15rem;
}

.team-card p {
  margin: 0 22px 24px;
  color: var(--muted);
}

/* =================================
   CONTACT
================================= */

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

.contact-panel {
  background: var(--surface);

  border: 1px solid var(--line);

  padding: 42px;

  border-radius: var(--radius);
}

.contact-panel h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

/* =================================
   FOOTER
================================= */

.site-footer {
  padding: 40px 0;
}

.footer-inner {
  padding-top: 24px;

  border-top: 1px solid var(--line);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;

  flex-wrap: wrap;
}

.footer-links a {
  transition: opacity .2s ease;
}

.footer-links a:hover {
  opacity: .7;
}

/* =================================
   PARTNERS
================================= */

.partners-strip {
  padding: 34px 0 28px;

  background: rgba(8,10,12,0.96);

  border-top: 1px solid rgba(255,255,255,0.08);
}

.partners-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;

  flex-wrap: wrap;
}

.partners-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  opacity: 0.72;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partners-inner a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.partners-inner img {
  height: 34px;
  width: auto;
  max-width: 120px;

  object-fit: contain;

  filter: grayscale(1) brightness(1.4);
}

/* =================================
   ALT SECTION
================================= */

.alt {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}

/* =================================
   LIGHTBOX
================================= */

.lightbox {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.92);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity .25s ease,
    visibility .25s ease;

  z-index: 9999;

  padding: 40px;

  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1400px, 92vw);
  max-height: 90vh;

  object-fit: contain;

  border-radius: 10px;

  box-shadow: 0 30px 100px rgba(0,0,0,0.5);
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 1100px) {
  .intro-grid,
  .split-grid,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 210px);
  }

  .feature-large {
    min-height: 560px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner {
    min-height: auto;
    padding: 10px 0;

    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark,
  .logo-mark {
    width: 54px;
    height: 54px;
    margin: 0;
  }

  .brand-text strong {
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .main-nav {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero-image {
    min-height: 58vh !important;

    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;

    background-color: #0d0f11;
  }

  .hero-inner {
    padding-top: 260px !important;
    padding-bottom: 46px !important;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.8rem) !important;
  }

  .hero-claim {
    max-width: 20ch;
  }

  .feature-large,
  .service-card {
    padding: 28px;
  }

  section {
    padding: 80px 0;
  }

  .feature-large h3,
  .service-card h3 {
    font-size: 1.6rem;
  }

  .text-panel,
  .contact-panel {
    padding: 28px;
  }

  .workshop-gallery {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-inner img {
    height: 24px;
    max-width: 100px;
  }
}
@media (max-width: 900px) and (orientation: landscape) {

  .header-inner {
    min-height: 46px !important;
    padding: 4px 0 !important;
    gap: 10px !important;
  }

  .brand {
    gap: 8px !important;
  }

  .brand-mark,
  .logo-mark {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-text strong {
    font-size: 0.62rem !important;
    line-height: 1 !important;
  }

  .brand-text span {
    display: none !important;
  }

  .lang-switch {
    font-size: 0.7rem !important;
  }

  .hero-image {
    min-height: calc(100vh - 46px) !important;
  }

  .hero-inner {
    padding-top: 120px !important;
    padding-bottom: 28px !important;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 10vw, 4.2rem) !important;
  }

  .hero-claim {
    margin-top: 18px !important;
    font-size: 1rem !important;
  }

  .hero-actions {
    margin-top: 22px !important;
  }

  .btn {
    min-height: 40px !important;
    padding: 0 18px !important;
    font-size: 0.85rem !important;
  }
}