/* ============================================================
   Pathways — shared stylesheet
   Brand recovered from pre-hack site:
   accent #F2760F · gradient #FF5E3A → #FF9500 · black / white
   Fonts: Raleway (headings) + Open Sans (body)
   ============================================================ */

:root {
  --orange:      #F2760F;
  --orange-dark: #d9640a;
  --grad:        linear-gradient(135deg, #FF5E3A 0%, #FF9500 100%);
  --grad-soft:   linear-gradient(135deg, #FF5E3A 0%, #FFB347 100%);
  --ink:         #0d0f12;   /* near-black for header/footer */
  --ink-2:       #16191f;
  --text:        #23272e;
  --muted:       #5c636e;
  --line:        #e6e8ec;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fb;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 10px 30px rgba(16, 20, 27, 0.08);
  --shadow-lg:   0 24px 60px rgba(16, 20, 27, 0.14);
  --container:   1160px;
  --ease:        cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Raleway", "Open Sans", sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

a { color: var(--orange); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--orange-dark); }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #cfd4dc; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head--left { margin-left: 0; text-align: left; }

.lead { font-size: 1.18rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: .98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 105, 40, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(255, 105, 40, .45); }
.btn-outline { border-color: var(--orange); color: var(--orange); background: transparent; }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 18, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav__logo img { height: 34px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  color: #d7dbe2;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: .96rem;
  padding: 9px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__links a.active { color: var(--orange); }
.nav__cta { margin-left: 10px; }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 78% -10%, rgba(255,149,0,.16), transparent 60%),
              radial-gradient(900px 500px at 8% 110%, rgba(255,94,58,.12), transparent 55%),
              var(--ink);
  color: #eef1f5;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 92px 0 96px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.2rem; color: #b7bec9; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__card {
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: #fff; font-size: 1.15rem; }
.hero__card ul { list-style: none; margin: 14px 0 0; padding: 0; }
.hero__card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #cdd3dc;
  font-size: .97rem;
}
.hero__card li:first-child { border-top: 0; }
.hero__card li svg { flex: 0 0 20px; margin-top: 2px; color: var(--orange); }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--ink-2);
  color: #aeb6c2;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: center;
  align-items: center;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: .95rem;
}
.trust__row span { display: inline-flex; align-items: center; gap: 9px; }
.trust__row svg { color: var(--orange); }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  color: #fff;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: .92rem;
}
.card__link svg { transition: transform .2s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat__num {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat__label { color: var(--muted); font-weight: 600; margin-top: 8px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-visual img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.split-visual--reverse { order: -1; }
@media (max-width: 900px) { .split-visual--reverse { order: 0; } }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 38px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.check-list li:first-child { border-top: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Service detail blocks (services page) ---------- */
.svc {
  scroll-margin-top: 90px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.svc + .svc { margin-top: 22px; }
.svc__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: #fff;
}
.svc__icon svg { width: 32px; height: 32px; }
.svc h3 { font-size: 1.4rem; margin-bottom: 6px; }
.svc__tag {
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.svc ul { margin: 14px 0 0; padding-left: 0; list-style: none; columns: 2; column-gap: 32px; }
.svc ul li { position: relative; padding: 5px 0 5px 22px; break-inside: avoid; color: var(--text); font-size: .96rem; }
.svc ul li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}

/* Anchor chips on services page */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.svc-nav a {
  font-family: "Raleway", sans-serif;
  font-weight: 600; font-size: .9rem;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text); background: #fff;
}
.svc-nav a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.price.featured { border: 2px solid var(--orange); box-shadow: var(--shadow); position: relative; }
.price.featured::after {
  content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-family: "Raleway", sans-serif; font-weight: 700;
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.price h3 { font-size: 1.3rem; }
.price .price__model { color: var(--orange); font-weight: 700; font-family: "Raleway", sans-serif; margin-bottom: 4px; }
.price p.small { color: var(--muted); font-size: .95rem; }
.price ul { list-style: none; margin: 18px 0 26px; padding: 0; flex: 1; }
.price ul li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--line); font-size: .96rem; }
.price ul li:first-child { border-top: 0; }
.price ul li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad);
  color: #fff;
  border-radius: 22px;
  padding: 52px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .btn { background: #fff; color: var(--ink); }
.cta-band .btn:hover { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  margin-bottom: 16px;
}
.contact-card__icon {
  width: 46px; height: 46px; border-radius: 12px; flex: 0 0 46px;
  display: grid; place-items: center; background: var(--grad-soft); color: #fff;
}
.contact-card h4 { margin: 0 0 3px; font-size: 1.02rem; }
.contact-card a, .contact-card p { margin: 0; color: var(--muted); }
.contact-card a:hover { color: var(--orange); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form label { display: block; font-family: "Raleway", sans-serif; font-weight: 600; font-size: .9rem; margin: 0 0 6px; color: var(--ink); }
.form .field { margin-bottom: 18px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--text); background: #fdfdfe; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,118,15,.15);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* Contact aside (replaces the old form) */
.contact-aside {
  background: var(--ink);
  color: #cfd4dc;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  height: 100%;
}
.contact-aside h3 { color: #fff; font-size: 1.45rem; }
.contact-aside p { color: #b7bec9; }
.contact-aside__actions { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 28px; }
.contact-aside__actions .btn { justify-content: center; width: 100%; }
.contact-aside .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.contact-aside .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.contact-aside .hours { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-aside .hours li { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; font-size: .96rem; color: #cdd3dc; }
.contact-aside .hours svg { color: var(--orange); flex: 0 0 18px; margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa2ae; padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer img.footer-logo { height: 32px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9aa2ae; font-size: .95rem; }
.site-footer a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: 0 0 18px; color: var(--orange); margin-top: 3px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #6d7480;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(900px 400px at 80% -20%, rgba(255,149,0,.16), transparent 60%), var(--ink);
  color: #fff; padding: 66px 0 58px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #b7bec9; max-width: 640px; margin: 10px auto 0; font-size: 1.12rem; }
.breadcrumb { color: #7b828e; font-size: .88rem; margin-bottom: 14px; font-family: "Raleway", sans-serif; }
.breadcrumb a { color: #9aa2ae; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding: 64px 0 70px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid--4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 12px;
    max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .nav__links.open { max-height: 460px; }
  .nav__links a { padding: 13px 14px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .grid--3, .grid--4, .grid--2, .stats, .price-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; padding: 26px; }
  .svc ul { columns: 1; }
  .cta-band { padding: 38px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
