/*
Theme Name: Proforma Big Bets
Theme URI: https://bigbets.mosaiclifecreative.com
Author: Mosaic Life Creative
Author URI: https://mosaiclifecreative.com
Description: Carahsoft-branded Big Bets event landing page for Proforma Strategic Promotions. Single-page custom theme, no build step, no page builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: Proprietary
Text Domain: bigbets
*/

/* ==========================================================================
   Design tokens, pulled directly from the Big Bets two-pager
   Navy #2a387e, cyan #64cdef, ink #231f20, gray #777a7d, deep navy #091339
   Type is Soleil in print; Figtree is the closest freely licensed web match.
   ========================================================================== */

:root {
  --navy:        #2a387e;
  --navy-deep:   #091339;
  --navy-soft:   #3d4c95;
  --cyan:        #64cdef;
  --cyan-deep:   #2ea8d0;
  --ink:         #231f20;
  --gray:        #777a7d;
  --gray-light:  #939598;
  --rule:        #e2e5ec;
  --panel:       #f4f6f9;
  --panel-2:     #eef1f6;
  --charcoal:    #2b2b2d;
  --charcoal-2:  #212123;
  --magenta:     #a5145a;
  --white:       #ffffff;

  --font: "Figtree", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 860px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(9, 19, 57, .06), 0 2px 8px rgba(9, 19, 57, .05);
  --shadow:    0 2px 6px rgba(9, 19, 57, .07), 0 12px 32px rgba(9, 19, 57, .09);
  --shadow-lg: 0 4px 12px rgba(9, 19, 57, .09), 0 24px 60px rgba(9, 19, 57, .14);

  --t: 180ms cubic-bezier(.4, 0, .2, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--cyan-deep);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem;
  font-weight: 600; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--panel { background: var(--panel); }
.section--navy  { background: var(--navy); color: #fff; }
.section--dark  { background: var(--charcoal); color: #fff; }

/* ==========================================================================
   Type scale
   ========================================================================== */

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--cyan); flex: none;
}
.section--navy .eyebrow, .section--dark .eyebrow { color: var(--cyan); }

.h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.15rem);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -.022em;
  color: var(--navy);
}
.h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.14;
  font-weight: 300;
  letter-spacing: -.012em;
  color: var(--navy);
}
.h2 strong { font-weight: 700; }
.section--navy .h2, .section--dark .h2 { color: #fff; }

.h3 {
  font-size: 1.0625rem; font-weight: 700;
  letter-spacing: .01em; color: var(--navy);
}

.lead {
  font-size: clamp(1.075rem, 1.6vw, 1.25rem);
  line-height: 1.6; color: #3c4250; max-width: 64ch;
}
.section--navy .lead { color: rgba(255,255,255,.9); }

.prose p + p { margin-top: 1.1rem; }
.prose { max-width: 68ch; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-size: .975rem; font-weight: 700; letter-spacing: .012em;
  border-radius: var(--r); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-deep); box-shadow: var(--shadow); }

.btn--cyan { background: var(--cyan); color: var(--navy-deep); box-shadow: var(--shadow-sm); }
.btn--cyan:hover { background: #7ed7f4; box-shadow: var(--shadow); }

.btn--ghost { border-color: var(--rule); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); background: var(--panel); }

