@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* -----------------------------------------
   Process Clarity — Design Tokens
----------------------------------------- */

:root {
  --pc-black: #111111;
  --pc-dark: #222222;
  --pc-mid: #555555;
  --pc-light: #f5f5f5;
  --pc-accent: #2a6df4;
  --pc-accent-alt: #2a6df4;
  --pc-bg: #f7f7f7;
  --pc-surface: #ffffff;
  --pc-text: #1a1a1a;
  --pc-muted: #6a6a6a;
  --pc-border: #e2e2e2;

  /* Spacing scale — engineered rhythm */
  --pc-space-1: 0.5rem;
  --pc-space-2: 1rem;
  --pc-space-3: 1.5rem;
  --pc-space-4: 2rem;
  --pc-space-5: 3rem;
  --pc-space-6: 4rem;

  /* Typography */
  --pc-font-body: system-ui, sans-serif;
  --pc-font-size-base: 1rem;
  --pc-font-size-h1: 2.4rem;
  --pc-font-size-h2: 1.8rem;
  --pc-font-size-h3: 1.3rem;

  /* Components */
  --pc-radius: 10px;
  --pc-shadow: 0 4px 14px rgba(0,0,0,0.06);

  /* Layout */
  --pc-max-width: 900px;
}

/* -----------------------------------------
   Base
----------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--pc-font-body);
  font-size: var(--pc-font-size-base);
  line-height: 1.65;
  color: var(--pc-text);
  background: var(--pc-bg);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

section {
  margin: 3.5rem 0;
}

/* Also allow token-based section/footer layout if used */
section,
footer {
  max-width: var(--pc-max-width);
  margin: 0 auto;
  padding: var(--pc-space-5) var(--pc-space-3);
}

/* -----------------------------------------
   Header & Nav
----------------------------------------- */

header {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

header.hero {
  padding-top: var(--pc-space-6);
}

header .brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

header .brand img {
  height: 250px;
  width: auto;
}

header h1 {
  font-size: 2.1rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

header p {
  margin: 0.8rem 0 0;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 400;
  color: var(--pc-mid);
  letter-spacing: 0.02em;
}

.pc-nav {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.pc-nav a {
  text-decoration: none;
  color: var(--pc-mid);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.pc-nav a:hover {
  color: var(--pc-black);
  font-weight: 600;
}

/* Centered brand variant */

.brand-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}

.brand-centered img {
  height: 72px;
  width: auto;
}

.brand-centered h1 {
  font-size: 2.1rem;
  font-weight: 600;
  margin: 0.4rem 0 0;
  letter-spacing: -0.01em;
}

.brand-centered .tagline {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--pc-mid);
  margin: 0.2rem 0 0.6rem;
}

.nav-centered {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 0.4rem;
}

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

h1, h2, h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--pc-black);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 0;
  font-weight: 600;
  margin-bottom: var(--pc-space-2);
}

h1 {
  font-size: var(--pc-font-size-h1);
  line-height: 1.2;
}

h2 {
  font-size: 2.1rem;          /* visual override */
  margin-bottom: 1.2rem;
  margin-top: var(--pc-space-5);
}

h3 {
  font-size: 1.45rem;         /* visual override */
  margin-bottom: 0.8rem;
}

p,
li {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--pc-dark);
  margin-bottom: 1.2rem;
}

.hero h2 {
  line-height: 1.75;
}

.hero-subheadline,
.nowin,
.systems {
  line-height: 2.5;
}

/* Lists */

ul {
  padding-left: var(--pc-space-3);
  margin-top: var(--pc-space-2);
}

ul li {
  margin-bottom: var(--pc-space-1);
  color: var(--pc-muted);
}

/* -----------------------------------------
   Imagery blocks
----------------------------------------- */

.method-visual,
.system-behaviour,
.journey-hospitality,
.journey-dental,
.pc-method {
  max-width: 900px;
  margin: 0 auto;
}

.method-visual img,
.system-behaviour img,
.journey-hospitality img,
.journey-dental img,
.pc-method img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------
   CTA Panel
----------------------------------------- */

.pc-cta {
  background: #f7f9fb;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  border-top: 1px solid #e3e7eb;
  border-bottom: 1px solid #e3e7eb;
  margin-top: 60px;
}

.pc-cta-container {
  max-width: 720px;
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pc-cta-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

.pc-cta h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #1a1f36;
  font-weight: 600;
}

.pc-cta p {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 32px;
  line-height: 1.6;
}

.pc-cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: #1a1f36;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.25s ease;
}

.pc-cta-button:hover {
  background: #000;
  transform: translateY(-3px);
}

/* -----------------------------------------
   Sector selector cards
----------------------------------------- */

.sector-card {
  display: block;
  padding: 1.8rem;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: white;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

/* Ensure no underline anywhere inside the card */
.sector-card,
.sector-card *,
.sector-card:link,
.sector-card:visited,
.sector-card:hover,
.sector-card:active {
  text-decoration: none !important;
}

.sector-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--pc-dark);
}

.sector-card p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--pc-mid);
}

.sector-card:hover {
  border-color: var(--pc-accent);
  transform: translateY(-2px);
}

/* If you want the alt accent available for JS/theming, keep token only */
/* --pc-accent-alt left in :root */

/* Grid of sectors (if this is an image-style grid card) */
.sector-grid {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* CTA card grid (separate pattern) */

.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 3rem;
  margin: 5rem 0 4rem;
  padding: 0 1rem;
}

.cta-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cta-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #333;
}

.cta-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  color: #555;
}

.cta-card .cta-button {
  align-self: flex-start;
  margin-top: auto;
  background-color: #0066cc;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-card:hover .cta-button {
  background-color: #0052a3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-cards {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------
   Method steps grid
----------------------------------------- */

.method-steps {
  display: grid;
  gap: var(--pc-space-4);
  margin-top: var(--pc-space-4);
}

.step {
  background: var(--pc-surface);
  padding: var(--pc-space-3);
  border-radius: var(--pc-radius);
  border: 1px solid var(--pc-border);
  box-shadow: var(--pc-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* -----------------------------------------
   Forms
----------------------------------------- */

.contact-form {
  max-width: 520px;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  border: 1px solid #d8d8d8;
  font: inherit;
  margin-bottom: 1.1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

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

footer {
  border-top: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--pc-mid);
  font-size: 0.9rem;
  text-align: center;
}

footer .footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

footer .footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pc-mid);
}

footer a {
  color: var(--pc-mid);
  text-decoration: none;
}

footer a:hover {
  color: var(--pc-black);
}

/* Utility footer block if used separately */
.footer {
  text-align: center;
  color: var(--pc-muted);
  padding: var(--pc-space-5) var(--pc-space-3);
}

/* -----------------------------------------
   Reveal / fade-in
----------------------------------------- */

/* Safe default: visible if JS doesn't run */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------
   Responsive method steps
----------------------------------------- */

@media (min-width: 900px) {
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .method-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
