/* ============================================================
   PERSONAL TAX RETURNS (T1) LANDING PAGE
   (core/templates/core/service_pages/personal-tax-returns.html)

   Loaded with service-pages.css, which supplies the shared pieces (.cs-grid,
   sticky .cs-rail, cards, tables, chips, quote factors, FAQ grid, reviews,
   offices, related). Everything here is prefixed .pt- and is this page's own
   look: a mint hero with a "what's your situation?" picker, a forms table,
   credit tiles, tear-off date cards, bracket cards, a four-step flow and a
   "behind on taxes" band.
   ============================================================ */

.pt-hero {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif;
    background:
        radial-gradient(700px 340px at 95% -10%, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0) 70%),
        radial-gradient(600px 320px at 0% 100%, rgba(14, 165, 233, 0.14) 0%, rgba(14, 165, 233, 0) 70%),
        linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 60%, #e0f2fe 100%) !important;
    border-bottom: 1px solid #d5eadf;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0 0 !important;
}
.pt-hero > .container {
    max-width: none;
    width: 100%;
    padding-left: clamp(1.5rem, 6vw, 7rem);
    padding-right: clamp(1.5rem, 6vw, 7rem);
}
@media (min-width: 1280px) {
    .pt-hero > .container { padding-right: max(clamp(1.5rem, 6vw, 7rem), 108px); }
}

