/*
Theme Name: astartcode
Theme URI: astarcode.pl
Author: Astartcode
Author URI: astarcode.pl
Description: Profesjonalny motyw usługowy (strony WWW, landing page, WP).
Version: 1.0.0
Text Domain: astartcode
*/

:root {
  --bg: #070c1a;
  --bg-soft: #0d152b;
  --text: #edf2ff;
  --text-muted: #a8b3cf;
  --text-soft: #8592b4;
  --accent: #6e77ff;
  --accent-strong: #8b5cf6;
  --glass-bg: rgba(13, 21, 43, 0.56);
  --glass-border: rgba(180, 197, 239, 0.26);
  --border: rgba(180, 197, 239, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 44px rgba(3, 8, 22, 0.42);
  --shadow-soft: 0 8px 26px rgba(3, 8, 22, 0.28);
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 2.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --container: 1350px;
  --h1: clamp(2rem, 4.6vw, 3.5rem);
  --h2: clamp(1.6rem, 3.2vw, 3.4rem);
  --h3: clamp(1.08rem, 2.1vw, 1.3rem);
  --body: 1rem;
  --caption: 0.9rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(880px 520px at 10% -5%, rgba(110, 119, 255, 0.2), transparent 62%),
    radial-gradient(720px 480px at 90% 0%, rgba(139, 92, 246, 0.18), transparent 70%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent 22%);
  opacity: 0.35;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
p { margin: 0; color: var(--text-muted); }
h1, h2, h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.2;
}

h3{
  font-size: 20px;
  line-height: 28px;
}

.container {
  width: min(var(--container), 100% - 1.5rem);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  background: #000;
  border-radius: var(--radius-sm);
  padding: .65rem .8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 12, 26, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(180, 197, 239, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  min-height: 40px;
}
.wordmark {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav a {
  color: var(--text-muted);
  padding: 0.62rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(180, 197, 239, 0.1);
}
.nav .cta {
  margin-left: .3rem;
      background: radial-gradient(120% 120% at 20% 10%, rgba(255, 255, 255, 0.22), transparent 52%), linear-gradient(135deg, rgba(110, 119, 255, 1), rgba(139, 92, 246, 1));
  color: #fff;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s;
  font-weight: 600;
}
.nav .cta:hover{
  
   background: radial-gradient(120% 120% at 20% 10%, rgba(255, 255, 255, 0.22), transparent 52%), linear-gradient(135deg, rgba(110, 119, 255, 1), rgba(139, 92, 246, 1));
  color: #fff;
  border: 1px solid transparent;
  filter: saturate(1.05) brightness(1.04);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(139, 92, 246, 0.45),
    0 0 26px rgba(110, 119, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(180, 197, 239, 0.08);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: .6rem .8rem;
}

.section {
  padding: var(--space-6) 0;
}
.section-divider {
  position: relative;
}
.section-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 197, 239, 0.28), transparent);
}

.section-separator {
  margin: 0;
  padding: 0;
}

.section-separator-line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(139, 92, 246, 0.88) 0%,
    rgba(83, 179, 255, 0.88) 26%,
    rgba(245, 250, 255, 0.96) 50%,
    rgba(83, 179, 255, 0.88) 74%,
    rgba(139, 92, 246, 0.88) 100%
  );
}

.eyebrow {
  margin-bottom: 10px;
}
.glass-card p{
  font-size: 18px;
  line-height: 28px;
}
.glass-card{
  position: relative;
  border: 1px solid transparent; 
  border-radius: 16px;
  box-shadow:
    0 18px 30px -10px rgba(0, 0, 0, 0.55),      /* normalna głębia */
    0 25px 40px -15px rgba(139, 92, 246, 0.22); /* delikatny fiolet */

      background:
    linear-gradient(
      135deg,
      rgba(83, 179, 255, 0.08) 0%,
      rgba(110, 119, 255, 0.06) 35%,
      rgba(139, 92, 246, 0.08) 70%,
      rgba(236, 72, 153, 0.06) 100%
    ),
    linear-gradient(
      160deg,
      rgba(11, 18, 37, 0.92),
      rgba(7, 12, 27, 0.95)
    );
  
}


.glass-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;               
  pointer-events: none;

  background: linear-gradient(
    135deg,
    rgba(161, 233, 255, 0.95),
    rgba(110, 119, 255, 0.85),
    rgba(139, 92, 246, 0.85),
    rgba(161, 233, 255, 0.55)
  );


  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0.9;
}


