* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Public Sans", system-ui, sans-serif;
  color: #0e1b33;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: #d7182a; text-decoration: none; }
a:hover { color: #a8101f; }

input, textarea, select, button { font-family: inherit; }

h1, h2, h3 {
  font-family: "Archivo", sans-serif;
  margin: 0;
  text-wrap: balance;
}

/* Top bar */
.top-bar { background: #0e1b33; color: #c9d2e3; font-size: 13px; }

.top-bar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
}

.top-bar__meta { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar a { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6e9f0;
}

.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header__logo { height: 48px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.site-nav a { color: #0e1b33; }
.site-nav a:hover { color: #d7182a; }

.site-nav__call { display: flex; align-items: center; gap: 8px; }
.site-nav__call::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1fa463; }

@media (max-width: 1100px) {
  .site-nav a:not(.site-nav__call):not(.btn) { display: none; }
}

@media (max-width: 760px) {
  .top-bar__meta { display: none; }
  .site-nav { gap: 16px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 17px;
  border: 0;
  cursor: pointer;
}

.btn--sm { padding: 11px 18px; border-radius: 8px; font-size: 15px; }
.btn--red, .site-nav a.btn--red { background: #d7182a; color: #fff; }
.btn--red:hover, .site-nav a.btn--red:hover { background: #a8101f; color: #fff; }
.btn--white { background: #fff; color: #0e1b33; }
.btn--white:hover { background: #e6e9f0; color: #0e1b33; }
.btn--navy { background: #0e1b33; color: #fff; }
.btn--navy:hover { background: #13234a; color: #fff; }

/* Hero */
.hero { position: relative; background: #0e1b33; color: #fff; overflow: hidden; }

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #0e1b33 35%, rgba(14, 27, 51, .75) 70%, rgba(14, 27, 51, .55));
}

.hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px;
  align-items: center;
}

.hero__copy { display: flex; flex-direction: column; gap: 24px; }

.hero__eyebrow {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.hero__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff3b4e; }

.hero__title {
  font-weight: 900;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -1.5px;
}

.hero__title em { color: #ff3b4e; font-style: normal; }

.hero__subtitle { margin: 0; font-size: 19px; line-height: 1.6; color: #c9d2e3; max-width: 560px; text-wrap: pretty; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__checks { display: flex; gap: 12px 28px; flex-wrap: wrap; padding-top: 6px; font-size: 15px; color: #c9d2e3; }
.hero__checks span::before { content: "\2713"; color: #ff3b4e; font-weight: 800; margin-right: 8px; }

/* Quote form */
.quote-card {
  background: #fff;
  color: #0e1b33;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  scroll-margin-top: 100px;
}

.quote-card__header { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.quote-card__header h2 { font-weight: 800; font-size: 26px; letter-spacing: -.4px; }
.quote-card__header p { margin: 0; color: #5a6782; font-size: 15px; }

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #3a4763; }
.field--wide { grid-column: 1 / -1; }

.field input, .field select, .field textarea {
  padding: 13px 14px;
  border: 1px solid #d3d8e3;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #0e1b33;
  outline: none;
}

.field textarea { resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #d7182a;
  box-shadow: 0 0 0 3px rgba(215, 24, 42, .12);
}

.quote-form .btn { grid-column: 1 / -1; margin-top: 4px; }
.quote-form .btn:disabled { opacity: .6; cursor: wait; }

.form-error { grid-column: 1 / -1; margin: 0; color: #c8102e; font-size: 14px; font-weight: 600; }

.quote-card__note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: #5a6782; text-align: center; line-height: 1.6; }
.quote-card__note a { font-weight: 700; white-space: nowrap; }

@media (max-width: 520px) {
  .quote-card { padding: 24px 20px; }
  .quote-form { grid-template-columns: 1fr; }
}

/* Section shells */
.section { padding: 88px 24px; scroll-margin-top: 80px; }
.section--muted { background: #f5f6f9; }
.section--dark { background: #0e1b33; color: #fff; }
.section--tight { padding: 64px 24px; }
.section__inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }

.section-intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #d7182a; }
.section--dark .eyebrow { color: #ff3b4e; }

.section-title { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -1px; }

.section-lede { margin: 0; font-size: 18px; line-height: 1.65; color: #4a5672; text-wrap: pretty; }
.section--dark .section-lede { color: #c9d2e3; }

/* Product cards (what we make for this service) */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }

.product-card {
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card h3 { font-weight: 800; font-size: 21px; letter-spacing: -.3px; }
.product-card p { margin: 0; color: #5a6782; font-size: 15px; line-height: 1.6; }

/* Process */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, .1);
  border-radius: 14px;
  overflow: hidden;
}

.step-card { background: #13234a; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.step-card__number { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 44px; color: #ff3b4e; line-height: 1; }
.step-card h3 { font-weight: 800; font-size: 21px; }
.step-card p { margin: 0; color: #c9d2e3; font-size: 15px; line-height: 1.6; }

/* Service guide - each campaign's own considerations / price factors / FAQ */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }

.guide-card {
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-card h3 { font-weight: 800; font-size: 23px; }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }

.check-list li {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a5672;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fde8ea;
  color: #d7182a;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.check-list strong { color: #0e1b33; }

.faq { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.faq__title { font-size: 28px; font-weight: 800; margin-bottom: 6px; }

.faq__item { border: 1px solid #e6e9f0; border-radius: 10px; background: #fff; }

.faq__item summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
}

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

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 700;
  color: #d7182a;
}

.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin: 0; padding: 0 20px 20px; font-size: 16px; line-height: 1.65; color: #4a5672; }

.related-links { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 16px; }
.related-links span { font-weight: 700; }
.related-links a { font-weight: 600; }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.reviews-head__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.reviews-head__rating { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #5a6782; }

.stars { color: #f5a623; letter-spacing: 2px; }
.reviews-head__rating .stars { font-size: 22px; }

.btn--outline { border: 1px solid #d3d8e3; color: #0e1b33; }
.btn--outline:hover { border-color: #0e1b33; color: #0e1b33; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }

.review-card {
  margin: 0;
  background: #f5f6f9;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: #3a4763; }

.review-card__by {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e6e9f0;
  font-size: 15px;
  font-weight: 700;
}

.review-card__initial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d7182a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.review-card__by small { display: block; font-size: 13px; font-weight: 600; color: #5a6782; }

/* Service area */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }

.area-card {
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.area-card__state { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #5a6782; }
.area-card h3 { font-weight: 800; font-size: 22px; }
.area-card p { margin: 0; color: #5a6782; font-size: 14px; line-height: 1.6; }

/* CTA banner */
.cta-banner { background: #d7182a; color: #fff; padding: 72px 24px; }

.cta-banner__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}

.cta-banner h2 { font-weight: 900; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.05; letter-spacing: -1px; max-width: 680px; }
.cta-banner p { margin: 12px 0 0; font-size: 18px; line-height: 1.6; color: #ffe3e6; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-banner .btn--white { color: #d7182a; }
.cta-banner .btn--white:hover { background: #ffe3e6; color: #a8101f; }

/* Footer */
.site-footer { background: #0a1428; color: #c9d2e3; font-size: 15px; padding-bottom: 72px; }

.site-footer__grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 36px;
}

.site-footer__col { display: flex; flex-direction: column; gap: 10px; line-height: 1.6; }
.site-footer__col strong { color: #fff; }
.site-footer__brand { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 20px; color: #fff; }
.site-footer a { color: #c9d2e3; }
.site-footer a:hover { color: #fff; }
.site-footer__social { display: flex; gap: 16px; flex-wrap: wrap; }

.site-footer__legal {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: #8693ad;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.site-footer__legal a { color: #8693ad; }

/* Sticky mobile bar */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: #fff;
  border-top: 1px solid #e6e9f0;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
  padding: 10px 12px;
  display: none;
  gap: 10px;
  justify-content: center;
}

.sticky-bar.is-visible { display: flex; }
.sticky-bar .btn { flex: 1; max-width: 280px; padding: 13px 16px; font-size: 16px; }

/* Thank-you + privacy pages */
.done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.done__check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8f6ef;
  color: #1fa463;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
}

.done h1 { font-weight: 800; font-size: 30px; }
.done p { margin: 0; color: #5a6782; font-size: 16px; line-height: 1.65; }

.legal { max-width: 820px; margin: 0 auto; padding: 64px 24px 96px; line-height: 1.7; color: #3a4763; }
.legal h1 { font-size: 40px; font-weight: 900; color: #0e1b33; margin-bottom: 8px; }
.legal h2 { font-size: 22px; font-weight: 800; color: #0e1b33; margin: 32px 0 8px; }

[hidden] { display: none !important; }

/* Signarama logo + legal entity (the ad account is in the LLC's name) */
.brand-lockup { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: #0e1b33; }
.brand-lockup:hover { color: #0e1b33; }

.brand-lockup__dba {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid #d3d8e3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #5a6782;
  line-height: 1.3;
}

.brand-lockup__dba strong { font-family: "Archivo", sans-serif; font-size: 15px; font-weight: 800; letter-spacing: -.1px; text-transform: none; color: #0e1b33; }

@media (max-width: 520px) {
  .brand-lockup { gap: 10px; }
  .brand-lockup .site-header__logo { height: 38px; }
  .brand-lockup__dba { padding-left: 10px; font-size: 9.5px; }
  .brand-lockup__dba strong { font-size: 13px; }
}

/* Two-step quote form (/shared/lead-form.js): project questions first, contact details second */
.form-step { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; animation: step-in-right .3s ease; }
.quote-form.is-going-back .form-step { animation-name: step-in-left; }
.form-step .quote-card__header { grid-column: 1 / -1; margin-bottom: 4px; }
.form-step .btn { grid-column: 1 / -1; margin-top: 4px; }

.form-step__count { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #d7182a; }

.form-back {
  grid-column: 1 / -1;
  justify-self: start;
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: #5a6782;
  cursor: pointer;
}

.form-back:hover { color: #0e1b33; }

@keyframes step-in-right { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes step-in-left { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

@media (max-width: 520px) {
  .form-step { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .form-step { animation: none; }
}
