
:root{
  --bg:#ffffff;
  --text:#0a0a0a;
  --muted:#6b7280;
  --panel:#f5f5f7;
  --dark:#111111;
  --border:#e5e7eb;
  --link:#0066cc;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;color:var(--text);background:var(--bg);font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial}

/* Nav */
.nav{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(1120px,92%);margin:0 auto;padding:10px 0}
.nav nav a{margin:0 10px;color:var(--text);text-decoration:none;font-weight:500}
.nav .cta{padding:8px 14px;border-radius:999px;background:#000;color:#fff;text-decoration:none;font-weight:700}
.brand{display:inline-flex;align-items:center}

/* Hero */
.hero{position:relative;overflow:hidden}
.hero .hero-img{display:block;width:100%;height:70vh;object-fit:cover}
.hero-copy{position:absolute;inset:0;display:grid;place-items:center;text-align:center;pointer-events:none}
.hero-copy h1{font-size:clamp(36px,6vw,64px);margin:.1em 0 .2em;letter-spacing:-.02em}
.hero-copy p{color:#333;margin:0 auto 12px;max-width:720px}
.hero .cta-row{display:flex;gap:12px;justify-content:center}
.btn{pointer-events:auto;display:inline-block;background:#000;color:#fff;padding:12px 18px;border-radius:999px;text-decoration:none;font-weight:700}
.btn.ghost{background:transparent;color:#000;border:1px solid #d1d5db}

/* Product tiles */
.products{width:min(1120px,92%);margin:40px auto;display:grid;grid-template-columns:1fr;gap:14px}
.tile{position:relative;border-radius:24px;overflow:hidden}
.tile img{width:100%;height:520px;object-fit:cover;display:block}
.tile.light{background:var(--panel)}
.tile.dark{background:#000}
.tile-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;gap:8px}
.tile.dark .tile-copy h2,.tile.dark .tile-copy p{color:#fff}
.tile-copy h2{font-size:40px;margin:0;letter-spacing:-.02em}
.tile-copy p{margin:0 0 6px;color:#111}
.tile .links a{margin-right:16px;color:var(--link);font-weight:700;text-decoration:none}

/* Image breaks */
.image-break{position:relative;overflow:hidden;min-height:50vh;display:flex;align-items:center;justify-content:center;color:#fff;text-align:center}
.image-full{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:contrast(1.05) brightness(.95)}
.image-overlay{position:relative;z-index:1;background:rgba(0,0,0,0.35);padding:2rem 3rem;border-radius:1rem}
.image-overlay h2{font-size:2rem;margin-bottom:0.5rem}
.image-overlay p{font-size:1.1rem}

/* About */
.about{padding:56px 0}
.about-inner{width:min(840px,92%);margin:0 auto;text-align:center}
.about-inner h2{margin:0 0 8px;font-size:36px;letter-spacing:-.02em}
.about-inner p{color:#374151;margin:0}

/* Book */
.book{padding:56px 0;background:#000;color:#fff}
.book-inner{width:min(640px,92%);margin:0 auto;text-align:center}
.form{display:grid;gap:12px;margin-top:10px}
.form label{display:flex;flex-direction:column;gap:6px;text-align:left}
.form input,.form select,.form textarea{border:1px solid #333;background:#111;color:#fff;padding:12px 14px;border-radius:12px}
.form .btn{background:#fff;color:#000}
.error{min-height:1em;font-size:12px;color:#ffd1d1}
#formStatus{min-height:1.5em}

/* Footer */
.site-footer{border-top:1px solid var(--border);background:#0a0a0a;color:#e5e5e5;padding:24px 0}
.footer-inner{width:min(1120px,92%);margin:0 auto;display:flex;align-items:center;justify-content:space-between}
.footer-inner nav a{color:#e5e5e5;margin-left:14px;text-decoration:none}
.muted{color:#9ca3af}

/* Chat widget */
.chat-bubble{position:fixed;right:16px;bottom:16px;width:56px;height:56px;border-radius:50%;border:none;background:#000;color:#fff;font-size:22px;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.25);z-index:1200}
.chat-panel{position:fixed;right:16px;bottom:80px;width:min(360px,92vw);max-height:70vh;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 20px 40px rgba(0,0,0,.25);display:none;flex-direction:column;overflow:hidden;z-index:1200}
.chat-panel.show{display:flex}
.chat-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#0a0a0a;color:#fff}
.chat-body{padding:12px;overflow:auto;background:#f9fafb}
.msg{padding:10px 12px;border-radius:12px;margin-bottom:8px;max-width:90%}
.msg.bot{background:#eef2ff}
.msg.user{background:#dcfce7;margin-left:auto}
.msg.tip{background:#f1f5f9;font-size:13px;color:#475569}
.chat-input{display:flex;gap:8px;padding:10px;border-top:1px solid #e5e7eb;background:#fff}
.chat-input input{flex:1;border:1px solid #e5e7eb;border-radius:10px;padding:10px}
.chat-input button{background:#000;color:#fff;border:none;border-radius:10px;padding:10px 12px;cursor:pointer}
.chat-footer{padding:6px 10px;background:#fafafa;border-top:1px solid #eee;color:#6b7280;font-size:12px}




/* --- Guaranteed local backgrounds; Unsplash will be applied via JS after load --- */
.hero{
  background: url("assets/city.jpg") center/cover no-repeat;
  height: 70vh;
}
.hero .hero-img{ display:none !important; }

.products .tile:nth-child(1){
  background: url("assets/forest.jpg") center/cover no-repeat;
}
.products .tile:nth-child(2){
  background: url("assets/workout.jpg") center/cover no-repeat;
}
.products .tile:nth-child(3){
  background: url("assets/forest.jpg") center/cover no-repeat;
}
.products .tile:nth-child(4){
  background: url("assets/city.jpg") center/cover no-repeat;
}
.products .tile img{ display:none !important; }

@media (min-width: 900px){
  .image-break .image-full{ display:none !important; }
  .image-break:nth-of-type(1){
    background: url("assets/workout.jpg") center/cover no-repeat fixed;
  }
  .image-break:nth-of-type(2){
    background: url("assets/forest.jpg") center/cover no-repeat fixed;
  }
}


/* --- Top site banner --- */
.site-banner {
  background: transparent;
  color: #000;
  text-align: center;
  padding: 0.75rem;
  font-weight: bold;
  font-size: 1.25rem;
  text-shadow: 1px 1px 3px rgba(255,255,255,0.8), 0 0 5px rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}
