/* =========================================================================
   PDS Trans — Main stylesheet
   Extracted from Claude Design homepage + extensions for all pages.
   ========================================================================= */

:root {
  --bg: #14182E;
  --bg-2: #1C2340;
  --surface: #232B4D;
  --surface-2: #2A3358;
  --line: #2E3766;
  --blue: #1A2FBD;
  --blue-2: #3247E0;
  --orange: #F47B20;
  --orange-2: #FF8F3C;
  --text: #FFFFFF;
  --muted: #A8AEC9;
  --muted-2: #7C84A8;
  --success: #19c37d;
  --danger: #ef4646;
  --display: 'Barlow Condensed', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ---------- Promo Banner (sticky top) ---------- */
.promo-banner {
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-2) 100%);
  color: #fff;
  position: relative;
  z-index: 60;
  font-size: 14px;
  font-weight: 600;
}
.promo-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  transition: background 0.2s;
}
.promo-banner__inner:hover { background: rgba(0,0,0,0.06); }
.promo-banner__tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 800;
  background: rgba(0,0,0,0.18);
  padding: 3px 10px;
  border-radius: 999px;
}
.promo-banner__title { font-weight: 800; letter-spacing: 0.01em; }
.promo-banner__desc { color: rgba(255,255,255,0.92); font-weight: 500; }
.promo-banner__arrow { margin-left: auto; }
.promo-banner__arrow svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 24, 46, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.brand-text {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 22px;
  line-height: 1;
}
.brand-text .orange { color: var(--orange); }
.brand-text .small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.28em;
  font-weight: 600;
  margin-top: 4px;
  font-family: var(--body);
}
.menu { display: flex; align-items: center; gap: 36px; }
.menu a {
  font-size: 14px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.menu a:hover { color: var(--text); }
.menu a.active { color: var(--text); }
.menu a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -28px;
  height: 2px; background: var(--orange);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--orange-2); transform: translateY(-1px); }
.nav-cta svg { width: 16px; height: 16px; }
.nav-mobile-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-mobile-toggle span {
  width: 22px; height: 2px; background: #fff; border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 96px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 88% 30%, rgba(26, 47, 189, 0.45), transparent 60%),
    radial-gradient(600px 400px at 10% 80%, rgba(244, 123, 32, 0.14), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.banner-stage {
  position: relative;
  border-radius: 28px;
  overflow: visible;
  margin-bottom: 56px;
}
.banner-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.6);
  aspect-ratio: 820 / 360;
  background: #1A2FBD;
}
.banner-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.banner-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}

