/* ============================================================
   Etalon nyitóoldal — layout-réteg a colors.css fölött
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---- Sárga-fekete jelzőszalag (brand tape) ---- */
.tape {
  height: 8px;
  background: repeating-linear-gradient(135deg, var(--etalon-yellow) 0 24px, #0E0E0E 24px 30px);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--ink);
}

/* ---- Header ---- */
.site-header {
  position: sticky; top: 8px; z-index: 40;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  max-width: var(--wide-max); margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.02em;
}
.brand__chip {
  width: 32px; height: 32px;
  background: var(--ink);
  color: var(--etalon-yellow);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  border-radius: var(--radius-sm);
}
.brand__name { text-transform: uppercase; letter-spacing: 0.05em; }

.site-nav {
  margin-left: auto; display: flex; gap: 28px;
  font-size: 14px; font-weight: 500;
}
.site-nav a {
  color: var(--ink-2); text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--etalon-yellow); }

@media (max-width: 720px) {
  .site-header__inner { padding: 12px 16px; }
  .site-nav { display: none; }
}

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-size: 12px;
  color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 16px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.eyebrow--on-dark { color: var(--etalon-yellow); }

/* ---- HERO ---- */
.hero {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 88px 32px 96px;
}
.hero__inner { max-width: 1080px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  text-transform: lowercase;
}
.hero__title .hl {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, var(--etalon-yellow) 60% 92%, transparent 92%);
  padding: 0 6px;
}
.hero__lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 720px;
  text-wrap: pretty;
  margin: 0 0 40px;
}
.hero__cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 32px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 20px 0;
  max-width: 720px;
  margin: 0;
}
.hero__meta dt {
  font-weight: 500; color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px;
  padding-top: 1px;
}
.hero__meta dd { margin: 0; font-weight: 500; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--solid {
  background: var(--ink);
  color: var(--etalon-yellow);
}
.btn--solid:hover { background: var(--etalon-yellow); color: var(--ink); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--etalon-yellow); }
.btn--ghost-on-dark {
  color: var(--white);
  border-color: var(--etalon-yellow);
}
.btn--ghost-on-dark:hover { background: var(--etalon-yellow); color: var(--ink); border-color: var(--etalon-yellow); }

/* ---- Sections ---- */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--border-soft);
}
.section > * {
  max-width: var(--wide-max);
  margin-left: auto; margin-right: auto;
  padding-left: 32px; padding-right: 32px;
}
.section--inverse { background: var(--bg-warm); }
.section--warm { background: var(--paper); }
.section--cta {
  background: var(--ink);
  color: var(--white);
  padding: 120px 0;
}

.section__head {
  display: grid; grid-template-columns: 140px 1fr; gap: 32px;
  margin-bottom: 56px;
}
.section__num {
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  color: var(--fg-muted);
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  display: inline-block;
  align-self: start;
}
.section--cta .section__num { border-top-color: var(--etalon-yellow); color: var(--steel-300); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  text-transform: lowercase;
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.section__title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, var(--etalon-yellow) 60% 92%, transparent 92%);
  padding: 0 6px;
}
.section__lead {
  font-size: 18px; line-height: 1.6;
  color: var(--ink-2);
  max-width: 720px; text-wrap: pretty;
  margin: 0;
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section > * { padding-left: 20px; padding-right: 20px; }
  .section__head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
}

/* ---- Quote ---- */
.quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 32px;
  padding: 32px;
  border-left: 4px solid var(--etalon-yellow);
  max-width: 900px;
  background: var(--paper);
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-style: normal;
  color: var(--fg-muted);
}

.prose {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 760px;
}
.prose strong { color: var(--ink); }

/* ---- Grids ---- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 880px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ---- Checklist ---- */
.checklist {
  list-style: none; padding: 0;
  margin: 32px 0;
  display: grid; gap: 12px;
  max-width: 760px;
}
.checklist li {
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--etalon-yellow);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-md);
}

/* ---- Catalog tiles ---- */
.catalog {
  display: grid; gap: 12px;
  padding: 32px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-lg);
  position: relative;
  transition: background var(--t-base) var(--ease);
  overflow: hidden;
}
.catalog::after {
  content: "";
  position: absolute; right: -40px; bottom: -40px;
  width: 140px; height: 140px;
  background: var(--etalon-yellow);
  opacity: 0; transform: scale(0.4); transform-origin: center;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  border-radius: 50%;
}
.catalog:hover { background: var(--steel-900); }
.catalog:hover::after { opacity: 0.12; transform: scale(1); }
.catalog__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--etalon-yellow);
}
.catalog__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
.catalog__arrow {
  font-size: 24px;
  font-family: var(--font-display);
  margin-top: 24px;
  transition: transform var(--t-fast) var(--ease);
}
.catalog:hover .catalog__arrow { transform: translateX(6px); }

/* ---- Services ---- */
.service {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}
.service h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}
.service p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ---- CTA section ---- */
.cta {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}
.cta .eyebrow { justify-content: center; }
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  text-transform: lowercase;
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--white);
}
.cta__title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, var(--etalon-yellow) 60% 92%, transparent 92%);
  padding: 0 6px;
  color: var(--ink);
}
.cta__lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--steel-300);
  margin: 0 0 40px;
}
.cta__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: var(--steel-300);
  padding: 40px 0;
  border-top: 1px solid var(--steel-700);
}
.site-footer__inner {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.site-footer__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.site-footer__meta {
  font-size: 13px;
  font-family: var(--font-mono);
  margin: 0;
}
