/* Lato – self-hosted */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/fonts/lato-300-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/fonts/lato-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/lato-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/lato-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/lato-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/lato-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./assets/fonts/lato-900-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./assets/fonts/lato-900.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand:#19247C;
  --header-bg: #fff;
  --white:#fff;
  --max-width:1200px;
}

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

body{
  font-family:'Lato',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  color:#000414;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* LOGO */
.logo--header{width:110px;display:block;}
.logo--footer{width:120px;display:block;opacity:.9}
.logo img{width:100%;display:block}

/* HEADER */
.site-header{
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  background:var(--header-bg);
  padding:20px;
  transition:.35s;
}
.site-header.scrolled{
  background:rgba(255, 255, 255, 0.671);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  box-shadow:0 6px 24px rgba(0,0,0,.25);
}
.header-inner{
  max-width:var(--max-width);
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:24px;
}

/* NAVIGATION */
.nav{
  display:flex;
  align-items:center;
  gap:24px;
  flex:1; /* rośnie, wypełnia przestrzeń między logo a header-actions */
}
.nav a{
  color:#000000;
  text-decoration:none;
  font-weight:400;
  font-size:14px;
  letter-spacing:0.5px;
  transition:color .2s, opacity .2s;
  line-height:1;
}
.nav a:hover{
  opacity: 1;
  color: #19247C;
  font-weight: bold;
}

.nav a.active {
  color: #19247C;
  font-weight: 700;
  position: relative;
}

@media(max-width:768px){
  .nav a.active::after {
    bottom: 0;
  }
}


/* HERO */
.hero{
  position:relative;
  height:100vh;
  height:100dvh;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.2);
  z-index:1;
  pointer-events:none;
}

/* EMBLA */
.embla,
.embla__container,
.embla__slide{
  height:100vh;
  height:100dvh;
}
.embla{
  pointer-events:auto;
}
.embla__container{
  display:flex;
}
.embla__slide{
  flex:0 0 100%;
  background-size:cover;
  background-position:center;
}

.embla__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MOBILE – statyczny */
@media(max-width:768px){
  .hero-panorama-track img{
    animation:none;
    min-width:100%;
    width:100%;
  }
}

.hero-content{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  transition:opacity .3s ease;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
  text-align:left;
  color:#fff;
  pointer-events:none;
  padding:clamp(20px,5vw,120px) clamp(20px,5vw,120px) 175px;
  gap:0;
}

.hero-content h2{
  font-size:clamp(24px,2.4vw,36px);
  font-weight:600;
  letter-spacing:-0.02em;
  line-height:1.15;
  margin:0 0 clamp(14px,2vw,28px) 0;
  max-width:580px;
}

@media (min-width: 769px) {
  .hero-content h2 {
    max-width: 580px;
  }
}

.hero-content p{
  font-size:clamp(14px,1.6vw,22px);
  opacity:.85;
  max-width:520px;
  margin:0 0 clamp(20px,2.8vw,40px) 0;
  line-height:1.5;
}

.hero-content a{
  pointer-events:auto;
}
.hero-content.fading{
  opacity:0;
  pointer-events:none;
}

.hero-content .hero-title{
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.5;          
  font-weight: 700;
  margin-top: 15vh;
}

.hero-logo{
  position: absolute;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: clamp(160px, 14vw, 220px);
  height: auto;
  opacity: 0.95;
  pointer-events: none;
}

/* NOWA SEKCJA pod sliderem */
.hero-intro{
  background:#fff;
  padding: clamp(56px, 6vw, 100px) 20px;
}

.hero-intro-content{
  max-width:800px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:40px;
  text-align:center;
}

.hero-intro-content p{
  font-size:clamp(16px,1.8vw,20px);
  line-height:1.7;
  font-weight: 400;
  color:#111;
  margin-bottom: 20px;
}

