/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1a1208;
  --ink-soft: #4a3f30;
  --ink-muted: #9a8f80;
  --paper: #faf8f4;
  --paper-warm: #f5f0e8;
  --accent: #d4501a;
  --accent-light: #f4e8e0;
  --accent-dark: #a33a10;
  --dark-bg: #1a1208;
  --dark-surface: #241c10;
  --dark-border: #3a2e1c;
  --white: #ffffff;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,18,8,0.08);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px; color: var(--ink);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-soft); transition: color 0.2s; font-weight: 400; }
.nav-links a:hover { color: var(--ink); }
.btn-nav {
  background: var(--accent); color: var(--white) !important;
  padding: 8px 18px; border-radius: 99px;
  font-size: 13px !important; font-weight: 500 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.btn-nav:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; flex-direction: column; padding: 1rem 2rem 1.5rem; gap: 1rem; border-top: 1px solid rgba(26,18,8,0.08); }
.mobile-menu a { font-size: 15px; color: var(--ink-soft); }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 120px 2rem 80px;
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 4rem;
  position: relative; overflow: hidden;
}
.hero-bg-text {
  position: absolute; right: -80px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 280px; font-weight: 400;
  color: rgba(212,80,26,0.04);
  pointer-events: none; user-select: none;
  letter-spacing: -10px;
  white-space: nowrap;
}
.hero-content { flex: 1; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 12px; font-weight: 500;
  padding: 5px 14px; border-radius: 99px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 17px; color: var(--ink-soft); max-width: 440px; margin-bottom: 2.5rem; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--accent); color: var(--white);
  padding: 13px 28px; border-radius: 99px;
  font-size: 15px; font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  padding: 13px 28px; border-radius: 99px;
  font-size: 15px; font-weight: 400;
  border: 1.5px solid rgba(26,18,8,0.2);
  transition: border-color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost-dark {
  background: transparent; color: var(--ink);
  padding: 13px 28px; border-radius: 99px;
  font-size: 15px; font-weight: 400;
  border: 1.5px solid rgba(26,18,8,0.25);
  transition: all 0.2s;
  display: inline-block;
}
.btn-ghost-dark:hover { background: rgba(26,18,8,0.06); transform: translateY(-2px); }

/* ===== HERO VISUAL ===== */
.hero-visual { flex: 0 0 auto; z-index: 1; }
.printer-card {
  width: 260px; height: 300px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,18,8,0.1);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; position: relative;
  box-shadow: 0 20px 60px rgba(212,80,26,0.1), 0 4px 20px rgba(26,18,8,0.06);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.printer-icon { font-size: 64px; }
.printer-lines { display: flex; flex-direction: column; gap: 6px; width: 140px; }
.pline {
  height: 8px; border-radius: 4px;
  animation: printLine 2s ease-in-out infinite;
}
.pline-1 { background: var(--accent); width: 100%; animation-delay: 0s; }
.pline-2 { background: var(--paper-warm); border: 1px solid rgba(26,18,8,0.1); width: 80%; animation-delay: 0.3s; }
.pline-3 { background: var(--paper-warm); border: 1px solid rgba(26,18,8,0.1); width: 60%; animation-delay: 0.6s; }
@keyframes printLine {
  0%, 100% { opacity: 0.4; transform: scaleX(0.95); }
  50% { opacity: 1; transform: scaleX(1); }
}
.printer-badge {
  position: absolute; bottom: -12px;
  background: var(--ink); color: var(--white);
  font-size: 11px; font-weight: 500;
  padding: 5px 14px; border-radius: 99px;
  letter-spacing: 0.5px;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 2rem; }
.section-dark { background: var(--dark-bg); }
.section-accent { background: var(--paper-warm); }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 12px;
}
.section-label.light { color: rgba(212,80,26,0.7); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1; letter-spacing: -1.5px;
  color: var(--ink); margin-bottom: 3rem;
}
.section-title.light { color: var(--white); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(26,18,8,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--cb);
  opacity: 0; transition: opacity 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,18,8,0.08); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 32px; margin-bottom: 1rem; display: block; }
