@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Source+Sans+3:wght@400;600&display=swap');

:root {
      --brand-orange: RGB(255, 096, 0);
      --brand-orange-dark: #e65f00;
      --peach-bg: #ffb391;
      --light-gray-bg: RGB(218, 218, 218);
      --text-dark: #111111;
      --page-width: 1200px;
      --page-padding: 20px;
}

.page-wrapper {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
  box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
}
.page-title {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 40px 0 50px;
    letter-spacing: 0.08em;
  }


/* HEADER / NAVBAR */
    .top-nav {
      padding: 20px 60px;
    }
    .opaque-header {
      background-color: #ffffff !important;
      opacity: 1 !important;
      backdrop-filter: none !important;
    }

    .brand-logo {
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--brand-orange);
      text-decoration: none;
      letter-spacing: 0.03em;
    }

    .brand-logo span.hash {
      display: inline-block;
      margin-right: 6px;
      border-right: 6px solid var(--brand-orange);
      padding-right: 4px;
      height: 1.2em;
      vertical-align: middle;
    }
    .logo-img {
      height: 25px;
      width: auto;
    }

    .nav-link-custom {
      font-size: 0.95rem;
      font-weight: 500;
      color: #555;
      margin-left: 24px;
      text-decoration: none;
      padding: 4px;
    }

    .nav-link-custom:hover {
      color: var(--brand-orange);
      border: 0.5px solid var(--brand-orange);

    }

    .social-icon {
      font-size: 1rem;
      color: #555;
      margin-left: 10px;
    }

    .social-icon:hover {
      color: var(--brand-orange);
    }

/*index.html*/

/* HERO */
    .hero-section {
      width: 100%;
      padding: 1rem 5rem;
    }

    .hero-title {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 24px;
    }

    .hero-text {
      font-size: 1.05rem;
      max-width: 540px;
    }

    .hero-illustration {
      border: 2px solid var(--brand-orange);
      border-radius: 16px;
      height: 220px;
      max-width: 320px;
      margin-left: auto;
      position: relative;
    }

    .sun-circle {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: var(--brand-orange);
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
    }

    .house-outline {
      position: absolute;
      bottom: 20px;
      left: 20px;
      right: 20px;
      height: 120px;
      border: 2px solid #000;
      border-radius: 6px;
    }

/* SECTION: REDUKCJA / USŁUGI DORADCZE */
    
@media (min-width: 992px) {
    .split-section {
      width: 100%;
      min-height: 380px;
      background: linear-gradient(
        to right,
        var(--peach-bg) 0 50%,
        var(--light-gray-bg) 50% 100%
      );
    }
  }

    .illustration-box {
      width: auto !important;
      height: auto !important;
    }

    .illustration-img {
      width: 300px;
      height: 190px;
      object-fit: contain; /* albo 'cover' jeśli wolisz pełne wypełnienie */
      display: block;
    }

    .illustration-img-1 {
       width: 440px;
      height: 273px;
      object-fit: contain; /* albo 'cover' jeśli wolisz pełne wypełnienie */
      display: block;
    }

    .bg-peach {
      background: var(--peach-bg);
    }

    .bg-light-gray {
      background: var(--light-gray-bg);
    }



    .section-padding {
      padding: 60px;
    }

    .section-heading {
      font-size: 2.3rem;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .section-subtext {
      font-size: 1.05rem;
      margin-bottom: 30px;
    }

    .btn-brand {
      background-color: var(--brand-orange);
      border-color: var(--brand-orange);
      color: #fff;
      font-weight: 600;
      border-radius: 0;
      padding: 10px 22px;
    }

    .btn-brand:hover {
      background-color: var(--brand-orange-dark);
      border-color: var(--brand-orange-dark);
      color: #fff;
    }

   
/* ====== Konsulting – ujednolicone boxy ====== */
.consulting-section {
      background-color: #f5f5f5; /* delikatne jasne tło sekcji */
}

.consulting-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* GÓRNY PANEL Z OKŁADKĄ – jednakowa wysokość dla wszystkich */
.consulting-card-top {
  height: 260px;            /* <<< KLUCZOWE — identyczna wysokość */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFF3E8;
  padding: 20px;            /* „oddech” wokół okładki */
}

/* OKŁADKA – ma być widoczna w całości */
.consulting-cover {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;       /* <<< CAŁA OKŁADKA, bez przycinania */
  display: block;
}

/* BODY (tytuł + footer) */
.consulting-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;              /* rośnie, aby wszystkie karty wyrównały się do równej wysokości */
}

