:root {
  --orange: #f26a1b;
  --orange-d: #d4540a;
  --ink: #14213d;
  --ink-2: #1f2f52;
  --text: #2b3445;
  --muted: #667085;
  --bg: #ffffff;
  --soft: #f4f6fa;
  --line: #e3e7ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 33, 61, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* fejléc */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { width: 200px; height: auto; }
nav .menu, nav .sub { list-style: none; margin: 0; padding: 0; }
nav .menu { display: flex; gap: 4px; }
nav .menu > li { position: relative; }
nav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; }
nav a:hover, nav a[aria-current="page"] { color: var(--orange-d); background: #fff3eb; }
nav .sub {
  position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none;
}
nav .sub a { font-weight: 500; white-space: nowrap; }
nav .has-sub:hover > .sub, nav .has-sub:focus-within > .sub { display: block; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); content: ""; transition: .2s; }
.burger span { top: 22px; }
.burger span::before { left: 0; right: 0; top: -7px; }
.burger span::after { left: 0; right: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* hero */
.hero {
  color: #fff; padding: clamp(70px, 12vw, 150px) 0;
  background: linear-gradient(100deg, rgba(20,33,61,.94) 25%, rgba(20,33,61,.55)), url(../img/iStock_3881046_LARGE.jpg) center/cover;
}
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 54px); max-width: 18em; margin: .2em 0 .4em; letter-spacing: -.01em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: #ffb48a; margin: 0; }
.lead { font-size: clamp(17px, 2vw, 21px); max-width: 38em; color: #dfe5f1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; background: var(--orange); color: #fff !important; text-decoration: none; font-weight: 700;
  padding: 13px 26px; border-radius: 999px; border: 2px solid var(--orange); transition: .15s;
}
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }

/* aloldal fejléc */
.page-hero { background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 72px) 0; position: relative; isolation: isolate; }
.page-hero.has-img { background: linear-gradient(100deg, rgba(20,33,61,.95) 30%, rgba(20,33,61,.6)), var(--bg) center/cover; }
.page-hero:not(.has-img) { background: linear-gradient(120deg, var(--ink), var(--ink-2)); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--orange); }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(28px, 4.5vw, 46px); }
.crumbs { margin: 0 0 8px; font-size: 14px; color: #b8c2d9; }
.crumbs a { color: #ffb48a; }

/* tartalom */
main { min-height: 50vh; }
.prose { padding: clamp(36px, 6vw, 70px) 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.7rem; margin: 1.8em 0 .6em; padding-bottom: .3em; border-bottom: 3px solid var(--orange); display: inline-block; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.4em; color: var(--orange-d); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--orange); }
.prose img.float { float: right; width: min(340px, 42%); margin: 6px 0 20px 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose::after { content: ""; display: block; clear: both; }
.prose b, .prose strong { color: var(--ink); }
.prose a[target] { word-break: break-word; }

/* harmonika */
details { display: flow-root; background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 10px; margin: 14px 0; }
details summary { cursor: pointer; padding: 12px 18px; font-weight: 700; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 10px; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; line-height: 1; }
details[open] summary::before { content: "–"; }
details .more { padding: 2px 20px 14px; font-size: .96rem; clear: both; }

/* főoldal */
.intro { background: var(--soft); }
.intro .prose { padding: clamp(40px, 6vw, 80px) 0; font-size: 1.1rem; }
.intro .prose p:first-child { font-size: 1.3rem; color: var(--ink); font-weight: 500; }
.services { padding: clamp(40px, 6vw, 80px) 0; }
.services h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 1.2em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; padding: clamp(0px, 3vw, 40px) 0; }
.services .grid { padding: 0; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); border-color: var(--orange); }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card div { padding: 18px 22px 24px; }
.card h3 { margin: 0 0 .3em; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.cta { background: linear-gradient(120deg, var(--orange), var(--orange-d)); color: #fff; text-align: center; padding: 60px 0; }
.cta h2 { color: #fff; margin: 0 0 .3em; font-size: clamp(26px, 3.5vw, 36px); }
.cta .btn { background: #fff; color: var(--orange-d) !important; border-color: #fff; margin-top: 10px; }
.cta .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff !important; }

/* referenciák */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin: 8px 0 30px; }
.logos figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 22px; height: 120px; }
.logos img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; }

/* elérhetőség */
.contact { max-width: 640px; }
.contact p { font-size: 1.15rem; }

/* lábléc */
.site-footer { background: var(--ink); color: #c4cde0; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 36px; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .8em; }
.site-footer a { color: #ffb48a; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin: 0; font-size: .95rem; }
.flogo { filter: brightness(0) invert(1); margin-bottom: 14px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px; font-size: .85rem; color: #8f9bb5; }

@media (max-width: 900px) {
  .burger { display: block; }
  nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - 76px); overflow: auto; box-shadow: var(--shadow); }
  nav.open { display: block; }
  nav .menu { flex-direction: column; padding: 10px 20px 20px; }
  nav .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  nav .sub a { white-space: normal; font-size: 14.5px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .prose img.float { float: none; width: 100%; margin: 0 0 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
