/* Shared styles for the Synergy Beam stage site. Page layout lives inline in each page. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #8fc3ee; outline-offset: 2px;
}
input:focus, textarea:focus { border-color: #1e629a !important; outline: none; }
.form-status { margin: 0; font-size: 15px; line-height: 1.5; color: #12467f; }
.form-status.error { color: #b3261e; }
.form-status.ok { color: #1a7f37; }
/* reCAPTCHA v3 badge hidden: the required notice is shown under each form instead */
.grecaptcha-badge { visibility: hidden !important; }
.form-note { margin: 0; font-size: 13px; line-height: 1.5; color: #6b6b6b; }
.form-note a { color: #1e629a; }
@media (max-width: 600px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  #prod-pop > div { left: 0 !important; width: 92vw !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Mobile header: menu button + collapsible navigation ---------- */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid #e0e0e0; border-radius: 8px; background: #ffffff; cursor: pointer; padding: 0; }
@media (max-width: 900px) {
  header > div { padding: 10px 16px !important; row-gap: 0 !important; }
  header > div > a img { height: 42px !important; }
  .nav-toggle { display: flex; }
  #site-nav { display: none !important; width: 100%; flex-direction: column; align-items: stretch !important;
    gap: 0 !important; padding: 6px 0 14px; max-height: calc(100vh - 72px); overflow-y: auto; }
  #site-nav.open { display: flex !important; }
  #site-nav > a, #site-nav > div > button { width: 100%; padding: 14px 4px !important; border-bottom: 1px solid #eaeaea; font-size: 17px !important; }
  #site-nav > div > button { justify-content: space-between; }
  #site-nav > a:last-child { margin-top: 14px; border-bottom: 0; text-align: center; padding: 14px 26px !important; }
  #prod-pop > div { position: static !important; width: 100% !important; max-width: none !important; box-shadow: none !important;
    border: 0 !important; border-bottom: 1px solid #eaeaea !important; border-radius: 0 !important; padding: 0 0 8px !important; }
  #prod-pop > div > div { border-right: 0 !important; flex-basis: 100% !important; }
  #prod-pop a { padding: 11px 16px !important; }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  section { padding-top: 52px !important; padding-bottom: 52px !important; }
  #top > div { padding-top: 52px !important; padding-bottom: 60px !important; }
  section > div { gap: 28px !important; }
  [style*="box-shadow: 0 6px 24px"] { padding: 24px 20px !important; }
  #team p[style*="line-height: 1.6"] { text-align: left !important; }
  h3 { font-size: 19px !important; }
  footer { padding-top: 44px !important; }
  footer a { display: inline-block; padding: 5px 0; }
  a[href^="tel:"] { color: inherit; text-decoration: underline; text-decoration-color: #8fc3ee; }
}

/* Tablets and phones: keep hero text on the plain blue part of the photo */
@media (max-width: 900px) {
  #top > img { object-position: 8% 50% !important; }
  #top > img + div { background: rgba(9, 50, 88, 0.35) !important; }
}

/* Phone field: intl-tel-input (same picker as the ICC Switch demo form) */
.iti { width: 100%; display: block; }
.iti__country-container { border-radius: 6px 0 0 6px; }
.iti__selected-country { border-radius: 6px 0 0 6px; }
.iti__search-input { min-height: 40px; border-radius: 6px; font-size: 16px; }
.iti__dropdown-content { border-radius: 8px; color: #202020; box-shadow: 0 12px 30px rgba(9, 50, 88, 0.18); }
.iti__country.iti__highlight { background: #eaf4fc; }
