/* ═══════════════════════════════════════════
   INDEX PAGE — N&K Webdesign v2
═══════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, var(--c-brand-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border-radius: var(--r-full);
  padding: 0.35em 1em;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-6);
}

.hero__label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-brand);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-regular);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-text);
  margin-bottom: var(--sp-6);
}

.hero__title em {
  font-style: italic;
  color: var(--c-brand);
}

.hero__body {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--c-text-2);
  max-width: 48ch;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.hero__avatars {
  display: flex;
}

.hero__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-brand-soft);
  border: 2px solid var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--c-brand);
  margin-left: -8px;
}

.hero__avatars .hero__avatar:first-child { margin-left: 0; }

.hero__proof-text {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

.hero__proof-text strong { color: var(--c-text); }

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
}

.hero__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}

.hero__card-dots {
  display: flex;
  gap: var(--sp-2);
}

.hero__card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-bg-3);
}

.hero__card-dot:nth-child(1) { background: #FF5F57; }
.hero__card-dot:nth-child(2) { background: #FFBD2E; }
.hero__card-dot:nth-child(3) { background: #28CA41; }

.hero__card-score {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-success);
  background: var(--c-success-bg);
  padding: 0.3em 0.8em;
  border-radius: var(--r-full);
}

.hero__card-lines {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hero__card-line {
  height: 10px;
  background: var(--c-bg-2);
  border-radius: var(--r-full);
}

.hero__card-line:nth-child(1) { width: 85%; }
.hero__card-line:nth-child(2) { width: 65%; }
.hero__card-line:nth-child(3) { width: 75%; }

.hero__card-bar-group {
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-2);
  align-items: flex-end;
  height: 80px;
}

.hero__card-bar {
  flex: 1;
  background: var(--c-brand-soft);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  transition: height 1s var(--ease-out);
}

.hero__card-bar:nth-child(1) { height: 45%; }
.hero__card-bar:nth-child(2) { height: 70%; }
.hero__card-bar:nth-child(3) { height: 55%; }
.hero__card-bar:nth-child(4) { height: 90%; background: var(--c-brand); }
.hero__card-bar:nth-child(5) { height: 75%; }
.hero__card-bar:nth-child(6) { height: 60%; }

.hero__card-float {
  position: absolute;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  white-space: nowrap;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}

.hero__card-float--1 {
  top: -20px;
  right: -24px;
  color: var(--c-success);
}

.hero__card-float--2 {
  bottom: -16px;
  left: -24px;
  color: var(--c-text);
}

/* ── LOGOS MARQUEE ── */
.logos {
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.logos__label {
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: var(--sp-6);
}

.logos__track {
  display: flex;
  gap: var(--sp-16);
  width: max-content;
  animation: marquee 28s linear infinite;
}

.logos__item {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--c-text-3);
  white-space: nowrap;
  font-style: italic;
  transition: color var(--t-fast);
  user-select: none;
}

.logos__item:hover { color: var(--c-text-2); }

/* ── SERVICES SECTION ── */
.services {
  padding: var(--section-gap) 0;
  background: var(--c-bg);
}

.services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: end;
  margin-bottom: var(--sp-16);
}

.services__cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: var(--sp-4);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* ── STATS BAND ── */
.stats-band {
  background: var(--c-dark);
  padding: var(--sp-16) 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  text-align: center;
}

.stats-band .stat__number { color: var(--c-text-inv); }
.stats-band .stat__label { color: rgba(250,250,248,0.45); }

/* ── WORK SECTION ── */
.work {
  padding: var(--section-gap) 0;
}

.work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-12);
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

/* ── PROCESS SECTION ── */
.process {
  padding: var(--section-gap) 0;
  background: var(--c-bg-2);
}

.process__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-24);
  align-items: start;
}

.process__sticky {
  position: sticky;
  top: 100px;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: var(--section-gap) 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

/* ── FAQ ── */
.faq {
  padding: var(--section-gap) 0;
  background: var(--c-bg-2);
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-24);
  align-items: start;
}

.faq__sticky {
  position: sticky;
  top: 100px;
}

/* ── CTA BAND ── */
.cta-band {
  padding: var(--sp-24) 0;
  background: var(--c-brand);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-regular);
  color: #fff;
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--sp-5);
}

.cta-band__title em { font-style: italic; opacity: 0.75; }

.cta-band__body {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--sp-10);
  line-height: var(--lh-relaxed);
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--c-brand);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.cta-band .btn-secondary {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
}

.cta-band .btn-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .services__head { grid-template-columns: 1fr; }
  .services__cta-side { align-items: flex-start; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .process__inner { grid-template-columns: 1fr; }
  .process__sticky { position: static; }
  .faq__inner { grid-template-columns: 1fr; }
  .faq__sticky { position: static; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 80svh; padding-top: var(--sp-12); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
