
/* =========================================
   EVER UNION 78 — STYLE.CSS
   Kolory: grafit, kość słoniowa, brąz, oliwka
   Menu: Genos 600
   Nagłówki: Iceland
   Teksty: Montserrat
========================================= */


/* 1. ZMIENNE I USTAWIENIA GLOBALNE */

:root {
  --ink: #151614;
  --ink-soft: #20211e;
  --paper: #f1eee7;
  --paper-light: #faf8f3;
  --accent: #a58a65;
  --olive: #5b604f;
  --text: #282923;
  --muted: #77776e;
  --line: rgba(21, 22, 20, 0.16);

 --heading: "Cormorant Garamond", Georgia, serif;
--body: "Montserrat", Arial, sans-serif;
--menu: "Genos", sans-serif;

  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}


/* 2. NAGŁÓWKI I TYPOGRAFIA */

h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 400;
}

h1,
h2 {
  letter-spacing: -0.025em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(40px, 8vw, 80px);
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(42px, 5.5vw, 76px);
  margin-bottom: 25px;
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 400;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 9px;
  font-weight: 700;
}


/* 3. GÓRNE MENU */

.site-header {
  position: relative;
  z-index: 20;
  background: #111111;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 6vw;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 180px;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Logo na mniejszych ekranach */
@media (max-width: 850px) {
  .brand {
    width: 185px;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 155px;
  }
}

.brand span {
  font-size: 10px;
  letter-spacing: 0.32em;
  margin-top: 6px;
}


/* ========================================
   MENU GŁÓWNE — KOMPUTER
======================================== */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  padding: 8px 0;

  font-family: var(--menu);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.main-nav a:hover {
  color: #d5bd9a;
}

.menu-toggle {
  display: none;
}


/* 4. SEKCJA HERO */

.hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex;
  align-items: center;
  padding: 150px 10vw 110px;
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
 background:
  linear-gradient(rgba(15, 16, 14, 0.32), rgba(15, 16, 14, 0.32)),
  url("img/hero-ever-union.jpg") center / cover no-repeat;
transform: scale(1);
animation: heroReveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 14, 0.08);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}

.hero-lead {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  margin-bottom: 32px;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 35px;
  left: 10vw;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue span {
  margin-left: 18px;
  color: var(--accent);
  font-size: 18px;
}


/* 5. PRZYCISKI */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid transparent;
  font: 600 10px var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: white;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: var(--olive);
}


/* 6. SEKCJE — USTAWIENIA WSPÓLNE */

.section {
  padding: clamp(75px, 10vw, 145px) 9vw;
}

.intro {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.intro .section-copy {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 50px;
}

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 290px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}


/* 7. OFERTA */

.offer-section {
  background: var(--paper);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.offer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s, background 0.25s;
}

.offer-card:hover {
  transform: translateY(-5px);
  background: var(--paper-light);
}

.card-number {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
}

.offer-card h3,
.process-grid h3 {
  font-family: var(--heading);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.offer-card p {
  color: var(--muted);
  font-size: 12px;
}

.text-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 15px;
  color: var(--olive);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}


/* 8. REALIZACJE */

.projects {
  background: var(--paper-light);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 16px;
}

.project-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 25px;
  border-radius: var(--radius);
  overflow: hidden;
  color: white;
  background: linear-gradient(145deg, #4c4a40, #252722);
}

.project-placeholder:nth-child(2) {
  background: linear-gradient(145deg, #8c7962, #37382f);
}

.project-placeholder:nth-child(3) {
  background: linear-gradient(145deg, #5d5e52, #292a25);
}

.project-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.55),
    transparent 70%
  );
}

.project-placeholder span,
.project-placeholder small {
  position: relative;
}

.project-placeholder span {
  font: 400 27px var(--heading);
}

.project-placeholder small {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
}

.project-large {
  grid-row: span 2;
}


/* 9. O NAS */

.about {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9vw;
}

.about-visual {
  min-height: 480px;
  border-radius: var(--radius);
  background:
    linear-gradient(
      140deg,
      rgba(21, 22, 20, 0.08),
      rgba(21, 22, 20, 0.5)
    ),
    url("img/o-nas-ever-union.jpg") center / cover no-repeat,
    #34362e;
  display: flex;
  align-items: end;
  justify-content: end;
  padding: 25px;
}

.about-visual span {
  font: 400 17px var(--heading);
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.75);
}

.about-copy p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(241, 238, 231, 0.72);
  font-size: 12px;
  margin-bottom: 28px;
}

