:root{
  --bg:#f6f3ee;
  --text:#1f1f1f;
  --muted:#6f6a63;
  --max:980px;
  --brand:#3E2A26;
  --card:#ffffff;
  --line: rgba(62,42,38,.18);
  --shadow: 0 18px 50px rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: "Manrope", sans-serif;
  color:var(--text);
  line-height:1.6;
  background:#ffffff;
}

section{ padding:80px 16px; }

.wrap{
  max-width:var(--max);
  margin:0 auto;
}

h1, h2, h3{
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: .3px;
}


h1{ font-size:clamp(40px,6vw,72px); line-height:1.05; }
h2{ font-size:clamp(28px,4vw,44px); }
h3{ font-size:clamp(20px,3vw,26px); }

p{
  font-size:clamp(18px,2.4vw,22px);
  color:var(--muted);
  margin:0;
}

a{ color:inherit; }

/* TOPBAR */
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
}

.nav{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  font-weight:600;
  letter-spacing:.6px;
  text-decoration:none;
}

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

.menu a{
  text-decoration:none;
  color:var(--text);
  opacity:.85;
}

.menu a:hover{ opacity:1; }

/* HERO */
.hero{ background:var(--bg); }
.hero .wrap{ text-align:center; }
.hero p{ max-width:760px; margin:18px auto 0; }

/* BUTTONS — w kolorze marki */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:14px 28px;
  background: var(--brand);              /* <-- brąz */
  color:#fff;
  text-decoration:none;
  border-radius:10px;

  font-size:18px;
  border:1px solid var(--brand);         /* <-- brąz */
  transition: transform .15s ease, opacity .15s ease, background .15s ease, box-shadow .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  background: #2f1f1c;                   /* ciemniejszy brąz na hover */
  border-color: #2f1f1c;
  box-shadow: 0 14px 40px rgba(62,42,38,.18);
}

/* wariant outline — brązowy obrys + brązowy tekst */
.btn.outline{
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(62,42,38,.45);
}

.btn.outline:hover{
  background: rgba(62,42,38,.08);        /* delikatne wypełnienie */
  border-color: rgba(62,42,38,.60);
  box-shadow: none;
}

/* opcjonalnie: spójny focus (ważne dla dostępności) */
.btn:focus-visible{
  outline: 3px solid rgba(62,42,38,.25);
  outline-offset: 3px;
}


/* REVEAL ANIMATION */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* OFFER GRID */
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px;
  margin-top:34px;
}

@media (max-width: 820px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow: var(--shadow);
}

.card__media{
  height:160px;
  background:#e9e4dc;
  background-size:cover;
  background-position:center;
}

.card__body{
  padding:18px 18px 16px;
}

.card__tag{
  display:inline-block;
  color:var(--brand);
  font-weight:600;
  letter-spacing:.3px;
  margin-bottom:8px;
}

.card__title{
  margin:0 0 8px 0;
  font-size:clamp(20px,3vw,26px);
}

.card__desc{
  margin:0 0 12px 0;
}

/* ACCORDION (kafelki rozwijane) */
.acc{
  border-top:1px solid var(--line);
  padding-top:12px;
  margin-top:12px;
}

.acc__btn{
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  padding:10px 0;
  cursor:pointer;
  font-family:inherit;
  font-size:18px;
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.acc__icon{
  width:26px;
  height:26px;
  border-radius:999px;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  color:var(--brand);
  flex:0 0 auto;
}

.acc__panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}

.acc__panel > div{
  padding:0 0 14px 0;
  color:var(--muted);
  font-size:18px;
}

.card__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding-top:8px;
}

/* NUMBERED BLOCKS like TGcoders */
.steps{
  margin-top:34px;
  display:grid;
  gap:18px;
}

.step{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap:18px;
  align-items:flex-start;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--card);
}

.step__num{
  font-size:64px;
  line-height:1;
  font-weight:600;
  color:var(--brand);
}

.step__title{
  margin:0 0 6px 0;
  font-size:24px;
}

.step__text{
  margin:0;
  color:var(--muted);
  font-size:20px;
}

/* FORMS */
form{ max-width:640px; margin:28px auto 0; }

input, textarea{
  width:100%;
  padding:12px;
  margin-bottom:12px;
  font-family:inherit;
  font-size:18px;
  border:1px solid #ccc;
  border-radius:8px;
}

textarea{ min-height:120px; }

footer{
  text-align:center;
  padding:40px 16px;
  font-size:16px;
  color:var(--muted);
  border-top:1px solid var(--line);
}

.card{
  position:relative;              /* to jest kluczowe pod absolutną ikonę */
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow: var(--shadow);
}

.card__body{
  position:relative;              /* żeby treść była nad ikoną */
  z-index:2;
  padding:18px 18px 16px;
}

