/* Valencor Advisory | Refaktoryzacja 2026-07-10 */
/* ---------- header / nav ---------- */
  header{
    position:fixed;
    top:0; left:0; right:0;
    z-index:100;
    background: rgba(14,40,65,0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(184,146,74,0.3);
    transition: background .3s ease;
  }
  header.scrolled{
    background: rgba(253,248,241,0.96);
    border-bottom: 1px solid var(--line);
  }
  header.scrolled nav a{color: var(--navy);}
  .nav-wrap{
    max-width:1140px;
    margin:0 auto;
    padding: 10px 32px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
  }
  .logo-mark{display:none;}
  nav ul{
    display:flex;
    gap:34px;
    list-style:none;
  }
  nav a{
    font-size:14px;
    letter-spacing:.04em;
    color: rgba(255,255,255,0.9);
    text-transform:uppercase;
    font-weight:600;
    transition: color .2s;
  }
  nav a:hover{color: var(--gold);}

  .nav-toggle{display:none;}

  /* ---------- hero ---------- */
  .hero{
    min-height: 100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    position:relative;
    background:
      radial-gradient(ellipse 900px 600px at 85% 15%, rgba(184,146,74,0.10), transparent 60%),
      linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #133352 100%);
    overflow:hidden;
    padding-top: 80px;
  }
  .hero::before{
    /* subtle world-map / network texture, echoing the deck */
    content:"";
    position:absolute;
    inset:0;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(184,146,74,0.18) 0, transparent 2px),
      radial-gradient(circle at 60% 70%, rgba(184,146,74,0.18) 0, transparent 2px),
      radial-gradient(circle at 80% 20%, rgba(184,146,74,0.14) 0, transparent 2px),
      radial-gradient(circle at 35% 80%, rgba(184,146,74,0.14) 0, transparent 2px);
    background-size: 400px 400px, 500px 500px, 450px 450px, 380px 380px;
    opacity:0.7;
  }
  /* ---------- hero logo wyśrodkowane ---------- */
  .hero-logo{
    position:relative;
    z-index:3;
    display:flex;
    justify-content:center;
    align-items:center;
    padding-top: 20px;
    margin-bottom: 20px;
  }
  .hero-logo img{
    height: 120px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  }

  .hero-content{
    position:relative;
    z-index:2;
    max-width: 820px;
    width: 100%;
    padding: 0 40px;
    text-align:center;
  }
  .hero-eyebrow{
    justify-content: center;
  }
  .btn-row{
    justify-content: center;
  }
  .hero-eyebrow{
    color: var(--gold-light);
    font-size:13px;
    letter-spacing:.18em;
    text-transform:uppercase;
    font-weight:600;
    margin-bottom:22px;
    display:flex;
    align-items:center;
    gap:12px;
  }
  .hero-eyebrow .ln{width:32px;height:1px;background:var(--gold-light);}

  .hero h1{
    color: var(--white);
    font-size: clamp(34px, 5vw, 52px);
    line-height:1.25;
    margin-bottom:26px;
  }
  .hero h1 em{
    font-style:normal;
    color: var(--gold-light);
  }

  .hero p.lead{
    color: rgba(255,255,255,0.82);
    font-size:18px;
    max-width:600px;
    margin-bottom: 38px;
  }

  .btn-row{display:flex; gap:18px; flex-wrap:wrap;}

  .btn{
    display:inline-block;
    padding: 15px 32px;
    font-size:14px;
    letter-spacing:.05em;
    text-transform:uppercase;
    font-weight:600;
    border-radius:2px;
    transition: all .25s ease;
  }
  .btn-primary{
    background: var(--gold);
    color: var(--navy-deep);
  }
  .btn-primary:hover{
    background: var(--gold-light);
    transform: translateY(-1px);
  }
  .btn-ghost{
    border:1px solid rgba(255,255,255,0.35);
    color: var(--white);
  }
  .btn-ghost:hover{
    border-color: var(--gold-light);
    color: var(--gold-light);
  }

  .hero-tagline{
    position:absolute;
    bottom:0; left:0; right:0;
    z-index:2;
    border-top:1px solid rgba(184,146,74,0.3);
    padding: 22px 0;
    background: rgba(10,31,51,0.35);
  }
  .hero-tagline .tags{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
    font-size:13px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color: rgba(255,255,255,0.75);
    padding: 0 20px;
  }
  .hero-tagline .tags span.sep{color:var(--gold-light); opacity:.6;}

  /* ---------- sections ---------- */
  section{
    padding: 110px 0;
  }
  .section-cream{ background: var(--cream); }

  .section-mark{
    display:flex;
    justify-content:center;
    margin-bottom: 30px;
  }
  .section-mark img{
    width: min(220px, 58vw);
    height: auto;
    opacity: 1;
  }
  .contact-section .section-mark{
    display: inline-flex;
    padding: 14px 20px;
    border-radius: 4px;
    background: rgba(255,255,255,0.96);
  }
  .contact-section .section-mark img{
    width: min(200px, 54vw);
    height: auto;
    filter: none;
    opacity: 1;
  }

  .section-head{
    text-align:center;
    max-width:740px;
    margin: 0 auto 60px;
  }
  .section-eyebrow{
    color: var(--gold);
    font-size:13px;
    letter-spacing:.16em;
    text-transform:uppercase;
    font-weight:700;
    margin-bottom:18px;
  }
  .section-head h2{
    font-size: clamp(28px, 3.6vw, 38px);
    margin-bottom:18px;
  }
  .section-head p{
    color: var(--muted);
    font-size:17px;
  }

  /* ---------- footer ---------- */
  footer{
    background: var(--navy-deep);
    color: rgba(255,255,255,0.6);
    padding: 38px 0;
    border-top: 1px solid rgba(184,146,74,0.25);
  }
  .footer-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:18px;
  }
  .footer-inner .f-logo{
    display:flex;
    align-items:center;
    gap:10px;
  }
  .footer-inner .f-logo img{height:30px; opacity:0.9;}
  .footer-tags{
    display:flex;
    gap:14px;
    font-size:12.5px;
    letter-spacing:.06em;
    text-transform:uppercase;
  }
  .footer-tags span.sep{color:var(--gold); opacity:.5;}
  .footer-copy{
    font-size:12.5px;
    margin-top:18px;
    text-align:center;
    color: rgba(255,255,255,0.35);
  }