.about-copy .text-link {
  color: #c7b08e;
}


/* 10. PROCES WSPÓŁPRACY */

.process {
  background: #e7e3da;
}

.process > h2 {
  margin-bottom: 55px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.process-grid article {
  border-top: 1px solid rgba(21, 22, 20, 0.25);
  padding-top: 20px;
}

.process-grid article > span {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.process-grid h3 {
  margin-top: 30px;
}

.process-grid p {
  color: var(--muted);
  font-size: 11px;
}


/* 11. KONTAKT I FORMULARZ */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  background: var(--paper-light);
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 410px;
  font-size: 12px;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.contact-details a {
  font-size: 13px;
}

.contact-details span {
  display: block;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-form label {
  margin-top: 9px;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  font: 12px var(--body);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 10px;
}


/* =========================================
   12. STOPKA — EVER UNION 78
   ========================================= */

.site-footer {
  width: 100%;
  padding: 0 6vw 24px;
  background: #111210;
  color: #e5e0d7;
  border-top: 1px solid rgba(183, 154, 99, 0.2);
  box-sizing: border-box;
}

/* Główna zawartość stopki */

.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(150px, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 55px 0 60px;
  box-sizing: border-box;
}

.site-footer .footer-brand,
.site-footer .footer-navigation,
.site-footer .footer-contact {
  min-width: 0;
  margin: 0;
}

/* Logo i opis */

.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.site-footer .footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  line-height: 0.95;
  text-decoration: none;
}

.site-footer .footer-logo-ever {
  color: #c5a46a;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: 2px;
  white-space: nowrap;
}

.site-footer .footer-logo-union {
  margin-top: 8px;
  color: #f0e8dc;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 2.3vw, 34px);
  letter-spacing: clamp(4px, 0.5vw, 7px);
  white-space: nowrap;
}

.site-footer .footer-brand .footer-gold-line {
  width: 62px;
  height: 1px;
  margin: 25px 0;
  background: #b79a63;
}

.site-footer .footer-tagline {
  margin: 0;
  color: #d8d0c4;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.4;
}

.site-footer .footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 25px;
}

.site-footer .footer-socials a {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #c5a46a;
  border: 1px solid rgba(183, 154, 99, 0.35);
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease;
}

.site-footer .footer-socials a:hover {
  color: #111210;
  background: #c5a46a;
  border-color: #c5a46a;
  transform: translateY(-2px);
}

.site-footer .footer-socials svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* Nagłówki kolumn */

.site-footer .footer-navigation h3,
.site-footer .footer-contact h3 {
  margin: 5px 0 26px;
  color: #c5a46a;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Nawigacja — środek */

.site-footer .footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer .footer-navigation nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-navigation nav a {
  color: #d8d5cf;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer .footer-navigation nav a:hover {
  color: #c5a46a;
}

/* Kontakt — prawa strona */

.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.site-footer .footer-contact h3 {
  width: 100%;
  text-align: right;
}

.site-footer .footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: 100%;
  margin-bottom: 16px;
  color: #d8d5cf;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

.site-footer .footer-contact-item:hover {
  color: #c5a46a;
}

.site-footer .footer-contact-icon {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  color: #c5a46a;
  font-size: 19px;
}

.site-footer .footer-contact .footer-gold-line {
  width: 100%;
  max-width: 320px;
  height: 1px;
  margin: 12px 0 18px auto;
  background: #b79a63;
}

.site-footer .footer-contact-note {
  max-width: 320px;
  margin: 0;
  color: #99958d;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.9;
  text-align: right;
}

.site-footer .footer-contact-note a {
  color: #c5a46a;
  text-decoration: none;
}

.site-footer .footer-contact-note a:hover {
  color: #f0e8dc;
}

/* Dolna część */

.site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(183, 154, 99, 0.55);
  box-sizing: border-box;
}

.site-footer .footer-credits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.site-footer .footer-copyright,
.site-footer .footer-author {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.site-footer .footer-copyright {
  color: #c9c3b8;
}

.site-footer .footer-author {
  color: #99958d;
}

.site-footer .footer-author span {
  color: #c5a46a;
}

.site-footer .footer-back-top {
  justify-self: center;
  color: #c5a46a;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer .footer-back-top:hover {
  color: #f0e8dc;
}

.site-footer .footer-bottom-slogan {
  justify-self: end;
  color: #d8d0c4;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-align: right;
}

/* Tablety i mniejsze laptopy */

@media (max-width: 900px) {
  .site-footer {
    padding-right: 5%;
    padding-left: 5%;
  }

  .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px 30px;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer .footer-navigation {
    align-items: flex-start;
    text-align: left;
  }

  .site-footer .footer-navigation nav {
    align-items: flex-start;
  }

  .site-footer .footer-contact {
    align-items: flex-end;
  }

  .site-footer .footer-bottom {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-footer .footer-bottom-slogan {
    display: none;
  }
}

/* Telefony */

@media (max-width: 560px) {
  .site-footer {
    padding: 35px 24px 24px;
  }

  .site-footer .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 0 0 32px;
  }

  .site-footer .footer-brand,
  .site-footer .footer-navigation,
  .site-footer .footer-contact {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .site-footer .footer-logo {
    align-items: center;
  }

  .site-footer .footer-navigation h3,
  .site-footer .footer-contact h3 {
    text-align: center;
  }

  .site-footer .footer-navigation nav {
    align-items: center;
  }

  .site-footer .footer-socials {
    justify-content: center;
  }

  .site-footer .footer-contact-item {
    justify-content: center;
  }

  .site-footer .footer-contact .footer-gold-line {
    margin: 12px auto 18px;
  }

  .site-footer .footer-contact-note {
    text-align: center;
  }

  .site-footer .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    text-align: center;
  }

  .site-footer .footer-credits {
    align-items: center;
    text-align: center;
  }

  .site-footer .footer-back-top {
    align-self: center;
  }
}


/* 13. ANIMACJE */

@keyframes heroReveal {
  from {
    opacity: 0.5;
    transform: scale(1.06);
  }

  to {
    opacity: 1;
    transform: scale(1.02);
  }
}


/* 14. TABLETY I MNIEJSZE EKRANY */

@media (max-width: 850px) {
  .site-header {
    padding: 20px 6vw;
  }

 .menu-toggle {
  display: block;
  position: relative;
  z-index: 22;
}

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 25px 6vw 30px;
    background: var(--ink);
    flex-direction: column;
     align-items: center;
     gap: 12px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
    padding: 140px 7vw 100px;
  }

  .scroll-cue {
    left: 7vw;
  }

  .section {
    padding: 80px 7vw;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 230px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-visual {
    min-height: 340px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}


/* 15. TELEFONY */

@media (max-width: 520px) {
  h1 {
    font-size: clamp(49px, 14vw, 70px);
  }

  h2 {
    font-size: 45px;
  }

  .hero {
    min-height: 700px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px);
  }

  .project-large {
    grid-row: auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > div {
    justify-content: start;
    flex-wrap: wrap;
  }

  .site-footer small {
    grid-column: auto;
  }
}


/* 16. OGRANICZENIE ANIMACJI DLA USTAWIEŃ DOSTĘPNOŚCI */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}



/* EVER UNION 78 — ELEGANCKI HAMBURGER */

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(165, 138, 101, 0.45);
  border-radius: 50%;
  background: rgba(21, 22, 20, 0.55);
  color: #f1eee7;
  font-size: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.menu-toggle::before {
  content: "☰";
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
  color: #d5bd9a;
}

.menu-toggle:hover {
  border-color: #d5bd9a;
  background: rgba(165, 138, 101, 0.12);
}

@media (max-width: 850px) {
  .menu-toggle {
    display: inline-flex;
  }
}


/* EVER UNION 78 — STAN OTWARTEGO MENU */

.menu-toggle {
  position: relative;
  z-index: 25;
}

/* Hamburger zmienia się w złoty znak zamknięcia */
.menu-toggle[aria-expanded="true"]::before {
  content: "×";
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 300;
  color: #f1d5a5;
}

/* Menu mobilne w stylistyce marki */
@media (max-width: 850px) {
  .main-nav {
    padding: 30px 7vw 34px;
    background: #30312e;
    border-top: 1px solid rgba(165, 138, 101, 0.18);
    border-bottom: 1px solid rgba(165, 138, 101, 0.45);
    gap: 0;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid rgba(241, 238, 231, 0.08);
    font-size: 19px;
    letter-spacing: 0.14em;
    color: #f1eee7;
    text-align: center;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a:hover,
  .main-nav a:active {
    color: #d5bd9a;
  }
}


/* SLIDER HERO */
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.1s ease, transform 6s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Jednolite przyciemnienie zdjęć */
.hero-shade {
  z-index: 1;
  pointer-events: none;
  background: rgba(15, 16, 14, 0.28);
}

/* Treść pozostaje nad zdjęciami */
.hero-content,
.scroll-cue {
  z-index: 2;
}

/* Strzałki */
.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(21, 22, 20, 0.3);
  color: white;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(165, 138, 101, 0.75);
  border-color: #d5bd9a;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

/* Kropki nawigacyjne */
.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 35px;
  right: 6vw;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 24px;
  border-radius: 8px;
  border-color: #d5bd9a;
  background: #d5bd9a;
}

@media (max-width: 850px) {
  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 25px;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .hero-dots {
    right: 20px;
    bottom: 20px;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* Zmniejszenie nagłówka HERO */
.hero-content h1 {
  font-size: clamp(42px, 5.5vw, 76px);
}

@media (max-width: 520px) {
  .hero-content h1 {
    font-size: 42px;
  }
}

.offer-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 20px;
}

@media (max-width: 520px) {
  .offer-card {
    min-width: 0;
    overflow: hidden;
  }

  .offer-card img {
    height: 180px;
  }
}
.offer-card:nth-child(1) img,
.offer-card:nth-child(2) img,
.offer-card:nth-child(3) img {
  height: 300px;
  object-fit: cover;
  object-position: center;
}



.project-placeholder.project-large {
  position: relative;
  overflow: hidden;
}

.project-placeholder.project-large .realization-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-placeholder.project-large .realization-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.project-placeholder.project-large .realization-slide.is-active {
  opacity: 1;
}

.project-placeholder.project-large > span {
  position: relative;
  z-index: 2;
  margin-top: auto;
}


.realization-slide.is-active {
  opacity: 1;
}


/* Cień pod napisami we wszystkich realizacjach */
.project-placeholder > span,
.project-placeholder > small {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9),
               0 1px 2px rgba(0, 0, 0, 0.8);
}


.certificate-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 70px;
  background: #f5f1e8;
  border-radius: 24px;
  padding: 70px;
}

.certificate-copy h2 {
  margin: 14px 0 24px;
}

.certificate-copy > p:not(.eyebrow) {
  max-width: 480px;
  line-height: 1.9;
  color: #555448;
}

.certificate-image-link {
  position: relative;
  display: block;
  max-width: 490px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid #c5b58c;
  box-shadow: 0 18px 45px rgba(35, 31, 20, 0.15);
  background: #fff;
}

.certificate-image-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.certificate-image-link:hover img {
  transform: scale(1.025);
}

.certificate-image-link span {
  display: block;
  padding: 14px;
  text-align: center;
  color: #f5f1e8;
  background: #252720;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .certificate-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px 20px;
  }

  .certificate-image-link {
    width: 100%;
    max-width: 400px;
  }
}


