/* ──────────────────────────────────────────────────────────
   INTINVFEST LIMITED — shared stylesheet
   ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #111418;
  --ink-mid: #3a3f47;
  --ink-soft: #6b717a;
  --ink-faint: #9aa0aa;
  --accent: #1a56e8;
  --accent-mid: #3b6ef5;
  --accent-pale: #e8eeff;
  --warm: #f6f2ec;
  --warm-mid: #ede8df;
  --sand: #d4c9b5;
  --white: #ffffff;
  --border: #e4e1db;
  --border-dark: #ccc8c0;
  --serif: 'Arvo', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--white); color: var(--ink); line-height: 1.7; overflow-x: hidden; font-size: 17px; }
a { color: var(--accent); }

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.88rem; font-weight: 400; transition: color 0.2s; font-family: var(--serif); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { font-weight: 700; }
.nav-cta { background: var(--ink) !important; color: var(--white) !important; padding: 0.5rem 1.2rem; border-radius: 100px; font-weight: 700 !important; font-size: 0.85rem !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--ink-mid) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: all 0.3s; }

/* ── BUTTONS ── */
.btn-dark { background: var(--ink); color: var(--white); padding: 0.9rem 2rem; border: none; border-radius: 100px; font-size: 0.95rem; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.2s; font-family: var(--serif); }
.btn-dark:hover { background: var(--ink-mid); color: var(--white); }
.btn-light { background: transparent; color: var(--ink); padding: 0.9rem 2rem; border: 1.5px solid var(--border-dark); border-radius: 100px; font-size: 0.95rem; font-weight: 400; cursor: pointer; text-decoration: none; display: inline-block; transition: border-color 0.2s, color 0.2s; font-family: var(--serif); }
.btn-light:hover { border-color: var(--ink); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--white); padding: 0.9rem 2rem; border: none; border-radius: 100px; font-size: 0.95rem; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.2s; font-family: var(--serif); }
.btn-accent:hover { background: var(--accent-mid); color: var(--white); }

/* ── PAGE HEADER (non-home pages) ── */
.page-header {
  padding: 9rem 5% 4rem;
  background: var(--warm);
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.page-header-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--sand); }
.page-header h1 {
  font-family: var(--serif); font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700; color: var(--ink); line-height: 1.1;
  letter-spacing: -0.01em; max-width: 800px;
}
.page-header h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-header .lede {
  font-size: 1.15rem; color: var(--ink-soft); line-height: 1.7;
  max-width: 680px; margin-top: 1.5rem; font-weight: 300;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  font-family: var(--serif); font-size: 0.78rem; color: var(--ink-faint);
  margin-bottom: 1rem; letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.5rem; color: var(--ink-faint); }

/* ── SECTION ── */
.section { padding: 6rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section.warm { background: var(--warm); }
.section.dark { background: var(--ink); color: rgba(255,255,255,0.7); }
.section.dark h2, .section.dark h3 { color: var(--white); }

.eyebrow {
  font-family: var(--serif); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.5rem;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--sand); }
.section.dark .eyebrow { color: rgba(255,255,255,0.4); }
.section.dark .eyebrow::before { background: rgba(255,255,255,0.18); }

h2.section-title {
  font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -0.01em;
}
.section.dark h2.section-title { color: var(--white); }
h2.section-title em { font-style: italic; color: var(--accent); font-weight: 400; }

h3.subhead {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  color: var(--ink); margin-bottom: 1rem; line-height: 1.3; letter-spacing: -0.005em;
}
h3.subhead em { font-style: italic; color: var(--accent); font-weight: 400; }

.section-lead {
  font-size: 1.05rem; color: var(--ink-soft); line-height: 1.85;
  max-width: 620px; margin-top: 1rem; font-weight: 300;
}