/* .glass-card:hover::before, */
.glass-card:focus-within::before{
  opacity: 1;
  filter: saturate(1.1);
}

.hero { 
  padding-top: calc(var(--space-6) + .5rem);
  margin-bottom: 50px;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background-image:
    linear-gradient(90deg, rgba(7, 12, 26, 0.95) 0%, rgba(7, 12, 26, 0.75) 36%, rgba(7, 12, 26, 0.35) 58%, rgba(7, 12, 26, 0.12) 72%, rgba(7, 12, 26, 0.65) 100%),
    var(--hero-bg-image, url('/wp-content/uploads/2026/02/hero.png'));
  background-size: cover;
  background-position: center right;
  min-height: clamp(410px, 55vw, 560px);
  box-shadow: var(--shadow);
}


.hero-small .hero-layout{
  min-height: initial;
}


.hero-copy {
  padding: clamp(1.2rem, 2.2vw, 2rem);
  position: relative;
  /* overflow: hidden; */
  max-width: min(800px, 100%);
  z-index: 1;
}
.hero-copy {
  background: linear-gradient(
    90deg,
    rgba(13, 21, 43, 0.78) 0%,
    rgba(13, 21, 43, 0.64) 56%,
    rgba(13, 21, 43, 0.32) 82%,
    rgba(13, 21, 43, 0) 100%
  );
  border-right-color: transparent;
}
.hero-copy::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: -120px;
  right: -90px;
  background: radial-gradient(circle, rgba(110, 119, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  margin-top: var(--space-3);
  font-size: var(--h1);
  letter-spacing: -0.02em;
  max-width: 21ch;
}
.hero-lead {
  margin-top: var(--space-3);
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-actions {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.btn-primary {
  border-color: rgba(170, 170, 255, 0.25);
  color: #fff;

  background:
    radial-gradient(120% 120% at 20% 10%, rgba(255, 255, 255, 0.22), transparent 52%),
    linear-gradient(135deg, rgba(110, 119, 255, 1), rgba(139, 92, 246, 1));

  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(139, 92, 246, 0.35),
    0 0 18px rgba(110, 119, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover{
  filter: saturate(1.05) brightness(1.04);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(139, 92, 246, 0.45),
    0 0 26px rgba(110, 119, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-secondary {
  background: rgba(180, 197, 239, 0.08);
  transition: all 0.2s;
}
.btn-secondary:hover{
    background: rgba(180, 197, 239, 0.05);
}
.hero-badges {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: #cfd8ff;
    background: linear-gradient(135deg, rgba(83, 179, 255, 0.10), rgba(139, 92, 246, 0.10)), linear-gradient(180deg, rgba(20, 28, 55, 0.95), rgba(12, 18, 38, 0.95));
    border: 1px solid rgba(161, 190, 255, 0.35);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.how-it-works h2,
.section h2 {
  font-size: var(--h2);
}

.how-it-works-intro {
  
}

.how-it-works-grid {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.process-step {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 210px;
}
.header-top-process-step{
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: #cfd8ff;

  background:
    linear-gradient(
      135deg,
      rgba(83, 179, 255, 0.10),
      rgba(139, 92, 246, 0.10)
    ),
    linear-gradient(
      180deg,
      rgba(20, 28, 55, 0.95),
      rgba(12, 18, 38, 0.95)
    );

  border: 1px solid rgba(161, 190, 255, 0.35);

  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}
.step-number {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: .05em;
  color: #fff;

  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(180, 200, 255, 0.9) 0%,
      rgba(110, 119, 255, 0.9) 40%,
      rgba(79, 70, 229, 0.95) 70%,
      rgba(49, 46, 129, 1) 100%
    );
box-shadow:
  0 4px 10px rgba(0, 0, 0, 0.35),   /* miękki cień pod spodem */
  0 0 12px rgba(110, 119, 255, 0.4); /* lekki niebieski glow */
  /* border: 1px solid rgba(180, 197, 255, 0.6); */
}

.lead {
  margin-top: var(--space-2);
  font-size: 20px;
  font-weight: 400;

}

.grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.proof-item,
.service-card,
.portfolio-card,
.process-grid article,
.collaboration-grid article {
  padding: var(--space-4);
}
.proof-item strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: .35rem;
}
.proof-item span,
.result,
.portfolio-label {
  color: var(--text-soft);
  font-size: var(--caption);
}

.services-grid,
.portfolio-grid { align-items: stretch; }
.service-card,
.portfolio-card { display: grid; gap: var(--space-2); min-height: 210px; }

.services-showcase {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.service-showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: var(--space-3);
  align-items: center;
}

.service-showcase-content {
  display: grid;
  gap: var(--space-2);
  align-content: center;
      padding: var(--space-4);
}

.service-number {
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--text-soft);
  font-weight: 700;
}

.service-showcase-content h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.service-showcase-media img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(170, 188, 241, 0.25);
  display: block;
}
.icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: .7rem;
  border: 1px solid var(--glass-border);
  background: rgba(110, 119, 255, 0.2);
  color: #dce2ff;
}
.portfolio-label {
  text-transform: uppercase;
  letter-spacing: .06em;
}

.process-grid h3,
.service-card h3,
.portfolio-card h3,
.collaboration-grid h3 {
  font-size: var(--h3);
}

.faq-list {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-2);
  width: 100%;
  max-width: 100%;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  font-size: var(--h3);
  font-weight: 600;
  color: var(--text);
  padding: 1rem 3.2rem 1rem 1.1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.4rem;
  text-align: center;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 500;
  color: var(--accent-soft);
  transition: transform .25s ease, color .25s ease;
}

.faq-item summary::before {
  content: none;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-answer {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height .36s ease, opacity .24s ease;
}

.faq-item[open] .faq-answer,
.faq-item.is-open .faq-answer {
  height: auto;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-item p {
  margin: 0;
  padding: .85rem 1.1rem 1rem;
  border-top: 1px solid rgba(180, 197, 239, 0.14);
  transform: translateY(-4px);
  transition: transform .25s ease;
}

.faq-item[open] p {
  transform: translateY(0);
}

.faq-item summary::after,
.faq-item[open] summary::after {
  will-change: transform;
}

/* reset previous switch-styled FAQ visuals */
.faq-item summary::before,
.faq-item[open] summary::before {
  position: absolute;
  display: none;
}

.final-cta .cta-card {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  display: grid;
  gap: var(--space-3);
  justify-items: center;
}
.final-cta p { max-width: 56ch; }

.form { display: grid; gap: var(--space-3); }
.input {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(180, 197, 239, 0.05);
  color: var(--text);
  padding: .75rem .9rem;
}
.input:focus {
  outline: 2px solid rgba(110, 119, 255, 0.45);
  outline-offset: 1px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.card-inner {
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
  display: grid;
  gap: var(--space-3);
}

.projects-archive__intro .card-inner {
  gap: var(--space-2);
}

.projects-archive__eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: var(--text-soft);
  font-weight: 600;
}

.projects-archive__grid {
  margin-top: var(--space-3);
}

.projects-archive__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 14, 34, 0.25) 0%, rgba(8, 14, 34, 0.8) 100%), var(--glass-bg);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.projects-archive__card:hover,
.projects-archive__card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(161, 233, 255, 0.45);
  box-shadow: 0 16px 34px rgba(3, 8, 22, 0.36);
}

.projects-archive__media {
  position: relative;
  overflow: hidden;
  height: 200px;

  
}

.projects-archive__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.projects-archive__card:hover .projects-archive__thumb,
.projects-archive__card:focus-visible .projects-archive__thumb {
  transform: scale(1.04);
}

.projects-archive__thumb--fallback {
  background: radial-gradient(circle at 18% 20%, rgba(126, 197, 255, 0.5), transparent 52%),
              radial-gradient(circle at 82% 78%, rgba(139, 111, 255, 0.55), transparent 45%),
              linear-gradient(135deg, rgba(20, 30, 61, 0.95), rgba(8, 12, 24, 0.96));
}

.projects-archive__content {
  position: relative;
  z-index: 1;
  gap: var(--space-2);
  align-content: start;
  background: linear-gradient(180deg, rgba(3, 8, 22, 0.02) 0%, rgba(3, 8, 22, 0.84) 20%, rgba(3, 8, 22, 0.98) 100%);
}

.projects-archive__card-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-soft);
}

