:root{
  --primary:#f4623a;
  --primary-dark:#d94f28;
  --dark:#212529;
  --muted:#6c757d;
  --light:#f8f9fa;
  --white:#fff;
  --wood:#f5efe8;
  --shadow:0 15px 40px rgba(0,0,0,.12);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--dark);
  background:#fff;
  line-height:1.55;
}

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

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(1140px,calc(100% - 40px));
  margin:0 auto;
}

.container-fluid{
  width:100%;
  padding:0 24px;
}

.row{
  display:flex;
  flex-wrap:wrap;
  margin:-12px;
}

.col{
  padding:12px;
}

.text-center{
  text-align:center;
}

.muted{
  color:var(--muted);
}


/* NAWIGACJA */

#mainNav{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  padding:18px 0;
  transition:.25s;
  background:rgba(18,18,18,.2);
}

#mainNav.shrink{
  background:#fff;
  box-shadow:0 2px 16px rgba(0,0,0,.08);
  padding:10px 0;
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.02em;
  color:#fff;
}

.brand-logo{
  height:48px;
  max-width:180px;
  object-fit:contain;
}

.brand-fallback{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:20px;
}

.brand-mark{
  width:32px;
  height:32px;
  border:2px solid var(--primary);
  border-radius:6px;
  transform:rotate(45deg);
  display:inline-block;
}

.menu{
  display:flex;
  gap:28px;
  align-items:center;
}

.menu a{
  color:#fff;
  font-weight:700;
  font-size:14px;
}

.menu a:hover{
  color:var(--primary);
}

#mainNav.shrink .brand,
#mainNav.shrink .menu a{
  color:var(--dark);
}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid rgba(255,255,255,.6);
  color:#fff;
  border-radius:6px;
  padding:8px 10px;
  font-weight:700;
}

#mainNav.shrink .nav-toggle{
  border-color:#bbb;
  color:#222;
}


/* SEKCJA GŁÓWNA */

.masthead{
  min-height:100vh;
  display:flex;
  align-items:center;
  position:relative;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(14,14,14,.82),rgba(14,14,14,.45)),
    linear-gradient(135deg,#3a2b22,#7b5035 55%,#2e241f);
  overflow:hidden;
}

.masthead:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 72% 40%,rgba(255,255,255,.11),transparent 30%),
    repeating-linear-gradient(
      12deg,
      transparent 0 26px,
      rgba(255,255,255,.018) 27px 28px
    );
}

.masthead-content{
  position:relative;
  z-index:2;
  max-width:820px;
  padding-top:90px;
}

.eyebrow{
  font-size:13px;
  font-weight:800;
  letter-spacing:.18em;
  color:#ffd5c7;
  margin-bottom:16px;
}

.masthead h1{
  font-size:clamp(42px,6.4vw,78px);
  line-height:1.02;
  margin:0 0 24px;
  font-weight:800;
  letter-spacing:-.03em;
}

.masthead p{
  font-size:clamp(18px,2vw,22px);
  max-width:760px;
  color:rgba(255,255,255,.83);
  margin:0 0 32px;
}

.actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}


/* PRZYCISKI */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:14px 28px;
  font-weight:800;
  border:2px solid transparent;
  transition:.2s;
  cursor:pointer;
}

.btn-primary{
  background:var(--primary);
  color:#fff;
}

.btn-primary:hover{
  background:var(--primary-dark);
  transform:translateY(-1px);
}

.btn-outline{
  border-color:#fff;
  color:#fff;
}

.btn-outline:hover{
  background:#fff;
  color:#222;
}

.btn-wide{
  width:100%;
}


/* SEKCJE */

.section{
  padding:92px 0;
}

.section-kicker{
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:12px;
  font-weight:800;
  color:var(--primary);
}

.section h2{
  font-size:clamp(32px,4vw,48px);
  line-height:1.12;
  margin:8px 0 12px;
}

.divider{
  width:58px;
  height:4px;
  background:var(--primary);
  border-radius:999px;
  margin:18px 0 26px;
}

.divider.center{
  margin-left:auto;
  margin-right:auto;
}

.intro p{
  font-size:20px;
  max-width:880px;
  margin:0 auto;
}

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


/* OFERTA */

.services{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:40px;
}