/* Aktualizacja 2026-07-10: przesłane logo SVG */
.header-logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}
.header-logo img{
  display:block;
  width:auto;
  height:54px;
}
.nav-wrap{
  justify-content:space-between;
}
.hero-logo img{
  width:auto;
  height:clamp(116px, 16vw, 180px);
  object-fit:contain;
}
.footer-inner .f-logo img{
  width:auto;
  height:64px;
  opacity:1;
}

/* Aktualizacja 2026-07-10: subtelne animacje strony */
.hero::before{
  will-change: transform;
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(1.035);
  transition: transform .18s linear;
}

.hero-logo{
  opacity:0;
  transform:translateY(12px) scale(.985);
  filter:blur(5px);
}
.hero.is-ready .hero-logo{
  animation:heroLogoReveal 1.25s cubic-bezier(.22,.75,.25,1) .15s forwards;
}
.hero-logo::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:4px;
  width:min(210px,48vw);
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold-light),transparent);
  transform:translateX(-50%) scaleX(0);
  transform-origin:center;
  opacity:.7;
}
.hero.is-ready .hero-logo::after{
  animation:logoLineDraw 1.05s cubic-bezier(.22,.75,.25,1) .55s forwards;
}
.hero.is-ready .hero-logo img{
  animation:logoBreath 7s ease-in-out 1.45s infinite;
}

.hero-content > *{
  opacity:0;
  transform:translateY(18px);
}
.hero.is-ready .hero-eyebrow{animation:textReveal .72s ease .45s forwards;}
.hero.is-ready h1{animation:textReveal .82s ease .60s forwards;}
.hero.is-ready .lead{animation:textReveal .82s ease .75s forwards;}
.hero.is-ready .btn-row{animation:textReveal .82s ease .90s forwards;}
.hero-tagline{opacity:0;transform:translateY(14px);}
.hero.is-ready .hero-tagline{animation:textReveal .8s ease 1.05s forwards;}

.reveal-on-scroll{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .75s ease, transform .75s cubic-bezier(.22,.75,.25,1);
  transition-delay:var(--reveal-delay, 0ms);
}
.reveal-on-scroll.is-visible{
  opacity:1;
  transform:translateY(0);
}