/* POPRAWKA SLIDERÓW REALIZACJI — DESKTOP I TELEFON */

.project-placeholder {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

/* Slider zdjęć w realizacjach */
.project-placeholder .realization-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.project-placeholder .realization-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.project-placeholder .realization-slide.is-active {
  opacity: 1;
}

.project-placeholder::before {
  z-index: 1;
  pointer-events: none;
}

.project-placeholder > span,
.project-placeholder > small {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

@media (max-width: 850px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 12px;
  }

  .project-placeholder.project-large {
    grid-row: span 2;
  }
}

@media (max-width: 520px) {
  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
  }

  .project-placeholder,
  .project-placeholder.project-large {
    grid-row: auto;
    min-height: 260px;
  }
}


/* Zdjęcia w sekcji procesu */
.process-grid article {
  overflow: hidden;
}

.process-grid article img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 20px;
}


/* Formularz zgłoszeniowy Ever Union 78 */
.application-form {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(22px, 4vw, 42px);
  background: #fff;
  color: #252722;
  border: 1px solid rgba(37, 39, 34, 0.12);
  border-radius: 12px;
  box-sizing: border-box;
}

.application-form * {
  box-sizing: border-box;
}

.application-form .form-intro {
  margin-bottom: 32px;
}

.application-form .form-intro h2 {
  margin: 8px 0 12px;
}

