/* Standalone styles for SEO subpages — isolated from main app CSS */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --sub-bg: #eef2f8;
  --sub-surface: #ffffff;
  --sub-ink: #0f172a;
  --sub-text: #475569;
  --sub-muted: #64748b;
  --sub-accent: #d4a017;
  --sub-accent-hover: #b8890f;
  --sub-accent-soft: rgba(212, 160, 23, 0.12);
  --sub-border: #e2e8f0;
  --sub-radius: 16px;
  --sub-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --sub-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --sub-max: 960px;
}

html { scroll-behavior: smooth; }

body.wb-sub {
  margin: 0;
  min-height: 100vh;
  background: var(--sub-bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -30%, rgba(212, 160, 23, 0.08), transparent 60%);
  color: var(--sub-text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sub-accent-hover); }
a:hover { color: var(--sub-ink); }

/* Topbar */
.wb-sub-topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--sub-ink);
  border-bottom: 3px solid var(--sub-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.wb-sub-topbar__inner {
  max-width: var(--sub-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wb-sub-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.wb-sub-brand:hover { color: var(--sub-accent); }

.wb-sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.wb-sub-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.wb-sub-nav a:hover {
  color: #fff;
  background: rgba(212, 160, 23, 0.22);
}

/* Main layout */
.wb-sub-main {
  display: block;
  background: transparent !important;
  min-height: auto !important;
  padding: 0 !important;
}

.wb-sub-wrap {
  max-width: var(--sub-max);
  margin: 0 auto;
  padding: 32px 20px 40px;
}

.wb-sub-crumb {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sub-muted);
  margin-bottom: 20px;
}
.wb-sub-crumb a {
  color: var(--sub-accent-hover);
  text-decoration: none;
}
.wb-sub-crumb a:hover { text-decoration: underline; }

.wb-sub-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub-accent-hover);
  margin-bottom: 10px;
}

.wb-sub-card {
  background: var(--sub-surface);
  border: 1px solid var(--sub-border);
  border-radius: var(--sub-radius);
  box-shadow: var(--sub-shadow);
  padding: 28px 28px 24px;
  margin-bottom: 20px;
}

.wb-sub-card h1 {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  color: var(--sub-ink);
  margin: 0 0 14px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.wb-sub-card h2 {
  font-size: 1.15rem;
  color: var(--sub-ink);
  margin: 28px 0 12px;
  padding: 0;
  border: none;
}
.wb-sub-card h2:first-child { margin-top: 0; }

.wb-sub-card p {
  margin: 0 0 14px;
  color: var(--sub-text);
}

.wb-sub-card p:last-child { margin-bottom: 0; }

/* Buttons */
.wb-sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--sub-border);
}

.wb-sub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--sub-accent);
  color: var(--sub-ink) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 2px solid var(--sub-accent);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.wb-sub-btn:hover {
  background: var(--sub-accent-hover);
  border-color: var(--sub-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.35);
}

.wb-sub-btn--outline {
  background: var(--sub-surface);
  border-color: var(--sub-border);
  color: var(--sub-ink) !important;
}
.wb-sub-btn--outline:hover {
  background: var(--sub-ink);
  border-color: var(--sub-ink);
  color: #fff !important;
  box-shadow: var(--sub-shadow);
}

/* Footer — full width, clearly separated */
.wb-sub-footer {
  background: var(--sub-ink);
  color: #94a3b8;
  margin-top: 8px;
  padding: 36px 20px 32px;
  border-top: 3px solid var(--sub-accent);
}

.wb-sub-footer__inner {
  max-width: var(--sub-max);
  margin: 0 auto;
}

.wb-sub-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 24px;
}

.wb-sub-footer__title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 14px;
}

.wb-sub-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wb-sub-footer__links li { margin-bottom: 8px; }
.wb-sub-footer__links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
}
.wb-sub-footer__links a:hover { color: var(--sub-accent); }

