/* ============================================================
   COMPONENTS.CSS — AVIORA Site
   Nav, Hero, Cards, Forms, Footer i ostale komponente
   ============================================================ */

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3.2rem;
  background: linear-gradient(to bottom, rgba(10,12,14,0.98) 0%, transparent 100%);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s;
}
.site-nav.scrolled { border-bottom-color: rgba(201,168,76,0.15); }

.nav-logo {
  font-family: var(--font-disp);
  font-size: 1.42rem; font-weight: 300;
  letter-spacing: 0.08em; color: var(--white);
  text-decoration: none;
  display: flex; align-items: center; gap: 0.7rem;
}
.brand-mark {
  width: 2.25rem; height: 2.25rem;
  object-fit: contain; flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(226,201,126,0.16));
}
.nav-logo .brand-word { color: var(--white); white-space: nowrap; }
.nav-logo .brand-word span { color: var(--gold); }

.nav-links { display: flex; gap: clamp(1rem, 1.65vw, 2rem); list-style: none; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.64rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.64rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.55rem 1.4rem;
  text-decoration: none; transition: all 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; place-items: center;
  position: relative;
  padding: 8rem 4rem 6rem;
  overflow: hidden;
  background: #07090a;
}

.hero-photo {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7,9,10,0.92) 0%, rgba(7,9,10,0.58) 37%, rgba(7,9,10,0.55) 63%, rgba(7,9,10,0.94) 100%),
    linear-gradient(180deg, rgba(7,9,10,0.42) 0%, rgba(7,9,10,0.18) 44%, rgba(7,9,10,0.86) 100%),
    url("files/aviora-hero-home.webp");
  background-size: cover;
  background-position: center;
  filter: saturate(0.86) contrast(1.08);
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.78;
  mix-blend-mode: screen;
}

.hero-glow {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(226,201,126,0.08) 24%, transparent 46%, rgba(240,236,228,0.05) 58%, transparent 78%),
    linear-gradient(180deg, transparent 0%, rgba(201,168,76,0.05) 48%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 980px;
  text-shadow: 0 1rem 3rem rgba(0,0,0,0.62);
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.75rem;
  justify-content: center;
  max-width: min(860px, 100%);
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-tag::before, .hero-tag::after {
  content: ''; width: 30px; height: 1px; background: var(--gold-dim);
}

.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(3.4rem, 7.3vw, 6.7rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.01em; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.9s 0.4s forwards;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-title .outline {
  -webkit-text-stroke: 1px rgba(240,236,228,0.36);
  color: transparent;
}

.hero-sub {
  font-size: 1rem; font-weight: 400; color: rgba(240,236,228,0.72);
  max-width: 650px; margin: 0 auto 3rem; line-height: 1.82;
  opacity: 0; animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.9s 0.8s forwards;
}

.hero-quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  margin-top: 1.35rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.95s forwards;
}
.hero-quick-links a {
  color: rgba(240,236,228,0.72);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.34);
  padding-bottom: 0.18rem;
  transition: color 0.25s, border-color 0.25s;
}
.hero-quick-links a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.hero-stats {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4rem;
  opacity: 0; animation: fadeUp 0.9s 1s forwards;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-disp);
  font-size: 2.4rem; font-weight: 300;
  color: var(--gold-light); line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.3rem;
}

