/* ============================================================
   KAROL WEB — style.css
   Design System: WebSpark (SpaceX-inspired)
   Font: Barlow Condensed (D-DIN substitute)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700&family=Barlow:wght@300;400&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --black:               #000000;
  --spectral-white:      #f0f0fa;
  --white-100:           #ffffff;
  --ghost-surface:       rgba(240,240,250,0.08);
  --ghost-surface-hover: rgba(240,240,250,0.16);
  --ghost-border:        rgba(240,240,250,0.30);
  --dark-overlay:        rgba(0,0,0,0.55);
  --border-subtle:       rgba(240,240,250,0.10);

  --font-display: 'Barlow Condensed', Arial, sans-serif;
  --font-body:    'Barlow Condensed', Arial, sans-serif;

  --ease-cinematic: cubic-bezier(0.25,0.46,0.45,0.94);

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  32px;
  --space-8:  40px;
  --space-9:  60px;
  --space-10: 80px;
  --space-11: 120px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--black);
  color: var(--spectral-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(240,240,250,0.15); }

/* ── Typography ─────────────────────────────────────────── */
.t-hero {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.t-h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.t-h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.t-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(240,240,250,0.65);
}
.t-micro {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(240,240,250,0.4);
}
.t-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,240,250,0.45);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border: 1px solid var(--ghost-border);
  border-radius: 32px;
  background: var(--ghost-surface);
  color: var(--spectral-white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease-cinematic), border-color 0.3s var(--ease-cinematic);
}
.btn:hover { background: var(--ghost-surface-hover); border-color: rgba(240,240,250,0.5); }
.btn--sm { padding: 10px 20px; font-size: 0.7rem; letter-spacing: 1.5px; }
.btn--naked {
  background: transparent; border: none; padding: 0;
  color: rgba(240,240,250,0.55);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; font-family: var(--font-display);
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.25s;
}
.btn--naked:hover { color: var(--spectral-white); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 60px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
  transition: background 0.4s var(--ease-cinematic);
}
.nav.scrolled { background: rgba(0,0,0,0.92); backdrop-filter: blur(12px); }
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--spectral-white);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(240,240,250,0.7);
  transition: color 0.25s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--spectral-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-cinematic);
}
.nav__link:hover { color: var(--spectral-white); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--spectral-white); }
.nav__cta { margin-left: 16px; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--spectral-white);
  transition: all 0.3s;
}
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { font-size: 1.4rem; letter-spacing: 4px; }

/* ── Hero Section ───────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.75) 80%,
    rgba(0,0,0,0.92) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__eyebrow { margin-bottom: var(--space-4); }
.hero__title { margin-bottom: var(--space-5); height: 4.2em; overflow: hidden; }
.hero__sub { margin-bottom: var(--space-7); max-width: 520px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.45;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@keyframes shine {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* ── Shine Border ───────────────────────────────────────── */
.service-card::before,
.pricing-card::before,
.step::before,
.metric::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: radial-gradient(
    transparent, transparent,
    rgba(240,240,250,0.55),
    transparent, transparent
  );
  background-size: 300% 300%;
  animation: shine 14s infinite linear;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  will-change: background-position;
  pointer-events: none;
  border-radius: inherit;
}

/* ── Page Header (subpages) ─────────────────────────────── */
.page-header {
  position: relative;
  padding: 180px 60px 80px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(240,240,250,0.03) 0%, transparent 70%);
}
.page-header__number {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(240,240,250,0.25);
  margin-bottom: var(--space-4);
}
.page-header__title { margin-bottom: var(--space-4); }
.page-header__sub { max-width: 600px; }

