/* =====================================================================
   Skyline Warsaw — styl serwisu
   skyline-warsaw.info
   ===================================================================== */

:root {
  --bg:        #f4f6fa;
  --bg-soft:   #eef1f7;
  --card:      #ffffff;
  --ink:       #14202f;
  --ink-soft:  #2b3a4d;
  --muted:     #5d6b7d;
  --accent:    #e0a23c;   /* złoto warszawskiego zmierzchu */
  --accent-dk: #c4862a;
  --navy:      #15314f;
  --navy-dk:   #0e2238;
  --line:      #e2e6ee;
  --line-soft: #eef1f6;
  --shadow:    0 10px 34px rgba(20, 32, 47, .09);
  --shadow-lg: 0 22px 60px rgba(20, 32, 47, .16);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1160px;
  --font-head: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .brand { font-family: var(--font-head); }

a { color: var(--accent-dk); text-decoration: none; }
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
.brand {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand .brand-mark {
  display: inline-flex;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dk));
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.brand .brand-mark svg { width: 20px; height: 20px; }
.brand span { color: var(--accent-dk); }
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  margin-left: 24px;
  color: var(--ink-soft);
  font-size: .98rem;
  font-weight: 500;
  position: relative;
}
.nav a:hover { color: var(--accent-dk); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dk) 70%);
  color: #f2f5fa;
  padding: 84px 24px 0;
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 700;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  font-size: 1.16rem;
  color: #c7d2e0;
  margin: 0 auto 30px;
  max-width: 620px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto 0;
  padding-bottom: 70px;
  position: relative;
  z-index: 2;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--accent);
  line-height: 1.1;
}
.hero-stats .stat span { font-size: .9rem; color: #aebccd; }
.hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
  opacity: .9;
}

/* ---------- Section ---------- */
.section { padding: 70px 0 84px; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  font-weight: 700;
}
.section-sub { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- Grid / Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: #d6cbb4;
}
.card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #eef1f7, #e3e8f1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.card-img img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(21,49,79,.92);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  font-size: 1.16rem;
  margin: 0 0 10px;
  line-height: 1.32;
  font-weight: 600;
}
.card-body p {
  color: var(--muted);
  font-size: .96rem;
  margin: 0 0 22px;
  flex: 1;
}
.card-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Feature strip ---------- */
.features {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.features .grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.feature {
  text-align: left;
  padding: 6px 4px;
}
.feature .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.feature h3 { margin: 0 0 8px; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dk); color: #fff; }
.btn-amazon { background: #ff9900; color: #131a22; }
.btn-amazon:hover { background: #f08800; color: #131a22; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f0f2f6; color: var(--navy-dk); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dk); }
.btn-outline-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Book detail page ---------- */
.book {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 56px;
  padding: 48px 0 80px;
  align-items: start;
}
.book-cover {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.book-cover img {
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
  margin: 0 auto;
}
.book-info h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 8px;
  line-height: 1.18;
  font-weight: 700;
}
.book-info .author {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0 0 26px;
}
.book-info h2 {
  font-size: 1.3rem;
  margin: 34px 0 12px;
  font-weight: 600;
}
.book-info p { margin: 0 0 16px; color: var(--ink-soft); }
.book-info ul { margin: 0 0 22px; padding-left: 20px; }
.book-info li { margin-bottom: 10px; color: var(--ink-soft); }
.book-cta {
  margin: 30px 0 4px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.book-cta .note { font-size: .86rem; color: var(--muted); }
.breadcrumb {
  padding: 24px 0 0;
  font-size: .92rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-dk); }

/* ---------- Static / legal pages ---------- */
.page {
  padding: 52px 0 80px;
  max-width: 840px;
}
.page h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin: 0 0 10px; font-weight: 700; }
.page h2 { font-size: 1.3rem; margin: 34px 0 10px; font-weight: 600; }
.page p, .page li { color: var(--ink-soft); }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 9px; }
.page .updated { color: var(--muted); margin-bottom: 30px; font-size: .95rem; }
.page .lead { font-size: 1.12rem; color: var(--ink); }

/* info / disclosure callout */
.callout {
  background: #fff7e8;
  border: 1px solid #f0dcae;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 26px 0;
}
.callout p { margin: 0; color: var(--ink-soft); }

/* contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 30px 0 10px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.contact-card .ic { font-size: 1.5rem; margin-bottom: 10px; }
.contact-card h3 { margin: 0 0 6px; font-size: 1.08rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dk);
  color: #b9c5d4;
  padding: 56px 0 30px;
  font-size: .95rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { margin: 0; color: #93a3b5; max-width: 320px; font-size: .92rem; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: .98rem;
  margin: 4px 0 14px;
}
.footer-col a { display: block; color: #b9c5d4; margin-bottom: 9px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  color: #8593a6;
  font-size: .86rem;
}
.footer-bottom a { color: #b9c5d4; }
.footer-note { color: #76889c; font-size: .82rem; max-width: 640px; margin: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 760px;
  margin: 0 auto;
  background: #14202f;
  color: #eef1f4;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 20px 56px rgba(0,0,0,.4);
  padding: 22px 24px;
  z-index: 200;
  display: none;
}
.cookie-banner.show { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cookie-banner p { margin: 0; font-size: .94rem; line-height: 1.55; flex: 1 1 320px; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .book { grid-template-columns: 1fr; gap: 30px; }
  .book-cover { position: static; max-width: 320px; margin: 0 auto; }
  .nav a { margin-left: 16px; font-size: .92rem; }
  .hero { padding-top: 64px; }
  .hero-stats { gap: 28px; padding-bottom: 56px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 520px) {
  .brand { font-size: 1.12rem; }
  .nav a { margin-left: 12px; }
}