/* ── PROSE (long-form text content) ── */
.prose p { font-size: 1.0rem; color: var(--ink-mid); line-height: 1.85; margin-bottom: 1.2rem; font-weight: 300; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--ink); margin-top: 2.5rem; margin-bottom: 1rem; line-height: 1.25; }
.prose h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-top: 2rem; margin-bottom: 0.75rem; }
.prose h4 { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--ink); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.4rem; }
.prose li { font-size: 1rem; color: var(--ink-mid); line-height: 1.85; margin-bottom: 0.4rem; font-weight: 300; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem; margin: 1.8rem 0;
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-style: italic;
  line-height: 1.6;
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ── FOOTER ── */
footer {
  background: var(--ink); padding: 4rem 5% 2.5rem;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 2rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.footer-logo-wrap { background: white; padding: 8px 14px; border-radius: 8px; display: inline-block; margin-bottom: 1rem; }
.footer-logo-wrap img { height: 36px; width: auto; display: block; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.35); line-height: 1.78; margin-bottom: 1.25rem; font-weight: 300; }
.footer-lic { font-size: 0.75rem; color: rgba(255,255,255,0.18); line-height: 1.6; }
.footer-col h4 { font-family: var(--serif); font-size: 0.7rem; color: rgba(255,255,255,0.32); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.1rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; max-width: 1200px; margin: 0 auto; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.22); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════
   MOBILE OVERHAUL — complete responsive
   ══════════════════════════════════════ */
@media (max-width: 768px) {

  /* NAV */
  .nav-links {
    display: none;
    position: fixed; top: 61px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 5% 1.5rem;
    gap: 0; border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    list-style: none;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block; padding: 0.85rem 0;
    font-size: 1rem; color: var(--ink);
  }
  /* Hide Invoice Generator from mobile nav — it's internal */
  .nav-links .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* HERO */
  .hero {
    min-height: auto;
    padding: 7rem 5% 3.5rem;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: 2.6rem; line-height: 1.08; margin-bottom: 1.25rem; }
  .hero-lead { font-size: 1rem; margin-bottom: 2rem; }
  /* Hide the side panel on mobile — content already in hero text */
  .hero-side { display: none; }

  /* SECTIONS */
  .section { padding: 3.5rem 5%; }
  h2.section-title { font-size: 1.75rem; }
  .section-lead { font-size: 0.95rem; }

  /* SERVICES GRID — stack */
  .svc-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* ABOUT SUMMARY */
  .about-summary { grid-template-columns: 1fr; gap: 2rem; }
  .about-numbers { grid-template-columns: repeat(3, 1fr); }

  /* KEY FACTS — 2 columns instead of 4 stacked */
  .keyfacts-grid {
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }
  .keyfact {
    padding: 1.5rem 1.25rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .keyfact:nth-child(2) { border-right: none; }
  .keyfact:nth-child(3) { border-bottom: none; }
  .keyfact:nth-child(4) { border-right: none; border-bottom: none; }
  .kf-num { font-size: 2.2rem; }

  /* PULL QUOTE */
  .pullquote-section { padding: 4rem 5%; }
  .pullquote { font-size: 1.3rem; }
  .pullquote-mark { font-size: 5rem; margin-bottom: -2rem; }

  /* CTA BANNER */
  .cta-banner { padding: 3.5rem 5%; }
  .cta-buttons { flex-direction: column; align-items: center; }

  /* INVOICE TOOL BLOCK */
  .invoice-tool-block { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

  /* FOOTER */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* PAGE HEADER (inner pages) */
  .page-header { padding: 7rem 5% 2.5rem; }
  .page-header h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .keyfacts-grid { grid-template-columns: 1fr; }
  .keyfact { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .keyfact:last-child { border-bottom: none !important; }
}

/* Invoice tool section */
.invoice-tool-section { padding: 3rem 5%; background: var(--warm); border-top: 1px solid var(--border); }
.invoice-tool-block { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }

/* Footer company name (replaces logo image) */
.footer-name-wrap { margin-bottom: 1rem; }
.footer-name-text { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--white); }
.footer-name-suffix { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: rgba(255,255,255,0.45); }