/* Tytuł */
.consulting-card-title {
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* Dolna część — na dole boxa dzięki mt-auto */
.consulting-card-body .mt-auto {
  margin-top: auto;
}

.consulting-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #555;
}

.consulting-client {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 2px;
}

.consulting-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #eb6a0a;
  text-decoration: none;
}

    .btn-more {
      border-radius: 0;
      padding-inline: 24px;
    }


/* zespol.html */

.team-cards-section {
  padding-bottom: 80px;
}

.team-intro-text {
  font-size: 1rem;               /* ok. 16px */
  font-weight: 400;
  line-height: 1.75;             /* KLUCZ → większy odstęp jak na screenie */
  letter-spacing: 0.2px;         /* subtelne rozsunięcie znaków */
  max-width: 760px;              /* tekst mniej szeroki, bardziej premium */
  margin-bottom: 0;
  color: #4a4a4a;                /* bardziej naturalny ciemny szary */
}


.team-intro-title {
  text-transform: uppercase;
  letter-spacing: 0.35em;        /* duże rozstrzelenie jak w oryginale */
  font-size: 1.3rem;
  font-weight: 500;
  text-align: right;             /* wyrównanie do prawej */
  margin-bottom: 60px;
  margin-right: 200px;
  color: #3a3a3a;
}

.team-card {
  position: relative;
  background-color: #e3e3e3;
  overflow: hidden;
  min-height: 380px;
  cursor: pointer;
}

/* MODALE Z BIO */
.team-modal .modal-dialog {
  max-width: 640px;
}

.team-modal .modal-content {
  border-radius: 0;
  border: none;
  padding: 0;
  overflow: hidden;
}

.team-modal-image-wrapper img {
  width: 100%;
  display: block;
}

.team-modal-body {
  background-color: var(--brand-orange);
  color: #ffffff;
  padding: 24px 28px 32px;
}

.team-modal-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.team-modal-role {
  font-size: 0.95rem;
  margin-top: 4px;
}

.team-modal-text {
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.6;
}

.team-card-main {
  background-color: var(--brand-orange);
  position: relative;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.team-card-main .team-photo {
  filter: grayscale(100%);      /* możesz zmniejszyć np. do 50%, jeśli chcesz więcej koloru */
  mix-blend-mode: multiply;     /* klucz – dzięki temu pomarańczowy kolor „przenika” */
  opacity: 0.75;
}

.team-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.9rem;
  background: linear-gradient(to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0)
  );
}

.team-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}

.team-role {
  font-size: 0.85rem;
  opacity: 0.9;
}

.team-arrow {
  font-size: 1.1rem;
  opacity: 0.9;
}

