/* ============================================================
   JPH Consulting — jphconsulting.eu
   Design tokens first: adjust the whole site from :root.
   ============================================================ */

:root {
  /* Palette — from Jana's JPH Consulting logo: teal #047a8f + sand #ceb99e */
  --green-950: #022f38;
  --green-900: #04424d;
  --green-800: #035c6b;
  --green-700: #047a8f;
  --green-600: #12889c;
  --sage: #7fb3bd;
  --sage-light: #dcebee;
  --cream: #faf8f4;
  --paper: #ffffff;
  --ink: #1a272b;
  --muted: #55686d;
  --line: #e0e5e2;
  --gold: #8f7657;   /* sand, deepened for contrast on light backgrounds */
  --sand: #ceb99e;   /* logo sand, for dark backgrounds */

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow: 0 2px 24px rgba(22, 49, 31, 0.08);
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green-700); }

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

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--green-950);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--green-800);
  color: #fff;
}
.btn-primary:hover { background: var(--green-950); transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--green-800);
  color: var(--green-800);
  background: transparent;
}
.btn-ghost:hover { background: var(--green-800); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--green-900);
}
.btn-light:hover { background: var(--sage-light); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-950);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--green-700); }

.nav .btn { padding: 10px 22px; }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--green-950);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .nav.open { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--sage-light) 0%, transparent 60%),
    var(--cream);
}

.hero-inner { max-width: 760px; }

.hero h1 { margin-bottom: 22px; }

.hero .lead { margin-bottom: 36px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Dark hero variant (homepage) — logo teal with sand glow + brand motif */
.hero-dark {
  background:
    url("img/motif.png") no-repeat right -130px bottom -50px / 720px auto,
    radial-gradient(900px 480px at 82% -15%, rgba(206, 185, 158, 0.18), transparent 55%),
    linear-gradient(165deg, var(--green-950), var(--green-800));
}
.hero-dark h1 { color: #fff; }
.hero-dark .eyebrow { color: var(--sand); }
.hero-dark .lead { color: var(--sage-light); }
.hero-dark .hero-note { color: var(--sage); }
.hero-dark .btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.hero-dark .btn-ghost:hover { background: #fff; color: var(--green-900); border-color: #fff; }

/* Hero two-column grid: text + logo */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
}
.hero-logo img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(2, 47, 56, 0.35);
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { display: none; }
}

/* Sector chips (hero) */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Stat bar (under hero) */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.stats .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 40px;
}
.stat { font-size: 0.95rem; color: var(--muted); }
.stat strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-900);
  margin-right: 8px;
}

/* Service tag row */
.service-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .service-tags { grid-template-columns: 1fr; } }
.stag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-900);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.stag:hover { border-color: var(--green-700); transform: translateY(-1px); }
.stag .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Client logo carousel (right-to-left marquee) */
.logos-band { overflow: hidden; }
.marquee-logos {
  align-items: center;
  gap: 110px;
  animation-duration: 64s;
  padding: 10px 0;
}
.marquee-logos .logo-cell {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marquee-logos img { max-height: 52px; width: auto; }
.marquee-logos img.lg { max-height: 84px; }

/* ---------- Pain cards ---------- */

.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.pain {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.pain .q {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--green-950);
  margin-bottom: 12px;
}

.pain p { color: var(--muted); font-size: 0.95rem; }
.pain p strong { color: var(--green-800); }

/* ---------- Trust strip ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 26px 0;
}

.trust .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  align-items: baseline;
}

.trust-logos span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-800);
  opacity: 0.85;
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 16px; }
.section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Journey (two doors -> representation) ---------- */

.journey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.journey-entry { display: grid; gap: 24px; }

.journey-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.journey-card .step {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.journey-card h3 { margin-bottom: 10px; }

.journey-card p { color: var(--muted); font-size: 0.98rem; flex-grow: 1; }

.journey-card .card-link {
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.journey-card .card-link:hover { text-decoration: underline; }

.journey-dest {
  background: var(--green-900);
  border-color: var(--green-900);
}
.journey-dest .step { color: var(--sand); }
.journey-dest h3 { color: #fff; }
.journey-dest p { color: var(--sage-light); }
.journey-dest .card-link { color: #fff; }

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

/* ---------- Benefit grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.benefit h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit p { color: var(--muted); font-size: 0.95rem; }

.benefit .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- Testimonials marquee ---------- */

.testimonials { overflow: hidden; }

.marquee {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 45s linear infinite;
  padding: 8px 0;
}

.marquee:hover { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tcard {
  width: 380px;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.tcard blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--green-950);
  margin-bottom: 18px;
}

.tcard .who { font-size: 0.88rem; color: var(--muted); }
.tcard .who strong { color: var(--ink); display: block; }

@media (max-width: 640px) {
  .tcard { width: 300px; }
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

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

.portrait-img {
  width: 100%;
  height: auto;
  align-self: start;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--sage-light), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--line);
}

.about h2 { margin-bottom: 18px; }
.about p { margin-bottom: 16px; }

.cred-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }

.cred-list li {
  padding-left: 26px;
  position: relative;
  font-size: 0.98rem;
}

.cred-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 3px solid var(--green-700);
}

/* ---------- Tiers (offer cards) ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; max-width: 560px; }
}

.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
}

.tier.featured {
  border: 2px solid var(--green-700);
}

.tier .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-700);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.tier h3 { margin-bottom: 6px; }

.tier .tier-tag {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.tier ul {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.tier li {
  padding-left: 26px;
  position: relative;
  font-size: 0.93rem;
  color: var(--ink);
}

.tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

.tier li.muted { color: var(--muted); }
.tier li.muted::before { content: "＋"; color: var(--gold); }

.tier .duration {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 20px;
}

.tier .btn { text-align: center; }

/* ---------- Process timeline ---------- */

.timeline { display: grid; gap: 0; max-width: 720px; }

.tstep {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}

.tstep::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.tstep:last-child::before { display: none; }

.tstep .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--green-700);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tstep h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.tstep p { color: var(--muted); font-size: 0.96rem; }
.tstep .when {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Callout ---------- */

.callout {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
  box-shadow: var(--shadow);
  max-width: 760px;
}

.callout p { color: var(--ink); font-size: 1rem; }
.callout strong { color: var(--green-900); }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--green-950);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .answer { padding: 0 0 20px; color: var(--muted); max-width: 640px; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    url("img/motif.png") no-repeat right -160px center / 620px auto,
    var(--green-900);
  color: #fff;
  padding: 88px 0;
}

.cta-band .eyebrow { color: var(--sand); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }

.cta-band p {
  color: var(--sage-light);
  max-width: 560px;
  margin-bottom: 32px;
}

.cta-band .contact-line {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--sage);
}
.cta-band .contact-line a { color: var(--sage-light); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(900px 400px at 90% -20%, var(--sage-light) 0%, transparent 60%),
    var(--cream);
}

.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { max-width: 760px; margin-bottom: 20px; }
.page-hero .lead { margin-bottom: 32px; }

/* ---------- Two-column includes/purpose ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.split h3 {
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.check-list { list-style: none; display: grid; gap: 13px; }

.check-list li {
  padding-left: 30px;
  position: relative;
  font-size: 0.99rem;
}

.check-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-950);
  color: var(--sage);
  padding: 48px 0;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a { color: var(--sage-light); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- Utilities ---------- */

.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.center { text-align: center; }