@keyframes heroLogoReveal{
  0%{opacity:0;transform:translateY(12px) scale(.985);filter:blur(5px);}
  70%{opacity:1;filter:blur(0);}
  100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0);}
}
@keyframes logoLineDraw{
  to{transform:translateX(-50%) scaleX(1);}
}
@keyframes logoBreath{
  0%,100%{transform:translateY(0);filter:drop-shadow(0 2px 8px rgba(0,0,0,.4));}
  50%{transform:translateY(-3px);filter:drop-shadow(0 7px 14px rgba(0,0,0,.30));}
}
@keyframes textReveal{
  to{opacity:1;transform:translateY(0);}
}

@media (prefers-reduced-motion: reduce){
  .hero::before{transform:none!important;transition:none!important;}
  .hero-logo,.hero-content > *,.hero-tagline,.reveal-on-scroll{
    opacity:1!important;
    transform:none!important;
    filter:none!important;
    animation:none!important;
    transition:none!important;
  }
  .hero-logo::after{display:none;}
}

/* Aktualizacja 2026-07-14: poprawne skalowanie belki SVG */
.hero-tagline{
  height:auto;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-tagline > img{
  display:block;
  width:100%;
  height:auto;
  min-height:72px;
  object-fit:contain;
  object-position:center;
}
.footer-tags > img{
  display:block;
  width:min(100%, 680px);
  height:auto;
  object-fit:contain;
  object-position:center;
}

/* Aktualizacja 2026-07-14: kompaktowa belka tagline zgodna z makietą */
.hero-tagline{
  min-height:48px;
  height:48px;
  padding:0;
  border-top:1px solid rgba(184,146,74,.18);
  background:rgba(10,31,51,.22);
}
.hero-tagline > img{
  width:100%;
  max-width:1600px;
  height:48px;
  min-height:0;
  object-fit:contain;
  object-position:center;
}


/* Aktualizacja 2026-07-14: stopka bez logo, z belką identyczną jak w hero */
footer{
  padding:0 0 28px;
}
.footer-tagline{
  width:100%;
  height:48px;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-top:1px solid rgba(184,146,74,.18);
  border-bottom:1px solid rgba(184,146,74,.18);
  background:rgba(10,31,51,.22);
}
.footer-tagline > img{
  display:block;
  width:100%;
  max-width:1600px;
  height:48px;
  object-fit:contain;
  object-position:center;
}
.footer-copy{
  margin-top:24px;
}


/* Aktualizacja 2026-07-14: copyright w stopce zawsze widoczny */
footer .footer-copy{
  display:block;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  margin:22px auto 0;
  padding:0 20px;
  color:rgba(255,255,255,.62);
  font-size:12.5px;
  line-height:1.5;
  text-align:center;
  letter-spacing:.03em;
}

/* ---------- logo variants: light and dark backgrounds ---------- */
.header-logo{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.header-logo img{
  display:block;
  width:auto;
  height:54px;
  transition:opacity .25s ease;
}
.header-logo__default{opacity:0;}
.header-logo__white{position:absolute;inset:0;margin:auto;opacity:1;}
header.scrolled .header-logo__default{opacity:1;}
header.scrolled .header-logo__white{opacity:0;}
body.menu-open .header-logo__default{opacity:0;}
body.menu-open .header-logo__white{opacity:1;}

.contact-section .section-mark{
  padding:0;
  background:transparent;
}
.contact-section .section-mark img{
  width:min(220px,58vw);
}

/* Aktualizacja 2026-07-15: jednakowy rozmiar logotypu we wszystkich sekcjach */
.hero-logo img,
.section-mark img,
.contact-section .section-mark img{
  width:auto;
  height:clamp(116px, 16vw, 180px);
  max-width:min(92vw, 620px);
  object-fit:contain;
}

.section-mark{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:clamp(116px, 16vw, 180px);
  margin-bottom:30px;
}

.contact-section .section-mark{
  display:flex;
  padding:0;
  background:transparent;
  border-radius:0;
}

/* Aktualizacja 2026-07-15: Hero - usunięcie linii pod logo */
.hero .hero-logo::after{
  content:none;
  display:none;
  animation:none;
}

/* Aktualizacja 2026-07-15: przyciski kontaktowe bez obramowania */
.hero .js-contact-modal-open.btn-primary,
.contact-section .js-contact-modal-open.btn-primary{
  border:0;
  outline:0;
  box-shadow:none;
  -webkit-appearance:none;
  appearance:none;
}


/* Aktualizacja 2026-07-15: usunięcie dekoracyjnej linii przed opisem BUTIKOWE USŁUGI M&A */
.hero .hero-eyebrow .ln{display:none!important;}
