/* TaxAttorneySA Ads LP shell — clean static funnel (no Thrive) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0c2740;
  --navy-mid: #153a5c;
  --navy-deep: #071828;
  --accent: #b33a2b;
  --accent-dark: #922f23;
  --gold: #c9a24d;
  --ink: #141414;
  --muted: #5a6575;
  --line: #d8dee8;
  --surface: #ffffff;
  --bg: #ffffff;
  --bg-band: #e8eef6;
  --max: 1080px;
  --radius: 10px;
  /* Live's header bar, sampled from the capture. Deliberately not --navy
     (#0c2740): reconciling the global palette with live is card 5. */
  --navy-header: #1f2f4b;
  --gold-header: #eec643;
  --cta-blue: #348ec1; /* live's submit button */
  /* Live links the phone number inline in the hero subhead and form note in
     this exact color (rgb(41,118,173)), confirmed from the archived source
     at D:\Projects\_archive\taxattorneysa-live-baseline-2026-09-17\html\
     (e.g. offers_san-antonio-tax-attorney.html, data-css tve-u-644837cce97694
     and tve-u-193af51fa6d): "color: rgb(41,118,173) !important". It is not
     the same blue as --cta-blue. */
  --phone-link: #2976ad;
  --header-max: 1152px; /* 1440 - 2*144; puts the logo at live's x=144 */
  /* Live: Literata for major headings (all weight 400), Lato for form/CTA
     headings, Maven Pro for the "do not deal alone" line, Arial for body. */
  --font: Arial, Helvetica, sans-serif;
  --display: Literata, Georgia, serif;
  --accent-font: Lato, Arial, sans-serif;
  --alt-font: "Maven Pro", Arial, sans-serif;
  --ink-h1: #0c1115;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 1.125rem; /* live body is Arial 18px/36px */
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: var(--navy-mid); }
a:hover { color: var(--accent); }

/* Live's masthead: logo left, call CTA right, on a solid navy bar that scrolls
   away with the page. Live has NO sticky element (its only fixed nodes are a
   0x0 toast and the reCAPTCHA badge), so this must not be position: sticky.
   Target geometry at 1440: bar h=104, logo 300x73 at x=144. See audit/DIFF.md. */
.site-header {
  background: var(--navy-header);
  color: #fff;
}

