:root {
  color-scheme: dark;
  --ink: #e9eeef;
  --muted: #a7b4b8;
  --background: #101416;
  --surface: #161d20;
  --line: #334148;
  --accent: #dd9a4e;
  --accent-light: #f3bd78;
  --shadow: 0 1rem 3rem rgb(0 0 0 / 24%);
  --content-width: 75rem;
  --viewport-height: 100vh;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  min-width: 20rem;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: 50%;
  transform: translate(-50%, -150%);
  padding: .7rem 1rem;
  border-radius: .5rem;
  background: var(--accent);
  color: #16110c;
  font-weight: 800;
}

.skip-link:focus { transform: translate(-50%, 0); }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgb(180 204 210 / 12%);
  background: rgb(16 20 22 / 88%);
  backdrop-filter: blur(.9rem);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--content-width));
  min-height: 4.75rem;
  margin: auto;
}

.brand, #site-navigation a, .header-call { text-decoration: none; }

.brand { display: inline-flex; align-items: center; gap: .65rem; line-height: 1.05; }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .04em; text-transform: uppercase; font-size: .87rem; }
.brand small { margin-top: .22rem; color: var(--muted); font-size: .72rem; }
.brand-mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
}
.brand-mark img { display: block; width: 100%; height: 100%; }

#site-navigation { justify-self: center; }
#site-navigation ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; margin: 0; padding: 0; list-style: none; }
#site-navigation a { color: var(--muted); font-size: .82rem; font-weight: 700; }
#site-navigation a:hover, #site-navigation a:focus-visible { color: var(--accent-light); }

.header-call {
  padding: .55rem .75rem;
  border: 1px solid rgb(221 154 78 / 50%);
  border-radius: .4rem;
  color: var(--accent-light);
  font-size: .85rem;
  font-weight: 800;
  white-space: nowrap;
}
.header-contact-icons { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; }
.header-contact-icons span { font-size: 1.2rem; line-height: 1; }

.menu-toggle { display: none; }

.content-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  content-visibility: auto;
  contain-intrinsic-size: auto 44rem;
}

.section-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  width: min(calc(100% - 2rem), var(--content-width));
  min-height: max(36rem, var(--viewport-height));
  margin: auto;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.hero .section-shell { min-height: max(38rem, calc(var(--viewport-height) - 4.75rem)); }
.section-reverse .section-copy { order: 2; }
.section-reverse .section-media { order: 1; }

