
    :root {
      --color-white: #ffffff;
      --color-pom: #f67d0f;
      --color-pom-light: #f8c698;
      --color-pom-dark: #ed6a00;
      --color-soft: #f4f8fb;
      --color-soft-2: #edf3f8;
      --color-blue: #257451;
      --color-blue2: #3a8363;
      --color-blue-dark: #184c35;
      --color-blue-light: #6eb09a;
      --color-ink: #172434;
      --color-muted: #6a7887;
      --shadow-soft: 0 22px 60px rgba(15, 63, 100, .12);
      --shadow-card: 0 14px 36px rgba(15, 63, 100, .10);
      --border: 1px solid rgba(29, 111, 165, .16);
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--color-ink);
      background: linear-gradient(180deg, var(--color-white) 0%, var(--color-soft) 100%);
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
    }

    a {
      color: inherit;
      text-decoration: none;
    }
    .subpage-content a { text-decoration: underline; } 
    .subpage-content a:hover { text-decoration: none; }
    .font-serif {
      font-family: "Playfair Display", Georgia, serif;
    }

    .text-blue {
      color: var(--color-blue);
    }
    .text-blue2 {
      color: var(--color-blue2);
    }

    .bg-soft {
      background: var(--color-soft);
    }

    .bg-blue-dark {
      background: var(--color-blue-dark);
    }

    .section-padding {
      padding: 96px 0;
    }

    .section-title {
      max-width: 760px;
      margin-bottom: 44px;
    }

    .section-title .eyebrow,
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--color-blue);
    }

    .eyebrow::before {
      content: "";
      width: 34px;
      height: 2px;
      background: var(--color-blue);
      display: inline-block;
    }

    .lead-muted {
      color: var(--color-muted);
      line-height: 1.85;
    }

    .navbar {
      background: rgba(255, 255, 255, .88);
      backdrop-filter: blur(16px);
      border-bottom: var(--border);
    }

    .navbar-brand {
      font-weight: 800;
      letter-spacing: -.04em;
      color: var(--color-blue-dark);
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      display: inline-grid;
      place-items: center;
      background: var(--color-blue-dark);
      color: #fff;
      box-shadow: 7px 7px 0 var(--color-blue-light);
    }

    .nav-link {
      font-size: .92rem;
      font-weight: 700;
      color: var(--color-ink);
      position: relative;
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: .5rem;
      right: .5rem;
      bottom: 3px;
      height: 2px;
      background: var(--color-blue);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform .25s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      transform: scaleX(1);
      transform-origin: left;
    }
    .btn  { 
      border-radius: 0;
    } 
    .btn-main {
      --bs-btn-bg: var(--color-blue);
      --bs-btn-border-color: var(--color-blue);
      --bs-btn-hover-bg: var(--color-blue-dark);
      --bs-btn-hover-border-color: var(--color-blue-dark);
      --bs-btn-color: #fff;
      --bs-btn-hover-color: #fff;
      border-radius: 0;
      padding: .92rem 1.35rem;
      font-weight: 800;
      box-shadow: 7px 7px 0 var(--color-blue-light);
      transition: transform .25s ease, box-shadow .25s ease;
    }
    .btn-main-trans { 
      box-shadow:7px 7px 0 rgba(29,111,165,.23);
    }


    .btn-main:hover {
      transform: translate(-2px, -2px);
      box-shadow: 10px 10px 0 var(--color-blue-light);
    }

    .btn-ghost {
      border: 1px solid rgba(15, 63, 100, .24);
      border-radius: 0;
      padding: .92rem 1.35rem;
      font-weight: 800;
      color: var(--color-blue-dark);
      transition: background .25s ease, color .25s ease, transform .25s ease;
    }

    .btn-ghost:hover {
      background: var(--color-blue-dark);
      color: #fff;
      transform: translateY(-2px);
    }
    
    .btn-pom {
      border: 1px solid rgba(246,125,15, .24);
      box-shadow: 7px 7px 0 var(--color-pom-light);
      border-radius: 0;
      padding: .92rem 1.35rem;
      font-weight: 800;
      color: var(--color-white);
      background-color: var(--color-pom);
      transition: background .25s ease, color .25s ease, transform .25s ease;
    }

    .btn-pom:hover {
      background: var(--color-pom-dark);
      color: #fff;
      transform: translateY(-2px);
    }
    a.btn-outline-dark { text-decoration:none; }
    

    .hero {
      position: relative;
      min-height: 92vh;
      display: flex;
      align-items: center;
      padding: 130px 0 80px;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 48%, rgba(244,248,251,.48) 100%),
        url("../img/20200119_181947.jpg") center/cover;
      z-index: -2;
    }

    .hero::after {
      content: "";
      position: absolute;
      width: 360px;
      height: 360px;
      right: -80px;
      top: 120px;
      background: rgba(29, 111, 165, .13);
      clip-path: polygon(0 0, 100% 22%, 80% 100%, 12% 76%);
      z-index: -1;
      animation: floatShape 8s ease-in-out infinite;
    }

    .hero h1 {
      font-size: clamp(2rem, 5vw, 4.8rem);
      line-height: .95;
      letter-spacing: -.07em;
      max-width: 900px;
    }
    .hero-subpage h1,.hero-subpage h2 { 
      font-size: clamp(1.5rem, 3vw, 2.75rem);
      font-weight: 700;
      line-height: 1.08;
      margin-bottom: 1rem; 
      color: var(--color-blue-dark); }
      .hero-subpage h2 { 
      font-size: clamp(1.2rem, 2.5vw, 2.25rem); }
 .hero::after, .hero-subpage::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255, 249,243,0.05) 0%, rgba(182,180,155,0.20) 100%);
      pointer-events: none;
    }
    
