/* =============================================
   WEB MARKETING ARMY — Business Growth landing page
   Loaded after ../styles.css. Reuses the site's variables, fonts, cards,
   buttons, navbar and footer; everything new here is prefixed .bgp-.
   ============================================= */

:root {
  /* The site gradient behind white button text is ~3:1. This darker pass of the
     same emerald → teal → sky ramp keeps the look and reaches 5.3:1+. */
  --bgp-btn-gradient: linear-gradient(135deg, #047857 0%, #0E7490 50%, #0369A1 100%);
  --bgp-btn-gradient-hover: linear-gradient(135deg, #065F46 0%, #155E75 50%, #075985 100%);
  --bgp-focus: #34D399;
  --bgp-nav-h: 80px;
}

/* ---- Base additions ---- */
.bgp section[id] { scroll-margin-top: calc(var(--bgp-nav-h) + 12px); }

.bgp :focus-visible {
  outline: 2px solid var(--bgp-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.bgp-skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--bg-dark); color: var(--text-primary);
  border: 1px solid var(--border-hover); border-radius: 10px;
  font-weight: 600;
}
.bgp-skip:focus { left: 1rem; top: 1rem; }

.bgp-section { padding: 5rem 0; position: relative; }
.bgp-section--tint {
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(16,185,129,0.05) 0%, transparent 70%);
}
.bgp-section--band {
  background: linear-gradient(180deg, rgba(16,185,129,0.04) 0%, rgba(14,165,233,0.03) 100%);
  border-top: 1px solid rgba(16,185,129,0.1);
  border-bottom: 1px solid rgba(16,185,129,0.1);
}

.bgp-head { margin-bottom: 3rem; }
.bgp-head--center { text-align: center; }
.bgp-head--center .section-subtitle { margin: 0 auto; }
.bgp-note {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 640px;
}
.bgp-head--center .bgp-note { margin-left: auto; margin-right: auto; }

/* Buttons: the site's pill buttons, with the accessible gradient. */
.bgp .btn-primary,
.bgp .nav-cta { background: var(--bgp-btn-gradient); }
.bgp .btn-primary:hover,
.bgp .nav-cta:hover { background: var(--bgp-btn-gradient-hover); }
.bgp .btn-ghost { color: var(--text-primary); }
.bgp .btn-primary[disabled] { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- Navbar ---- */
/* WMA stencil logo (transparent PNG, 666×198). The link's aria-label carries
   the name, so the image itself is decorative. */
.bgp .bgp-logo { height: 30px; width: auto; flex-shrink: 0; }
.bgp .footer-logo .bgp-logo { height: 34px; }
.bgp .nav-cta i { font-size: 0.8rem; }
/* Six links + the CTA are tight just above the 900px menu breakpoint; keep
   two-word links on one line and trim their padding there. */
.bgp .nav-link { white-space: nowrap; }
@media (max-width: 1100px) {
  .bgp .nav-link { padding: 0.5rem 0.65rem; }
  .bgp .logo-text { white-space: nowrap; }
}
/* styles.css hides every .nav-cta under 900px, including the one inside the
   mobile menu, so the menu loses its call to action. Restore that one. */
.bgp .mobile-menu .nav-cta { display: inline-flex; justify-content: center; padding: 0.85rem 2rem; font-size: 1rem; }
.bgp .hamburger:focus-visible { outline-offset: 2px; }

/* ---- Hero ---- */
.bgp .hero { min-height: auto; padding: 150px 2rem 90px; }
.bgp .hero-title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
}
.bgp .hero-desc { color: var(--text-secondary); }
.bgp .hero-actions { margin-bottom: 1.75rem; }
.bgp-hero-note {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  animation: fadeInUp 0.7s 0.4s ease both;
}
.bgp-hero-note i { color: var(--accent-purple); }

.bgp .hero-bento-large img,
.bgp .hero-bento-small img { object-position: top left; }
.bgp .hero-bento-large { background: #0B1620; }
.bgp .hero-visual-stat { bottom: 24px; right: -8px; }

/* ---- Problem ---- */
.bgp-problem {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.bgp-problem p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.bgp-problem p strong { color: var(--text-primary); font-weight: 600; }

.bgp-journey {
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.bgp-journey-title {
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.bgp-journey ol { list-style: none; display: flex; flex-direction: column; gap: 0; }
.bgp-journey li {
  display: flex; gap: 1rem; align-items: flex-start;
  position: relative;
  padding-bottom: 1.5rem;
}
.bgp-journey li:last-child { padding-bottom: 0; }
.bgp-journey li:not(:last-child)::before {
  content: '';
  position: absolute; left: 21px; top: 44px; bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(16,185,129,0.5), rgba(16,185,129,0.05));
}
.bgp-journey .why-icon { margin-top: 0; }
.bgp-journey h3 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.2rem;
}
.bgp-journey p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* The theme's --text-muted (#64748B) is ~3.8:1 on the dark ground; small
   labels on this page use --text-secondary instead. */
.bgp .service-num,
.bgp .hero-vs-label { color: var(--text-secondary); }

/* ---- Services (site .service-card, plus a working link) ---- */
.bgp .service-tags span { color: var(--text-secondary); }
.bgp .service-link { background: none; padding: 0; font-family: inherit; }

/* ---- Project showcase ---- */
.bgp-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.bgp-project {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: var(--transition);
}
.bgp-project:hover {
  border-color: rgba(16,185,129,0.4);
  box-shadow: 0 20px 50px rgba(16,185,129,0.12);
}

.bgp-shot {
  display: block; width: 100%;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0B1620;
  cursor: zoom-in;
}
.bgp-shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 0.5s ease;
}
.bgp-shot:hover img { transform: scale(1.04); }
.bgp-shot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,12,18,0.55) 0%, transparent 45%);
  pointer-events: none;
}
.bgp-shot-zoom {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(6,12,18,0.9);
  border: 1px solid rgba(16,185,129,0.35);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.75rem; font-weight: 600;
}
.bgp-shot-zoom i { color: var(--accent-purple); }

