/* =============================================================================
   module-self-assessment-v2.css  —  Self Assessment landing page redesign (v2)
   Target page: UTR/home99-v2.php  →  /tax-return/self-assessment
   -----------------------------------------------------------------------------
   PROBLEM: The new design ships with GENERIC class names (.hero, .section,
   .field, .input, .faq-item, .footer…) that collide with Bootstrap + global.css
   already loaded by header_v2, and a preview <nav>/<footer> that must not ship.
   SOLUTION: every design class is prefixed with a page code `sa2-` so no global
   clash; the preview nav/footer + global resets are dropped (header_v2 + footer
   provide the shell). Tokens match site-page-home-v2.css so colour scheme is
   consistent with the rest of the redesigned marketing pages.
   ========================================================================== */

/* ===== DESIGN TOKENS (mirror site-page-home-v2.css — no drift) ===== */
:root {
  --navy:     #0D2240;
  --blue:     #1B75BC;
  --cyan:     #00AEEF;
  --white:    #FFFFFF;
  --light-bg: #F5F8FC;
  --grey:     #555E68;
  --muted:    #6B7A8D;
  --border:   #D9E3EC;
  --green:    #16A34A;
  --font:     'Inter', system-ui, sans-serif;
}
/* header_v2 sets body=Inter; this landing is unified on Inter like the
   other redesigned marketing pages (Home/MTD/About/Contact). */
body { font-family: 'Inter', sans-serif; }

.sa2-hero{background:var(--navy);position:relative;overflow:hidden;}
.sa2-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 800px 400px at 30% 60%,rgba(0,174,239,0.09) 0%,transparent 70%);pointer-events:none;}
/* EDIT (22 Sep 2026): .sa2-hero-inner matches the utr1 hero layout exactly
   (flex, flex-start, own padding 56px 72px 68px, overflow hidden).
   Removed the old grid + max-width/margin so the card no longer shrinks. */
.sa2-hero-inner{display:flex;align-items:flex-start;position:relative;padding:56px 72px 68px;overflow:hidden;}
.sa2-hero-inner > .hero-content{flex:1;min-width:0;}
.sa2-hero-eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(0,174,239,0.12);border:1px solid rgba(0,174,239,0.25);border-radius:100px;padding:5px 16px;font-size:11px;font-weight:700;letter-spacing:0.07em;text-transform:uppercase;color:var(--cyan);margin-bottom:22px;}
.sa2-hero h1{font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin: 0 0 16px;}
.sa2-hero h1 em{font-style:normal;color:var(--cyan);}
.sa2-hero-sub {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 500px;
}
.sa2-hero h2.sa2-hero-sub {
  margin: 0 0 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}
.sa2-hero-desc{font-size:15px;font-weight:500;color:rgba(255,255,255,0.62);line-height:1.7;margin-bottom:28px;max-width:480px;}
.sa2-hero-trust{display:flex;flex-wrap:wrap;gap:16px;}
.sa2-trust-pill{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:rgba(255,255,255,0.80);}
.sa2-trust-pill svg{width:15px;height:15px;color:var(--cyan);flex-shrink:0;}

