/* ==========================================================================
   FC Solutions — company site
   Concept: a clean, technical "estimate ticket" system — registration-mark
   corners and structured line items nod to the trades this company serves,
   without leaning on dated paper/blueprint texture.
   ========================================================================== */

:root {
  --bg: #FAFAF9;
  --bg-alt: #F1F2F5;
  --surface: #FFFFFF;
  --ink: #14181F;
  --ink-dim: #545B66;
  --ink-faint: #8A909B;
  --line: #E3E5EA;

  --blue: #2454A6;
  --blue-dim: #1B3F80;
  --signal: #E2560F;
  --signal-dark: #C2460A;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 6px;
  --container-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.08rem; }

p { margin: 0 0 16px; color: var(--ink-dim); }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img, svg, iframe { max-width: 100%; display: block; }

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

/* Kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}
.kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--signal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--signal); color: #fff; box-shadow: 0 6px 16px rgba(226, 86, 15, 0.25); }
.btn--primary:hover { background: var(--signal-dark); }

.btn--outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--outline:hover { border-color: var(--ink); }

.btn--full { width: 100%; }

/* Registration marks: small crosshairs at two corners */
.reg-marks { position: relative; }
.reg-marks::before,
.reg-marks::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 1.5px 100% no-repeat;
  opacity: 0.3;
  pointer-events: none;
}
.reg-marks::before { top: -6px; left: -6px; }
.reg-marks::after { bottom: -6px; right: -6px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-dim);
}
.nav a:hover { color: var(--ink); }

.header__cta { flex-shrink: 0; padding: 10px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -260px;
  right: -160px;
  width: 720px;
  height: 560px;
  background: radial-gradient(circle, rgba(36, 84, 166, 0.10) 0%, rgba(226, 86, 15, 0.06) 45%, transparent 72%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 64px;
}
.hero__lead {
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Ticket card (hero + pricing) */
.ticket {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(20, 24, 31, 0.07);
  padding: 30px;
  margin-top: 6px;
}
.ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ticket__label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.ticket__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.94rem;
  color: var(--ink-dim);
}
.ticket__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--blue);
  border-radius: 3px;
}
.ticket__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.ticket--pricing { margin-top: 0; }
.ticket__price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ticket__price-row span { font-size: 0.92rem; color: var(--ink-dim); }
.ticket__price-row strong {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}
.ticket__price-row strong small { font-size: 0.8rem; font-weight: 500; color: var(--ink-faint); }
.ticket__note { font-size: 0.85rem; color: var(--ink-faint); margin: 16px 0 20px; }

/* Verticals strip */
.verticals {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.verticals__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 18px 24px;
}
.verticals__row span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-dim);
  padding: 0 20px;
  border-left: 1px solid var(--line);
}
.verticals__row span:first-child { border-left: none; }

/* Section */
.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section__head .kicker { justify-content: center; }
.section__sub { font-size: 1rem; }

/* Grid & cards */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 14px 30px rgba(20, 24, 31, 0.07); transform: translateY(-2px); }
.card__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--signal);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.92rem; margin: 0; }

/* Work: live preview demo cards */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.demo-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.demo-card:hover { box-shadow: 0 16px 34px rgba(20, 24, 31, 0.1); transform: translateY(-3px); border-color: var(--blue); }

.demo-frame {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.demo-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1400px;
  max-width: 1400px;
  height: 900px;
  border: none;
  transform: scale(0.328);
  transform-origin: top left;
  pointer-events: none;
}

.demo-card__meta { padding: 22px 24px 26px; }
.demo-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 10px;
}
.demo-card__meta h3 { margin-bottom: 6px; }
.demo-card__meta p { font-size: 0.88rem; margin: 0 0 14px; }
.demo-card__link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--signal);
}

/* Process steps */
.steps {
  max-width: 780px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step__num {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--signal);
}
.step__body h3 { margin-bottom: 8px; }
.step__body p { margin: 0; max-width: 480px; font-size: 0.94rem; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--ink-dim);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--blue);
  border-radius: 3px;
}

/* FAQ accordion */
.accordion { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.accordion__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 22px;
}
.accordion__item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: "+";
  color: var(--signal);
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
}
.accordion__item[open] summary::after { content: "\2212"; }
.accordion__item p { margin: 14px 0 0; font-size: 0.92rem; }

/* Contact */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.contact-info__item { display: flex; flex-direction: column; gap: 4px; }
.contact-info__item strong {
  font-family: var(--font-display);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}
.contact-info__item a { color: var(--blue); font-weight: 600; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
}
.form__row { margin-bottom: 18px; }
.form__row label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-dim);
}
.form__row input,
.form__row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  background: var(--bg);
  color: var(--ink);
}
.form__row input:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--blue);
}

/* Footer */
.footer { padding: 52px 0 28px; border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer__inner { text-align: center; }
.brand--footer { justify-content: center; margin: 0 auto 14px; }
.footer__tagline { color: var(--ink-faint); max-width: 420px; margin: 0 auto 22px; }
.footer__nav { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 22px; }
.footer__nav a { color: var(--ink-dim); font-size: 0.88rem; }
.footer__nav a:hover { color: var(--ink); }
.footer__copy { font-size: 0.78rem; color: var(--ink-faint); margin: 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .verticals__row span { padding: 0 14px; font-size: 0.72rem; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 18px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .grid--3 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 36px 1fr; }
  .verticals__row { flex-direction: column; align-items: center; gap: 6px; }
  .verticals__row span { border-left: none; padding: 2px 0; }
}