.hero-subpage { margin-top:80px;
  position: relative;
  min-height: 18vh;
  display: flex; 
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 249,243,.88) 0%, rgba(255, 249,243,.80) 38%, rgba(182,180,155,.40) 100%),
    var(--hero-url) center no-repeat;
  color: #fff;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-subpage {
    min-height: 12vh;
    padding: 28px 0;
    
    background:
      linear-gradient(90deg, rgba(255, 249,243,.88) 0%, rgba(255, 249,243,.80) 38%, rgba(182,180,155,.40) 100%),
      var(--hero-url) top center no-repeat;
  }
}

    .hero-text {
      max-width: 670px;
      font-size: 1.1rem;
    }

    .hero-panel {
      position: relative;
      background: rgba(255,255,255,.9);
      border: var(--border);
      box-shadow: var(--shadow-soft);
      padding: 24px;
      margin-top: 42px;
    }

    .hero-author {
      position: relative;
      min-height: 540px;
    }

    .author-photo {
      width: 82%;
      min-height: 460px;
      object-fit: cover;
      filter: saturate(.95) contrast(1.02);
      box-shadow: 18px 18px 0 rgba(29,111,165,.23);
    }

    .author-badge {
      position: absolute;
      right: 0;
      bottom: 42px;
      max-width: 280px;
      background: var(--color-blue-dark);
      color: #fff;
      padding: 26px;
      box-shadow: 12px 12px 0 rgba(29,111,165,.23);
    }

    .stat-card,
    .article-card,
    .feature-card,
    .testimonial-card,
    .book-card {
      background: #fff;
      border: var(--border);
      box-shadow: var(--shadow-card);
      border-radius: 0;
    }

    .stat-card {
      padding: 22px;
      height: 100%;
    }

    .stat-card strong {
      display: block;
      font-size: 2.15rem;
      line-height: 1;
      color: var(--color-blue-dark);
      letter-spacing: -.05em;
    }

    .feature-card {
      padding: 34px;
      height: 100%;
      transition: transform .25s ease, box-shadow .25s ease;
    }

    .feature-card:hover,
    .article-card:hover,
    .testimonial-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 50px rgba(15, 63, 100, .15);
    }

    .icon-box {
      width: 56px;
      height: 56px;
      display: grid;
      place-items: center;
      background: var(--color-blue-light);
      color: var(--color-blue-dark);
      font-size: 1.45rem;
      margin-bottom: 24px;
    }

    .article-card {
      height: 100%;
      overflow: hidden;
      transition: transform .25s ease, box-shadow .25s ease;
    }

    .article-img {
      height: 245px;
      width: 100%;
      object-fit: cover;
      transition: transform .45s ease;
    }

    .article-card:hover .article-img {
      transform: scale(1.055);
    }

    .article-content {
      padding: 28px;
    }

    .tag {
      display: inline-block;
      padding: 7px 10px;
      background: var(--color-blue-light);
      color: var(--color-blue-dark);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .read-link {
      font-weight: 800;
      color: var(--color-blue);
    }

    .read-link i {
      transition: transform .2s ease;
    }

    .read-link:hover i {
      transform: translateX(5px);
    }

    .split-section {
      background:
        linear-gradient(90deg, var(--color-blue-dark) 0 44%, var(--color-soft) 44% 100%);
    }

    .book-card {
      padding: 42px;
      position: relative;
      overflow: hidden;
    }

    .book-cover {
      min-height: 390px;
      background:
        linear-gradient(135deg, rgba(15,63,100,.92), rgba(29,111,165,.86)),
        url("../img/brazylia.jpg") center/cover;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: end;
      padding: 34px;
      box-shadow: 14px 14px 0 var(--color-blue-light);
    }

    .testimonial-card {
      padding: 30px;
      height: 100%;
      transition: transform .25s ease, box-shadow .25s ease;
    }

    .quote-mark {
      font-size: 3.5rem;
      line-height: .6;
      color: var(--color-blue);
      font-family: Georgia, serif;
    }

    .gallery-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .gallery-strip img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      box-shadow: var(--shadow-card);
      transition: transform .25s ease;
    }

    .gallery-strip img:nth-child(even) {
      transform: translateY(28px);
    }

    .gallery-strip img:hover {
      transform: translateY(-4px) scale(1.02);
    }