.hook-badge {
  position: absolute;
  top: -42px;
  right: -28px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow:
    0 0 0 8px rgba(244, 123, 32, 0.18),
    0 24px 60px -10px rgba(244, 123, 32, 0.55);
  z-index: 5;
  animation: wobble 5s ease-in-out infinite;
  border: 3px dashed rgba(255,255,255,0.35);
}
@keyframes wobble {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-6px); }
}
.hook-badge .inner { padding: 8px; }
.hook-badge .mid {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}
.hook-badge .sub-top {
  font-size: 10px;
  letter-spacing: 0.24em;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 2px;
}
.hook-badge .price {
  font-family: var(--display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  margin: 4px 0;
  letter-spacing: -0.02em;
}
.hook-badge .price sup {
  font-size: 22px;
  vertical-align: super;
  margin-left: 2px;
}

.hero-cta-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.hero-headline {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-headline h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-headline h1 .accent { color: var(--orange); }
.hero-headline p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
}
.phone-block {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #1A2FBD 0%, #1525a8 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  transition: transform 0.2s;
}
.phone-block:hover { transform: translateY(-2px); }
.phone-icon {
  width: 64px; height: 64px;
  background: var(--orange);
  border-radius: 16px;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 12px 30px -6px rgba(244, 123, 32, 0.6);
}
.phone-icon svg { width: 28px; height: 28px; stroke: #fff; }
.phone-info .lbl {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  font-weight: 700;
}
.phone-info .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  background: rgba(0,0,0,0.18);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  color: var(--muted);
  font-size: 14px;
}
.trust-item .check {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(244, 123, 32, 0.12);
  color: var(--orange);
  display: grid; place-items: center;
}
.trust-item .check svg { width: 16px; height: 16px; }
.trust-item strong { color: #fff; font-weight: 700; }

/* ---------- Section heads ---------- */
section { padding: 110px 0; }
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 56px; gap: 40px;
}
.sec-head .left { max-width: 640px; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sec-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--orange); }
h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
h2 .accent { color: var(--orange); }
.sec-head .right {
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, #161A33 100%); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.svc-card {
  background: var(--bg-2);
  padding: 36px 30px 32px;
  display: flex; flex-direction: column;
  min-height: 240px;
  position: relative;
  transition: background 0.25s;
}
.svc-card:hover { background: var(--surface); }
.svc-card.featured {
  background: linear-gradient(180deg, #1A2FBD 0%, #15259a 100%);
  grid-column: span 2;
}
.svc-card.featured:hover { background: linear-gradient(180deg, #1f37d6 0%, #182bb0 100%); }
.svc-card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(244, 123, 32, 0.12);
  color: var(--orange);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.svc-card.featured .ico { background: rgba(255,255,255,0.12); color: #fff; }
.svc-card .ico svg { width: 22px; height: 22px; }
.svc-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.1;
}
.svc-card.featured h3 { font-size: 30px; }
.svc-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.svc-card.featured p { color: rgba(255,255,255,0.78); font-size: 15px; max-width: 380px; }
.svc-card .more {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: 8px;
}
.svc-card.featured .more { color: #fff; }
.svc-card .more svg { width: 14px; height: 14px; transition: transform 0.25s; }
.svc-card:hover .more svg { transform: translateX(4px); }
.svc-card a.svc-link { color: inherit; display: flex; flex-direction: column; flex: 1; }
.svc-card .badge-247 {
  position: absolute; top: 24px; right: 24px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--orange);
  background: rgba(244, 123, 32, 0.12);
  padding: 6px 10px;
  border-radius: 999px;
}
.svc-card.featured .badge-247 { background: rgba(244, 123, 32, 1); color: #fff; }

/* ---------- Reviews carousel ---------- */
.reviews { background: var(--bg); position: relative; overflow: hidden; }
.reviews::before {
  content: '';
  position: absolute;
  right: -120px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26, 47, 189, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-rtl 60s linear infinite;
  padding: 8px 16px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Review screenshot card (image-based, button = clickable to open lightbox) */
.review-card-img {
  width: 320px;
  flex-shrink: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  position: relative;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.review-card-img:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -16px rgba(0, 0, 0, 0.6);
}
.review-card-img:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
.review-card-img img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.review-card-img__zoom {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 24, 46, 0.85);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}
.review-card-img__zoom svg { width: 16px; height: 16px; }
.review-card-img:hover .review-card-img__zoom,
.review-card-img:focus-visible .review-card-img__zoom {
  opacity: 1;
  transform: scale(1);
  background: var(--orange);
}

/* ============== Lightbox (image viewer) ============== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 10, 22, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  opacity: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: lbFade 0.22s ease forwards;
}
.lightbox.is-open { display: flex; opacity: 1; }
@keyframes lbFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox__inner {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  animation: lbPop 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes lbPop {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.lightbox__inner img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 40px 100px -10px rgba(0, 0, 0, 0.8);
}
.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.25s, color 0.2s;
}
.lightbox__close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}
.lightbox__close:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.lightbox__hint {
  position: absolute;
  bottom: -36px;
  left: 0; right: 0;
  text-align: center;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 640px) {
  .lightbox { padding: 60px 16px; }
  .lightbox__close { top: -50px; right: 4px; }
  .lightbox__hint  { display: none; }
}

/* Empty state for reviews carousel */
.reviews-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  margin: 0 32px;
}

/* Google reviews CTA button */
.google-reviews-cta {
  display: flex; justify-content: center;
  margin-top: 48px;
}
.google-reviews-cta a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  background: #fff; color: var(--bg);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.4);
}
.google-reviews-cta a:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -8px rgba(0,0,0,0.55); }
.google-reviews-cta svg { width: 22px; height: 22px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  padding: 56px 0;
  background: linear-gradient(90deg, #1A2FBD 0%, #2336D8 100%);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.04) 20px 22px);
  pointer-events: none;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative;
  flex-wrap: wrap;
}
.cta-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 720px;
}
.cta-text .accent { color: var(--orange); }
.cta-phone {
  display: inline-flex; align-items: center; gap: 18px;
  background: #fff;
  color: var(--bg);
  padding: 22px 32px;
  border-radius: 14px;
  transition: transform 0.2s;
}
.cta-phone:hover { transform: translateY(-2px); }
.cta-phone .ico {
  width: 48px; height: 48px;
  background: var(--orange);
  color: #fff;
  display: grid; place-items: center;
  border-radius: 12px;
}
.cta-phone .ico svg { width: 22px; height: 22px; }
.cta-phone .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.cta-phone .lbl {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 700;
}

/* ---------- Footer ---------- */
footer {
  background: #0E1226;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.ft-brand img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px; object-fit: cover; }
.ft-brand h4 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.ft-brand h4 .accent { color: var(--orange); }
.ft-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 320px; }
.ft-col h5 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 20px;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ft-col ul a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.ft-col ul a:hover { color: #fff; }
.ft-col .contact-row {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--muted); font-size: 14px;
  line-height: 1.5;
}
.ft-col .contact-row + .contact-row { margin-top: 16px; }
.ft-col .contact-row svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.ft-col .contact-row > div { flex: 1; min-width: 0; }
.ft-col .contact-row strong { color: #fff; font-weight: 700; display: block; margin-bottom: 2px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: grid; place-items: center;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.socials a:hover { background: var(--orange); color: #fff; }
.socials svg { width: 16px; height: 16px; }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted-2);
  font-size: 13px;
  flex-wrap: wrap; gap: 16px;
}
.ft-bottom a { color: var(--muted); transition: color 0.2s; }
.ft-bottom a:hover { color: #fff; }

/* =========================================================================
   Generic page chrome (used by all non-homepage public pages)
   ========================================================================= */
.page-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 88% 30%, rgba(26, 47, 189, 0.35), transparent 60%),
    radial-gradient(600px 400px at 10% 80%, rgba(244, 123, 32, 0.10), transparent 60%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-top: 14px;
}
.page-hero h1 .accent { color: var(--orange); }
.page-hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 720px;
}