.btn{
  padding:1em 2em;
  border-radius:999px;
  background:#ffffff;
  color:#000414;
  text-decoration:none;
  transition:all .3s;
  border:none;
  font-weight:600;
  letter-spacing:.5px;
  font-size:clamp(15px,1.5vw,20px);
  display: inline-block;
}

.btn--small {
  padding: 0.75em 1.5em;
  font-size: clamp(14px, 1.3vw, 16px);
}

.btn-wrapper {
  display: flex;
  justify-content: left;
  margin-top: 8px;
  width: 100%;
}
@media (max-width: 768px) {
  .btn-wrapper {
    justify-content: center;
  }
}

.btn:hover{
  background:#c4c9f3;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(25,36,124,.4);
}


@media(max-width:768px){
  .hero-intro{
    padding:60px 20px;
  }
}

.hero-image{
  padding: 0 20px;
  margin-bottom: 72px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-frame{
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.hero-image-frame img{
  width: 100%;
  height: auto;
  display: block;
}

.hero-cta{
  margin-top: clamp(24px, 4vw, 40px);
}

@media(max-width:640px){
  .hero-image-frame{
    max-width: 100%;
  }
}


/* DOTS */
.hero-dots{
  position:absolute;
  bottom:32px;
  left:50%;
  transform:translateX(-50%);
  z-index:3;
  display:flex;
  gap:10px;
  pointer-events:auto;
}
.hero-dots button{
  width:8px;
  height:8px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition:all .3s;
}
.hero-dots button:hover{
  background:rgba(255,255,255,.7);
}
.hero-dots button.is-selected{
  background:#fff;
  width:24px;
  border-radius:4px;
}
/* CONTENT */
.site-main{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}

/* GALLERY MOSAIC */
.gallery-mosaic {
  background: #fff;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 60px);
}

.gallery-mosaic__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  grid-template-rows: 200px 180px 200px 180px;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
}

.gm-item {
  overflow: hidden;
  cursor: zoom-in;
}

.gm-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gm-item:hover img {
  transform: scale(1.04);
}

/* 12-item irregular placement */
.gm-item:nth-child(1)  { grid-column: 1;   grid-row: 1/3; }
.gm-item:nth-child(2)  { grid-column: 2;   grid-row: 1; }
.gm-item:nth-child(3)  { grid-column: 3;   grid-row: 1; }
.gm-item:nth-child(4)  { grid-column: 4;   grid-row: 1/3; }
.gm-item:nth-child(5)  { grid-column: 2/4; grid-row: 2; }
.gm-item:nth-child(6)  { grid-column: 1/3; grid-row: 3; }
.gm-item:nth-child(7)  { grid-column: 3;   grid-row: 3; }
.gm-item:nth-child(8)  { grid-column: 4;   grid-row: 3; }
.gm-item:nth-child(9)  { grid-column: 1;   grid-row: 4; }
.gm-item:nth-child(10) { grid-column: 2;   grid-row: 4; }
.gm-item:nth-child(11) { grid-column: 3;   grid-row: 4; }
.gm-item:nth-child(12) { grid-column: 4;   grid-row: 4; }

@media (max-width: 900px) {
  .gallery-mosaic__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(7, 160px);
  }
  .gm-item:nth-child(1)  { grid-column: 1/3; grid-row: 1; }
  .gm-item:nth-child(2)  { grid-column: 1;   grid-row: 2; }
  .gm-item:nth-child(3)  { grid-column: 2;   grid-row: 2; }
  .gm-item:nth-child(4)  { grid-column: 1/3; grid-row: 3; }
  .gm-item:nth-child(5)  { grid-column: 1/3; grid-row: 4; }
  .gm-item:nth-child(6)  { grid-column: 1/3; grid-row: 5; }
  .gm-item:nth-child(7)  { grid-column: 1;   grid-row: 6; }
  .gm-item:nth-child(8)  { grid-column: 2;   grid-row: 6; }
  .gm-item:nth-child(9)  { grid-column: 1/3; grid-row: 7; }
  .gm-item:nth-child(10) { display: none; }
  .gm-item:nth-child(11) { display: none; }
  .gm-item:nth-child(12) { display: none; }
}

