:root {
  /* A logóból vett fő irány: aranysárga + grafit/fekete + világos szürke */
  --gold: #e9b849;
  --gold-strong: #f0ba22;
  --gold-dark: #b98600;
  --graphite: #292922;
  --graphite-2: #3a3a32;
  --grey: #77766e;
  --light-bg: #f6f6f4;
  --light-bg-2: #eeeeeb;
  --card: #ffffff;
  --line: #dfded9;
  --text: #252520;
  --muted: #6d6c64;
  --shadow: 0 18px 50px rgba(41, 41, 34, .10);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(233, 184, 73, .15), transparent 34rem),
    linear-gradient(180deg, #fafafa 0%, var(--light-bg) 42%, #ffffff 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--graphite);
  color: #f5f1e7;
  font-size: 14px;
  border-bottom: 3px solid var(--gold);
}
.topbar__inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--gold); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(41,41,34,.08);
}
.header__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}
.logo img {
  width: 190px;
  height: auto;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  font-weight: 800;
  color: var(--graphite-2);
  padding: 12px 15px;
  border-radius: 999px;
}
.nav a:hover,
.nav a.active {
  background: var(--graphite);
  color: #fff;
}
.nav a.active {
  box-shadow: inset 0 -3px 0 var(--gold);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--graphite);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(41,41,34,.11) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .5;
  pointer-events: none;
}
.hero {
  padding: 84px 0 72px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(246,246,244,.78)),
    linear-gradient(120deg, rgba(233,184,73,.22), transparent 45%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--gold-dark);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}
h1, h2, h3 { line-height: 1.13; margin: 0 0 14px; color: var(--graphite); }
h1 { font-size: clamp(42px, 7vw, 72px); letter-spacing: -.05em; max-width: 900px; }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.035em; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
  max-width: 760px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 18px;
}
.hero__note {
  color: var(--muted);
  font-size: 15px;
  max-width: 680px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: var(--graphite);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(185, 134, 0, .22);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); color: var(--graphite); }
.btn--ghost {
  background: #fff;
  color: var(--graphite);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--dark {
  background: var(--graphite);
  color: #fff;
  box-shadow: none;
}
.btn--dark:hover { color: var(--gold); }

.hero-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f7f7f5);
  border: 1px solid rgba(41,41,34,.09);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.hero-card::after {
  content: "⚡";
  position: absolute;
  right: 24px;
  bottom: 14px;
  font-size: 90px;
  color: rgba(233,184,73,.16);
  line-height: 1;
}
.hero-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.status-dot {
  width: 13px; height: 13px; border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(233,184,73,.18);
}
.check-list { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.check-list li {
  padding: 11px 0 11px 32px;
  border-bottom: 1px solid var(--line);
  color: var(--graphite-2);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "✓";
  position: absolute;
  margin-left: -32px;
  color: var(--gold-dark);
  font-weight: 900;
}

.section { padding: 72px 0; }
.section--soft {
  background:
    linear-gradient(135deg, rgba(41,41,34,.04), rgba(233,184,73,.08)),
    var(--light-bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 30px;
}
.section__head p { max-width: 560px; color: var(--muted); }
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid rgba(41,41,34,.09);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: 0 8px 26px rgba(41,41,34,.06);
}
.card:hover { border-color: rgba(233,184,73,.55); }
.icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(233,184,73,.18);
  color: var(--graphite);
  font-size: 24px;
  font-weight: 900;
}
.muted { color: var(--muted); }
.process .card { border-top: 4px solid var(--gold); }

.reference-card { padding: 0; overflow: hidden; }
.reference-media {
  min-height: 190px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.75);
  font-weight: 900;
  letter-spacing: .05em;
  background:
    linear-gradient(135deg, rgba(41,41,34,.88), rgba(41,41,34,.55)),
    radial-gradient(circle at 30% 20%, rgba(233,184,73,.55), transparent 34%),
    var(--graphite);
}
.reference-body { padding: 22px; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(41,41,34,.94), rgba(58,58,50,.92)),
    var(--graphite);
  color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(233,184,73,.35);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.75); margin: 0; }

.page-hero {
  padding: 56px 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(246,246,244,.8)),
    radial-gradient(circle at right, rgba(233,184,73,.24), transparent 34rem);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  position: relative;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}
.breadcrumbs a { color: var(--gold-dark); }

.service-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.service-aside {
  position: sticky;
  top: 120px;
  background: var(--graphite);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 22px;
  border-top: 4px solid var(--gold);
}
.service-aside h3 { color: #fff; }
.service-aside a {
  display: block;
  padding: 10px 0;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.service-aside a:hover { color: var(--gold); }
.service-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 28px;
  margin-bottom: 18px;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(233,184,73,.16);
  color: var(--graphite);
  font-weight: 800;
  font-size: 13px;
}

.form-wrap,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-frame,
.google-form {
  display: block;
  width: 100%;
  min-height: 1100px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--light-bg);
}
.form-fallback {
  margin: 14px 0 0;
  font-weight: 700;
}
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }

.footer {
  background: var(--graphite);
  color: rgba(255,255,255,.78);
  padding: 54px 0 28px;
  border-top: 5px solid var(--gold);
}
.footer a { color: #fff; font-weight: 700; }
.footer a:hover { color: var(--gold); }
.footer h3 { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 30px;
  margin-bottom: 28px;
}
.footer-logo {
  width: 180px;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #fff;
  padding: 6px;
}
.footer small {
  display: block;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.62);
}

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .section__head, .cta { align-items: flex-start; flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar__inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 10px 0; }
  .header__inner { min-height: 78px; }
  .logo img { width: 156px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 10px;
  }
  .nav.is-open { display: flex; }
  .nav a { border-radius: 12px; }
  .hero { padding: 58px 0 48px; }
  .section { padding: 52px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta { padding: 26px; }
}