.page-section { padding: 60px 0 96px; }
.page-section--alt { background: linear-gradient(180deg, var(--bg) 0%, #161A33 100%); }

/* =========================================================================
   Services index page (uslugi.php)
   ========================================================================= */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.services-list-grid .svc-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.services-list-grid .svc-card.featured {
  grid-column: span 2;
  background: linear-gradient(180deg, #1A2FBD 0%, #15259a 100%);
  border: 1px solid rgba(255,255,255,0.12);
}

/* =========================================================================
   Service single page (usluga.php)
   ========================================================================= */
.service-detail {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  margin-top: 24px;
}
.service-detail__content {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 44px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.service-detail__content h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: #fff;
  margin-bottom: 22px;
}
.service-detail__content p { margin-bottom: 18px; }
.service-detail__content ul { padding-left: 22px; margin-bottom: 18px; }
.service-detail__content li { margin-bottom: 8px; }
.service-detail__content strong { color: #fff; }

/* =========================================================================
   FAQ accordion (auto-built from <h3>?</h3><p>...</p> pairs in usluga.php)
   Matches the site dark theme: bg-2 surface, white text, orange accents.
   ========================================================================= */
.service-detail__content .faq-list {
  margin: 18px 0 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 6px 24px -10px rgba(0, 0, 0, 0.5);
}

.service-detail__content .faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.service-detail__content .faq-list .faq-item:last-child { border-bottom: 0; }

/* Strip the default browser triangle on every engine */
.service-detail__content .faq-item > summary { list-style: none; }
.service-detail__content .faq-item > summary::-webkit-details-marker { display: none; }
.service-detail__content .faq-item > summary::marker { display: none; content: ''; }

.service-detail__content .faq-item > summary {
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
  user-select: none;
  transition: background 0.2s, color 0.2s;
}
.service-detail__content .faq-item > summary:hover {
  background: rgba(244, 123, 32, 0.06);
  color: var(--orange);
}
.service-detail__content .faq-item > summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}
.service-detail__content .faq-item[open] > summary {
  color: var(--orange);
  background: rgba(244, 123, 32, 0.08);
}

/* Question text — flexes to consume remaining width */
.service-detail__content .faq-q {
  flex: 1 1 auto;
  min-width: 0;
}

/* Chevron — explicit box + explicit SVG size; SVG also has width/height attrs
   as a last-resort fallback if CSS hasn't loaded yet. */
.service-detail__content .faq-chev {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244, 123, 32, 0.14);
  color: var(--orange);
  transition: transform 0.3s ease, background 0.2s, color 0.2s;
  overflow: hidden;
}
.service-detail__content .faq-chev svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px;
  max-height: 14px;
  display: block;
  flex: none;
}
.service-detail__content .faq-item[open] .faq-chev {
  transform: rotate(180deg);
  background: var(--orange);
  color: #fff;
}

/* Answer body */
.service-detail__content .faq-answer {
  padding: 4px 20px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.18);
  animation: faqFadeIn 0.22s ease;
}
.service-detail__content .faq-answer p { margin: 0; }
.service-detail__content .faq-answer p + p { margin-top: 10px; }
.service-detail__content .faq-answer strong { color: #fff; }

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .service-detail__content .faq-item > summary { padding: 14px 16px; font-size: 14.5px; }
  .service-detail__content .faq-answer        { padding: 4px 16px 14px; font-size: 14px; }
  .service-detail__content .faq-chev          { flex-basis: 26px; width: 26px; height: 26px; }
}
.service-detail__aside {
  display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 110px; align-self: start;
}
.service-aside-card {
  background: linear-gradient(135deg, #1A2FBD 0%, #1525a8 100%);
  border-radius: 18px; padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
}
.service-aside-card h4 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.service-aside-card p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 16px; line-height: 1.55; }
.service-aside-card .btn-orange {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}
.service-aside-card .btn-orange:hover { background: var(--orange-2); }
.service-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.service-back-link:hover { color: #fff; }

/* =========================================================================
   Portfolio (realizacje.php)
   ========================================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.portfolio-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  transition: transform 0.3s, border-color 0.3s;
}
.portfolio-item:hover { transform: translateY(-3px); border-color: var(--orange); }
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-item .caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  padding: 30px 16px 14px;
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s;
}
.portfolio-item:hover .caption { opacity: 1; }
.portfolio-loading { padding: 30px; text-align: center; color: var(--muted); }
.portfolio-end { padding: 30px; text-align: center; color: var(--muted-2); font-size: 14px; }
.portfolio-empty { text-align: center; padding: 80px 20px; color: var(--muted); }

/* =========================================================================
   Promotions (promocje.php)
   ========================================================================= */
.promo-list { display: flex; flex-direction: column; gap: 24px; }
.promo-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.promo-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.promo-card.inactive { opacity: 0.55; }
.promo-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1A2FBD 0%, #15259a 100%);
}
.promo-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-card__body { padding: 28px 32px; display: flex; flex-direction: column; }
.promo-card__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 12px;
}
.promo-card__tag.expired { color: var(--muted-2); }
.promo-card__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin-bottom: 12px;
  color: #fff;
}
.promo-card__desc {
  color: var(--muted); font-size: 15px; line-height: 1.65;
  margin-bottom: 16px;
}
.promo-card__dates {
  font-size: 13px; color: var(--muted-2);
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: auto;
}
.promo-card__dates strong { color: #fff; font-weight: 700; }
.promo-empty { text-align: center; padding: 80px 20px; color: var(--muted); }

/* =========================================================================
   News (aktualnosci.php + aktualnosc.php)
   ========================================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.news-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.news-card__media {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1A2FBD 0%, #15259a 100%);
  overflow: hidden;
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__date {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); font-weight: 800;
  margin-bottom: 10px;
}
.news-card__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 10px;
  color: #fff;
}
.news-card__excerpt {
  color: var(--muted); font-size: 14px; line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.news-card__more {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange); font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}
.news-card__more svg { width: 14px; height: 14px; transition: transform 0.25s; }
.news-card:hover .news-card__more svg { transform: translateX(4px); }
.news-empty { text-align: center; padding: 80px 20px; color: var(--muted); }

.article {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px 52px;
}
.article__date {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); font-weight: 800;
  margin-bottom: 12px;
}
.article h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 48px);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: #fff;
  margin-bottom: 24px;
}
.article__cover {
  width: 100%; border-radius: 16px; overflow: hidden; margin-bottom: 28px;
}
.article__cover img { width: 100%; height: auto; display: block; }
.article__content {
  color: var(--muted); font-size: 16px; line-height: 1.8;
}
.article__content p { margin-bottom: 18px; }
.article__content h2, .article__content h3 {
  color: #fff; font-family: var(--display);
  text-transform: uppercase; margin: 28px 0 14px; line-height: 1.1;
}
.article__content h2 { font-size: 28px; }
.article__content h3 { font-size: 22px; }
.article__content ul { padding-left: 22px; margin-bottom: 18px; }
.article__content li { margin-bottom: 8px; }
.article__content strong { color: #fff; }
.article__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.article__gallery img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 12px;
}

/* =========================================================================
   Contact form (kontakt.php)
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px 44px;
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.form-row label .req { color: var(--orange); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { outline: none; border-color: var(--orange); background: rgba(244,123,32,0.04); }
.form-row textarea { min-height: 140px; resize: vertical; }

/* Dark dropdown popup — by default the OS renders <option> with white bg.
   Force readable dark colors for the open list. */
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8AEC9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  color-scheme: dark;
}
.form-row select option {
  background: #14182E;
  color: #fff;
}
.form-row select option:checked,
.form-row select option:hover {
  background: var(--orange);
  color: #fff;
}
.form-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-checkbox {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.form-checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--orange); }
.form-checkbox a { color: var(--orange); text-decoration: underline; }
.form-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange);
  color: #fff;
  border: 0;
  font-family: inherit; font-weight: 700;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.form-submit:hover { background: var(--orange-2); transform: translateY(-1px); }
