/* Groundwork Digital - site styles
   Colors come from the logo kit (G:\My Drive\Groundwork Digital\Brand\Logo Kit). */
:root {
  --navy: #1A2D38;
  --navy-2: #22394A;
  --blue: #1281DB;
  --blue-dark: #0671CD;
  --gray: #656D73;
  --line: #E3E8EC;
  --bg-soft: #F4F7F9;
  --text: #1F2A30;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(26, 45, 56, .10);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.6 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* Grid/flex children may shrink below their image widths */
.wrap > *, .feature > *, .work-shots > *, .about > *, .contact-grid > * { min-width: 0; }
a { color: var(--blue); }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { font: 700 .78rem 'Montserrat', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.lede { font-size: 1.15rem; color: #44525B; max-width: 38em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem 'Montserrat', sans-serif; text-decoration: none;
  padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
  transition: transform .15s, background .15s, box-shadow .15s; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(18,129,219,.35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.logo img { height: 42px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font: 700 1rem 'Montserrat', sans-serif; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--blue); }
.header-actions .btn { padding: 11px 18px; font-size: .92rem; }

/* Hero */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.hero-note { font-size: .95rem; color: var(--gray); }

/* Hero visual: a phone-style "new leads" card, pure HTML/CSS */
.lead-card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; border: 1px solid var(--line); max-width: 400px; margin-left: auto; }
.lead-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.lead-card-top b { font: 800 1rem 'Montserrat', sans-serif; color: var(--navy); }
.pill { font: 700 .72rem 'Montserrat', sans-serif; letter-spacing: .08em; background: #E4F1FC; color: var(--blue-dark); padding: 5px 10px; border-radius: 999px; }
.lead { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 10px; }
.lead:last-child { margin-bottom: 0; }
.lead-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--white); flex: none; }
.lead-ico svg { width: 18px; height: 18px; }
.lead-ico.blue { background: var(--blue); }
.lead p { margin: 0; font-size: .9rem; line-height: 1.35; }
.lead p b { display: block; color: var(--navy); font-size: .95rem; }
.lead small { margin-left: auto; color: var(--gray); font-size: .78rem; white-space: nowrap; }

/* Sections */
section { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.soft { background: var(--bg-soft); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: 0 2px 8px rgba(26,45,56,.04); }
.card-ico { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--blue-dark), #1C85DE); color: var(--white); display: grid; place-items: center; margin-bottom: 18px; }
.card-ico svg { width: 26px; height: 26px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: .96rem; }
.card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy); color: var(--white); display: grid; place-items: center;
  font: 800 1.1rem 'Montserrat', sans-serif;
}
.step p { font-size: .96rem; color: #44525B; }

/* Work */
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.work-img { position: relative; min-height: 340px; background: var(--navy) center/cover no-repeat; }
.work-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,45,56,.15), rgba(26,45,56,.75)); }
.work-img img { position: absolute; left: 28px; bottom: 26px; width: 58%; max-width: 260px; z-index: 1; }
.work-body { padding: 40px 38px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.tag { font-size: .82rem; font-weight: 600; background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy); padding: 5px 10px; border-radius: 999px; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-points { display: grid; gap: 14px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.about-point svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }
.about-point p { margin: 0; font-size: .96rem; }
.about-point b { color: var(--navy); }

/* CTA band */
.cta-band { background: var(--navy); color: #D5DEE5; text-align: center; padding: 76px 0; }
.cta-band h2 { color: var(--white); }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.cta-band .btn-outline:hover { background: var(--white); color: var(--navy); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-box { background: var(--navy); color: #D5DEE5; border-radius: 16px; padding: 34px 30px; }
.contact-box h2 { color: var(--white); font-size: 1.6rem; }
.contact-line { display: flex; gap: 14px; align-items: center; margin: 20px 0; color: var(--white); text-decoration: none; }
.contact-line svg { width: 22px; height: 22px; color: #6FB6F0; flex: none; }
.contact-line b { font: 800 1.35rem 'Montserrat', sans-serif; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1.5px solid #CDD6DD; border-radius: 9px; background: var(--white); color: var(--text);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,129,219,.18); }
.field textarea { min-height: 110px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; gap: 10px; align-items: center; border: 1.5px solid #CDD6DD; border-radius: 9px; padding: 10px 12px; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.check:has(input:checked) { border-color: var(--blue); background: #F0F7FD; }
.req { color: var(--blue); }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--gray); margin: 12px 0 0; text-align: center; }
.hidden { display: none; }

/* Footer */
.site-footer { background: #13222B; color: #9FB0BC; padding: 44px 0 28px; font-size: .93rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer img { height: 38px; width: auto; }
.site-footer a { color: #D5DEE5; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom { padding-top: 20px; font-size: .85rem; }

/* Mobile sticky call bar */
.call-bar { display: none; }

@media (max-width: 960px) {
  .hero .wrap, .about, .contact-grid, .work { grid-template-columns: 1fr; }
  .lead-card { margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .work-img { min-height: 240px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  section { padding: 60px 0; }
  .hero { padding: 44px 0 56px; }
  .site-header .wrap { height: 64px; }
  .logo img { height: 34px; }
  .header-phone { display: none; }
  .header-actions .btn { padding: 9px 14px; font-size: .85rem; }
  .steps, .form-row, .checks { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .work-body, .form, .contact-box { padding: 26px 20px; }
  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--white); border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.06);
  }
  .call-bar .btn { flex: 1; padding: 13px 10px; font-size: .95rem; }
}
@media (max-width: 380px) {
  .logo img { height: 28px; }
}

/* ===== Visual layer (v2) ===== */

/* Blueprint grid texture, a nod to "groundwork" */
.grid-bg {
  background-color: var(--bg-soft);
  background-image:
    linear-gradient(rgba(18,129,219,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,129,219,.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero.grid-bg {
  background-image:
    linear-gradient(180deg, rgba(244,247,249,0) 60%, #fff 100%),
    linear-gradient(rgba(18,129,219,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,129,219,.07) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

/* Angled blue accent echoing the logo's cut corners */
.hero { position: relative; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px;
  background: linear-gradient(135deg, rgba(18,129,219,.16), rgba(18,129,219,0));
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

/* Device mockups: laptop + phone showing real work */
.devices { position: relative; padding: 10px 40px 40px 0; }
.laptop { position: relative; }
.laptop-screen {
  background: #0E1A21; border-radius: 14px 14px 0 0; padding: 12px 12px 14px;
  box-shadow: 0 30px 60px rgba(26,45,56,.25);
}
.laptop-screen img { border-radius: 4px; aspect-ratio: 16/10; object-fit: cover; object-position: top; width: 100%; }
.laptop-base { height: 14px; margin: 0 -6%; background: linear-gradient(#C9D1D7, #9AA6AE); border-radius: 0 0 14px 14px; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 30%; min-width: 120px;
  background: #0E1A21; border-radius: 26px; padding: 8px; box-shadow: 0 24px 48px rgba(26,45,56,.35);
}
.phone img { border-radius: 19px; aspect-ratio: 9/19.5; object-fit: cover; object-position: top; width: 100%; }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-size: .85rem; line-height: 1.3;
}
.float-card b { display: block; color: var(--navy); font-size: .9rem; }
.float-card .lead-ico { width: 34px; height: 34px; }
.float-card.one { left: -28px; top: 64%; animation: rise .6s .4s both; }
.float-card.two { left: 14%; top: -18px; animation: rise .6s .9s both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* "Who we help" photo strip */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--navy); }
.who img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.who figure:hover img { transform: scale(1.04); }
.who figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff;
  font: 800 1rem 'Montserrat', sans-serif; background: linear-gradient(transparent, rgba(14,26,33,.85));
}
.who figcaption span { display: block; font: 400 .82rem 'Inter', sans-serif; color: #C9D6DF; margin-top: 2px; }

/* Feature rows (services) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-visual { order: -1; }
.feature .card-ico { margin-bottom: 16px; }
.feature ul { margin: 16px 0 0; padding: 0; list-style: none; }
.feature li { padding-left: 28px; position: relative; margin-bottom: 9px; }
.feature li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.feature-visual { position: relative; border-radius: 18px; padding: 34px; }
.feature-visual.panel-blue { background: linear-gradient(135deg, #E6F1FB, #F4F7F9); }
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #EEF2F5; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD3D9; }
.browser-bar span { margin-left: 10px; flex: 1; background: #fff; border-radius: 6px; font-size: .75rem; color: var(--gray); padding: 3px 10px; }
.browser img { aspect-ratio: 16/10; object-fit: cover; object-position: top; width: 100%; }
.feature-visual .float-card { right: 8px; bottom: 8px; left: auto; top: auto; animation: none; }

/* Google-style listing mock */
.gmock { background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.gmock-search { display: flex; align-items: center; gap: 10px; margin: 14px; padding: 10px 16px; border-radius: 999px; border: 1px solid #DADFE3; font-size: .92rem; color: #33424B; }
.gmock-search svg { width: 18px; height: 18px; color: var(--gray); }
.gmock-map {
  height: 120px; position: relative;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47%, #fff 50%, transparent 50%),
    linear-gradient(0deg, transparent 58%, #fff 58%, #fff 61%, transparent 61%),
    linear-gradient(25deg, transparent 30%, #F7E7B4 30%, #F7E7B4 33%, transparent 33%),
    #E5EEE3;
}
.gmock-map .pin { position: absolute; left: 46%; top: 22%; width: 26px; height: 26px; background: #E4453A; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 8px rgba(0,0,0,.2); }
.gmock-map .pin::after { content: ""; position: absolute; inset: 8px; background: #fff; border-radius: 50%; }
.gmock-body { padding: 14px 18px 18px; }
.gmock-body h4 { margin: 0 0 4px; font: 800 1.05rem 'Montserrat', sans-serif; color: var(--navy); }
.gmock-meta { font-size: .85rem; color: var(--gray); margin: 4px 0 12px; }
.gmock-meta b { color: #188038; font-weight: 600; }
.gmock-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gmock-actions span { font-size: .8rem; font-weight: 600; color: #1A73E8; border: 1px solid #DADFE3; border-radius: 999px; padding: 6px 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 600; color: var(--navy); box-shadow: 0 2px 6px rgba(26,45,56,.05); }
.chip.ok { color: #188038; }

/* Photo with overlay card (AI) */
.photo-visual { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow); }
.photo-visual > img { width: 100%; height: 100%; object-fit: cover; }
.brief-card { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255,255,255,.97); border-radius: 14px; padding: 16px 18px; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.brief-card .t { font: 800 .95rem 'Montserrat', sans-serif; color: var(--navy); display: flex; justify-content: space-between; margin-bottom: 8px; }
.brief-card .t small { font: 600 .75rem 'Inter', sans-serif; color: var(--gray); }
.brief-row { display: flex; gap: 10px; align-items: center; font-size: .88rem; padding: 6px 0; border-top: 1px solid var(--line); }
.brief-row i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.brief-row i.n { background: var(--navy); }
.brief-row i.g { background: #34A853; }

/* Local banner */
.local-band { position: relative; color: #fff; padding: 110px 0; background: var(--navy) center/cover no-repeat; }
.local-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,26,33,.92) 0%, rgba(14,26,33,.65) 55%, rgba(14,26,33,.25) 100%); }
.local-band .wrap { position: relative; }
.local-band h2 { color: #fff; max-width: 560px; }
.local-band p { color: #D5DEE5; max-width: 520px; font-size: 1.1rem; }
.facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.fact { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); backdrop-filter: blur(4px); border-radius: 12px; padding: 14px 18px; }
.fact b { display: block; font: 800 1.15rem 'Montserrat', sans-serif; color: #fff; }
.fact span { font-size: .85rem; color: #C9D6DF; }

/* About photo */
.about-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Work gallery */
.work-shots { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 22px; align-items: center; }
.work-shots .browser img { aspect-ratio: 16/10; }
.mini-phone { background: #0E1A21; border-radius: 22px; padding: 7px; box-shadow: var(--shadow); max-width: 200px; justify-self: center; }
.mini-phone img { border-radius: 16px; aspect-ratio: 9/17; object-fit: cover; object-position: top; }

/* CTA band pattern */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; width: 360px; height: 360px; background: rgba(18,129,219,.18);
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
}
.cta-band::before { left: -140px; top: -120px; }
.cta-band::after { right: -140px; bottom: -150px; background: rgba(18,129,219,.12); }
.cta-band .wrap { position: relative; }

/* Contact page photo */
.contact-photo { border-radius: 16px; overflow: hidden; margin-top: 20px; aspect-ratio: 16/10; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
  .feature.flip .feature-visual { order: 0; }
  .who { grid-template-columns: 1fr 1fr; }
  .devices { max-width: 560px; margin: 16px auto 0; }
  .hero::after { display: none; }
}
@media (max-width: 640px) {
  .devices { padding: 0 24px 30px 0; }
  .float-card.one { left: -6px; top: 60%; }
  .float-card.two { display: none; }
  .feature-visual { padding: 18px; }
  .work-shots { grid-template-columns: 1fr; }
  .local-band { padding: 72px 0; }
  .local-band::before { background: rgba(14,26,33,.8); }
  .who figcaption { font-size: .9rem; padding: 30px 12px 10px; }
}

/* ===== Brand look (v3): dark mountain hero, spaced caps, thin blue rules =====
   Imagery cropped from Tuffer's "Groundwork Digital Website Image Ideas.png". */

.wide-caps { font: 600 .82rem 'Montserrat', sans-serif; letter-spacing: .32em; text-transform: uppercase; }
.rule { width: 64px; height: 3px; background: var(--blue); border: 0; margin: 20px 0 22px; }
.center .rule { margin-left: auto; margin-right: auto; }

/* Dark header */
.site-header.dark { background: rgba(14,26,33,.96); border-bottom-color: rgba(255,255,255,.08); }
.site-header.dark .header-phone { color: #fff; }
.site-header.dark .header-phone:hover { color: #6FB6F0; }

/* Dark hero with mountain + laptop image */
.hero-dark {
  position: relative; color: #C9D6DF; padding: 120px 0 130px; overflow: hidden;
  background: #0E1A21 url('/assets/img/gw-hero-laptop.webp') right center / cover no-repeat;
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,26,33,.97) 0%, rgba(14,26,33,.88) 38%, rgba(14,26,33,.35) 70%, rgba(14,26,33,.15) 100%);
}
.hero-dark .wrap { position: relative; }
.hero-dark .wide-caps { color: #fff; }
.hero-dark h1 { color: #fff; max-width: 640px; }
.hero-dark h1 span { color: #4DA3F5; }
.hero-dark .lede { color: #C9D6DF; max-width: 540px; }
.hero-dark .hero-note { color: #93A5B1; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

/* Icon strip (like the "Custom Websites | Local SEO" tile) */
.icon-strip { background: #13222B; padding: 0; }
.icon-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.icon-item { text-align: center; padding: 38px 16px; color: #fff; border-left: 1px solid rgba(255,255,255,.1); text-decoration: none; transition: background .2s; }
.icon-item:first-child { border-left: 0; }
.icon-item:hover { background: rgba(255,255,255,.04); }
.icon-item svg { width: 46px; height: 46px; color: #4DA3F5; margin: 0 auto 14px; display: block; }
.icon-item .wide-caps { font-size: .76rem; line-height: 1.6; }

/* Image tiles row (dark tiles, text left, image right) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tile {
  position: relative; min-height: 340px; display: flex; align-items: center; padding: 48px 52px; color: #C9D6DF;
  background: #0E1A21 right center / cover no-repeat; overflow: hidden;
}
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,26,33,.96) 0%, rgba(14,26,33,.8) 45%, rgba(14,26,33,.1) 100%); }
.tile > div { position: relative; max-width: 330px; }
.tile h2 { color: #fff; font-size: 1.6rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; line-height: 1.25; margin: 0; }
.tile p { margin: 0; font-size: 1.02rem; }
.tile .rule { margin: 18px 0; }
.tile.blue-cut::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 55%; height: 60%;
  background: linear-gradient(135deg, rgba(18,129,219,0) 40%, rgba(18,129,219,.55) 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%); pointer-events: none;
}

/* Blueprint band (How it works) */
.blueprint-band { position: relative; background: #F4F7F9 url('/assets/img/gw-tile-blueprint.webp') left center / cover no-repeat; }
.blueprint-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.93) 40%, #fff 100%); }
.blueprint-band .wrap { position: relative; }
.blueprint-band .section-head { margin-left: auto; max-width: 620px; }
.blueprint-band .steps { background: rgba(255,255,255,.85); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }

/* AI visual on a dark panel instead of a stock photo */
.dark-visual { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3.2; background: #0E1A21 url('/assets/img/gw-tile-phone.webp') center / cover no-repeat; box-shadow: var(--shadow); }
.dark-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,33,.2), rgba(14,26,33,.75)); }
.dark-visual .brief-card { z-index: 1; }

/* Mountain CTA */
.cta-band.mountains { background: #0E1A21 url('/assets/img/gw-strip-mountains.webp') center 30% / cover no-repeat; }
.cta-band.mountains::before { content: ""; position: absolute; inset: 0; width: auto; height: auto; left: 0; top: 0; clip-path: none; background: linear-gradient(180deg, rgba(14,26,33,.55), rgba(14,26,33,.88)); }
.cta-band.mountains::after { display: none; }
.cta-band .wide-caps { color: #9FC9EE; }

@media (max-width: 960px) {
  .icon-strip .wrap { grid-template-columns: 1fr 1fr; }
  .icon-item:nth-child(3) { border-left: 0; }
  .icon-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .tiles { grid-template-columns: 1fr; }
  .hero-dark { background-position: 70% center; }
  .hero-dark::before { background: linear-gradient(90deg, rgba(14,26,33,.95) 0%, rgba(14,26,33,.8) 60%, rgba(14,26,33,.5) 100%); }
}
@media (max-width: 640px) {
  .hero-dark { padding: 64px 0 72px; }
  .tile { padding: 40px 24px; min-height: 300px; }
  .tile h2 { font-size: 1.35rem; }
  .icon-item { padding: 28px 10px; }
  .icon-item svg { width: 38px; height: 38px; }
  .blueprint-band .steps { padding: 22px; }
}

/* ===== Hero banner (v4): Tuffer's full banner image, uncropped, with two buttons ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero-banner { position: relative; padding: 0; background: #0E1A21; }
.hero-banner > img { width: 100%; height: auto; }
/* Buttons sit under the tagline, lined up with it (tagline starts ~6% from the left) */
.hero-banner-cta { position: absolute; left: 6%; top: 80%; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-banner-cta .btn { box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.hero-banner-cta .btn-outline-light { background: rgba(14,26,33,.45); backdrop-filter: blur(4px); }

/* Full image tile (its text is baked into the image) */
.tile-image { background: #0E1A21; }
.tile-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
  .hero-banner-cta { top: 78%; }
  .hero-banner-cta .btn { padding: 11px 18px; font-size: .9rem; }
}
/* On narrow screens the banner is short, so the buttons move below it */
@media (max-width: 820px) {
  .hero-banner-cta { position: static; padding: 18px 20px 24px; justify-content: center; }
  .hero-banner-cta .btn { flex: 1 1 220px; padding: 14px 18px; font-size: 1rem; }
}

/* Closing banner: buttons line up under the image's blue rule (text starts ~5.4% from left) */
.closing-banner .hero-banner-cta { left: 5.4%; top: 87%; }
@media (max-width: 1100px) { .closing-banner .hero-banner-cta { top: 86%; } }

/* Wasatch Front city row (local branding) */
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.cities span { font: 600 .74rem 'Montserrat', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

/* Closing band (v5): short, footer-like. Background = text-free top of the Real Results image */
.results-band {
  position: relative; padding: 64px 0; color: #fff;
  background: #0E1A21 url('/assets/img/gw-results-band.webp') center 62% / cover no-repeat;
}
.results-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,26,33,.78) 0%, rgba(14,26,33,.45) 55%, rgba(14,26,33,.2) 100%); }
.results-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.results-kicker { font: 400 clamp(1rem, 1.8vw, 1.35rem) 'Montserrat', sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.results-title { color: #fff; font: 900 clamp(2.3rem, 5vw, 3.6rem) 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: -.01em; margin: 2px 0 0; line-height: 1; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.results-band .rule { margin: 16px 0 0; width: 84px; height: 5px; background: #1281DB; }
.results-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.results-ctas .btn-outline-light { background: rgba(14,26,33,.45); backdrop-filter: blur(4px); }
@media (max-width: 640px) {
  .results-band { padding: 48px 0; }
  .results-ctas, .results-ctas .btn { width: 100%; }
}

/* ===== Services (v6): three matching cards, each clearly its own box ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-top: 4px solid var(--blue);
  box-shadow: 0 12px 32px rgba(26,45,56,.10); transition: transform .2s, box-shadow .2s;
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(26,45,56,.16); }

/* Dark top panel with a faint blueprint grid, holding each service's visual */
.svc-visual {
  position: relative; height: 230px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 20px;
  background-color: #13222B;
  background-image: linear-gradient(rgba(77,163,245,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(77,163,245,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.svc-visual .browser { width: 100%; box-shadow: 0 10px 28px rgba(0,0,0,.4); border: 0; }
.svc-visual .browser img { aspect-ratio: 16/9.6; }
.svc-visual .gmock { width: 100%; box-shadow: 0 10px 28px rgba(0,0,0,.4); border: 0; }
.svc-visual .gmock-search { margin: 10px; padding: 7px 14px; font-size: .82rem; }
.svc-visual .gmock-map { height: 58px; }
.svc-visual .gmock-map .pin { width: 20px; height: 20px; top: 12%; }
.svc-visual .gmock-map .pin::after { inset: 6px; }
.svc-visual .gmock-body { padding: 10px 14px 12px; }
.svc-visual .gmock-body h4 { font-size: .95rem; }
.svc-visual .gmock-meta { margin: 2px 0 8px; font-size: .78rem; }
.svc-visual .gmock-actions span { padding: 4px 10px; font-size: .74rem; }
.svc-visual.v-brief { background-image: linear-gradient(180deg, rgba(14,26,33,.35), rgba(14,26,33,.75)), url('/assets/img/gw-tile-phone.webp'); background-size: cover; background-position: center; }
.svc-visual .brief-card { position: static; width: 100%; }

.svc-body { padding: 26px 26px 30px; flex: 1; }
.svc-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.svc-head .card-ico { margin: 0; width: 48px; height: 48px; flex: none; }
.svc-head .card-ico svg { width: 24px; height: 24px; }
.svc-num { font: 700 .72rem 'Montserrat', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
.svc-head h3 { margin: 0; font-size: 1.35rem; }
.svc-body > p { color: #44525B; margin-bottom: 14px; }
.svc ul { margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.svc li { padding-left: 26px; position: relative; margin-bottom: 9px; font-size: .96rem; }
.svc li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
.svc-visual .float-card { left: auto; top: auto; right: 12px; bottom: 12px; animation: none; padding: 9px 12px; font-size: .78rem; }
.svc-visual .float-card .lead-ico { width: 28px; height: 28px; }

/* ===== How it works (v7): dark blueprint band, centered, numbered timeline ===== */
.process-band { position: relative; color: #C9D6DF; padding: 90px 0; background: #0E1A21 url('/assets/img/gw-tile-blueprint.webp') center / cover no-repeat; }
.process-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,33,.9), rgba(19,34,43,.94)); }
.process-band .wrap { position: relative; }
.process-band .section-head { margin: 0 auto 56px; text-align: center; max-width: 720px; }
.process-band .rule { margin-left: auto; margin-right: auto; }
.process-band h2 { color: #fff; }
.process-band .wide-caps { color: #4DA3F5 !important; }
.process-band .steps { position: relative; background: none; box-shadow: none; padding: 0; gap: 24px; }
/* Connecting line behind the numbers */
.process-band .steps::before { content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, #1281DB, rgba(77,163,245,.35)); }
.process-band .step { text-align: center; padding-top: 80px; }
.process-band .step::before {
  left: 50%; transform: translateX(-50%); width: 58px; height: 58px;
  border-radius: 14px; background: #1281DB; color: #fff; font-size: 1.3rem; box-shadow: 0 0 0 7px rgba(18,129,219,.18);
}
.process-band .step h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.process-band .step p { color: #A9BAC6; margin: 0; }
@media (max-width: 960px) {
  .process-band .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-band .steps::before { display: none; }
}
@media (max-width: 640px) {
  .process-band { padding: 64px 0; }
  .process-band .steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .process-band .step { padding-top: 70px; }
  .process-band .step::before { width: 50px; height: 50px; border-radius: 12px; }
}

/* ===== Fixes (v8) ===== */
/* Outline-light buttons: on hover keep white text, lighten the background (was turning text dark on a dark background) */
.btn-outline-light:hover,
.hero-banner-cta .btn-outline-light:hover,
.results-ctas .btn-outline-light:hover {
  background: rgba(255,255,255,.22); color: #fff; border-color: #fff;
}
.btn-outline-light:focus-visible { outline: 3px solid #4DA3F5; outline-offset: 2px; }

/* Icon strip: light blue frame so it stands apart from the images above and below */
.icon-strip { background: #172B37; border-top: 3px solid #4DA3F5; border-bottom: 3px solid #4DA3F5; }
.icon-item { border-left-color: rgba(77,163,245,.35); }
.icon-item:hover { background: rgba(77,163,245,.10); }
@media (max-width: 960px) {
  .icon-item:nth-child(n+3) { border-top-color: rgba(77,163,245,.35); }
}
