/*
Theme Name: U-Consults Tax
Theme URI: https://tax.u-consults.com/
Author: U-Consults
Author URI: https://u-consults.com/
Description: Custom theme for U-Consults Tax Services. Secure, education-first tax preparation for individuals, families, and self-employed workers. No page-builder dependency — clean, fast, accessible.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uconsults-tax
Tags: custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ============================================================
   U-CONSULTS TAX — design tokens
   ============================================================ */
:root {
  --uc-navy: #0f2740;
  --uc-navy-dark: #0a1c30;
  --uc-navy-light: #1a3a5c;
  --uc-gold: #c9a227;
  --uc-gold-dark: #a8861d;
  --uc-gold-light: #f3e9c8;
  --uc-ivory: #faf8f3;
  --uc-white: #ffffff;
  --uc-charcoal: #2b2b2b;
  --uc-gray: #5c6b7a;
  --uc-gray-light: #e8edf1;
  --uc-border: #d9e0e7;
  --uc-success: #2e7d4f;
  --uc-error: #b3261e;
  --uc-radius: 10px;
  --uc-shadow: 0 6px 24px rgba(10, 28, 48, 0.10);
  --uc-font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --uc-max: 1180px;
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--uc-font);
  color: var(--uc-charcoal);
  background: var(--uc-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.25; color: var(--uc-navy-dark); margin: 0 0 0.6em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--uc-navy); }
a:hover { color: var(--uc-gold-dark); }
img { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.25em; }

.uc-container { width: 100%; max-width: var(--uc-max); margin: 0 auto; padding: 0 20px; }
.uc-section { padding: 56px 0; }
.uc-section--alt { background: var(--uc-ivory); }
.uc-section--navy { background: var(--uc-navy-dark); color: #fff; }
.uc-section--navy h2, .uc-section--navy h3 { color: #fff; }
.uc-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--uc-gold-dark); margin-bottom: 0.6em;
}
.uc-lead { font-size: 1.1rem; color: var(--uc-gray); max-width: 640px; }
.uc-section--navy .uc-lead { color: #d7e2ea; }
.uc-center { text-align: center; }
.uc-center .uc-lead { margin-left: auto; margin-right: auto; }

/* Skip link */
.uc-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--uc-navy-dark); color: #fff; padding: 10px 18px;
  font-weight: 700; border-radius: 0 0 8px 0;
}
.uc-skip-link:focus { left: 0; }