.site-header__inner {
  width: min(100% - 2rem, var(--header-max));
  margin-inline: auto;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__logo {
  width: 300px;
  height: auto;
  flex-shrink: 0;
}

/* Live's desktop/tablet CTA (measured at 1440 and 768 on the archived HTML,
   .thrv_symbol_668 [data-css="tve-u-17eea0e0d04"] and its phone <a>): label
   20px/400/24px, phone 20px/700/24px, both Lato. Ours was 15.2px/16.8px -
   Ruben asked for the phone "a little bit bigger on desktop"; live is larger
   for both label and phone, so match live exactly here. Mobile (<=767) is a
   separate, already-matched override below and is untouched. */
.site-header__cta {
  color: #fff;
  text-decoration: none;
  text-align: right;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
}
.site-header__cta:hover { color: #fff; filter: brightness(1.08); }
.site-header__cta .phone {
  display: block;
  color: var(--gold-header);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  white-space: nowrap;
}

/* Live pads the masthead in harder at tablet: at 768 the logo starts at x=77,
   so the inner track is ~614px (768 - 2*76.8). */
@media (min-width: 768px) and (max-width: 1023px) {
  .site-header__inner {
    width: min(100% - 9.6rem, var(--header-max));
    padding: 23px 0; /* live's bar is 120 tall here, not 104 */
  }
}

/* Live stacks and centres the masthead on small screens (logo 232 wide at 390,
   bar h=111). The label wraps to two lines there with the phone inline - the
   desktop <br> and block phone would make three and overshoot live's height. */
@media (max-width: 767px) {
  .site-header__inner {
    flex-direction: column;
    gap: 0.35rem;
    padding: 14px 0; /* live's bar is 111 tall at 390 */
  }
  .site-header__logo { width: 232px; }
  /* font-weight/line-height pinned here so the desktop-only CTA fix above
     (item D, P11) doesn't fall through to this already-matched 390 bar
     (h=111, live's own mobile label is 400 but that wasn't in scope here -
     leave mobile geometry exactly as it was). */
  .site-header__cta { text-align: center; font-weight: 700; font-size: 0.9rem; line-height: 1.25; }
  .site-header__cta br { display: none; }
  .site-header__cta .phone { display: inline; font-size: 1rem; line-height: 1.25; }
}

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

/* Live's hero is WHITE, not a navy gradient, with the H1 centred full-width
   above the video/form columns (live: 718x122 at x=361, y=105). */
.hero {
  padding: 0 0 1.5rem;
  background: #fff;
  color: var(--ink);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

/* Live holds the hero two-column at 768 (video left, form right). Collapsing
   here pushed the whole form below the tablet fold - submit landed at y=1222
   against a 1024 fold, where live keeps it at y=859. See audit/DIFF.md. */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.5vw, 3.125rem); /* live 50px at 1440 */
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: normal;
  color: var(--ink-h1);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 0.75rem;
  padding-top: 0.9rem;
}

.hero .subhead {
  font-family: var(--display);
  font-size: 1.25rem; /* live 20px */
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1rem;
  max-width: 42rem;
}

.hero .subhead .yes {
  color: var(--navy-mid);
  font-weight: 700;
}

/* L1: live links the phone number inline here in blue with no underline and
   regular weight (not the plain-text color of the surrounding sentence) -
   see the --phone-link definition above for the source. */
.hero .subhead a {
  color: var(--phone-link);
  text-decoration: none;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Live's form is a grey panel inside a heavy dark rounded border, not a white
   floating card. Sampled from the capture: 3px #373737 on #f0f1f3. */
.lead-form {
  line-height: 1.4; /* the form must not inherit the body's 2.0 */
  background: #f0f1f3;
  color: var(--ink);
  border: 3px solid #373737;
  border-radius: 12px;
  padding: 1.1rem 1rem 1.2rem;
  box-shadow: none;
}
.lead-form h2 {
  font-family: var(--accent-font);
  font-size: 1.5625rem; /* live 25px */
  font-weight: 400;
  line-height: 0.95;
  text-align: center;
  margin-bottom: 0.5rem;
}
.lead-form .form-note {
  font-family: var(--accent-font);
  font-size: 1.0625rem; /* live 17px */
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  margin-bottom: 1rem;
}

/* L1: live links the phone number here too, same blue as the hero subhead,
   but bold - see the --phone-link definition above for the source. */
.lead-form .form-note a {
  color: var(--phone-link);
  text-decoration: none;
  font-weight: 700;
}

.field { margin-bottom: 0.5rem; }
.field label {
  display: block;
  line-height: 1.3;
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #cfd3d8;
  border-radius: 14px; /* live's fields are strongly rounded */
  padding: 0.45rem 0.9rem;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.4;
  background: #fff;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(21, 58, 92, 0.35);
  border-color: var(--navy-mid);
  background: #fff;
}
.field textarea { min-height: 84px; resize: vertical; }

.consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.6rem 0 0.7rem;
  line-height: 1.35;
}
.consent input { margin-top: 0.2rem; flex-shrink: 0; }

.btn-submit {
  width: 100%;
  padding: 1rem; /* live submit is 54px tall */
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--cta-blue);
  border: 1px solid #414141;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  cursor: pointer;
}
.btn-submit:hover { filter: brightness(1.05); }
.btn-submit:disabled { opacity: 0.65; cursor: wait; }

.form-error {
  display: none;
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #fdecea;
  color: #8a241c;
  font-size: 0.88rem;
}
.form-error.show { display: block; }

