/* Koffsan v3 – Lekfull, mobil-först design */
:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#5b6472;
  --brand:#0a6ad6;
  --brand-2:#0048a6;
  --sand:#fff6e6;
  --tint:#f3f7ff;
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  color:var(--text); background:var(--bg); line-height:1.6; text-wrap:pretty;
}

.container{max-width:1080px; margin-inline:auto; padding:clamp(16px,2.5vw,28px)}
.section{padding:clamp(28px,6vw,72px) 0}
.tilt,.tint{background:var(--tint)}
.sand{background:var(--sand)}
h1,h2,h3{line-height:1.15;margin:0 0 .6rem}
h1{font-size:clamp(2.4rem,6vw,4.2rem);letter-spacing:-.02em}
h2{font-size:clamp(1.5rem,3.2vw,2.1rem)}
h3{font-size:1.15rem;margin-top:.4rem}

p{margin:.25rem 0 1rem}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}

.nav{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:12px clamp(16px,2.5vw,28px); background:rgba(255,255,255,.7); backdrop-filter: blur(6px);
  border-bottom:1px solid #eef2f9;
}
.brand{display:flex; gap:10px; align-items:center; font-weight:800; color:var(--brand); text-decoration:none}
.menu{display:flex; gap:16px; list-style:none; margin:0; padding:0}
.menu a{color:#0b3a8b; opacity:.95; font-weight:600}
.menu-btn{display:none; background:transparent; border:1px solid rgba(11,58,139,.25); color:#0b3a8b; padding:10px 12px; border-radius:12px}

.hero{
  position:relative;
  background: linear-gradient(180deg, rgba(255,160,60,0.55), rgba(0,0,0,0.45)), url('/assets/img/hero.jpg') center/cover no-repeat;
  color:white;
  min-height:64vh; display:grid; place-items:center; text-align:center; isolation:isolate;
}
.hero-inner{padding:clamp(24px,4vw,48px)}
.hero .tag{opacity:.95; font-size:clamp(1rem,2.2vw,1.25rem)}
.cta{display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:12px}
.btn{display:inline-flex; align-items:center; gap:8px; background:white; color:var(--brand-2); border:0; padding:12px 18px; border-radius:999px; font-weight:800; text-decoration:none; box-shadow:var(--shadow)}
.btn.ghost{background:transparent; color:white; border:2px solid rgba(255,255,255,.8)}

.wave{position:absolute; left:0; right:0; bottom:-1px; width:100%; height:120px; display:block}
.wave path{fill:#ffffff}

.grid-2{display:grid; gap:clamp(16px,3vw,32px); grid-template-columns: 1.15fr 1fr}
.imgcard{background:white; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow)}
.imgcard img{display:block; width:100%; height:auto}
.imgcard figcaption{padding:8px 12px; color:var(--muted); font-size:.95rem}

.cards{display:grid; gap:16px; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr))}
.card{background:white; padding:18px; border-radius:var(--radius); box-shadow:var(--shadow)}

.ticks{list-style:none; padding-left:0}
.ticks li{padding-left:28px; position:relative; margin:.4rem 0}
.ticks li::before{content:"✓"; position:absolute; left:0; color:var(--brand); font-weight:900}

.gallery{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:12px}
.g-item{background:white; border-radius:16px; overflow:hidden; box-shadow:var(--shadow)}
.g-item img{display:block; width:100%; height:auto; transition: transform .2s ease}
.g-item:hover img{transform:scale(1.03)}
.g-item figcaption{font-size:.95rem; color:var(--muted); padding:8px 10px}
.credit{font-style:italic}

.map-wrap{width:100%; aspect-ratio:16/9; background:#e9eef7; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow)}
.map-wrap iframe{border:0; width:100%; height:100%}

.rules{columns:1; column-gap:32px; list-style:none; padding-left:0}
.rules li{padding-left:28px; position:relative; margin:.35rem 0}
.rules li::before{content:"•"; position:absolute; left:10px; color:var(--brand)}

.small{font-size:.9rem}
.muted{color:var(--muted)}

.site-footer{border-top:1px solid #e8ecf5; background:#fafcff}
.footer-grid{display:flex; align-items:center; justify-content:space-between; gap:12px}

.to-top{text-decoration:none}

/* --- Mobile-first --- */
img, iframe, video {max-width:100%; height:auto}
.menu a, .btn, .menu-btn {min-height:44px; display:flex; align-items:center}

@media (max-width: 860px){
  .grid-2{grid-template-columns: 1fr}
  .menu{display:none; flex-direction:column; width:100%; padding:8px 0}
  .menu.open{display:flex}
  .menu-btn{display:inline-block}
}

@media (max-width: 480px){
  .gallery{ grid-template-columns:1fr }
  .container{ padding: 16px }
  h1{ font-size: clamp(2rem, 8vw, 2.6rem) }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto}
}