.form-success {
  background: rgba(25,195,125,0.1);
  border: 1px solid rgba(25,195,125,0.5);
  color: #c4f3df;
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 22px;
}
.form-error {
  background: rgba(239,70,70,0.1);
  border: 1px solid rgba(239,70,70,0.5);
  color: #fbd6d6;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}
.contact-aside {
  display: flex; flex-direction: column; gap: 18px;
}
.contact-aside .card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
}
.contact-aside .card h4 {
  font-family: var(--display); font-weight: 800;
  font-size: 22px; text-transform: uppercase;
  margin-bottom: 14px;
}
.contact-aside .row {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--muted); font-size: 14px; line-height: 1.6;
  padding: 10px 0;
}
.contact-aside .row + .row { border-top: 1px solid rgba(255,255,255,0.05); }
.contact-aside .row svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.contact-aside strong { color: #fff; display: block; margin-bottom: 2px; }

/* =========================================================================
   Privacy policy (polityka-prywatnosci.php)
   ========================================================================= */
.legal {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px 52px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.legal h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 48px);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.05;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  margin: 28px 0 12px;
}
.legal p { margin-bottom: 16px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 6px; }

/* =========================================================================
   Admin panel
   ========================================================================= */
.admin-body {
  background: #0b0e1c;
  min-height: 100vh;
  font-family: var(--body);
  color: #fff;
}
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: #0E1226;
  border-right: 1px solid var(--line);
  padding: 28px 20px;
  display: flex; flex-direction: column; gap: 24px;
}
.admin-sidebar .brand {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.admin-sidebar .brand img { width: 40px; height: 40px; border-radius: 50%; }
.admin-sidebar .brand-text {
  font-family: var(--display); font-weight: 800; font-size: 18px;
  letter-spacing: 0.02em;
}
.admin-sidebar .brand-text .orange { color: var(--orange); }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.admin-sidebar nav a:hover { background: rgba(255,255,255,0.04); color: #fff; }
.admin-sidebar nav a.active { background: var(--orange); color: #fff; }
.admin-sidebar nav svg { width: 16px; height: 16px; }
.admin-sidebar .logout {
  margin-top: auto;
  font-size: 13px;
  color: var(--muted-2);
  padding: 10px 14px;
}
.admin-sidebar .logout:hover { color: var(--danger); }

.admin-main {
  padding: 28px 36px 60px;
  overflow-x: auto;
}
.admin-topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 26px;
}
.admin-topbar h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.admin-topbar .meta { color: var(--muted); font-size: 13px; }

.admin-flash {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 14px;
}
.admin-flash.success { background: rgba(25,195,125,0.12); border: 1px solid rgba(25,195,125,0.5); color: #c4f3df; }
.admin-flash.error   { background: rgba(239,70,70,0.12); border: 1px solid rgba(239,70,70,0.5); color: #fbd6d6; }

.admin-card {
  background: #14182E;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 22px;
}
.admin-card h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.1;
}

.admin-form .form-row { margin-bottom: 14px; }
.admin-form label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 6px; display: block;
}
.admin-form input[type=text],
.admin-form input[type=password],
.admin-form input[type=date],
.admin-form input[type=number],
.admin-form input[type=email],
.admin-form input[type=url],
.admin-form select,
.admin-form textarea {
  width: 100%;
  background: #0b0e1c;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
}
.admin-form input[type=file] {
  width: 100%;
  background: #0b0e1c;
  color: #fff;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.admin-form textarea { min-height: 140px; resize: vertical; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
  outline: none; border-color: var(--orange);
}
.admin-form .checkbox-row {
  display: flex; gap: 10px; align-items: center;
  font-size: 14px; color: var(--muted); margin: 6px 0;
}
.admin-form .checkbox-row input { accent-color: var(--orange); width: 16px; height: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange);
  color: #fff;
  border: 0;
  font-family: inherit; font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn:hover { background: var(--orange-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.btn--ghost:hover { background: rgba(255,255,255,0.04); color: #fff; }
.btn--danger { background: var(--danger); }
.btn--danger:hover { background: #d63a3a; }
.btn--sm { padding: 7px 12px; font-size: 12px; }

.admin-list {
  display: flex; flex-direction: column; gap: 12px;
  max-height: 70vh; overflow-y: auto;
  padding-right: 6px;
}
.admin-list::-webkit-scrollbar { width: 8px; }
.admin-list::-webkit-scrollbar-track { background: transparent; }
.admin-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.admin-item {
  background: #0b0e1c;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.admin-item__thumb {
  width: 80px; height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #14182E;
  flex-shrink: 0;
}
.admin-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-item__body { min-width: 0; }
.admin-item__title { font-weight: 700; color: #fff; font-size: 14px; margin-bottom: 4px; }
.admin-item__meta { color: var(--muted); font-size: 12px; }
.admin-item__actions {
  display: flex; gap: 6px; align-items: center;
  flex-wrap: nowrap;
}
.admin-order {
  width: 64px;
  background: #0b0e1c;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 13px;
}
.admin-iconbtn {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.admin-iconbtn svg { width: 14px; height: 14px; }
.admin-iconbtn:hover { color: #fff; background: rgba(255,255,255,0.04); }
.admin-iconbtn--danger:hover { color: #fff; background: var(--danger); border-color: var(--danger); }

/* Login screen */
.login-screen {
  display: grid; place-items: center;
  min-height: 100vh;
  padding: 30px;
  background: radial-gradient(800px 500px at 50% 30%, rgba(26, 47, 189, 0.35), transparent 60%), #0b0e1c;
}
.login-box {
  width: 100%; max-width: 420px;
  background: #14182E;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 36px 30px;
}
.login-box .brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.login-box .brand img { width: 44px; height: 44px; border-radius: 50%; }
.login-box .brand-text {
  font-family: var(--display); font-weight: 800; font-size: 20px;
  letter-spacing: 0.02em;
}
.login-box .brand-text .orange { color: var(--orange); }
.login-box h1 {
  font-family: var(--display); font-weight: 800;
  font-size: 28px; text-transform: uppercase;
  margin-bottom: 6px;
}
.login-box .hint { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.login-box .btn { width: 100%; justify-content: center; padding: 14px 20px; margin-top: 6px; }

/* Messages (contact inbox) */
.msg-item {
  background: #0b0e1c;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.msg-item.unread { border-color: var(--orange); }
.msg-item__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.msg-item__head h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 18px;
}
.msg-item__date { color: var(--muted-2); font-size: 12px; }
.msg-item__meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.msg-item__meta strong { color: #fff; }
.msg-item__body { color: var(--muted); font-size: 14px; line-height: 1.65; white-space: pre-line; }
.msg-actions { display: flex; gap: 8px; margin-top: 12px; }
.msg-badge {
  display: inline-block; font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--orange); color: #fff;
  padding: 3px 8px; border-radius: 999px;
  margin-left: 8px;
}

/* Dashboard tiles */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.dash-tile {
  background: #14182E;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.dash-tile .lbl { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.dash-tile .num {
  font-family: var(--display); font-weight: 800;
  font-size: 36px; line-height: 1; margin-top: 8px;
}
.dash-tile.alert { border-color: var(--orange); }
.dash-tile.alert .num { color: var(--orange); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
  .services-list-grid { grid-template-columns: repeat(2, 1fr); }
  .services-list-grid .svc-card.featured { grid-column: span 2; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero-cta-row { grid-template-columns: 1fr; }
  .hook-badge { width: 160px; height: 160px; top: -30px; right: -10px; }
  .hook-badge .price { font-size: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card.featured { grid-column: span 2; }
  .review-card-img { width: 280px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .menu { display: none; position: absolute; top: 84px; left: 0; right: 0;
          background: rgba(20, 24, 46, 0.97); padding: 18px 32px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .menu.open { display: flex; }
  .menu a.active::after { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-cta { display: none; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail__aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { flex-direction: row; padding: 14px 20px; overflow-x: auto; }
  .admin-sidebar .brand { padding-bottom: 0; border-bottom: 0; border-right: 1px solid var(--line); padding-right: 14px; margin-right: 6px; }
  .admin-sidebar nav { flex-direction: row; flex: 1; }
  .admin-sidebar .logout { margin-top: 0; margin-left: auto; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-card { grid-template-columns: 1fr; }
  .promo-card__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card.featured { grid-column: span 1; }
  .review-card-img { width: 240px; }
  .trust-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .hook-badge { width: 130px; height: 130px; top: -20px; right: -8px; }
  .hook-badge .price { font-size: 36px; }
  .hook-badge .mid { font-size: 13px; }
  .hero-headline { padding: 28px; }
  .services-list-grid { grid-template-columns: 1fr; }
  .services-list-grid .svc-card.featured { grid-column: span 1; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .form-cols-2 { grid-template-columns: 1fr; }
  .contact-form, .service-detail__content, .article, .legal { padding: 28px; }
  .admin-main { padding: 18px 18px 50px; }
  .admin-item { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   Tweaks: clickable contact rows + homepage "all services" CTA
   ========================================================================= */
.ft-col .contact-row.contact-row--link,
.contact-aside .row.row--link {
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.ft-col .contact-row.contact-row--link:hover { color: #fff; }
.ft-col .contact-row.contact-row--link:hover strong { color: var(--orange); }
.contact-aside .row.row--link:hover strong { color: var(--orange); }
.contact-aside .row.row--link:hover svg { transform: translateX(2px); }
.contact-aside .row.row--link svg { transition: transform 0.2s; }

.services-all-cta {
  display: flex; justify-content: center;
  margin-top: 40px;
}
.btn-all-services {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  background: transparent;
  color: #fff;
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-all-services:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(244, 123, 32, 0.5);
}
.btn-all-services svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn-all-services:hover svg { transform: translateX(4px); }

/* Homepage services grid: row 2 layout is [short1] [more-tile spans 2] [short2].
   DOM order is featured · featured · short1 · more-tile · short2, so grid
   auto-flow places everything correctly once the tile spans 2 cols. */
@media (min-width: 1025px) {
  .services .services-grid > .svc-more-tile { grid-column: span 2; }
}

/* "I wiele innych" tile — visually softer than a real service card so it
   reads as a secondary CTA, not pushy. */
.svc-more-tile {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(244, 123, 32, 0.03) 14px 16px),
    var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  transition: background 0.25s, transform 0.25s;
}
.svc-more-tile::before {
  content: '';
  position: absolute; inset: 16px;
  border: 1.5px dashed rgba(244, 123, 32, 0.35);
  border-radius: 14px;
  pointer-events: none;
  transition: border-color 0.25s;
}
.svc-more-tile:hover { background: var(--bg-2); transform: translateY(-2px); }
.svc-more-tile:hover::before { border-color: var(--orange); }
.svc-more-tile__inner {
  position: relative; z-index: 1;
  max-width: 320px;
  padding: 8px 24px;
}
.svc-more-tile__plus {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(244, 123, 32, 0.12);
  color: var(--orange);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  transition: transform 0.3s, background 0.25s;
}
.svc-more-tile__plus svg { width: 26px; height: 26px; }
.svc-more-tile:hover .svc-more-tile__plus { background: var(--orange); color: #fff; transform: rotate(90deg); }
.svc-more-tile h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: #fff;
}
.svc-more-tile p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.svc-more-tile .more {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  justify-content: center;
}
.svc-more-tile .more svg { width: 14px; height: 14px; transition: transform 0.25s; }
.svc-more-tile:hover .more svg { transform: translateX(4px); }

/* Below 1025px the grid is 2 columns and the more-tile just flows naturally;
   make it span the full row width so it never sits awkwardly on one side. */
@media (max-width: 1024px) {
  .services .services-grid > .svc-more-tile { grid-column: 1 / -1; min-height: 220px; }
}

/* =========================================================================
   Subtle scroll-reveal + micro-interactions
   Auto-applied by main.js (IntersectionObserver). Respects reduced motion.
   ========================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* When grid items get a stagger delay, keep the lift but cut transition-delay
   for already-visible content (e.g. server-rendered first paint) */
.no-js [data-reveal],
[data-reveal][style*="transition-delay"]:not(.is-visible) { /* no-op anchor */ }

/* Micro-lift on primary clickable surfaces (CTA buttons + service cards).
   Only nudges 1-2px - business-grade, not bouncy. */
.nav-cta, .btn, .form-submit, .cta-phone, .phone-block, .google-reviews-cta a {
  transition: transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
              background 0.2s ease,
              box-shadow 0.25s ease;
}
.nav-cta:active, .btn:active, .form-submit:active,
.cta-phone:active, .phone-block:active, .google-reviews-cta a:active {
  transform: translateY(0) scale(0.985);
}

/* Soft pulse on the eyebrow orange dot - calls the eye to the hero line. */
.eyebrow .dot {
  position: relative;
}
.eyebrow .dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.55;
  transform: scale(1);
  animation: dotPulse 2.4s ease-out infinite;
}
@keyframes dotPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(2.6); opacity: 0;    }
  100% { transform: scale(2.6); opacity: 0;    }
}

/* Subtle gradient drift on the CTA strip's diagonal stripes - feels alive. */
.cta-strip::before {
  background-size: 200% 200%;
  animation: stripDrift 18s linear infinite;
}
@keyframes stripDrift {
  from { background-position: 0% 0%; }
  to   { background-position: 100% 100%; }
}

/* Accessibility: kill all of the above for users who asked for less motion. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .eyebrow .dot::after { animation: none; opacity: 0; }
  .cta-strip::before   { animation: none; }
  .hook-badge          { animation: none; }
  .marquee-track       { animation: none; }
}
