/* PAPIAUTO – statikus stíluslap */
:root {
  --navy: oklch(0.32 0.14 268);
  --navy-deep: oklch(0.25 0.12 268);
  --brand-red: oklch(0.577 0.222 27.3);
  --surface: oklch(0.985 0.001 250);
  --surface-alt: oklch(0.96 0.002 250);
  --line: oklch(0.9 0.003 250);
  --foreground: oklch(0.129 0.042 264.695);
  --muted-foreground: oklch(0.554 0.046 257.417);
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--foreground);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 80rem; margin-inline: auto; padding-inline: 1.5rem; }
.muted { color: var(--muted-foreground); text-wrap: pretty; margin-bottom: 1rem; }

/* --- Navigáció --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--navy) 95%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.brand span {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: -0.02em; color: var(--surface);
}
.brand.dark span { font-size: 0.875rem; color: var(--navy); }
.brand.dark img { width: 1.5rem; height: 1.5rem; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: color-mix(in oklab, var(--surface) 70%, transparent); transition: color 0.2s; }
.nav-links a:hover { color: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 0.5rem;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--surface); display: block; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}
.nav-links.open {
  display: flex; position: absolute; top: 5rem; left: 0; right: 0;
  flex-direction: column; gap: 1rem; padding: 1.5rem;
  background: var(--navy); border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

/* --- Gombok --- */
.btn {
  display: inline-block; border-radius: 0.375rem; padding: 0.625rem 1.25rem;
  font-size: 0.875rem; font-weight: 500; transition: opacity 0.2s, background 0.2s;
}

.btn-red {display: none; background: var(--brand-red); color: var(--surface); }
.btn-red-mobile {background: var(--brand-red); color: var(--surface); }

.btn-red:hover { opacity: 0.9; }
@media (min-width: 768px) {
  .btn-red {display: inline-block; }
}
.btn-light { background: var(--surface); color: var(--navy); padding: 0.75rem 1.5rem; }
.btn-light:hover { background: var(--surface-alt); }

/* --- Hero --- */
.hero { background: var(--navy); padding: 8rem 0 12rem; overflow: hidden; }
.hero-inner { display: grid; gap: 3rem; }
.eyebrow {
  display: inline-block; margin-bottom: 1.5rem; border-radius: 0.125rem;
  background: color-mix(in oklab, var(--brand-red) 20%, transparent);
  padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-red);
}
.eyebrow.red { background: none; padding: 0; margin: 0; white-space: nowrap; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600; color: var(--surface);
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.15; text-wrap: balance;
  margin-bottom: 2rem;
}
.hero p { max-width: 48ch; color: color-mix(in oklab, var(--surface) 75%, transparent); font-size: 1.125rem; margin-bottom: 2.5rem; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hours-chip {
  display: flex; align-items: center; gap: 1rem; border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.375rem; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500;
  color: color-mix(in oklab, var(--surface) 80%, transparent);
}
.hours-chip .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--brand-red); }
.hero-image { display: none; }
.hero-image img { height: 100%; width: 100%; object-fit: cover; border-radius: 4rem 0 0 0; opacity: 0.45; }
@media (min-width: 1024px) {
  .hero { position: relative; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-image { display: block; position: absolute; right: 0; bottom: 0; height: 80%; width: 50%; }
  .hero-text { max-width: 640px; position: relative; z-index: 1; }
}

/* --- Statisztika --- */
.stats { background: var(--surface-alt); border-block: 1px solid var(--line); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.stat-big { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.stat-small { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* --- Szekciók --- */
.section { padding: 8rem 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--navy-deep); }
h2 {
  font-family: var(--font-display); font-size: 2.25rem; font-weight: 500;
  color: var(--navy); text-wrap: balance; margin-bottom: 1.5rem; line-height: 1.2;
}

.about-grid { display: grid; gap: 4rem; align-items: center; }
.about-img { width: 100%; border-radius: 1rem; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

/* --- Szolgáltatások --- */
.services-head { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 5rem; }
@media (min-width: 768px) { .services-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } .services-head > div { max-width: 56ch; } }
.services-grid { display: grid; gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--surface); transition: background 0.2s; }
.service-card:hover { background: var(--surface-alt); }
.service-media { position: relative; overflow: hidden; }
.service-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-num {
  position: absolute; left: 1.5rem; top: 1.5rem; width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center; border-radius: 0.125rem;
  background: color-mix(in oklab, var(--navy) 90%, transparent);
  color: var(--surface); font-family: var(--font-display); font-size: 0.75rem;
  backdrop-filter: blur(4px); transition: background 0.2s;
}
.service-card:hover .service-num { background: var(--brand-red); }
.service-body { padding: 2.5rem; }
.service-body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
.service-body p { font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); text-wrap: pretty; }

/* --- Csapat --- */
.team-head { text-align: center; margin-bottom: 6rem; }
.team-head h2 { color: var(--surface); }
.team-head p { max-width: 48ch; margin-inline: auto; color: color-mix(in oklab, var(--surface) 60%, transparent); text-wrap: pretty; }
.team-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card .team-photo {
  overflow: hidden; border-radius: 0.75rem; margin-bottom: 1.5rem;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.05);
}
.team-card img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top;
  display: block; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-card:hover img { transform: scale(1.05); }
.team-card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; color: var(--surface); }
.team-card p { font-size: 0.875rem; color: var(--brand-red); }

/* --- Kapcsolat --- */
.contact-grid { display: grid; gap: 5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-title { margin-bottom: 3rem; }
.contact-block { margin-bottom: 2rem; }
.contact-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--brand-red); margin-bottom: 0.5rem; }
.contact-value { font-size: 1.125rem; }
.contact-value a:hover { color: var(--brand-red); }
.map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 0.75rem; box-shadow: 0 0 0 1px var(--line); }
.hours-card { background: var(--navy); color: var(--surface); border-radius: 1.5rem; padding: 3rem; box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); }
.hours-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 2.5rem; }
.hours-card table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.hours-card tr { border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.hours-card td { padding: 1rem 0; }
.hours-card td:first-child { font-weight: 500; }
.hours-card td:last-child { text-align: right; color: color-mix(in oklab, var(--surface) 75%, transparent); }
.hours-card td.closed { color: color-mix(in oklab, var(--surface) 45%, transparent); }
.hours-note { margin-top: 3rem; border: 1px solid rgb(255 255 255 / 0.1); background: rgb(255 255 255 / 0.05); border-radius: 0.5rem; padding: 1.5rem; }
.hours-note .note-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix(in oklab, var(--surface) 60%, transparent); margin-bottom: 0.5rem; }
.hours-note p:last-child { font-size: 0.875rem; line-height: 1.7; color: color-mix(in oklab, var(--surface) 80%, transparent); text-wrap: pretty; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--line); background: var(--surface-alt); padding: 3rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-copy { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.footer-slogan { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--navy); }

/* Görgetéses animációk */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.985);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    transform: none;
    transition: opacity 0.4s ease;
  }
}