@media (max-width: 500px) {
  .gallery-mosaic__grid {
    grid-template-rows: repeat(7, 130px);
    gap: 8px;
  }
}

/* OFFER SECTION */
.offer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0px;
}

.offer-split--intro {
  margin-top: 0px;
  margin-bottom: 0px;
}

/* LEWA – TEKST */
.offer-split__text {
  background: #19247C;
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  min-height: 600px;
}

.offer-h1 {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  width: 100%;
  margin-bottom: 8px;
}

/* tło pierwszej sekcji */
.offer-split__text--white {
  background: #19247C;
}

.offer-split__text--blue {
  background: #19247C;
}

.offer-split__text .offer-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: white;
  width: 100%;
}

.offer-split__text .offer-text {
  width: 100%;
}

.offer-split__text .offer-text p {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 8px;
}

/* kolor tekstu pierwszej sekcji */
.offer-split__text--white .offer-text p {
  color: #ffffff;
}

/* PRAWA – ZDJĘCIE */
.offer-split__image {
  overflow: hidden;
  position: relative;
}

.offer-split__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dla architekta sekcja - full width jak góra */
.offer-split--architect {
  margin-top: 0px;
  margin-bottom: 0px;
}

.offer-split__text--architect {
  background: #19247C;
}

/* LASTO + 1 sekcja */
.offer-split--referral {
  margin-top: 0px;
  margin-bottom: 0px;
}

.offer-split__text--referral {
  background: #19247C;
}

/* KONSULTACJA sekcja */
.offer-split--konsultacja {
  margin-top: 0px;
  margin-bottom: 0px;
  scroll-margin-top: 80px;
}

.offer-split__text--konsultacja {
  background: #19247C;
}

.konsultacja-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 12px;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #000414;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  z-index: 1002;
}

/* TELEFON — wewnątrz nav lub header-mobile-actions */
.nav a.nav-phone,
.header-mobile-actions a.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}

.nav a.nav-phone { margin-left: auto; }

.nav a.nav-phone svg,
.header-mobile-actions a.nav-phone svg { flex-shrink: 0; }

.nav a.nav-phone:hover,
.header-mobile-actions a.nav-phone:hover { color: #19247C; font-weight: 700; opacity: 1; }

/* CTA BUTTON — wewnątrz nav lub header-mobile-actions */
.nav a.nav-cta,
.header-mobile-actions a.nav-cta {
  display: inline-flex;
  align-items: center;
  background: #19247C;
  color: #fff;
  border-radius: 999px;
  padding: 0.7em 1.6em;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(25,36,124,.3);
  transition: background .25s, box-shadow .25s, transform .25s;
}

.nav a.nav-cta:hover,
.header-mobile-actions a.nav-cta:hover {
  background: #111a5c;
  color: #fff;
  font-weight: 700;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(25,36,124,.4);
}

/* MOBILE HEADER ACTIONS (phone + CTA visible in bar, not in drawer) */
.header-mobile-actions {
  display: none;
}

/* ======= MOBILE ======= */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .header-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .header-mobile-actions .nav-phone {
    margin-left: 0;
    font-size: 13px;
    font-weight: 700;
  }

  .header-mobile-actions .nav-cta {
    font-size: 11px;
    padding: 0.5em 0.9em;
    white-space: nowrap;
  }

  /* nav wysuwa się z prawej */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--header-bg);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    gap: 32px;
    transition: right .3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,.3);
    z-index: 1001;
    flex: none;
  }

  .nav.is-open { right: 0; }

  .nav a {
    font-size: 18px;
    text-align: center;
    padding: 8px 20px;
  }

  .nav a.nav-phone {
    margin-left: 0;
    font-size: 16px;
    justify-content: center;
  }

  .nav a.nav-cta {
    font-size: 14px;
    padding: 0.65em 1.4em;
    justify-content: center;
  }
}