/* ── Section ────────────────────────────────────────────── */
.section {
  padding: var(--space-11) 60px;
  border-bottom: 1px solid var(--border-subtle);
}
.section--dark { background: #000; }
.section--dim { background: rgba(240,240,250,0.02); }
.section__label { margin-bottom: var(--space-6); }
.section__title { margin-bottom: var(--space-5); }
.section__sub { max-width: 500px; margin-bottom: var(--space-8); }
.section--centered { text-align: center; }
.section--centered .section__sub { margin-left: auto; margin-right: auto; }

/* ── Grid ───────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.grid-3 > * { background: var(--black); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.grid-auto > * { background: var(--black); }

/* ── Service Card ───────────────────────────────────────── */
.service-card {
  padding: 52px 44px;
  position: relative;
  transition: background 0.3s;
}
.service-card:hover { background: rgba(240,240,250,0.025); }
.service-card__icon {
  width: 40px; height: 40px;
  margin-bottom: var(--space-6);
  opacity: 0.6;
}
.service-card__title { margin-bottom: var(--space-4); }
.service-card__desc { margin-bottom: var(--space-6); }
.service-card__list {
  margin-bottom: var(--space-7);
  display: flex; flex-direction: column; gap: 8px;
}
.service-card__list li {
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.5px;
  text-transform: uppercase; color: rgba(240,240,250,0.45);
  padding-left: 16px; position: relative;
}
.service-card__list li::before {
  content: '—';
  position: absolute; left: 0;
  color: rgba(240,240,250,0.2);
}
.service-card__price {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(240,240,250,0.3);
  margin-bottom: var(--space-5);
}

/* ── Portfolio Grid ─────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border-subtle);
}
.portfolio-item {
  background: var(--black);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.portfolio-item__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-item__thumb-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: transform 0.6s var(--ease-cinematic);
}
.portfolio-item:hover .portfolio-item__thumb-inner { transform: scale(1.04); }
.portfolio-item__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: flex-end; padding: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__info { padding: 24px 28px; }
.portfolio-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.tag {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: rgba(240,240,250,0.4);
  border: 1px solid rgba(240,240,250,0.15);
  padding: 4px 10px; border-radius: 2px;
}
.tag--active { color: var(--spectral-white); border-color: rgba(240,240,250,0.4); }

/* ── Filter Tabs ────────────────────────────────────────── */
.filter-tabs { display: flex; gap: 4px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-tab {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(240,240,250,0.4);
  border: 1px solid transparent;
  padding: 8px 18px; border-radius: 2px;
  cursor: pointer; background: none;
  font-family: var(--font-display);
  transition: all 0.25s;
}
.filter-tab:hover { color: var(--spectral-white); border-color: rgba(240,240,250,0.2); }
.filter-tab.active {
  color: var(--spectral-white);
  border-color: rgba(240,240,250,0.35);
  background: rgba(240,240,250,0.06);
}

/* ── Steps / Process ────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.step { background: var(--black); padding: 44px 36px; position: relative; }
.step__num {
  font-size: 3rem; font-weight: 700; line-height: 1;
  letter-spacing: 1px; color: rgba(240,240,250,0.08);
  font-family: var(--font-display); margin-bottom: var(--space-5);
}
.step__title { margin-bottom: var(--space-3); }
.step__desc { font-size: 0.82rem; color: rgba(240,240,250,0.5); line-height: 1.6; text-transform: uppercase; }

/* ── Testimonials Slider ────────────────────────────────── */
.testimonials-slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}


.testimonial {
  flex: 0 0 360px;
  padding: 48px 40px;
  border-top: none;
  border-left: none;
  cursor: default;
  transition: background 0.3s var(--ease-cinematic);
}

.testimonial:hover {
  background: var(--ghost-surface);
}

.testimonial__stars {
  display: flex; gap: 4px; margin-bottom: var(--space-5);
}
.testimonial__star { color: rgba(240,240,250,0.6); font-size: 14px; }
.testimonial__quote {
  font-size: 1.05rem; font-weight: 400; line-height: 1.55;
  text-transform: uppercase; color: rgba(240,240,250,0.75);
  margin-bottom: var(--space-6);
}
.testimonial__author { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.testimonial__company { font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(240,240,250,0.35); margin-top: 4px; }

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: var(--space-11) 60px;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(240,240,250,0.05) 0%, transparent 65%);
}
.cta-banner__title { margin-bottom: var(--space-5); position: relative; z-index: 1; }
.cta-banner__sub { margin-bottom: var(--space-7); position: relative; z-index: 1; }
.cta-banner__ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Pricing ────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.pricing-card { background: var(--black); padding: 52px 40px; position: relative; transition: background 0.3s; }
.pricing-card:hover { background: rgba(240,240,250,0.04); }
.pricing-card--featured { background: var(--black); }
.pricing-card__badge {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid rgba(240,240,250,0.3); color: rgba(240,240,250,0.6);
  padding: 4px 12px; border-radius: 2px; display: inline-block; margin-bottom: var(--space-5);
}
.pricing-card__name { margin-bottom: var(--space-5); }
.pricing-card__tagline { font-size: 0.75rem; color: rgba(240,240,250,0.4); margin-top: 8px; line-height: 1.5; letter-spacing: 0.3px; }
.pricing-card__price {
  font-size: 3.5rem; font-weight: 700; line-height: 1;
  font-family: var(--font-display); letter-spacing: 1px;
  margin-bottom: 4px; margin-top: var(--space-6);
}
.pricing-card__od { font-size: 1.2rem; font-weight: 400; opacity: 0.5; }
.pricing-card__from { font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(240,240,250,0.35); margin-bottom: var(--space-7); }
.pricing-card__divider { height: 1px; background: var(--border-subtle); margin-bottom: 0; }
.pricing-card__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: var(--space-8); }
.pricing-card__list li {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.5px;
  text-transform: uppercase; color: rgba(240,240,250,0.55);
  padding-left: 20px; position: relative;
}
.pricing-card__list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: rgba(240,240,250,0.3); font-size: 0.7rem;
}
.pricing-card__list-highlight {
  color: rgba(240,240,250,0.8) !important;
  font-weight: 600 !important;
}
.pricing-card__list-highlight::before { color: rgba(240,240,250,0.7) !important; }

