* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #fafaf7;
  --ink: #0a0a0a;
  --ink-60: #525252;
  --ink-40: #a3a3a3;
  --line: #e7e5e0;
  --line-strong: #d4d2cc;
  --accent: #ff4d1f;
  --card: #ffffff;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Geist', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 16px;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* sakrij body dok se prevodi ne učitaju, izbegava FOUC */
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.i18n-ready { opacity: 1; }

.mono {
  font-family: 'Geist Mono', monospace;
  font-feature-settings: normal;
  letter-spacing: -0.01em;
}

.serif {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.container { padding: 0 24px; max-width: 480px; margin: 0 auto; }

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 480px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.lang {
  display: flex;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.lang button {
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-40);
  border-radius: 100px;
  transition: color 0.15s, background 0.15s;
}
.lang button.active {
  color: var(--ink);
  background: var(--line);
}

/* ============ HERO ============ */
.hero {
  padding: 80px 0 96px;
  position: relative;
}
.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(48px, 14vw, 60px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero h1 .it {
  font-style: italic;
  color: var(--ink-60);
}
.hero-sub {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-60);
  margin-bottom: 40px;
  max-width: 340px;
  letter-spacing: -0.005em;
}

.cta-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, opacity 0.2s;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.btn-primary:hover .arrow { transform: translateX(2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 14px 12px;
}

/* ============ SECTIONS ============ */
section { padding: 72px 0; }
.section-head { margin-bottom: 40px; }
.section-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-40);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--ink-40);
}
.section-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 320px;
}
.section-title .it { font-style: italic; color: var(--ink-60); }

/* ============ SERVICES ============ */
.services { border-top: 1px solid var(--line); }
.service {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  display: block;
  cursor: pointer;
  position: relative;
  transition: padding 0.2s;
}
.service-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.service-main { flex: 1; }
.service-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.service-desc {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.5;
}
.service-toggle {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
  font-size: 14px;
  color: var(--ink-60);
}
.service-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
}
.service.open .service-detail {
  max-height: 400px;
  opacity: 1;
  margin-top: 20px;
}
.service.open .service-toggle {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: rotate(45deg);
}
.service.static { cursor: default; }
.service-list { list-style: none; }
.service-list li {
  font-size: 13.5px;
  color: var(--ink-60);
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.service-list li:first-child { border-top: none; }

/* ============ CONTACT ============ */
.contact-section { padding: 72px 0 96px; }
.contact-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
}
.contact-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(250, 250, 247, 0.5);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-meta::before {
  content: '';
  width: 16px;
  height: 1px;
  background: rgba(250, 250, 247, 0.3);
}
.contact-title {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.contact-title .it { font-style: italic; color: var(--accent); }
.contact-sub {
  font-size: 14px;
  color: rgba(250, 250, 247, 0.65);
  margin-bottom: 32px;
  line-height: 1.5;
  max-width: 280px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(250, 250, 247, 0.12);
}
.contact-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  text-decoration: none;
  color: var(--bg);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(250, 250, 247, 0.12);
  transition: padding 0.2s, opacity 0.15s;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
}
.contact-method:active { padding-left: 4px; opacity: 0.7; }
.method-info { display: flex; flex-direction: column; gap: 2px; }
.method-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: rgba(250, 250, 247, 0.5);
  letter-spacing: 0.04em;
}
.method-value {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
/* Gradovi u kojima radimo — isti stil kao "Bez obaveze" (Instrument Serif italic, accent) */
.contact-locations {
  margin-top: 24px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--accent);
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px 32px;
}
.footer-inner { max-width: 480px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 24px;
}
.footer-logo {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.footer-tag {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-60);
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ink-40);
  letter-spacing: 0.04em;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
body.i18n-ready .hero h1 { animation: fadeUp 0.7s ease-out 0.15s both; }
body.i18n-ready .hero-sub { animation: fadeUp 0.7s ease-out 0.3s both; }
body.i18n-ready .cta-row { animation: fadeUp 0.7s ease-out 0.45s both; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 520px) {
  .container, .nav, .footer-inner { max-width: 460px; }
}