.section { padding: 2.75rem 0; }
.section.band { background: var(--bg-band); }
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.3125rem); /* live 37px */
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.section .lede {
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 1.25rem;
}
/* Live's NOTE is plain bold Lato text, not a pill. */
.note-pill {
  display: block;
  font-family: var(--accent-font);
  font-size: 1.3125rem; /* live 21px */
  font-weight: 700;
  line-height: 1.33;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 1.1rem;
}
.expect h3 {
  font-family: var(--font);
  font-size: 1.3125rem; /* live 21px */
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
/* Live's expect list is plain disc bullets - Arial 18px/36px, indented 20px,
   no cards, no counters, no boxes. audit/DIFF.md flagged the numbered white
   cards as ours, not live's. */
.expect ul {
  list-style: disc outside;
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 0 20px;
  padding: 0;
}
.expect li {
  font-family: var(--font);
  font-size: 1.125rem; /* live 18px */
  line-height: 1.6;    /* DEVIATION: live is 2.0/36px; Ruben asked for tighter */
  color: var(--ink);
  padding: 0 0 6px;
  background: none;
  border: 0;
}

.below-fold-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  align-items: start;
}

.reviews-sidebar__header {
  background: #1e3a5f;
  color: #fff;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* Fallback for scripts-blocked visitors (e.g. iOS Brave with Shields up):
   the reviews mount is an empty [data-trl-reviews] filled by trl-reviews.js,
   so with JS blocked the sidebar shows nothing at all. Plain body text in
   the sidebar's own colours, invisible whenever scripts run normally. */
.reviews-sidebar .reviews-noscript {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.reviews-sidebar .trl-site-reviews h2 {
  display: none;
}

.reviews-sidebar .trl-site-reviews__list {
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

/* 767, not 768: live still shows the expect list and reviews side by side at
   exactly 768, with reviews above the fold. See audit/DIFF.md. */
@media (max-width: 767px) {
  .below-fold-grid {
    grid-template-columns: 1fr;
  }

  .reviews-sidebar {
    margin-top: 2rem;
  }
}
.trl-review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  line-height: 1.45;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.trl-review-card .stars {
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  line-height: 1.2;
}
.trl-review-card .excerpt {
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 0.35rem;
}
.trl-review-card .author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-mid);
}

/* Live's page tail is six separate blocks, not one dark closing band:
   a bordered white "do not deal alone" strip, a white "Call Now!" block, the
   map, a navy hours band, a white legal-link strip, then a navy copyright bar.
   See audit/DIFF.md section order. */

/* Live wraps this in a Thrive content box: full-bleed outer strip with a
   1px solid rgb(55,55,55) border on all sides (reads as a rule above and
   below), a centred inner box capped at 800px (desktop) / 341px (mobile),
   and the text set as two <strong> runs inside the h3 - which live's own
   CSS bolds to weight 600 (Maven Pro Semibold), independent of the h3
   itself computing 400. Measured against the archived live HTML +
   audit/DIFF.md; see audit/tax-lawyer-settle-stressful-itd captures. */
.dont-deal {
  background: #fff;
  border-top: 1px solid rgb(55, 55, 55);
  border-bottom: 1px solid rgb(55, 55, 55);
  padding: 9px 0;
  text-align: center;
}
.dont-deal .wrap {
  max-width: 800px;
  padding: 0 1rem;
}
.dont-deal p {
  font-family: var(--alt-font);
  font-size: 1.125rem; /* live 18px at 1440/768; live drops to 16px at 390, see media query below */
  font-weight: 600; /* live's innermost <strong> computes 600, not the h3 container's 400 */
  line-height: 1.4;
  color: var(--ink-h1);
}
@media (max-width: 767px) {
  .dont-deal .wrap {
    max-width: 341px;
    padding: 0 0.75rem;
  }
  .dont-deal p {
    font-size: 1rem; /* live 16px */
    line-height: 1.2; /* live is 19px/16px = 1.19 */
  }
}

/* Live: 107px tall at 1440 with no section-level padding at all - the
   height is entirely the heading's own top padding (12px) plus the line's
   line-height (~1.14, not body's inherited 2). Spacing only per the P2
   brief; heading size/line copy untouched. */
.call-now {
  background: #fff;
  text-align: center;
  padding: 1.125rem 0;
}
.call-now h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.3125rem); /* live 37px */
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.call-now p {
  font-family: var(--accent-font);
  font-size: 1.3125rem; /* live 21px at 1440 only - live drops to 17px at <=1023, see media query below */
  line-height: 1.3; /* live is ~24px/21px = 1.14; body's inherited line-height:2 was the bug */
  color: #202731;
}
.call-now a { color: var(--navy-mid); text-decoration: none; }
.call-now a:hover { text-decoration: underline; }
@media (max-width: 1023px) {
  .call-now p { font-size: 1.0625rem; /* live 17px at 768 and 390 */ }
}

