/* =========================================================
   HF TECH — Home page styles
   Brand: Environmental Field Services & EHS Consulting
   Built to the 2023 HF Tech Brand Guidelines.
   ========================================================= */

/* ---------- Brand font: Montserrat (SIL Open Font License — self-hosted) ----------
   Free, geometric Gotham alternative. License: assets/fonts/Montserrat-OFL.txt
   (https://openfontlicense.org). Swappable if a licensed Gotham webfont is acquired. */
@font-face { font-family:'Montserrat'; src:url('assets/fonts/montserrat-900.woff2') format('woff2'); font-weight:900; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/montserrat-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/montserrat-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/montserrat-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('assets/fonts/montserrat-300.woff2') format('woff2'); font-weight:300; font-style:normal; font-display:swap; }

/* =========================================================
   BRAND COLORS — official HF Tech palette
   ========================================================= */
:root {
  --blue:        #005CCB;   /* Sky Blue — primary brand color */
  --blue-dark:   #00449b;
  --blue-deep:   #002a63;   /* deep band / footer */
  --yellow:      #F8CA38;
  --poppy:       #F88B07;   /* Arizona Poppy */
  --poppy-dark:  #DF5A00;   /* Dark Poppy (for use on orange/light) */
  --red:         #C52B0F;
  --maroon:      #5F0D01;

  --ink:         #15181c;
  --ink-soft:    #56606b;
  --line:        #e4e8ee;
  --bg:          #ffffff;
  --bg-alt:      #f5f7fb;
  --white:       #ffffff;

  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 12px 32px -14px rgba(0, 42, 99, .22);
  --shadow-lg:   0 30px 70px -24px rgba(0, 42, 99, .40);
  --container:   1160px;
  --font:        'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease:        cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-weight: 400; color: var(--ink); background: var(--bg);
  line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 900; line-height: 1.08; letter-spacing: -.01em; text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: 1.18rem; letter-spacing: 0; }
p { text-wrap: pretty; }
/* Accessible focus: blue ring for light bgs + white halo so it stays visible on dark bgs/photos */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; box-shadow: 0 0 0 5px rgba(255,255,255,.95); }

/* Skip link (keyboard / screen-reader users) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 20px; font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;   /* blue passes AA on light backgrounds (orange did not) */
}
.poppy { color: var(--poppy); }
.yellow { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgba(0,92,203,.6); }
.btn-primary:hover { background: var(--poppy-dark); color: var(--white); }   /* branded orange (Dark Poppy) on hover — better contrast */
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-light { background: var(--white); color: var(--blue); }   /* for use on solid-blue bands */
.btn-light:hover { background: var(--bg-alt); color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.8); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: .7rem 1.15rem; font-size: .74rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: .86rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand-logo { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { font-weight: 500; font-size: .98rem; color: var(--ink); transition: color .2s; }
.nav a:hover { color: var(--blue); }
.nav a.btn { color: var(--white); }   /* CTA button: white text (override the .nav a ink color) */
.nav .nav-cta { display: inline-flex; }
.nav a.btn:hover { color: var(--white); }
.header-phone { font-weight: 700; color: var(--blue); }
.header-phone:hover { color: var(--poppy); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 25px; height: 2.5px; background: var(--blue); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 0 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: flex; padding-block: 12px 22px; }
.mobile-nav a { padding: .85rem .2rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: 0; margin-top: .8rem; color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,42,99,.55) 0%, rgba(0,42,99,.35) 40%, rgba(0,42,99,.85) 100%),
    linear-gradient(90deg, rgba(0,42,99,.65) 0%, rgba(0,42,99,0) 70%);
}
.hero-inner { padding: clamp(80px, 12vw, 150px) 24px clamp(64px, 9vw, 110px); max-width: 920px; }
.hero .eyebrow { color: var(--yellow); }
.hero-title { color: var(--white); text-shadow: 0 2px 24px rgba(0,20,50,.35); }
.hero-sub { margin-top: 1.5rem; font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 400; color: rgba(255,255,255,.92); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 2.6rem; padding: 0; margin-top: 3.4rem; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: clamp(1.5rem, 3vw, 1.95rem); font-weight: 900; color: var(--yellow); overflow-wrap: break-word; }
.hero-stats span { font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.82); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Value band (blue) ---------- */
.valueband { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.valueband::after {
  content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 340px; height: 340px; background: url('assets/img/hftech-icon.svg') center/contain no-repeat;
  opacity: .08;
}
.valueband-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding-block: clamp(48px,7vw,80px); position: relative; }
.valueband h2 { color: var(--white); }
.valueband .eyebrow { color: var(--yellow); font-size: clamp(.95rem, 1.9vw, 1.15rem); letter-spacing: .1em; margin-bottom: 1.1rem; }   /* visible + larger on the blue band */
.valueband .accent-bar { width: 54px; height: 5px; background: var(--poppy); border-radius: 3px; margin-bottom: 1.4rem; }
.valuepoints { display: grid; gap: 18px; }
.valuepoint { display: flex; gap: 16px; align-items: flex-start; }
.valuepoint .vp-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--yellow); }
.valuepoint .vp-icon svg { width: 24px; height: 24px; stroke-width: 1.8; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.valuepoint h3 { color: var(--white); margin-bottom: .25rem; }
.valuepoint p { color: rgba(255,255,255,.82); font-size: .96rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 740px; margin: 0 auto clamp(40px, 6vw, 60px); text-align: center; }
.section-lead { margin-top: 1rem; color: var(--ink-soft); font-size: 1.12rem; }

/* ---------- Service cards (with photos) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,42,99,.25)); }
.card-body { padding: 26px 24px 30px; }
.card-body h3 { margin-bottom: .55rem; }
.card-body p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy p { color: var(--ink-soft); margin-top: 1rem; }
.split-copy .btn { margin-top: 1.8rem; }

/* values chips */
.values { list-style: none; padding: 0; margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 10px; }
.values li {
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; background: rgba(0,92,203,.08); color: var(--blue);
  border: 1px solid rgba(0,92,203,.16);
}

/* ---------- Coverage band ---------- */
.coverband { background: var(--blue-deep); color: var(--white); position: relative; overflow: hidden; }
.coverband .section-head h2 { color: var(--white); }
.coverband .eyebrow { color: var(--yellow); }   /* blue default would vanish on the deep-blue band */
.coverband .section-lead { color: rgba(255,255,255,.8); }
.coverage { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.coverage-item {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 30px 18px; transition: transform .2s var(--ease), background .2s;
}
.coverage-item:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); }
.coverage-abbr { font-size: 1.9rem; font-weight: 900; color: var(--yellow); }
.coverage-item span:last-child { color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500; }