.projects-archive__content h3 {
  margin: 0;
}

.projects-archive__excerpt {
  margin: 0;
  color: var(--text-muted);
  font-size: .96rem;
  line-height: 1.55;
}

.projects-archive__card-link {
  margin-top: auto;
  font-size: .9rem;
  color: #cfd8ff;
  font-weight: 600;
}

@media (max-width: 900px) {
  .projects-archive__card {
    min-height: 360px;
  }
}

.projects-archive__empty {
  margin-top: var(--space-3);
}

.single-project__intro {
  display: grid;
  gap: var(--space-2);
}

.single-project__title {
  margin: 0;
}

.single-project__hero {
  margin-top: var(--space-3);
  overflow: hidden;
}

.single-project__image {
  width: 100%;
  max-height: min(70vh, 620px);
  object-fit: cover;
  display: block;
}

.single-project__image--fallback {
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 25% 25%, rgba(161, 233, 255, 0.42), transparent 45%),
              radial-gradient(circle at 72% 75%, rgba(126, 113, 255, 0.48), transparent 48%),
              linear-gradient(140deg, rgba(17, 27, 56, 0.96), rgba(8, 11, 24, 0.98));
}

.single-project__content-card {
  margin-top: var(--space-3);
}

.single-project__back {
  margin-top: var(--space-3);
}

