/* ============================================================
   Nintendo Szerviz – style.css
   Modern, prémium szerviz landing oldal
   ============================================================ */

:root {
  --red: #e60012;
  --red-dark: #c00010;
  --red-soft: #fde8e9;
  --ink: #1c1f26;
  --ink-2: #2a2e38;
  --muted: #5c626e;
  --line: #e8eaef;
  --bg: #ffffff;
  --bg-alt: #f6f7fa;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(28, 31, 38, .06), 0 4px 14px rgba(28, 31, 38, .06);
  --shadow-md: 0 6px 24px rgba(28, 31, 38, .10);
  --shadow-lg: 0 18px 48px rgba(28, 31, 38, .16);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 6.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 4.4vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 600; }

:focus-visible {
  outline: 3px solid rgba(230, 0, 18, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}
.container-narrow { max-width: 820px; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-dark .section-tag { background: rgba(230, 0, 18, .16); color: #ff6b74; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 100px;
  padding: 12px 24px;
  font-size: .95rem;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(230, 0, 18, .28);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(230, 0, 18, .34); }

.btn-outline {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-xl { padding: 18px 38px; font-size: 1.2rem; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(28, 31, 38, .07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-text small {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav > a:not(.btn) {
  padding: 9px 14px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 100px;
  transition: color .15s ease, background .15s ease;
}
.main-nav > a:not(.btn):hover { color: var(--ink); background: var(--bg-alt); }
.main-nav > a.active { color: var(--red); }
.nav-call { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(230, 0, 18, .05), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(28, 31, 38, .04), transparent 40%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(28, 31, 38, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 0, 18, .35); }
  50% { box-shadow: 0 0 0 6px rgba(230, 0, 18, 0); }
}

.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--red); }

.hero-sub {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
}
.hero-points svg { color: var(--red); flex-shrink: 0; }

.hero-visual { position: relative; }
.console-art { width: 100%; max-width: 560px; margin-inline: auto; height: auto; }

.float-a { animation: floaty 5s ease-in-out infinite; }
.float-b { animation: floaty 6s ease-in-out .8s infinite; }
.float-slow { animation: floaty 9s ease-in-out infinite; transform-box: fill-box; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- USP ---------- */
.usp { padding: 0 0 8px; margin-top: -8px; }
.usp-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.usp-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.usp-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dfe2e9;
}
.usp-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 16px;
}
.usp-item h3 { margin-bottom: 8px; }
.usp-item p { font-size: .93rem; color: var(--muted); }

/* ---------- Szolgáltatások ---------- */
.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  opacity: 0;
  transition: opacity .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.18rem; margin-bottom: 16px; }

.service-list { display: grid; gap: 9px; }
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: .93rem;
  color: var(--muted);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  opacity: .8;
}

/* ---------- Hibajelenségek (sötét) ---------- */
.section-dark {
  background:
    radial-gradient(circle at 90% 0%, rgba(230, 0, 18, .14), transparent 45%),
    var(--ink);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #a9aebb; }

.symptoms-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
.symptom {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 500;
  font-size: .95rem;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.symptom svg { color: #ff5c66; flex-shrink: 0; }
.symptom:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .16);
  transform: translateY(-3px);
}

.symptoms-callout {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.symptoms-callout h3 { font-size: 1.3rem; margin-bottom: 10px; }
.symptoms-callout p { color: #a9aebb; max-width: 46rem; }

/* ---------- Karbantartás ---------- */
.maintenance-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.maintenance-copy h2 { margin-bottom: 18px; }
.maintenance-copy p { color: var(--muted); margin-bottom: 16px; max-width: 34rem; }
.maintenance-copy .btn { margin-top: 8px; }

.maintenance-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}
.maintenance-card h3 { margin-bottom: 20px; }
.maintenance-card ul { display: grid; gap: 14px; }
.maintenance-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: .97rem;
}
.maintenance-card li svg { flex-shrink: 0; }

/* ---------- Folyamat ---------- */
.steps-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: .93rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: #d8dbe2; box-shadow: var(--shadow-sm); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 19px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq-q svg {
  flex-shrink: 0;
  color: var(--red);
  transition: transform .3s ease;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: .96rem;
}

/* ---------- Nagy CTA ---------- */
.cta-block {
  background:
    radial-gradient(circle at 15% 100%, rgba(230, 0, 18, .35), transparent 55%),
    linear-gradient(160deg, #23262f, var(--ink) 60%);
  color: #fff;
  padding: 84px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 16px; }
.cta-inner > p { color: #b9bec9; font-size: 1.08rem; margin-bottom: 32px; }
.cta-note {
  margin-top: 18px;
  font-size: .85rem;
  color: #8b909c;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #14161c;
  color: #a9aebb;
  padding: 48px 0 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.brand-footer .brand-text strong { color: #fff; }
.footer-desc { font-size: .94rem; max-width: 30rem; }
.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .95rem;
}
.footer-phone {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  transition: color .15s ease;
}
.footer-phone:hover { color: #ff5c66; }
.footer-sep { color: #4a4e59; }
.footer-copy {
  margin-top: 12px;
  font-size: .8rem;
  color: #6b707c;
  border-top: 1px solid #262932;
  padding-top: 20px;
  width: 100%;
}

/* ---------- Lebegő hívásgomb ---------- */
.call-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 20px;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(230, 0, 18, .4);
  transition: transform .18s ease, box-shadow .18s ease;
  animation: fab-pulse 2.6s ease-in-out infinite;
}
.call-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 30px rgba(230, 0, 18, .5); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(230, 0, 18, .4), 0 0 0 0 rgba(230, 0, 18, .3); }
  50% { box-shadow: 0 8px 24px rgba(230, 0, 18, .4), 0 0 0 12px rgba(230, 0, 18, 0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Reszponzív
   ============================================================ */

@media (min-width: 560px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .symptoms-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .hero { padding: 84px 0 96px; }
  .symptoms-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .symptoms-callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 36px 40px;
  }
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .usp-grid { grid-template-columns: repeat(4, 1fr); }
  .symptoms-grid { grid-template-columns: repeat(5, 1fr); }
  .symptom { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .maintenance-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .call-fab { display: none; }
}

/* ---------- Mobil navigáció ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(28, 31, 38, .1);
    padding: 14px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav > a:not(.btn) {
    padding: 13px 14px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .nav-call {
    margin: 10px 0 0;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .brand-text small { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   CMS kiegeszitesek – kapcsolaturlap, checklist, 404
   ============================================================ */

/* ---------- Kapcsolat urlap ---------- */
.contact-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy > p { color: var(--muted); margin-bottom: 24px; max-width: 30rem; }
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  transition: color .15s ease;
}
.contact-phone:hover { color: var(--red); }
.contact-phone svg { color: var(--red); }
.contact-area {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .95rem;
}
.contact-area svg { color: var(--red); }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; }
.form-field label { font-size: .83rem; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: .95rem;
  background: #fff;
  transition: border-color .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-field textarea { resize: vertical; margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { min-height: 24px; margin-bottom: 12px; font-size: .92rem; font-weight: 500; }
.form-status.ok { color: #14632f; }
.form-status.err { color: var(--red-dark); }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Karbantartas checklist ---------- */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .97rem; }
.check-list li svg { flex-shrink: 0; }

/* ---------- 404 ---------- */
.page-404 { background: var(--bg-alt); }
.nf-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}
.nf-wrap h1 { font-size: 4rem; color: var(--red); }
.nf-wrap p { color: var(--muted); }