/* ======= MEDIUM VIEWPORT — shrink nav items ======= */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav { gap: 14px; margin-left: 40px; }
  .nav a { font-size: 12px; }
  .nav a.nav-phone { font-size: 13px; }
  .nav a.nav-cta { font-size: 12px; padding: 0.55em 1em; }
}

@media (min-width: 1101px) {
  .nav { margin-left: 60px; }
}

/* =========================
   NAV DROPDOWN
========================= */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__row {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Chevron button */
.nav-dropdown__btn {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  color: #000000;
  display: flex;
  align-items: center;
  transition: color .2s;
  line-height: 1;
}

.nav-dropdown__btn:hover,
.nav-dropdown:hover .nav-dropdown__btn {
  color: #19247C;
}

.nav-dropdown__chevron {
  transition: transform .2s;
}

.nav-dropdown:hover .nav-dropdown__chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .13);
  padding: 6px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 22px;
  color: #000414;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.nav-dropdown__menu a:hover {
  background: #f3f4fc;
  color: #19247C;
  font-weight: 600;
}

/* Active state on offer sub-pages */
.nav-dropdown.active > .nav-dropdown__row > a {
  color: #19247C;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-dropdown__row {
    justify-content: center;
  }

  .nav-dropdown__row > a {
    font-size: 18px;
  }

  .nav-dropdown__btn {
    font-size: 18px;
  }

  .nav-dropdown__menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 6px;
    background: rgba(25, 36, 124, .05);
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height .3s ease, padding .2s ease;
    width: 100%;
    min-width: 0;
  }

  .nav-dropdown:hover .nav-dropdown__menu {
    position: static;
    transform: none;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    max-height: 360px;
    padding: 6px 0;
  }

  .nav-dropdown.is-open .nav-dropdown__chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown__menu a {
    font-size: 16px;
    text-align: center;
    padding: 9px 20px;
    background: none;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .offer-split {
    grid-template-columns: 1fr;
  }
  
  .offer-split__text {
    min-height: auto;
  }
  
  .offer-split__image {
    height: 320px;
    position: relative;
  }
}

/* CHECK OFFER SECTION */
.check-offer{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:80px;
  gap:40px;
}
.check-offer-title{
  font-size:clamp(32px,5vw,48px);
  font-weight:700;
  color:#111;
  margin-top: 80px;
  line-height: 1.2;
}
.check-offer-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  flex-shrink:0;
  transition:transform .3s;
}
.check-offer-arrow img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.check-offer-arrow:hover{
  transform:translateX(8px);
}

@media(max-width:640px){
  .check-offer{
    align-items: flex-end; 
    margin-bottom: 20px;
  }

  .check-offer-title{
    font-size:clamp(24px,6vw,32px);
  }

  .check-offer-arrow{
   width: 48px;
   height: 48px;
   margin-bottom: -7px; 
}
}
/* THREE COLUMNS SECTION */
.three-columns{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-bottom:80px;
}
.three-columns .column p{
  font-size:clamp(14px,1.6vw,16px);
  line-height:1.7;
  color:#555;
}

@media(max-width:900px){
  .three-columns{
    grid-template-columns:1fr;
    gap:32px;
  }
}

.map-intro {
  background: #fff;
  padding: 64px 24px 32px;
}

.map-intro__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.map-intro__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
  color: #000000;
}