.theme-oxide { background: radial-gradient(circle at 85% 18%, #4e311e 0, transparent 32rem), #181716; }
.theme-coal { background: radial-gradient(circle at 15% 18%, #263238 0, transparent 28rem), #111719; }
.theme-steel { background: radial-gradient(circle at 78% 8%, #233f49 0, transparent 30rem), #12191c; }
.theme-graphite { background: #151b1e; }
.theme-oxide { background-image: url("../../theme-oxide.jpg"); background-size: cover; background-position: top center; }
.theme-coal { background-image: url("../../theme-coal.jpg"); background-size: cover; background-position: top center; }
.theme-steel { background-image: url("../../theme-steel.jpg"); background-size: cover; background-position: top center; }
.theme-graphite { background-image: url("../../theme-graphite.jpg"); background-size: cover; background-position: top center; }

.section-copy { position: relative; z-index: 2; max-width: 42rem; }
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--accent-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1, h2 { max-width: 17ch; margin: 0; font-weight: 750; letter-spacing: -.04em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 6vw, 5.3rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); }
p { max-width: 65ch; }
.lead { margin: 1.35rem 0; color: #d5dfe1; font-size: clamp(1.12rem, 2vw, 1.38rem); line-height: 1.45; }
.section-copy p:not(.eyebrow):not(.lead) { color: var(--muted); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.1rem;
  color: var(--accent-light);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.text-link span { font-size: 1.25em; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(.25rem); }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1.3rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li { display: flex; gap: .55rem; color: #c9d5d8; font-size: .93rem; }
.service-list li::before { content: "↗"; color: var(--accent); font-weight: 800; }

.section-media { position: relative; z-index: 1; margin: 0; }
.media-button, .gallery-card { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; text-align: left; }
.media-button { overflow: hidden; border: 1px solid rgb(215 231 235 / 18%); box-shadow: var(--shadow); }
.media-button img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; height: auto }
.media-button:hover img, .media-button:focus-visible img { transform: scale(1.025); }
.section-media figcaption { margin-top: .65rem; color: var(--muted); font-size: .78rem; }

.desktop-none { display: none; }
.desktop-background { position: absolute; z-index: 0; inset: 0; display: block; margin: 0; }
.desktop-background .media-button { width: 100%; height: 100%; border: 0; box-shadow: none; cursor: default; }
.desktop-background .media-button img { width: 100%; height: 100%; opacity: .18; filter: saturate(.7); }
.desktop-background figcaption { display: none; }
.desktop-media-background .section-copy { position: relative; z-index: 1; }
.desktop-media-background .section-shell { grid-template-columns: minmax(0, 1fr); }

.gallery-shell, .narrow-shell { min-height: auto; }
.gallery-shell { display: block; }
.section-heading { max-width: 44rem; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.filter-slot { display: contents; }
.filter-button {
  padding: .5rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .88rem;
  font-weight: 750;
}
.filter-button:hover, .filter-button:focus-visible, .filter-button.is-active { border-color: var(--accent); background: var(--accent); color: #20160c; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-item[hidden] { display: none; }
.gallery-card { overflow: hidden; background: #0d1112; }
.gallery-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s ease, transform .35s ease; }
.gallery-card span { display: block; padding: .6rem .7rem; color: #c5d1d4; font-size: .8rem; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.04); opacity: .82; }
.gallery-more-wrap { display: grid; justify-items: center; gap: .8rem; margin-top: 1.5rem; }
.gallery-status { margin: 0; color: var(--muted); font-size: .85rem; }
.gallery-status:empty { display: none; }
.gallery-more, section a[href="#kapcsolat"] { padding: .7rem 1.25rem; border: 1px solid var(--accent); border-radius: .4rem; background: transparent; color: var(--accent-light); font-weight: 800; cursor: pointer; text-decoration:none}
.gallery-more:hover, .gallery-more:focus-visible, section a[href="#kapcsolat"]:hover { background: var(--accent); color: #20160c; }
.gallery-more[hidden] { display: none; }

.narrow-shell { display: block; max-width: 48rem; }
.faq-list { display: grid; gap: .75rem; margin-top: 2rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1rem 2rem 1rem 0; cursor: pointer; font-weight: 760; }
.faq-list p { margin: 0 0 1rem; color: var(--muted); }

.contact-shell { min-height: auto; grid-template-columns: minmax(0, 1fr) minmax(19rem, .8fr); }
.contact-links { display: grid; gap: .75rem; }
.contact-link {
  display: grid;
  gap: .1rem;
  padding: .95rem 1rem;
  border: 1px solid rgb(221 154 78 / 40%);
  border-radius: .35rem;
  color: var(--accent-light);
  text-decoration: none;
}
.contact-link:hover, .contact-link:focus-visible { background: rgb(221 154 78 / 10%); }
.contact-link span { color: var(--muted); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.contact-link strong { overflow-wrap: anywhere; }

.site-footer { padding: 2rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; text-align: center; }
.site-footer p { margin: 0 auto; }

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 80%); touch-action: none; }
.lightbox-frame {
  position: relative;
  max-width: min(92vw, 70rem);
  max-height: 90vh;
  border: 1px solid var(--line);
  background: #0e1213;
}
.lightbox-frame > img { display: block; max-width: 100%; max-height: 86vh; margin: auto; object-fit: contain; touch-action: none; transition: transform .22s ease-out, opacity .22s ease-out; }
.lightbox-frame > img.is-dragging { transition: none; }
.lightbox-symbol { position: absolute; width: 0; height: 0; overflow: hidden; }
.lightbox-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 3.5rem;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: .4rem;
  background: rgb(0 0 0 / 65%);
  color: var(--accent-light);
  cursor: pointer;
  touch-action: manipulation;
}
.lightbox-arrow[hidden] { display: none; }
.lightbox-arrow:hover, .lightbox-arrow:focus-visible { background: var(--accent); color: #20160c; }
.lightbox-arrow svg { width: 1.5rem; height: 1.5rem; }
.lightbox-previous { left: .6rem; }
.lightbox-previous svg { transform: rotate(180deg); }
.lightbox-next { right: .6rem; }
.lightbox-status { position: absolute; bottom: .5rem; left: 50%; transform: translateX(-50%); margin: 0; padding: .2rem .6rem; border-radius: 1rem; background: rgb(0 0 0 / 70%); color: white; font-size: .8rem; }
.lightbox-close {
  position: absolute;
  z-index: 1;
  top: .6rem;
  right: .6rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: rgb(0 0 0 / 60%);
  color: white;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; }

@media (max-width: 66rem) {
  .header-shell { grid-template-columns: auto 1fr auto; }
  #site-navigation { display: none; grid-column: 1 / -1; grid-row: 2; justify-self: stretch; padding-bottom: 1rem; }
  #site-navigation.is-open { display: block; }
  #site-navigation { max-height: calc(100dvh - 5rem); overflow-y: auto; }
  #site-navigation ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  #site-navigation a { display: flex; align-items: center; min-height: 3rem; padding: .5rem .4rem; font-size: .95rem; }
  .menu-toggle { display: block; justify-self: end; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: .35rem; background: transparent; color: var(--ink); cursor: pointer; font-size: .8rem; font-weight: 750; }
  .header-call { display: none; }
  .header-contact-icons { display: inline-flex; }
}

@media (max-width: 66rem) and (orientation: landscape) {
  #site-navigation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}

@media (max-width: 44rem) {
  .header-shell { width: min(calc(100% - 1.25rem), var(--content-width)); min-height: 4.25rem; }
  .section-shell, .contact-shell { grid-template-columns: 1fr; gap: 2rem; width: min(calc(100% - 1.5rem), var(--content-width)); min-height: auto; padding: 4.5rem 0; }
  .hero .section-shell { min-height: auto; padding-top: 4.5rem; }
  .section-reverse .section-copy, .section-reverse .section-media { order: initial; }
  h1, h2 { max-width: 19ch; }
  .service-list { grid-template-columns: 1fr; }
  .section-media { order: 3; }
  .section-media figcaption { padding: 0 .15rem; }
  .mobile-none { display: none; }
  .desktop-none.mobile-inline-full { display: block; }
  .mobile-background { position: absolute; z-index: 0; inset: 0; display: block; }
  .mobile-background .media-button { width: 100%; height: 100%; border: 0; box-shadow: none; cursor: default; }
  .mobile-background .media-button img { width: 100%; height: 100%; opacity: .18; }
  .mobile-background figcaption { display: none; }
  .mobile-media-background .section-copy { position: relative; z-index: 1; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .gallery-card span { font-size: .73rem; }
}

@media (max-width: 44rem) and (orientation: portrait) {
  .gallery-filters.is-turned { align-items: end; gap: .25rem; }
  .gallery-filters.is-turned .filter-slot { display: block; position: relative; flex: 0 0 var(--filter-advance); height: var(--filter-projection); }
  .gallery-filters.is-turned .filter-slot:last-child { flex-basis: var(--filter-projection); }
  .gallery-filters.is-turned .filter-button { position: absolute; left: var(--filter-left); bottom: 0; white-space: nowrap; transform-origin: left bottom; transform: rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