.mini-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .45rem;
  color: var(--text-muted);
}

.note {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--caption);
}

.dot {
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: inline-block;
  margin-right: .45rem;
}

.contact-section {
  padding-top: clamp(2.2rem, 5vw, 4rem);
}

.contact-intro {
  display: grid;
  gap: var(--space-4);
  padding: clamp(1.3rem, 3vw, 2.1rem);
}

.contact-intro-content {
  display: grid;
  gap: var(--space-2);
}

.contact-intro .lead {
  margin-top: 0;
  max-width: 62ch;
}

.contact-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: 25px;
}

.contact-grid {
  margin-left: auto;
  margin-right: auto;
  width: min(100%, 860px);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.contact-form-section,
.contact-brief-section {
  margin-block: var(--space-4);
}

.contact-form-card {
  width: 100%;
}

.contact-form-card-inner {
  gap: var(--space-4);
}

.contact-grid .badge {
  width: fit-content;
}

.contact-section .wpcf7 {
  margin-top: var(--space-2);
}

.contact-section .wpcf7 form {
  display: grid;
  gap: var(--space-3);
}

.contact-section .wpcf7 form > p {
  margin: 0;
}

.contact-section .wpcf7-form label {
  display: grid;
  gap: .55rem;
  font-weight: 600;
  color: var(--text);
}

.contact-section .wpcf7-form-control-wrap {
  display: block;
}

.contact-section .wpcf7 input[type="text"],
.contact-section .wpcf7 input[type="email"],
.contact-section .wpcf7 input[type="tel"],
.contact-section .wpcf7 select,
.contact-section .wpcf7 textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(180, 197, 239, 0.08);
  color: var(--text);
  padding: .62rem .85rem;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-section .wpcf7 input[type="text"],
.contact-section .wpcf7 input[type="email"],
.contact-section .wpcf7 input[type="tel"],
.contact-section .wpcf7 select {
  min-height: 2.7rem;
}

.contact-section .wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23E8EEFF' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: .95rem;
}

.contact-section .wpcf7 select option {
  color: #0b1228;
  background: #f7f9ff;
}

.contact-section .wpcf7 textarea {
  min-height: 5.4rem;
  height: 100px;
  resize: vertical;
}

.contact-section .wpcf7 input[type="text"]::placeholder,
.contact-section .wpcf7 input[type="email"]::placeholder,
.contact-section .wpcf7 input[type="tel"]::placeholder,
.contact-section .wpcf7 textarea::placeholder {
  color: var(--text-soft);
}

.contact-section .wpcf7 input[type="text"]:focus,
.contact-section .wpcf7 input[type="email"]:focus,
.contact-section .wpcf7 input[type="tel"]:focus,
.contact-section .wpcf7 select:focus,
.contact-section .wpcf7 textarea:focus {
  outline: none;
  border-color: rgba(110, 119, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(110, 119, 255, 0.2);
  background: rgba(180, 197, 239, 0.12);
}

.contact-section .wpcf7 .wpcf7-acceptance {
  display: block;
}

.contact-section .wpcf7 .wpcf7-list-item {
  margin: 0;
}

.contact-section .wpcf7 .wpcf7-list-item label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .95rem;
  font-weight: 400;
  color: var(--text-muted);
}

