/* ===========================================================================
   The Nieves Law Firm — paid landing pages
   Design tokens lifted from thenieveslawfirm.com so the paid experience and
   the brand are the same thing. Values are the firm's, not approximations:
     #861819  primary red   (180 uses in the theme stylesheet)
     #2C2C2C  ink
     #F5F3F3  surface
     #FFC10A  accent
     Oswald 700, uppercase, 0.96px tracking  — headings
     Inter 300, 18px, 180% leading           — body
   =========================================================================== */

:root {
  --red: #861819;
  --red-dark: #6B1314;
  --red-tint: #FBF3F3;
  --ink: #2C2C2C;
  --ink-soft: #5A5A5A;
  --line: #E3DEDE;
  --surface: #F5F3F3;
  --white: #FFFFFF;
  --gold: #FFC10A;
  --green: #1B7F4B;

  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .14);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3, .head {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .96px;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(30px, 5.2vw, 52px); }
h2 { font-size: clamp(25px, 3.6vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); letter-spacing: .6px; }

p { margin: 0 0 1.1em; }
a { color: var(--red); }
img, svg, video { max-width: 100%; height: auto; display: block; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tint { background: var(--surface); }
.section--ink { background: var(--ink); color: #F0EDED; }
.section--ink h2, .section--ink h3 { color: var(--white); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hdr__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 0;
}
.hdr__logo img { width: 190px; }
.hdr__right { display: flex; align-items: center; gap: 18px; }

.lang {
  font-family: var(--head); font-size: 13px; letter-spacing: .8px;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink-soft); border: 1px solid var(--line);
  padding: 6px 11px; border-radius: var(--radius); white-space: nowrap;
}
.lang:hover { border-color: var(--red); color: var(--red); }

.hdr__tel {
  font-family: var(--head); font-size: 22px; letter-spacing: .5px;
  color: var(--red); text-decoration: none; white-space: nowrap;
}
.hdr__tel small {
  display: block; font-family: var(--body); font-size: 11px;
  font-weight: 400; letter-spacing: .4px; color: var(--ink-soft);
  text-transform: uppercase;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { background: var(--surface); padding: clamp(28px, 4vw, 52px) 0 clamp(40px, 5vw, 64px); }
.hero__grid {
  display: grid; gap: clamp(28px, 4vw, 52px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
}

.eyebrow {
  font-family: var(--head); font-size: 13px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--red);
  margin: 0 0 12px;
}
.hero__lede { font-size: clamp(17px, 1.9vw, 20px); max-width: 34em; }

.ticks { list-style: none; margin: 0 0 26px; padding: 0; }
.ticks li {
  position: relative; padding-left: 30px; margin-bottom: 9px;
  font-size: 16.5px; line-height: 1.55;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 16px; height: 9px; border-left: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red); transform: rotate(-45deg);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 17px;
  letter-spacing: .9px; text-transform: uppercase; text-decoration: none;
  padding: 16px 30px; border: 0; border-radius: var(--radius);
  background: var(--red); color: var(--white); cursor: pointer;
  transition: background .15s ease, transform .06s ease;
  width: 100%;
}
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn--ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255, 255, 255, .55); width: auto;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* ── Form card ───────────────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: 6px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.card__top {
  background: var(--red); color: var(--white);
  padding: 18px 24px; text-align: center;
}
.card__top h2 { color: var(--white); font-size: 23px; margin: 0 0 2px; }
.card__top p {
  margin: 0; font-size: 13.5px; line-height: 1.5;
  color: rgba(255, 255, 255, .92);
}
.card__body { padding: 24px; }

.field { margin-bottom: 15px; }
.field label {
  display: block; font-family: var(--head); font-size: 13px; font-weight: 700;
  letter-spacing: .7px; text-transform: uppercase; margin-bottom: 6px;
}
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-family: var(--body);
  font-size: 16.5px; font-weight: 300; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(134, 24, 25, .1);
}
.field textarea { min-height: 84px; resize: vertical; line-height: 1.6; }
.field--err input, .field--err select { border-color: var(--red); background: var(--red-tint); }
.field__err { display: none; font-size: 13.5px; color: var(--red); margin-top: 5px; line-height: 1.4; }
.field--err .field__err { display: block; }