/* ── PARTNER CARDS ── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.partner-card {
  background: var(--bg2);
  padding: 2.5rem;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.partner-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.partner-card:hover::before { transform: scaleX(1); }
.partner-card:hover { background: var(--bg3); }

.partner-type {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-dim); margin-bottom: 1rem;
}
.partner-name {
  font-family: var(--font-disp);
  font-size: 1.6rem; font-weight: 300; margin-bottom: 0.4rem;
}
.partner-brand { font-size: 0.85rem; color: var(--muted); }

/* ── PACKAGE CARDS ── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}

.package-card {
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  background: var(--bg2);
  transition: border-color 0.3s;
}
.package-card.featured { border-color: var(--gold); }
.package-card.featured::before {
  content: 'PREPORUČENO';
  position: absolute; top: -1px; right: 2rem;
  background: var(--gold); color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.15em;
  padding: 0.3rem 0.75rem;
}
.package-card:hover { border-color: var(--gold-dim); }

.pkg-icon { font-size: 1.5rem; margin-bottom: 1.5rem; }
.pkg-name {
  font-family: var(--font-disp);
  font-size: 1.5rem; font-weight: 300; margin-bottom: 0.5rem;
}
.pkg-desc {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 1.5rem;
}
.pkg-model {
  font-family: var(--font-mono);
  font-size: 0.65rem; color: var(--gold);
  letter-spacing: 0.1em; padding: 0.4rem 0.8rem;
  border: 1px solid var(--border); display: inline-block;
}

/* ── ROADMAP ── */
.roadmap-phases {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 3.5rem; position: relative;
}
.roadmap-phases::before {
  content: '';
  position: absolute;
  top: 3.5rem; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.phase { padding: 0 2.5rem 2.5rem; text-align: center; position: relative; }

.phase-num {
  width: 56px; height: 56px;
  border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp);
  font-size: 1.4rem; font-weight: 300; color: var(--gold);
  margin: 0 auto 2rem;
  background: var(--bg2); position: relative; z-index: 1;
}
.phase-name {
  font-family: var(--font-disp);
  font-size: 1.4rem; font-weight: 300; margin-bottom: 0.5rem;
}
.phase-label {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
}
.phase-items { list-style: none; text-align: left; }
.phase-items li {
  font-size: 0.84rem; color: var(--muted);
  padding: 0.5rem 0 0.5rem 1rem;
  border-bottom: 1px solid rgba(201,168,76,0.07);
  position: relative;
}
.phase-items li::before {
  content: '—'; position: absolute; left: 0; color: var(--gold-dim);
}

/* ── BENEFITS ── */
.benefits-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center; margin-top: 3.5rem;
}

.benefit-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 3rem 1fr;
  gap: 1.5rem; align-items: start;
}
.benefit-num {
  font-family: var(--font-disp);
  font-size: 2.5rem; font-weight: 300;
  color: var(--gold); opacity: 0.4; line-height: 1;
}
.benefit-title {
  font-family: var(--font-disp);
  font-size: 1.25rem; font-weight: 300; margin-bottom: 0.4rem;
}
.benefit-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }

/* ── CERT BOX ── */
.cert-box {
  border: 1px solid var(--border);
  padding: 3rem; background: var(--bg2); position: relative;
}
.cert-box::before {
  content: 'KNX CERTIFIED';
  position: absolute; top: -0.6rem; left: 2rem;
  background: var(--gold); color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.15em; padding: 0.25rem 0.6rem;
}
.cert-logo {
  font-family: var(--font-disp);
  font-size: 3.5rem; font-weight: 300;
  color: var(--gold-light); margin-bottom: 1rem; line-height: 1;
}
.cert-title {
  font-family: var(--font-disp);
  font-size: 1.5rem; font-weight: 300; margin-bottom: 1rem;
}
.cert-desc {
  font-size: 0.84rem; color: var(--muted);
  line-height: 1.7; margin-bottom: 2rem;
}

/* ── CONTACT FORM ── */
.contact-form {
  display: flex; flex-direction: column; gap: 1rem; text-align: left;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  width: 100%; outline: none;
  transition: border-color 0.25s;
  appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select option { background: var(--bg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 4rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-disp);
  font-size: 1.25rem; font-weight: 300; text-decoration: none; color: var(--white);
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.footer-mark {
  width: 2.2rem; height: 2.2rem; object-fit: contain; flex-shrink: 0;
}
.footer-logo > span { color: var(--white); }
.footer-logo > span span { color: var(--gold); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.62rem; color: var(--muted); letter-spacing: 0.1em;
}
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.25s;
}
.footer-links a:hover { color: var(--gold); }
.footer-status-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 42ch;
}
.footer-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-facts li {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.6;
}
.footer-facts a {
  color: var(--gold-light);
  text-decoration: none;
}
.footer-facts a:hover { color: var(--gold); }

