/* Pay Florida Ticket: colors taken from the Traffic Ticket Team logo */
:root {
  --navy: #1b2a8a;
  --navy-700: #15206b;
  --navy-900: #0d1547;
  --yellow: #ffd400;
  --yellow-600: #e6bf00;
  --red: #d61f26;
  --green: #12804a;
  --ink: #141a33;
  --muted: #5a6280;
  --line: #dfe3ef;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 21, 71, .10), 0 2px 6px rgba(13, 21, 71, .06);
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .2px; }
h2 { font-size: clamp(30px, 4vw, 42px); color: var(--navy-900); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
.eyebrow { font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: 1.2px; color: var(--red); margin: 0 0 12px; }
.hint { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px/1 var(--body); padding: 15px 22px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--yellow); color: var(--navy-900); border-color: var(--yellow); }
.btn--primary:hover:not(:disabled) { background: var(--yellow-600); border-color: var(--yellow-600); }
.btn--yellow { background: var(--yellow); color: var(--navy-900); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn--small { padding: 10px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }

/* Top bar + header */
.topbar { background: var(--navy-900); color: #cfd5f5; font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 8px; padding-bottom: 8px; align-items: center; }
.topbar__label { color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.topbar a { color: #fff; text-decoration: none; white-space: nowrap; }
.topbar a span { color: #aab3e6; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.header__logo img { width: 160px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a[aria-current="page"]:not(.btn) { color: var(--navy); box-shadow: inset 0 -3px 0 var(--yellow); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 70%); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--yellow) 0 48px, transparent 48px 80px); opacity: .9; }
.hero__inner { display: grid; grid-template-columns: 1fr 480px; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; text-transform: uppercase; color: #fff; }
.hero h1 span { display: block; color: var(--yellow); }
.hero .eyebrow { color: var(--yellow); }
.hero__lead { font-size: 18px; color: #dfe3fb; max-width: 560px; }
.hero__points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero__points li { padding-left: 34px; position: relative; color: #dfe3fb; }
.hero__points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1547' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero__points strong { color: #fff; }

/* Wizard */
.wizard { background: #fff; color: var(--ink); border-radius: 18px; padding: 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); scroll-margin-top: 100px; }
.wizard__head { margin-bottom: 18px; }
.wizard__step-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.wizard__bar { height: 6px; background: var(--bg-soft); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.wizard__bar span { display: block; height: 100%; width: 25%; background: var(--yellow); border-radius: 99px; transition: width .3s; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step legend { font: 700 26px/1.1 var(--head); color: var(--navy-900); margin-bottom: 16px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { font: 600 14px/1 var(--body); padding: 10px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip:hover, .chip.is-selected { border-color: var(--navy); background: #eef1fd; color: var(--navy); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field select, .field input { font: 500 16px var(--body); color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.field select:focus, .field input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(27, 42, 138, .15); }
.field input:disabled { background: var(--bg-soft); color: var(--muted); }
.check { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.options { display: grid; gap: 8px; }
.options--grid { grid-template-columns: 1fr 1fr; }
.options--row { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option span { display: block; padding: 12px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 500; text-align: center; transition: border-color .15s, background .15s; }
.options--stack .option span { text-align: left; }
.option:hover span { border-color: #aab3e6; }
.option input:checked + span { border-color: var(--navy); background: #eef1fd; color: var(--navy); font-weight: 700; box-shadow: inset 0 0 0 1px var(--navy); }
.option input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.subq { margin-top: 16px; }
.subq__title { font-weight: 600; margin: 16px 0 8px; font-size: 15px; }
.step .subq__title:first-of-type { margin-top: 0; }
.wizard__nav { display: flex; gap: 10px; margin-top: 22px; }
.wizard__nav .btn--primary { flex: 1; }
.wizard__privacy { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.wizard__skip { font-size: 14px; text-align: center; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.wizard__skip a { font-weight: 700; white-space: nowrap; }

/* Results */
.results { background: var(--bg-soft); padding: 56px 0 64px; scroll-margin-top: 80px; }
.results__head { margin-bottom: 18px; }
.results__summary { color: var(--muted); margin: 0; }
.banner { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 12px; margin: 0 0 24px; font-size: 15.5px; }
.banner--info { background: #eef1fd; color: var(--navy-900); }
.banner--warn { background: #fff7cc; color: #5c4a00; border: 1px solid #f1dc6b; }
.banner--danger { background: #fdecec; color: #7a1014; border: 1px solid #f3b9bb; }
.banner__count { font: 800 40px/1 var(--head); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.card { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card h3 { font-size: 30px; color: var(--navy-900); text-transform: uppercase; }
.card--hire { border: 2.5px solid var(--navy); transform: translateY(-8px); }
.card__badge { position: absolute; top: -14px; left: 24px; background: var(--yellow); color: var(--navy-900); font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: 1px; padding: 7px 12px; border-radius: 99px; }
.card__price { font: 700 22px/1.2 var(--head); color: var(--navy); margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.card__price small { display: block; font: 500 13px var(--body); color: var(--muted); margin-top: 2px; }
.card--hire .card__price { font-size: 30px; color: var(--navy-900); }
.proscons { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; font-size: 15px; flex: 1; align-content: start; }
.proscons li { position: relative; padding-left: 30px; }
.proscons li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/20px var(--body); text-align: center; }
.proscons .pro::before { content: "✓"; background: #e3f4ea; color: var(--green); }
.proscons .con::before { content: "✕"; background: #fdecec; color: var(--red); }
.card__actions { display: grid; gap: 8px; }
.card__na { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.card__call { text-align: center; font-size: 14px; font-weight: 600; }
.compare { margin-top: 36px; overflow-x: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.compare caption { text-align: left; font: 700 22px var(--head); color: var(--navy-900); padding: 18px 20px 6px; }
.compare th, .compare td { padding: 13px 20px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 700; color: var(--navy-900); }
.compare tbody th { font-weight: 600; color: var(--muted); width: 140px; }
.compare .is-hire { background: #f5f7ff; font-weight: 600; color: var(--navy-900); }
.results__note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Hire section */
.hire { background: #fff; padding: 64px 0; border-top: 6px solid var(--yellow); scroll-margin-top: 80px; }
.hire__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
/* Texting: its own band under the form on desktop (#textband); a card above the form on phones (.textcta) */
.textband { background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #fff; padding: 52px 0; }
.textband__inner { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.textband .eyebrow { color: var(--yellow); }
.textband h2 { color: #fff; margin-bottom: 12px; }
.textband p { color: #dfe3fb; font-size: 18px; margin: 0; max-width: 640px; }
.textband__num { color: var(--yellow); font-weight: 700; white-space: nowrap; text-decoration: none; }
.textband__num:hover { text-decoration: underline; }
.textband__qr { margin: 0; width: 220px; background: #fff; border-radius: var(--radius); padding: 18px; text-align: center; box-shadow: var(--shadow); }
.textband__code svg { display: block; width: 100%; height: auto; }
.textband__qr figcaption { color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 10px; }
/* Send your ticket page */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 50px; min-height: 36px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font: 800 19px/1 var(--head); }
.steps strong { display: block; color: var(--navy-900); font-size: 17px; }
.send { border-top: 0; }
.textcta { margin: 28px 0 0; background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #fff; border-radius: var(--radius); padding: 24px 20px 20px; }
.textcta__eyebrow { font: 700 13px/1 var(--body); letter-spacing: 1.2px; text-transform: uppercase; color: var(--yellow); margin: 0 0 8px; }
.textcta__title { font: 700 28px/1.05 var(--head); color: #fff; margin: 0 0 18px; }
.textcta__btn { font-size: 18px; padding: 18px 22px; }
.textcta__note { font-size: 14px; color: #dfe3fb; margin: 12px 0 0; text-align: center; }
.textcta__note a { color: var(--yellow); font-weight: 700; white-space: nowrap; }
.formhint { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; color: var(--navy-900); font-weight: 700; font-size: 15px; white-space: nowrap; }
.formhint::before, .formhint::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 1020px) { .textband { display: none; } }
@media (min-width: 1021px) { .mobile-only { display: none; } }
.hire__summary { background: var(--bg-soft); padding: 12px 16px; border-radius: 10px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.hire__form iframe { width: 100%; min-height: 640px; border: 0; }
.hire__placeholder { background: var(--bg-soft); border: 2px dashed #c3c9de; border-radius: var(--radius); padding: 32px; text-align: center; }
.hire__placeholder h3 { font-size: 30px; color: var(--navy-900); }

/* FAQ */
.faq { padding: 64px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: #333a55; }

/* About page */
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .page-hero__tag { margin-top: 14px; color: #fff; font-weight: 600; }
.team__head { margin: 0; }
.about-split { background: var(--bg-soft); padding: 56px 0; }
.about-split .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; }
.about-split p { margin: 0 0 16px; }
.about-split__note { color: var(--muted); font-size: 15px; }
.tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 600 14px/1 var(--body); padding: 10px 14px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); }
.offices { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offices a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-decoration: none; font-weight: 700; font-size: 18px; color: var(--navy); }
.offices a:hover { border-color: var(--navy); }
.offices a span { display: block; font: 700 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 4px; }
.cta-band__copy p { margin: 8px 0 0; font-size: 17px; color: var(--navy-900); }
.cta-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--navy { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn--navy:hover { background: var(--navy); border-color: var(--navy); }
@media (max-width: 1020px) { .about-split .wrap { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .offices { grid-template-columns: 1fr; } .cta-band__actions .btn { flex: 1 1 100%; } }
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); text-transform: uppercase; color: #fff; }
.page-hero--compact { padding: 44px 0 48px; }
.page-hero p { color: #dfe3fb; font-size: 18px; max-width: 700px; margin: 0; }
.page-hero .eyebrow { color: var(--yellow); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: -36px 0 0; position: relative; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; text-align: center; }
.stat strong { display: block; font: 800 40px/1 var(--head); color: var(--navy); }
.stat span { color: var(--muted); font-size: 14px; }
.team { padding: 56px 0; display: grid; gap: 22px; }
.lawyer { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.lawyer__mono { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font: 800 26px var(--head); }
.lawyer h2, .lawyer__name { font-size: 28px; margin-bottom: 4px; color: var(--navy-900); }
.lawyer__role { color: var(--red); font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.lawyer p { margin: 0 0 10px; }
.cta-band { background: var(--yellow); padding: 40px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-band h2 { margin: 0; font-size: clamp(28px, 3.5vw, 38px); }
.cta-band .btn--outline { border-color: var(--navy-900); }

/* Footer */
.footer { background: var(--navy-900); color: #aab3e6; padding: 40px 0 28px; font-size: 13px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 22px; }
.footer__top img { background: #fff; border-radius: 8px; padding: 6px; }
.footer__top nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.footer__disclaimers p { margin: 0 0 12px; line-height: 1.6; }
.footer__copy { margin-top: 18px; color: #7d87c4; }

/* Responsive */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 36px; }
  .wizard { max-width: 560px; }
  .cards { grid-template-columns: 1fr; max-width: 560px; }
  .card--hire { transform: none; margin-top: 10px; }
  .hire__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav__home { display: none; }
  .topbar__label, .topbar a:not(:last-child) { display: none; }
  .header__logo img { width: 120px; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { font-size: 14px; }
  .nav .btn { display: none; }
  .hero__points { display: none; }
  .wizard { padding: 20px 18px; margin: 0 -4px; }
  .options--grid { grid-template-columns: 1fr 1fr; }
  .option span { padding: 11px 8px; font-size: 14px; }
  .stats { grid-template-columns: 1fr; margin-top: 24px; }
  .lawyer { grid-template-columns: 1fr; }
}
