/* =========================================================
   Gulecha CPA — page types: articles, insights, tax center,
   calculators, legal. Loaded after home.css.
   ========================================================= */

/* article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; }
.prose { font-size: 18px; line-height: 1.8; color: var(--ink-2); max-width: 760px; }
.prose .lead-p { font-size: 21px; line-height: 1.7; color: var(--ink); }
.prose h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; font-size: 34px; line-height: 1.15; color: var(--ink); margin: 56px 0 16px; scroll-margin-top: 140px; }
.prose h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 23px; color: var(--ink); margin: 34px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 22px; }
.prose li { position: relative; padding-left: 30px; margin: 10px 0; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.prose a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose .callout { border-radius: 20px; background: var(--mint); padding: 24px 28px; margin: 30px 0; color: var(--ink); }
.prose .callout b { color: var(--green-700); }
.prose .disclaimer { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.aside-stick { position: sticky; top: 120px; display: grid; gap: 16px; }
.aside-card { border-radius: 24px; padding: 28px; background: #fff; border: 1px solid var(--line); }
.aside-card.dk { background: #06140E; border: 0; color: rgba(255,255,255,.78); }
.aside-card h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 22px; line-height: 1.2; color: var(--ink); margin: 10px 0 10px; }
.aside-card.dk h4 { color: #fff; }
.aside-card p { font-size: 15px; }
.aside-card .btn { margin-top: 20px; }
.toc a { display: block; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); transition: color .2s; }
.toc a:hover { color: var(--green); }
.meta-row { display: flex; gap: 24px; margin-top: 28px; color: rgba(255,255,255,.75); font-size: 14.5px; }
.meta-row span { display: inline-flex; gap: 8px; align-items: center; }
.meta-row .icon { width: 16px; height: 16px; color: var(--leaf); }

/* insights index */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button { border: 1.5px solid var(--line-2); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: all .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.feature-post { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 30px; overflow: hidden; background: #06140E; color: #fff; margin-bottom: 40px; transition: transform .4s var(--ease), box-shadow .4s; }
.feature-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-post .img { min-height: 440px; position: relative; overflow: hidden; }
.feature-post .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-post:hover .img img { transform: scale(1.05); }
.feature-post .body { padding: 54px; display: flex; flex-direction: column; justify-content: center; }
.feature-post .body h2 { color: #fff; font-size: 42px; margin: 18px 0 16px; }
.feature-post .body p { color: rgba(255,255,255,.72); font-size: 17px; }
.feature-post .body .link-arrow { color: var(--leaf); margin-top: 28px; }
.res .cat.soon { background: #06140E; color: #fff; }
.res.hide { display: none; }
.res .meta { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* tax center */
.dl-list { display: grid; gap: 12px; }
.dl-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 34px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 32px; transition: transform .3s var(--ease), border-color .3s; }
.dl-row:hover { transform: translateX(6px); border-color: var(--green); }
.dl-row .date b { display: block; font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.dl-row .date span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.dl-row h4 { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.dl-row p { font-size: 15px; color: var(--muted); margin-top: 4px; }
.dl-row .tag { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--mint); color: var(--green-700); white-space: nowrap; }
.dl-row.key { background: #06140E; border-color: #06140E; }
.dl-row.key .date b, .dl-row.key h4 { color: #fff; }
.dl-row.key .date span { color: #8FE3B8; }
.dl-row.key p { color: rgba(255,255,255,.7); }
.dl-row.key .tag { background: var(--leaf); color: #06140E; }
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.check-col { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.check-col .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--green); display: grid; place-items: center; }
.check-col h4 { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); margin: 18px 0 12px; letter-spacing: -.02em; }
.check-col li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.check-col li .icon { width: 16px; height: 16px; color: var(--green); margin-top: 3px; stroke-width: 2.6; }
.note-strip { margin-top: 24px; padding: 18px 24px; border-radius: 16px; background: var(--mint); color: var(--green-700); font-size: 14.5px; line-height: 1.6; }
.rel .ext { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* calculators */
.calc { display: none; grid-template-columns: 1.05fr 1fr; gap: 24px; }
.calc.active { display: grid; animation: fadeUp .5s var(--ease); }
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 42px; }
.calc-form h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; font-size: 30px; color: var(--ink); }
.calc-form > p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.calc-out { background: #06140E; border-radius: 26px; padding: 42px; color: rgba(255,255,255,.75); position: relative; overflow: hidden; isolation: isolate; }
.calc-out::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(47,191,122,.35), transparent 70%); z-index: -1; }
.calc-out .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #8FE3B8; }
.calc-out .big { font-family: var(--serif); font-weight: 600; font-size: 66px; letter-spacing: -.05em; color: #fff; line-height: 1; margin: 14px 0 6px; }
.calc-out .sub { font-size: 15px; }
.calc-rows { margin-top: 26px; }
.calc-rows div { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 15.5px; }
.calc-rows b { color: #fff; font-weight: 600; }
.calc-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 26px; }
.calc-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--leaf), #127A49); transition: height .6s var(--ease); min-height: 3px; }
.calc-note { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 22px; line-height: 1.55; }
.calc-disclaimer { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 900px; }

/* legal */
.legal-note { border-radius: 16px; background: #FFF4D6; color: #7A5800; padding: 16px 22px; font-size: 15px; margin-bottom: 34px; }

/* industry tag row */
.home .focus-tags span { background: #fff; }

[data-calc-tabs] .tabs { margin-bottom: 28px; }

/* ---------- Amit's headshot (source is 200×200, so it is never shown larger than ~220px) ---------- */
.portrait { place-items: center; align-content: center; gap: 26px; grid-auto-flow: row; }
.portrait-photo { position: relative; z-index: 1; width: 220px; height: 220px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(47,191,122,.35), 0 0 0 14px rgba(255,255,255,.06), 0 30px 60px -20px rgba(0,0,0,.6); }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait-name { position: relative; z-index: 1; text-align: center; color: #fff; }
.portrait-name b { display: block; font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -.03em; }
.portrait-name span { display: block; margin-top: 6px; font-size: 14.5px; color: rgba(255,255,255,.7); }
.member .ph.has-photo { display: grid; place-items: center; }
.member .ph.has-photo img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #fff, 0 20px 40px -18px rgba(7,36,26,.45); }
.signature .avatar.photo { overflow: hidden; padding: 0; background: none; box-shadow: 0 0 0 3px var(--mint); }
.signature .avatar.photo img { width: 100%; height: 100%; object-fit: cover; }
.home .member .ph small { font-family: var(--sans); font-weight: 500; letter-spacing: 0; font-size: 12.5px; }
.home [data-calc-tabs] .tabs { margin: 0 0 28px; transform: none; opacity: 1; position: relative; z-index: 2; }
.home [data-calc-tabs] .calc { position: relative; z-index: 1; }

/* ---------- Contact: scheduler embedded directly on the page (no card) ---------- */
.booking-direct .section-head { margin-bottom: 30px; }
.book-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-bottom: 26px; }
.book-points li { display: inline-flex; align-items: center; gap: 9px; font-size: 15.5px; color: var(--ink-2); }
.book-points .icon { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; }
.cal-direct { position: relative; min-height: 760px; }
.cal-direct .calendly-inline-widget { position: relative; z-index: 1; width: 100%; min-width: 320px; height: 760px; }
.cal-loading { position: absolute; left: 0; right: 0; top: 120px; text-align: center; color: var(--muted); font-size: 15px; z-index: 0; }
.cal-loading a, .book-foot a { color: var(--green); font-weight: 600; }
.book-foot { text-align: center; color: var(--muted); font-size: 15px; margin-top: 8px; }
.book-foot span { margin: 0 8px; opacity: .5; }
.booking-direct .section-head { gap: 0; }
.booking-direct .section-head .h2 { margin-top: 16px !important; }
.booking-direct .section-head .lead { margin-top: 14px !important; }

/* =========================================================
   Legal documents (Privacy Policy .pp-*, Terms .tc-*)
   ========================================================= */
.legal-doc { max-width: 860px; margin: 0 auto; font-size: 16.5px; line-height: 1.8; color: var(--ink-2); }
.legal-doc p { margin: 0 0 16px; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal-doc h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; font-size: 28px; line-height: 1.2; color: var(--ink); margin: 54px 0 16px; scroll-margin-top: 140px; display: flex; align-items: flex-start; gap: 14px; }
.legal-doc h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; font-size: 20px; color: var(--ink); margin: 30px 0 10px; }
.legal-doc h3.pp-italic { font-style: italic; color: var(--green-700); }
.legal-doc ul { margin: 0 0 20px; }
.legal-doc ul li { position: relative; padding-left: 28px; margin: 9px 0; }
.legal-doc ul li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pp-num, .tc-num { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--green); color: #fff; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; margin-top: -2px; }
.pp-updated, .tc-effective { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; background: var(--mint); color: var(--green-700); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.pp-updated svg, .tc-effective svg, .pp-important-icon svg, .tc-contactbox svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pp-callout, .tc-callout { margin: 22px 0 26px; padding: 24px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); box-shadow: var(--shadow-sm); }
.pp-callout p:last-child, .tc-callout p:last-child, .pp-callout ul:last-child { margin-bottom: 0; }
.tc-intro { padding: 28px 30px; border-radius: 22px; background: #06140E; color: rgba(255,255,255,.82); margin: 6px 0 10px; }
.tc-intro p:last-child { margin-bottom: 0; }
.tc-intro strong { color: #fff; }
.legal-doc ul.tc-alpha li { padding-left: 0; display: flex; gap: 14px; align-items: flex-start; }
.legal-doc ul.tc-alpha li::before { display: none; }
.tc-letter { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-top: 2px; border-radius: 8px; background: var(--mint); color: var(--green-700); font-size: 13px; font-weight: 700; text-transform: lowercase; }
.pp-important { display: flex; gap: 16px; align-items: flex-start; margin: 24px 0; padding: 20px 24px; border-radius: 18px; background: #FFF4D6; color: #6B4E00; }
.pp-important p { margin: 0; }
.pp-important strong { color: #5A4100; }
.pp-important-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #E9B949; color: #fff; display: grid; place-items: center; }
.pp-important-icon svg { stroke-width: 2.6; }
.tc-contactbox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 22px 0; padding: 22px 26px; border-radius: 20px; background: #06140E; color: rgba(255,255,255,.8); }
.tc-contactbox-label { font-size: 15px; font-weight: 600; }
.legal-doc .tc-contactbox a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: var(--leaf); color: #06140E; text-decoration: none; font-weight: 700; }
@media (max-width: 760px) {
  .legal-doc { font-size: 15.5px; }
  .legal-doc h2 { font-size: 22px; gap: 12px; margin-top: 42px; }
  .pp-num, .tc-num { width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
  .pp-callout, .tc-callout, .tc-intro { padding: 20px; }
}

/* ---------- footer copyright ---------- */
.footer-bottom .copyright { margin: 0; color: rgba(255,255,255,.55); font-size: 13.5px; }
.footer-bottom .copyright a { color: #fff; font-weight: 600; }
.footer-bottom .copyright a:hover { color: var(--leaf); }

/* ---------- long local-time hours: wrap instead of spilling out ---------- */
.footer .f-contact li span[data-hours] { white-space: normal; }
.office-card .hours { width: auto; grid-template-columns: auto minmax(0, 1fr); }
.office-card .hours span { white-space: normal; }
.office-card li > span { min-width: 0; }
.topbar .hours-top { min-width: 0; }

/* ---------- "Where we help" local section on service & industry pages ---------- */
.local-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.local-states { display: grid; gap: 12px; }
.ls-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.ls-card:hover { transform: translateX(6px); border-color: var(--green); box-shadow: var(--shadow-sm); }
.ls-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ls-head b { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 20px; color: var(--ink); }
.ls-head em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--green); border: 1px solid var(--mint-2); padding: 3px 9px; border-radius: 99px; }
.ls-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ls-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; background: var(--mint); color: var(--green-700); font-size: 14px; font-weight: 600; }
.ls-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.ls-chip.hq { background: #06140E; color: #fff; }
.ls-chip.hq::before { background: var(--leaf); }
@media (max-width: 1024px) { .local-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 760px) { .ls-card { padding: 18px; } .ls-chip { font-size: 13px; padding: 6px 11px; } }

/* ---------- header "Discovery" pill (Avestor-style) ---------- */
.nav-cta .btn-discovery { padding: 0 24px; height: 46px; font-size: 15.5px; letter-spacing: .005em; }
@media (max-width: 760px) { .nav-cta .btn-discovery { height: 42px; padding: 0 18px; font-size: 14.5px; } }

/* ---------- mega-menu image tiles: always-readable text ---------- */
.header .menu-feature::after { background: linear-gradient(180deg, rgba(4,16,10,.25) 0%, rgba(4,16,10,.62) 45%, rgba(4,16,10,.95) 100%) !important; }
.header .menu-feature .tag { align-self: flex-start; background: var(--leaf); color: #06140E; padding: 5px 10px; border-radius: 99px; font-size: 10.5px; letter-spacing: .12em; text-shadow: none; }
.header .menu-feature h4 { text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.header .menu-feature .link-arrow { color: #fff; }

/* ---------- year bar: keep "You are here" clear of the heading ---------- */
.home .year-bar-head { margin-bottom: 52px; flex-wrap: wrap; gap: 6px 14px; }

/* ---------- page-specific "Where we help" focus cards ---------- */
.local-focus { display: grid; gap: 12px; }
.lf-card { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.lf-card:hover { transform: translateX(6px); border-color: var(--green); box-shadow: var(--shadow-sm); }
.lf-pin { width: 44px; height: 44px; border-radius: 13px; background: var(--mint); color: var(--green); display: grid; place-items: center; }
.lf-pin .icon { width: 20px; height: 20px; }
.lf-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lf-head b { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 20px; color: var(--ink); }
.lf-head em { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--green); border: 1px solid var(--mint-2); padding: 2px 9px; border-radius: 99px; }
.lf-card p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.loc-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14.5px; font-weight: 600; color: #8FE3B8; }
@media (max-width: 760px) { .lf-card { padding: 18px; grid-template-columns: 38px 1fr; gap: 14px; } .lf-pin { width: 38px; height: 38px; } }

/* Contact action cards with two items */
@media (min-width: 1025px) { .action-cards.cols-2 { grid-template-columns: repeat(2, 1fr); } }
/* About: story text split across both columns */
.story { align-items: start; }
@media (min-width: 1025px) { .story > .reveal + .reveal { padding-top: 46px; } }
/* Article cards: date line stays under the summary */
.res .meta { flex: none; }