.team-logo-col {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.team-logo-symbol {
  max-width: 300px;      /* zmniejsz logo */
  height: auto;
  margin-left: 40px;     /* odstęp od tekstu */
  margin-top: 0;
}

/* dodatkowo większy margines między kolumnami */
.team-intro-section {
  padding-bottom: 80px;   /* więcej miejsca POD tekstem i logo */
}

.team-intro-section .row {
  align-items: flex-start;    /* tekst i logo wyrównane do góry */
}

/* RWD – na telefonie logo pod tekstem, pośrodku */
@media (max-width: 991.98px) {
  .team-logo-col {
    justify-content: center;
    margin-top: 32px;
  }

  .team-logo-symbol {
    max-width: 180px;
    margin-left: 0;
  }
}


/*optymalizacja.html*/

  .alt-section {
    /*font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;*/
    color: #222;
    line-height: 1.4;
  }

  .alt-row {
    padding: 40px 0;
  }

  .alt-row--orange {
    background: #ff7b3a;
  }

  .alt-row--grey {
    background: #e7e7e7;
  }

  .alt-row--white {
    background: #fff;
  }

  .alt-row-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
  }

  .alt-row-inner--reverse {
    flex-direction: row-reverse;
  }

  .alt-col {
    flex: 1;
  }

  .alt-col--wide {
    flex: 1.4;
  }

  .alt-col--text h2 {
    font-size: 28px;
    margin: 0 0 16px;
  }

  .alt-col--text h3 {
    font-size: 20px;
    margin: 24px 0 12px;
  }

  .alt-col--text h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 16px 0 6px;
  }

  .alt-col--text p {
    margin: 0 0 12px;
    font-size: 14px;
  }

  .alt-col--text ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
  }

  .alt-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 8px;
  }

  /* Proste „ilustracje” jako placeholdery */
  .alt-col--graphic {
    display: flex;
    justify-content: center;
  }

  .alt-ico {
    width: 140px;
    height: 140px;
    border-radius: 24px;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
  }

  .alt-row--orange .alt-ico {
    border-color: #fff;
  }

  .alt-ico--hand::before {
    content: "🤲";
  }

  .alt-ico--checks::before {
    content: "✅✅✅";
    font-size: 28px;
  }

  .alt-ico--cake::before {
    content: "🎂☀️";
    font-size: 32px;
  }

  @media (max-width: 768px) {
    .alt-row-inner,
    .alt-row-inner--reverse {
      flex-direction: column;
      text-align: left;
    }

    .alt-col--graphic {
      order: -1;
    }
  }

  .opt-section {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    line-height: 1.4;
  }

  .opt-row {
    padding: 40px 0;
  }

  .opt-row--light {
    background: #ffe6d7;
  }

  .opt-row--orange {
    background: #ff9c66;
  }
  .alt-row--orange2 {
    background: #ff9c66;
  }


  .opt-row-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: center;
  }

  .opt-row-inner--reverse {
    flex-direction: row-reverse;
  }

  .opt-col {
    flex: 1;
  }

  .opt-col--text h2 {
    font-size: 28px;
    margin: 8px 0 16px;
  }

    .opt-col--graphic {
    display: flex;
    justify-content: center;
    align-items: center; /* wyśrodkowanie w pionie */
  }

  /* rozmiar dopasowany „jak tekst” */
  .opt-svg-icon {
    max-height: 140px; /* możesz zwiększyć lub zmniejszyć */
    width: auto;
  }

  .opt-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    margin-bottom: 4px;
  }
   

    /* FOOTER */
    .footer-main {
      background: var(--brand-orange);
      color: #fff;
      padding: 40px 60px 20px;
      font-size: 0.65rem;
    }

    .footer-logo {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .footer-logo span.hash {
      display: inline-block;
      margin-right: 6px;
      border-right: 6px solid #fff;
      padding-right: 4px;
      height: 1.2em;
      vertical-align: middle;
    }
    .footer-links {
      padding-top: 3rem;
    }

    .footer-links a {
      color: #fff;
      text-decoration: none;
      display: block;
      font-weight: 600;
      margin-bottom: 6px;
    }

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

    .footer-social i {
      font-size: 1.4rem;
      margin-right: 12px;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.4);
      margin-top: 20px;
      padding-top: 12px;
      font-size: 0.85rem;
    }

    .footer-bottom a {
      color: #fff;
      text-decoration: none;
    }

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

    @media (max-width: 991.98px) {
      .top-nav,
      .hero-section,
      .section-padding,
      .footer-main {
        padding-left: 20px;
        padding-right: 20px;
      }

      .hero-illustration {
        margin-top: 30px;
        margin-left: 0;
      }

      .section-heading {
        font-size: 2rem;
      }

      .footer-links {
        margin-top: 30px;
      }
    }

    /*CONSULTING*/