/* ── FAQ Accordion (pure CSS) ───────────────────────────── */
.faq { display: flex; flex-direction: column; }
.faq-item input[type="checkbox"] { display: none; }
.faq-item__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--border-subtle);
  cursor: pointer;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(240,240,250,0.8);
  font-family: var(--font-display);
  transition: color 0.25s;
}
.faq-item__label:hover { color: var(--spectral-white); }
.faq-item__icon {
  width: 20px; height: 20px; flex-shrink: 0;
  position: relative; opacity: 0.4;
  transition: opacity 0.25s, transform 0.3s var(--ease-cinematic);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: '';
  position: absolute; background: var(--spectral-white);
  top: 50%; left: 50%;
}
.faq-item__icon::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.faq-item__icon::after { width: 1px; height: 12px; transform: translate(-50%, -50%); transition: transform 0.3s; }
.faq-item input:checked ~ .faq-item__label .faq-item__icon { opacity: 0.7; transform: rotate(45deg); }
.faq-item input:checked ~ .faq-item__label { color: var(--spectral-white); }
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-cinematic), padding 0.3s;
}
.faq-item input:checked ~ .faq-item__body { max-height: 300px; }
.faq-item__body p {
  padding-bottom: 26px;
  font-size: 0.85rem; font-weight: 400; line-height: 1.7;
  text-transform: uppercase; color: rgba(240,240,250,0.5);
}

/* ── Metrics ────────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; max-width: 480px; }
.metric { background: var(--black); padding: 36px 32px; position: relative; }
.metric__num {
  font-size: 3.5rem; font-weight: 700; line-height: 1;
  font-family: var(--font-display); letter-spacing: 1px;
  margin-bottom: 8px;
}
.metric__label { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(240,240,250,0.35); }

/* ── Tech Stack ─────────────────────────────────────────── */
.tech-tags-slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.tech-tags { display: flex; flex-wrap: nowrap; gap: 8px; width: max-content; will-change: transform; }
.tech-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(240,240,250,0.5);
  border: 1px solid rgba(240,240,250,0.12);
  padding: 8px 16px; border-radius: 2px;
  transition: all 0.25s;
}
.tech-tag:hover { color: var(--spectral-white); border-color: rgba(240,240,250,0.3); background: rgba(240,240,250,0.04); }

/* ── Contact Form ───────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(240,240,250,0.4);
}
.form-input, .form-select, .form-textarea {
  background: rgba(240,240,250,0.04);
  border: 1px solid rgba(240,240,250,0.12);
  border-radius: 2px;
  color: var(--spectral-white);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(240,240,250,0.35);
  background: rgba(240,240,250,0.07);
}
.form-select option { background: #000; }
.form-textarea { resize: vertical; min-height: 120px; }

/* ── Avatar Placeholder ─────────────────────────────────── */
.avatar {
  width: 200px; height: 200px; border-radius: 0;
  background: rgba(240,240,250,0.07);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 700; letter-spacing: 4px;
  font-family: var(--font-display); color: rgba(240,240,250,0.25);
}

/* ── Values Layout ──────────────────────────────────────── */
.values-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.snake-wrapper { position: sticky; top: 120px; }
.snake-container { position: relative; border: 1px solid rgba(240,240,250,0.1); background: #000; }
.snake-container--playing { cursor: none; }
.snake-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(0,0,0,0.88);
}
.snake-gameover {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(240,240,250,0.95); text-align: center;
}
.snake-hint {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(240,240,250,0.4);
}
.snake-btn {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--spectral-white); border: 1px solid rgba(240,240,250,0.3);
  background: transparent; padding: 12px 32px; cursor: pointer;
  transition: all 0.25s; margin-top: 8px;
}
.snake-btn:hover { background: rgba(240,240,250,0.08); border-color: rgba(240,240,250,0.7); }

/* ── Values List ────────────────────────────────────────── */
.value-item {
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
  display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start;
}
.value-item__num { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(240,240,250,0.2); padding-top: 4px; }
.value-item__title { margin-bottom: 6px; }
.value-item__desc { font-size: 0.8rem; color: rgba(240,240,250,0.45); text-transform: uppercase; line-height: 1.6; }

