/* Oferta WIT — CSS oczyszczony z reguł nieużywanych w tej podstronie. */

:root {
  --green: #28eaa9;
  --green-hover: #2419aa;
  --red: #2419aa;
  --black: #000;
  --white: #fff;
  --gray-line: #dcd0ba;
  --footer-green: #28eaa9;
  --footer-dark-green: #22c693;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--black);
  background-color: var(--white);
  font-size: 18px;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 80%;
}

header {
  background-color: #1a1174;
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  padding-bottom: 42px;
  padding-top: 22px;
}

.logo img {
  height: 50px;
}

.logo a img {
  content: url("../img/logo_wit_fundacja_extended.png");
  transition: content 0s;
}

.logo a:hover img {
  content: url("../img/logo_wit_hover.png");
}

nav a {
  margin: 0 12px;
  padding: 10px 22px;
  color: #d4d2d2;
}

nav a:hover {
  text-decoration: underline;
}

nav .kontakt {
  background-color: #d4d2d2;
  color: var(--black);
  border-radius: 0;
}

nav .kontakt:hover {
  background-color: #000;
  color: #d4d2d2;
  text-decoration: none;
}

nav .en {
  color: #d4d2d2;
}

nav .en:hover {
  text-decoration: underline;
}

.separator {
  height: 1px;
  background-color: #2e2682;
  width: 100%;
}