.bgp-project-body {
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex; flex-direction: column;
  flex: 1;
}
.bgp-tag {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 50px;
  color: var(--accent-purple);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}
.bgp-tag--concept {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.35);
  color: #FCD34D;
}
.bgp-project h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.bgp-project-summary {
  color: var(--text-secondary);
  font-size: 0.9rem; line-height: 1.7;
  margin-bottom: 1.1rem;
}

.bgp-thumbs { display: flex; gap: 0.5rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.bgp-thumbs .bgp-shot {
  width: 72px; aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.bgp-thumbs .bgp-shot::after { display: none; }
.bgp-thumbs .bgp-shot:hover { border-color: rgba(16,185,129,0.5); }

/* Expandable detail — native <details>, no script needed. */
.bgp-details {
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.bgp-details > summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.9rem 0 0.2rem;
  color: var(--accent-purple);
  font-size: 0.875rem; font-weight: 600;
  min-height: 44px;
}
.bgp-details > summary::-webkit-details-marker { display: none; }
.bgp-details > summary i { transition: transform 0.25s ease; font-size: 0.75rem; }
.bgp-details[open] > summary i { transform: rotate(180deg); }
.bgp-details dl { padding-top: 0.9rem; }
.bgp-details dt {
  font-family: var(--font-heading);
  font-size: 0.72rem; font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 0.3rem;
}
.bgp-details dd {
  color: var(--text-secondary);
  font-size: 0.875rem; line-height: 1.7;
  margin: 0 0 1rem;
}
.bgp-details dd:last-child { margin-bottom: 0; }

.bgp-center { text-align: center; margin-top: 3rem; }

/* ---- Why us (site .why-point list) ---- */
.bgp-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(16,185,129,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  aspect-ratio: 4 / 3;
}
.bgp-photo img { width: 100%; height: 100%; object-fit: cover; }
.bgp-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,12,18,0.85) 0%, transparent 55%);
}
.bgp-photo figcaption {
  position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; z-index: 2;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.95rem;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 0.5rem;
}
.bgp-photo figcaption i { color: var(--accent-purple); }
.bgp .why-us-inner { align-items: center; }
/* Same look as the site's .why-point h4 / .contact-info-item h4, as h3 so the
   heading outline stays in order under each section's h2. */
.bgp-why-h {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.3rem;
}
.bgp-ci-h {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

/* ---- Process ---- */
.bgp-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: bgp-step;
}
.bgp-steps li {
  counter-increment: bgp-step;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: var(--transition);
}
.bgp-steps li:hover { border-color: rgba(16,185,129,0.4); transform: translateY(-4px); }
.bgp-steps li::before {
  content: '0' counter(bgp-step);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bgp-btn-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(16,185,129,0.25);
}
.bgp-steps h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.bgp-steps p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ---- FAQ ---- */
.bgp-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }
.bgp-faq .bgp-details {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 0 1.5rem;
  transition: var(--transition);
}
.bgp-faq .bgp-details[open] { border-color: rgba(16,185,129,0.35); background: rgba(16,185,129,0.04); }
.bgp-faq .bgp-details > summary {
  padding: 1.2rem 0;
  font-family: var(--font-heading);
  font-size: 1.02rem; font-weight: 600;
  color: var(--text-primary);
}
.bgp-faq .bgp-details > summary i { color: var(--accent-purple); }
.bgp-faq .bgp-details p {
  color: var(--text-secondary);
  font-size: 0.95rem; line-height: 1.75;
  padding: 0 0 1.3rem;
}

/* ---- Enquiry (site .contact layout) ---- */
/* Grid items default to min-width:auto, so the long email address and the
   select pushed the 1fr column past 320px screens. */