/* ── Contact Info ───────────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-item__label { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(240,240,250,0.3); margin-bottom: 8px; }
.contact-info-item__value { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  padding: 52px 60px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__left { display: flex; flex-direction: column; gap: 8px; }
.footer__tagline { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(240,240,250,0.25); }
.footer__copy { font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(240,240,250,0.25); }
.footer__links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer__link { font-size: 0.62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(240,240,250,0.3); transition: color 0.25s; }
.footer__link:hover { color: rgba(240,240,250,0.7); }
.footer__socials { display: flex; gap: 16px; }
.footer__social { opacity: 0.3; transition: opacity 0.25s; }
.footer__social:hover { opacity: 0.8; }

/* ── Hero Animated Logo ─────────────────────────────────── */
.hero__logo-display {
  position: absolute;
  left: 33%;
  right: auto;
  top: 40%;
  transform: translateY(-50%);
  width: 69%;
  max-width: 1050px;
  aspect-ratio: 16 / 9;
  z-index: 2;
  pointer-events: none;
}
.hero__logo-display iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: transparent;
}

/* ── Hero Geometric SVG ─────────────────────────────────── */
.hero-geo {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  z-index: 1;
  opacity: 0.06;
  pointer-events: none;
}

/* ── Scroll Fade ────────────────────────────────────────── */
.ws-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-cinematic), transform 0.7s var(--ease-cinematic);
}
.ws-fade.visible { opacity: 1; transform: translateY(0); }

/* ── Decorative line ────────────────────────────────────── */
.divider { height: 1px; background: var(--border-subtle); }

/* ── Scroll indicator line ──────────────────────────────── */
.scroll-line {
  display: flex; align-items: center;
  gap: 12px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(240,240,250,0.3);
}
.scroll-line::before { content: ''; display: block; width: 40px; height: 1px; background: rgba(240,240,250,0.2); }

/* ── Pixel Trail — content above trail ─────────────────── */
.section,
.page-header,
.cta-banner,
.footer,
.hero__content,
.hero__overlay,
.hero__scroll {
  position: relative;
  z-index: 1;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .nav { padding: 20px 40px; }
  .hero { padding: 0 40px 60px; }
  .section { padding: 80px 40px; }
  .page-header { padding: 160px 40px 60px; }
  .cta-banner { padding: 80px 40px; }
  .footer { padding: 48px 40px; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  .hero__logo-display { display: none; }
  .nav { padding: 18px 24px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 0 24px 60px; }
  .section { padding: 60px 24px; }
  .page-header { padding: 130px 24px 52px; }
  .cta-banner { padding: 60px 24px; }
  .footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .metrics { max-width: 100%; }

  .t-hero { font-size: 2.4rem; }
  .t-h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .values-layout { grid-template-columns: 1fr; }
  .snake-wrapper { display: none; }
}

/* ── Laptopy (1280–1440px) ──────────────────────────── */
@media (min-width: 1201px) and (max-width: 1440px) {
  .hero__logo-display { left: 34%; top: 40%; width: 66%; }
  .nav { padding: 20px 48px; }
  .hero { padding: 0 48px 72px; }
  .section { padding: 100px 48px; }
  .page-header { padding: 160px 48px 72px; }
  .cta-banner { padding: 100px 48px; }
  .footer { padding: 48px 48px; }
  .service-card { padding: 44px 36px; }
  .pricing-card { padding: 44px 32px; }
  .step { padding: 36px 28px; }
}

/* ── Niski viewport laptopa (≤900px wysokości) ───────── */
@media (max-height: 900px) and (min-width: 769px) {
  .hero {
    padding-bottom: 60px;
  }
  .hero__scroll { bottom: 20px; }
  .page-header { padding-top: 130px; }
}

/* ── Duże ekrany 1440px+ — ogranicz szerokość treści ── */
@media (min-width: 1440px) {
  .nav,
  .section,
  .page-header,
  .cta-banner,
  .footer {
    padding-inline: max(60px, calc(50% - 720px));
  }
  .hero {
    padding-inline: max(60px, calc(50% - 720px));
  }
  .hero__content { max-width: 840px; }
  .t-hero { font-size: clamp(2.8rem, 4.8vw, 7rem); }
}

/* ── Full HD 1920×1080 ───────────────────────────────── */
@media (min-width: 1920px) {
  .hero__logo-display { left: 35%; top: 40%; width: 72%; max-width: 1230px; }
  .nav,
  .section,
  .page-header,
  .cta-banner,
  .footer {
    padding-inline: max(80px, calc(50% - 760px));
  }
  .hero {
    padding-inline: max(80px, calc(50% - 760px));
  }
  .t-hero { font-size: 7.5rem; }
  .t-h2  { font-size: 4rem; }
  .hero__content { max-width: 900px; }
  .testimonial { flex: 0 0 420px; }
}
