/* ============================================================
   POINTTECH PROS — Design System
   Sister brand to ShipPoint Center
   Palette: Warm white / Near-black / Burnt-orange
   Fonts: Syne (display) + DM Sans (body) + JetBrains Mono
   ============================================================ */

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --bg:          #F6F4EE;
  --bg-warm:     #EFECE4;
  --ink:         #0F0F0D;
  --ink-2:       #3A3A36;
  --ink-3:       #7A7A72;
  --orange:      #C2410C;
  --orange-deep: #9A3309;
  --orange-tint: #FEF0E9;
  --dark:        #141410;
  --dark-2:      #1F1F1A;
  --white:       #FDFCF8;

  --font-display: 'Onest', sans-serif;
  --font-body:    'Onest', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --r:   6px;
  --r-lg: 12px;
  --max: 1100px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: min(var(--max), 100% - 3rem);
  margin-inline: auto;
}
.container--narrow {
  width: min(740px, 100% - 3rem);
  margin-inline: auto;
}
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.section--dark {
  background: var(--dark);
  color: var(--white);
}
.section--warm {
  background: var(--bg-warm);
}
.section--orange {
  background: var(--orange);
  color: var(--white);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(15,15,13,0.1);
  padding-block: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(var(--max), 100% - 3rem);
  margin-inline: auto;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.nav__logo span { color: var(--orange); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--orange); }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav__phone {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-3);
}
/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .nav__links, .nav__phone { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 200;
  }
  .nav__links.open a {
    font-size: 1.5rem;
    color: var(--white);
  }
  .nav__links.open .btn--sm { font-size: 1rem; }
  .nav__close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    z-index: 201;
    background: none;
    border: none;
  }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75em 1.6em;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}
.btn--outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn--lg {
  padding: 0.9em 2em;
  font-size: 1.0625rem;
}
.btn--sm {
  padding: 0.55em 1.25em;
  font-size: 0.85rem;
}
.btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(4rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, var(--orange-tint) 0%, transparent 60%);
  pointer-events: none;
}
.hero--dark {
  background: var(--dark);
  color: var(--white);
}
.hero--dark::before {
  background: radial-gradient(ellipse at 30% 50%, rgba(194,65,12,0.15) 0%, transparent 60%);
}
.hero__content {
  position: relative;
  max-width: 800px;
}
.hero__eyebrow { margin-bottom: 1.25rem; }
.hero__heading { margin-bottom: 1.25rem; }
.hero__sub {
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dark);
  color: var(--white);
  padding: 0.4em 1em;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}
.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* ── Section headers ─────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header--center { text-align: center; }
.section-header .eyebrow { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 560px; color: var(--ink-2); }
.section-header--center p { margin-inline: auto; }

/* ── Cards ────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.card {
  background: var(--white);
  border: 1px solid rgba(15,15,13,0.08);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.25s;
}
.card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(194,65,12,0.1);
}
.card--dark {
  background: var(--dark-2);
  border-color: rgba(255,255,255,0.06);
  color: var(--white);
}
.card--dark:hover {
  border-color: var(--orange);
}
.card__icon {
  width: 48px;
  height: 48px;
  background: var(--orange-tint);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card--dark .card__icon {
  background: rgba(194,65,12,0.2);
}
.card__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.card__body { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.6; }
.card--dark .card__body { color: rgba(255,255,255,0.65); }

/* ── Service detail ──────────────────────────────────────────── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(15,15,13,0.08);
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) .service-block__text { order: 2; }
.service-block:nth-child(even) .service-block__visual { order: 1; }
@media (max-width: 700px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block__text,
  .service-block:nth-child(even) .service-block__visual { order: unset; }
}
.service-block__visual {
  background: var(--dark);
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.service-block__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(194,65,12,0.2) 0%, transparent 70%);
}
.service-block__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.service-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.service-block .outcome {
  background: var(--orange-tint);
  border-left: 3px solid var(--orange);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--orange-deep);
  margin-top: 1.25rem;
}
.service-block ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-block ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.service-block ul li::before {
  content: '→';
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--dark);
  color: var(--white);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(194,65,12,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner__content { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; max-width: 500px; margin-inline: auto; }

/* ── Checklist ────────────────────────────────────────────────── */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.checklist li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.1em;
}

/* ── Areas strip ─────────────────────────────────────────────── */
.areas-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.areas-strip__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid rgba(15,15,13,0.12);
  border-radius: 100px;
  padding: 0.4em 1em;
  font-size: 0.85rem;
  font-weight: 500;
}
.areas-strip__tag .pin { font-size: 0.85rem; }

/* ── Comparison table ────────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.9375rem;
}
.compare-table th, .compare-table td {
  padding: 0.85rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(15,15,13,0.08);
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  background: var(--bg-warm);
}
.compare-table thead th.highlight {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--r) var(--r) 0 0;
}
.compare-table .check { color: var(--orange); font-weight: 700; }
.compare-table .cross { color: var(--ink-3); }
.compare-table tr:hover td { background: var(--bg-warm); }

/* ── Contact form ────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(15,15,13,0.15);
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(194,65,12,0.12);
}
.field textarea { resize: vertical; min-height: 140px; }

/* ── Info block ──────────────────────────────────────────────── */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.info-item__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--orange-tint);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.info-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin-bottom: 0.2rem;
}
.info-item__value {
  font-weight: 500;
  color: var(--ink);
}

/* ── Stats ────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  color: var(--orange);
  line-height: 1;
}
.stat__label {
  font-size: 0.875rem;
  color: var(--ink-3);
  margin-top: 0.4rem;
}

/* ── Pain points ─────────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.pain-card {
  border: 1px solid rgba(15,15,13,0.08);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  background: var(--white);
}
.pain-card__q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.pain-card__a {
  font-size: 0.875rem;
  color: var(--orange);
  font-weight: 500;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding-block: 3rem;
  font-size: 0.875rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  width: min(var(--max), 100% - 3rem);
  margin-inline: auto;
}
@media (max-width: 640px) { .footer__inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer__logo span { color: var(--orange); }
.footer__tagline { margin-bottom: 1rem; }
.footer__sister {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer__sister a { color: var(--orange); }
.footer__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a:hover { color: var(--white); transition: color 0.2s; }
.footer__bottom {
  width: min(var(--max), 100% - 3rem);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

/* ── Page hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding-block: clamp(3rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(194,65,12,0.15) 0%, transparent 60%);
}
.page-hero__content { position: relative; }

/* ── Animations ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.6s ease forwards;
  }
  .fade-up:nth-child(1) { animation-delay: 0.05s; }
  .fade-up:nth-child(2) { animation-delay: 0.15s; }
  .fade-up:nth-child(3) { animation-delay: 0.25s; }
  .fade-up:nth-child(4) { animation-delay: 0.35s; }
  @keyframes fadeUp {
    to { opacity: 1; transform: none; }
  }
}

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-block: 1.5rem;
}

/* ── Testimonial ─────────────────────────────────────────────── */
.testimonial {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid rgba(15,15,13,0.08);
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--orange);
  opacity: 0.15;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}
.testimonial__body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  font-style: italic;
  position: relative;
}
.testimonial__attr {
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
}
.testimonial__attr span { color: var(--ink-3); font-weight: 400; }

/* ── Noise grain overlay ─────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
}