.wb-sub-footer__address {
  font-style: normal;
  font-size: 0.92rem;
}
.wb-sub-footer__address a {
  color: #fde68a;
  text-decoration: none;
}
.wb-sub-footer__address a:hover { text-decoration: underline; }

.wb-sub-footer__copy,
.wb-sub-footer__note {
  font-size: 0.82rem;
  color: #64748b;
  margin: 6px 0 0;
}

/* ===== ABOUT ===== */
.wb-sub-hero-split {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 40%);
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  border: none;
  color: #e2e8f0;
  overflow: hidden;
}
.wb-sub-hero-split h1 { color: #fff; }
.wb-sub-hero-split p { color: #cbd5e1; }
.wb-sub-hero-split__img {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(212, 160, 23, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.wb-sub-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.wb-sub-stat {
  text-align: center;
  padding: 16px 12px;
  background: var(--sub-surface);
  border: 1px solid var(--sub-border);
  border-radius: 12px;
  box-shadow: var(--sub-shadow);
}
.wb-sub-stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--sub-accent-hover);
}
.wb-sub-stat span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sub-muted);
}

.wb-sub-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.wb-sub-mission-item {
  padding: 20px 18px;
  background: var(--sub-bg);
  border: 1px solid var(--sub-border);
  border-radius: 12px;
  border-top: 3px solid var(--sub-accent);
}
.wb-sub-mission-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--sub-ink);
}
.wb-sub-mission-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--sub-muted);
}

/* ===== BLOG ===== */
.wb-sub-blog-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px 28px;
}
.wb-sub-blog-hero__img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sub-border);
  box-shadow: var(--sub-shadow-lg);
}

.wb-sub-feature {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.wb-sub-feature__img {
  min-height: 240px;
  overflow: hidden;
}
.wb-sub-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wb-sub-feature__body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.wb-sub-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sub-accent-soft);
  color: var(--sub-accent-hover);
  margin-bottom: 10px;
  width: fit-content;
}
.wb-sub-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sub-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.wb-sub-feature h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}
.wb-sub-feature h2 a {
  color: var(--sub-ink);
  text-decoration: none;
}
.wb-sub-feature h2 a:hover { color: var(--sub-accent-hover); }

.wb-sub-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.wb-sub-post {
  background: var(--sub-surface);
  border: 1px solid var(--sub-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sub-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wb-sub-post:hover {
  transform: translateY(-3px);
  box-shadow: var(--sub-shadow-lg);
}
.wb-sub-post__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sub-bg);
}
.wb-sub-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.wb-sub-post:hover .wb-sub-post__thumb img { transform: scale(1.04); }
.wb-sub-post__body {
  padding: 16px 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wb-sub-post h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}
.wb-sub-post h3 a {
  color: var(--sub-ink);
  text-decoration: none;
}
.wb-sub-post h3 a:hover { color: var(--sub-accent-hover); }
.wb-sub-post p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--sub-muted);
  flex: 1;
}
.wb-sub-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sub-accent-hover) !important;
  text-decoration: none !important;
}
.wb-sub-link:hover { text-decoration: underline !important; }

.wb-sub-post-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.wb-sub-post--compact {
  padding: 18px 18px 14px;
  border-left: 4px solid var(--sub-accent);
}

/* ===== CONTACT ===== */
.wb-sub-contact-hero {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 22px;
  align-items: start;
  margin-bottom: 0;
}
.wb-sub-contact-hero img {
  border-radius: 14px;
  border: 1px solid var(--sub-border);
  box-shadow: var(--sub-shadow);
}

