/* MEDZI NAMI — V04 */
:root {
  --bg: #050505;
  --bg-elev: #0c0c0c;
  --gold: #d4a017;
  --gold-bright: #f0c14b;
  --gold-soft: #b8860b;
  --gold-dim: rgba(212, 160, 23, 0.35);
  --text: #f5f0e6;
  --text-dim: rgba(245, 240, 230, 0.72);
  --line: rgba(212, 160, 23, 0.28);
  --font: "Montserrat", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Mesh canvas */
.bg-photo {
  position: fixed;
  inset: -8%;
  width: 116%;
  height: 116%;
  z-index: 0;
  pointer-events: none;
  background: #050505 center / cover no-repeat;
  opacity: 0.38;
  filter: saturate(1.25) contrast(1.1) brightness(0.68);
  transform: translate3d(0,0,0) scale(1.12);
  will-change: transform;
}

.mesh-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(5,5,5,0.92), rgba(5,5,5,0.55) 70%, transparent);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  max-width: 160px;
}

.logo-img {
  height: 28px !important;
  width: auto !important;
  max-width: 150px !important;
  max-height: 28px !important;
  display: block;
  object-fit: contain;
}

.nav-main {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-main a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 0.35rem;
  font-weight: 500;
  transition: color .2s ease;
}

.nav-main a:hover,
.nav-main a.active { color: var(--gold-bright); }

.nav-main a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

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

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-size: 0.72rem;
}

.btn-outline:hover {
  background: rgba(212, 160, 23, 0.12);
}

.btn-solid {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #111;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  box-shadow: 0 10px 40px rgba(212, 160, 23, 0.28);
}

.btn-solid:hover {
  background: linear-gradient(135deg, #ffe08a, var(--gold-bright));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--gold-bright);
}

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 4rem;
  position: relative;
}

.hero-center {
  text-align: center;
  max-width: min(980px, 94vw);
  margin: 0 auto 3.5rem;
  animation: fadeUp .9s ease both;
}

.hero-logo {
  width: min(920px, 94vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 0 32px rgba(240, 193, 75, 0.3));
  animation: logoGlow 4.5s ease-in-out infinite;
  object-fit: contain;
}

.hero-title {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(212, 160, 23, 0.25);
}

.hero-title.sr-only-visual {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero-subtitle {
  font-size: clamp(0.75rem, 1.6vw, 0.95rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-subtitle.is-in-logo {
  display: none;
}

.hero-lead {
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  animation: fadeUp 1s ease 0.15s both;
}

.feature {
  text-align: center;
  padding: 0.5rem;
}

.feature-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--gold-bright);
  display: grid;
  place-items: center;
}

.feature-ico svg { width: 36px; height: 36px; }

.feature h3 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  margin-bottom: 0.55rem;
  font-weight: 650;
}

.feature p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.discover {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.discover-circle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  animation: bob 2.2s ease-in-out infinite;
}

.quote-line {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quote-line::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
}

/* Side navigation — stretched panel matching design */
.side-nav {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(200px, 22vw);
  min-height: min(420px, 58vh);
  padding: 0.5rem 0;
  align-items: stretch;
}

.side-rail {
  position: absolute;
  right: 5px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(245, 240, 230, 0.35) 12%,
    rgba(245, 240, 230, 0.35) 88%,
    transparent 100%
  );
}

.side-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.95rem;
  min-height: 4.25rem;
  padding-right: 0.15rem;
  color: var(--text);
  text-transform: uppercase;
  text-align: right;
}

.side-nav a .side-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  line-height: 1.1;
}

.side-nav a .num {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(245, 240, 230, 0.38);
  font-weight: 500;
}

.side-nav a .label {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: rgba(245, 240, 230, 0.92);
}

.side-nav a .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 240, 230, 0.7);
  background: transparent;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.side-nav a.active .num,
.side-nav a:hover .num {
  color: var(--gold-bright);
}

.side-nav a.active .label,
.side-nav a:hover .label {
  color: #fff;
}

.side-nav a.active .dot {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(240, 193, 75, 0.75);
}

.side-nav a:hover .dot {
  border-color: var(--gold-bright);
}

/* Sections */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.85rem;
  font-weight: 550;
}

.section-lead {
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  font-size: 1.02rem;
}

.page-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.page-hero p {
  color: var(--text-dim);
  max-width: 48ch;
  margin-inline: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  backdrop-filter: blur(6px);
  transition: border-color .2s ease, transform .2s ease;
}

.card:hover {
  border-color: rgba(212, 160, 23, 0.55);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.card p { color: var(--text-dim); font-size: 0.95rem; }

.steps {
  display: grid;
  gap: 1rem;
  max-width: 680px;
}

.step {
  display: flex;
  gap: 1.1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step h3 {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.step p { color: var(--text-dim); font-size: 0.9rem; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq summary {
  cursor: pointer;
  color: var(--gold-bright);
  font-weight: 600;
  letter-spacing: 0.04em;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details p {
  color: var(--text-dim);
  margin-top: 0.7rem;
  max-width: 60ch;
}

.consultants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.consultant {
  text-align: center;
  padding: 2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}

.consultant-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(212, 160, 23, 0.08);
}

.consultant h3 {
  color: var(--text);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.consultant .role {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.consultant p { color: var(--text-dim); font-size: 0.9rem; }

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: rgba(0,0,0,0.35);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer-inner a { color: var(--gold); }
.footer-inner a:hover { color: var(--gold-bright); }

/* Mobile nav */
.nav-overlay { display: none; }

@media (max-width: 980px) {
  .nav-main, .side-nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .features, .cards, .consultants { grid-template-columns: 1fr; }
  .header-actions .btn-outline { display: none; }

  .nav-overlay.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0,0,0,0.7);
  }

  .nav-drawer {
    margin-left: auto;
    width: min(320px, 90vw);
    height: 100%;
    background: #0a0a0a;
    border-left: 1px solid var(--line);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .nav-drawer a {
    padding: 0.85rem 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(212,160,23,0.12);
  }

  .nav-drawer a:hover,
  .nav-drawer a.active { color: var(--gold-bright); }

  .nav-drawer-actions {
    margin-top: auto;
    display: grid;
    gap: 0.75rem;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(240, 193, 75, 0.22)); }
  50% { filter: drop-shadow(0 0 38px rgba(240, 193, 75, 0.42)); }
}
