/* TX Public Adjusting: design system
   Brand: navy #051D40, terracotta #CB5B3B, sky #0095C0 (from the original Elementor kit). */

:root {
  --navy: #051d40;
  --navy-2: #0b2b5a;
  --navy-3: #12386f;
  --terra: #cb5b3b;
  --terra-2: #e2714f;
  --terra-soft: #fbe9e3;
  --sky: #0095c0;
  --sky-soft: #e2f4fa;
  --ink: #0f1b2d;
  --text: #3a4455;
  --muted: #677386;
  --line: #e3e8f0;
  --tint: #f4f7fb;
  --bg: #ffffff;
  --ok: #1f8a5b;
  --ok-soft: #e3f5ec;
  --warn: #b7791f;
  --warn-soft: #fdf3e1;
  --bad: #c0392b;
  --bad-soft: #fbe6e3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(5, 29, 64, .06), 0 2px 8px rgba(5, 29, 64, .05);
  --shadow: 0 10px 30px -10px rgba(5, 29, 64, .18), 0 2px 6px rgba(5, 29, 64, .05);
  --shadow-lg: 0 30px 60px -20px rgba(5, 29, 64, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.7 var(--font); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 2rem; }
.muted { color: var(--muted); font-size: .95rem; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.btn { --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; font-weight: 650; font-size: .98rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--terra), var(--terra-2)); color: #fff; box-shadow: 0 10px 24px -10px rgba(203, 91, 59, .8); }
.btn--primary:hover { color: #fff; box-shadow: 0 16px 30px -10px rgba(203, 91, 59, .9); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { color: var(--navy); border-color: var(--navy); background: #fff; }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn--light:hover { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.btn--sm { padding: .55em 1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.04rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; color: var(--terra); text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform .2s var(--ease); }

/* Top bar + header */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding-top: 7px; padding-bottom: 7px; }
.topbar .icon { color: var(--terra-2); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(5, 29, 64, .35); }
.header__in { display: flex; align-items: center; gap: 1.5rem; height: 74px; transition: height .3s var(--ease); }
.header.is-scrolled .header__in { height: 64px; }
.brand img { width: 180px; height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: .3em; padding: .55em .8em; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s, color .2s; }
.nav__link:hover, .nav__link.is-active { background: var(--tint); color: var(--terra); }
.nav__chev { width: .9em; height: .9em; transition: transform .2s; }
.menu { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 260px; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .22s var(--ease); }
.menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.menu a { display: block; padding: .55em .8em; border-radius: 8px; color: var(--ink); font-size: .93rem; font-weight: 500; text-decoration: none; }
.menu a:hover { background: var(--tint); color: var(--terra); }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover .nav__chev { transform: rotate(180deg); }
.header__cta { display: flex; align-items: center; gap: .5rem; }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.burger .icon { width: 28px; height: 28px; }
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(5, 29, 64, .5); backdrop-filter: blur(4px); }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: #fff; padding: 1rem 1.25rem 2rem; overflow-y: auto; animation: slidein .3s var(--ease); }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer__link { display: block; padding: .7em 0; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer__sub { display: block; padding: .4em 0 .4em 1rem; color: var(--text); text-decoration: none; font-size: .95rem; }
.drawer__cta { display: grid; gap: .6rem; margin-top: 1.5rem; }
.preview-pill { position: fixed; left: 14px; bottom: 14px; z-index: 60; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 600; padding: .45em .9em; border-radius: 999px; box-shadow: var(--shadow); opacity: .85; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: rgba(255, 255, 255, .86); background: radial-gradient(1200px 600px at 85% -10%, #12386f 0%, transparent 60%), linear-gradient(160deg, #061f45 0%, #041631 100%); }
.hero h1 { color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob--1 { width: 520px; height: 520px; background: var(--terra); right: -140px; top: -180px; opacity: .35; }
.blob--2 { width: 460px; height: 460px; background: var(--sky); left: -160px; bottom: -220px; opacity: .3; animation-delay: -6s; }
.blob--3 { width: 300px; height: 300px; background: #3d6fd1; left: 40%; top: 30%; opacity: .2; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 10px) scale(.95); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.hero__map { position: absolute; right: -6%; top: 50%; width: min(760px, 70vw); transform: translateY(-50%); opacity: .14; }
.hero__map .txmap__state { fill: none; stroke: #fff; stroke-width: 2.5; }
.hero__map .txmap__pt { display: none; }
.hero__in { position: relative; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero__in--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero--home .hero__in { padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.hero--center .hero__copy { text-align: center; margin: 0 auto; max-width: 720px; }
.hero--center .hero__btns { justify-content: center; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .82); max-width: 640px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--terra), var(--terra-2)); color: #fff; margin-bottom: 1rem; box-shadow: 0 12px 30px -10px rgba(203, 91, 59, .8); }
.hero__icon .icon { width: 28px; height: 28px; }
.hero__meta { margin-top: 1.25rem; font-size: .9rem; color: rgba(255, 255, 255, .65); }
.hero__figure { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(1.2deg); border: 6px solid rgba(255, 255, 255, .08); }
.hero__figure img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-bottom: .9rem; }
.hero .eyebrow { color: var(--terra-2); }
.eyebrow--pill { padding: .45em 1em; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff !important; letter-spacing: .06em; text-transform: none; font-size: .85rem; font-weight: 600; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.grad-text { background: linear-gradient(100deg, #ff9a76, var(--terra-2) 40%, #ffd2a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.trust li { display: flex; align-items: center; gap: .45em; }
.trust .icon { color: var(--terra-2); }
.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); }
.hero__card { padding: clamp(1.25rem, 3vw, 2rem); }
.hero__card-title { display: flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: .3rem; }
.hero__card-title .icon { color: var(--terra-2); }
.hero__card-sub { font-size: .93rem; color: rgba(255, 255, 255, .72); }
.crumbs ol { list-style: none; margin: 0 0 1.3rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35em; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; margin-right: .35em; opacity: .5; }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.byline { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.byline img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); }
.byline a { color: #fff; font-weight: 650; }
.byline span { font-size: .84rem; color: rgba(255, 255, 255, .6); }

/* Forms */
.qform { display: grid; gap: .75rem; margin-top: 1rem; }
.field { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.field > span { letter-spacing: .01em; }
.field input, .field select, .field textarea { width: 100%; padding: .78em .95em; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0, 149, 192, .14); }
.glass .field > span { color: rgba(255, 255, 255, .8); }
.glass .field input, .glass .field select { background: rgba(255, 255, 255, .95); border-color: transparent; }
.qform__note { font-size: .8rem; color: rgba(255, 255, 255, .65); margin: 0; text-align: center; }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__fine { font-size: .82rem; color: var(--muted); margin: 0; }
.form-status:empty { display: none; }
.form-status { padding: .8em 1em; border-radius: 12px; font-size: .93rem; font-weight: 600; }
.form-status.is-ok { background: var(--ok-soft); color: var(--ok); }
.form-status.is-err { background: var(--bad-soft); color: var(--bad); }
.notice { display: flex; gap: .6em; align-items: center; padding: 1em 1.2em; border-radius: 12px; margin-bottom: 1.25rem; font-weight: 600; }
.notice--ok { background: var(--ok-soft); color: var(--ok); }

/* Ticker */
.ticker { background: var(--terra); color: #fff; overflow: hidden; padding: .9rem 0; font-weight: 650; font-size: .95rem; }
.ticker__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: .5em; white-space: nowrap; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.wrap { padding-left: 20px; padding-right: 20px; }
.section--tint { background: var(--tint); }
.section--navy { background: linear-gradient(160deg, #061f45, #041631); color: rgba(255, 255, 255, .84); isolation: isolate; overflow: hidden; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.section-title { margin-bottom: .5rem; }
.section-sub { font-size: 1.1rem; color: var(--muted); }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--map { grid-template-columns: 1fr 1.05fr; }

/* Service cards */
.svc { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.svc::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(203, 91, 59, .16), transparent 70%); transition: transform .5s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.svc:hover::after { transform: scale(1.6); }
.svc__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--terra-soft); color: var(--terra); transition: background .3s, color .3s, transform .3s var(--ease); }
.svc:hover .svc__icon { background: var(--terra); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc__icon .icon { width: 26px; height: 26px; }
.svc__title { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.svc__desc { font-size: .95rem; flex: 1; }
.svc__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--terra); font-size: .93rem; }
.svc--dark { background: linear-gradient(150deg, var(--navy), var(--navy-3)); border-color: transparent; color: rgba(255, 255, 255, .8); }
.svc--dark:hover { color: rgba(255, 255, 255, .8); }
.svc--dark .svc__title { color: #fff; }
.svc--dark .svc__icon { background: rgba(255, 255, 255, .1); color: #fff; }
.svc--dark .svc__more { color: var(--terra-2); }

/* Versus */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vs__col { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.vs__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .95rem; }
.vs__col li { padding-left: 1.4em; position: relative; }
.vs__col li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.vs__title { font-family: var(--font-head); font-weight: 800; color: var(--ink); display: flex; gap: .4em; align-items: center; }
.vs__col--us { background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: rgba(255, 255, 255, .85); border: 0; box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.vs__col--us .vs__title { color: #fff; }
.vs__col--us .vs__title .icon { color: var(--terra-2); }
.vs__col--us li::before { content: "✓"; color: var(--terra-2); font-weight: 800; }

/* Timeline */
.timeline { --p: 0; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; position: relative; counter-reset: s; }
.timeline li { position: relative; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.timeline li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.timeline h3 { margin: .8rem 0 .4rem; }
.timeline p { margin: 0; font-size: .95rem; }
.timeline__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-family: var(--font-head); box-shadow: 0 0 0 6px var(--sky-soft); }
.timeline li:nth-child(even) .timeline__n { background: var(--terra); box-shadow: 0 0 0 6px var(--terra-soft); }

/* Meet */
.meet { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.meet__photo { position: relative; justify-self: center; }
.meet__photo img { width: min(360px, 80vw); border-radius: 50%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .05), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.meet__badge { position: absolute; bottom: 10%; right: -4%; display: inline-flex; gap: .4em; align-items: center; padding: .6em 1em; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: .88rem; box-shadow: var(--shadow); animation: bob 4s ease-in-out infinite; }
.meet__badge .icon { color: var(--terra); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Checklist (also used in prose) */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: .65rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checklist--light li { color: rgba(255, 255, 255, .88); }
.checklist--light li::before { background-color: rgba(74, 222, 128, .16); }

/* Tool cards */
.tool-card { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); margin: 1.6rem 0; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tool-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(0, 149, 192, .08), transparent 70%); transform: translateX(-100%); transition: transform .8s var(--ease); }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.tool-card:hover::before { transform: translateX(100%); }
.tool-card__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--sky-soft); color: var(--sky); }
.tool-card__icon .icon { width: 26px; height: 26px; }
.tool-card__body { display: grid; gap: .2rem; flex: 1; }
.tool-card__kicker { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.tool-card__title { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.tool-card__desc { font-size: .92rem; line-height: 1.55; }
.tool-card__go { flex: none; align-self: center; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--navy); transition: background .3s, color .3s, transform .3s var(--ease); }
.tool-card:hover .tool-card__go { background: var(--terra); color: #fff; transform: rotate(-45deg); }
.grid .tool-card { margin: 0; }
.tool-card--tile { flex-direction: column; }
.tool-card--tile .tool-card__go { position: absolute; right: 1.2rem; top: 1.2rem; }
.tool-card--big { padding: 1.8rem; }
.tool-card--big .tool-card__icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.chip { display: inline-flex; align-items: center; padding: .45em .95em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all .2s; }
a.chip:hover, button.chip:hover { border-color: var(--terra); color: var(--terra); transform: translateY(-1px); }
.chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips--plain .chip { cursor: default; font-weight: 500; }

/* Texas map */
.map-card { background: #fff; border-radius: 24px; padding: 1.5rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-card--hero { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); box-shadow: none; }
.txmap { width: 100%; height: auto; overflow: visible; }
.txmap__state { fill: #eaf0f8; stroke: #c6d2e3; stroke-width: 2; }
.map-card--hero .txmap__state { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .35); }
.txmap__dot { fill: var(--navy); stroke: #fff; stroke-width: 3; transition: r .2s; }
.map-card--hero .txmap__dot { fill: rgba(255, 255, 255, .55); stroke: none; }
.txmap__pt text { font: 700 24px var(--font); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; }
.map-card--hero .txmap__pt text { fill: #fff; stroke: rgba(5, 29, 64, .7); }
.txmap a:hover .txmap__dot { fill: var(--terra); r: 11; }
.txmap a:hover text { fill: var(--terra); }
.txmap__pt.is-hl .txmap__dot, .txmap__pt.is-home .txmap__dot { fill: var(--terra); }
.txmap__pulse { fill: var(--terra); opacity: .35; transform-origin: center; transform-box: fill-box; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }

/* Key facts */
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 1.6rem 0; }
.keyfacts > div { padding: 1.25rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: rgba(255, 255, 255, .78); }
.keyfacts span { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1.1; color: #fff; margin-bottom: .35rem; }
.keyfacts p { margin: 0; font-size: .9rem; line-height: 1.45; }
.keyfacts > div:nth-child(even) span { color: var(--terra-2); }
.keyfacts--big > div { padding: 2rem 1.5rem; }
.keyfacts--big span { font-size: clamp(2.6rem, 5vw, 3.6rem); }

/* Cards */
.card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--text); height: 100%; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--text); }
.card__img { overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 1.5rem 1.5rem 0; border-radius: 14px; background: var(--terra-soft); color: var(--terra); }
.card__icon .icon { width: 26px; height: 26px; }
.card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.35rem 1.5rem 1.5rem; flex: 1; }
.card__kicker { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }
.card__title { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1.3; color: var(--ink); }
.card__desc { font-size: .92rem; line-height: 1.55; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .9rem; color: var(--navy); }
.card:hover .card__more { color: var(--terra); }
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); margin-bottom: 2rem; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.feature:hover { box-shadow: var(--shadow); color: var(--text); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.feature__body { display: flex; flex-direction: column; justify-content: center; gap: .7rem; padding: clamp(1.5rem, 4vw, 3rem); }
.feature__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.2; color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
[data-cat].is-hidden { display: none; }

/* Area cards */
.area-card { display: grid; gap: .55rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.area-card__region { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.area-card__city { display: flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.area-card__city .icon { color: var(--terra); }
.area-card__risks { display: flex; flex-wrap: wrap; gap: .35rem; }
.area-card__risks span { font-size: .78rem; padding: .25em .7em; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 600; }
.area-card__near { font-size: .85rem; color: var(--muted); }
.risk { position: relative; padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.risk__n { position: absolute; right: 1rem; bottom: .4rem; font: 800 3.2rem/1 var(--font-head); color: var(--tint); }
.risk h3 { position: relative; margin-bottom: .5rem; }
.risk p { position: relative; margin: 0; font-size: .95rem; }
.cases { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.case { padding: 1.2rem 1.4rem; border-left: 4px solid var(--terra); background: var(--tint); border-radius: 0 12px 12px 0; }
.case__title { font-weight: 700; color: var(--ink); margin-bottom: .3rem; }

/* Article layout */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.article-aside .sticky { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
.toc { padding: 1.25rem; border-radius: var(--radius); background: var(--tint); }
.toc__title { font-weight: 800; color: var(--ink); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; font-size: .9rem; line-height: 1.4; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover, .toc a.is-current { color: var(--terra); }
.toc a.is-current { font-weight: 700; }
.aside-card { padding: 1.5rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: rgba(255, 255, 255, .8); display: grid; gap: .7rem; font-size: .93rem; }
.aside-card p { margin: 0; }
.aside-card__title { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.15rem; }
.aside-card .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.aside-card .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Prose */
.prose { min-width: 0; font-size: 1.06rem; }
.prose > p:first-child { font-size: 1.15rem; color: var(--ink); }
.prose h2 { margin-top: 2.3em; scroll-margin-top: 96px; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3rem; margin: 0 0 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--terra); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 550; }
.callout { position: relative; margin: 1.8em 0; padding: 1.2rem 1.4rem 1.2rem 3.4rem; border-radius: 14px; background: var(--sky-soft); border: 1px solid rgba(0, 149, 192, .2); font-size: 1rem; }
.callout p:last-child { margin: 0; }
.callout::before { content: "i"; position: absolute; left: 1.1rem; top: 1.15rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--sky); color: #fff; font: 800 .85rem/1 var(--font-head); }
.callout--tip { background: var(--ok-soft); border-color: rgba(31, 138, 91, .2); }
.callout--tip::before { content: "✓"; background: var(--ok); }
.callout--warn { background: var(--warn-soft); border-color: rgba(183, 121, 31, .25); }
.callout--warn::before { content: "!"; background: var(--warn); }
.callout--law { background: #f1f3fb; border-color: rgba(5, 29, 64, .14); border-left: 4px solid var(--navy); }
.callout--law::before { content: "§"; background: var(--navy); }
.steps { list-style: none; padding: 0; margin: 1.6em 0; counter-reset: st; display: grid; gap: .9rem; }
.steps li { counter-increment: st; position: relative; padding: 1.1rem 1.2rem 1.1rem 4rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin: 0; }
.steps li::before { content: counter(st); position: absolute; left: 1.1rem; top: 1rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, var(--terra), var(--terra-2)); color: #fff; font: 800 .95rem/1 var(--font-head); }
.steps li strong { display: block; margin-bottom: .15rem; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: 14px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
.table-wrap th { background: var(--navy); color: #fff; text-align: left; font-weight: 650; padding: .85em 1em; }
.table-wrap td { padding: .8em 1em; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tbody tr:nth-child(even) td { background: var(--tint); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6em 0; }
.compare > div { padding: 1.3rem 1.4rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.compare > div:first-child { border-top: 4px solid var(--navy); }
.compare > div:last-child { border-top: 4px solid var(--terra); }
.compare h3 { margin-top: 0; font-size: 1.08rem; }
.compare ul { padding-left: 1.1rem; margin: 0; font-size: .96rem; }
.cta-box { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: center; margin: 2.2em 0; padding: 1.6rem; border-radius: 20px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(203, 91, 59, .5), transparent 70%); }
.cta-box__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .1); color: var(--terra-2); }
.cta-box__icon .icon { width: 28px; height: 28px; }
.cta-box p { margin: 0; font-size: .95rem; }
.cta-box__title { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.2rem !important; margin-bottom: .2rem !important; }
.cta-box__btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem; position: relative; z-index: 1; }
.cta-box .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-box .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* FAQ */
.faqs { margin-top: 3rem; }
.faq { border: 1px solid var(--line); border-radius: 14px; margin-bottom: .75rem; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq[open] { box-shadow: var(--shadow-sm); border-color: rgba(203, 91, 59, .35); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.05rem 1.25rem; cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq__chev { transition: transform .25s var(--ease); color: var(--terra); }
.faq[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 1.25rem 1.1rem; }
.faq__a p { margin: 0; font-size: .98rem; }

/* Author */
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 3rem; padding: 1.5rem; border-radius: 18px; background: var(--tint); }
.author-box img { width: 84px; height: 84px; border-radius: 50%; flex: none; }
.author-box p { margin: 0 0 .35rem; font-size: .95rem; }
.author-box__kicker { font-size: .72rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }
.author-box__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem !important; }
.author-box__name a { color: var(--ink); text-decoration: none; }
.author-box__role { color: var(--muted); font-size: .85rem !important; }
.related { padding-bottom: clamp(3rem, 6vw, 5rem); }

/* About */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 2rem 0 0; }
.creds div { padding: .9rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.creds dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.creds dd { margin: 0; color: #fff; font-weight: 700; }
.profile img { width: min(420px, 100%); margin: 0 auto; border-radius: 50%; box-shadow: 0 0 0 12px rgba(255, 255, 255, .05), var(--shadow-lg); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.35fr .9fr; gap: 2rem; padding-top: 3rem; padding-bottom: 4rem; align-items: start; }
.card-panel { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact__form { margin-top: -6rem; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.contact__side { display: grid; gap: 1.25rem; }
.contact__direct { background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: rgba(255, 255, 255, .8); border: 0; }
.contact__direct h2 { color: #fff; font-size: 1.3rem; }
.contact__direct .muted { color: rgba(255, 255, 255, .65); margin: 1rem 0 0; }
.contact__big { display: flex; align-items: center; gap: .5rem; font: 800 1.7rem/1.2 var(--font-head); color: #fff; text-decoration: none; margin-bottom: 1rem; }
.contact__big .icon { color: var(--terra-2); }
.contact__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.contact__direct .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.mini-steps { padding-left: 1.2rem; margin: 0; display: grid; gap: .5rem; font-size: .95rem; }
.card-panel h3 { font-size: 1.1rem; }

/* Footer */
.footer { position: relative; overflow: hidden; background: #041631; color: rgba(255, 255, 255, .7); font-size: .94rem; margin-top: 2rem; }
.footer__glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(203, 91, 59, .3), transparent 65%); pointer-events: none; }
.footer__cta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-top: 3.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__cta h2 { color: #fff; margin-bottom: .35rem; }
.footer__cta p { margin: 0; max-width: 560px; }
.footer__cta-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
.footer__grid h3 { color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__grid a { display: block; color: rgba(255, 255, 255, .72); text-decoration: none; padding: .22em 0; }
.footer__grid a:hover { color: var(--terra-2); }
.footer__about img { width: 190px; margin-bottom: 1rem; }
.footer__about a { display: inline; }
.footer__about .icon { color: var(--terra-2); }
.footer__lic { color: #fff; font-weight: 600; }
.footer__legal { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.4rem; padding-bottom: 2rem; font-size: .8rem; color: rgba(255, 255, 255, .5); }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .3s var(--ease); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--terra); color: #fff; }
.mobilebar { display: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--terra), var(--sky)); }

/* Tools */
.tool-wrap { margin-top: -3.5rem; position: relative; z-index: 2; }
.tool-app { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(1.25rem, 3vw, 2.25rem); }
.tool-disclaimer { display: flex; gap: .5em; align-items: center; justify-content: center; font-size: .85rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.tcols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); }
.tcols--wide { grid-template-columns: 1.2fr .8fr; }
.tgroup { border: 0; padding: 0; margin: 0 0 1.25rem; }
.tgroup legend, .tlabel { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.02rem; margin-bottom: .75rem; padding: 0; }
.tf { display: grid; gap: .3rem; margin-bottom: .95rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.tf small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.tf input, .tf select { width: 100%; padding: .7em .9em; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.tf input:focus, .tf select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0, 149, 192, .14); }
.tf-money { position: relative; }
.tf-money::before { content: "$"; position: absolute; left: .9em; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.tf-money input { padding-left: 1.8em; }
.tf-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.tf input[type=range] { padding: 0; border: 0; accent-color: var(--terra); box-shadow: none; }
.range-val { font-weight: 800; color: var(--terra); }
.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--tint); gap: 2px; margin-bottom: 1rem; }
.seg button { border: 0; background: transparent; padding: .5em 1em; border-radius: 999px; font-weight: 650; font-size: .88rem; color: var(--text); cursor: pointer; transition: all .2s; }
.seg button.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tcheck { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; margin-bottom: .6rem; cursor: pointer; }
.tcheck input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--terra); flex: none; }
.tresult { position: sticky; top: 90px; align-self: start; padding: 1.5rem; border-radius: 20px; background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: rgba(255, 255, 255, .82); }
.tresult h3, .tresult .tlabel { color: #fff; }
.tbig { font: 800 clamp(2.2rem, 4vw, 3rem)/1.05 var(--font-head); color: #fff; margin: .25rem 0 .3rem; transition: color .3s; }
.tbig small { font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .6); }
.tlines { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .92rem; }
.tlines li { display: flex; justify-content: space-between; gap: 1rem; padding: .55em 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.tlines li strong { color: #fff; font-variant-numeric: tabular-nums; }
.tlines li.is-neg strong { color: #ff9b8a; }
.tlines li.is-total { font-weight: 700; color: #fff; }
.bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .1); margin: 1rem 0 .5rem; }
.bar span { height: 100%; transition: width .5s var(--ease); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .78rem; }
.legend i { display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.c-pay { background: #4ade80; } .c-hold { background: #38bdf8; } .c-ded { background: #fbbf24; } .c-fee { background: var(--terra-2); }
.tnote { font-size: .82rem; color: rgba(255, 255, 255, .6); margin: 1rem 0 0; }
.tbtns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.tbtns .btn--ghost { background: #fff; }
.vt { list-style: none; padding: 0; margin: 0; position: relative; }
.vt::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.vt li { position: relative; padding: 0 0 1.3rem 3rem; }
.vt li::before { content: ""; position: absolute; left: 6px; top: .35rem; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--sky); }
.vt li.is-past::before { border-color: var(--muted); background: var(--muted); }
.vt li.is-late::before { border-color: var(--bad); background: var(--bad); }
.vt li.is-next::before { border-color: var(--terra); animation: ping 2s infinite; }
.vt__date { font: 800 1.15rem var(--font-head); color: var(--ink); }
.vt__what { font-size: .93rem; }
.vt__law { font-size: .78rem; color: var(--muted); }
.badge { display: inline-block; padding: .15em .6em; border-radius: 999px; font-size: .75rem; font-weight: 700; margin-left: .4rem; vertical-align: 2px; }
.badge--ok { background: var(--ok-soft); color: var(--ok); } .badge--warn { background: var(--warn-soft); color: var(--warn); } .badge--bad { background: var(--bad-soft); color: var(--bad); } .badge--info { background: var(--sky-soft); color: var(--sky); }
.ring { --v: 0; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--terra) calc(var(--v) * 1%), var(--tint) 0); display: grid; place-items: center; transition: --v .4s; }
.ring span { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 800 1.5rem var(--font-head); color: var(--ink); }
.cl-head { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cl-section { margin-bottom: 1.5rem; padding: 1.25rem; border-radius: 16px; border: 1px solid var(--line); }
.cl-section h3 { font-size: 1.05rem; display: flex; justify-content: space-between; gap: .5rem; }
.cl-section h3 span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.tcheck.is-done span { text-decoration: line-through; color: var(--muted); }
.inv-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 760px; }
.inv-table th { text-align: left; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .5em; border-bottom: 2px solid var(--line); }
.inv-table td { padding: .35em; border-bottom: 1px solid var(--line); }
.inv-table input, .inv-table select { width: 100%; padding: .5em .6em; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; }
.inv-table td:last-child { width: 40px; }
.icon-btn { border: 0; background: var(--tint); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.icon-btn:hover { background: var(--bad-soft); color: var(--bad); }
.inv-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.inv-totals div { padding: 1rem 1.2rem; border-radius: 14px; background: var(--tint); }
.inv-totals span { display: block; font: 800 1.5rem var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.inv-totals p { margin: 0; font-size: .82rem; color: var(--muted); }
.quiz-q { display: none; animation: fadeup .4s var(--ease); }
.quiz-q.is-on { display: block; }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } }
.quiz-q h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.quiz-opts { display: grid; gap: .6rem; }
.quiz-opts button { text-align: left; padding: 1rem 1.2rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s; }
.quiz-opts button:hover { border-color: var(--terra); background: var(--terra-soft); transform: translateX(4px); }
.quiz-progress { height: 6px; border-radius: 999px; background: var(--tint); margin-bottom: 1.5rem; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--terra), var(--sky)); transition: width .4s var(--ease); }
.quiz-result { display: none; }
.quiz-result.is-on { display: block; animation: fadeup .5s var(--ease); }
.verdict { padding: 1.5rem; border-radius: 18px; margin-bottom: 1rem; }
.verdict--high { background: var(--terra-soft); border: 1px solid rgba(203, 91, 59, .3); }
.verdict--mid { background: var(--warn-soft); border: 1px solid rgba(183, 121, 31, .3); }
.verdict--low { background: var(--ok-soft); border: 1px solid rgba(31, 138, 91, .3); }
.verdict h3 { margin-bottom: .4rem; }
.storm-links { display: grid; gap: .6rem; margin-top: 1rem; }
.storm-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: all .2s; }
.storm-links a:hover { border-color: var(--sky); background: var(--sky-soft); transform: translateX(4px); }
.storm-links small { display: block; font-weight: 400; color: var(--muted); }

/* Live weather (home) */
.wx .section-title { margin-bottom: .4rem; }
.wx__sub { color: rgba(255, 255, 255, .72); max-width: 720px; }
.wx__live { width: 9px; height: 9px; border-radius: 50%; background: #f87171; box-shadow: 0 0 0 0 rgba(248, 113, 113, .7); animation: ping 1.8s infinite; }
.wx__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.25rem; }
.wx__grid > * { min-width: 0; }
.wx__card { padding: 1.4rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); min-height: 320px; }
.wx__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.wx__title { margin: 0; display: flex; align-items: center; gap: .45em; font: 800 1.1rem var(--font-head); color: #fff; }
.wx__title .icon { color: var(--terra-2); }
.wx__controls { display: flex; gap: .4rem; }
.wx__controls select { padding: .5em .8em; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
.wx__controls select option { color: var(--ink); }
.wx__loc { display: grid; place-items: center; width: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.wx__loc:hover { background: var(--terra); border-color: var(--terra); }
.wx__muted { color: rgba(255, 255, 255, .6); font-size: .93rem; }
.wx__now { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.1rem; }
.wx__now img { width: 76px; height: 76px; border-radius: 16px; }
.wx__temp { font: 800 3.2rem/1 var(--font-head); color: #fff; }
.wx__temp small { font-size: 1.1rem; color: rgba(255, 255, 255, .6); }
.wx__desc { color: #fff; font-weight: 650; margin: 0; }
.wx__meta { color: rgba(255, 255, 255, .65); font-size: .85rem; margin: .1rem 0 0; }
.wx__periods { display: grid; grid-template-columns: repeat(6, minmax(78px, 1fr)); gap: .5rem; overflow-x: auto; padding-bottom: .25rem; }
.wx__p { text-align: center; padding: .7rem .4rem; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .78rem; color: rgba(255, 255, 255, .75); }
.wx__p img { width: 40px; height: 40px; border-radius: 10px; margin: .35rem auto; }
.wx__p strong { display: block; color: #fff; font-size: 1rem; }
.wx__p.is-storm { background: rgba(203, 91, 59, .25); box-shadow: inset 0 0 0 1px rgba(226, 113, 79, .6); }
.wx__count { font-size: .8rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; }
.wx__alerts { display: grid; gap: .6rem; max-height: 330px; overflow-y: auto; padding-right: .25rem; }
.wx__alert { display: block; padding: .85rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border-left: 4px solid #fbbf24; color: rgba(255, 255, 255, .8); font-size: .86rem; line-height: 1.45; text-decoration: none; }
.wx__alert:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.wx__alert strong { display: block; color: #fff; font-size: .98rem; margin-bottom: .15rem; }
.wx__alert.is-severe { border-left-color: #f87171; }
.wx__alert.is-minor { border-left-color: #38bdf8; }
.wx__ok { display: flex; gap: .7rem; align-items: center; padding: 1rem; border-radius: 14px; background: rgba(74, 222, 128, .12); color: #d1fae5; }
.wx__ok .icon { color: #4ade80; width: 1.6em; height: 1.6em; }
.wx__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.25rem; }
.wx__strip > div { padding: 1rem 1.2rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.wx__strip span { display: block; font: 800 1.7rem/1.1 var(--font-head); color: #fff; }
.wx__strip p { margin: .2rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .65); }
.wx__src { font-size: .76rem; color: rgba(255, 255, 255, .45); margin: 1rem 0 0; }
@media (max-width: 960px) { .wx__grid { grid-template-columns: minmax(0, 1fr); } .wx__controls { width: 100%; } .wx__controls select { flex: 1; min-width: 0; } .wx__strip { grid-template-columns: 1fr 1fr; } }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__cta { margin-left: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero__in--split, .split, .split--map, .meet, .feature, .contact, .tcols, .tcols--wide { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
  .hero__figure { transform: none; }
  .contact__form { margin-top: -4rem; }
  .vs__col--us { transform: none; }
  .tresult { position: static; }
  .topbar__right { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .wrap { padding: 0 16px; }
  .section.wrap { padding-left: 16px; padding-right: 16px; }
  .grid--2, .grid--3, .grid--4, .timeline, .vs, .compare, .form__row, .tf-row, .creds, .footer__grid { grid-template-columns: 1fr; }
  .header__phone, .header__cta .btn--primary { display: none; }
  .brand img { width: 150px; }
  .topbar { font-size: .74rem; }
  .hero__btns .btn { width: 100%; }
  .cta-box { grid-template-columns: 1fr; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(5, 29, 64, .3); }
  .mobilebar a { display: flex; align-items: center; justify-content: center; gap: .4em; padding: .95em .5em; font-weight: 700; font-size: .92rem; color: var(--navy); text-decoration: none; }
  .mobilebar__main { background: linear-gradient(135deg, var(--terra), var(--terra-2)); color: #fff !important; }
  .totop { bottom: 78px; }
  .preview-pill { bottom: 72px; }
  .meet__badge { right: 0; }
  .tool-wrap { margin-top: -2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .topbar, .header, .footer, .mobilebar, .totop, .hero__bg, .article-aside, .cta-box, .preview-pill, .tbtns, .seg, .progress { display: none !important; }
  .hero { background: none; color: #000; }
  .hero h1 { color: #000; }
  .tool-app { box-shadow: none; border: 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