.section-full-image {
  width: 100%;
  height: 400px; /* możesz zmienić np. 500px / 60vh */
  background-image: url("../img/produkcja_zdjeciowa_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 0 -20px 0;
}

.hero {
  background-color: #1a1174;
  text-align: center;
  padding: 60px 0 100px 0;
}

.hero h1 {
  font-size: 80px;
  line-height: 1.3;
  font-family: "Bodoni Moda", serif;
  font-weight: normal;
  color: #d4d2d2;
}

.hero .highlight {
  font-family: "Outfit", sans-serif;
  font-weight: 100;
  color: #d4d2d2;
}

.section-intro {
  padding: 60px 0 20px;
}

.intro-text p:first-child {
  font-size: 24px;
  font-weight: 500;
}

.intro-text p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.company-info {
  margin-top: 0px;
  font-size: 16px;
  line-height: 1.8;
  padding-left: 25px;
  padding-right: 25px;
  color: #555;
}

.section-audience {
  padding: 20px 0 20px 0;
}

.audience-title {
  font-size: 23px;
  margin-bottom: 20px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.audience-item {
  border: 3px solid #221891;
  padding: 20px;
  font-size: 18px;
  line-height: 1.5;
  background-color: #221891;
  color: #fff;
}

.section-process {
  padding: 40px 0 0 0;
}

.process-title {
  font-size: 23px;
  margin-bottom: 20px;
}

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

.process-item {
  background-color: #f2f2f2;
  padding: 20px;
  font-size: 18px;
  line-height: 1.5;
  color: #000;
  font-weight: 400;
}

@media  (max-width: 768px)  {
.process-grid {
    grid-template-columns: 1fr;
  }
}

@media  (max-width: 768px)  {
.audience-grid {
    grid-template-columns: 1fr;
  }
}

.section-intro--realizations {
  padding: 80px 0 0 0;
}

.trusted-section {
  width: 100%;
  background-color: #fff;
  border-top: 2px solid #e4e4e4;
  padding: 60px 0 60px;
  margin-top: -20px;
}

.trusted-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.trusted-title {
  font-size: 20px;
  flex: 0 0 200px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  gap: 60px;
}

.trusted-logos img {
  display: block;
  width: auto;
  height: auto;
  max-height: 70px;
  max-width: 320px;
}

@media  (max-width: 768px)  {
.trusted-section {
    padding: 55px 0 60px;
  }
.trusted-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
  }
.trusted-title {
    flex: none;
    font-size: 20px;
  }
.trusted-logos {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
  }
.trusted-logos img {
    max-width: 100%;
    max-height: 65px;
  }
}

footer {
  font-size: 18px !important;
}

.footer-top {
  background-color: #221891;
  padding: 25px 0;
}

.footer-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 50px;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icons a {
  display: inline-block;
}

.social-icons img {
  height: 40px;
  transition: filter 0.3s;
}

.social-icons img:hover {
  filter: brightness(0);
}

.footer-bottom {
  background-color: #1a1174;
  padding: 30px 0;
}

.footer-row {
  display: flex;
  gap: 14px;
}

.footer-links {
  font-size: 23px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
  flex-direction: column;
  text-align: center;
  margin-bottom: 80px;
  align-items: flex-start;
}

.footer-links a {
  text-decoration: none;
  color: #d4d2d2;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .pdf {
  text-decoration: underline;
}

.footer-links .pdf:hover {
  text-decoration: none;
}

@media  (max-width: 900px)  {
.footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
.footer-links a {
    width: 100%;
  }
.footer-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 26px;
  gap: 30px;
}

.footer-cookies {
  flex: 1;
  max-width: 700px;
  font-size: 18px !important;
}

.footer-cookies p {
  margin: 5px 0;
  color: #d4d2d2;
}

.footer-cookies .cookie-link {
  text-decoration: underline;
}

.footer-cookies .cookie-link:hover {
  text-decoration: none;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 200px;
  text-align: right;
  flex-direction: row; /* <-- kluczowe */
}

.footer-legal img {
  height: 28px;
  margin-top: 10px;
}

.footer-legal a img {
  height: 28px;
  transition: filter 0.3s;
  margin-top: 0;
  margin-top: 15px;
}

.footer-legal a img:hover {
  filter: brightness(0);
}

.project-tiles-grid--two {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: -60px;
  margin-bottom: -5px;
}

.project-tiles-grid--two .project-tile {
  flex: 1 1 calc(50% - 15px);
}

@media  (max-width: 900px)  {
.project-tiles-grid--two .project-tile {
    flex: 1 1 100%;
  }
}

.section-projects-tiles {
  padding: 80px 0 80px;
  background-color: #fff;
  margin-top: 0px;
}

.project-tiles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.project-tile {
  flex: 1 1 calc(33.333% - 20px);
  background-color: #fff;
  border: 3px solid #e4e4e4;
  padding: 24px;
  font-size: 18px;
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  box-sizing: border-box;
}

.project-tile img.tile-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.tile-text {
  font-size: 18px;
  line-height: 1.6;
}

@media  (max-width: 900px)  {
.project-tiles-grid {
    flex-direction: column;
  }
.project-tile {
    flex: 1 1 100%;
    min-height: auto;
  }
}

.hamburger {
  background: none;
  border: none;
  font-size: 64px;
  cursor: pointer;
  display: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #e7d6ad;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 40px 20px;
  gap: 30px;
}

.mobile-menu a {
  font-size: 54px;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
  color: var(--black);
  line-height: 0.7;
}

.mobile-menu a:hover {
  text-decoration: underline;
}

.mobile-menu.open {
  display: flex;
}

.close-mobile {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 64px;
  cursor: pointer;
  padding-right: 30px;
}

.mobile-menu-header {
  width: 100%;
  background-color: #e7d6ad;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  position: absolute;
  top: 0;
  left: 0;
}

.mobile-menu-header .mobile-logo {
  padding-left: 28px;
  padding-top: 23px;
}

.mobile-logo img {
  height: 50px;
}

.link-en {
  color: #2419aa !important;
}

.link-wit {
  color: #00d7a1 !important;
}

@media  (max-width: 900px)  {
header {
    padding: 12px 0;
  }
header .separator {
    display: none;
  }
.header-content {
    padding-top: 10px;
    padding-bottom: 26px;
  }
.desktop-nav {
    display: none;
  }
.hamburger {
    display: block;
  }
.footer-top-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
.container {
    width: 90%;
  }
.footer-bottom-content {
    flex-direction: column;
    gap: 30px;
  }
.footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
.footer-cookies, .footer-legal {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
.footer-logo {
    display: none;
  }
.footer-links {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
.footer-links a {
    display: block;
    text-align: center;
    width: 100%;
  }
.footer-links a + a::before {
    content: none;
  }
.hero h1 {
    font-size: 58px;
    line-height: 1.2;
  }
}

.offer-owner-section {
  background-color: #fff;
  padding: 0 0 65px;
  margin-top: -50px;
}

.offer-owner {
  background: linear-gradient(135deg, #312c00 0.000%, #312c00 14.286%, #332e1e calc(14.286% + 1px), #332e1e 28.571%, #323149 calc(28.571% + 1px), #323149 42.857%, #2c3377 calc(42.857% + 1px), #2c3377 57.143%, #2436a2 calc(57.143% + 1px), #2436a2 71.429%, #1a39c0 calc(71.429% + 1px), #1a39c0 85.714%, #113ccc calc(85.714% + 1px) 100.000%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 50px 65px;
}

.offer-owner-photo {
  flex: 0 0 180px;
}

.offer-owner-photo img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
}

.offer-owner-text {
  flex: 1;
  font-size: 20px;
  line-height: 1.45;
  color: #d4d2d2;
}

.offer-owner-text p {
  margin: 0;
}

.offer-owner-text p + p {
  margin-top: 4px;
}

@media  (max-width: 900px)  {
.offer-owner-section {
    padding-bottom: 50px;
  }
.offer-owner {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 40px 28px;
  }
.offer-owner-photo {
    flex: none;
  }
.offer-owner-photo img {
    width: 160px;
    height: 160px;
  }
.offer-owner-text {
    width: 100%;
    font-size: 18px;
    line-height: 1.55;
    text-align: left;
  }
}

/* MOBILNE MENU — KOLORYSTYKA DESKTOPOWA */

.mobile-menu,
.mobile-menu-header {
  background-color: #1a1174;
}

.mobile-menu a {
  color: #d4d2d2;
}

.mobile-menu a:hover {
  color: #ffffff;
}

.hamburger,
.close-mobile {
  color: #d4d2d2;
}

.hamburger:hover,
.close-mobile:hover {
  color: #ffffff;
}


/* ==========================================================
   OFERTA: wspólne tło wideo dla górnego menu i napisu HERO
   ========================================================== */
.offer-video-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #1a1174; /* tło awaryjne, gdy film nie zadziała */
}

.offer-background-video,
.offer-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.offer-background-video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.offer-video-overlay {
  z-index: -1;
  background: rgba(8, 7, 35, 0.54);
}

.offer-video-hero > header,
.offer-video-hero > .hero {
  position: relative;
  background: transparent;
}

.offer-video-hero > header {
  flex: 0 0 auto;
}

.offer-video-hero > .hero {
  display: block;
  flex: 0 0 auto;
  padding: 60px 0 100px;
}

.offer-video-hero > .hero > .container {
  width: 80%;
}

/* Ukryj dawną linię również wtedy, gdy zostanie ponownie dodana w HTML. */
.offer-video-hero .separator {
  display: none;
}

@media (max-width: 900px) {
  .offer-video-hero {
  }

  .offer-video-hero > .hero {
    padding: 45px 0 75px;
  }

  .offer-video-hero > .hero > .container {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .offer-video-hero .hero h1 {
    font-size: clamp(32px, 8.5vw, 52px);
    line-height: 1.2;
  }
  .offer-video-hero > .hero {
    padding: 35px 0 65px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-background-video {
    display: none;
  }
}


/* ===========================================================
   NOWE MENU MOBILNE WIT — wariant granatowy z projektu graficznego
   Tylko ekrany <= 900px; desktop pozostaje nietknięty.
   =========================================================== */
@media (max-width: 900px) {
  .mobile-menu.mobile-menu--editorial.mobile-menu--offer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    padding: 0;
    gap: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    color: #000;
    background: linear-gradient(to bottom, #2419aa 0%, #2419aa 21%, #a69fdf 40%, #fff 63%, #fff 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu.mobile-menu--editorial.mobile-menu--offer.open { display: flex; }

  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-header {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 auto;
    width: 100%;
    min-height: 150px;
    padding: 36px 7.5% 26px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: transparent;
  }

  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-header .mobile-logo {
    padding: 0;
    margin: 0;
  }

  .mobile-menu--editorial.mobile-menu--offer .mobile-logo a { display: block; line-height: 1; }
  .mobile-menu--editorial.mobile-menu--offer .mobile-logo img {
    height: clamp(38px, 10vw, 54px);
    width: auto;
    display: block;
    filter: brightness(0);
  }

  .mobile-menu--editorial.mobile-menu--offer .close-mobile {
    position: static;
    flex: 0 0 auto;
    padding: 0;
    margin: -8px 0 0;
    border: 0;
    color: #000;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: clamp(46px, 12vw, 66px);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }
  .mobile-menu--editorial.mobile-menu--offer .close-mobile:hover { color: #000; opacity: .65; }

  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-body {
    width: 100%;
    padding: 0 5% 38px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: clamp(36px, 7vh, 70px) 7% clamp(34px, 6vh, 60px);
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
  }

  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-primary a {
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    font-family: "Outfit", sans-serif;
    font-size: clamp(38px, 9.2vw, 70px);
    font-weight: 750;
    line-height: 1.14;
    color: #000;
    text-decoration: none;
    letter-spacing: -.025em;
  }

  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-secondary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(35px, 6vh, 70px) 7% 0;
  }
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-secondary a {
    display: block;
    color: #000;
    font-family: "Outfit", sans-serif;
    font-size: clamp(21px, 5.5vw, 34px);
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
  }
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-primary a:hover,
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-secondary a:hover {
    color: #2419aa;
    text-decoration: none;
  }

  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-legal {
    margin-top: auto;
    padding: clamp(40px, 7vh, 85px) 7% 0;
    font-family: "Outfit", sans-serif;
    font-size: clamp(11px, 2.7vw, 14px);
    font-weight: 650;
    line-height: 1.35;
  }
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-legal p { margin: 0 0 14px; }
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-legal a {
    display: inline;
    font-size: inherit;
    color: #000;
    text-decoration: underline;
    line-height: inherit;
  }
  .mobile-menu--editorial.mobile-menu--offer a:focus-visible,
  .mobile-menu--editorial.mobile-menu--offer button:focus-visible { outline: 3px solid #2419aa; outline-offset: 4px; }
}

@media (max-width: 900px) and (max-height: 690px) {
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-header { min-height: 105px; padding-top: 24px; padding-bottom: 18px; }
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-primary { padding-top: 24px; padding-bottom: 24px; }
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-secondary { padding-top: 24px; }
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-legal { padding-top: 35px; }
}

/* Linki w menu oferty pozostają czarne na tle gradientu. */
@media (max-width: 900px) {
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-primary a,
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-secondary a,
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-legal a { color: #000; }
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-primary a:hover,
  .mobile-menu--editorial.mobile-menu--offer .mobile-menu-secondary a:hover { opacity: .65; }
}