/* Ikona w tle */
.card__bg-icon{
  position:absolute;
  right:-40px;
  bottom:-40px;
  width:240px;
  height:240px;
  opacity:.07;                    /* delikatnie, minimalistycznie */
  pointer-events:none;
  z-index:1;
}

.card__bg-icon svg{
  width:100%;
  height:100%;
  stroke:var(--brand);            /* #3E2A26 */
  stroke-width:1.2;
  fill:none;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 16px;
  background: #ffffff;
  font-size: 16px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__center a {
  text-decoration: none;
  color: var(--muted);
  transition: opacity .2s ease;
}

.footer__center a:hover {
  opacity: .7;
}

.footer__sep {
  margin: 0 8px;
  color: var(--muted);
}

.footer__icon {
  width: 24px;
  height: 24px;
  stroke: #000; /* czarna ikonka */
  stroke-width: 1.6;
  fill: none;
  transition: transform .2s ease, opacity .2s ease;
}

.footer__right a:hover .footer__icon {
  transform: translateY(-2px);
  opacity: .7;
}

.hero__photo{ display:flex; justify-content:center; margin-top:28px; }

.portrait{
  width:min(360px, 90vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  position:relative;
  overflow:hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.12);
}

/* ring w kolorze marki */
.portrait::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  border: 2px solid rgba(62,42,38,.45);
  pointer-events:none;
}

/* miękkie tło w brązie za ringiem */
.portrait::before{
  content:"";
  position:absolute;
  inset:-16px;
  background: rgba(62,42,38,.10);
  border-radius:999px;
  z-index:-1;
}

.portrait img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: 50% 15%;
  display:block;
}


@media (max-width: 900px){
  .hero__grid{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .hero__photo{
    margin-top: 22px;
  }
}

.case h2{
  margin-bottom:28px;
}

.case p{
  margin-bottom:22px;
  max-width:760px;
}

.case-block{
  margin-bottom:40px;
  max-width:760px;
}

.case-block h3{
  color:var(--brand);
  margin-bottom:10px;
  font-weight:600;
}

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

.strong{
  font-weight:600;
  color:var(--text);
}

.btn.brand{
  background:var(--brand);
  border:1px solid var(--brand);
  color:#fff;
}

.btn.brand:hover{
  opacity:.9;
}
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
  margin-top:40px;
}

.gallery img{
  width:100%;
  border-radius:16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  transition: transform .3s ease;
}

.gallery img:hover{
  transform: scale(1.02);
}

/* ===== MOBILE SWIPE ===== */
@media(max-width: 900px){

  .gallery{
    display:flex;
    overflow-x:auto;
    gap:16px;
    scroll-snap-type: x mandatory;
    padding-bottom:10px;
  }

  .gallery::-webkit-scrollbar{
    display:none;
  }

  .gallery img{
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}
  .offer-plus__lead{
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
  }

  .offer-plus__grid{
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .offer-plus__card{
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 22px;
  }

  .offer-plus__card h3{
    margin: 0 0 12px 0;
    color: var(--text);
  }

  .offer-plus__list{
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: clamp(18px, 2.2vw, 20px);
    line-height: 1.7;
  }

  .offer-plus__list li{
    margin-bottom: 10px;
  }

  .offer-plus__note{
    margin: 26px auto 0;
    max-width: 820px;
    background: rgba(62,42,38,.06);
    border: 1px solid rgba(62,42,38,.14);
    border-radius: 16px;
    padding: 18px 18px;
    text-align: center;
  }

  .offer-plus__note p{
    color: var(--text);
    opacity: .9;
  }

  .offer-plus__actions{
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  @media (max-width: 900px){
    .offer-plus__grid{
      grid-template-columns: 1fr;
    }
  }

  /* Kontakt — wyśrodkowanie nagłówka + opisu */
  .contact__wrap{
    text-align: center;
  }

  .contact__wrap h2{
    margin-left: auto;
    margin-right: auto;
  }

  .contact__wrap form{
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* formularz czytelniej, pola nie „na środku” */
  }
/* ============================= */
/* TECH (static, premium) */
/* ============================= */

.tech-static{
  padding: 28px 16px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tech-static__label{
  margin: 0 0 14px 0;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(31,31,31,.60);
}

.tech-static__chips{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 10px;
  max-width: 920px;
  margin: 0 auto;
}

.chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 999px;

  /* premium: brązowe szkło + delikatny border */
  background: rgba(62,42,38,.06);
  border: 1px solid rgba(62,42,38,.18);

  font-family: "Manrope", sans-serif;
  font-size: 14px;
  letter-spacing: .03em;
  color: rgba(31,31,31,.86);

  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.chip:hover{
  transform: translateY(-1px);
  background: rgba(62,42,38,.09);
  border-color: rgba(62,42,38,.26);
}

/* mobile: ciut ciaśniej */
@media (max-width: 900px){
  .tech-static{ padding: 22px 14px; }
  .chip{ font-size: 13px; padding: 9px 12px; }
}