.contact-section .wpcf7 .wpcf7-list-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-top: .12rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid rgba(180, 197, 239, 0.6);
  border-radius: .26rem;
  background: rgba(180, 197, 239, 0.05);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-section .wpcf7 .wpcf7-list-item input[type="checkbox"]:hover {
  border-color: rgba(140, 150, 255, 0.95);
}

.contact-section .wpcf7 .wpcf7-list-item input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(110, 119, 255, 0.22);
}

.contact-section .wpcf7 .wpcf7-list-item input[type="checkbox"]:checked {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7.8' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: .74rem;
}

.contact-section .wpcf7 input[type="submit"] {
  justify-self: start;
  border: 0;
  border-radius: var(--radius-sm);
  padding: .82rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 10px 24px rgba(110, 119, 255, 0.32);
}

.contact-section .wpcf7 input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.contact-section .wpcf7 input[type="submit"]:active {
  transform: translateY(0);
}

.contact-section .wpcf7-spinner {
  margin: .4rem 0 0 .6rem;
}

.contact-section .wpcf7-not-valid-tip,
.contact-section .wpcf7 form .wpcf7-response-output {
  margin: .5rem 0 0;
  font-size: .9rem;
  border-radius: var(--radius-sm);
}

.contact-tip {
  margin: 0;
  color: var(--text-muted);
}

.contact-brief-heading {
  display: grid;
  gap: .65rem;
}

.contact-brief-heading h2,
.contact-brief-list p {
  margin: 0;
}

.contact-brief-heading .lead {
  font-size: 1.05rem;
  margin-top: 0;
  max-width: 62ch;
}

.page-main {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.page-main .page {
  max-width: min(var(--container), 100%);
  margin: 0 auto;
  padding: clamp(1.3rem, 2.8vw, 2.3rem);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(13, 21, 43, 0.58);
  box-shadow: var(--shadow-soft);
}

.page-main .entry-header {
  margin-bottom: var(--space-3);
}

.page-main .entry-title {
  font-size: clamp(1.85rem, 3.8vw, 2.8rem);
  letter-spacing: -0.02em;
}

.page-main .entry-content {
  display: grid;
  gap: 1rem;
}

.page-main .entry-content > * {
  margin: 0;
}

.page-main .entry-content ul,
.page-main .entry-content ol {
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.page-main .entry-content li + li {
  margin-top: .45rem;
}


.site-footer {
  border-top: 1px solid rgba(180, 197, 239, 0.14);
  background: rgba(7, 12, 26, 0.65);
  padding: var(--space-5) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: var(--space-3);
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-logo {
  max-width: 220px;
}


.site-footer li {
  list-style: none;
  margin: 0;
}

.footer-brand-note {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--caption);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: var(--space-4);
  border-top: 1px solid rgba(180, 197, 239, 0.12);
  padding-top: var(--space-3);
  color: var(--text-soft);
  font-size: var(--caption);
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-layout,
  .how-it-works-grid,
  .service-showcase-item,
  .grid.cols-4,
  .grid.cols-3,
  .grid.cols-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    background-position: 68% center;
    background-image:
      linear-gradient(180deg, rgba(7, 12, 26, 0.94) 0%, rgba(7, 12, 26, 0.78) 48%, rgba(7, 12, 26, 0.66) 100%),
      var(--hero-bg-image, url('/wp-content/uploads/2026/02/hero.png'));
  }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    display: none;
    top: 86px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: .7rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: rgba(7, 12, 26, 0.96);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav .cta { margin-left: 0; text-align: center; }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 190px;
  }

  .service-showcase-media {
    order: 2;
  }

}

.error-404-section {
  padding-top: clamp(3rem, 8vw, 6rem);
}

.error-404-card {
  position: relative;
  overflow: hidden;
  min-height: min(70vh, 620px);
  display: grid;
  place-items: center;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.error-404-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: var(--space-3);
}

.error-404-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
}

.error-404-lead {
  max-width: 60ch;
  font-size: 1.06rem;
  color: var(--text-muted);
}

