/* ============================================================
   SEAVIEW ACCOUNTING — INNER-PAGE COMPONENTS
   ------------------------------------------------------------
   Shared building blocks for every page EXCEPT the homepage:
   page heros, feature splits, pricing, accordions, blog cards,
   contact forms, legal prose, CTA bands.
   Link order on a page:  theme.css → pages.css → (optional page css)
   ============================================================ */

/* ── SECTION RHYTHM (mirrors the homepage flow system) ── */
.section { position: relative; padding: 96px 60px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section--center { text-align: center; }
.section--panel {
  background: rgba(255,255,255,0.025);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.section--tight { padding: 72px 60px; }
.lead-center { max-width: 600px; margin: 0 auto; }

/* ── PAGE HERO (shorter than the homepage hero) ── */
.page-hero {
  position: relative; isolation: isolate;
  padding: 150px 60px 92px; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 75% at 72% 25%, rgba(101,255,145,0.08), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(255,107,43,0.05), transparent 65%),
    linear-gradient(160deg, #03152c 0%, #082140 60%, #0a1e38 100%);
}
.page-hero-img {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center; opacity: 0.06;
}
.page-hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.page-hero--center { text-align: center; }
.page-hero--center .page-lead { margin-left: auto; margin-right: auto; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(101,255,145,0.12); color: var(--green);
  border: 1px solid rgba(101,255,145,0.25);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.page-title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04; color: var(--white);
  letter-spacing: -0.01em;
}
.page-title .accent { color: var(--green); }
.page-title .block { display: block; }
.page-lead {
  font-size: 17px; color: rgba(255,255,255,0.62);
  max-width: 480px; line-height: 1.7; margin-top: 22px;
}
.page-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

/* ── LINKS ── */
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green); font-weight: 600; font-size: 14px; text-decoration: none;
}
.link-arrow:hover { gap: 10px; }

/* ── FEATURE SPLIT (image + text) ── */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.feature-split.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/3;
  background: var(--navy-light); position: relative;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text .section-title { margin-bottom: 18px; }
.feature-text p { color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 16px; }
.media-badge {
  position: absolute; bottom: 22px; left: 22px;
  background: var(--green); color: var(--navy-deep);
  border-radius: 12px; padding: 14px 20px;
}
.media-badge .big { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 26px; line-height: 1; }
.media-badge .small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ── INLINE STATS ── */
.inline-stats { display: flex; gap: 56px; margin-top: 32px; flex-wrap: wrap; }
.inline-stat .num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 30px; color: var(--green); line-height: 1; }
.inline-stat .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-top: 8px; }

/* ── CARD GRID (pillars / why-choose / value props) ── */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 30px 26px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.feature-card:hover { border-color: rgba(101,255,145,0.3); background: rgba(101,255,145,0.04); transform: translateY(-4px); }
.feature-card .ic {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(101,255,145,0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ── PRICING ── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1050px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 34px 30px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: rgba(101,255,145,0.55);
  background: rgba(101,255,145,0.05);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--navy-deep);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-name { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.price-card.featured .price-name { color: var(--green); }
.price-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 22px; min-height: 60px; }
.price-features { list-style: none; display: grid; gap: 13px; margin-bottom: 28px; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.5; }
.price-features li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; stroke: var(--green); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.price-features .muted { color: rgba(255,255,255,0.4); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin: 4px 0 2px; }
.price-card .btn-primary, .price-card .btn-secondary { width: 100%; justify-content: center; margin-top: auto; }

/* ── BIO / FOUNDER FEATURE ── */
.bio { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; max-width: 1100px; margin: 0 auto; }
.bio-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; background: var(--navy-light); }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-quote {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(3,21,44,0.9); backdrop-filter: blur(8px);
  border-left: 3px solid var(--green); border-radius: 10px; padding: 14px 18px;
  font-size: 14px; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.5;
}
.bio-role { color: var(--green); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin: 10px 0 18px; }
.bio-text p { color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 16px; }
.bio-socials { display: flex; gap: 10px; margin-top: 22px; }
.bio-socials a {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--white);
  transition: border-color 0.2s, color 0.2s;
}
.bio-socials a:hover { border-color: var(--green); color: var(--green); }
.bio-socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── ACCREDITATION STRIP ── */
.accred-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.accred-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px 26px; text-align: center;
}
.accred-card .ic {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px;
  background: rgba(101,255,145,0.12); display: flex; align-items: center; justify-content: center;
}
.accred-card .ic svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.accred-card h4 { font-size: 16px; margin-bottom: 8px; }
.accred-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── TIMELINE ── */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: rgba(101,255,145,0.25); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-deep); border: 3px solid var(--green); }
.timeline-year { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--green); font-size: 15px; margin-bottom: 6px; }
.timeline-item h4 { font-size: 16px; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ── CTA BAND ── */
.cta-band { text-align: center; }
.cta-band-inner {
  max-width: 760px; margin: 0 auto;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(101,255,145,0.08), transparent 70%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 60px 40px;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; color: var(--green); }
.cta-band p { color: rgba(255,255,255,0.6); max-width: 460px; margin: 0 auto 32px; line-height: 1.7; }
.cta-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── ACCORDION (FAQ) ── */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-cat { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin: 36px 0 8px; }
.acc-cat:first-child { margin-top: 0; }
.acc-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.acc-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; text-align: left; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 500;
}
.acc-q .chev { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 2; transition: transform 0.3s; }
.acc-item.open .acc-q .chev { transform: rotate(180deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-a-inner { padding: 0 4px 22px; color: rgba(255,255,255,0.6); line-height: 1.75; font-size: 15px; }
.acc-a-inner a { color: var(--green); }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: var(--maxw); margin: 0 auto; }
.post-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: border-color 0.3s, transform 0.3s;
}
.post-card:hover { border-color: rgba(101,255,145,0.3); transform: translateY(-4px); }
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-mid), var(--navy)); position: relative; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(3,21,44,0.85); color: var(--green); border: 1px solid rgba(101,255,145,0.3);
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
.post-body p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.post-meta { font-size: 12px; color: rgba(255,255,255,0.4); display: flex; gap: 12px; }
.post-featured { grid-column: 1 / -1; }
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; }
.post-featured .post-thumb { aspect-ratio: auto; min-height: 280px; }

