/* Sex-24.pl v2 — dark, clean, static, Cloudflare-Pages-ready */

:root {
  --bg: #0a0a0f;
  --bg-alt: #101018;
  --surface: #16161f;
  --surface-2: #1c1c28;
  --border: #262633;
  --text: #eceef3;
  --text-dim: #a3a3b3;
  --text-faint: #808094;
  --accent: #e8003f;
  --accent-dim: #b8264c;
  --accent-glow: rgba(255, 51, 102, 0.35);
  --highlight: #ffce3a;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .wordmark {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(20px, 3vw, 27px); }
p { color: var(--text-dim); margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- top strip ---------- */
.top-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12.5px;
  text-align: center;
  padding: 7px 12px;
  letter-spacing: .02em;
}
.top-strip strong { color: var(--text); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,15,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; gap: 20px; max-width: var(--max); margin: 0 auto;
}
.wordmark {
  font-size: 21px; margin: 0; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.wordmark span { color: var(--accent); }
.wm-flame { flex-shrink: 0; display: block; }
.site-header nav { display: flex; }
.site-header nav ul {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap;
}
.site-header nav a {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  text-decoration: none; color: var(--text-dim); font-size: 13.5px; font-weight: 600;
  transition: background .15s, color .15s;
}
.site-header nav a:hover, .site-header nav a.active { background: var(--surface-2); color: #fff; }
.call-pill {
  background: var(--accent); color: #fff !important; padding: 9px 16px !important;
  border-radius: 999px !important; font-weight: 700 !important;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.menu-toggle { display: none; }

/* ---------- header number (desktop) ---------- */
/* Desktop visitors can't place a call by tapping a link, so the header stops
   pretending otherwise: no "call-pill" button (hidden below), just the
   number as plain text plus a small QR thumbnail encoding the same tel: link
   used for real click-to-call on mobile -- always visible thanks to the
   header's own position:sticky, so it stays reachable while someone browses
   profiles and decides who to call. Hover blows the thumbnail up to a size a
   phone camera can actually read, without needing a dedicated modal/JS. */
.header-number { display: none; }
.header-qr { flex-shrink: 0; }
.header-qr img {
  display: block; width: 38px; height: 38px; min-width: 38px; flex-shrink: 0;
  border-radius: 6px; background: #fff; padding: 3px; position: relative; z-index: 1;
  transition: transform .15s ease;
  transform-origin: top right;
}
.header-qr:hover img {
  transform: scale(3.6);
  box-shadow: 0 14px 34px rgba(0,0,0,.55);
  z-index: 80;
}
@media (min-width: 901px) {
  .site-header .call-pill { display: none !important; }
  .header-number {
    display: flex; align-items: center; gap: 12px; white-space: nowrap;
    color: var(--text-dim); font-size: 13.5px; flex-shrink: 0;
  }
  .header-number strong { color: #fff; font-size: 15px; }
}

@media (max-width: 900px) {
  .site-header nav { position: fixed; top: 62px; left: 0; right: 0; height: calc(100vh - 62px); background: var(--bg); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
  .site-header nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-header nav ul { flex-direction: column; flex-wrap: nowrap; padding: 16px 20px 100px; gap: 2px; }
  .site-header nav li { width: 100%; }
  .site-header nav a { display: block; padding: 13px 14px; font-size: 15px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px; background: var(--surface);
    border: 1px solid var(--border); color: #fff; font-size: 18px; cursor: pointer;
  }
}

/* ---------- hero ---------- */
.hero {
  padding: 64px 20px 56px; text-align: center;
  background:
    radial-gradient(60% 60% at 50% 0%, var(--accent-glow), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero .eyebrow {
  display: inline-block; color: var(--accent); font-weight: 700; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 { max-width: 780px; margin-left: auto; margin-right: auto; }
.hero p.lead { max-width: 640px; margin: 0 auto 28px; font-size: 16.5px; }
.big-call {
  display: inline-flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--accent); color: #fff; text-decoration: none; text-align: center;
  font-weight: 800; font-size: 20px; padding: 16px 30px; border-radius: 999px;
  box-shadow: 0 8px 30px var(--accent-glow);
}
.big-call small { display: block; font-weight: 600; font-size: 12px; opacity: 1; }

/* desktop: a giant pink "Zadzwoń teraz" pill that does nothing when clicked
   is worse than no button at all -- it gets replaced by a plain, honest
   number display plus a scannable QR code, so a visitor decides to call by
   picking up their own phone and scanning, not by clicking something inert. */
.big-number-desktop { display: none; }
@media (max-width: 768px) {
  .big-call { animation: cta-pulse 2.4s ease-in-out infinite; }
}
@media (min-width: 769px) {
  .big-call { display: none; }
  .big-number-desktop {
    display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 46px;
  }
  .bnd-label { color: var(--text-dim); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .bnd-num { color: #fff; font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.01em; }
  .bnd-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 4px; }
  .bnd-qr img { width: 132px; height: 132px; border-radius: 10px; background: #fff; padding: 10px; }
  .bnd-hint { color: var(--text-faint); font-size: 12.5px; }
}
.qr-label { color: var(--text-dim); font-size: 12.5px; font-weight: 600; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 8px 30px var(--accent-glow); }
  50% { box-shadow: 0 8px 40px rgba(255,51,102,.65); }
}

/* ---------- sections ---------- */
section.block { padding: 46px 20px; }
section.block.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head a.more { color: var(--accent); text-decoration: none; font-weight: 700; font-size: 13.5px; white-space: nowrap; }

/* ---------- category chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  text-decoration: none; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
}
.chip:hover { border-color: var(--accent); color: #fff; }

/* ---------- girl cards ---------- */
/* structure: .girl-card > .photo-wrap (links to the profile; <div> instead of
   <a> when there's no profile page to link to) + .call-tag (always a real,
   separate tel: link below it -- deliberately NOT nested inside .photo-wrap's
   <a>, since a tap on "call" should call, not detour through the profile) */
.girls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.girl-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  overflow: hidden; position: relative; display: flex; flex-direction: column;
  transition: transform .15s, border-color .15s;
}
.girl-card:hover { transform: translateY(-3px); border-color: var(--accent-dim); }
/* stretched-link overlay -- makes the whole card act as a link to the
   profile (desktop: over the new contact block that has no other click
   target yet; harmless on mobile too, where it only overlaps the photo,
   already linked). Sits above plain content but below the real, separate
   call/view buttons (z-index: 3) so those keep working as themselves. */
.girl-card .card-full-link { position: absolute; inset: 0; z-index: 2; }
.girl-card .photo-stack { position: relative; }
.girl-card .photo-wrap { position: relative; display: block; text-decoration: none; color: inherit; }
.girl-card.no-profile .photo-wrap { cursor: default; }
.girl-card picture { display: block; }
.girl-card .photo {
  aspect-ratio: 3/4; width: 100%; height: auto; object-fit: cover; object-position: center top;
  background-color: #1e1e29;
}
.girl-card .shade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  background: linear-gradient(to top, rgba(10,10,15,.96), rgba(10,10,15,0));
  pointer-events: none;
}
.girl-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 12px 10px; }
.girl-card .name { font-weight: 800; font-size: 14.5px; color: #fff; line-height: 1.25; margin-bottom: 2px; }
.card-subtitle { color: var(--text-dim); font-size: 12px; font-weight: 600; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.girl-card .body { padding-right: 62px; }

/* Tinder-style card: on desktop the CTA is a small round button floating
   over the bottom-right corner of the photo, linking to the profile
   ("view-tag"). Mobile used to have an equivalent floating "call-tag"
   phone-icon button there too, but it was pure duplication once every
   card gained an explicit "Zadzwoń teraz" button in grid-actions below the
   photo -- removed per the user's request, so mobile's photo now carries
   no floating button (view-tag stays desktop-only). */
.girl-card .view-tag {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  width: 50px; height: 50px; border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 21px; text-decoration: none; color: #fff; background: var(--accent);
  box-shadow: 0 8px 20px rgba(0,0,0,.5), 0 0 0 4px rgba(10,10,15,.3);
  transition: background .15s, transform .15s;
  display: none;
}
.girl-card .view-tag:hover { background: var(--accent-dim); transform: scale(1.08); }
@media (min-width: 769px) {
  .girl-card .view-tag { display: flex; }
}
@media (max-width: 768px) {
  /* mobile: no "wew. NN" line under the name any more, so give the name
     more room to breathe -- this is the primary CTA on the device that can
     actually place the call */
  .girl-card .name { font-size: 17px; }
}

/* ---------- "online now" badge ---------- */
/* deliberately not tied to any real presence system -- a lightweight social-proof
   cue, deterministically assigned per profile (see is_online() in the build
   script) so it's stable across page loads and rebuilds rather than random noise */
.online-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(10,10,15,.72); backdrop-filter: blur(2px);
  color: #4ade80; font-size: 11px; font-weight: 700;
  padding: 4px 9px 4px 7px; border-radius: 999px; border: 1px solid rgba(74,222,128,.35);
}
.online-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex: none;
  animation: online-pulse 2s infinite;
}
@keyframes online-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  70% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
@media (max-width: 768px) {
  /* the badge was barely legible at the original desktop-tuned size on a
     phone screen -- scale up the text, dot and padding together */
  .online-badge { top: 10px; right: 10px; gap: 6px; font-size: 13px; padding: 6px 12px 6px 9px; }
  .online-badge .dot { width: 8px; height: 8px; }
}

/* ---------- profile page ---------- */
.profile-hero { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
@media (max-width: 780px) { .profile-hero { grid-template-columns: 1fr; } }
.profile-hero .hero-photo-wrap { position: relative; }
.profile-hero picture { display: block; }
.profile-hero .photo {
  width: 100%; aspect-ratio: 3/4; height: auto; object-fit: cover; object-position: center top;
  border-radius: var(--radius); background-color: #1e1e29; border: 1px solid var(--border);
  display: block;
}
/* Tinder-style hero card: name (+ category) overlaid directly on the photo,
   same .shade/.body/.name pattern as the grid cards, so a profile page and
   its listing tile read as the same kind of card. */
.profile-hero .hero-photo-wrap.tinder-card { overflow: hidden; border-radius: var(--radius); }
.profile-hero .hero-photo-wrap .shade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(to top, rgba(10,10,15,.94), rgba(10,10,15,0));
  pointer-events: none; border-radius: 0 0 var(--radius) var(--radius);
}
.profile-hero .hero-photo-wrap .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 16px; }
.profile-hero .hero-photo-wrap .name { font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; font-size: 23px; color: #fff; margin: 0 0 2px; }
.profile-hero .hero-photo-wrap .card-subtitle { font-size: 13.5px; }
.profile-tagline { color: var(--text-dim); font-size: 14.5px; margin: -6px 0 4px; }

/* Row of round, floating action buttons under the hero photo, mobile only --
   the dating-app "action bar" look. Call + SMS are real tel:/sms: links;
   WhatsApp/Call Back render in the same style but as inert <span>s (no
   href) until those channels are technically wired up. */
.tinder-actions { display: none; }
@media (max-width: 780px) {
  .tinder-actions {
    display: flex; justify-content: center; align-items: flex-start; gap: 16px;
    margin: 16px 0 22px; position: relative; z-index: 4;
  }
  .ta-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    width: 64px;
  }
  .ta-btn {
    width: 54px; height: 54px; border-radius: 50%; text-decoration: none;
    display: flex; align-items: center; justify-content: center; font-size: 23px;
    background: var(--surface-2); border: 1px solid var(--border); color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.5);
  }
  .ta-btn.ta-call { width: 64px; height: 64px; font-size: 28px; background: var(--accent); border-color: var(--accent); box-shadow: 0 10px 28px var(--accent-glow); }
  .ta-item:has(.ta-call) { width: 74px; }
  .ta-btn.disabled { opacity: .4; }
  .ta-label {
    font-size: 11px; font-weight: 600; color: var(--text-dim); text-align: center;
    line-height: 1.2;
  }
}

/* Mobile-only 2x2 grid of labelled contact buttons under each grid card
   (home + /dziewczyny/ listing) -- see grid_actions_html() in
   build_site_v3.py. position+z-index on the container lifts it above
   .card-full-link (z-index 2) so taps hit these buttons, not the
   stretched profile-link overlay behind them. */
.grid-actions { display: none; }
@media (max-width: 780px) {
  .grid-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin: 12px 14px 14px; position: relative; z-index: 3;
  }
  .ga-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 8px; border-radius: 999px; border: 2px solid var(--accent);
    color: #fff; font-weight: 700; font-size: 12.5px; text-decoration: none;
    background: transparent; min-width: 0; text-align: center; line-height: 1.2;
  }
  .ga-icon { font-size: 15px; line-height: 1; }
  .ga-wa-icon { flex: none; display: block; }
  .ga-btn.disabled { border-color: var(--border); color: var(--text-faint); }
}

/* ---------- four contact methods (profile page) ---------- */
/* Sits below the existing call-card (unchanged on desktop). SMS Premium is
   real everywhere; WhatsApp/Call Back are visible for review but styled as
   disabled since they aren't technically wired up yet -- see
   SHOW_WHATSAPP_CALLBACK in build_site_v3.py to hide them entirely. */
.contact-methods { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 26px; }
.contact-option { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.contact-option.disabled { opacity: .55; }
.co-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.co-icon { font-size: 16px; line-height: 1; }
.co-title { font-weight: 700; font-size: 13.5px; color: #fff; }
.co-soon {
  margin-left: auto; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-faint); background: var(--surface-2); border: 1px solid var(--border);
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.co-desktop-info { display: none; color: var(--text-dim); font-size: 13px; }
.co-btn-mobile { display: none; }
.co-text-mobile { display: none; }
.co-price-mobile { display: none; }
@media (max-width: 768px) {
  /* text -> button -> price, mirroring the IVR call-card's order above */
  .co-text-mobile {
    display: block; color: var(--text-dim); font-size: 13.5px; margin-bottom: 10px;
  }
  .co-text-mobile strong { color: #fff; }
  .co-btn-mobile {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    text-decoration: none; font-weight: 800; font-size: 14.5px; padding: 13px 16px;
    border-radius: 999px; background: transparent; border: 2px solid var(--accent); color: #fff;
  }
  .contact-option.disabled .co-btn-mobile.disabled-btn {
    border-color: var(--border); color: var(--text-faint); cursor: default;
  }
  .co-price-mobile {
    display: block; color: var(--text-faint); font-size: 12px; margin-top: 8px; text-align: center;
  }
}
@media (min-width: 769px) {
  .co-desktop-info { display: block; }
  /* desktop: this whole block (SMS Premium text info + WhatsApp/Call Back)
     is superseded by .desktop-contact-block below, which presents the same
     information (plus the two order buttons) in the competitor-style
     layout -- mobile is untouched and keeps this block as before. */
  .contact-methods { display: none; }
}

/* ---------- desktop contact block (cards + profile) ---------- */
/* Desktop-only "Zadzwoń pod numer / Wyślij SMS" info block, shared between
   grid cards and the profile page so both present contact options exactly
   the same way (mirrors a layout pattern common among direct competitors).
   Plain text, not real tel:/sms: links -- dialing/texting from a desktop
   browser does nothing, consistent with the rest of the site's desktop
   philosophy. Two additional order buttons (Zamów rozmowę / Chat na żywo)
   are shown in the same disabled/"Wkrótce" style used elsewhere until
   they're wired up -- see SHOW_WHATSAPP_CALLBACK in build_site_v3.py. */
.desktop-contact-block { display: none; }
@media (min-width: 769px) {
  .desktop-contact-block {
    display: block; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px 18px; margin: 4px 0 24px;
  }
  .girl-card .desktop-contact-block {
    margin: 0; border: none; border-radius: 0; background: transparent;
    border-top: 1px solid var(--border); padding: 12px 14px 14px;
  }
  .cta-row { display: flex; align-items: flex-start; gap: 10px; }
  .cta-row + .cta-price { margin: 2px 0 0 27px; }
  .cta-price + .cta-row { margin-top: 12px; }
  .cta-icon { font-size: 17px; line-height: 1.3; flex: none; }
  .cta-label { font-size: 11.5px; color: var(--text-dim); font-weight: 600; margin-bottom: 1px; }
  .cta-value { font-size: 21px; font-weight: 800; color: #fff; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  /* the actual number/code to act on is the whole point of this block, so it
     gets a high-contrast yellow (not the brand pink, which reads closer to
     the dark surface behind it) and a noticeably larger size to really pop
     -- same treatment used by competitors for exactly this reason, and
     requested explicitly (twice) after earlier versions still read as
     blending into the rest of the card. */
  .cta-value .cta-num, .cta-ext { color: var(--highlight); font-weight: 800; }
  .cta-value .cta-num { font-size: 21px; }
  .cta-value .cta-ext { font-size: 17px; }
  .cta-subtext { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
  .cta-subtext .cta-ext { font-size: 17px; }
  .cta-price { font-size: 11px; color: var(--text-faint); margin-top: 2px; }
  .cta-extra { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
  .cta-extra-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 10px; border-radius: 999px; border: 2px solid var(--border);
    color: var(--text-faint); font-weight: 700; font-size: 12px;
  }
  .cta-extra-icon { font-size: 14px; }
  .cta-wa-icon { flex: none; display: block; }
  .cta-extra-btn .cta-soon {
    margin-left: 2px; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    color: var(--text-faint); background: var(--surface-2); border: 1px solid var(--border);
    padding: 2px 7px; border-radius: 999px; white-space: nowrap;
  }
  .cta-profile-link {
    display: block; text-align: center; margin-top: 12px; font-size: 12.5px;
    font-weight: 700; color: var(--accent); text-decoration: none;
  }
  .cta-profile-link:hover { color: #fff; }
  .girl-card .cta-label { font-size: 10.5px; }
  .girl-card .cta-value, .girl-card .cta-value .cta-num { font-size: 17px; }
  .girl-card .cta-value .cta-ext { font-size: 14px; }
  .girl-card .cta-subtext { font-size: 11.5px; }
  .girl-card .cta-subtext .cta-ext { font-size: 14px; }
  .girl-card .cta-price { font-size: 10px; }
  .girl-card .cta-extra-btn { font-size: 10.5px; padding: 7px 8px; }
  .girl-card .cta-profile-link { font-size: 11.5px; margin-top: 10px; }
}
.call-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; margin: 18px 0 24px;
}
.call-card .num { font-size: 22px; font-weight: 800; color: #fff; }
.call-card .ext { color: var(--accent); }
.call-btn-big {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 800;
  padding: 12px 22px; border-radius: 999px; font-size: 15.5px;
}
.call-price { color: var(--text-faint); font-size: 12.5px; margin-top: 8px; }
.bio p { color: #cfcfd8; }
@media (max-width: 768px) {
  /* the button reads as an isolated tap target on a phone screen when it's
     left-aligned under the number -- centering it under the price line makes
     it feel like the obvious next action */
  .profile-call-card { text-align: center; }
  .call-btn-big { animation: cta-pulse 2.4s ease-in-out infinite; }
}
@media (min-width: 769px) {
  /* desktop: nobody dials a premium-rate number from a browser, and the
     unified "Zadzwoń pod numer / Wyślij SMS" block below (.desktop-contact-
     block) replaces this card's job entirely -- so on desktop the whole
     call-card (number, price, former QR code) is hidden; mobile keeps it
     untouched, real call button included. */
  .profile-call-card { display: none; }
}

/* ---------- sticky mobile call bar ---------- */
/* fixed bottom CTA on mobile only (home + profile pages, via page()'s
   sticky_call flag) so a visitor can place the call at any scroll position
   without hunting back up for a button. Desktop never renders it.
   Styled as a floating, rounded bar with a bit of breathing room around it
   (not a hard edge-to-edge slab) and a soft top fade so it reads as an
   intentional floating element sitting above the page, not a UI glitch. */
.sticky-call-bar {
  display: none;
}
@media (max-width: 768px) {
  body.has-sticky-call { padding-bottom: 92px; }
  /* Hidden by default and faded in only once JS (STICKY_CALL_SCRIPT) adds
     .scb-visible to <body> -- happens once the in-page "Zadzwoń teraz"
     button has scrolled out of view, so the two never show at the same
     time. No-JS fallback: the script itself adds the class immediately if
     IntersectionObserver isn't available, so the bar just always shows. */
  .sticky-call-bar-fade,
  .sticky-call-bar {
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
  }
  body.scb-visible .sticky-call-bar-fade,
  body.scb-visible .sticky-call-bar {
    opacity: 1;
  }
  body.scb-visible .sticky-call-bar { pointer-events: auto; }
  .sticky-call-bar-fade {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 59;
    height: 110px;
    background: linear-gradient(to top, var(--bg) 40%, transparent);
  }
  .sticky-call-bar {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: var(--accent); color: #fff; text-decoration: none;
    font-weight: 800; font-size: 16px; padding: 15px 20px;
    margin-bottom: env(safe-area-inset-bottom);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06) inset;
  }
  .sticky-call-bar .scb-icon { display: inline-block; animation: scb-ring 2.6s ease-in-out infinite; }
}
@keyframes scb-ring {
  0%, 80%, 100% { transform: rotate(0); }
  85% { transform: rotate(-14deg); }
  90% { transform: rotate(11deg); }
  95% { transform: rotate(-6deg); }
}

/* ---------- content pages ---------- */
.content-page { max-width: 760px; }
.content-page h1 { margin-bottom: .6em; }
.content-page p { color: #cfcfd8; }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-of-type { border-top: none; padding-top: 8px; }
.faq-item h2 { font-size: 17px; margin-bottom: .4em; }
.faq-item p { color: #cfcfd8; margin: 0; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: block; text-decoration: none; transition: border-color .15s; }
.blog-card:hover { border-color: var(--accent); }
.blog-card h3 { font-size: 14.5px; margin-bottom: 6px; color: #fff; }
.blog-card p { font-size: 12.5px; color: var(--text-faint); margin: 0; }
.article-body { max-width: 760px; }
.article-body p { color: #cfcfd8; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 13px; text-decoration: none; color: var(--text-dim); }
.pagination a:hover { border-color: var(--accent); color: #fff; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- notice ---------- */
.notice {
  background: #2a1c10; border: 1px solid #4a3010; color: #f0c98a;
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13px; margin: 0 0 24px;
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 40px 20px 26px; margin-top: 20px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-dim); text-decoration: none; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid var(--border); padding-top: 18px; color: var(--text-faint); font-size: 11.5px; line-height: 1.7; }

/* ---------- breadcrumb ---------- */
.crumb { font-size: 12.5px; color: var(--text-faint); margin-bottom: 18px; }
.crumb a { color: var(--text-faint); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