.bgp .contact-grid > * { min-width: 0; }
.bgp .contact-info-item a { overflow-wrap: anywhere; }
.bgp .contact-info-item h4 { color: var(--text-secondary); }
.bgp .contact-info-item a, .bgp .contact-info-item p { color: var(--text-primary); }
.bgp-form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.bgp-form-intro { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.75rem; }
.bgp .form-group label { color: var(--text-primary); }
.bgp-optional { color: var(--text-secondary); font-weight: 400; text-transform: none; letter-spacing: 0; }
.bgp .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.bgp .form-group input:focus,
.bgp .form-group select:focus,
.bgp .form-group textarea:focus { box-shadow: 0 0 0 3px rgba(52,211,153,0.35); }
.bgp .form-group input[aria-invalid="true"],
.bgp .form-group select[aria-invalid="true"] {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.2);
}
.bgp-hint { color: var(--text-secondary); font-size: 0.8rem; }
.bgp-field-error { display: none; color: #FCA5A5; font-size: 0.85rem; }
.bgp-field-error.is-shown { display: block; }

.bgp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bgp-status { display: none; }
.bgp-status.is-shown { display: flex; }
.bgp-status--busy {
  flex-direction: row; justify-content: center; align-items: center; gap: 0.6rem;
  padding: 1rem; border-radius: 10px;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.3);
  color: #7DD3FC; font-size: 0.9rem;
}
.bgp .form-success p, .bgp .form-error p { color: inherit; }
.bgp .form-success { color: #6EE7B7; }
.bgp .form-error { color: #FCA5A5; }

.bgp-privacy { color: var(--text-secondary); font-size: 0.8rem; line-height: 1.6; text-align: center; }

/* ---- Footer: lift link contrast on the dark ground ---- */
.bgp .footer-col ul li a,
.bgp .footer-col ul li span,
.bgp .footer-brand-desc,
.bgp .footer-bottom p { color: var(--text-secondary); }
.bgp .footer-col ul li a:hover { color: var(--accent-purple); }

/* ---- Screenshot viewer ---- */
.bgp-viewer {
  border: 0; padding: 0; margin: auto;
  background: transparent;
  max-width: min(94vw, 1240px);
  max-height: 92vh;
  width: 100%;
  color: var(--text-primary);
  overflow: visible;
}
.bgp-viewer::backdrop { background: rgba(3,7,11,0.88); backdrop-filter: blur(6px); }
.bgp-viewer-box {
  display: flex; flex-direction: column;
  max-height: 92vh;
  background: #0B1620;
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.bgp-viewer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.bgp-viewer-title {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
}
.bgp-viewer-close {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}
.bgp-viewer-close:hover { background: var(--accent-purple); border-color: var(--accent-purple); }
.bgp-viewer-scroll { overflow: auto; background: #fff; -webkit-overflow-scrolling: touch; }
.bgp-viewer-scroll img { max-width: 100%; height: auto; margin: 0 auto; }
.bgp-viewer-hint {
  display: none;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.8rem;
}

/* ---- Compact mobile enquiry bar ---- */
.bgp-mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  gap: 0.6rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(6,12,18,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
}
.bgp-mobile-cta .btn-primary,
.bgp-mobile-cta .btn-ghost { flex: 1; justify-content: center; padding: 0.8rem 1rem; font-size: 0.9rem; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .bgp-projects { grid-template-columns: repeat(2, 1fr); }
  .bgp-steps { grid-template-columns: repeat(2, 1fr); }
  .bgp-problem { gap: 2.5rem; }
}
@media (max-width: 900px) {
  .bgp .hero { padding: 120px 1.25rem 64px; }
  .bgp-problem { grid-template-columns: 1fr; }
  .bgp .why-us-visual { order: 0; }
  .bgp-section { padding: 4rem 0; }
}
@media (max-width: 767px) {
  .bgp-mobile-cta { display: flex; }
  .bgp-mobile-cta.is-visible { transform: translateY(0); visibility: visible; }
  .bgp-mobile-cta.is-visible ~ .back-to-top { bottom: 5.5rem; }
  .bgp.has-mobile-cta .footer-bottom { padding-bottom: 5.5rem; }

  .bgp-viewer { max-width: 100vw; max-height: 100vh; }
  .bgp-viewer-box { max-height: 100vh; border-radius: 0; }
  .bgp-viewer-scroll img { max-width: none; }
  .bgp-viewer-hint { display: block; }
}
@media (max-width: 640px) {
  .bgp .container { padding: 0 1.25rem; }
  .bgp .hero-title { font-size: 2.2rem; }
  .bgp .hero-actions { align-items: stretch; }
  .bgp .hero-actions a { justify-content: center; }
  .bgp-projects, .bgp-steps { grid-template-columns: 1fr; }
  .bgp-journey, .bgp .contact-info-card, .bgp .contact-form-wrap { padding: 1.5rem; }
  .bgp-shot { aspect-ratio: 4 / 3; }
  .bgp .back-to-top { right: 1rem; bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bgp *, .bgp *::before, .bgp *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