.application-form .form-intro > p:last-child {
  line-height: 1.7;
  color: #686860;
}

.application-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.application-form .form-group {
  min-width: 0;
  margin: 0 0 22px;
}

.application-form label,
.application-form legend {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 600;
}

.application-form input:not([type="radio"]),
.application-form select,
.application-form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid #d8d5ce;
  border-radius: 6px;
  background: #fff;
  color: #252722;
  font: inherit;
  font-size: 14px;
}

.application-form textarea {
  min-height: 130px;
  resize: vertical;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  outline: 2px solid #9b8058;
  outline-offset: 2px;
  border-color: #9b8058;
}

.application-form .form-options {
  padding: 0;
  border: 0;
}

.application-form .form-options legend {
  margin-bottom: 13px;
}

.application-form .radio-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 12px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.application-form .radio-option input[type="radio"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #8a704b;
}

.application-form .radio-option span {
  font-size: 14px;
}

.application-form .form-required {
  margin: 4px 0 16px;
  color: #686860;
  font-size: 12px;
}

.application-form .form-submit {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid #252722;
  border-radius: 6px;
  background: #252722;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.application-form .form-submit:hover {
  background: #8a704b;
  border-color: #8a704b;
}

.application-form .form-status {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .application-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .application-form {
    padding: 22px 18px;
  }
}


