/* ArtMenu — strona główna */
:root {
  --am-black: #020202;
  --am-red: #e02b20;
  --am-red-hot: #f92f36;
  --am-green: #0a6836;
  --am-green-hover: #21c44a;
  --am-gray: #6d6d6d;
  --am-gray-dark: #3a3a3a;
  --am-gray-mid: #797979;
  --am-border: #ececec;
  --am-font: "Lato", sans-serif;
  --am-display: "Archivo Black", "Lato", sans-serif;
  --am-max: 1450px;
  --am-header-h: 96px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--am-font);
  font-weight: 400;
  color: var(--am-gray-dark);
  background: #fff;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--am-red); text-decoration: none; }
a:hover { color: var(--am-red-hot); }

.wrap {
  width: min(100% - 2rem, var(--am-max));
  margin-inline: auto;
}

.section-title {
  display: block;
  margin: 0 auto 2rem;
  max-width: 650px;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--am-header-h);
  background: var(--am-black);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.site-header__inner {
  position: relative;
  height: 100%;
  width: min(100% - 1.5rem, var(--am-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.site-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  line-height: 0;
}

.site-logo img {
  height: 84px;
  max-height: calc(var(--am-header-h) - 8px);
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  margin-right: auto;
  position: relative;
  z-index: 3;
}

.site-nav {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  flex-shrink: 0;
}

.site-nav a {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--am-red-hot);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 85vh;
  margin-top: var(--am-header-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000 center / cover no-repeat;
  color: #fff;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 700px);
  margin: 0 auto;
  text-align: center;
  padding: 4rem 0 6rem;
}

.hero__title {
  font-family: var(--am-display);
  font-size: clamp(1.6rem, 5vw, 2.875rem);
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 4px solid #fff;
  padding: .9rem 1.2rem;
  margin: 0 0 1rem;
  display: inline-block;
}

.hero__sub {
  font-family: var(--am-font);
  font-weight: 700;
  font-size: clamp(.85rem, 2.2vw, 1rem);
  letter-spacing: .32em;
  text-transform: uppercase;
  margin: 0;
}

.hero__scroll {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 4rem;
  transform: translateX(-50%);
  width: 60px;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* —— Oferta CTAs —— */
.section-oferta {
  padding: 4.5rem 0 2rem;
}

.cta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cta-row--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.25rem;
  border: 0;
  border-radius: 2px;
  font-family: var(--am-font);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff !important;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.btn--red { background: var(--am-red); }
.btn--red:hover { background: #c4241a; }
.btn--green { background: var(--am-green); }
.btn--green:hover { background: var(--am-green-hover); }

/* —— Services grid —— */
.section-offer {
  padding: 1rem 0 3rem;
  background: top right / auto no-repeat;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  max-width: var(--am-max);
  margin: 0 auto;
  padding: 0 1rem;
}

.service {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.service__icon {
  flex: 0 0 80px;
  width: 80px;
  padding: 10px;
  border-right: 1px solid var(--am-border);
}

.service__title {
  font-family: var(--am-display);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-weight: 400;
  color: var(--am-gray-mid);
  margin: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.service__sub {
  margin: .15rem 0 0;
  font-weight: 300;
  color: var(--am-gray-dark);
  font-size: 1rem;
}

/* —— O nas —— */
.section-about {
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: var(--am-max);
  margin: 0 auto;
  padding: 0 1rem;
}

.about-copy {
  padding-top: 5%;
  font-size: 1.05rem;
  color: var(--am-gray-dark);
}

.about-copy p { margin: 0 0 1rem; }
.about-sign { margin-left: auto; max-width: 220px; }

/* —— Galeria —— */
.section-gallery {
  padding: 4.5rem 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.gallery-grid a {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, opacity .35s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.06);
  opacity: .88;
}

/* —— Referencje —— */
.section-refs {
  padding: 3.5rem 0 2rem;
}

.refs-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.refs-track {
  display: flex;
  transition: transform .5s ease;
}

.ref-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
  padding: 1rem 2.5rem;
}

.ref-slide__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ref-slide__logo img {
  max-height: 120px;
  width: auto;
  margin: 0 auto;
}

.ref-slide blockquote {
  margin: 0;
  font-size: 1.05rem;
  color: var(--am-gray-dark);
  border: 0;
  padding: 0;
}

.refs-nav {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}

.refs-nav button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #d8d8d8;
  cursor: pointer;
  padding: 0;
}

.refs-nav button.is-active { background: var(--am-red); }

/* —— Quote —— */
.section-quote {
  padding: 4rem 1rem;
  background: center / cover no-repeat fixed;
  color: #fff;
  text-align: center;
}

.section-quote__title {
  font-family: var(--am-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  max-width: 900px;
  margin: 0 auto 1rem;
  line-height: 1.25;
}

.section-quote__author {
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.55rem);
  text-align: right;
  max-width: 900px;
  margin: 0 auto;
}

/* —— Zaufanie —— */
.section-trust {
  padding: 3rem 0;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  padding: 1.5rem 1rem;
}

.trust-logos img {
  max-height: 90px;
  width: auto;
  opacity: .85;
  filter: grayscale(1);
  transition: opacity .2s ease, filter .2s ease;
}

.trust-logos img:hover {
  opacity: 1;
  filter: none;
}

/* —— Kontakt + mapa —— */
.section-kontakt {
  padding: 1px 0 2rem;
}

.map-embed {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(.15);
}

/* —— Footer —— */
.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--am-border);
  color: var(--am-gray);
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  margin: 0 auto;
  max-width: 40%;
}

.footer-blurb {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-blurb > img {
  width: 40px;
  flex-shrink: 0;
  padding-right: .75rem;
  border-right: 1px solid #eaeaea;
}

.footer-blurb strong {
  display: block;
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--am-gray);
  margin-bottom: .35rem;
}

.footer-blurb p { margin: 0; }
.footer-blurb a { color: var(--am-gray); }
.footer-blurb a:hover { color: var(--am-red); }

.funds {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--am-border);
}

.funds__logo,
.funds__pfr {
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

.funds__text {
  font-size: .85rem;
  line-height: 1.5;
  color: var(--am-gray);
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.funds__text p { margin: 0 0 .65rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--am-border);
  font-size: .85rem;
}

.footer-bottom a { color: var(--am-gray); }

/* —— Subpages —— */
.page-hero {
  margin-top: var(--am-header-h);
  padding: 3rem 1rem 2rem;
  background: var(--am-black);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--am-display);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-body {
  padding: 3rem 1rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-body--wide { max-width: 1100px; }

.shop-intro {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.shop-intro p { margin: 0 0 1rem; font-size: 1.05rem; }

.shop-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.shop-block h2,
.shop-aside h2 {
  font-family: var(--am-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--am-gray-mid);
}

.shop-block ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.shop-block li { margin-bottom: .35rem; }

.shop-aside {
  background: #f7f7f7;
  padding: 1.5rem 1.35rem;
}

.shop-aside p { margin: 0 0 1rem; }
.shop-aside .btn { width: 100%; }
.shop-aside__note {
  font-size: .9rem;
  color: var(--am-gray);
  margin-top: 1.5rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--am-border);
}

.shop-map { margin: 0 -1rem; width: calc(100% + 2rem); max-width: none; }

.legal-page h2 {
  font-family: var(--am-display);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 2rem 0 1rem;
  color: var(--am-gray-mid);
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--am-gray-dark);
}

.legal-page ol,
.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-page li { margin-bottom: .75rem; }

@media (max-width: 980px) {
  .shop-intro,
  .shop-grid { grid-template-columns: 1fr; }
  .shop-intro__badge { max-width: 160px; }
}

/* —— Form —— */
.am-form {
  display: grid;
  gap: 1.1rem;
}

.am-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.am-form label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--am-gray);
  margin-bottom: .35rem;
}

