/* ============================================================
   DESIGN PRINT — Design System
   Concept: the site borrows its own trade's vernacular — print
   job tickets, registration marks, spot-color separations —
   as its visual language instead of generic SaaS/agency tropes.
   ============================================================ */

:root {
  /* Color — warm "paper" background, print-registration red as the one accent */
  --paper: #FAF8F4;
  --paper-alt: #F1ECE2;      /* uncoated-stock alternate section tone */
  --ink: #17181C;
  --ink-soft: #5B5D63;
  --ink-faint: #8B8D93;
  --line: #E6E1D6;
  --accent: #D6472F;         /* registration-mark red */
  --accent-ink: #AD3A25;
  --accent-soft: #F6E2DC;
  --teal: #2F6F62;           /* second spot color, used sparingly */
  --teal-soft: #E3ECE9;
  --paper-card: #FFFFFF;

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --maxw: 1160px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; color: var(--ink-soft); }

/* -------------------- eyebrow / job-ticket label -------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 14px; height: 14px;
  background: var(--reg-mark, none);
}
.regmark {
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.regmark circle, .regmark line { stroke: var(--accent); }

/* -------------------- buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(214,71,47,0.25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* -------------------- nav -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-decoration: none; color: var(--ink); display:flex; align-items:center; gap:8px; }
.brand .regmark { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 76px 0 0 0; background: var(--paper); flex-direction: column; padding: 30px 28px; gap: 22px; transform: translateY(-110%); transition: transform .25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* -------------------- hero -------------------- */
.hero { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { font-size: 1.15rem; max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.6rem; }
.hero-stats div span { font-size: 12.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }

/* job-ticket visual panel used in hero */
.job-ticket {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(23,24,28,0.06);
  position: relative;
}
.job-ticket::before, .job-ticket::after {
  content: ''; position: absolute; width: 16px; height: 16px;
  border: 1.5px solid var(--line); border-radius: 50%;
}
.job-ticket::before { top: -8px; left: -8px; }
.job-ticket::after { bottom: -8px; right: -8px; }
.job-ticket-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.job-ticket-row:last-child { border-bottom: none; }
.job-ticket-row span:first-child { color: var(--ink-faint); font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.job-ticket-row span:last-child { font-weight: 600; }
.job-ticket-swatches { display: flex; gap: 8px; margin-top: 18px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.06); }

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

/* -------------------- section shells -------------------- */
section { padding: 76px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 620px; margin-bottom: 46px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* -------------------- trust bar -------------------- */
.trust-bar { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-pill {
  font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft);
}

/* -------------------- services grid -------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(23,24,28,0.08); }

/* signature "misregistration" hover — a nod to print misalignment */
.mis-title { position: relative; display: inline-block; }
.mis-title::before, .mis-title::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.card:hover .mis-title::before { opacity: 0.55; color: var(--accent); transform: translate(1.5px, 0); }
.card:hover .mis-title::after { opacity: 0.55; color: var(--teal); transform: translate(-1.5px, 0.5px); }

.card .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-bottom: 16px; display: block; }
.card h3 { margin: 6px 0 10px; }
.card p { font-size: 14.5px; }
.card-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { stroke: var(--accent); }

/* -------------------- process -------------------- */
.process { display: flex; flex-direction: column; }
.process-step { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 4px; }
.process-body h3 { margin-bottom: 8px; }
.process-body p { max-width: 60ch; }

/* -------------------- portfolio -------------------- */
.portfolio-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper-card); }
.portfolio-thumb {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint);
  position: relative;
}
.portfolio-body { padding: 20px; }
.portfolio-tag { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; color: var(--teal); letter-spacing: 0.05em; }
.portfolio-body h3 { margin: 8px 0 4px; font-size: 1.05rem; }

/* -------------------- callout / banner -------------------- */
.banner {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: center;
}
.banner h2 { color: #fff; }
.banner p { color: rgba(255,255,255,0.72); margin-top: 12px; }
.banner .btn-primary { background: var(--accent); }
.banner .eyebrow { color: var(--accent); }
@media (max-width: 860px) { .banner { grid-template-columns: 1fr; text-align: left; } }

/* -------------------- testimonial -------------------- */
.testimonial { max-width: 720px; }
.testimonial blockquote { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin: 0 0 20px; line-height: 1.35; color: var(--ink); }
.testimonial cite { font-style: normal; font-size: 14px; color: var(--ink-faint); }

/* -------------------- footer -------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 46px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 16px; font-weight: 500; }
.footer-grid a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; gap: 10px;}

/* -------------------- whatsapp floating button -------------------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 60;
  background: var(--accent); color: #fff; width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(214,71,47,0.35);
  text-decoration: none;
}

/* -------------------- reveal-on-scroll -------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