/* Sekcja kontaktowa Ever Union 78 */
.contact {
  position: relative;
  overflow: hidden;
  background: #191916;
  color: #f5f0e7;
  padding: clamp(64px, 9vw, 120px) 24px;
}

.contact-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-content {
  max-width: 760px;
}

.contact .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: #c9ab76;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: #c9ab76;
}

.contact h2 {
  margin: 0;
  color: #f5f0e7;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.contact h2 em {
  color: #c9ab76;
  font-weight: 400;
}

.contact-description {
  max-width: 570px;
  margin: 26px 0 36px;
  color: #c7c3ba;
  font-size: 16px;
  line-height: 1.85;
}

.contact-details {
  max-width: 590px;
  border-top: 1px solid #49463e;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid #49463e;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, padding 0.2s ease;
}

.contact-item:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(201, 171, 118, 0.06);
}

.contact-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #49463e;
  border-radius: 50%;
  color: #c9ab76;
}

.contact-icon svg {
  display: block;
  width: 21px !important;
  height: 21px !important;
  max-width: 21px;
  max-height: 21px;
  flex: 0 0 21px;
}

.contact-item-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.contact-item-text small {
  color: #aaa69d;
  font-size: 12px;
}

.contact-item-text strong {
  overflow-wrap: anywhere;
  color: #f5f0e7;
  font-size: 16px;
  font-weight: 500;
}

.contact-arrow {
  color: #c9ab76;
  font-size: 24px;
  transition: transform 0.2s ease;
}

.contact-item:hover .contact-arrow {
  transform: translate(3px, -3px);
}

.contact-note {
  margin: 28px 0 0;
  color: #aaa69d;
  font-size: 13px;
  letter-spacing: 0.02em;
}


/* KONTAKT — WYŚRODKOWANIE NA KAŻDYM EKRANIE */

.contact {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.contact-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto !important;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.contact .eyebrow {
  justify-content: center;
}

.contact h2,
.contact-description,
.contact-note {
  width: 100%;
  text-align: center !important;
}

.contact-description {
  margin-left: auto;
  margin-right: auto;
}

.contact-details {
  width: 100%;
  max-width: 590px;
  margin-left: auto;
  margin-right: auto;
}

.contact-item {
  justify-content: center;
  text-align: left;
}

.application-form {
  width: 100%;
  max-width: 760px;
  margin: 48px auto 0 !important;
}

@media (max-width: 600px) {
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .application-form {
    margin-top: 32px !important;
  }
}


@media (max-width: 600px) {
  .contact {
    padding: 64px 20px;
  }

  .contact-description {
    font-size: 15px;
  }

  .contact-item {
    gap: 13px;
  }

  .contact-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .contact-item-text strong {
    font-size: 14px;
  }
}


/* Czytelne nagłówki formularza */
.application-form .form-intro h2 {
  color: #252722;
}

.application-form .form-intro p {
  color: #45453f;
}


/* Wybór plików — Ever Union 78 */
.file-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.file-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 1px solid #b79a63;
  background: transparent;
  color: #b79a63;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.file-upload-button:hover {
  background: #b79a63;
  color: #151614;
}

.file-upload-icon {
  font-size: 20px;
  line-height: 1;
}

.file-upload-info {
  margin: 10px 0 0;
  color: #99978f;
  font-size: 12px;
  line-height: 1.6;
}

.file-upload-input:focus-visible + * {
  outline: 2px solid #b79a63;
  outline-offset: 4px;
}

