/* Homepage layout adapted from the supplied BBZ Media concept. */
:root { --home-navy: #0f172a; --home-teal: #0d9488; --home-muted: #667085; --home-line: #e5e7eb; }
body { color: var(--home-navy); background: #f9fafb; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#homeView section { scroll-margin-top: 82px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(15,23,42,.07); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { width: min(1280px, calc(100% - 48px)); min-height: 80px; gap: 34px; }
.brand { gap: 12px; min-width: 208px; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 8px; background: var(--home-navy); color: #fff; font-size: 20px; font-weight: 800; box-shadow: 0 7px 18px rgba(15,23,42,.16); }
.brand-mark em { color: #14b8a6; font-style: normal; margin-left: 0; }
.brand strong { color: var(--home-navy); font-size: 19px; font-weight: 750; line-height: 1.1; }
.brand small { margin-top: 3px; color: var(--home-teal); font-size: 10px; font-weight: 700; letter-spacing: 0; }
.main-nav { gap: 32px; }
.main-nav a { color: #586174; font-size: 14px; font-weight: 600; }
.main-nav a:hover, .main-nav a.active { color: var(--home-teal); }
.header-actions { gap: 14px; }
.header-actions .solid-btn.compact { display: none; }
.login-link { color: #475467; font-size: 13px; }
.lang-toggle { min-height: 36px; padding: 0 6px; background: transparent; color: #475467; font-size: 13px; font-weight: 600; }
.header-consult { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 22px; border-radius: 999px; background: var(--home-navy); color: #fff; font-size: 14px; font-weight: 650; }
.header-consult:hover { background: var(--home-teal); }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 10px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--home-navy); }
.solid-btn, .outline-btn { border-radius: 999px; box-shadow: none; }
.solid-btn { background: var(--home-teal); }
.solid-btn:hover { background: #0b7f76; }
.outline-btn { color: var(--home-navy); border: 1px solid #d0d5dd; background: #fff; }

#homeView .hero-section { padding: 0; background: #fff; }
#homeView .hero-inner { position: relative; display: block; width: 100%; min-height: 600px; overflow: hidden; border-radius: 0; background: #eef3f2; }
#homeView .hero-image { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; object-position: center 47%; opacity: .32; filter: blur(9px); transform: scale(1.02); }
#homeView .hero-inner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(255,255,255,.64); }
#homeView .hero-copy { position: relative; z-index: 2; width: min(1280px, calc(100% - 48px)); max-width: none; margin: 0 auto; padding: 112px 0 100px; color: var(--home-navy); }
#homeView .hero-brand { color: var(--home-teal); font-size: 14px; font-weight: 700; }
#homeView .hero-kicker { display: none; }
#homeView .hero-copy h1 { max-width: 920px; margin: 14px 0 0; color: var(--home-navy); font-size: 68px; font-weight: 760; line-height: 1.16; text-shadow: none; }
#homeView .hero-highlight { color: var(--home-teal); }
#homeView .hero-subtitle { max-width: 730px; margin: 30px 0 36px; color: #475467; font-size: 20px; line-height: 1.8; }
#homeView .hero-subtitle strong { color: var(--home-navy); font-weight: 700; }
#homeView .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
#homeView .hero-actions a { min-height: 58px; padding: 0 30px; font-size: 16px; font-weight: 700; }
#homeView .hero-primary { color: #fff; }
#homeView .hero-secondary { background: rgba(255,255,255,.92); }

#homeView .site-container { width: min(1280px, calc(100% - 48px)); }
#homeView .section-heading h2 { color: var(--home-navy); font-size: 38px; font-weight: 750; line-height: 1.28; }
#homeView .section-heading p { color: #667085; font-size: 18px; line-height: 1.7; }
#homeView .stage-section { padding: 94px 0; background: #f9fafb; }
#homeView .stage-section .section-heading { max-width: 760px; margin: 0 auto 56px; }
#homeView .stage-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
#homeView .stage-tabs button { min-height: 155px; padding: 25px; border: 2px solid #e5e7eb; border-radius: 8px; background: #fff; color: #667085; box-shadow: none; transition: border-color .2s, background .2s, transform .2s; }
#homeView .stage-tabs button:hover { border-color: #99d8d0; transform: translateY(-2px); }
#homeView .stage-tabs button[aria-selected="true"] { color: #fff; border-color: var(--home-navy); background: var(--home-navy); box-shadow: 0 12px 26px rgba(15,23,42,.16); }
#homeView .stage-tabs button span { color: var(--home-teal); font-size: 13px; }
#homeView .stage-tabs button strong { margin-top: 12px; color: var(--home-navy); font-size: 20px; }
#homeView .stage-tabs button[aria-selected="true"] strong { color: #fff; }
#homeView .stage-tabs button small { margin-top: 5px; color: #7a8494; font-size: 13px; }
#homeView .stage-tabs button[aria-selected="true"] small { color: #cbd5e1; }
#homeView .stage-panel { grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 48px; margin-top: 36px; padding: 46px; border: 1px solid #eceff2; border-radius: 8px; background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.04); }
#homeView .stage-panel .section-kicker { color: #98a2b3; font-size: 13px; letter-spacing: 0; }
#homeView .stage-panel h3 { margin: 8px 0 16px; color: var(--home-navy); font-size: 27px; font-weight: 750; line-height: 1.3; }
#homeView .stage-panel p { color: #667085; font-size: 14px; line-height: 1.8; }
#homeView .stage-pains { margin-top: 28px; padding: 22px; border: 0; border-radius: 6px; background: #f9fafb; }
#homeView .stage-pains strong, #homeView .stage-deliverables strong { color: var(--home-navy); font-size: 14px; }
#homeView .stage-pains li { color: #566171; font-size: 13px; }
#homeView .stage-pains li::before { content: "×"; color: #98a2b3; font-size: 17px; line-height: 1; }
#homeView .stage-support { gap: 28px; margin-top: 24px; }
#homeView .stage-support > div { border: 0; padding: 0; }
#homeView .stage-support b { display: inline-block; padding: 3px 6px; border-radius: 4px; background: #f0fdfa; color: var(--home-teal); font-size: 12px; }
#homeView .stage-support strong { color: var(--home-navy); font-size: 15px; }
#homeView .stage-support p { margin: 7px 0 0; font-size: 13px; }
#homeView .stage-deliverables { margin-top: 28px; padding-top: 22px; border-top: 1px solid #eaecf0; }
#homeView .stage-deliverables li { padding: 7px 11px; border-radius: 5px; background: #f0fdfa; color: #115e59; font-size: 12px; }
#homeView .stage-consult { margin-top: 24px; color: var(--home-teal); }

#homeView .section.capability-section { width: min(1280px, calc(100% - 48px)); padding: 96px 0; }
#homeView .capability-section .section-heading { margin-bottom: 56px; text-align: left; }
#homeView .capability-section .section-heading p { margin-top: 18px; }
#homeView .solution-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
#homeView .solution-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 330px; padding: 30px; border: 1px solid #edf0f3; border-radius: 8px; background: #f9fafb; box-shadow: none; backdrop-filter: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
#homeView .solution-card::after { content: none; }
#homeView .solution-card:hover { transform: translateY(-4px); border-color: var(--home-teal); box-shadow: 0 14px 28px rgba(15,23,42,.08); }
#homeView .solution-card:nth-child(n+4) { color: #fff; background: var(--home-navy); border-color: #21314b; }
#homeView .solution-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
#homeView .solution-icon { color: var(--home-teal); font-size: 38px; line-height: 1; font-weight: 600; }
#homeView .solution-number { margin: 0; color: #cbd5e1; font-size: 16px; font-weight: 750; }
#homeView .solution-card:nth-child(n+4) .solution-number { color: #68758e; }
#homeView .solution-card h3 { color: var(--home-navy); font-size: 22px; line-height: 1.3; }
#homeView .solution-card p { margin: 10px 0 0; color: #667085; font-size: 14px; line-height: 1.7; }
#homeView .solution-card:nth-child(n+4) h3 { color: #fff; }
#homeView .solution-card:nth-child(n+4) p { color: #a9b3c5; }
#homeView .solution-features { display: grid; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #e5e7eb; color: #4b5563; font-size: 13px; }
#homeView .solution-features span { display: flex; justify-content: space-between; gap: 12px; }
#homeView .solution-features b { color: var(--home-teal); font-weight: 600; }
#homeView .solution-card:nth-child(n+4) .solution-features { border-color: #334155; color: #cbd5e1; }

#homeView .success-system { padding: 95px 0; border-top: 1px solid #e5e7eb; background: #f9fafb; }
#homeView .success-inner { width: min(1280px, calc(100% - 48px)); padding: 0; overflow: visible; background: transparent; color: var(--home-navy); }
#homeView .process-heading { max-width: 830px; }
#homeView .process-heading p { margin-top: 18px; }
#homeView .journey-line { display: none; }
#homeView .stage-grid { position: relative; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; margin-top: 74px; }
#homeView .stage-grid::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: #d8dee6; }
#homeView .success-stage, #homeView .success-stage.stage-2, #homeView .success-stage.stage-3, #homeView .success-stage.stage-4 { position: relative; display: block; min-height: 0; padding: 32px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--home-navy); }
#homeView .stage-dot { position: absolute; top: -10px; left: 0; width: 20px; height: 20px; border: 5px solid #cfd6df; border-radius: 50%; background: #f9fafb; transition: border-color .2s; }
#homeView .success-stage:hover .stage-dot { border-color: var(--home-teal); }
#homeView .stage-icon { display: block; width: auto; height: auto; margin: 0 0 10px; padding: 0; border: 0; color: var(--home-teal); background: transparent; font-size: 13px; font-weight: 750; text-align: left; }
#homeView .success-stage h3 { color: var(--home-navy); font-size: 21px; }
#homeView .success-stage p { margin-top: 12px; color: #667085; font-size: 14px; line-height: 1.75; }

#homeView .learning-section { width: min(1280px, calc(100% - 48px)); padding: 90px 0; background: #fff; }
#homeView .learning-heading { margin-bottom: 34px; }
#homeView .learning-heading .plain-link { color: var(--home-teal); font-size: 14px; }
#homeView .academy-layout { gap: 24px; }
#homeView .academy-layout .featured-article, #homeView .academy-layout .learning-card { border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: none; }
#homeView .academy-layout .featured-article { min-height: 510px; }
#homeView .academy-layout .learning-card { min-height: 250px; }
#homeView .faq-section { padding: 92px 0; border-top: 1px solid #eaecf0; background: #fff; }
#homeView .faq-inner { max-width: 940px; }
#homeView .faq-section .section-heading { margin-bottom: 54px; }
#homeView .faq-list { gap: 15px; }
#homeView .faq-item { border: 1px solid #e5e7eb; border-radius: 8px; background: #f9fafb; box-shadow: none; }
#homeView .faq-item[open] { border-color: #7bd1c7; background: #fff; }
#homeView .faq-item summary { padding: 22px 25px; color: var(--home-navy); font-size: 16px; }
#homeView .faq-item p { padding: 0 25px 22px; color: #667085; }

#homeView .contact-section { width: 100%; padding: 98px 0; background: var(--home-navy); }
#homeView #about { scroll-margin-top: 100px; }
#homeView .contact-layout { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 70px; align-items: center; }
#homeView .contact-copy { padding: 0; color: #fff; }
#homeView .contact-copy h2 { max-width: 500px; margin: 0 0 24px; color: #fff; font-size: 49px; line-height: 1.2; }
#homeView .contact-copy p { max-width: 470px; margin: 0 0 40px; color: #cbd5e1; font-size: 18px; line-height: 1.75; }
#homeView .contact-method { display: flex; align-items: center; gap: 16px; }
#homeView .contact-method-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: #2dd4bf; font-size: 23px; }
#homeView .contact-method small { display: block; color: #94a3b8; font-size: 13px; }
#homeView .contact-copy .contact-method a { display: inline-block; margin-top: 3px; color: #fff; font-size: 16px; }
#homeView .contact-qr { width: 92px; margin-top: 30px; }
#homeView .contact-form { padding: 36px; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
#homeView .contact-form-head { display: none; }
#homeView .service-needs { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 25px; }
#homeView .service-needs legend { margin-bottom: 16px; color: var(--home-navy); font-size: 14px; font-weight: 750; }
#homeView .service-needs span { min-height: 45px; padding: 7px 5px; border: 1px solid #dce1e7; border-radius: 7px; background: #fff; color: #566171; font-size: 13px; }
#homeView .service-needs input:checked + span { border-color: var(--home-teal); background: #f0fdfa; color: #0f766e; }
#homeView .form-grid { gap: 20px; }
#homeView .form-grid label { color: var(--home-navy); font-size: 14px; font-weight: 700; }
#homeView .form-grid input, #homeView .form-grid select, #homeView .form-grid textarea { min-height: 47px; border: 1px solid #e5e7eb; border-radius: 7px; background: #f9fafb; color: var(--home-navy); }
#homeView .form-grid textarea { min-height: 95px; }
#homeView .contact-form .solid-btn { width: 100%; min-height: 53px; margin-top: 26px; border-radius: 7px; background: var(--home-navy); font-size: 15px; }
#homeView .contact-form .solid-btn:hover { background: #115e59; }
.site-footer { width: 100%; margin: 0; padding: 27px 0; border: 0; border-radius: 0; background: #020617; }
.site-footer .footer-bottom { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 0; border: 0; color: #98a2b3; font-size: 13px; }
.site-footer .footer-bottom nav { display: flex; align-items: center; gap: 24px; }
.site-footer .footer-bottom a { color: #98a2b3; }
.site-footer .footer-bottom a:hover { color: #2dd4bf; }

@media (max-width: 1000px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 17px; }
  #homeView .solution-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #homeView .contact-layout { gap: 36px; }
}
@media (max-width: 760px) {
  .header-inner { width: min(100% - 28px, 1280px); min-height: 68px; }
  .brand { min-width: 0; }
  .brand strong { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; font-size: 18px; }
  .header-actions { margin-left: auto; gap: 6px; }
  .header-consult { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 67px; left: 0; right: 0; display: none; padding: 14px 20px 20px; border-bottom: 1px solid #eaecf0; background: #fff; box-shadow: 0 12px 20px rgba(15,23,42,.08); }
  .main-nav.is-open { display: grid; gap: 0; }
  .main-nav a { padding: 11px 0; }
  #homeView .site-container, #homeView .section.capability-section, #homeView .success-inner, #homeView .learning-section { width: min(100% - 36px,1280px); }
  #homeView .hero-inner { min-height: 570px; }
  #homeView .hero-image { object-position: 60% center; opacity: .26; }
  #homeView .hero-copy { width: min(100% - 36px,1280px); padding: 70px 0 76px; }
  #homeView .hero-copy h1 { font-size: 46px; }
  #homeView .hero-subtitle { max-width: 610px; font-size: 17px; }
  #homeView .section-heading h2 { font-size: 32px; }
  #homeView .section-heading p { font-size: 16px; }
  #homeView .stage-section, #homeView .section.capability-section, #homeView .success-system, #homeView .learning-section, #homeView .faq-section, #homeView .contact-section { padding-top: 70px; padding-bottom: 70px; }
  #homeView .stage-section .section-heading { margin-bottom: 35px; }
  #homeView .stage-tabs { grid-template-columns: 1fr; gap: 12px; }
  #homeView .stage-tabs button { min-height: 112px; padding: 20px; }
  #homeView .stage-panel { grid-template-columns: 1fr; gap: 30px; padding: 28px; }
  #homeView .stage-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 28px; }
  #homeView .stage-grid::before { display: none; }
  #homeView .success-stage { border-top: 2px solid #d8dee6; }
  #homeView .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  #homeView .contact-copy h2 { font-size: 39px; }
  #homeView .contact-copy p { margin-bottom: 25px; }
}
@media (max-width: 520px) {
  .login-link { font-size: 12px; }
  #homeView .hero-inner { min-height: 620px; }
  #homeView .hero-copy { padding: 55px 0 64px; }
  #homeView .hero-copy h1 { font-size: 34px; }
  #homeView .hero-subtitle { font-size: 16px; line-height: 1.7; }
  #homeView .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  #homeView .hero-actions a { min-height: 53px; font-size: 15px; }
  #homeView .stage-panel { padding: 22px; }
  #homeView .stage-panel h3 { font-size: 24px; }
  #homeView .stage-support, #homeView .solution-grid, #homeView .stage-grid { grid-template-columns: 1fr; }
  #homeView .solution-card { min-height: 290px; }
  #homeView .stage-grid { gap: 25px; margin-top: 45px; }
  #homeView .success-stage, #homeView .success-stage.stage-2, #homeView .success-stage.stage-3, #homeView .success-stage.stage-4 { min-height: 0; padding: 28px 0 0; }
  #homeView .stage-dot { display: none; }
  #homeView .academy-layout { grid-template-columns: 1fr; }
  #homeView .contact-form { padding: 24px 18px; }
  #homeView .service-needs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #homeView .form-grid { grid-template-columns: 1fr; }
  #homeView .form-grid .wide { grid-column: auto; }
  .site-footer .footer-bottom { width: min(100% - 36px,1280px); flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 360px) {
  #homeView .hero-copy h1 { font-size: 27px; }
}