.gallery-hidden {
    display: none;
}
.galeria_podroz_p,
.galeria_podroz_l{
    max-width: 370px;
    border: 1px solid #dee2e6; 
    padding: .5rem;
    margin-bottom: 1.5rem;
    background: #fff;
}

.galeria_podroz_p{
    float:right; 
    margin:10px 0 10px 10px;  
}

.galeria_podroz_l{
    float:left; 
    margin:10px 10px 10px 0;  
}

.galeria_podroz_p img,
.galeria_podroz_l img{
    width: 100%;
    height: auto;
    display: block;  
    margin-bottom: .5rem;
}

.galeria_podroz_p p,
.galeria_podroz_l p {
    margin: 0;
    font-size: .875rem;
    color: #6c757d;
}
.news-float-img, .news-float-img-left {
    float: left;
    margin: 1rem 1.1rem 1rem 0;
    max-width: 320px;
}
.news-float-img-right {
    float: right;
    margin: 0 1.1rem 1rem 1rem;
    max-width: 320px; 
}

.news-float-img img, .news-float-img-left img, .news-float-img-right img {
    width: 100%;
    height: auto; 
    cursor: zoom-in;
}

/* mobile */
@media (max-width: 768px) {
    .news-float-img, .news-float-img-right, .news-float-img-left, .galeria_podroz_p, .galeria_podroz_l {
        float: none;
        margin: 0 0 1rem 0;
        max-width: 100%;
    }
}
    .newsletter-box {
      background: #fff;
      border: var(--border);
      box-shadow: var(--shadow-soft);
      padding: 44px;
    }

    .form-control {
      border-radius: 0;
      border: 1px solid rgba(15, 63, 100, .18);
      padding: 1rem 1.1rem;
    }

    .form-control:focus {
      border-color: var(--color-blue);
      box-shadow: 0 0 0 .2rem rgba(29,111,165,.12);
    }

    footer {
      background: var(--color-blue-dark);
      color: rgba(255,255,255,.78);
      padding: 74px 0 28px;
    }

    footer h6 {
      color: #fff;
      font-weight: 800;
      margin-bottom: 18px;
    }

    footer a {
      display: inline-block;
      color: rgba(255,255,255,.76);
      margin-bottom: 10px;
      transition: color .2s ease, transform .2s ease;
    }

    footer a:hover {
      color: #fff;
      transform: translateX(4px);
    }
    .gallery-masonry {
    column-count: 3;
    column-gap: 1rem;
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.gallery-masonry img {
    width: 100%;
    height: auto;
    display: block; 
    object-fit: cover;
}
@media (max-width: 991px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        column-count: 1;
    }
}
    .social-link {
      width: 42px;
      height: 42px;
      display: inline-grid;
      place-items: center;
      border: 1px solid rgba(255,255,255,.22);
      margin-right: 8px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(28px);
      animation: reveal .8s ease forwards;
    }

    .delay-1 { animation-delay: .12s; }
    .delay-2 { animation-delay: .24s; }
    .delay-3 { animation-delay: .36s; }

    @keyframes reveal {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes floatShape {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(18px) rotate(3deg); }
    }

    @media (max-width: 991.98px) {
      .section-padding {
        padding: 72px 0;
      }

      .hero {
        min-height: auto;
        padding-top: 112px;
      }

      .hero-author {
        min-height: auto;
        margin-top: 48px;
      }

      .author-photo {
        width: 100%;
        min-height: 390px;
      }

      .author-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 22px;
        max-width: 100%;
      }

      .split-section {
        background: var(--color-soft);
      }

      .gallery-strip {
        grid-template-columns: repeat(2, 1fr);
      }

      .gallery-strip img:nth-child(even) {
        transform: none;
      }
    }

    @media (max-width: 575.98px) {
      .hero h1 {
        font-size: 3rem;
      }

      .hero-panel,
      .newsletter-box,
      .book-card,
      .feature-card {
        padding: 24px;
      }

      .gallery-strip {
        grid-template-columns: 1fr;
      }
    }