/* ============================================================
   PRINT EASY SHEFALI LIMITED — Design tokens
   Concept: the "Corporate Register" — a firm that treats every
   engagement like a formal instrument. Ledger numbering, letterhead
   header, a certificate-style entity block. Navy + muted gold,
   serif display over a clean grotesque body.
   ============================================================ */

:root {
  /* Color */
  --ink: #0b1e33;        /* primary navy, headings */
  --steel: #1b3a5c;      /* secondary navy */
  --signal: #2f6fed;     /* action blue */
  --gold: #a9822f;       /* seal / accent gold */
  --gold-soft: #e8dcbd;  /* gold tint for fills */
  --paper: #f3f5f8;      /* cool paper background */
  --paper-raised: #ffffff;
  --slate: #55657a;      /* secondary text */
  --line: #d7dee6;       /* hairline rules */
  --line-strong: #b9c4d1;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --radius: 2px;
}

* { 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;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.04; font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.12; }
h3 { font-size: 1.35rem; line-height: 1.3; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

p.lede { font-size: 1.15rem; color: var(--slate); max-width: 58ch; }
.body-text { color: var(--slate); max-width: 62ch; }

/* ---------- Header / letterhead ---------- */
header.letterhead {
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
  position: sticky;
  top: 0;
  z-index: 50;
}
.letterhead .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.seal {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.4px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 2px;
}
nav.primary {
  display: flex;
  gap: 34px;
  font-size: 0.9rem;
}
nav.primary a {
  color: var(--steel);
  position: relative;
  padding: 4px 0;
}
nav.primary a.active,
nav.primary a:hover { color: var(--ink); }
nav.primary a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
}
.cta-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: var(--radius);
  white-space: nowrap;
  border: 1px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.cta-btn:hover { background: transparent; color: var(--ink) !important; }
.cta-btn.ghost {
  background: transparent;
  color: var(--ink) !important;
}
.cta-btn.ghost:hover { background: var(--ink); color: #fff !important; }

.mobile-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
}
.hero h1 span { color: var(--steel); }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; align-items: center; }
.text-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Ledger / certificate block ---------- */
.ledger {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 30px 32px;
}
.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.ledger-head .no { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); letter-spacing: 0.08em; }
.ledger-head h4 { font-size: 0.92rem; color: var(--ink); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--line-strong);
  font-size: 0.88rem;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row .k { color: var(--slate); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.03em; }
.ledger-row .v { color: var(--ink); text-align: right; }
.ledger-row .v.status {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Section framing ---------- */
section { padding: 84px 0; }
section.tight { padding: 60px 0; }
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 52px;
}
.section-head .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  padding-top: 10px;
}
.section-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .body-text, .section-dark p.lede { color: #b9c6d6; }
.section-dark .eyebrow { color: var(--gold); }

/* ---------- Service ledger list ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-item {
  display: grid;
  grid-template-columns: 90px 1fr 1.3fr;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-item .ref {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.95rem;
  padding-top: 4px;
}
.service-item h3 { margin-bottom: 10px; }
.service-item .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line-strong);
  padding: 5px 10px;
  border-radius: var(--radius);
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--paper-raised);
  padding: 32px;
}
.card .idx { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--slate); font-size: 0.92rem; margin: 0; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.stat { padding: 28px 30px; border-left: 1px solid var(--line-strong); }
.stat:first-child { border-left: none; }
.stat .n { font-family: var(--font-display); font-size: 2.1rem; color: var(--ink); }
.stat .l { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); margin-top: 6px; }

/* ---------- Process steps ---------- */
.process { border-top: 1px solid var(--line); }
.process-row {
  display: grid;
  grid-template-columns: 70px 220px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.process-row .ref { font-family: var(--font-mono); color: var(--gold); font-size: 0.85rem; }
.process-row h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink); }
.process-row p { margin: 0; color: var(--slate); font-size: 0.92rem; }

/* ---------- Testimonial / quote block ---------- */
.testimonial {
  border-left: 2px solid var(--gold);
  padding-left: 28px;
}
.testimonial p { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4; color: var(--ink); font-weight: 400; }
.testimonial .attrib { font-family: var(--font-mono); font-size: 0.76rem; color: var(--slate); margin-top: 16px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- CTA banner ---------- */
.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #b9c6d6;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid #24405f;
}
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f93ab;
  margin: 0 0 16px;
}
.footer-grid a, .footer-grid p { color: #cfd9e6; font-size: 0.88rem; display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #7f93ab;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-raised);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Utility ---------- */
.mt-40 { margin-top: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.primary { display: none; }
  .mobile-toggle { display: block; font-family: var(--font-mono); font-size: 0.8rem; border: 1px solid var(--line-strong); padding: 8px 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .service-item { grid-template-columns: 1fr; gap: 10px; }
  .process-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