/* ── GALLERY ── */
.gallery-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.gallery-card {
  background: var(--bg);
  padding: 2.5rem;
  position: relative; overflow: hidden;
  cursor: default;
  transition: background 0.3s;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.gallery-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: opacity 0.3s;
}
.gallery-card:hover { background: var(--bg2); }
.gallery-card:hover::before { opacity: 0; }

.gc-num {
  position: absolute; top: 1.5rem; right: 2rem;
  font-family: var(--font-disp);
  font-size: 5rem; font-weight: 300; line-height: 1;
  color: rgba(201,168,76,0.08);
  transition: color 0.3s;
}
.gallery-card:hover .gc-num { color: rgba(201,168,76,0.13); }

.gc-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-dim);
  margin-bottom: 0.75rem;
}
.gc-name {
  font-family: var(--font-disp);
  font-size: 1.6rem; font-weight: 300;
  margin-bottom: 1rem; line-height: 1.2;
}
.gc-specs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.gc-specs span {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 0.25rem 0.6rem;
}

.gc-hover {
  position: absolute; inset: 0;
  background: var(--bg3);
  border-top: 2px solid var(--gold);
  padding: 2.5rem;
  display: flex; align-items: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.gc-hover p {
  font-size: 0.84rem; color: var(--muted); line-height: 1.7;
}
.gallery-card:hover .gc-hover {
  opacity: 1; transform: translateY(0);
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3.5rem;
}

.service-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover { background: var(--bg2); }
.service-card:hover::before { transform: scaleX(1); }
.service-card--accent { background: var(--bg2); border-top: 2px solid var(--gold); }

.svc-num {
  font-family: var(--font-disp);
  font-size: 0.85rem; color: var(--gold-dim);
  margin-bottom: 1.25rem;
}
.svc-name {
  font-family: var(--font-disp);
  font-size: 1.25rem; font-weight: 300;
  line-height: 1.3; margin-bottom: 0.75rem;
}
.svc-desc {
  font-size: 0.8rem; color: var(--muted); line-height: 1.65;
}

/* ── KONTAKT LAYOUT ── */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  max-width: var(--container);
  margin: 0 auto;
}

.kontakt-garantije {
  display: flex; flex-direction: column;
  gap: 0.75rem; margin-top: 2.5rem;
}
.kg-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--muted);
}
.kg-icon { color: var(--gold); font-size: 0.9rem; }

.brand-status-card {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(201,168,76,0.035);
}
.brand-status-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
  margin-top: 0.75rem;
}
.brand-status-card dl {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.brand-status-card dl div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(201,168,76,0.08);
}
.brand-status-card dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand-status-card dd {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── PROJECT FORM ── */
.project-form { gap: 1.25rem; }

.form-section-label {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem; display: block;
}

.project-type-grid {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.pt-option {
  cursor: pointer;
}
.pt-option input { display: none; }
.pt-option span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.2s;
}
.pt-option input:checked + span {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}
.pt-option span:hover { border-color: var(--gold-dim); color: var(--white); }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }

.services-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.svc-check {
  cursor: pointer;
  display: flex; align-items: center;
}
.svc-check input { display: none; }
.svc-check span {
  display: block; width: 100%;
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.08em;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.2s;
}
.svc-check input:checked + span {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}
.svc-check span:hover { border-color: var(--gold-dim); color: var(--white); }

/* ── FILE UPLOAD ── */
.file-upload-area {
  position: relative;
  border: 1px dashed var(--border);
  transition: border-color 0.25s;
}
.file-upload-area:hover { border-color: var(--gold-dim); }
.file-upload-area.has-file { border-color: var(--gold); border-style: solid; }

