/* ETAP 1 — SEO lokalizacji + TOP 10 */
.stage1-page{
  background:radial-gradient(circle at 10% 0%,rgba(200,164,93,.16),transparent 34%),linear-gradient(180deg,#fbfaf6,#f6efe3 55%,#fbfaf6);
  min-height:100vh;
  padding:24px 20px 80px;
}

.stage1-hero,
.stage1-ranking,
.stage1-seo-text,
.stage1-top-nav,
.stage1-ai-seo,
.stage1-attractions{
  width:min(1380px,100%);
  margin-left:auto;
  margin-right:auto;
}

.stage1-hero{
  margin-bottom:34px;
  padding:44px;
  color:#fff;
  background:radial-gradient(circle at 84% 0%,rgba(243,217,141,.28),transparent 34%),linear-gradient(135deg,#151515,#2b2116);
  box-shadow:8px 8px 0 rgba(15,18,24,.16);
}

.stage1-hero span,
.stage1-head span{
  display:inline-flex;
  padding:8px 12px;
  background:#fff8e7;
  color:#6d5420;
  border:1px solid rgba(200,164,93,.24);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.stage1-hero h1{
  margin:14px 0;
  font-size:clamp(42px,6vw,84px);
  line-height:.9;
  letter-spacing:-.08em;
}

.stage1-hero p{
  max-width:850px;
  color:rgba(255,255,255,.76);
  line-height:1.75;
}

.stage1-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.stage1-hero-actions a{
  display:inline-flex;
  padding:13px 16px;
  background:#fff;
  color:#151515;
  text-decoration:none;
  font-weight:950;
}

.stage1-hero-actions a:first-child{
  background:linear-gradient(135deg,#f3d98d,#c8a45d,#9c7834);
}

.stage1-head{
  margin-bottom:22px;
}

.stage1-head h2{
  margin:12px 0 8px;
  color:#151515;
  font-size:clamp(34px,4vw,58px);
  line-height:.96;
  letter-spacing:-.07em;
}

.stage1-head p{
  max-width:880px;
  color:#6f675c;
  line-height:1.75;
}

.stage1-top-nav,
.stage1-ai-seo,
.stage1-attractions,
.stage1-ranking,
.stage1-seo-text{
  margin-top:42px;
}

.stage1-top-nav-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.stage1-top-nav-grid a{
  display:flex;
  min-height:150px;
  flex-direction:column;
  justify-content:space-between;
  padding:20px;
  background:#fff;
  color:#151515;
  text-decoration:none;
  border:1px solid rgba(24,20,14,.10);
  box-shadow:8px 8px 0 rgba(15,18,24,.10);
  transition:.22s ease;
}

.stage1-top-nav-grid a:hover{
  transform:translateY(-5px);
  box-shadow:12px 12px 0 rgba(15,18,24,.14);
}

.stage1-top-nav-grid strong{
  font-size:20px;
  line-height:1.05;
  letter-spacing:-.05em;
}

.stage1-top-nav-grid span{
  color:#6f675c;
  line-height:1.5;
  font-size:13px;
  font-weight:750;
}

.stage1-ranking-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  align-items:start;
}

.stage1-ranked-card{
  position:relative;
  min-width:0;
}

.stage1-ranked-card > em{
  position:absolute;
  left:14px;
  top:14px;
  z-index:8;
  display:flex;
  width:46px;
  height:46px;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#f3d98d,#c8a45d,#9c7834);
  color:#17130b;
  font-style:normal;
  font-weight:950;
  box-shadow:5px 5px 0 rgba(0,0,0,.22);
}

.stage1-ranked-card .pp-card,
.stage1-ranked-card .elm-property{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  grid-column:auto!important;
  grid-row:auto!important;
}

.stage1-ranked-card .pp-card-img,
.stage1-ranked-card .elm-property-img{
  height:245px!important;
  min-height:245px!important;
  max-height:245px!important;
  overflow:hidden!important;
}

.stage1-ranked-card .pp-card-img img,
.stage1-ranked-card .elm-property-img img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

.stage1-seo-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.stage1-seo-grid article{
  background:#fff;
  border:1px solid rgba(24,20,14,.10);
  padding:24px;
  box-shadow:8px 8px 0 rgba(15,18,24,.08);
}

.stage1-seo-grid h3{
  margin:0 0 10px;
  color:#151515;
  font-size:24px;
  letter-spacing:-.05em;
}

.stage1-seo-grid p{
  color:#6f675c;
  line-height:1.75;
}

.stage1-attractions-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.stage1-attractions-grid article{
  min-height:130px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px;
  background:#fff;
  border:1px solid rgba(24,20,14,.10);
  box-shadow:6px 6px 0 rgba(15,18,24,.08);
}

.stage1-attractions-grid b{
  font-size:24px;
}

.stage1-attractions-grid strong{
  display:block;
  margin-top:auto;
  color:#151515;
  font-size:18px;
  line-height:1.1;
  letter-spacing:-.04em;
}

.stage1-attractions-grid span{
  display:block;
  margin-top:8px;
  color:#6f675c;
  font-size:13px;
  font-weight:800;
}

.stage1-empty{
  padding:34px;
  background:#fff;
  border:1px solid rgba(24,20,14,.10);
  box-shadow:8px 8px 0 rgba(15,18,24,.10);
}

.stage1-empty h3{
  margin:0 0 8px;
  color:#151515;
  font-size:32px;
  letter-spacing:-.05em;
}

.stage1-empty p{
  color:#6f675c;
}

.stage1-empty a{
  display:inline-flex;
  margin-top:12px;
  padding:12px 15px;
  background:#151515;
  color:#fff;
  text-decoration:none;
  font-weight:950;
}

@media(max-width:1180px){
  .stage1-top-nav-grid,
  .stage1-attractions-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .stage1-ranking-grid,
  .stage1-seo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .stage1-page{
    padding:14px;
  }

  .stage1-hero{
    padding:26px;
  }

  .stage1-top-nav-grid,
  .stage1-attractions-grid,
  .stage1-ranking-grid,
  .stage1-seo-grid{
    grid-template-columns:1fr;
  }

  .stage1-ranked-card .pp-card-img,
  .stage1-ranked-card .elm-property-img{
    height:220px!important;
  }
}