.am-form input,
.am-form select,
.am-form textarea {
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid #b7b7b7;
  border-radius: 0;
  font-family: var(--am-font);
  font-size: 1rem;
  background: #fff;
}

.am-form textarea { min-height: 110px; resize: vertical; }

.am-form fieldset {
  border: 1px solid var(--am-border);
  padding: 1rem 1.1rem;
  margin: 0;
}

.am-form legend {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0 .4rem;
  color: var(--am-gray);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .45rem .75rem;
}

.check-grid label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--am-gray-dark);
  font-size: .95rem;
  cursor: pointer;
}

.check-grid input { width: auto; margin-top: .2rem; }

.am-form__consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .9rem;
}

.am-form__consent input { width: auto; margin-top: .25rem; }

.form-msg {
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--am-red);
  background: #fafafa;
}

.form-msg--ok { border-color: var(--am-green); }

.form-msg ul {
  margin: 0;
  padding-left: 1.1rem;
}

.biz-lead {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: var(--am-gray-dark);
}

.am-form .btn {
  justify-self: start;
  min-width: 220px;
  margin-top: .5rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* —— Lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .cta-row { grid-template-columns: 1fr; max-width: 420px; }
  .services { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-slide { grid-template-columns: 1fr; text-align: center; }
  .ref-slide blockquote { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-quote { background-attachment: scroll; }
  .am-form__row,
  .check-grid { grid-template-columns: 1fr; }
  .site-logo img { height: 64px; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .85rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-logo img { height: 52px; }

  .site-nav {
    position: fixed;
    inset: var(--am-header-h) 0 auto;
    background: var(--am-black);
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    display: none;
  }

  .site-nav.is-open { display: flex; }

  .services { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__scroll { bottom: 2rem; }
}
