@charset "utf-8";

/* ПринтПарк landing — tokens */
:root {
  --bg-deep: #08090d;
  --bg-elevated: #10121a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --text-muted: #8b92a5;
  --accent: #b794f6;
  --accent-deep: #6d28d9;
  --accent-dim: rgba(183, 148, 246, 0.18);
  --accent-2: #8b5cf6;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-sans: "Onest", system-ui, sans-serif;
  --font-display: "Unbounded", var(--font-sans);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

a:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  opacity: 1;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100vw);
  height: 60vh;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 92, 246, 0.2) 0%,
    rgba(167, 139, 250, 0.08) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(8, 9, 13, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo__accent {
  color: var(--accent);
}

/* Специфичность выше .btn, иначе inline-flex с кнопки перебивает скрытие на мобилке */
.btn.header__cta {
  display: none;
}

@media (min-width: 768px) {
  .btn.header__cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #f8f5ff;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.32);
}

.btn--primary:hover {
  opacity: 1;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.42);
}

.btn--outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn--outline:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

.btn--ghost:hover {
  background: var(--surface-hover);
  opacity: 1;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(
    115deg,
    #00d4ff 0%,
    #ff00a8 48%,
    #ffe600 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero__actions {
  display: none;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hero__actions {
    display: flex;
  }
}

.hero__visual {
  display: none;
  position: relative;
  min-height: 280px;
}

@media (min-width: 960px) {
  .hero__visual {
    display: block;
  }
}

.hero__card {
  position: absolute;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.hero__card--1 {
  inset: 0 15% 18% 0;
  background: linear-gradient(145deg, var(--accent-dim), transparent);
  box-shadow: var(--shadow-soft);
}

.hero__card--2 {
  inset: 12% 0 0 20%;
  opacity: 0.9;
  background: linear-gradient(160deg, rgba(108, 92, 231, 0.2), transparent);
  transform: rotate(-2deg);
}

.hero__card--3 {
  inset: auto 8% 0 35%;
  height: 42%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(255, 255, 255, 0.04) 8px,
    rgba(255, 255, 255, 0.04) 16px
  );
  transform: rotate(3deg);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Services */
.services {
  border-top: 1px solid var(--border);
}

.services__grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(167, 139, 250, 0.35);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.service-card__heading {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.service-card__icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--accent);
  opacity: 0.9;
}

.service-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.service-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* About */
.about {
  border-top: 1px solid var(--border);
}

.about__inner {
  max-width: 42rem;
  margin-inline: auto;
}

.about__text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about__list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
}

.about__list li {
  margin-bottom: 0.5rem;
}

.about__list li::marker {
  color: var(--accent);
}

/* Contacts + map */
.contacts {
  border-top: 1px solid var(--border);
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.contacts__layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contacts__info--row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

@media (min-width: 720px) {
  .contacts__info--row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contacts__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contacts__value {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.contacts__phones {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.contacts__phones a {
  font-weight: 500;
}

.contacts__hint {
  margin: 0;
  max-width: 48rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.map {
  display: block;
  width: 100%;
  height: min(420px, 55vh);
  min-height: 320px;
  border: 0;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__logo {
  font-size: 1rem;
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
