/* Balazs Ordodi - Modern Consultant (Direction C) */
:root {
  --bg: #FBF9F6;
  --bg-alt: #F3EFE8;
  --ink: #1D2330;
  --ink-soft: #444C5E;
  --accent-1: #4338CA;
  --accent-2: #C2410C;
  --grad: linear-gradient(120deg, #4338CA 0%, #7C3AED 55%, #C2410C 130%);
  --card: #FFFFFF;
  --line: #E5DFD4;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(29, 35, 48, 0.08);
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--ink-soft); }
a { color: var(--accent-1); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--accent-1); }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--accent-2); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 10px 20px !important;
  border-radius: 999px; border-bottom: none !important; transition: background .2s;
}
.nav-cta:hover { background: var(--accent-1); }

.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: inline-block; padding: 12px 0; }
  .nav-cta { margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.kicker {
  display: inline-block; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px;
}
.hero p.lead { font-size: 1.2rem; margin: 22px 0 34px; max-width: 620px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }

/* ---------- Stat bar ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: "Sora", sans-serif; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
.stat-label { font-size: 0.95rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 680px) { .stats-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 2px 10px rgba(29,35,48,0.04);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card .role-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--accent-1);
  background: #EEF0FE; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.card p { font-size: 0.97rem; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin-top: 12px; font-size: 1.05rem; }
.alt { background: var(--bg-alt); }

/* ---------- Track record ---------- */
.result-card { border-left: 5px solid; border-image: var(--grad) 1; }
.result-num { font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 6px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 18px; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--grad); border: 3px solid var(--bg);
}
.timeline .t-period { font-size: 0.85rem; font-weight: 600; color: var(--accent-2); letter-spacing: 0.05em; }
.timeline h3 { margin: 2px 0 4px; }
.timeline p { font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); border-radius: var(--radius); padding: 56px 48px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9CEDA; margin-top: 8px; }
@media (max-width: 680px) { .cta-band { padding: 40px 28px; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
input, select, textarea {
  width: 100%; padding: 13px 16px; font: inherit; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 10px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-1); }
button.btn { border: 0; cursor: pointer; font-family: inherit; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0; background: var(--card); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.foot-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; }
.foot-links a:hover { color: var(--accent-1); }
footer .copy { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Scroll animation ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 72px 0 40px; }
.page-hero p { font-size: 1.15rem; max-width: 640px; margin-top: 16px; }

.check-list { list-style: none; }
.check-list li { padding-left: 34px; position: relative; margin-bottom: 14px; color: var(--ink-soft); }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--accent-2);
}