.pt-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: clamp(0.75rem, 2.5vw, 2rem);
}
.pt-crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: #334155; text-decoration: none; }
.pt-crumbs a:hover { color: #047857; }
.pt-crumbs span[aria-current] { color: #0f172a; }
.pt-crumbs span[aria-hidden] { color: #94a3b8; }

.pt-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.pt-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #047857;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1rem;
}
.pt-hero h1 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 1rem;
}
.pt-hero-intro { font-size: 1.06rem; line-height: 1.7; color: #1e293b; margin: 0 0 1.25rem; max-width: 700px; }
.pt-hero-points { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.55rem; }
.pt-hero-points li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; font-weight: 600; color: #1e293b; }
.pt-hero-points .cs-ico {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    color: #ffffff;
    background: #047857;
    stroke-width: 3;
}
.pt-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pt-hero-actions .svc-rd-btn { font-size: 0.92rem; padding: 0.8rem 1.4rem; gap: 0.5rem; }
.pt-hero-actions .cs-ico { width: 16px; height: 16px; }

/* Signature visual: the situation picker */
.pt-pick {
    background: #ffffff;
    border-radius: 18px;
    border-top: 6px solid #10b981;
    padding: 1.3rem 1.4rem 1.1rem;
    box-shadow: 0 30px 70px -28px rgba(6, 78, 59, 0.35), 0 2px 8px rgba(15, 23, 42, 0.05);
}
.pt-pick-head { margin-bottom: 0.9rem; }
.pt-pick-title {
    display: block;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}
.pt-pick-sub { display: block; font-size: 0.8rem; font-weight: 600; color: #475569; margin-top: 0.1rem; }
.pt-pick-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.pt-pick-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 38px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #d5e3ee;
    border-radius: 999px;
    padding: 0.3rem 0.8rem 0.3rem 0.6rem;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease,
        background 0.25s, color 0.25s, border-color 0.25s;
}
.pt-pick-tab .cs-ico { width: 16px; height: 16px; color: #059669; transition: transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1); }
.pt-pick-tab[aria-selected="true"] {
    color: #ffffff;
    background: linear-gradient(135deg, #047857, #0f766e);
    border-color: transparent;
    box-shadow: 0 8px 16px -8px rgba(5, 150, 105, 0.7);
}
.pt-pick-tab[aria-selected="true"] .cs-ico { color: #ffffff; }
.pt-pick-tab:focus-visible { outline: 2px solid #059669; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    .pt-pick-tab:hover:not([aria-selected="true"]) {
        transform: translateY(-2px);
        border-color: #6ee7b7;
        background: #ecfdf5;
        box-shadow: 0 8px 16px -10px rgba(5, 150, 105, 0.6);
    }
    .pt-pick-tab:hover .cs-ico { transform: rotate(-8deg) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
    .pt-pick-tab, .pt-pick-tab .cs-ico { transition: none !important; }
    .pt-pick-tab:hover, .pt-pick-tab:hover .cs-ico { transform: none !important; }
}
.pt-pick-panel { display: none; }
.pt-pick-panel.is-active { display: block; }
.pt-pick-panel dl { margin: 0; display: grid; gap: 0.7rem; }
.pt-pick-panel dt {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #047857;
    margin-bottom: 0.15rem;
}
.pt-pick-panel dd { margin: 0; font-size: 0.9rem; line-height: 1.55; color: #1e293b; }
.pt-pick-due dd {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 800;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 0.4rem 0.7rem;
}
.pt-pick-due dd .cs-ico { width: 16px; height: 16px; }
.pt-pick-foot { margin: 0.9rem 0 0.2rem; font-size: 0.76rem; line-height: 1.5; color: #475569; }

.pt-stats {
    list-style: none;
    margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #c9e3d6;
}
.pt-stats li { padding: 1.15rem 1rem 1.3rem; text-align: center; }
.pt-stats li + li { border-left: 1px solid #c9e3d6; }
.pt-stats strong {
    display: block;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    font-weight: 700;
    color: #047857;
    line-height: 1.15;
}
.pt-stats span { display: block; font-size: 0.82rem; font-weight: 600; color: #475569; margin-top: 0.2rem; }

/* ---------- Forms table ---------- */
.pt-forms tbody th { width: 27%; }
.pt-forms tbody td:nth-child(2) { color: #1e293b; }
.pt-forms .pt-forms-who { color: #047857; font-weight: 700; width: 24%; }

/* ---------- Credits ---------- */
.pt-credits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.8rem; }
.pt-credit {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    padding: 0.95rem 1rem;
}
.pt-credit .cs-tile { color: #047857; background: linear-gradient(140deg, #ecfdf5, #d1fae5); border-color: #a7f3d0; }
.pt-credit h3 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.2rem;
}
.pt-credit p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: #334155; }

/* ---------- Tax year: tear-off date cards ---------- */
.pt-year { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; }
.pt-date {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #d5e3ee;
    border-radius: 14px;
    overflow: hidden;
}
.pt-date-top {
    display: block;
    padding: 0.55rem 0.9rem;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #047857, #0f766e);
    border-bottom: 2px dashed rgba(255, 255, 255, 0.55);
}
.pt-date-any .pt-date-top { background: linear-gradient(135deg, #1d4ed8, #0e7490); }
/* the "Any time" card is a full-width bar under the dated ones, so it never
   sits alone in a half-empty row */
.pt-date-any { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.pt-date-any .pt-date-top {
    display: flex;
    align-items: center;
    min-width: 140px;
    border-bottom: 0;
    border-right: 2px dashed rgba(255, 255, 255, 0.55);
}
.pt-date-any .pt-date-body { flex: 1; }
@media (max-width: 480px) {
    .pt-date-any { flex-direction: column; }
    .pt-date-any .pt-date-top { border-right: 0; border-bottom: 2px dashed rgba(255, 255, 255, 0.55); }
}
.pt-date-body { padding: 0.8rem 0.9rem 0.95rem; }
.pt-date h3 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
}
.pt-date p { margin: 0; font-size: 0.84rem; line-height: 1.55; color: #334155; }

/* ---------- Brackets and limits ---------- */
.pt-brackets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; }
.pt-bracket {
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    padding: 1.1rem 1.15rem 0.9rem;
}
.pt-bracket header { margin-bottom: 0.6rem; padding-bottom: 0.6rem; border-bottom: 2px solid #d1fae5; }
.pt-bracket h3 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.pt-bracket header span { display: block; font-size: 0.76rem; font-weight: 600; color: #475569; margin-top: 0.1rem; }
.pt-bracket ul { list-style: none; margin: 0; padding: 0; }
.pt-bracket li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.86rem;
    color: #1e293b;
}
.pt-bracket li:last-child { border-bottom: 0; }
.pt-bracket li strong {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #047857;
    white-space: nowrap;
}
.pt-limits-title {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.75rem 0 0.85rem;
}
.pt-limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; }
.pt-limit {
    background: linear-gradient(160deg, #ecfdf5 0%, #ffffff 70%);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 0.95rem 1rem 1rem;
}
.pt-limit strong {
    display: block;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #047857;
    line-height: 1.1;
}
.pt-limit-label { display: block; font-size: 0.86rem; font-weight: 800; color: #0f172a; margin-top: 0.25rem; }
.pt-limit-note { display: block; font-size: 0.78rem; line-height: 1.45; color: #475569; margin-top: 0.15rem; }

/* ---------- Flow ---------- */
.pt-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.85rem; }
.pt-flow-step {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    padding: 1.4rem 1.1rem 1.15rem;
}
.pt-flow-num {
    position: absolute;
    top: -14px;
    left: 1rem;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(140deg, #047857, #0f766e);
    box-shadow: 0 0 0 4px #ffffff;
}
.pt-flow-step .cs-tile { margin-bottom: 0.6rem; color: #047857; background: linear-gradient(140deg, #ecfdf5, #d1fae5); border-color: #a7f3d0; }
.pt-flow-step h3 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.3rem;
}
.pt-flow-step p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: #334155; }

/* ---------- Behind on taxes band ---------- */
.pt-catch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.1rem 1.5rem;
    padding: clamp(1.3rem, 3vw, 1.9rem);
    background: linear-gradient(120deg, #ecfdf5 0%, #f0f9ff 100%);
    border: 1px solid #a7f3d0;
    border-left: 5px solid #10b981;
    border-radius: 20px;
}
.pt-catch .cs-tile { color: #047857; background: #d1fae5; border-color: #a7f3d0; }
.pt-catch-text { flex: 1 1 300px; min-width: 0; }
.cs-sec .pt-catch-text h2 { margin: 0 0 0.4rem; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.pt-catch-text p { margin: 0; font-size: 0.96rem; line-height: 1.65; color: #1e293b; }
.pt-more-link { margin: 0.6rem 0 0; }
.pt-more-link a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; font-size: 0.92rem; font-weight: 800; color: #047857; text-decoration: underline; text-underline-offset: 3px; }
.pt-more-link a:hover { color: #064e3b; }
.pt-catch-text p.pt-more-link { margin-top: 0.4rem; }
.pt-catch-btn { flex-shrink: 0; font-size: 0.9rem; padding: 0.8rem 1.3rem; }

/* ============ Responsive ============ */
@media (max-width: 991px) {
    .pt-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .pt-pick { max-width: 520px; }
}
@media (max-width: 767px) {
    /* forms table: stack each row into a small card with labelled values */
    .pt-forms thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .pt-forms, .pt-forms tbody, .pt-forms tr, .pt-forms th, .pt-forms td { display: block; width: auto; }
    .pt-forms tr { padding: 0.9rem 1rem; border-bottom: 1px solid #eef2f7; }
    .pt-forms tbody tr:last-child { border-bottom: 0; }
    .pt-forms tbody th { padding: 0 0 0.35rem; border: 0; width: auto; }
    .pt-forms tbody th .cs-tile { display: none; }
    .pt-forms tbody td { padding: 0.15rem 0; border: 0; width: auto; }
    .pt-forms tbody td::before { content: attr(data-label) ": "; font-weight: 800; color: #047857; }
}
@media (max-width: 640px) {
    .pt-hero-actions .svc-rd-btn { width: 100%; justify-content: center; }
    .pt-stats { grid-template-columns: minmax(0, 1fr); }
    .pt-stats li + li { border-left: 0; border-top: 1px solid #c9e3d6; }
    .pt-catch-btn { width: 100%; justify-content: center; }
}
