/* ============================================================
   Fixngo Now Inc. — Iris-Violet Repair and Tools Theme
   Light theme: warm ivory body, dark text, solid colors only.
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #F6F4F0;
  color: #2A2733;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: #6C4AB6; text-decoration: none; }
a:hover { color: #4A3B8F; }
ul { list-style: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Generic buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background-color: #6C4AB6; color: #FFFFFF; }
.btn-primary:hover { background-color: #4A3B8F; color: #FFFFFF; transform: translateY(-2px); }
.btn-outline { border-color: #4A3B8F; color: #4A3B8F; background-color: #FFFFFF; }
.btn-outline:hover { background-color: #4A3B8F; color: #FFFFFF; transform: translateY(-2px); }

/* ---------- RIGHT-SIDE VERTICAL RAIL NAV ---------- */
.rail-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 72px;
  background-color: #F6F4F0;
  border-left: 1px solid #E9E4F5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  z-index: 60;
  float: right;
}
.rail-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rail-mark {
  width: 40px;
  height: 40px;
  background-color: #6C4AB6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}
.rail-wordmark {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: 16px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #4A3B8F;
  font-size: 15px;
  text-transform: uppercase;
}
.rail-links { display: flex; flex-direction: column; gap: 26px; align-items: center; }
.rail-link { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #2A2733; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; }
.rail-node {
  width: 12px;
  height: 12px;
  border: 2px solid #6C4AB6;
  border-radius: 2px;
  background-color: #FFFFFF;
}
.rail-link.active { color: #6C4AB6; }
.rail-link.active .rail-node { background-color: #6C4AB6; }
.rail-link:hover { color: #4A3B8F; }
.rail-mail {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  color: #6E6878;
  letter-spacing: 0.06em;
}

/* Mobile top bar */
.top-bar {
  display: none;
  background-color: #F6F4F0;
  border-bottom: 1px solid #E9E4F5;
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
}
.top-bar-brand { display: flex; align-items: center; gap: 12px; }
.top-bar-wordmark { font-weight: 800; letter-spacing: 0.2em; color: #4A3B8F; }
.burger {
  background: none;
  border: 2px solid #4A3B8F;
  border-radius: 4px;
  width: 42px;
  height: 36px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; background-color: #4A3B8F; }
.mobile-nav {
  display: none;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E9E4F5;
  padding: 10px 20px;
}
.mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid #F6F4F0; color: #2A2733; font-weight: 700; }
.mobile-nav a:hover { color: #6C4AB6; }
.mobile-nav.open { display: block; }

/* ---------- PAGE LAYOUT (side rail) ---------- */
.page-shell { min-height: 100vh; }
.rail-nav { margin-left: auto; }

/* ---------- GIANT BACKGROUND WORD HERO ---------- */
.word-hero {
  position: relative;
  background-color: #F6F4F0;
  overflow: hidden;
  padding: 120px 0 96px;
}
.word-hero-bg {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 240px;
  font-weight: 800;
  line-height: 1;
  color: #E9E4F5;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
  text-align: right;
  white-space: nowrap;
}
.hero-eyebrow {
  display: inline-block;
  background-color: #6C4AB6;
  color: #FFFFFF;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 3px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  color: #4A3B8F;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin-bottom: 26px;
}
.hero-title .accent { color: #6C4AB6; }
.hero-sub {
  font-size: 19px;
  color: #3A3644;
  max-width: 640px;
  margin-bottom: 38px;
}
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 56px; }

.tool-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  background-color: #FFFFFF;
  border: 1px solid #E9E4F5;
  border-radius: 10px;
  padding: 26px 34px;
  margin-bottom: 44px;
  box-shadow: 0 10px 30px rgba(108, 74, 182, 0.08);
}
.tool-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #6C4AB6; }
.tool-chip svg { color: #6C4AB6; }
.tool-chip span { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6E6878; }

.stat-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.stat-item { padding: 0 30px; text-align: center; }
.stat-item:first-child { padding-left: 0; }
.stat-number { display: block; font-size: 30px; font-weight: 800; color: #4A3B8F; }
.stat-label { font-size: 13px; letter-spacing: 0.06em; color: #6E6878; font-weight: 700; text-transform: uppercase; }
.stat-item + .stat-item { border-left: 1px solid #4A3B8F; }

/* ---------- SECTION HEADINGS ---------- */
.section { padding: 90px 0; }
.section-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #6C4AB6; margin-bottom: 14px; }
.section-title { font-size: 38px; font-weight: 800; color: #4A3B8F; margin-bottom: 18px; line-height: 1.15; }
.section-lede { font-size: 18px; color: #3A3644; max-width: 720px; margin-bottom: 40px; }

/* ---------- STEP PROGRESSION ---------- */
.step-progression { background-color: #F6F4F0; }
.step-block {
  display: flex;
  gap: 40px;
  padding: 52px 0;
  border-bottom: 1px solid #E9E4F5;
  align-items: flex-start;
}
.step-block:last-child { border-bottom: none; }
.step-numeral {
  font-size: 96px;
  font-weight: 800;
  color: #E9E4F5;
  line-height: 1;
  min-width: 180px;
  letter-spacing: 0.02em;
  font-family: Georgia, "Times New Roman", serif;
}
.step-body { flex: 1; }
.step-node {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #6C4AB6;
  border-radius: 2px;
  margin-bottom: 18px;
}
.step-body h3 { font-size: 26px; color: #4A3B8F; margin-bottom: 14px; font-weight: 800; }
.step-body p { font-size: 17px; color: #3A3644; max-width: 760px; }

/* ---------- METRIC BAND ---------- */
.metric-band {
  background-color: #6C4AB6;
  padding: 80px 0;
}
.metric-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.metric { text-align: center; flex: 1; min-width: 180px; }
.metric-value { font-size: 52px; font-weight: 800; color: #FFFFFF; line-height: 1; display: block; }
.metric-label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #E9E4F5; margin-top: 12px; display: block; }

/* ---------- STATEMENT BAND ---------- */
.statement-band {
  background-color: #FFFFFF;
  padding: 96px 0;
}
.statement-quote {
  max-width: 860px;
  margin: 0 auto;
  border-left: 4px solid #6C4AB6;
  padding-left: 40px;
}
.statement-quote p {
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  color: #4A3B8F;
  margin-bottom: 20px;
}
.statement-quote cite { font-style: normal; color: #6E6878; font-size: 15px; }

/* ---------- CTA BAND ---------- */
.cta-band {
  background-color: #E9E4F5;
  padding: 100px 0;
  text-align: center;
}
.cta-band h2 { font-size: 40px; font-weight: 800; color: #4A3B8F; margin-bottom: 20px; }
.cta-band p { font-size: 18px; color: #3A3644; max-width: 620px; margin: 0 auto 38px; }

/* ---------- SERVICES PAGE ---------- */
.service-hero { background-color: #FFFFFF; border-bottom: 1px solid #E9E4F5; }
.service-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 36px;
  padding: 56px 0;
  border-bottom: 1px solid #E9E4F5;
  align-items: start;
}
.service-block:last-of-type { border-bottom: none; }
.service-icon {
  width: 90px;
  height: 90px;
  background-color: #FFFFFF;
  border: 2px solid #E9E4F5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6C4AB6;
  box-shadow: 0 8px 20px rgba(108, 74, 182, 0.06);
}
.service-text h3 { font-size: 26px; color: #4A3B8F; margin-bottom: 14px; font-weight: 800; }
.service-text p { font-size: 16.5px; color: #3A3644; margin-bottom: 12px; }
.service-text ul { list-style: none; margin-top: 8px; }
.service-text ul li { padding: 6px 0 6px 26px; position: relative; color: #3A3644; }
.service-text ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: #6C4AB6;
  font-weight: 800;
}

/* Process overview */
.process-hero { background-color: #F6F4F0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.process-card {
  background-color: #FFFFFF;
  border: 1px solid #E9E4F5;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}
.process-step { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: #6C4AB6; }
.process-card h4 { font-size: 19px; color: #4A3B8F; margin: 12px 0 10px; font-weight: 800; }
.process-card p { font-size: 15px; color: #3A3644; }

/* ---------- CONTACT PAGE ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h3 { font-size: 22px; color: #4A3B8F; margin-bottom: 12px; font-weight: 800; }
.contact-info p { color: #3A3644; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-detail .cd-icon { color: #6C4AB6; flex-shrink: 0; margin-top: 2px; }
.contact-detail h4 { font-size: 15px; color: #2A2733; font-weight: 800; }
.contact-detail p, .contact-detail a { color: #3A3644; font-size: 16px; }

.contact-form {
  background-color: #FFFFFF;
  border: 1px solid #E9E4F5;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 14px 40px rgba(108, 74, 182, 0.08);
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 14px; font-weight: 700; color: #2A2733; margin-bottom: 8px; letter-spacing: 0.03em; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #E9E4F5;
  border-radius: 6px;
  background-color: #F6F4F0;
  color: #2A2733;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: #6C4AB6;
}
.form-note { font-size: 13px; color: #6E6878; margin-top: 6px; }
.form-status { margin-top: 18px; padding: 12px 16px; border-radius: 6px; font-weight: 700; display: none; }
.form-status.ok { display: block; background-color: #E9E4F5; color: #4A3B8F; border: 1px solid #6C4AB6; }
.form-status.err { display: block; background-color: #F6E9E4; color: #8F3B2A; border: 1px solid #B55A44; }

/* FAQ */
.faq-section { background-color: #FFFFFF; }
.faq-item { border-bottom: 1px solid #E9E4F5; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 800;
  color: #4A3B8F;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-question .faq-icon { font-size: 26px; color: #6C4AB6; font-weight: 400; transition: transform 0.2s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 0 22px; color: #3A3644; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---------- CENTERED STACK FOOTER ---------- */
.stack-footer {
  background-color: #4A3B8F;
  color: #FFFFFF;
  padding: 72px 0 40px;
  text-align: center;
}
.footer-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  background-color: #6C4AB6;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.footer-wordmark { font-size: 24px; font-weight: 800; letter-spacing: 0.22em; color: #FFFFFF; margin-bottom: 10px; }
.footer-tagline { color: #D9D2EC; margin-bottom: 28px; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-bottom: 30px; }
.footer-links a { color: #FFFFFF; font-weight: 700; font-size: 15px; }
.footer-links a:hover { color: #6C4AB6; }
.footer-legal { color: #D9D2EC; font-size: 13.5px; line-height: 1.9; }
.footer-legal a { color: #D9D2EC; text-decoration: underline; }
.footer-legal a:hover { color: #FFFFFF; }

/* ---------- SCROLL REVEAL ---------- */
.fade-up { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 46px; }
  .word-hero-bg { font-size: 170px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .rail-nav { display: none; }
  .top-bar { display: flex; }
  .page-shell { padding-top: 0; }
  .word-hero-bg { font-size: 120px; }
  .hero-title { font-size: 36px; }
  .contact-layout { grid-template-columns: 1fr; }
  .stat-item { padding: 0 16px; }
  .stat-number { font-size: 24px; }
  .metric-grid { flex-direction: column; align-items: center; }
  .step-block { flex-direction: column; gap: 18px; }
  .step-numeral { min-width: 0; font-size: 72px; }
  .statement-quote p { font-size: 24px; }
}

@media (max-width: 520px) {
  .word-hero-bg { font-size: 90px; }
  .hero-title { font-size: 30px; }
  .tool-strip { gap: 20px; padding: 20px; }
  .service-block { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .process-grid { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: none; }
  .stat-item { padding: 12px 0; }
  .stat-line { flex-direction: column; }
}