/* ---------- Testimonial ---------- */
.quote { max-width: 880px; margin: 0 auto; text-align: center; }
.quote .mark { font-size: 4rem; line-height: .6; color: var(--poppy); font-weight: 900; }
.quote blockquote { font-weight: 500; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.4; margin-top: 1rem; text-transform: none; }
.quote figcaption { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .15rem; }
.quote-name { font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.quote-role { color: var(--ink-soft); font-size: .95rem; }
.quote-logo { height: 60px; width: auto; margin: 1.6rem auto 0; display: block; }

/* ---------- CTA ---------- */
.cta { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(0,42,99,.94), rgba(0,42,99,.78)); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(56px,8vw,90px); }
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,.85); margin-top: .7rem; max-width: 46ch; }
.cta-actions { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.cta-contact { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-note { font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.72); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-size: .8rem; letter-spacing: .12em; color: var(--yellow); margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; font-size: .95rem; margin-bottom: .6rem; color: rgba(255,255,255,.8); }
.footer-col a:hover { color: var(--poppy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 22px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 1.4rem; align-items: center; }
.footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.8); }
.footer-legal a:hover { color: var(--poppy); }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { max-width: 840px; }
.legal h2 { text-transform: none; font-size: 1.5rem; letter-spacing: -.01em; margin-top: 2.4rem; }
.legal h3 { text-transform: none; font-size: 1.12rem; margin-top: 1.6rem; }
.legal h4 { text-transform: none; font-size: 1rem; margin-top: 1.3rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); margin-top: 1rem; }
.legal ul { margin-top: 1rem; padding-left: 1.4rem; }
.legal li { margin-top: .55rem; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; margin-top: 0; }
.legal .disclaimer {
  background: var(--bg-alt); border-left: 4px solid var(--poppy);
  padding: 16px 20px; border-radius: 0 8px 8px 0; margin-top: 1.6rem; font-size: .95rem;
}
.legal .disclaimer p { margin-top: 0; color: var(--ink); }

