/* ========================================================
   FORTIVIO — Patient Acquisition Agency
   ======================================================== */

:root {
  --bg: #0a0a0d;
  --bg-alt: #121218;
  --surface: #15151c;
  --surface-2: #1b1b23;
  --border: #2a2a34;
  --text: #f3f0ea;
  --text-dim: #9b9aa5;
  --gold: #c9a961;
  --gold-bright: #e0c584;
  --accent-text: #0a0a0d;
  --radius: 14px;
  --max-w: 1240px;
  --nav-h: 84px;
  --ff-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
h1 em, h2 em { color: var(--gold); font-style: italic; font-weight: 600; }

p.lead { font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--text-dim); max-width: 600px; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 8px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--accent-text); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--accent-text); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 13, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  background: #fff9ed;
  padding: 8px 14px;
  border-radius: 8px;
}
.logo-img { height: 30px; width: auto; display: block; }
.footer-row .logo-img { height: 26px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang-pill {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.lang-pill a {
  padding: 8px 15px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-pill a.active { background: var(--gold); color: var(--accent-text); }
.lang-pill a:not(.active):hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--nav-h) + 90px) 0 80px;
  position: relative;
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 0.85fr; gap: 60px; align-items: start; }
.hero-cta-row { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.hero-stat-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hero-stat-card {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  padding: 26px 28px;
  border-bottom: 1px solid var(--border);
}
.hero-stat-card:last-child { border-bottom: none; }
.hero-stat-num { font-family: var(--ff-display); font-size: clamp(1.6rem, 2vw, 2.1rem); color: var(--gold); font-weight: 700; }
.hero-stat-label { color: var(--text-dim); font-size: 0.88rem; margin-top: 6px; }

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 70px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}
.scroll-indicator .line { width: 1px; height: 40px; background: var(--border); }

/* ---------- Sections generic ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 56px; max-width: 720px; }

/* ---------- About / Ko smo mi ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.about-divider { width: 60px; height: 3px; background: var(--gold); margin: 22px 0 26px; }
.about-side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 18px;
}
.about-side-card:last-child { margin-bottom: 0; }
.about-side-card h4 { font-family: var(--ff-body); font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.about-side-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Services grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.service-icon { font-size: 1.8rem; margin-bottom: 20px; }
.service-card h3 { font-family: var(--ff-body); font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Process / Kako funkcioniše ---------- */
.steps-row { position: relative; display: flex; justify-content: space-between; margin-top: 50px; gap: 10px; }
.steps-row::before { content: ""; position: absolute; top: 28px; left: 30px; right: 30px; height: 1px; background: var(--border); z-index: 0; }
.step-item { flex: 1; text-align: center; padding: 0 10px; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); color: var(--gold); font-size: 1.15rem;
  position: relative; z-index: 1;
  margin: 0 auto 20px;
}
.step-item h4 { font-family: var(--ff-body); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.step-item p { color: var(--text-dim); font-size: 0.86rem; }

/* ---------- Market / Tržište ---------- */
.market-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
}
.market-code { font-family: var(--ff-display); font-size: 1rem; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 18px; }
.market-country { font-weight: 600; margin-bottom: 14px; }
.market-num { font-family: var(--ff-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.market-label { color: var(--text-dim); font-size: 0.85rem; }

.quote-box {
  border-left: 3px solid var(--gold);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 32px;
  margin-top: 36px;
  color: var(--text-dim);
}

.roi-box {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 24px;
  background: rgba(201, 169, 97, 0.06);
}
.roi-box h4 { font-family: var(--ff-body); font-size: 0.95rem; color: var(--gold); margin-bottom: 10px; letter-spacing: 0.04em; }
.roi-box p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- Pricing / Cene ---------- */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  max-width: 720px;
}
.pricing-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.pricing-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.pricing-badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.pricing-amount { font-family: var(--ff-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--gold); font-weight: 700; }
.pricing-amount span { font-family: var(--ff-body); font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.pricing-divider { height: 1px; background: var(--border); margin: 26px 0; }
.pricing-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.95rem; }
.pricing-list li::before { content: "●"; color: var(--gold); font-size: 0.5rem; margin-top: 8px; }
.pricing-footnote { color: var(--text-dim); font-size: 0.86rem; margin-top: 20px; }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; max-width: 720px; }
.trust-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.trust-item strong { display: block; color: var(--text); font-size: 0.9rem; margin-bottom: 6px; }

/* ---------- Contact / Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-info-row { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-icon-box {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-row h4 { font-family: var(--ff-body); font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-row p { color: var(--text-dim); font-size: 0.92rem; }
.contact-info-row .contact-name { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-status { margin-top: 16px; font-size: 0.9rem; color: var(--gold); display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 60px 0 28px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.8rem; flex-wrap: wrap; gap: 10px;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-row { flex-wrap: wrap; row-gap: 40px; }
  .steps-row::before { display: none; }
  .trust-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); padding: 24px 32px;
    border-bottom: 1px solid var(--border); gap: 18px;
  }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .pricing-card { padding: 30px; }
}