/* Live's office map: a static image linking out to Google Maps, full-bleed,
   400px tall at 1440. Not an embed - no Maps JS, no API key, one request.
   Lazy + explicit dimensions since it sits far below the fold. */
.office-map { line-height: 0; }
.office-map img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) {
  .office-map img { height: 220px; }
}

/* Live is 130px tall at 1440 with one hours line + the two-line address and
   no separate section padding - every line carries its own ~5-7px padding.
   Decision 3 (locked) keeps our two hours lines ("Office Hours: ..." and
   "Call or message any time") plus the address, so this can never shrink to
   live's exact number; the bug fixed here is that every child was inheriting
   body's line-height:2 (e.g. a 24px heading rendering at 48px tall), which
   inflated the block well past what the extra accepted line costs. */
.hours {
  background: var(--navy-header);
  color: #fff;
  text-align: center;
  padding: 0.5rem 0;
}
.hours h2 {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 400;
  line-height: 1.25; /* live's h2 is 30px/24px = 1.25; body's inherited line-height:2 was the bug */
  color: #fff;
  margin-bottom: 0.3rem;
}
.hours .hours-line {
  color: var(--gold-header);
  font-weight: 700;
  line-height: 1.35;
}
/* Decision 3 (locked) keeps this exact wording. At 390 the whole line wraps
   awkwardly, so the label gets its own line and the schedule stays together
   on the next - it fits in one line at this font (measured 295px against a
   358px content width at 390), so no second break is needed before "8:30". */
.hours .hours-line .hours-break {
  display: none;
}
@media (max-width: 390px) {
  .hours .hours-line .hours-break {
    display: inline;
  }
}
.hours .hours-note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}
.hours .address { color: #fff; line-height: 1.35; }

.legal-strip {
  background: #fff;
  text-align: center;
  padding: 0.85rem 0; /* matches live at 1440; live is tighter at <=1023, see media query below */
  font-size: 0.95rem;
  line-height: 1.4; /* was inheriting body's line-height:2 */
  color: var(--muted);
}
.legal-strip a { color: var(--navy-mid); }
.legal-strip span { margin: 0 0.35rem; color: var(--line); }
@media (max-width: 1023px) {
  .legal-strip { padding: 0.5rem 0; }
}

.site-footer {
  padding: 1.25rem 0;
  background: var(--navy-header);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  text-align: center;
}
.site-footer a { color: rgba(255, 255, 255, 0.88); }

.ty-main {
  min-height: 70dvh;
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 162, 77, 0.14), transparent 60%),
    linear-gradient(180deg, #102a44, #0a2034);
  color: #fff;
  text-align: center;
}
.ty-card {
  width: min(100%, 520px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(8px);
}
.ty-card h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin-bottom: 0.85rem;
}
.ty-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.85rem;
}
.ty-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  font-size: 0.9rem;
}
.ty-links a { color: var(--gold); }