/* ── FORM CONTROLS (shared by contact + portal + questionnaires) ── */
.field { display: block; margin-bottom: 18px; }
.field > label { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.field .req { color: var(--orange); }
.input, .textarea, .select {
  width: 100%; font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--white);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px; padding: 13px 15px; transition: border-color 0.2s, background 0.2s;
}
.input::placeholder, .textarea::placeholder { color: rgba(255,255,255,0.32); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--green); background: rgba(101,255,145,0.04); }
.textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 6px; line-height: 1.5; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; max-width: 1080px; margin: 0 auto; align-items: start; }
.contact-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 36px; }
.contact-info { display: grid; gap: 22px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: rgba(101,255,145,0.1); display: flex; align-items: center; justify-content: center; }
.contact-info .ic svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-info .k { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 3px; }
.contact-info .v { font-size: 15px; color: var(--white); text-decoration: none; }
.contact-info a.v:hover { color: var(--green); }

/* ── LEGAL PROSE ── */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; color: var(--white); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: rgba(255,255,255,0.62); line-height: 1.8; font-size: 15px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 20px; display: grid; gap: 6px; }
.legal a { color: var(--green); }
.legal .updated { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 30px; }

/* ── ARTICLE (blog post) ── */
.article { max-width: 760px; margin: 0 auto; }
.article-head { margin-bottom: 32px; }
.article-head .post-tag { position: static; display: inline-block; margin-bottom: 18px; }
.article h1 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.12; color: var(--white); letter-spacing: -0.01em; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.45); }
.article-meta .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-mid), var(--green)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--navy-deep); }
.article-meta .who { color: rgba(255,255,255,0.7); font-weight: 500; }
.article-cover { border-radius: 18px; overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-mid), var(--navy)); margin-bottom: 36px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 17px; line-height: 1.85; color: rgba(255,255,255,0.72); }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: 25px; color: var(--white); margin: 38px 0 14px; }
.article-body h3 { font-size: 19px; color: var(--white); margin: 28px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; display: grid; gap: 10px; }
.article-body li { line-height: 1.7; }
.article-body a { color: var(--green); }
.article-body blockquote { border-left: 3px solid var(--green); margin: 26px 0; padding: 4px 0 4px 22px; font-style: italic; color: rgba(255,255,255,0.82); }
.article-body strong { color: var(--white); }
.article-foot { max-width: 760px; margin: 48px auto 0; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section, .page-hero { padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .page-hero { padding-top: 130px; padding-bottom: 72px; }
  .feature-split, .bio { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse .feature-media { order: 0; }
  .pricing, .cards-grid, .cards-grid.cols-3, .accred-strip, .blog-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .post-featured { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
