/* ziboseo.com — portfolio site styles. Plain CSS, no frameworks. */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e5eaf1;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-soft: #fff4ec;
  --dark: #0f172a;
  --radius: 12px;
  --max-w: 1120px;
  --narrow-w: 680px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

a { color: var(--accent-dark); }
img { max-width: 100%; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--narrow-w); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.brand-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-small { padding: 8px 18px; font-size: 0.9rem; background: var(--ink); color: #fff; }
.btn-small:hover { background: #1e293b; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 80px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 1em;
}
.accent { color: var(--accent); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 620px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-meta {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.hero-meta li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  background: var(--bg-soft);
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; scroll-margin-top: 64px; }
.section-alt { background: var(--bg-soft); }
.section-sub { color: var(--muted); max-width: 560px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card h3 { margin-top: 0.8em; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

.icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon svg { width: 24px; height: 24px; }

/* ---------- Work cards ---------- */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.facts { margin: 16px 0 0; }
.facts > div { padding: 10px 0; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: none; padding-top: 0; }
.facts dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-size: 0.95rem; }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  margin: 36px 0 0;
}
.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: #fff;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.steps p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- About / contact ---------- */
.placeholder-note {
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #92400e;
}
.placeholder-note code { font-size: 0.85em; }

form { margin-top: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}
.form-note { margin-top: 14px; font-size: 0.95rem; min-height: 1.5em; }
.form-note.ok { color: #15803d; }
.form-note.err { color: #b91c1c; }
.email-alt { margin-top: 24px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #cbd5e1; padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer p { margin: 0; font-size: 0.9rem; }
.footer a { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 52px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn):not(:last-child) { display: none; }
}