.file-upload-area input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.file-upload-label {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer;
}
.fu-icon { font-size: 1.2rem; color: var(--gold-dim); flex-shrink: 0; }
.fu-text {
  font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted);
}
.fu-note {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: var(--gold-dim); margin-left: auto;
}
.fu-selected {
  font-family: var(--font-mono);
  font-size: 0.7rem; color: var(--gold);
  padding: 0 1.25rem 0.75rem;
  display: none;
}
.fu-selected.visible { display: block; }

/* ── ZA DIZAJNERE ── */
.diz-intro {
  text-align: center; max-width: 680px;
  margin: 0 auto 4rem;
}
.diz-intro p {
  color: var(--muted); font-size: 0.9rem;
  line-height: 1.8; margin-top: 1.25rem;
}

.diz-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}

.diz-label {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem;
}

.diz-item {
  display: grid; grid-template-columns: 2rem 1fr;
  gap: 1rem; align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.diz-item-icon { color: var(--gold-dim); font-size: 1rem; padding-top: 2px; }
.diz-item-title {
  font-family: var(--font-disp);
  font-size: 1.1rem; font-weight: 300; margin-bottom: 0.3rem;
}
.diz-item-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.65; }

.diz-timeline {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted);
}
.diz-tl-badge {
  background: var(--gold); color: var(--bg);
  font-family: var(--font-mono); font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem; flex-shrink: 0;
}

/* ── DIZAJNER UPLOAD AREA ── */
.diz-upload-area {
  position: relative;
  border: 1px dashed var(--border);
  margin-bottom: 1.25rem;
  min-height: 180px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden; cursor: pointer;
}
.diz-upload-area:hover { border-color: var(--gold-dim); background: var(--bg3); }
.diz-upload-area.has-image { border-color: var(--gold); border-style: solid; }

.diz-upload-area input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2;
}
.diz-upload-inner {
  text-align: center; padding: 2.5rem;
  pointer-events: none;
}
.diz-upload-icon {
  font-size: 2rem; color: var(--gold-dim); margin-bottom: 0.75rem; line-height: 1;
}
.diz-upload-title {
  font-family: var(--font-disp);
  font-size: 1.2rem; font-weight: 300; margin-bottom: 0.4rem;
}
.diz-upload-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.1em; color: var(--muted);
}

.diz-preview {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 0.4s; pointer-events: none;
}
.diz-preview.visible { opacity: 1; }

.diz-upload-area.has-image .diz-upload-inner { display: none; }

.diz-remove {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
  background: rgba(10,12,14,0.85);
  border: 1px solid var(--border);
  color: var(--muted); cursor: pointer;
  font-family: var(--font-mono); font-size: 0.65rem;
  padding: 0.3rem 0.6rem; letter-spacing: 0.08em;
  transition: color 0.2s, border-color 0.2s;
}
.diz-remove:hover { color: #e07070; border-color: #e07070; }

@media (max-width: 900px) {
  .diz-layout { grid-template-columns: 1fr; gap: 3rem; }
}

/* ── AUDIENCE (Za projektante / dizajnere) ── */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.audience-card {
  border: 1px solid var(--border);
  padding: 3rem;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 1.5rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s;
}
.audience-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.audience-card:hover::after { transform: scaleX(1); }
.audience-card:hover { border-color: var(--gold-dim); }

.audience-card--alt {
  background: var(--bg3);
}

.aud-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.aud-tag::before {
  content: ''; width: 20px; height: 1px; background: var(--gold-dim);
}

.aud-title {
  font-family: var(--font-disp);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 300; line-height: 1.2;
}
.aud-title em { font-style: italic; color: var(--gold-light); }

.aud-desc {
  font-size: 0.88rem; color: var(--muted);
  line-height: 1.75;
}

.aud-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0;
  flex: 1;
}
.aud-list li {
  font-size: 0.84rem; color: var(--muted);
  padding: 0.65rem 0 0.65rem 1.25rem;
  border-bottom: 1px solid rgba(201,168,76,0.07);
  position: relative;
}
.aud-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--gold-dim); font-size: 0.75rem;
}