.consulting-hero-title {
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 600;
}

.consulting-hero-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #555;
}

.consulting-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: #777;
}

/* KARTY */

.consulting-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* wspólne ustawienia górnego panelu, ale BEZ background */
.consulting-card-top {
  height: 260px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ORYGINALNE KOLORY BOXÓW – 1:1 jak na screenie */

.bg-consulting-1 {
  background-color: #E0E3DD !important;  /* jasny oliwkowo-szary */
}

.bg-consulting-2 {
  background-color: #E6E1DC !important;  /* szarobeżowy */
}

.bg-consulting-3 {
  background-color: #0D3E74 !important;  /* granat */
}

.bg-consulting-4 {
  background-color: #E7D8B8 !important;  /* piaskowy */
}

.bg-consulting-5 {
  background-color: #E8E3DE !important;  /* jasny popiel */
}

.bg-consulting-6 {
  background-color: #C3DFEC !important;  /* jasny morski */
}


/* na wypadek gdyby wcześniejsze style nadpisywały tło pomarańczem */
.consulting-publications .consulting-card-top {
  background: transparent;   /* pozwala działać bg-consulting-* */
}

/* okładki – w całości widoczne */
.consulting-cover {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* treść karty */
.consulting-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.consulting-card-title {
  font-size: 0.98rem;
  margin-bottom: 14px;
  line-height: 1.5;
}

.consulting-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #777;
}

.consulting-client {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 2px;
}

.consulting-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #eb6a0a;
}

/* responsywność hero */
@media (max-width: 991.98px) {
  .consulting-hero-title {
    font-size: 1.9rem;
  }
}
/* wspólne */
.team-flip-card {
  perspective: 1000px;
}

.team-flip-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 3;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

/* przód / tył */
.team-flip-front,
.team-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  overflow: hidden;
}
.raczka {
    background: linear-gradient(
    to bottom,
    rgba(218, 218, 218, 0.95) 0%,
    rgba(218, 218, 218, 0.75) 35%,
    rgba(218, 218, 218, 0.3) 65%,
    rgba(218, 218, 218, 0) 100%
  );
}
.orange-gradient {
  background: linear-gradient(
    to bottom,
    rgba(255, 96, 0, 0.95) 0%,
    rgba(255, 96, 0, 0.75) 35%,
    rgba(255, 96, 0, 0.35) 65%,
    rgba(255, 96, 0, 0) 100%
  );
}
.light-orange-gradient {
  background: linear-gradient(
    to bottom,
    rgba(255, 179, 143, 0.95) 0%,
    rgba(255, 179, 143, 0.75) 35%,
    rgba(255, 179, 143, 0.35) 65%,
    rgba(255, 179, 143, 0) 100%
  );
}


.team-desc {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.team-photo {
  position: relative;
  z-index: 0;
}

.team-flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-flip-front {
  position: relative;
}

/* overlay z tekstem */
.team-front-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 20px;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0)
  );

  color: #fff;
}
.team-front-overlay .raczka{
  background: rgb(218,218,218);
}

.team-front-overlay .team-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.team-front-overlay .team-role {
  font-size: 0.9rem;
  opacity: 0.85;
}


.team-flip-back {
  background: rgb(218,218,218);
  color: black;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}
.team-flip-inner {
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.team-flip-card.is-flipped .team-flip-inner {
  transform: rotateY(180deg);
}

/*OPOZNIENIE*/

.animate-card {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.animate-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*ANIMACJA SEKCJI*/

.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/*STRONA GLOWNA ANIMACJE*/
/* ===== STAN POCZĄTKOWY ===== */
.reveal-hero,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* hero */
.reveal-hero {
  transform: translateY(-30px);
}

/* lewa karta */
.reveal-left {
  transform: translateX(-80px);
}

/* prawa karta */
.reveal-right {
  transform: translateX(80px);
}

/* ===== STAN WIDOCZNY ===== */
.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}






