/* Service Job Pros bridge → ServiceFlow Pro
   Tokens aligned with ServiceFlow Pro marketing (publicPageTheme) */

:root {
  --mkt-bg: #f7f5f2;
  --mkt-ink: #0b1220;
  --mkt-muted: #5c6578;
  --mkt-brand: #0b5fff;
  --mkt-brand-hover: #0739a8;
  --mkt-surface: #ffffff;
  --mkt-line: #e4e0d8;
  --mkt-alt: #f0ede8;
  --mkt-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --mkt-font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --shadow: rgba(11, 18, 32, 0.1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--mkt-font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--mkt-ink);
  background: var(--mkt-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--mkt-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--mkt-brand-hover);
}

h1,
h2,
h3 {
  font-family: var(--mkt-font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 650;
}

p {
  margin: 0 0 1em;
  color: var(--mkt-muted);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.1rem 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: #fff;
  opacity: 0.92;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
}

.brand__name {
  font-family: var(--mkt-font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand--footer {
  font-size: 1.1rem;
}

.brand--footer .brand__logo {
  width: 36px;
  height: 36px;
  box-shadow: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-link:hover {
  color: #fff;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.55) 48%, rgba(11, 18, 32, 0.35) 100%),
    linear-gradient(0deg, rgba(11, 18, 32, 0.75) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 4.5rem;
  max-width: 40rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s ease 0.15s forwards;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mkt-font-display);
  font-size: clamp(2.15rem, 5.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: #fff;
}

.hero__logo {
  width: clamp(2.5rem, 5vw, 3rem);
  height: clamp(2.5rem, 5vw, 3rem);
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 550;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 0 0.85rem;
  max-width: 22ch;
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  font-family: var(--mkt-font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--primary {
  background: var(--mkt-brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--mkt-brand-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--ink {
  background: var(--mkt-ink);
  color: #fff;
}

.btn--ink:hover {
  background: #162033;
  color: #fff;
}

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

.btn--outline:hover {
  border-color: var(--mkt-ink);
  color: var(--mkt-ink);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--alt {
  background: var(--mkt-alt);
}

.section--surface {
  background: var(--mkt-surface);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--mkt-ink);
}

.section__head p {
  font-size: 1.1rem;
  margin: 0;
}

.clarify-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

.clarify {
  padding: 1.35rem 1.25rem;
  border-top: 3px solid var(--mkt-brand);
  background: var(--mkt-surface);
}

.section--alt .clarify {
  background: var(--mkt-bg);
}

.clarify h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--mkt-ink);
}

.clarify p {
  margin: 0;
  font-size: 0.98rem;
}

.clarify--highlight {
  border-top-color: var(--mkt-ink);
}

/* Product band */
.product {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .product {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--mkt-ink);
  font-weight: 550;
}

.feature-list li::before {
  content: "";
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--mkt-brand);
}

.product__shot {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 48px var(--shadow);
  opacity: 0;
  transform: translateY(24px);
}

.product__shot.is-visible {
  animation: rise-in 0.85s ease forwards;
}

.product__shot img {
  width: 100%;
}

.shot-caption {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--mkt-muted);
  text-align: center;
}

/* Pricing */
.price-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .price-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price {
  padding: 1.5rem 1.25rem;
  background: var(--mkt-bg);
  border: 1px solid var(--mkt-line);
}

.price strong {
  display: block;
  font-family: var(--mkt-font-display);
  font-size: 1.85rem;
  color: var(--mkt-ink);
  letter-spacing: -0.02em;
}

.price span {
  display: block;
  margin-top: 0.25rem;
  color: var(--mkt-muted);
  font-size: 0.95rem;
}

.price--accent {
  border-color: var(--mkt-brand);
  background: #eef4ff;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--mkt-line);
}

.faq details {
  border-bottom: 1px solid var(--mkt-line);
  padding: 1.1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--mkt-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--mkt-brand);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0.75rem 0 0;
  max-width: 42rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(11, 95, 255, 0.12), transparent 55%),
    var(--mkt-ink);
  color: #fff;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  max-width: 18ch;
  margin-inline: auto;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.final-cta .cta-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  background: #080d18;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer__note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 48rem;
}

.site-footer__note p {
  color: inherit;
  margin: 0 0 0.5rem;
}

/* Motion */
@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__media img,
  .hero__content,
  .product__shot {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