.aud-cta {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  padding-top: 0.5rem;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}
.home-path-card {
  min-height: 24rem;
  padding: 2.5rem;
  background: var(--bg);
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: background 0.25s, color 0.25s;
}
.home-path-card--accent {
  background: var(--bg3);
}
.home-path-card strong {
  display: block;
  font-family: var(--font-disp);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 300;
  line-height: 1.15;
}
.home-path-card > span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}
.home-path-card:hover {
  background: var(--bg3);
}
.home-path-card:hover strong {
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr; }
  .home-path-grid { grid-template-columns: 1fr; }
  .home-path-card { min-height: 18rem; }
}

/* ── KONFIGURATOR CTA ── */
.kconf-section {
  padding: var(--section-pad);
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.kconf-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 4rem; flex-wrap: wrap;
  max-width: var(--container); margin: 0 auto;
  padding: 3rem 4rem;
  border: 1px solid var(--gold);
  position: relative; overflow: hidden;
}
.kconf-inner::before {
  content: 'KNX';
  position: absolute; right: -1rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-disp);
  font-size: 14rem; font-weight: 300; line-height: 1;
  color: rgba(201,168,76,0.04);
  pointer-events: none;
}
.kconf-text { max-width: 560px; }
.kconf-text p {
  color: var(--muted); font-size: 0.9rem;
  line-height: 1.75; margin: 1.25rem 0 1.5rem;
}
.kconf-features {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.kconf-features li {
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.1em;
  color: var(--gold); border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
}
.kconf-action {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem; flex-shrink: 0;
}
.kconf-note {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
}

/* ── HAMBURGER ── */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; height: 1px; background: var(--white);
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.nav-burger span:nth-child(3) { width: 60%; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { width: 100%; transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE OVERLAY ── */
.nav-mobile-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 98;
  background: rgba(10,12,14,0.7); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s;
}
.nav-mobile-overlay.open { opacity: 1; }

/* ── MOBILE DRAWER ── */
.nav-mobile {
  display: none;
  position: fixed; top: 0; right: 0; z-index: 99;
  width: min(320px, 85vw); height: 100vh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  padding: 6rem 2.5rem 3rem;
  flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.nav-mobile ul li { border-bottom: 1px solid var(--border); }
.nav-mobile ul a {
  display: block; padding: 1.1rem 0;
  font-family: var(--font-disp); font-size: 1.5rem; font-weight: 300;
  color: var(--white); text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile ul a:hover { color: var(--gold); padding-left: 0.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile-overlay { display: block; }
  .nav-mobile { display: flex; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-photo {
    background-position: center top;
    background-image:
      linear-gradient(90deg, rgba(7,9,10,0.88) 0%, rgba(7,9,10,0.58) 50%, rgba(7,9,10,0.9) 100%),
      linear-gradient(180deg, rgba(7,9,10,0.5) 0%, rgba(7,9,10,0.18) 42%, rgba(7,9,10,0.9) 100%),
      url("files/aviora-hero-home.webp");
  }
  .hero-tag { font-size: 0.58rem; letter-spacing: 0.16em; line-height: 1.7; }
  .hero-title { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-sub { font-size: 0.95rem; line-height: 1.75; }
  .hero-quick-links { gap: 0.8rem 1rem; }
  .hero-quick-links a { font-size: 0.6rem; }
  .hero-stats { gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .kconf-inner { padding: 2rem; flex-direction: column; }
  .kconf-inner::before { display: none; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 3rem; }
  .services-check-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-phases { grid-template-columns: 1fr; }
  .roadmap-phases::before { display: none; }
  .audience-grid { grid-template-columns: 1fr; }
  .benefits-layout { grid-template-columns: 1fr; gap: 3rem; }
  footer { flex-direction: column; text-align: center; padding: 2.5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .nav-logo { font-size: 1.18rem; gap: 0.45rem; }
  .brand-mark { width: 1.9rem; height: 1.9rem; }
  .brand-status-card dl div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .site-nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile-overlay { display: block; }
  .nav-mobile { display: flex; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