.map-intro__text {
  font-size: clamp(18px, 2.8vw, 22px);
  line-height: 1.6;
  color: #000000;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--brand);
  color: #fff;
  padding: 40px 20px 20px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-col {
  font-size: 14px;
  line-height: 1.6;
}
.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
/* LOGO */
.footer-col--logo img {
  width: 120px;
  display: block;
}
/* SOCIAL */
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.footer-socials img {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-socials a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}
/* LINKS */
.footer-col a,
.footer-col a:visited {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}
.footer-col a:hover {
  opacity: 1;
}
.footer-gap {
  margin-top: 16px;
}
/* BOTTOM */
.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13px;
  opacity: 1;
}
.footer-bottom-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom-menu a,
.footer-bottom-menu a:visited {
  color: #fff;
  text-decoration: none;
  opacity: 0.65;
  font-size: 13px;
  transition: opacity 0.2s;
}
.footer-bottom-menu a:hover {
  opacity: 1;
}
.footer-bottom-copyright {
  color: #fff;
  opacity: 1;
}
/* =========================
   FOOTER – MOBILE (GRID 2x2)
========================= */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  /* LOGO + SOCIAL */
  .footer-col--logo {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
  /* KONTAKT */
  .footer-grid .footer-col:nth-child(2) {
    grid-column: 1 / 2;
  }
  /* GODZINY */
  .footer-grid .footer-col:nth-child(3) {
    grid-column: 2 / 3;
  }
  /* OSOBY: ALEKSANDRA + DAMIAN */
  .footer-people {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-people p {
    margin: 0;
  }
  /* DOLNA LINIA */
  .footer-bottom {
    margin-top: 24px;
    padding-top: 12px;
  }
}
.footer-announcement {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  padding-left: 10px;
}
/* OFFER CARDS (3 images under slider) */

.offer-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:#000414;
  gap:16px;
}

.offer-card img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:16px;
  transition:transform .4s ease;
}

.offer-card:hover img{
  transform:scale(1.03);
}

.offer-card-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:18px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.offer-card-footer img{
  width:28px;
  height:auto;
  transition:transform .3s ease;
}

.offer-card:hover .offer-card-footer img{
  transform:translateX(6px);
}

/* FEATURED CARDS SECTION */

.featured-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.featured-card a {
  text-decoration: none;
  color: inherit;
}

.featured-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.featured-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-card__image img {
  transform: scale(1.05);
}

.featured-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.featured-card__label {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  color: #000414;
  letter-spacing: 0.5px;
}

.featured-card__arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.featured-card:hover .featured-card__arrow {
  transform: translateX(4px);
}

.featured-card__description {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  letter-spacing: 0.01em;
  text-align: left;
}

/* RWD */