/* Buttons */
.uc-btn {
  display: inline-block; padding: 13px 28px; border-radius: 8px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background 0.2s, transform 0.15s;
  text-align: center;
}
.uc-btn:active { transform: translateY(1px); }
.uc-btn--primary { background: var(--uc-gold); color: var(--uc-navy-dark); }
.uc-btn--primary:hover { background: var(--uc-gold-dark); color: #fff; }
.uc-btn--secondary { background: transparent; color: #fff; border-color: #fff; }
.uc-btn--secondary:hover { background: #fff; color: var(--uc-navy-dark); }
.uc-btn--navy { background: var(--uc-navy); color: #fff; }
.uc-btn--navy:hover { background: var(--uc-navy-light); color: #fff; }
.uc-btn--outline { background: transparent; color: var(--uc-navy); border-color: var(--uc-navy); }
.uc-btn--outline:hover { background: var(--uc-navy); color: #fff; }
.uc-btn--block { display: block; width: 100%; }
.uc-btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--uc-gold); outline-offset: 2px;
}

/* ============================================================
   Top bar + header
   ============================================================ */
.uc-topbar { background: var(--uc-navy-dark); color: #cfdae4; font-size: 0.85rem; }
.uc-topbar .uc-container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; flex-wrap: wrap; }
.uc-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.uc-topbar a:hover { color: var(--uc-gold-light); }

.uc-header { background: #fff; border-bottom: 1px solid var(--uc-border); position: sticky; top: 0; z-index: 900; }
.uc-header .uc-container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.uc-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.uc-logo img { max-height: 52px; width: auto; }
.uc-logo__text { font-weight: 800; font-size: 1.15rem; color: var(--uc-navy-dark); line-height: 1.2; }
.uc-logo__text small { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--uc-gold-dark); text-transform: uppercase; }

.uc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.uc-nav a {
  display: block; padding: 10px 14px; text-decoration: none; font-weight: 600;
  color: var(--uc-navy-dark); border-radius: 6px; font-size: 0.98rem;
}
.uc-nav a:hover { background: var(--uc-ivory); color: var(--uc-gold-dark); }
.uc-nav .current-menu-item > a { color: var(--uc-gold-dark); }
.uc-nav .uc-btn { margin-left: 8px; padding: 10px 20px; }

.uc-hamburger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.uc-hamburger span { display: block; width: 26px; height: 3px; background: var(--uc-navy-dark); margin: 5px 0; border-radius: 2px; transition: 0.2s; }
.uc-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.uc-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.uc-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.uc-hero { background: linear-gradient(135deg, var(--uc-navy-dark) 0%, var(--uc-navy) 70%); color: #fff; padding: 72px 0; }
.uc-hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 0.4em; }
.uc-hero h1 .uc-hero__accent { color: var(--uc-gold); display: block; }
.uc-hero p { color: #d7e2ea; font-size: 1.12rem; max-width: 620px; }
.uc-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.uc-hero__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; list-style: none; padding: 0; }
.uc-hero__chips li {
  border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
  padding: 7px 16px; font-size: 0.88rem; font-weight: 600; color: #fff;
}
.uc-pagehero { background: var(--uc-navy); color: #fff; padding: 52px 0; }
.uc-pagehero h1 { color: #fff; margin-bottom: 0.3em; }
.uc-pagehero p { color: #d7e2ea; max-width: 680px; margin-bottom: 0; }

/* ============================================================
   Cards / grids
   ============================================================ */
.uc-grid { display: grid; gap: 22px; }
.uc-grid--2 { grid-template-columns: 1fr; }
.uc-grid--3 { grid-template-columns: 1fr; }
.uc-grid--4 { grid-template-columns: 1fr; }
.uc-card {
  background: #fff; border: 1px solid var(--uc-border); border-radius: var(--uc-radius);
  padding: 28px; box-shadow: var(--uc-shadow);
}
.uc-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--uc-gold-light); color: var(--uc-gold-dark);
  font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}
.uc-card h3 { margin-bottom: 0.4em; }
.uc-card p { color: var(--uc-gray); }
.uc-card .uc-btn { margin-top: 12px; }
.uc-price { font-weight: 800; color: var(--uc-navy-dark); font-size: 1.05rem; margin: 10px 0 0; }

/* Steps */
.uc-steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 22px; }
.uc-step { background: #fff; border: 1px solid var(--uc-border); border-radius: var(--uc-radius); padding: 28px; box-shadow: var(--uc-shadow); }
.uc-step__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.uc-step__num {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--uc-navy); color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.uc-step h3 { margin: 4px 0 0; }
.uc-notice {
  background: var(--uc-gold-light); border-left: 4px solid var(--uc-gold);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 18px 0;
}
.uc-notice strong { color: var(--uc-navy-dark); }

/* Testimonials */
.uc-testimonials { display: grid; gap: 22px; }
.uc-quote { background: #fff; border-radius: var(--uc-radius); padding: 28px; border: 1px solid var(--uc-border); box-shadow: var(--uc-shadow); }
.uc-quote blockquote { margin: 0 0 14px; font-style: italic; color: var(--uc-charcoal); }
.uc-quote cite { font-style: normal; font-weight: 700; color: var(--uc-navy-dark); display: block; }
.uc-quote cite span { font-weight: 400; color: var(--uc-gray); font-size: 0.9rem; }
.uc-disclaimer { font-size: 0.85rem; color: var(--uc-gray); }

/* Credentials */
.uc-credentials { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.uc-credential {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 14px 20px; min-width: 150px;
}
.uc-credential strong { display: block; color: var(--uc-gold); font-size: 1.25rem; }
.uc-credential span { font-size: 0.85rem; color: #d7e2ea; }
.uc-section:not(.uc-section--navy) .uc-credential { background: var(--uc-ivory); border-color: var(--uc-border); }
.uc-section:not(.uc-section--navy) .uc-credential strong { color: var(--uc-navy-dark); }
.uc-section:not(.uc-section--navy) .uc-credential span { color: var(--uc-gray); }

/* CTA banner */
.uc-cta { background: linear-gradient(135deg, var(--uc-gold) 0%, var(--uc-gold-dark) 100%); color: var(--uc-navy-dark); border-radius: var(--uc-radius); padding: 40px 32px; text-align: center; }
.uc-cta h2 { color: var(--uc-navy-dark); }
.uc-cta p { max-width: 560px; margin: 0 auto 22px; }

/* ============================================================
   Forms
   ============================================================ */
.uc-form { max-width: 720px; }
.uc-field { margin-bottom: 18px; }
.uc-field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--uc-navy-dark); }
.uc-field .uc-required { color: var(--uc-error); }
.uc-field input[type="text"], .uc-field input[type="email"], .uc-field input[type="tel"],
.uc-field input[type="date"], .uc-field input[type="number"], .uc-field select, .uc-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--uc-border);
  border-radius: 8px; font-size: 1rem; font-family: inherit; background: #fff;
}
.uc-field textarea { min-height: 120px; resize: vertical; }
.uc-field input:focus, .uc-field select:focus, .uc-field textarea:focus {
  border-color: var(--uc-navy); outline: 3px solid var(--uc-gold-light); outline-offset: 0;
}
.uc-field__hint { font-size: 0.85rem; color: var(--uc-gray); margin-top: 4px; }
.uc-field__error { display: none; color: var(--uc-error); font-size: 0.88rem; font-weight: 600; margin-top: 4px; }
.uc-field--invalid input, .uc-field--invalid select, .uc-field--invalid textarea { border-color: var(--uc-error); }
.uc-field--invalid .uc-field__error { display: block; }
.uc-check { display: flex; gap: 10px; align-items: flex-start; }
.uc-check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--uc-navy); }
.uc-check label { font-weight: 400; }
.uc-form__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.uc-form__note { background: var(--uc-ivory); border: 1px solid var(--uc-border); border-radius: 8px; padding: 16px 18px; font-size: 0.92rem; margin-bottom: 22px; }
.uc-form__success, .uc-form__errorbox {
  border-radius: 8px; padding: 18px 20px; margin-bottom: 22px; font-weight: 600;
}
.uc-form__success { background: #e6f4ec; border: 1px solid var(--uc-success); color: #1c5c36; }
.uc-form__errorbox { background: #fdecea; border: 1px solid var(--uc-error); color: #8f1d17; }

/* Multi-step intake */
.uc-steps-indicator { display: flex; gap: 0; margin-bottom: 28px; list-style: none; padding: 0; }
.uc-steps-indicator li { flex: 1; text-align: center; font-size: 0.82rem; font-weight: 700; color: var(--uc-gray); position: relative; padding-top: 30px; }
.uc-steps-indicator li::before {
  content: attr(data-step); position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--uc-gray-light);
  color: var(--uc-gray); font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
}
.uc-steps-indicator li::after { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--uc-border); z-index: -1; }
.uc-steps-indicator li:first-child::after { display: none; }
.uc-steps-indicator li.is-active { color: var(--uc-navy-dark); }
.uc-steps-indicator li.is-active::before { background: var(--uc-navy); color: #fff; }
.uc-steps-indicator li.is-done::before { background: var(--uc-success); color: #fff; content: "✓"; }
.uc-intake-step { display: none; }
.uc-intake-step.is-active { display: block; animation: ucFade 0.25s ease; }
@keyframes ucFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.uc-review { background: var(--uc-ivory); border: 1px solid var(--uc-border); border-radius: 8px; padding: 18px; margin-bottom: 18px; }
.uc-review dl { margin: 0; display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: 0.95rem; }
.uc-review dt { font-weight: 700; color: var(--uc-navy-dark); }
.uc-review dd { margin: 0; }

/* ============================================================
   Cookie consent
   ============================================================ */
.uc-cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
  background: #fff; border: 1px solid var(--uc-border); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15,36,54,0.22); padding: 22px; max-width: 560px;
  display: none;
}
.uc-cookie.is-visible { display: block; }
.uc-cookie h2 { font-size: 1.05rem; margin-bottom: 8px; }
.uc-cookie p { font-size: 0.9rem; color: var(--uc-gray); margin-bottom: 14px; }
.uc-cookie p a { font-weight: 600; }
.uc-cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.uc-cookie__prefs { display: none; margin-top: 14px; border-top: 1px solid var(--uc-border); padding-top: 14px; }
.uc-cookie__prefs.is-open { display: block; }
.uc-cookie__prefs .uc-check { margin-bottom: 10px; }

/* ============================================================
   Footer
   ============================================================ */
.uc-footer { background: var(--uc-navy-dark); color: #cfdae4; padding: 56px 0 0; }
.uc-footer__grid { display: grid; gap: 32px; padding-bottom: 40px; }
.uc-footer h3 { color: #fff; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.uc-footer a { color: #cfdae4; text-decoration: none; }
.uc-footer a:hover { color: var(--uc-gold); }
.uc-footer ul { list-style: none; padding: 0; margin: 0; }
.uc-footer ul li { margin-bottom: 10px; }
.uc-footer__nap p { margin-bottom: 8px; }
.uc-footer__nap a { font-weight: 600; color: #fff; }
.uc-social { display: flex; gap: 10px; margin-top: 16px; }
.uc-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; font-weight: 700; font-size: 0.8rem;
}
.uc-social a:hover { background: var(--uc-gold); color: var(--uc-navy-dark); }
.uc-footer__bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: 18px 0; font-size: 0.88rem; }
.uc-footer__bottom .uc-container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* FAQ */
.uc-faq { max-width: 800px; }
.uc-faq details { border: 1px solid var(--uc-border); border-radius: 8px; margin-bottom: 12px; background: #fff; }
.uc-faq summary { padding: 16px 20px; font-weight: 700; color: var(--uc-navy-dark); cursor: pointer; list-style: none; }
.uc-faq summary::-webkit-details-marker { display: none; }
.uc-faq summary::after { content: "+"; float: right; color: var(--uc-gold-dark); font-size: 1.3rem; line-height: 1; }
.uc-faq details[open] summary::after { content: "–"; }
.uc-faq .uc-faq__answer { padding: 0 20px 18px; color: var(--uc-gray); }

/* Content pages */
.uc-content h2 { margin-top: 1.6em; }
.uc-content h2:first-child { margin-top: 0; }
.uc-content--narrow { max-width: 780px; }
.uc-toc { background: var(--uc-ivory); border: 1px solid var(--uc-border); border-radius: 8px; padding: 18px 22px; margin-bottom: 28px; }
.uc-toc strong { display: block; margin-bottom: 8px; color: var(--uc-navy-dark); }
.uc-toc ol { margin: 0; }

/* 404 */
.uc-404 { text-align: center; padding: 80px 0; }
.uc-404 h1 { font-size: 4rem; color: var(--uc-navy); margin-bottom: 0.2em; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 640px) {
  .uc-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .uc-testimonials { grid-template-columns: repeat(2, 1fr); }
  .uc-steps { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  .uc-hero h1 { font-size: 3rem; }
  .uc-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .uc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .uc-testimonials { grid-template-columns: repeat(3, 1fr); }
  .uc-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .uc-steps { grid-template-columns: 1fr; }
}
@media (min-width: 1100px) {
  .uc-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1023px) {
  .uc-hamburger { display: block; }
  .uc-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--uc-border);
    box-shadow: 0 12px 24px rgba(15,36,54,0.12);
  }
  .uc-nav.is-open { display: block; }
  .uc-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .uc-nav a { padding: 12px 8px; border-bottom: 1px solid var(--uc-gray-light); border-radius: 0; }
  .uc-nav .uc-btn { margin: 12px 0 0; text-align: center; }
  .uc-header { position: sticky; }
  .uc-topbar .uc-container { font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .uc-hero { padding: 52px 0; }
  .uc-hero h1 { font-size: 1.9rem; }
  .uc-hero__ctas .uc-btn { flex: 1 1 100%; }
  .uc-section { padding: 40px 0; }
  .uc-review dl { grid-template-columns: 1fr; }
  .uc-review dt { margin-top: 8px; }
  .uc-steps-indicator li { font-size: 0.7rem; }
  .uc-cookie { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .uc-intake-step.is-active { animation: none; }
}

/* ============================================================
   v1.0.2 — Homepage mockup (Nov 18, 2026)
   Navy header, split hero with photo + gold swoosh, service cards,
   portal banner, why-choose, clinics, mockup footer.
   ============================================================ */

/* --- Header: navy, white nav, gold + outline buttons --- */
.uc-header { background: var(--uc-navy-dark); border-bottom: 3px solid var(--uc-gold); }
.uc-header .uc-container { padding-top: 10px; padding-bottom: 10px; gap: 20px; }
.uc-logo__text { color: #fff; }
.uc-logo__text small { color: var(--uc-gold); }
.uc-logo img { max-height: 56px; filter: none; }
@media (min-width: 1024px) {
  .uc-nav { display: flex; align-items: center; gap: 8px; }
}
.uc-nav ul { gap: 2px; }
.uc-nav a { color: #fff; }
.uc-nav a:hover { background: rgba(255,255,255,0.08); color: var(--uc-gold-light); }
.uc-nav .current-menu-item > a { color: var(--uc-gold); }
.uc-nav .menu-item-has-children > a::after { content: "▾"; margin-left: 6px; font-size: 0.75em; color: var(--uc-gold); }
.uc-nav li { position: relative; }
.uc-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--uc-navy-dark); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px; padding: 8px; box-shadow: 0 12px 32px rgba(0,0,0,0.35); z-index: 1000;
}
.uc-nav li:hover > .sub-menu, .uc-nav li:focus-within > .sub-menu { display: block; }
.uc-nav .sub-menu li { display: block; }
.uc-nav .sub-menu a { padding: 10px 14px; white-space: normal; line-height: 1.4; }
.uc-header__actions { display: flex; gap: 10px; align-items: center; margin-left: 10px; }
.uc-header__actions .uc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 0.92rem; white-space: nowrap; margin-left: 0; }
.uc-header__actions .uc-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.uc-hamburger span { background: #fff; }

/* --- Split hero --- */
.uc-hero--split {
  background: var(--uc-navy-dark); padding: 0;
  display: grid; grid-template-columns: 1fr; overflow: hidden;
}
.uc-hero__text { padding: 56px 28px; max-width: 640px; margin: 0 auto; }
.uc-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
}
.uc-hero__eyebrow::after { content: ""; width: 64px; height: 2px; background: var(--uc-gold); }
.uc-hero--split h1 { font-size: 2.2rem; color: #fff; }
.uc-hero--split h1 .uc-hero__accent { color: var(--uc-gold); display: block; }
.uc-hero--split p { color: #d7e2ea; font-size: 1.05rem; }
.uc-hero--split .uc-hero__ctas { margin-top: 26px; }
.uc-hero--split .uc-btn { display: inline-flex; align-items: center; gap: 8px; }
.uc-hero--split .uc-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.uc-hero__media { position: relative; min-height: 240px; }
.uc-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-hero__swoosh { position: absolute; left: -2px; top: 0; height: 100%; width: 56px; z-index: 2; }

/* --- Ruled section eyebrows --- */
.uc-eyebrow--ruled { display: inline-flex; align-items: center; gap: 14px; }
.uc-eyebrow--ruled::before, .uc-eyebrow--ruled::after { content: ""; width: 48px; height: 2px; background: var(--uc-gold); }
.uc-services { background: var(--uc-ivory); }
.uc-services h2 { margin-bottom: 0.3em; }

/* --- Service cards --- */
.uc-service-grid { margin-top: 36px; }
.uc-service-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--uc-border); border-radius: var(--uc-radius);
  border-bottom: 3px solid var(--uc-gold);
  padding: 26px 24px; box-shadow: var(--uc-shadow); position: relative;
}
.uc-service-card__icon {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px;
  background: var(--uc-navy-dark); color: var(--uc-gold);
  display: flex; align-items: center; justify-content: center;
}
.uc-service-card__icon svg { width: 28px; height: 28px; }
.uc-service-card h3 { font-size: 1.12rem; margin-bottom: 0.3em; line-height: 1.3; }
.uc-service-card p { color: var(--uc-gray); font-size: 0.95rem; margin-bottom: 0; }
.uc-service-card__arrow {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--uc-gold); color: var(--uc-gold-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; text-decoration: none; margin-left: auto; align-self: center;
}
.uc-service-card__arrow:hover { background: var(--uc-gold); color: var(--uc-navy-dark); }

/* --- Secure Client Portal banner --- */
.uc-portal-strip { background: var(--uc-ivory); padding-top: 0; padding-bottom: 56px; }
.uc-portal-banner {
  background: linear-gradient(135deg, var(--uc-navy-dark) 0%, var(--uc-navy) 100%);
  border-radius: 16px; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: 1fr; box-shadow: var(--uc-shadow);
}
.uc-portal-banner__media { min-height: 170px; position: relative; }
.uc-portal-banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-portal-banner__text { padding: 30px 28px; }
.uc-portal-banner__text h2 { color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 0.4em; font-size: 1.45rem; }
.uc-portal-banner__text h2 svg { width: 26px; height: 26px; color: var(--uc-gold); flex-shrink: 0; }
.uc-portal-banner__text p { color: #d7e2ea; margin-bottom: 0; }
.uc-portal-banner > .uc-btn { margin: 0 28px 28px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.uc-portal-banner > .uc-btn svg { width: 16px; height: 16px; }

/* --- Why Choose --- */
.uc-why__grid { display: grid; gap: 28px; margin-top: 36px; }
.uc-why__item { text-align: left; }
.uc-why__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--uc-gold-light); color: var(--uc-gold-dark); margin-bottom: 14px;
}
.uc-why__icon svg { width: 26px; height: 26px; }
.uc-why__item h3 { margin-bottom: 0.3em; }
.uc-why__item p { color: var(--uc-gray); font-size: 0.95rem; margin-bottom: 0; }

/* --- Clinics --- */
.uc-clinics { background: var(--uc-ivory); }
.uc-clinics__card {
  background: #fff; border: 1px solid var(--uc-border); border-radius: 16px;
  box-shadow: var(--uc-shadow); overflow: hidden;
  display: grid; grid-template-columns: 1fr;
}
.uc-clinics__media { position: relative; min-height: 200px; }
.uc-clinics__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-clinics__swoosh { position: absolute; left: -2px; top: 0; height: 100%; width: 56px; z-index: 2; }
.uc-clinics__text { padding: 32px 28px; }
.uc-clinics__text h2 { margin-bottom: 0.3em; }
.uc-clinics__points { list-style: none; padding: 0; margin: 20px 0 0; }
.uc-clinics__points li { padding: 6px 0 6px 34px; position: relative; font-weight: 600; color: var(--uc-navy-dark); }
.uc-clinics__points li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--uc-gold);
  color: var(--uc-navy-dark); font-size: 0.8rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.uc-clinics__dates { padding: 28px; background: var(--uc-ivory); border-top: 1px solid var(--uc-border); }
.uc-clinics__dates h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.uc-clinics__dates h3 svg { width: 20px; height: 20px; color: var(--uc-gold-dark); flex-shrink: 0; }
.uc-clinics__dates ul { list-style: none; padding: 0; margin: 0 0 20px; }
.uc-clinics__dates li {
  background: #fff; border: 1px solid var(--uc-border); border-radius: 8px;
  padding: 10px 14px; margin-bottom: 10px;
}
.uc-clinics__date { display: block; font-weight: 700; color: var(--uc-navy-dark); font-size: 0.95rem; }
.uc-clinics__venue { display: block; color: var(--uc-gray); font-size: 0.88rem; }
.uc-clinics__dates .uc-btn { display: inline-flex; align-items: center; gap: 8px; }

/* --- Footer (mockup): brand | contact | quick links | policies | language --- */
.uc-footer__grid { grid-template-columns: 1fr; }
.uc-footer__brand p { color: #cfdae4; font-size: 0.95rem; max-width: 280px; }
.uc-footer__logo img { max-height: 56px; width: auto; }
.uc-footer__logo .uc-logo__text { color: #fff; }
.uc-footer__contact ul { list-style: none; padding: 0; margin: 0; }
.uc-footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.uc-footer__contact li svg { width: 18px; height: 18px; color: var(--uc-gold); flex-shrink: 0; margin-top: 3px; }
.uc-footer__contact li a { color: #fff; font-weight: 600; }
.uc-footer__lang h3 { display: flex; align-items: center; gap: 8px; }
.uc-footer__lang h3 svg { width: 18px; height: 18px; color: var(--uc-gold); flex-shrink: 0; }
.uc-footer__lang select {
  width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 0.95rem;
  background: #fff; color: var(--uc-navy-dark); border: 1px solid var(--uc-border);
}
.uc-footer .trp-language-switcher { margin-top: 4px; }
.uc-footer .trp-language-switcher select {
  width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 0.95rem;
  background: #fff; color: var(--uc-navy-dark); border: 1px solid var(--uc-border);
}

/* --- v1.0.2 responsive --- */
@media (min-width: 640px) {
  .uc-why__grid { grid-template-columns: repeat(2, 1fr); }
  .uc-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .uc-hero--split { grid-template-columns: 1.05fr 1fr; }
  .uc-hero__text { padding: 72px 20px 72px max(40px, calc((100vw - 1180px) / 2 + 20px)); margin: 0; max-width: none; }
  .uc-hero--split h1 { font-size: 2.7rem; }
  .uc-portal-banner { grid-template-columns: 300px 1fr; align-items: center; }
  .uc-portal-banner__media { min-height: 100%; height: 100%; }
  .uc-portal-banner > .uc-btn { margin: 0 28px 0 0; white-space: nowrap; }
  .uc-why__grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .uc-why__item { padding: 0 26px; border-left: 1px solid var(--uc-border); }
  .uc-why__item:first-child { border-left: 0; padding-left: 0; }
  .uc-clinics__card { grid-template-columns: 300px 1fr 320px; }
  .uc-clinics__dates { border-top: 0; border-left: 1px solid var(--uc-border); display: flex; flex-direction: column; justify-content: center; }
  .uc-footer__grid { grid-template-columns: 1.3fr 1.1fr 0.8fr 0.9fr 1fr; gap: 28px; }
}
@media (max-width: 1023px) {
  .uc-nav {
    background: var(--uc-navy-dark); border-bottom: 3px solid var(--uc-gold);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px;
  }
  .uc-nav ul { flex-direction: column; align-items: stretch; padding: 0; }
  .uc-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.12); border-radius: 0; }
  .uc-nav .sub-menu { position: static; display: block; background: transparent; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .uc-nav .sub-menu a { border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.92rem; }
  .uc-header__actions { flex-direction: column; align-items: stretch; margin: 16px 0 0; }
  .uc-header__actions .uc-btn { justify-content: center; }
  .uc-hero__media { min-height: 220px; }
}
@media (max-width: 480px) {
  .uc-hero--split h1 { font-size: 1.9rem; }
  .uc-service-card { padding: 22px 18px; }
}


/* --- v1.0.4: Community Tax Assistance Program page --- */
.uc-hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.uc-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--uc-gold); color: var(--uc-navy-dark);
  font-weight: 700; font-size: 0.9rem; padding: 8px 16px; border-radius: 999px;
}
.uc-pill svg { width: 16px; height: 16px; flex-shrink: 0; }
.uc-pill--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }

.uc-comm-cards { display: grid; gap: 22px; }
.uc-comm-card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--uc-border); border-radius: var(--uc-radius);
  border-bottom: 3px solid var(--uc-gold);
  padding: 28px 26px; box-shadow: var(--uc-shadow);
}
.uc-comm-card h3 { font-size: 1.25rem; margin-top: 16px; }
.uc-comm-card p { color: var(--uc-gray); font-size: 0.95rem; }
.uc-comm-card .uc-btn { margin-top: auto; }
.uc-comm-card .uc-btn svg { width: 16px; height: 16px; }

.uc-comm-strip {
  background: var(--uc-gray-light); border-radius: 16px;
  display: grid; gap: 28px; padding: 32px 28px;
}
.uc-comm-strip__item h3 { margin-bottom: 0.3em; }
.uc-comm-strip__item p { color: var(--uc-gray); font-size: 0.95rem; margin-bottom: 0; }

@media (min-width: 640px) {
  .uc-comm-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .uc-comm-strip { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .uc-comm-strip__item { padding: 0 26px; border-left: 1px solid var(--uc-border); }
  .uc-comm-strip__item:first-child { border-left: 0; padding-left: 0; }
}