.row2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.card__note {
  font-size: 12.5px; line-height: 1.55; color: var(--ink-soft);
  text-align: center; margin: 13px 0 0;
}
.card__or {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0 14px; color: var(--ink-soft); font-size: 13px;
  font-family: var(--head); letter-spacing: 1px; text-transform: uppercase;
}
.card__or::before, .card__or::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.card__tel {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--head); font-size: 25px; letter-spacing: .5px;
  color: var(--red); text-decoration: none; padding: 11px;
  border: 2px solid var(--red); border-radius: var(--radius);
}
.card__tel:hover { background: var(--red-tint); }

/* Success state — replaces the form in place, never a redirect, so the
   conversion fires and the visitor keeps their context. */
.done { display: none; padding: 34px 24px; text-align: center; }
.done h3 { color: var(--green); }
.is-done .card__body > form,
.is-done .card__body > .card__or,
.is-done .card__body > .card__tel,
.is-done .card__body > .card__note { display: none; }
.is-done .done { display: block; }

/* ── Video ───────────────────────────────────────────────────────────────── */
.vsl { position: relative; border-radius: 6px; overflow: hidden; background: #000; }
.vsl video { width: 100%; display: block; }
.vsl__play {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; background: rgba(0, 0, 0, .3);
  border: 0; cursor: pointer; width: 100%;
}
.vsl__play span {
  width: 74px; height: 74px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}
.vsl__play span::after {
  content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent;
  border-bottom: 12px solid transparent; margin-left: 5px;
}
.is-playing .vsl__play { display: none; }

/* ── Trust strips ────────────────────────────────────────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--white); padding: 20px 0; }
.strip__in {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 52px); flex-wrap: wrap;
}
.strip img { height: 34px; width: auto; opacity: .72; filter: grayscale(1); }
.strip__lbl {
  width: 100%; text-align: center; font-family: var(--head); font-size: 12px;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 4px;
}
.badges { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.badges img { height: 42px; width: auto; }

/* ── Content blocks ──────────────────────────────────────────────────────── */
.grid3 { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }

.step__n {
  font-family: var(--head); font-size: 46px; font-weight: 700;
  color: var(--red); line-height: 1; margin-bottom: 8px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li {
  border: 1px solid var(--line); background: var(--white);
  border-radius: 40px; padding: 8px 17px; font-size: 15.5px;
}

.quote {
  background: var(--white); border-left: 4px solid var(--red);
  padding: 22px 24px; box-shadow: var(--shadow); border-radius: var(--radius);
}
.quote p { font-size: 16.5px; line-height: 1.7; }
.quote cite { font-style: normal; font-weight: 600; font-size: 15px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 17px; }

.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  font-family: var(--head); font-size: 19px; letter-spacing: .5px;
  text-transform: uppercase; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 27px; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; font-size: 16.5px; }

/* ── Footer + the disclaimer that keeps the firm compliant ───────────────── */
.ftr { background: var(--ink); color: #B9B4B4; padding: 40px 0 92px; font-size: 14px; line-height: 1.7; }
.ftr a { color: #E8E3E3; }
.ftr__legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 22px; padding-top: 18px; font-size: 12.5px; color: #948F8F; }

/* Mobile call bar. Criminal-defence traffic is overwhelmingly mobile and
   most of it wants to talk to somebody now, not fill anything in. */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink); box-shadow: 0 -2px 14px rgba(0, 0, 0, .28);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 8px; font-family: var(--head); font-size: 16px;
  letter-spacing: .8px; text-transform: uppercase; text-decoration: none;
  color: var(--white);
}
.callbar a:first-child { background: var(--red); }
@media (min-width: 940px) { .callbar { display: none; } .ftr { padding-bottom: 40px; } }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