.wb-sub-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wb-sub-panel {
  padding: 24px 22px;
  background: var(--sub-surface);
  border: 1px solid var(--sub-border);
  border-radius: 14px;
  box-shadow: var(--sub-shadow);
}
.wb-sub-panel--dark {
  background: linear-gradient(160deg, #0f172a, #1e293b);
  border: none;
  color: #e2e8f0;
}
.wb-sub-panel--dark h2 { color: #fff; margin-top: 0; }
.wb-sub-panel--dark a { color: #fde68a; }
.wb-sub-contact-line {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.wb-sub-contact-line__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--sub-accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.wb-sub-panel--dark .wb-sub-contact-line__icon {
  background: rgba(212, 160, 23, 0.2);
}

/* ===== FAQ ===== */
.wb-sub-faq-intro {
  margin-bottom: 20px;
}
.wb-sub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.wb-sub-chip {
  padding: 7px 14px;
  background: var(--sub-ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.wb-sub-chip:hover {
  background: var(--sub-accent);
  color: var(--sub-ink);
}

.wb-sub-faq-panel {
  padding: 8px 8px 4px;
}
.wb-sub-faq-section {
  margin-bottom: 24px;
}
.wb-sub-faq-section:last-child { margin-bottom: 8px; }
.wb-sub-faq-section__title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sub-accent-hover);
  margin: 0 0 12px;
  padding: 0 12px;
}

.wb-sub-faq details {
  border: 1px solid var(--sub-border);
  border-radius: 12px;
  margin-bottom: 8px;
  background: var(--sub-surface);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wb-sub-faq details[open] {
  border-color: rgba(212, 160, 23, 0.45);
  box-shadow: 0 2px 12px rgba(212, 160, 23, 0.1);
}
.wb-sub-faq summary {
  padding: 16px 44px 16px 16px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--sub-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.45;
}
.wb-sub-faq summary::-webkit-details-marker { display: none; }
.wb-sub-faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sub-accent-soft);
  color: var(--sub-accent-hover);
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 400;
}
.wb-sub-faq details[open] summary::after {
  content: "−";
  background: var(--sub-accent);
  color: var(--sub-ink);
}
.wb-sub-faq details[open] summary {
  background: var(--sub-accent-soft);
  border-bottom: 1px solid var(--sub-border);
}
.wb-sub-faq details p {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 0.95rem;
  color: var(--sub-text);
}

/* ===== TERMS ===== */
.wb-sub-legal {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
}
.wb-sub-legal-nav {
  position: sticky;
  top: 76px;
  padding: 14px 12px;
  background: var(--sub-bg);
  border: 1px solid var(--sub-border);
  border-radius: 12px;
}
.wb-sub-legal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wb-sub-legal-nav li { margin-bottom: 6px; }
.wb-sub-legal-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sub-muted);
  text-decoration: none;
}
.wb-sub-legal-nav a:hover { color: var(--sub-accent-hover); }

.wb-sub-clause {
  display: flex;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--sub-border);
}
.wb-sub-clause:last-child { border-bottom: none; margin-bottom: 0; }
.wb-sub-clause__n {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--sub-ink);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.wb-sub-clause h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}
.wb-sub-clause p { margin: 0; font-size: 0.95rem; }

.wb-sub-terms-note {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--sub-accent-soft);
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: 12px;
  margin-bottom: 24px;
}
.wb-sub-terms-note img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.wb-sub-actions--plain {
  border-top: none;
  padding-top: 0;
  margin-top: 8px;
}

.wb-sub-actions--tight {
  border-top: none;
  padding-top: 16px;
}

.wb-sub-panel__hours {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #94a3b8;
}

.wb-sub-panel h2:first-child {
  margin-top: 0;
}
@media (max-width: 800px) {
  .wb-sub-hero-split,
  .wb-sub-blog-hero,
  .wb-sub-feature,
  .wb-sub-contact-hero,
  .wb-sub-contact-grid,
  .wb-sub-blog-grid,
  .wb-sub-post-row,
  .wb-sub-legal,
  .wb-sub-stats {
    grid-template-columns: 1fr;
  }
  .wb-sub-feature__img { min-height: 200px; }
  .wb-sub-legal-nav { position: static; }
}