.service-card{
  background:#fff;
  border-radius:16px;
  padding:30px;
  box-shadow:0 6px 24px rgba(0,0,0,.06);
  min-height:220px;
  border:1px solid rgba(0,0,0,.05);
  transition:.2s;
}

.service-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.service-icon{
  width:50px;
  height:50px;
  border-radius:14px;
  background:rgba(244,98,58,.12);
  display:grid;
  place-items:center;
  color:var(--primary);
  font-size:24px;
  font-weight:900;
  margin-bottom:18px;
}

.service-card h3{
  font-size:21px;
  margin:0 0 10px;
}

.service-card p{
  margin:0;
  color:var(--muted);
}


/* DLACZEGO MY */

.dark-section{
  background:#1f2326;
  color:#fff;
}

.why-wrap{
  display:grid;
  grid-template-columns:.9fr 1.3fr;
  gap:64px;
  align-items:start;
}

.why-wrap p{
  color:rgba(255,255,255,.62);
  font-size:18px;
}

.why-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.why-item{
  display:flex;
  gap:18px;
  padding:24px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
}

.why-number{
  font-weight:900;
  font-size:22px;
  color:var(--primary);
}

.why-item h3{
  margin:0 0 8px;
  font-size:19px;
}

.why-item p{
  font-size:15px;
  margin:0;
}


/* GALERIA */

.gallery-head{
  max-width:720px;
  margin:0 auto 38px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  align-items:start;
}

/*
  Nie ustawiamy aspect-ratio ani stałej wysokości.
  Dzięki temu każde zdjęcie jest pokazane w całości.
*/
.gallery-item{
  position:relative;
  border-radius:8px;
  overflow:hidden;
  background:#eee;
  cursor:pointer;
}

/* ZDJĘCIA NIE SĄ PRZYCINANE */
.gallery-item img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

.gallery-overlay{
  position:absolute;
  inset:0;
  background:rgba(244,98,58,.91);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  color:#fff;
  opacity:0;
  transition:.2s;
  padding:20px;
  text-align:center;
}

.gallery-item:hover .gallery-overlay{
  opacity:1;
}

.gallery-overlay small{
  text-transform:uppercase;
  letter-spacing:.12em;
}

.gallery-overlay strong{
  font-size:24px;
  margin-top:4px;
}


/* FORMULARZ */

.quote{
  background:#f7f4f0;
}

.quote-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:56px;
  align-items:start;
}

.contact-card{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:30px;
  padding:18px 20px;
  border:1px solid #ddd;
  border-radius:12px;
  background:#fff;
}

.phone-dot{
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:18px;
}

.contact-card small{
  display:block;
  color:var(--muted);
}

.contact-card a{
  font-size:20px;
  font-weight:800;
}