.error-404-actions {
  margin-top: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.error-404-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.error-404-orb-left {
  width: 320px;
  height: 320px;
  left: -110px;
  top: -90px;
  background: radial-gradient(circle, rgba(110, 119, 255, 0.5) 0%, rgba(110, 119, 255, 0) 68%);
}

.error-404-orb-right {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, rgba(139, 92, 246, 0) 70%);
}

@media (max-width: 640px) {
  .error-404-card {
    min-height: auto;
  }

  .error-404-actions {
    width: 100%;
  }

  .error-404-actions .btn {
    width: 100%;
  }
}

.service-hero {
  padding-top: calc(var(--space-6) + .6rem);
}

.service-hero-card {
  padding: clamp(1.4rem, 3vw, 2.6rem);
  display: grid;
  gap: var(--space-3);
}

.service-hero-card h1 {
  font-size: var(--h1);
  letter-spacing: -0.02em;
  max-width: 17ch;
}

.service-hero-lead {
  font-size: 1.05rem;
  max-width: 68ch;
}

.service-highlight,
.service-package-card,
.service-process-grid article {
  padding: var(--space-4);
}

.service-highlight {
  min-height: 170px;
  display: grid;
  gap: .55rem;
}

.service-highlight strong {
  font-size: 1.02rem;
}

.service-packages-grid {
  margin-top: var(--space-5);
}

.service-package-card {
  display: grid;
  gap: var(--space-2);
  min-height: 290px;
}

.service-package-card ul {
  margin: .2rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .35rem;
  color: var(--text-muted);
}

.package-label {
  display: inline-flex;
  width: fit-content;
  padding: .32rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-soft);
  background: rgba(180, 197, 239, 0.07);
}

.service-package-card-featured {
  border-color: rgba(139, 92, 246, 0.55);
  background: linear-gradient(165deg, rgba(24, 33, 62, 0.88), rgba(15, 22, 44, 0.78));
  transform: translateY(-6px);
}

.service-process-grid article {
  min-height: 170px;
  display: grid;
  gap: var(--space-2);
}

.service-package-card .step-label-wrapper{
  display: flex;
  align-items: center;
}

.service-cta-card p {
  max-width: 62ch;
}

@media (max-width: 980px) {
  .service-package-card-featured {
    transform: none;
  }
}


.glow {
  position: absolute;
  width: 150px;
  height: 150px;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;

  background:
    radial-gradient(circle,
      #ffffff 0 2px,
      rgba(161,233,255,0.95) 6px,
      rgba(110,119,255,0.6) 20px,
      rgba(139,92,246,0.35) 40px,
      transparent 70px
    );

  filter: blur(2px);
}
.glow-white{
    background-color: white;
    filter: blur(2px);
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
        transform: translate(-50%, -50%);
}
/* pozycje */

.glow-left {
  left: 0px;
  top: 35%;
     transform: translate(-50%, -50%);
}

.glow-top {
    left: 20%;
    top: 0;
    transform: translate(-50%, -50%);
}

.glow-bottom {
    bottom: 0px;
    left: 25%;
    transform: translate(-50%, 50%);

  background: radial-gradient(circle, #ffffff 0 2px, rgb(188 98 191 / 95%) 6px, rgba(110, 119, 255, 0.6) 20px, rgba(139, 92, 246, 0.35) 40px, transparent 70px);
}

.glow-horizontal{
  height: 5px;
    animation: glow-move-x 12s ease-in-out infinite;
}

.glow-vertical{
  width: 5px;
    animation: glow-move-y 20s ease-in-out infinite;

}

.glow-horizontal .glow-white{
  height: 2px;
}
.glow-vertical .glow-white{
    width: 2px;
}

/* ====== ANIMACJE GLOW ====== */
@keyframes glow-move-x {
  0%   { left: 20%; }
  50%  { left: 80%; }
  100% { left: 20%; }
}

@keyframes glow-move-y {
  0%   { top: 20%; }
  50%  { top: 80%; }
  100% { top: 20%; }
}

.how-it-works.contact-brief-section{
  padding-bottom: 0px;
}
.contact-form-section{
  margin-top: 50px;
}
.sective-card-icon-wrapper{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.sective-card-icon{
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: .7rem;
    border: 1px solid var(--glass-border);
    background: rgba(110, 119, 255, 0.2);
    color: #dce2ff;
}

.sective-card-icon svg{
  fill: white;
  max-width: 50px;
  width: 100%;
  height: auto;
}
