/* lombard-wroclaw.pl - main stylesheet */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0D0D0D;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --border: #262626;
  --text: #F0EFE9;
  --muted: #8A8378;
  --gold: #C9A84C;
  --gold-soft: #E2C97E;
  --gold-deep: #A07830;
  --max: 1180px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { color: var(--text); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.muted { color: var(--muted); }
.eyebrow { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; display: block; }

/* ========== SALE BANNER (sticky top) ========== */
#sale-banner {
  background: #0A0A0A;
  border-bottom: 1px solid var(--gold);
  padding: 9px 16px;
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: #B5AC9A;
  position: sticky; top: 0; z-index: 9999;
}
#sale-banner .sb-domain { color: var(--gold); font-weight: 600; }
#sale-banner .sb-cta {
  background: var(--gold); color: #0A0A0A;
  padding: 4px 12px; border-radius: 4px;
  font-weight: 600; font-size: 12px;
  white-space: nowrap;
}
#sale-banner .sb-cta:hover { background: var(--gold-soft); color: #0A0A0A; }
#sale-banner .sb-close {
  background: none; border: none; color: #555;
  cursor: pointer; font-size: 20px; padding: 0 4px; line-height: 1;
}
#sale-banner .sb-close:hover { color: var(--text); }
@media (max-width: 600px) {
  #sale-banner { font-size: 11.5px; padding: 8px 12px; gap: 10px; }
  #sale-banner .sb-text-long { display: none; }
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: sticky; top: 38px; z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max); margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--text); letter-spacing: 0.02em; }
.brand b { color: var(--gold); font-weight: 600; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gold); color: #0A0A0A !important;
  padding: 0.55rem 1.1rem; border-radius: 6px;
  font-weight: 600; font-size: 0.88rem;
}
.nav-cta:hover { background: var(--gold-soft); color: #0A0A0A !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 6px; margin-left: auto; }
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 0.5rem 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 1.5rem; width: 100%; }
  .nav-cta { margin: 0.5rem 1.5rem; text-align: center; }
  .nav-toggle { display: block; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 20%, rgba(201,168,76,0.12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(201,168,76,0.06), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.hero h1 {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 640px; margin: 0 auto 2rem;
}
.hero-trust {
  display: flex; justify-content: center; gap: 1.8rem; flex-wrap: wrap;
  margin-top: 2.2rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--muted);
}
.hero-trust strong { color: var(--gold-soft); font-weight: 600; }

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #0A0A0A !important; box-shadow: 0 4px 18px rgba(201,168,76,0.25); }
.btn-gold:hover { transform: translateY(-1px); background: var(--gold-soft); box-shadow: 0 6px 22px rgba(201,168,76,0.35); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text) !important; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft) !important; }
.btn-block { width: 100%; }

/* ========== USP STRIP ========== */
.usp {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem 1.5rem;
}
.usp-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.usp-item { display: flex; gap: 1rem; align-items: flex-start; }
.usp-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.usp-icon svg { width: 22px; height: 22px; }
.usp-item h3 { font-family: 'DM Sans', sans-serif; font-size: 0.98rem; font-weight: 600; margin-bottom: 0.2rem; }
.usp-item p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 720px) { .usp-grid { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ========== SECTIONS ========== */
section { padding: 5rem 1.5rem; }
section.alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin-top: 0.6rem; }

/* ========== CONTENT GRID ========== */
.content-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem;
  align-items: start;
}
.content-grid p { margin-bottom: 1rem; color: var(--text); }
.content-grid p.lead { font-size: 1.08rem; color: var(--text); }
.bullet-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin: 1.5rem 0; }
.bullet-list li {
  position: relative; padding-left: 1.7rem;
  font-size: 0.96rem; color: var(--text);
}
.bullet-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 820px) { .content-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Side card */
.side-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
}
.side-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.price-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.price-row:last-child { border-bottom: none; }
.price-row span:last-child { color: var(--gold-soft); font-weight: 600; }

/* ========== COMPARISON TABLE ========== */
.compare {
  width: 100%; border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.compare th, .compare td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare th { background: var(--surface-2); color: var(--gold-soft); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.compare td.us { color: var(--text); }
.compare td.them { color: var(--muted); }
.compare tr:last-child td { border-bottom: none; }
.tick { color: var(--gold); font-weight: 700; }
.dash { color: #555; }

/* ========== FAQ ========== */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 500;
  color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; color: var(--gold); font-size: 1.4rem; line-height: 1;
  transition: transform .2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: 0.94rem; line-height: 1.65; }
.faq-answer p + p { margin-top: 0.7rem; }

/* ========== LOCAL SECTION ========== */
.local-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  align-items: start;
}
@media (max-width: 820px) { .local-grid { grid-template-columns: 1fr; } }

.districts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem;
  margin-top: 1.2rem;
}
.district-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text) !important;
  font-size: 0.92rem;
  transition: border-color .15s, transform .15s;
}
.district-link:hover { border-color: var(--gold); transform: translateX(2px); }
.district-link span:last-child { color: var(--gold); }

.map-wrap {
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) hue-rotate(180deg); }

/* ========== REVIEWS ========== */
.reviews-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.rating-display { display: flex; align-items: center; gap: 0.8rem; }
.rating-stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 0.08em; }
.rating-meta { font-size: 0.88rem; color: var(--muted); }
.rating-meta b { color: var(--text); font-size: 1rem; }

.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.review {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.review-stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 0.06em; }
.review-text { color: var(--text); font-size: 0.95rem; line-height: 1.6; }
.review-author { font-size: 0.85rem; color: var(--muted); margin-top: auto; padding-top: 0.7rem; border-top: 1px solid var(--border); }
.review-author b { color: var(--gold-soft); font-weight: 600; }
@media (max-width: 820px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ========== CTA FINAL ========== */
.cta-final {
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
.cta-final h2 { margin-bottom: 0.8rem; }
.cta-final .lead { color: var(--muted); max-width: 580px; margin: 0 auto 2rem; }

.contact-form {
  max-width: 520px; margin: 2rem auto 0;
  display: flex; flex-direction: column; gap: 0.9rem;
  text-align: left;
}
.form-group label { display: block; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.75rem 0.95rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color .15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-textarea { min-height: 110px; resize: vertical; }
.form-status { font-size: 0.88rem; text-align: center; min-height: 1.2em; color: var(--gold-soft); }

.guarantee {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.82rem; color: var(--muted);
}
.guarantee svg { color: var(--gold); }

/* ========== BREADCRUMBS ========== */
.crumbs {
  max-width: var(--max); margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.82rem; color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs .sep { margin: 0 0.4rem; color: #444; }

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 3rem 1.5rem 2rem;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a { color: var(--muted); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  text-align: center; font-size: 0.82rem; color: var(--muted);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ========== UTILITIES ========== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
}
