/* ==========================================================================
   HB Networking — Refreshed site stylesheet
   Palette sampled from the original logo.jpg (blue + green mark)
   ========================================================================== */

:root {
  /* Brand colors, sampled/derived from images/logo.jpg */
  --blue-700: #0b599c;   /* deep blue (matches legacy footer/copy color) */
  --blue-600: #1f74bb;   /* logo blue */
  --blue-500: #2e86c1;   /* logo blue, lighter sample */
  --blue-100: #e6f1fa;
  --blue-50:  #f4f9fd;

  --green-700: #2f8a3c;
  --green-600: #3da23c;  /* legacy body-copy green */
  --green-500: #52b955;
  --green-300: #8dd17e;  /* logo mint highlight */
  --green-100: #e8f6e6;

  --ink-900: #16232c;
  --ink-700: #33454f;
  --ink-500: #5b6b74;
  --gray-200: #e3e9ec;
  --gray-100: #eef2f5;
  --gray-50:  #f7f9fa;
  --white: #ffffff;

  --gradient-brand: linear-gradient(120deg, var(--blue-600) 0%, var(--blue-500) 45%, var(--green-500) 100%);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(22, 35, 44, 0.08), 0 1px 2px rgba(22, 35, 44, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 89, 156, 0.12);
  --shadow-lg: 0 20px 48px rgba(11, 89, 156, 0.16);

  --container-w: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--green-700); }

h1, h2, h3, h4 {
  font-family: var(--font-body);
  color: var(--ink-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1em;
}

.section {
  padding: 72px 0;
  scroll-margin-top: 84px;
}
.section--tight { padding: 48px 0; }
.section--alt { background: var(--gray-50); }
.section--brand {
  background: var(--gradient-brand);
  color: var(--white);
}
.section--brand h2, .section--brand h3 { color: var(--white); }

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p { color: var(--ink-500); font-size: 1.05rem; }

.text-center { text-align: center; }

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--blue-600); color: var(--white); }

.btn--accent {
  background: var(--green-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--accent:hover { background: var(--green-700); color: var(--white); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255,255,255,0.14); color: var(--white); }

.btn--outline {
  background: transparent;
  border-color: var(--blue-700);
  color: var(--blue-700);
}
.btn--outline:hover { background: var(--blue-50); color: var(--blue-700); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------------------- */
/* Header / navigation                                                   */
/* -------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__brand img {
  height: 42px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-700);
  font-size: 0.96rem;
}
.nav__links a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav__links a[aria-current="page"] {
  background: var(--blue-100);
  color: var(--blue-700);
}

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
}

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
  color: var(--white);
  padding: 88px 0 96px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { color: var(--white); }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 46ch;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero__panel {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero__panel ul { list-style: none; padding: 0; margin: 0; }
.hero__panel li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-weight: 500;
}
.hero__panel li:last-child { border-bottom: none; }
.hero__panel .icon-dot {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}

.page-hero {
  background: var(--gradient-brand);
  color: var(--white);
  padding: 64px 0 76px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.page-hero p { color: rgba(255,255,255,0.92); max-width: 60ch; margin: 0 auto; font-size: 1.08rem; }

/* -------------------------------------------------------------------- */
/* Cards / grids                                                        */
/* -------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--blue-100);
  color: var(--blue-700);
}
.card__icon svg { width: 26px; height: 26px; }
.card--green .card__icon { background: var(--green-100); color: var(--green-700); }

.card ul { padding-left: 1.1em; margin-bottom: 0; }
.card p:last-child { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
}
.check-list .tick {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.check-list .tick svg { width: 12px; height: 12px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pill-list li {
  background: var(--gray-100);
  color: var(--ink-700);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2.1rem;
  color: var(--blue-700);
  font-weight: 800;
}
.stat span {
  color: var(--ink-500);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.figure-card {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.figure-card .card__icon { background: rgba(255,255,255,0.18); color: var(--white); }

.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 8px 0;
}

/* -------------------------------------------------------------------- */
/* Contact                                                               */
/* -------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-person {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
}
.contact-person .avatar {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-900);
  font-size: 0.94rem;
}
.form-field .req { color: var(--blue-600); }

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink-900);
  background: var(--gray-50);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-note {
  font-size: 0.86rem;
  color: var(--ink-500);
  margin-top: 10px;
}

#form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}
#form-status.is-visible { display: block; }
#form-status.is-success { background: var(--green-100); color: var(--green-700); }
#form-status.is-error { background: #fdecea; color: #b3261e; }

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.62); max-width: 34ch; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--green-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
}

/* -------------------------------------------------------------------- */
/* Responsive                                                            */
/* -------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    gap: 2px;
  }
  .nav__links.is-open a { padding: 12px 16px; }
  .nav__toggle { display: flex; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