.btn--on-dark { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--on-dark:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.ext::after {
  content: ""; width: 13px; height: 13px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h4v2H7v10h10v-2h2v4H5V5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h4v2H7v10h10v-2h2v4H5V5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 78px;
}
.site-brand { display: flex; align-items: center; flex: none; }
.site-brand img { width: clamp(158px, 20vw, 208px); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--rule); border-radius: var(--r);
  color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open  { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

/* :not(.btn) matters. A bare `.site-nav a` rule outranks `.btn--primary` on
   specificity and was repainting the CTA's white label back to ink, leaving
   navy text on a navy button. */
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .95rem; font-weight: 600; color: var(--ink);
  text-decoration: none; padding-block: .4rem;
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.site-nav a:not(.btn):hover { color: var(--navy); border-bottom-color: var(--cyan); }
.site-nav .btn { padding: .7rem 1.35rem; font-size: .9rem; text-decoration: none; }
.site-nav .btn--primary { color: #fff; }
.site-nav .btn--primary:hover { color: #fff; }

/* The mobile panel is a designed surface in the client's colours, not a white
   list of links dropped under the header. */
.nav-contact { display: none; }

@media (max-width: 940px) {

  /* backdrop-filter makes an element a containing block for its fixed
     position descendants, which collapsed the full height nav panel down to
     the header's own box. The blur is a desktop nicety, so drop it here and
     let the panel size against the viewport. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  .nav-toggle {
    display: inline-flex;
    background: var(--navy); border-color: var(--navy); color: #fff;
    border-radius: 11px; box-shadow: var(--shadow-sm);
    transition: background var(--t), color var(--t), transform var(--t);
  }
  .nav-toggle:hover  { background: var(--navy-deep); }
  .nav-toggle:active { transform: scale(.93); }
  .nav-toggle[aria-expanded="true"] {
    background: var(--cyan); border-color: var(--cyan); color: var(--navy-deep);
  }

  .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0;
    top: var(--header-h, 78px);
    background: var(--navy-deep);
    padding: clamp(1.5rem, 6vw, 2.4rem) var(--gutter) 2.5rem;
    overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav[hidden] { display: none; }

  /* Keeps the panel from reading as a flat slab. */
  .site-nav::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(580px 340px at 100% 0, rgba(100,205,239,.22), transparent 64%);
  }
  .site-nav > * { position: relative; }

  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(255,255,255,.13); }
  .site-nav li:last-child { border-bottom: 0; }

  .site-nav ul a:not(.btn) {
    justify-content: space-between;
    padding: 1.15rem 0;
    font-size: 1.3rem; font-weight: 600; letter-spacing: -.012em;
    color: #fff; border-bottom: 0;
  }
  .site-nav ul a:not(.btn):hover { color: var(--cyan); border-bottom-color: transparent; }

  /* Chevron on internal links, the external glyph already handles .ext */
  .site-nav ul a:not(.btn):not(.ext)::after {
    content: ""; width: 9px; height: 9px; flex: none; margin-right: 3px;
    border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan);
    transform: rotate(45deg); opacity: .85;
    transition: transform var(--t);
  }
  .site-nav ul a:not(.btn):not(.ext):hover::after { transform: rotate(45deg) translate(3px, -3px); }
  .site-nav ul a.ext::after { width: 15px; height: 15px; opacity: .85; }

  /* Navy on navy would disappear, so the panel CTA goes cyan. */
  .site-nav .btn {
    margin-top: 1.85rem; width: 100%; justify-content: center;
    padding: 1.05rem 1.5rem; font-size: 1rem;
  }
  .site-nav .btn--primary,
  .site-nav .btn--primary:hover { background: var(--cyan); color: var(--navy-deep); }
  .site-nav .btn--primary:hover { background: #7ed7f4; }

  .nav-contact {
    display: block;
    margin-top: 2.1rem; padding-top: 1.6rem;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  .nav-contact p {
    font-size: .74rem; font-weight: 700; letter-spacing: .15em;
    text-transform: uppercase; color: var(--cyan); margin-bottom: .8rem;
  }
  .nav-contact a {
    display: block; padding: .4rem 0;
    font-size: 1.02rem; font-weight: 500;
    color: rgba(255,255,255,.86); text-decoration: none;
  }
  .nav-contact a::after { content: none; }
  .nav-contact a:hover { color: var(--cyan); }
}

@media (max-width: 940px) and (prefers-reduced-motion: no-preference) {
  .site-nav:not([hidden]) li,
  .site-nav:not([hidden]) .nav-contact {
    animation: bb-nav-in 340ms cubic-bezier(.2,.7,.2,1) backwards;
  }
  .site-nav:not([hidden]) li:nth-child(1) { animation-delay:  40ms; }
  .site-nav:not([hidden]) li:nth-child(2) { animation-delay:  80ms; }
  .site-nav:not([hidden]) li:nth-child(3) { animation-delay: 120ms; }
  .site-nav:not([hidden]) li:nth-child(4) { animation-delay: 160ms; }
  .site-nav:not([hidden]) li:nth-child(5) { animation-delay: 200ms; }
  .site-nav:not([hidden]) .nav-contact    { animation-delay: 240ms; }
}

@keyframes bb-nav-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* While the panel is open the page behind it must not scroll. */
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(2.75rem, 5vw, 4.25rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(100,205,239,.20), transparent 62%),
    radial-gradient(760px 420px at 4% 6%, rgba(42,56,126,.07), transparent 60%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem .45rem .7rem;
  background: var(--navy); color: #fff;
  border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero__badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

.hero .h1 { max-width: 17ch; }
.hero__lead { margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2.15rem; }

.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .6rem clamp(1rem, 2.5vw, 2.1rem);
  margin-top: 2.75rem; padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  font-size: .875rem; font-weight: 600; color: var(--gray);
}
.hero__trust li { display: flex; align-items: center; gap: .5rem; }
.hero__trust li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); flex: none;
}

/* ==========================================================================
   Full-bleed photo strip, echoing the two-pager
   ========================================================================== */

.strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  background: var(--panel);
}
.strip figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 7 / 8; }
.strip img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 550ms cubic-bezier(.2,.6,.2,1);
}
.strip figure:hover img { transform: scale(1.055); }
.strip figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.4rem .8rem .7rem;
  background: linear-gradient(to top, rgba(9,19,57,.88), rgba(9,19,57,0));
  color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; text-align: center;
}
@media (max-width: 1040px) { .strip { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 560px)  { .strip { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ==========================================================================
   Stats bar
   ========================================================================== */

.stats {
  display: grid; gap: 1px;
  grid-template-columns: repeat(4, minmax(0,1fr));
  background: rgba(255,255,255,.16);
  border-radius: var(--r-lg); overflow: hidden;
}
.stats > div { background: var(--navy); padding: clamp(1.5rem, 3vw, 2.25rem) 1.35rem; }
.stats dt {
  font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800;
  line-height: 1; letter-spacing: -.02em; color: var(--cyan);
}
.stats dd {
  margin: .65rem 0 0; font-size: .9rem; line-height: 1.45;
  color: rgba(255,255,255,.86);
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ==========================================================================
   Two-column feature lists (Top Programs, New Offerings)
   ========================================================================== */

.cols {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; } }

.ticks { margin-top: 1.5rem; display: grid; gap: .95rem; }
.ticks li {
  position: relative; padding-left: 2rem;
  font-size: 1rem; line-height: 1.55; color: var(--navy-deep);
}
/* One element, so the check cannot drift out of its circle. The tick was
   previously a second pseudo element positioned in em units against a circle
   sized in px, so the two never agreed on a centre. */
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--cyan)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23091339' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.6l4.6 4.6L19 7.2'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}
.section--navy .ticks li { color: rgba(255,255,255,.92); }

.card-note {
  margin-top: 2rem; padding: 1.4rem 1.6rem;
  background: #fff; border: 1px solid var(--rule);
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .975rem; color: #3c4250;
}

/* ==========================================================================
   Capabilities grid, the dark panel from the two-pager
   ========================================================================== */

.caps {
  display: grid; gap: 1px;
  grid-template-columns: repeat(4, minmax(0,1fr));
  background: rgba(255,255,255,.1);
  border-radius: var(--r-lg); overflow: hidden;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.cap {
  background: var(--charcoal); padding: clamp(1.6rem, 3vw, 2.3rem) 1.4rem;
  text-align: center; transition: background var(--t);
}
.cap:hover { background: var(--charcoal-2); }
.cap svg { width: 42px; height: 42px; margin: 0 auto .95rem; color: var(--cyan); }
.cap h3 { color: #fff; font-size: 1.02rem; font-weight: 700; margin-bottom: .5rem; }
.cap p { font-size: .845rem; line-height: 1.5; color: rgba(255,255,255,.66); margin: 0; }
@media (max-width: 900px) { .caps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 460px) { .caps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Keywords
   ========================================================================== */

.keywords {
  display: flex; flex-wrap: wrap; gap: .5rem .55rem;
  margin-top: 1.75rem;
}
.keywords li {
  padding: .4rem .85rem;
  border: 1px solid var(--rule); border-radius: 999px;
  background: #fff;
  font-size: .845rem; font-style: italic; color: var(--gray);
}

/* ==========================================================================
   Resource cards
   ========================================================================== */

.resources {
  display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 820px) { .resources { grid-template-columns: 1fr; } }

.resource {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.4rem);
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.resource:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd4e2; }
.resource__icon {
  width: 52px; height: 52px; border-radius: var(--r);
  display: grid; place-items: center;
  background: var(--panel-2); color: var(--navy);
  margin-bottom: 1.25rem;
}
.resource__icon svg { width: 26px; height: 26px; }
.resource h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin-bottom: .7rem; }
.resource p { font-size: .975rem; color: #4a5060; margin-bottom: 1.6rem; }
.resource .btn { align-self: flex-start; margin-top: auto; }

/* ==========================================================================
   WBENC credential band
   ========================================================================== */

.credential {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.credential img { width: clamp(150px, 20vw, 210px); }
.credential h2 { margin-bottom: .6rem; }
@media (max-width: 700px) {
  .credential { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact form (Contact Form 7)
   ========================================================================== */

.contact-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1.25fr; align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.contact-people { display: grid; gap: 1.4rem; margin-top: 1.75rem; }
.person__name { font-weight: 700; color: var(--navy-deep); }
.person__role { font-size: .875rem; color: var(--gray); margin-bottom: .35rem; }
.person a { display: block; font-size: .95rem; text-decoration: none; }
.person a:hover { text-decoration: underline; }

.form-shell {
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.f-grid { display: grid; gap: 1rem 1.1rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
.f-grid .f-full { grid-column: 1 / -1; }
@media (max-width: 620px) { .f-grid { grid-template-columns: 1fr; } .f-grid .f-full { grid-column: auto; } }

.f-label {
  display: block; margin-bottom: .45rem;
  font-size: .875rem; font-weight: 700; color: var(--navy-deep);
}
.f-label .req { color: var(--magenta); margin-left: .15rem; }
.f-hint { display: block; font-weight: 500; color: var(--gray); font-size: .8rem; margin-top: .2rem; }

.form-shell input[type="text"],
.form-shell input[type="email"],
.form-shell input[type="tel"],
.form-shell input[type="date"],
.form-shell input[type="number"],
.form-shell textarea,
.form-shell select {
  width: 100%; padding: .8rem .95rem;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff;
  border: 1px solid #ccd2df; border-radius: var(--r);
  transition: border-color var(--t), box-shadow var(--t);
}
.form-shell textarea { min-height: 118px; resize: vertical; }
.form-shell input:focus, .form-shell textarea:focus, .form-shell select:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(42,56,126,.13);
}
.form-shell input[type="file"] {
  width: 100%; padding: .7rem; font-size: .9rem;
  background: var(--panel); border: 1px dashed #b9c2d4; border-radius: var(--r);
}
.form-shell input[type="submit"] {
  display: inline-flex; padding: .95rem 2rem;
  font-family: inherit; font-size: .975rem; font-weight: 700;
  color: #fff; background: var(--navy);
  border: 0; border-radius: var(--r); cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.form-shell input[type="submit"]:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow); }

.wpcf7 form .wpcf7-response-output {
  margin: 1.5rem 0 0; padding: .95rem 1.15rem;
  border-radius: var(--r); border-width: 1px; font-size: .95rem;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #1c7a4a; background: #eef8f2; color: #14532d; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #b3261e; background: #fdf0ef; color: #7f1d1d; }
.wpcf7-not-valid-tip { display: block; margin-top: .35rem; font-size: .82rem; color: #b3261e; }
.wpcf7-spinner { margin-left: .75rem; }

/* CF7 wraps every control in an inline span. Make it a block so the control
   sits flush under its label. Autop is disabled in functions.php, so there are
   no stray <p> or <br> left to fight here. */
.form-shell .wpcf7-form-control-wrap { display: block; }
.form-shell .f-label { margin-bottom: .35rem; line-height: 1.35; }
.form-shell .f-label .f-hint { margin-top: .1rem; line-height: 1.4; }
.form-shell p { margin: 0; }
.form-shell br { display: none; }

.footer-credit { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.footer-credit span { opacity: .5; }

.form-fallback {
  padding: 1.35rem 1.5rem; border: 1px solid var(--rule);
  border-left: 4px solid var(--cyan); border-radius: 0 var(--r) var(--r) 0;
  background: var(--panel); font-size: .975rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.76); }
.site-footer__top {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1.35fr 1fr 1fr;
  padding-block: clamp(3rem, 5vw, 4.25rem);
}
@media (max-width: 860px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

.site-footer img.footer-logo { width: 224px; margin-bottom: 1.35rem; }
.site-footer h3 {
  color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.site-footer ul { display: grid; gap: .6rem; font-size: .95rem; }
.site-footer p { font-size: .95rem; line-height: 1.6; }

.footer-wbenc { width: 132px; margin-top: 1.6rem; background: #fff; padding: .5rem .6rem; border-radius: var(--r-sm); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.site-footer__bottom a { color: rgba(255,255,255,.62); }

/* Print */
@media print {
  .site-header, .nav-toggle, .btn-row, .form-shell { display: none !important; }
  body { color: #000; }
}
