:root {
  --navy: #1b3448;
  --navy-2: #24445d;
  --blue: #2a6aa8;
  --orange: #d9731a;
  --orange-dark: #b85f12;
  --ink: #1f2a33;
  --muted: #5b6b78;
  --line: #dfe6ec;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

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

/* Fejléc */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 62px; }
.brand span { font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.brand small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 6px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-dark); background: #fbf1e7; }
.nav a.cta { background: var(--orange); color: #fff; margin-left: 6px; }
.nav a.cta:hover { background: var(--orange-dark); color: #fff; }

.menu-btn {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy);
}
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.cta { margin: 12px 0 0; text-align: center; border-radius: 8px; border: 0; }
  .brand small { display: none; }
}

/* Nyitó blokk */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: #e9f0f5;
  padding: 88px 0 80px;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.6rem); max-width: 16ch; margin-bottom: .35em; }
.hero .sub { color: #f4a25a; font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 600; margin-bottom: 1em; }
.hero .lead { font-size: 1.12rem; max-width: 60ch; color: #d6e1ea; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 24px; border-radius: 8px; border: 2px solid transparent;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.facts { background: var(--navy-2); color: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 22px 16px; border-left: 1px solid rgba(255,255,255,.12); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-size: 1.5rem; color: #f4a25a; line-height: 1.2; }
.fact span { font-size: .95rem; color: #d6e1ea; }
@media (max-width: 700px) {
  .facts .wrap { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .fact:first-child { border-top: 0; }
}

/* Szakaszok */
section { padding: 80px 0; }
.soft { background: var(--bg-soft); }
.kicker { color: var(--orange-dark); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4em; }
.rule { width: 64px; height: 3px; background: var(--orange); border: 0; margin: 0 0 28px; }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.about .logo-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about .logo-box { max-width: 420px; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; border-top: 4px solid var(--blue);
}
.card:nth-child(2n) { border-top-color: var(--orange); }
.card svg { width: 40px; height: 40px; color: var(--navy); margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

.work-intro { max-width: 70ch; }
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 12px; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } }
.work h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.work h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }
.work ul { margin: 0; padding: 0; list-style: none; }
.work li { padding: 9px 0 9px 18px; border-bottom: 1px dashed var(--line); position: relative; font-size: .97rem; }
.work li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 6px; height: 2px; background: var(--blue); }

/* Kapcsolat */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact > *, .about > *, .work > *, .two > * { min-width: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .panel dl { grid-template-columns: 1fr; gap: 0; } .panel dd { margin-bottom: 10px; } }
.phone { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--navy); text-decoration: none; display: inline-block; margin-bottom: .2em; }
.phone:hover { color: var(--orange-dark); }
.mail { font-size: 1.15rem; font-weight: 700; word-break: break-all; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1em; }
.steps li { counter-increment: s; position: relative; padding: 0 0 12px 40px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center;
}

/* Szoftver oldal */
.page-head { background: var(--navy); color: #d6e1ea; padding: 64px 0 56px; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.page-head p { max-width: 62ch; font-size: 1.1rem; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.price.featured { border: 2px solid var(--orange); }
.price .qty { font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.price .amount { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 6px 0 2px; }
.price .vat { color: var(--muted); font-size: .95rem; }
.note { background: #fbf1e7; border-left: 4px solid var(--orange); padding: 16px 20px; border-radius: 6px; }

/* Lábléc */
.site-footer { background: var(--navy); color: #b9c8d4; padding: 40px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