@media (max-width: 900px) {
  .featured-cards {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }

  .featured-card {
    align-items: flex-start;
    text-align: left;
  }

  .featured-card__image {
    max-width: 420px;
    margin: 0 auto;
  }

  .featured-card__footer {
    justify-content: space-between;
    gap: 12px;
  }

  .featured-card__label {
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  .featured-card__arrow {
    width: 28px;
    height: 28px;
  }
}

/* =========================
   HORIZONTAL OFFER TILES
========================= */

.three-columns-section {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.three-columns a {
  text-decoration: none;
  color: inherit;
}

/* CONTAINER */
.three-columns {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 42px;
}

/* SCROLLBAR – subtelny */
.three-columns::-webkit-scrollbar {
  height: 6px;
}

.three-columns::-webkit-scrollbar-track {
  background: transparent;
}

.three-columns::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

/* TILE */
.three-columns .column {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-snap-align: start;
}

/* IMAGE */
.column-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Second image crossfade on hover */
.column-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.column:hover .column-img-hover {
  opacity: 1;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FOOTER */
.column-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.column-label {
  font-size: 18px;
  font-weight: 700;
  color: #000414;
  letter-spacing: 0.06em;
}

.column-arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.column:hover .column-arrow {
  transform: translateX(4px);
}

/* DESCRIPTION (jeśli używasz) */
.column-description {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .three-columns-section {
    padding: 0;
  }

  .three-columns {
    gap: 24px;
  }

  .three-columns .column {
    flex: 0 0 80%;
  }

  .column-footer {
    justify-content: space-between;
  }
}


.process {
  padding: 20px 40px;
}

.process__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.process__title {
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 120px;
}

.process__steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}

.process__step {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.process__step img {
  width: 72px;
  height: 72px;
  opacity: 1;
  transform: none;
}

.process__step span {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000414;
}

.process__description {
  max-width: 680px;
  margin: 80px auto 0; 
  font-size: 18px;
  line-height: 1.7;
  transition: opacity 0.3s ease;
  min-height: 120px;
}

.process__description p {
  margin-bottom: 16px;
}

.process__description p:last-child {
  margin-bottom: 0;
}

.process__step-desc {
  display: none;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #000414;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}


/* =========================
   PROCESS – TABLET & DOWN
========================= */
@media (max-width: 900px) {
  .process {
    padding: 10px;
  }

  .process__title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .process__steps {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .process__step-desc {
    display: block; /* Zawsze widoczne na mobile */
  }

  /* Ukryj globalny opis na mobile */
  .process__description {
    display: none;
  }
}

/* animacje */
.process__step--poznajemy img {
  transition: transform 0.5s ease;
}

.process__step--poznajemy.is-hovered img {
  transform: scaleX(0.92);
}
.process__step--tworzymy img {
  width: 72px;
  height: 72px;
  transition: transform 1s ease, opacity 1s ease;
}
.process__step--tworzymy.is-hovered img {
 transform: scale(1.12);
  opacity: 0.85;
}

.process__step--ustalamy.is-hovered .dot-1 {
  transform: translateX(18px);
}

.process__step--ustalamy.is-hovered .dot-2 {
  transform: translateX(-14px);
}

.process__step--ustalamy.is-hovered .dot-3 {
  transform: translateX(22px);
}

.process__step--realizujemy img {
  width: 72px;
  height: 72px;
  animation: realizeSpin 5s linear infinite;
  animation-play-state: paused;
}

.process__step--realizujemy.is-hovered img {
  animation-play-state: running;
}

@keyframes realizeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.process__step--final img {
  width: 72px;
  height: 72px;
  transform: scale(1);
  opacity: 1;
}

.process__step--final.is-hovered img {
  animation: finalGrow 1.6s ease forwards;
}

@keyframes finalGrow {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  40% {
    opacity: 0;
    transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}


.icon-ustalamy {
  overflow: visible;
}

.slider-dot {
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 120px;
}

.ig-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000414;
  display: block;
  text-decoration: none;
}

.ig-tile img,
.ig-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-tile:hover {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

/* Opcjonalnie: ikona dla rolek */
.ig-tile--reel::after {
  content: '▶';
  position: absolute;
  top: 12px;
  right: 12px;
  color: white;
  font-size: 18px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Responsywność */
@media (max-width: 1024px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
}

@media(max-width:768px){
  .hero-content{
    padding:40px 20px 180px;
    gap:12px;
    align-items: center;
    text-align: center;
  }

  .hero-content p{
    max-width: 100%;
  }

  .hero-logo{
    width: clamp(120px, 38vw, 160px);
    bottom: 56px;
  }

  .hero-dots{
    bottom: 20px;
  }
}

@media(max-width:480px){
  .hero-content{
    padding-bottom: 180px;
  }

  .hero-logo{
    bottom: 52px;
  }

  .hero-dots{
    bottom: 16px;
  }
}

/* =========================
   SEO SECTION
========================= */
.seo-section {
  background: #ffffff;
  padding: 60px 20px;
}

.seo-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.seo-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
  line-height: 1.3;
}

.seo-text {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  text-align: left;
}

.seo-text p {
  margin-bottom: 16px;
}

.seo-text p:last-child {
  margin-bottom: 0;
}

.seo-text-expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.seo-text-expandable.is-expanded {
  max-height: 2000px;
}

.seo-toggle {
  margin-top: 24px;
  padding: 12px 32px;
  background: #fff;
  border: 2px solid #19247C;
  border-radius: 999px;
  color: #19247C;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seo-toggle:hover {
  background: #19247C;
  color: #fff;
}

.seo-toggle-icon {
  transition: transform 0.3s;
  font-size: 12px;
}

.seo-toggle[aria-expanded="true"] .seo-toggle-icon {
  transform: rotate(180deg);
}

/* =========================
   FAQ SECTION
========================= */
.post-toc {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
}

.post-toc h2 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 16px;
  color: #000414;
}

.post-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-toc li {
  margin-bottom: 8px;
}

.post-toc a {
  color: #000414;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-toc a:hover {
  color: #7C6B5D;
  text-decoration: underline;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  transition: background-color 0.3s;
}

.faq-toggle:hover {
  background-color: #f9f9f9;
}

.faq-toggle h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #000414;
  flex: 1;
  text-align: left;
}

.faq-toggle-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  font-size: 12px;
  color: #000414;
  margin-top: 2px;
}

.faq-toggle[aria-expanded="true"] .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  background: #f9f9f9;
  transition: max-height 0.3s ease-out, visibility 0.3s ease-out;
  border-top: 1px solid #e0e0e0;
}

.faq-answer.is-expanded {
  max-height: 2000px;
  visibility: visible;
  transition: max-height 0.3s ease-in, visibility 0.3s ease-in;
}

.faq-answer p {
  margin: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.faq-answer p:first-child {
  margin-top: 16px;
}

.faq-answer p:last-child {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .post-toc {
    padding: 16px;
    margin-bottom: 32px;
  }

  .post-toc h2 {
    font-size: 16px;
  }

  .faq-toggle {
    padding: 12px 16px;
  }

  .faq-toggle h3 {
    font-size: 14px;
  }

  .faq-answer p {
    margin: 12px 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .seo-section {
    padding: 40px 20px;
  }
  
  .seo-text {
    font-size: 14px;
  }
}

/* =========================
   CONTACT MAP SECTION
========================= */
.contact-map-section {
  background: #19247C;
  color: #fff;
}

.contact-map-intro {
  text-align: center;
  margin-bottom: 32px;
}

.contact-map-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.contact-map-subtitle {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.contact-map-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 200px 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-map-frame {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
}

.contact-map-block {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.contact-map-block p {
  margin-bottom: 3px;
}

.contact-map-block strong {
  font-weight: 700;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 6px;
}

.contact-map-block a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-map-block a:hover {
  opacity: 0.7;
}

.contact-email {
  margin-top: 3px;
}

/* Footer prosty */
.footer-simple {
  text-align: center;
  padding: 30px 20px 20px;
}

.footer-simple .logo--footer {
  margin: 0 auto 16px;
}

.footer-copyright {
  font-size: 13px;
  opacity: 0.7;
  color: #fff;
}

@media (max-width: 900px) {
  .contact-map-container {
    width: auto;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .contact-map-section {
    padding: 32px 20px;
  }
  
  .contact-map-intro {
    margin-bottom: 24px;
  }
  
  .contact-map-frame {
    width: 180px;
    height: 180px;
  }
  
  .contact-map-block {
    font-size: 13px;
  }
}

/* =========================
   PARTNERS SECTION
========================= */

.partners-section {
  padding: 40px 20px;
  margin: 80px 0;
  background: #ffffff;
  overflow: hidden;
}

.partners-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 64px;
  color: #111;
}

/* scroll wrapper */
.partners-scroll {
  overflow: hidden;
  width: 100%;
  
}
/* track */
.partners-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: partners-marquee 35s linear infinite;
}

/* logo */
.partners-track img {
  height: 64px;        /* było 48px */
  width: 160px;        /* było 120px */
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.partners-track img:hover {
  opacity: 1;
  transform: scale(1.05);
}


/* animacja */
@keyframes partners-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .partners-section {
    padding: 30px 16px;
    margin: 80px 0;
  }

  .partners-title {
    margin-bottom: 48px;
  }

  .partners-track {
    gap: 56px;
    animation-duration: 45s;
  }

  .partners-track img {
    height: 52px;
    width: 140px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .partners-section:hover .partners-track {
    animation-play-state: paused;
  }
}
