@import url('tokens.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: var(--sp-9) 0; }
@media (max-width: 720px) { section { padding: var(--sp-7) 0; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-default), box-shadow var(--dur-base) var(--ease-default);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blitz-gradient); color: #fff; box-shadow: var(--shadow-lg); }
.btn-invert { background: #fff; color: var(--fg-accent); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--fg-1); border: 1.5px solid var(--blitz-line); }
.btn-ghost:hover { border-color: var(--fg-accent); color: var(--fg-accent); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--blitz-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header .logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: var(--fw-semibold); font-size: 14.5px; color: var(--fg-2); position: relative; padding: 6px 0; }
.nav a:hover, .nav a.active { color: var(--fg-accent); }
.nav-phone { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 15px; color: var(--fg-1); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-social { display: flex; align-items: center; gap: 8px; }
.header-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-2); color: var(--fg-2);
  transition: background .15s ease, color .15s ease;
}
.header-social a:hover { background: var(--blitz-gradient); color: #fff; }
.header-social svg { width: 16px; height: 16px; fill: currentColor; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--fg-1); margin: 5px 0; }
@media (max-width: 900px) {
  .nav { position: fixed; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start;
         padding: 24px; gap: 18px; border-bottom: 1px solid var(--blitz-line); transform: translateY(-150%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  .nav.open { transform: translateY(0); }
  .burger { display: block; }
  .nav-phone { display: none; }
  .header-social { gap: 6px; }
  .header-social a { width: 28px; height: 28px; }
}

/* breadcrumbs */
.breadcrumbs { padding: 18px 0 0; font-size: 13px; color: var(--fg-3); }
.breadcrumbs a:hover { color: var(--fg-accent); }

/* ---- Hero ---- */
.hero { background: var(--blitz-gradient); position: relative; overflow: hidden; padding: var(--sp-9) 0; }
.hero .wrap { display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap; }
.hero-text { flex: 1 1 420px; color: #fff; }
.hero-eyebrow { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.hero-title { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; text-transform: uppercase; letter-spacing: -0.01em; }
.hero-title .kw { display: block; }
.hero-lead { margin-top: 22px; font-size: 18px; font-weight: 500; color: rgba(255,255,255,0.92); max-width: 480px; line-height: 1.55; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure { flex: 1 1 340px; display: flex; justify-content: center; }
.hero-figure .bubble-photo { width: 100%; max-width: 520px; aspect-ratio: 16/9; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); border: 6px solid rgba(255,255,255,0.35); }
.hero-figure img, .hero-figure video { width: 100%; height: 100%; object-fit: cover; }
.hero-stats { display: flex; gap: var(--sp-7); margin-top: var(--sp-8); flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 34px; color: #fff; }
.hero-stats .lbl { font-size: 13px; color: rgba(255,255,255,0.85); margin-top: 2px; }

/* small hero for inner pages */
.page-hero { background: var(--blitz-gradient); padding: 56px 0 64px; }
.page-hero .wrap { }
.page-hero h1 { font-family: var(--font-display); font-weight: 900; font-style: italic; color: #fff; text-transform: uppercase; font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -0.01em; }
.page-hero p { color: rgba(255,255,255,0.9); margin-top: 12px; max-width: 640px; font-size: 16px; }

/* ---- Section headings ---- */
.section-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: var(--sp-6); flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.01em; }
.section-head .rule { flex: 1; height: 1px; background: var(--blitz-line); min-width: 40px; }
.section-head .see-all { font-weight: var(--fw-bold); font-size: 14px; color: var(--fg-accent); white-space: nowrap; }
.section-sub { color: var(--fg-3); font-size: 15.5px; margin-top: -12px; margin-bottom: var(--sp-6); max-width: 620px; }

/* ---- Services grid (category cards) ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--bg-2); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--dur-base), transform var(--dur-base);
  display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card .thumb { aspect-ratio: 16/11; overflow: hidden; background: var(--blitz-orange-100); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: -0.005em; margin-bottom: 8px; }
.service-card .count { color: var(--fg-3); font-size: 13.5px; margin-bottom: 14px; }
.service-card .go { margin-top: auto; font-weight: var(--fw-bold); font-size: 13.5px; color: var(--fg-accent); display: inline-flex; align-items: center; gap: 6px; }

/* ---- Product grid (inside category page) ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #fff; border: 1px solid var(--blitz-line); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow var(--dur-base), transform var(--dur-base);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card .thumb { aspect-ratio: 1/1; background: var(--blitz-orange-50); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.product-card h4 { font-size: 14.5px; font-weight: var(--fw-semibold); line-height: 1.3; margin-bottom: 6px; min-height: 38px; }
.product-card .desc { font-size: 12.5px; color: var(--fg-3); line-height: 1.45; margin-bottom: 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .meta-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-card .price { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 17px; color: var(--fg-accent); cursor: pointer; }
.product-card .price:hover { text-decoration: underline; }
.product-card .qty { font-size: 11px; color: var(--fg-4, var(--blitz-ink-4)); text-align: right; }
.product-card .thumb, .product-card h4 { cursor: pointer; }
.product-card h4:hover { color: var(--fg-accent); }

/* ---- Radio catalog: grouped by city ---- */
.radio-city-block { margin-bottom: 48px; }
.radio-city-block:last-child { margin-bottom: 0; }
.radio-city-title {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 20px;
  text-transform: uppercase; letter-spacing: -0.005em; color: #fff;
  background: var(--blitz-gradient);
  margin: 0 0 20px; padding: 14px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.radio-city-count {
  font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 12.5px;
  text-transform: none; letter-spacing: normal; color: #fff;
  background: rgba(255,255,255,0.22);
  padding: 4px 12px; border-radius: var(--radius-pill); margin-left: auto;
}
/* Every station image in this catalog is a logo/branded mark, not a free-crop photo —
   always show it in full on a light matte instead of cover-cropping it. */
.radio-city-block .product-card .thumb img { object-fit: contain; padding: 16px; background: #fff; }

/* ---- Radio order form: hidden until requested, closable once open ---- */
#radio-order-section[hidden] { display: none; }
.radio-order-close {
  display: block; margin: 0 auto 8px; background: none; border: none; cursor: pointer;
  font-size: 13px; color: var(--fg-3); text-align: right; width: 100%; max-width: 600px;
}
.radio-order-close:hover { color: var(--fg-accent); }

/* ---- Radio station detail modal ---- */
.radio-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.radio-modal[hidden] { display: none; }
.radio-modal-backdrop { position: absolute; inset: 0; background: rgba(20,15,10,0.55); }
.radio-modal-box {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 28px;
  max-width: 420px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.radio-modal-close {
  position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 26px;
  line-height: 1; color: var(--fg-3); cursor: pointer;
}
.radio-modal-thumb { aspect-ratio: 1/1; max-width: 180px; margin: 0 auto 16px; border-radius: var(--radius-md); overflow: hidden; background: var(--blitz-orange-50); }
.radio-modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
#radio-modal-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-align: center; margin-bottom: 10px; }
.radio-modal-desc { font-size: 14px; color: var(--fg-3); line-height: 1.5; text-align: center; margin-bottom: 14px; }
.radio-modal-meta { display: flex; align-items: center; justify-content: center; gap: 14px; }
.radio-modal-price { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 20px; color: var(--fg-accent); }
.radio-modal-qty { font-size: 12.5px; color: var(--fg-3); }

/* ---- Radio order form: selected-station banner ---- */
.radio-selection-banner {
  background: var(--blitz-orange-50); border: 1.5px solid var(--fg-accent); border-radius: var(--radius-md);
  padding: 16px 20px; max-width: 600px; margin: 24px auto 0; text-align: center;
}
.radio-selection-banner > div { font-size: 15px; margin-bottom: 10px; }
.radio-selection-hint { font-size: 12.5px; color: var(--fg-3); margin-top: 8px; }

/* ---- Category filter pills ---- */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--sp-6); }
.cat-pills a { font-size: 13.5px; font-weight: var(--fw-semibold); padding: 9px 18px; border-radius: var(--radius-pill); background: var(--bg-2); color: var(--fg-2); border: 1px solid var(--blitz-line); }
.cat-pills a:hover, .cat-pills a.active { background: var(--blitz-gradient); color: #fff; border-color: transparent; }

/* ---- Promo / akcii cards ---- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .promo-grid { grid-template-columns: 1fr; } }
.promo-card { border-radius: var(--radius-lg); padding: 26px; background: var(--bg-2); border: 1px solid var(--blitz-line); position: relative; }
.promo-card .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--blitz-gradient); padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.promo-card h4 { font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.3; margin-bottom: 10px; }
.promo-card p { font-size: 13.5px; color: var(--fg-3); line-height: 1.5; margin-bottom: 16px; min-height: 40px;}
.promo-card .price { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 24px; color: var(--fg-1); }
.promo-card .price small { font-size: 13px; font-weight: 600; color: var(--fg-3); font-style: normal; margin-left: 4px;}

/* ---- Radio partner grid ---- */
.radio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .radio-grid { grid-template-columns: repeat(2, 1fr); } }
.radio-card { background: #fff; border: 1px solid var(--blitz-line); border-radius: var(--radius-md); padding: 18px; text-align: center; }
.radio-card .logo-wrap { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 12px; background: #fff; padding: 10px; }
.radio-card .logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.radio-card h5 { font-family: var(--font-display); font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.radio-card p { font-size: 12px; color: var(--fg-3); line-height: 1.4; }
.radio-freqs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.freq-chip { display: inline-block; font-size: 11px; line-height: 1.3; padding: 5px 9px; border-radius: 999px; background: var(--blitz-orange-50); color: var(--fg-accent); text-decoration: none; transition: background .15s ease, color .15s ease; }
a.freq-chip:hover { background: var(--fg-accent); color: #fff; }
.freq-chip--pending { background: var(--bg-2); color: var(--fg-3); }
a.freq-chip--pending:hover { background: var(--blitz-line); color: var(--fg-3); }
span.freq-chip--pending { cursor: default; }

/* ---- Poradu list ---- */
.poradu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .poradu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .poradu-grid { grid-template-columns: 1fr; } }
.poradu-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; transition: transform .15s ease, box-shadow .15s ease; }
.poradu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* Polaroid-style: square photo (4:4) + slim caption band (4:1) = 4:5 overall */
.poradu-card .thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--blitz-orange-50); }
.poradu-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.poradu-card .body { aspect-ratio: 4/1; padding: 10px 16px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.poradu-card h4 { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Why-us strip ---- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-item .n { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 30px; color: var(--fg-accent); margin-bottom: 8px; }
.why-item h4 { font-size: 15.5px; font-weight: var(--fw-bold); margin-bottom: 6px; }
.why-item p { font-size: 13.5px; color: var(--fg-3); line-height: 1.5; }

/* ---- CTA band ---- */
.cta-band { background: var(--blitz-gradient); border-radius: var(--radius-xl); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h3 { font-family: var(--font-display); font-weight: 900; font-style: italic; color: #fff; text-transform: uppercase; font-size: clamp(22px,3vw,32px); max-width: 480px; line-height: 1.2; }
.cta-band .btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer { background: var(--fm-black); color: #fff; padding: var(--sp-8) 0 var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: var(--sp-7); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blitz-orange-400); margin-bottom: 16px; }
.footer-grid a, .footer-grid p { display: block; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 10px; line-height: 1.5; }
.footer-grid a:hover { color: #fff; }
.footer-logo img { height: 40px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,0.5); }

/* ---- Sticky mobile call bar ---- */
.mobile-call { display: none; }
@media (max-width: 720px) {
  .mobile-call { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: var(--blitz-gradient); padding: 14px 20px; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 800; color: #fff; text-transform: uppercase; font-size: 14px; box-shadow: 0 -4px 16px rgba(0,0,0,0.15); }
  body { padding-bottom: 58px; }
}

.badge-moon { color: var(--fg-accent); margin-right: 6px; }


/* ---- Uspacy embedded form override ---- */
#uspacy-forms {
  max-width: 480px !important;
  margin: 0 auto !important;
}
#uspacy-forms .MuiButton-containedPrimary,
#uspacy-forms button[type="submit"] {
  background: var(--blitz-gradient) !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  text-transform: none !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
}
#uspacy-forms .MuiOutlinedInput-root,
#uspacy-forms .MuiInputBase-root {
  border-radius: var(--radius-md) !important;
}
#uspacy-forms .Mui-focused .MuiOutlinedInput-notchedOutline,
#uspacy-forms .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: var(--fg-accent) !important;
}
#uspacy-forms .MuiCheckbox-root.Mui-checked {
  color: var(--fg-accent) !important;
}
#uspacy-forms a {
  color: var(--fg-accent) !important;
}
.cta-band #uspacy-forms,
#radio-order-form-mount #uspacy-forms,
#contact-form-target #uspacy-forms {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