.service-card h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.service-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ===== PRICING ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-bottom: 1.5rem;
}
.price-group {
  background: var(--dark-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--dark-border);
  position: relative;
}
.price-group.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(212,80,26,0.15);
}
.price-group-badge {
  display: inline-block;
  background: var(--accent); color: var(--white);
  font-size: 10px; font-weight: 500;
  padding: 3px 10px; border-radius: 99px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.price-group-title {
  font-family: var(--font-display);
  font-size: 20px; color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--dark-border);
}
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px; color: rgba(255,255,255,0.7);
}
.price-row:last-child { border-bottom: none; }
.price { color: var(--white); font-weight: 500; white-space: nowrap; margin-left: 1rem; }
.price small { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 400; }
.price-note { font-size: 13px; color: rgba(255,255,255,0.4); text-align: center; }

/* ===== STEPS ===== */
.steps {
  display: flex; align-items: flex-start;
  gap: 0; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 200px;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,18,8,0.07);
}
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--ink-muted);
  padding: 2rem 0.5rem; margin-top: 1rem;
  flex-shrink: 0;
}
.step-num {
  font-family: var(--font-display);
  font-size: 40px; color: var(--accent);
  opacity: 0.3; line-height: 1;
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ===== KONTAK ===== */
.kontak-wrap { display: flex; gap: 4rem; align-items: center; flex-wrap: wrap; }
.kontak-sub { font-size: 16px; color: var(--ink-soft); max-width: 380px; margin-bottom: 2rem; }
.kontak-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.kontak-info { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 1.25rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.info-item strong { font-size: 14px; font-weight: 500; color: var(--ink); display: block; margin-bottom: 2px; }
.info-item p { font-size: 14px; color: var(--ink-soft); }

/* ===== FOOTER ===== */
.footer { background: var(--ink); padding: 2rem; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer .logo { color: var(--white); }
.footer p { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== CROSS PROMO ===== */
.crosspromo {
  padding: 80px 2rem;
  background: linear-gradient(135deg, #0d1f3c 0%, #1a3566 100%);
  position: relative; overflow: hidden;
}
.crosspromo::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(212,80,26,0.12); pointer-events: none;
}
.cp-inner {
  display: flex; align-items: center; gap: 4rem; flex-wrap: wrap;
}
.cp-left { flex: 1; min-width: 280px; }
.cp-eyebrow {
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent); margin-bottom: 14px;
}
.cp-left h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  color: #ffffff; line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 1rem; font-weight: 400;
}
.cp-left p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 2rem; max-width: 420px; }
.cp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cp-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  padding: 12px 24px; border-radius: 99px;
  font-size: 14px; font-weight: 500;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(212,80,26,0.35);
}
.btn-cp-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,80,26,0.45); }
.btn-cp-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: rgba(255,255,255,0.7);
  padding: 12px 24px; border-radius: 99px;
  font-size: 14px; font-weight: 400;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.btn-cp-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.cp-right { flex: 0 0 360px; }
.cp-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 2rem;
  backdrop-filter: blur(8px);
}
.cp-logo { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cp-logo span { color: var(--accent); }
.cp-tagline { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 1.5rem; font-style: italic; }
.cp-services { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.5rem; }
.cp-svc {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  padding: 9px 14px; border-radius: 10px;
}
.cp-svc span { font-size: 16px; }
.cp-flow {
  display: flex; align-items: center; gap: 8px;
  background: rgba(212,80,26,0.15); border: 1px solid rgba(212,80,26,0.3);
  border-radius: 12px; padding: 12px 14px; flex-wrap: wrap;
}
.cp-step { font-size: 12px; color: rgba(255,255,255,0.8); }
.cp-step strong { color: #fff; }
.cp-arrow { font-size: 14px; color: var(--accent); }

@media (max-width: 768px) {
  .cp-right { flex: 1 1 100%; }
  .cp-inner { gap: 2.5rem; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s, transform 0.5s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { flex-direction: column; padding-top: 100px; text-align: center; gap: 2rem; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-bg-text { display: none; }
  .printer-card { width: 200px; height: 240px; }
  .printer-icon { font-size: 48px; }
  .step-arrow { display: none; }
  .steps { gap: 1rem; }
  .kontak-wrap { gap: 2rem; }
  .section { padding: 60px 1.25rem; }
}