/* FORM CARD */
.sa2-hero-form-card{background:var(--white);border-radius:16px;padding:32px 28px;box-shadow:0 8px 40px rgba(0,0,0,0.18);}
.sa2-form-title{font-size:18px;font-weight:800;color:var(--navy);margin-bottom:4px;}
.sa2-form-sub{font-size:12px;font-weight:500;color:var(--muted);margin-bottom:24px;line-height:1.6;}
.sa2-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;}
.sa2-field label{font-size:12px;font-weight:700;color:var(--navy);}
.sa2-field label span{color:var(--blue);margin-left:2px;}
.sa2-input{font-family:var(--font);font-size:13px;font-weight:500;color:var(--navy);background:var(--light-bg);border:1.5px solid var(--border);border-radius:9px;padding:11px 14px;outline:none;width:100%;transition:border-color 0.2s,box-shadow 0.2s;}
.sa2-input::placeholder{color:#A3AFBD;}
.sa2-input:focus{border-color:var(--cyan);box-shadow:0 0 0 3px rgba(0,174,239,0.12);}
.sa2-consent-row{display:flex;align-items:flex-start;gap:10px;margin-bottom:20px;margin-top:4px;}
.sa2-consent-row input[type=checkbox]{margin-top:2px;flex-shrink:0;accent-color:var(--blue);width:15px;height:15px;cursor:pointer;}
.sa2-consent-row label{font-size:11px;font-weight:500;color:var(--muted);line-height:1.6;cursor:pointer;}
.sa2-consent-row label a{color:var(--blue);border-bottom:1px solid var(--border);}
.sa2-btn-submit{width:100%;background:var(--blue);color:#fff;border:none;border-radius:10px;padding:14px 24px;font-family:var(--font);font-size:14px;font-weight:800;cursor:pointer;transition:background 0.15s,transform 0.1s;display:flex;align-items:center;justify-content:center;gap:8px;}
.sa2-btn-submit:hover{background:#1565A8;}
.sa2-btn-submit:active{transform:scale(0.98);}
.sa2-btn-submit:focus-visible{outline:2px solid var(--cyan);outline-offset:2px;}
.sa2-btn-submit svg{width:16px;height:16px;}
.sa2-form-note{text-align:center;font-size:11px;font-weight:500;color:var(--muted);margin-top:12px;line-height:1.55;}

/* TRUST BAR */
.sa2-trust-bar{background:var(--light-bg);border-bottom:1px solid var(--border);padding:20px 40px;}
.sa2-trust-bar-inner{max-width:1080px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:36px;}
.sa2-tb-item{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;color:var(--grey);}
.sa2-tb-item svg{width:18px;height:18px;color:var(--blue);flex-shrink:0;}

/* SECTIONS */
.sa2-section{padding:72px 40px;}
.sa2-inner{max-width:1080px;margin:0 auto;}
.sa2-section-label{font-size:11px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:var(--cyan);margin-bottom:8px;text-align:center;}
.sa2-section-title{font-size:clamp(24px,4vw,36px);font-weight:800;color:var(--navy);text-align:center;letter-spacing:-0.025em;margin-bottom:14px;text-wrap:balance;}
.sa2-section-lead{font-size:15px;font-weight:500;color:var(--muted);text-align:center;max-width:580px;margin:0 auto 48px;line-height:1.7;}

/* AEO CONTENT */
.sa2-content-section{padding:72px 40px;background:var(--light-bg);}
.sa2-content-inner{max-width:780px;margin:0 auto;}
.sa2-content-inner h2{font-size:clamp(18px,2.5vw,24px);font-weight:800;color:var(--navy);letter-spacing:-0.02em;margin-bottom:12px;text-wrap:balance;}
.sa2-content-inner p{font-size:14px;font-weight:500;color:var(--muted);line-height:1.8;margin-bottom:20px;}
.sa2-content-inner ul{list-style:none;display:flex;flex-direction:column;gap:10px;margin-bottom:24px;padding:0;}
.sa2-content-inner ul li{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:500;color:var(--grey);line-height:1.6;}
.sa2-content-inner ul li::before{content:'';flex-shrink:0;margin-top:6px;width:7px;height:7px;border-radius:50%;background:var(--cyan);}

/* FEATURES */
.sa2-features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.sa2-feat-card{background:var(--white);border:1px solid var(--border);border-radius:14px;padding:28px 24px;box-shadow:0 2px 16px rgba(13,34,64,0.06);transition:box-shadow 0.2s,border-color 0.2s;}
.sa2-feat-card:hover{box-shadow:0 6px 28px rgba(27,117,188,0.10);border-color:rgba(27,117,188,0.25);}
.sa2-feat-icon{width:48px;height:48px;border-radius:12px;background:rgba(0,174,239,0.10);display:flex;align-items:center;justify-content:center;color:var(--blue);margin-bottom:16px;}
.sa2-feat-icon svg{width:22px;height:22px;}
.sa2-feat-title{font-size:14px;font-weight:800;color:var(--navy);margin-bottom:6px;}
.sa2-feat-desc{font-size:13px;font-weight:500;color:var(--muted);line-height:1.65;}

/* HOW IT WORKS */
.sa2-steps-section{padding:72px 40px;background:var(--navy);}
.sa2-steps-section .sa2-section-label{color:var(--cyan);}
.sa2-steps-section .sa2-section-title{color:#fff;}
.sa2-steps-section .sa2-section-lead{color:rgba(255,255,255,0.55);}
.sa2-steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.sa2-step-card{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.10);border-radius:14px;padding:28px 22px;}
.sa2-step-num{width:36px;height:36px;border-radius:50%;background:var(--cyan);color:var(--navy);font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.sa2-step-title{font-size:14px;font-weight:800;color:#fff;margin-bottom:6px;}
.sa2-step-desc{font-size:12px;font-weight:500;color:rgba(255,255,255,0.55);line-height:1.7;}

/* FAQ */
.sa2-faq-section{padding:72px 40px;background:var(--light-bg);}
.sa2-faq-inner{max-width:700px;margin:0 auto;}
.sa2-faq-item{border-top:1px solid var(--border);}
.sa2-faq-item:last-child{border-bottom:1px solid var(--border);}
.sa2-faq-btn{width:100%;background:none;border:none;cursor:pointer;padding:16px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;font-family:var(--font);font-size:14px;font-weight:700;color:var(--navy);text-align:left;transition:color 0.15s;}
.sa2-faq-btn:hover{color:var(--blue);}
.sa2-faq-btn:focus-visible{outline:2px solid var(--cyan);outline-offset:2px;border-radius:3px;}
.sa2-faq-icon{width:22px;height:22px;border-radius:50%;background:rgba(27,117,188,0.10);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:14px;font-weight:800;transition:background 0.15s,transform 0.2s;}
.sa2-faq-btn[aria-expanded="true"] .sa2-faq-icon{background:var(--blue);color:#fff;transform:rotate(45deg);}
.sa2-faq-panel{max-height:0;overflow:hidden;transition:max-height 0.28s ease;}
.sa2-faq-panel p{font-size:13px;font-weight:500;color:var(--muted);line-height:1.7;padding-bottom:16px;}

/* RESPONSIVE */
@media(max-width:860px){
  /* EDIT (22 Sep 2026): on mobile reorder so the trust/feature blocks sit BELOW the form.
     PROBLEM — the trust+feature rows are inside .hero-content, which wraps them before the
     form card sibling, so they stack above before the form. SOLUTION — unwrap
     .hero-content with display:contents on mobile so its children become direct
     flex items of .sa2-hero-inner, then use flex order to place the form card
     before the trust/feature rows. Mobile order: header -> h1 -> sub -> desc ->
     trustpilot -> form -> trust checks -> feature grid.
     EDIT (28 Sep 2026): re-added utr1-hero-trust + cis2-hero-features blocks (CIS-style,
     Charan) — point the mobile reorder at them instead of the removed sa2-hero-trust. */
  .sa2-hero h1{font-size: 24px;}
  .sa2-hero-inner{padding:48px 20px;flex-direction:column;}
  .sa2-hero-inner > .hero-content{display:contents;}
  .sa2-hero-inner #sa2-hero-form{order:1; width:100%; margin-top:24px;}
  /* EDIT (28 Sep 2026): desired mobile order = badge -> h1 -> sub -> desc -> trustpilot ->
     trust checks -> FORM -> feature grid (Charan). Trust stays in NATURAL source position
     (order:0, ABOVE the form); only the feature grid is pushed BELOW the form (order:3).
     The old rule had trust at order:2 (below the form) — flipped so it sits above. */
  .sa2-hero-inner .cis2-hero-features{order:3; width:100%; margin-bottom:28px; margin-top:28px;}
  .sa2-hero-inner .cis2-hero-divider{display:none;}
  .sa2-trust-bar{padding:16px 20px;}
  .sa2-section,.sa2-content-section,.sa2-faq-section,.sa2-steps-section{padding:52px 20px;}
  .sa2-features-grid{grid-template-columns:1fr;}
  .sa2-steps-grid{grid-template-columns:1fr 1fr;gap:16px;}
}
@media(max-width:480px){.sa2-steps-grid{grid-template-columns:1fr;}.sa2-trust-bar-inner{gap:20px;}}