/* ---------- Active nav state ---------- */
.nav a.active { color: var(--blue); position: relative; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2.5px; background: var(--poppy); border-radius: 2px; }
.nav a.active.btn::after { display: none; }
.mobile-nav a.active { color: var(--blue); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.page-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(0,42,99,.9), rgba(0,42,99,.66)); }
.page-hero-inner { padding: clamp(64px, 9vw, 120px) 24px clamp(52px, 7vw, 90px); max-width: 820px; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { margin-top: 1.2rem; font-size: clamp(1.02rem, 2vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 56ch; }
.breadcrumb { font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.88); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: underline; }
.breadcrumb a:hover { color: var(--yellow); }

/* ---------- Service detail rows ---------- */
.service-row { padding-block: clamp(48px, 7vw, 86px); }
.service-num { font-size: .85rem; font-weight: 900; letter-spacing: .1em; color: var(--blue); }
.service-row h2 { margin-top: .4rem; }
.service-row p { color: var(--ink-soft); margin-top: 1rem; }
.service-list { list-style: none; padding: 0; margin-top: 1.4rem; display: grid; gap: 12px; }
.service-list li { position: relative; padding-left: 32px; font-size: .98rem; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,92,203,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005CCB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px;
}

/* ---------- Additional services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 14px; }
.svc-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--poppy);
  border-radius: var(--radius-sm); padding: 15px 18px; font-weight: 600; font-size: .96rem;
  box-shadow: var(--shadow);
}
.svc-item .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,92,203,.1); display: grid; place-items: center; }
.svc-item .tick svg { width: 13px; height: 13px; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }   /* 3 + 3 layout */
.step .step-num {
  width: 52px; height: 52px; border-radius: 13px; background: var(--blue); color: #fff;
  font-weight: 900; font-size: 1.25rem; display: grid; place-items: center; margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Founder ---------- */
.founder {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px,4vw,44px); align-items: start;
}
.founder-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--blue-deep);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.founder-badge {
  flex: none; width: 92px; height: 92px; border-radius: 20px; background: var(--white);
  border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow);
}
.founder-badge img { width: 56px; height: auto; }
@media (max-width: 700px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 260px; }
}
.founder-name { font-size: 1.4rem; font-weight: 900; }
.founder-role { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; margin-top: .25rem; }
.founder-body p { color: var(--ink-soft); margin-top: 1rem; }
.creds { list-style: none; padding: 0; margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li {
  font-size: .82rem; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  background: rgba(0,92,203,.08); color: var(--blue); border: 1px solid rgba(0,92,203,.16);
}

/* ---------- Credential badges (SBE/DBE etc.) ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px;
  background: var(--poppy); color: var(--maroon);   /* maroon-on-poppy = AA contrast (5.6:1) */
}

/* ---------- Values grid (about) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--poppy);
  border-radius: var(--radius-sm); padding: 24px 22px; box-shadow: var(--shadow);
}
.value-card h3 { color: var(--blue); margin-bottom: .4rem; }
.value-card p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat { min-width: 0; }
.stat strong { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--blue); line-height: 1.1; overflow-wrap: break-word; }
.stat span { display: block; margin-top: .5rem; font-size: .9rem; font-weight: 500; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-info h2 { margin-bottom: .5rem; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 2rem; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-method:last-of-type { border-bottom: 0; }
.contact-method .cm-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(0,92,203,.08); color: var(--blue); display: grid; place-items: center; }
.contact-method .cm-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-method h3 { font-size: 1rem; letter-spacing: 0; }
.contact-method a, .contact-method p { color: var(--ink-soft); font-size: .98rem; }
.contact-method a:hover { color: var(--blue); }

/* contact form: honeypot (hidden from humans) + thank-you panel */
.hp-field { display: none; }   /* display:none so browser autofill skips it (off-screen fields get autofilled) */
.form-thankyou { padding: 28px 30px; border-radius: var(--radius-sm); background: rgba(0,92,203,.06); border: 1px solid rgba(0,92,203,.18); }
.form-thankyou h3 { margin: 0 0 .4rem; color: var(--blue); }
.form-thankyou p { margin: 0; color: var(--ink-soft); }
.form-status.err { color: var(--red); }
.form-status.err a { color: inherit; text-decoration: underline; }
.req { color: var(--red); font-weight: 700; }
.form-required-note { margin: 0 0 6px; font-size: .9rem; color: var(--ink-soft); }
.char-count { display: block; text-align: right; font-size: .8rem; color: var(--ink-soft); margin-top: 4px; }
.char-count.limit { color: var(--red); font-weight: 600; }

/* utility: centered call-to-action under a grid */
.center-cta { text-align: center; margin-top: 44px; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin-bottom: .5rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(0,92,203,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; margin-top: .4rem; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; text-align: center; }
.form-status { display: none; margin-top: 1rem; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; }
.form-status.ok { display: block; background: rgba(0,92,203,.08); color: var(--blue); }

/* ---------- Mini CTA band ---------- */
.cta-band { background: var(--blue); color: var(--white); text-align: center; }
.cta-band .container { padding-block: clamp(48px, 7vw, 80px); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.85); margin: 1rem auto 2rem; max-width: 50ch; }
.cta-band .btn-row { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-media img, .hero-photo { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .valueband-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .split.reverse .split-media { order: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 1.8rem; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem 2rem; }
  .hero-stats strong { font-size: 1.6rem; }
}

