/* Purplo Consulting — minimalist type-first design system
   Inspired by: neishnetworks.com (typographic restraint, hairline dividers)
   and dyrand.com (problem-led warmth). One accent color. No stock photos. */

:root {
  /* Palette derived from the Purplo logo: #0257c2 (deep blue), #008eda (bright blue) */
  --ink: #12202f;
  --ink-soft: #3f5062;
  --muted: #6b7a8f;
  --paper: #ffffff;
  --paper-warm: #f8fafc;
  --accent: #0257c2;
  --accent-dark: #02479e;
  --accent-bright: #008eda;
  --accent-tint: #e9f2fc;
  --line: #e4eaf3;
  --radius: 6px;
  --max: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 600; }

p { color: var(--ink-soft); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.kicker {
  display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px; height: 68px;
}
.logo { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.03em; color: var(--ink); display: flex; align-items: center; }
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
.logo img { height: 46px; width: auto; display: block; }
.site-footer .logo img { height: 38px; }

.nav { display: flex; gap: 24px; align-items: center; margin-left: auto; }
.nav a { color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .active { color: var(--ink); font-weight: 600; }

.dropdown { position: relative; }
.dropdown > a::after { content: " ▾"; font-size: 0.7em; color: var(--muted); }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: -12px; padding: 8px 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(25,19,34,0.08); min-width: 230px;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 16px; }
.dropdown-menu a:hover { background: var(--accent-tint); }

.header-cta { display: flex; gap: 16px; align-items: center; }
.client-link { font-size: 0.85rem; color: var(--muted) !important; }

.btn {
  display: inline-block; padding: 11px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; border: 1.5px solid transparent;
  cursor: pointer; transition: all .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink) !important; background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent) !important; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; margin-left: auto; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.hr-section { border: 0; border-top: 1px solid var(--line); margin: 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.tinted { background: var(--paper-warm); }

/* Hero */
.hero { padding: 96px 0 84px; }
.hero .wrap { max-width: 880px; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { font-size: 1.22rem; max-width: 620px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }

/* Proof strip */
.proof-strip { display: flex; gap: 40px; flex-wrap: wrap; padding: 26px 0; }
.proof-strip div { font-size: 0.9rem; color: var(--muted); }
.proof-strip strong { display: block; font-size: 1.25rem; color: var(--ink); font-weight: 700; }

/* Cards & grids */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background: var(--paper);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card .more { display: inline-block; margin-top: 14px; font-size: 0.9rem; font-weight: 600; }
.card .more::after { content: " →"; }

/* Pain list */
.pain-list { list-style: none; max-width: 680px; }
.pain-list li {
  padding: 18px 0 18px 34px; border-bottom: 1px solid var(--line);
  position: relative; color: var(--ink-soft); font-size: 1.05rem;
}
.pain-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pain-list li:last-child { border-bottom: 0; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num {
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 10px; display: block;
}

/* Pricing */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 2rem; font-weight: 750; letter-spacing: -0.02em; margin: 14px 0 2px; }
.plan .per { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0 0 24px; flex: 1; }
.plan ul li { padding: 7px 0 7px 26px; position: relative; font-size: 0.92rem; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan.featured { border-color: var(--accent); border-width: 2px; }
.plan .flag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 6px; }

/* Quote / testimonial */
.pullquote { max-width: 720px; }
.pullquote blockquote { font-size: 1.35rem; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.pullquote cite { display: block; margin-top: 18px; font-style: normal; font-size: 0.9rem; color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 20px 0; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; max-width: 680px; }

/* Forms */
.form-grid { display: grid; gap: 18px; max-width: 560px; }
label { font-size: 0.85rem; font-weight: 600; display: block; margin-bottom: 6px; color: var(--ink); }
input, select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 0.95rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-status { font-size: 0.95rem; font-weight: 600; margin-top: 8px; }
.form-status.ok { color: #0a7d3d; }
.form-status.err { color: #c02626; }

/* Lead magnet band */
.magnet { background: var(--ink); color: #fff; }
.magnet h2, .magnet strong { color: #fff; }
.magnet p { color: #c3d2e3; }
.magnet .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.magnet form { display: flex; gap: 10px; }
.magnet input { border-color: transparent; }
.magnet .kicker { color: #6fc3f2; }

/* CTA band */
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }

/* Blog */
.post-list article { padding: 28px 0; border-bottom: 1px solid var(--line); max-width: 720px; }
.post-list h3 { margin-bottom: 6px; }
.post-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.prose { max-width: 720px; }
.prose h2 { margin: 42px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose p, .prose li { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 18px; color: var(--ink-soft); }
.prose table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 0.93rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; color: var(--ink-soft); }
.prose th { background: var(--paper-warm); color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--paper-warm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink-soft); font-size: 0.92rem; }
.site-footer .logo { display: inline-block; margin-bottom: 12px; }
.site-footer address { font-style: normal; font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }

/* Booking lightbox */
.booking-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(25,19,34,0.65); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.booking-modal {
  position: relative; width: min(960px, 100%); height: min(720px, 92vh);
  background: var(--paper); border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(25,19,34,0.4);
}
.booking-modal iframe { width: 100%; height: 100%; border: 0; }
.booking-close {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 1.3rem; line-height: 1;
}
.booking-close:hover { background: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-2, .grid-3, .footer-grid, .magnet .wrap { grid-template-columns: 1fr; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 16px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .dropdown-menu { position: static; display: block; border: 0; box-shadow: none; padding: 4px 0 0 14px; }
  .dropdown > a::after { content: ""; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
}
