/* ============================================================
   Tax & Financial Firm Inc — brand stylesheet
   Palette pulled from the logo & marketing materials:
   navy, steel blue, coral accent.
   ============================================================ */
:root {
  --navy: #1b2a64;
  --navy-deep: #142050;
  --steel: #3a7ca5;
  --steel-light: #5b9bc4;
  --coral: #f0426b;
  --coral-dark: #d62f57;
  --ink: #1f2937;
  --muted: #5b6577;
  --line: #e6eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-navy-soft: #eef2fb;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(27, 42, 100, .06);
  --shadow: 0 14px 40px rgba(27, 42, 100, .12);
  --shadow-lg: 0 28px 60px rgba(20, 32, 80, .22);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Poppins", sans-serif; line-height: 1.18; color: var(--navy); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: "Poppins", sans-serif; font-weight: 600;
  font-size: .98rem; padding: 14px 26px; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent; transition: .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(240, 66, 107, .35); }
.btn--primary:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(27,42,100,.25); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--block { width: 100%; }

.eyebrow {
  font-family: "Poppins", sans-serif; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .76rem; color: var(--coral); margin-bottom: 12px;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #cdd6ef; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 16px; }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a:hover, .topbar__portal:hover { color: #fff; }
.topbar__badge { display: flex; align-items: center; gap: 18px; }
.badge-efile { background: rgba(91,155,196,.2); color: #cfe2f2; padding: 4px 12px; border-radius: 999px; font-size: .76rem; border: 1px solid rgba(91,155,196,.4); white-space: nowrap; }
.badge-efile strong { color: #ffd24a; }
.topbar__tag { color: #e6ecfb; font-weight: 500; white-space: nowrap; }
.topbar__portal { font-weight: 600; color: #fff; }

/* ---------- Header / Nav ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; }
.logo__stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.logo__mark { height: 26px; width: auto; max-width: 62vw; }
.logo__tag {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  font-family: "Poppins", sans-serif; font-weight: 800;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; white-space: nowrap;
  background: linear-gradient(90deg, var(--coral), #ff6f90);
  padding: 3px 11px; border-radius: 999px;
  box-shadow: 0 5px 14px rgba(240,66,107,.4);
  transform-origin: center center;
  animation: seesaw 2.6s ease-in-out infinite;
}
.logo__tag i { font-style: normal; color: #fff; font-weight: 800; }
@keyframes seesaw {
  0%   { transform: rotate(-5deg); }
  50%  { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}
.logo:hover .logo__tag { animation-duration: 1.1s; }
@media (prefers-reduced-motion: reduce) { .logo__tag { animation: none; } }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; color: var(--ink); font-size: .96rem; }
.nav a:hover { color: var(--coral); }
.nav__cta { background: var(--navy); color: #fff !important; padding: 10px 20px; border-radius: 999px; font-family: "Poppins", sans-serif; font-weight: 600; }
.nav__cta:hover { background: var(--steel); }
.nav__portal { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--steel); color: var(--steel) !important; padding: 8px 16px; border-radius: 999px; font-family: "Poppins", sans-serif; font-weight: 600; }
.nav__portal svg { width: 15px; height: 15px; }
.nav__portal:hover { background: var(--steel); color: #fff !important; }

/* Portal upload card in contact section */
.portal-cta {
  display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 18px 20px;
  border-radius: 16px; color: #fff !important;
  background: linear-gradient(120deg, var(--steel), var(--navy));
  box-shadow: 0 14px 34px rgba(27,42,100,.22);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.portal-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(27,42,100,.3); }
.portal-cta__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255,255,255,.15); border-radius: 12px; }
.portal-cta__icon svg { width: 24px; height: 24px; }
.portal-cta__text { display: flex; flex-direction: column; line-height: 1.35; font-size: .95rem; color: #eaf1f8; }
.portal-cta__text strong { font-family: "Poppins", sans-serif; color: #fff; font-size: 1.02rem; }
.portal-cta__arrow { margin-left: auto; font-size: 1.4rem; color: #fff; transition: transform .2s ease; }
.portal-cta:hover .portal-cta__arrow { transform: translateX(4px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #142050 0%, #1b2a64 45%, #2a3f86 100%); color: #fff; }
.hero__bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(240,66,107,.28), transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(91,155,196,.30), transparent 45%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center; padding: 84px 24px 96px; }
.hero__eyebrow { font-family: "Poppins", sans-serif; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: #ffc4d3; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
.hero h1 span { color: #ff9db4; }
.hero__lead { color: #d4dcf2; font-size: 1.08rem; max-width: 560px; margin: 22px 0 22px; }
.hero__note {
  position: relative; max-width: 560px; margin: 0 0 30px; padding: 20px 24px;
  background: linear-gradient(120deg, rgba(240,66,107,.20), rgba(240,66,107,.05));
  border: 1px solid rgba(240,66,107,.35); border-left: 5px solid var(--coral);
  border-radius: 14px; color: #eef2fb; font-size: 1.02rem;
  box-shadow: 0 10px 30px rgba(240,66,107,.15);
  animation: noteGlow 3.2s ease-in-out infinite;
}
@keyframes noteGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(240,66,107,.12); }
  50%      { box-shadow: 0 14px 44px rgba(240,66,107,.42); }
}
.hero__note strong {
  display: block; font-family: "Poppins", sans-serif; color: #fff;
  font-size: 1.55rem; font-weight: 800; line-height: 1.2; margin-bottom: 8px; letter-spacing: -.01em;
}
.hero__note strong u { text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.hero__note .hl {
  color: #fff; background: var(--coral); padding: 0 8px; border-radius: 6px;
  box-shadow: 0 4px 14px rgba(240,66,107,.5);
}
.hero__note b { color: #ff9db4; }
@media (prefers-reduced-motion: reduce) { .hero__note { animation: none; } }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero__actions .btn--ghost:hover { background: #fff; color: var(--navy); border-color:#fff; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero__points li { position: relative; padding-left: 24px; color: #cdd6ef; font-size: .95rem; }
.hero__points li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 800; }

.hero__card { background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.hero__card h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 12px; }
.hero__card .price { color: var(--coral); font-size: 2rem; font-weight: 800; display: inline-block; }
.hero__card p { color: var(--muted); font-size: .96rem; }
.hero__card-meta { display: flex; flex-direction: column; gap: 6px; margin: 18px 0 22px; font-size: .9rem; color: var(--navy); font-weight: 500; }

/* ---------- Trust strip ---------- */
.trust { background: var(--bg-navy-soft); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 24px; }
.trust__inner div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust__inner strong { font-family: "Poppins", sans-serif; color: var(--navy); font-size: 1.02rem; }
.trust__inner span { color: var(--muted); font-size: .88rem; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: .22s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 13px; background: var(--bg-navy-soft); margin-bottom: 16px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.card p em { color: var(--coral); font-style: italic; font-weight: 600; }

/* Featured "specialty" card */
.card--feature {
  position: relative;
  background: linear-gradient(150deg, var(--navy), var(--steel));
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(27,42,100,.28);
}
.card--feature h3 { color: #fff; }
.card--feature p { color: #dbe4f5; }
.card--feature p em { color: #ffb3c4; }
.card--feature .card__icon { background: rgba(255,255,255,.16); }
.card__flag {
  position: absolute; top: 16px; right: 16px;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: .64rem;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: var(--coral); padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 5px 14px rgba(240,66,107,.45);
}

/* ---------- Why us ---------- */
.why__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.why__text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.why__text p { color: var(--muted); font-size: 1.04rem; }
.ticklist { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.ticklist li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.ticklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--coral); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.why__panel { background: linear-gradient(155deg, var(--navy), var(--steel)); color: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.why__panel h3 { color: #fff; font-size: 1.45rem; margin-bottom: 14px; }
.why__panel p { color: #d8e0f4; margin-bottom: 26px; }

/* ---------- Band ---------- */
.band { background: var(--coral); color: #fff; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 24px; flex-wrap: wrap; }
.band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.band h2 span { background: #fff; color: var(--coral); padding: 0 12px; border-radius: 8px; }
.band p { color: #ffe2ea; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.contact__info p { color: var(--muted); }
.contact__list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.contact__list li { display: grid; grid-template-columns: 96px 1fr; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact__list span { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.contact__list a:hover { color: var(--coral); }
.contact__list .dial { display: block; font-style: normal; font-size: .82rem; color: var(--muted); font-weight: 400; margin-top: 2px; }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: "Poppins", sans-serif; font-weight: 600; font-size: .85rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--bg-soft); transition: .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); background: #fff; box-shadow: 0 0 0 4px rgba(58,124,165,.12); }
.field textarea { resize: vertical; }
.form__status { margin-top: 14px; font-size: .92rem; font-weight: 500; text-align: center; min-height: 20px; }
.form__status.ok { color: #117a3d; }
.form__status.err { color: var(--coral-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #c3cdec; padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 40px; }
.footer__logo { height: 26px; width: auto; max-width: 260px; margin-bottom: 12px; }
.footer__brand span { font-size: .92rem; color: #97a4cf; display: block; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__cols h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer__cols a, .footer__cols span { display: block; color: #aab6dd; font-size: .92rem; margin-bottom: 9px; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8b99c7; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .why__inner, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .topbar__tag { display: none; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 24px; }
  .nav a.nav__cta, .nav a.nav__portal { width: auto; margin: 8px 24px; justify-content: center; }
  .nav a.nav__portal { padding: 12px 16px; }
  .nav a.nav__cta { padding: 13px 20px; text-align: center; }
  .nav-toggle { display: flex; }
  .row { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .footer__col