.form-card{
  background:#fff;
  border-radius:18px;
  padding:34px;
  box-shadow:var(--shadow);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.field.full{
  grid-column:1/-1;
}

.field label{
  display:block;
  font-size:14px;
  font-weight:800;
  margin-bottom:7px;
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid #d7d7d7;
  border-radius:9px;
  padding:13px 14px;
  font:inherit;
  background:#fff;
  outline:none;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(244,98,58,.12);
}

.field textarea{
  resize:vertical;
  min-height:145px;
}

.consent{
  display:flex;
  gap:9px;
  align-items:flex-start;
  font-size:13px;
  color:var(--muted);
}

.consent input{
  margin-top:3px;
}

.form-note{
  font-size:12px;
  color:var(--muted);
  margin:12px 0 0;
}


/* STOPKA */

footer{
  background:#191b1d;
  color:#bbb;
  padding:26px 0;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}

footer a{
  color:#fff;
  font-weight:700;
}


/* TABLETY */

@media(max-width:900px){

  .services{
    grid-template-columns:1fr 1fr;
  }

  .why-wrap,
  .quote-grid{
    grid-template-columns:1fr;
  }

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

  .menu{
    display:none;
    position:absolute;
    left:20px;
    right:20px;
    top:72px;
    background:#fff;
    border-radius:12px;
    padding:14px;
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:stretch;
  }

  .menu.open{
    display:flex;
  }

  .menu a{
    color:#222!important;
    padding:8px 10px;
  }

  .nav-toggle{
    display:block;
  }

  .why-wrap{
    gap:34px;
  }
}


/* TELEFONY */

@media(max-width:620px){

  .container{
    width:min(100% - 28px,1140px);
  }

  .section{
    padding:70px 0;
  }

  .services,
  .gallery-grid,
  .why-grid,
  .form-grid{
    grid-template-columns:1fr;
  }

  .masthead{
    min-height:92vh;
  }

  .masthead h1{
    font-size:44px;
  }

  .form-card{
    padding:24px;
  }

  .footer-inner{
    flex-direction:column;
  }

  .brand-logo{
    height:40px;
  }

  .why-item{
    padding:20px;
  }

  .btn{
    width:100%;
  }
}

.thankyou-page{
  margin:0;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    linear-gradient(
      90deg,
      rgba(20,16,14,.90),
      rgba(57,39,29,.83)
    ),
    linear-gradient(
      135deg,
      #2f2722,
      #684b39 60%,
      #29211d
    );
  color:#fff;
}

.thankyou-box{
  width:min(720px,calc(100% - 40px));
  text-align:center;
  padding:60px 35px;
}

.thankyou-brand{
  font-size:20px;
  font-weight:800;
  margin-bottom:55px;
}

.thankyou-icon{
  width:78px;
  height:78px;
  margin:0 auto 28px;
  border-radius:50%;
  background:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:38px;
  font-weight:700;
  box-shadow:0 12px 35px rgba(244,98,58,.3);
}

.thankyou-box h1{
  font-size:clamp(38px,6vw,64px);
  line-height:1.05;
  margin:0 0 22px;
}

.thankyou-box p{
  font-size:19px;
  line-height:1.65;
  color:rgba(255,255,255,.78);
  max-width:590px;
  margin:0 auto 35px;
}

.thankyou-phone{
  margin-bottom:32px;
  font-size:17px;
}

.thankyou-phone a{
  color:#fff;
  font-weight:800;
}

.thankyou-btn{
  min-width:230px;
}

@media(max-width:600px){
  .thankyou-box{
    padding:40px 20px;
  }

  .thankyou-brand{
    margin-bottom:40px;
  }

  .thankyou-btn{
    width:100%;
  }
}
.consent{
  display:grid;
  grid-template-columns:18px 1fr;
  gap:10px;
  align-items:start;
}

.consent input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:3px 0 0 0;
  padding:0;
}

.consent label{
  margin:0;
  display:block;
  font-weight:600;
  line-height:1.4;
}


.privacy-page{
  background:#f7f4f0;
}

.privacy-header{
  background:#1f2326;
  padding:22px 0;
  color:#fff;
}

.privacy-header .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.privacy-brand{
  color:#fff;
  font-size:20px;
  font-weight:800;
}

.privacy-back{
  color:rgba(255,255,255,.8);
  font-size:14px;
  font-weight:700;
}

.privacy-back:hover{
  color:var(--primary);
}

.privacy-content{
  padding:80px 0;
}

.privacy-container{
  max-width:900px;
}

.privacy-container > h1{
  font-size:clamp(40px,6vw,64px);
  line-height:1.05;
  margin:8px 0 22px;
}

.privacy-lead{
  font-size:20px;
  color:var(--muted);
  margin:0 0 55px;
  max-width:760px;
}

.privacy-container section{
  background:#fff;
  padding:30px 34px;
  border-radius:14px;
  margin-bottom:20px;
  border:1px solid rgba(0,0,0,.05);
}

.privacy-container section h2{
  font-size:23px;
  margin:0 0 16px;
}

.privacy-container section p{
  margin:0 0 14px;
}

.privacy-container section p:last-child{
  margin-bottom:0;
}

.privacy-container ul{
  margin:15px 0 20px;
  padding-left:24px;
}

.privacy-container li{
  margin-bottom:8px;
}

.privacy-container section a{
  color:var(--primary-dark);
  font-weight:700;
}

.privacy-container section a:hover{
  text-decoration:underline;
}

.privacy-bottom{
  text-align:center;
  margin-top:45px;
}

@media(max-width:620px){

  .privacy-header .container{
    flex-direction:column;
    align-items:flex-start;
  }

  .privacy-content{
    padding:55px 0;
  }

  .privacy-container section{
    padding:24px 20px;
  }

  .privacy-lead{
    font-size:17px;
  }

}
