:root{
  --bg1:#1aa6ff;
  --bg2:#25d7b5;
  --cream:#fff3d8;
  --ink:#14324a;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --round: 18px;
}

*{box-sizing:border-box}
body{margin:0;font-family:system-ui,Segoe UI,Arial;color:var(--ink);background:#fff}

.topbar{
  display:flex;justify-content:center;gap:18px;align-items:center;
  padding:10px 14px;background:#0b1b28;color:#fff;font-weight:700;
}
.topbar a{color:#fff;text-decoration:none;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.12)}
.phone{padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.12)}

.hero{
  background: linear-gradient(90deg, var(--bg1), var(--bg2));
  padding:46px 16px 30px;
}
.hero-small{padding:26px 16px 20px;}
.hero-inner{max-width:1100px;margin:0 auto;text-align:center}

.logo{
  display:inline-block;
  padding:18px 22px;border-radius:28px;
  background:rgba(255,255,255,.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.small-logo{padding:12px 16px;border-radius:22px}
.logo-big{
  font-weight:900;letter-spacing:1px;
  font-size:42px;line-height:1.0;color:#fff;
  text-shadow:0 8px 22px rgba(0,0,0,.25);
}
.small-logo .logo-big{font-size:28px}

.nav{
  margin-top:18px;
  display:flex;flex-wrap:wrap;gap:10px;justify-content:center;
}
.pill{
  text-decoration:none;
  background:rgba(255,255,255,.85);
  color:var(--ink);
  padding:12px 16px;border-radius:999px;
  font-weight:800;
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}
.pill.active{outline:3px solid rgba(255,255,255,.65);}

.container{max-width:1100px;margin:0 auto;padding:24px 16px}
.section{
  margin:26px 0;
  background: linear-gradient(#fff, var(--cream));
  border-radius: 26px;
  padding:26px;
  box-shadow: var(--shadow);
}
.h2{margin:0 0 8px;font-size:34px}
.sub{margin:0 0 18px;font-size:18px;opacity:.85}

.tiles{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
@media (max-width: 900px){
  .tiles{grid-template-columns:1fr}
  .logo-big{font-size:34px}
}

.tile{
  display:block;
  text-decoration:none;
  background:#fff;border-radius:22px;
  padding:18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  transition: transform .12s ease;
  color:inherit;
}
.tile:hover{transform: translateY(-3px)}
.tile-title{font-size:22px;font-weight:900;margin-bottom:6px}
.tile-text{opacity:.85}

.contact-card{
  background:#fff;border-radius:22px;padding:18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.small{margin-top:8px;opacity:.75}
.gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}

@media (max-width: 900px) {
  .gallery{
    grid-template-columns: 1fr;
  }
}  /* <-- WAŻNE: domknięcie @media */

.gimg{
  width:100%;
  height:260px;        /* WSZYSTKIE RÓWNE */
  object-fit:cover;   /* estetyczne przycięcie */
  border-radius:18px;
  display:block;
}

.footer{
  text-align:center;
  padding:22px 16px;
  opacity:.7;
}

/* LOGO - wyśrodkowanie + sensowny rozmiar */
.logo{
  display:flex;
  justify-content:center;
}

.logo-img{
  display:block;
  width: min(820px, 92vw);
  max-height: 260px;
  height:auto;
  margin: 0 auto 18px;
  object-fit: contain;
}  /* <-- WAŻNE: domknięcie .logo-img */
/* HERO IMAGE – grafika jako tło w prostokącie */
.hero-image {
  width: 100%;
  max-width: 900px;
  height: 520px;

  background-image: url("logo-speelland-montage.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  border-radius: 24px;
  margin: 0 auto 24px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Telefon */
@media (max-width: 600px) {
  .hero-image {
    height: 720px;
    background-size: contain;
  }
}
