/* Webbylogic — conversion + SEO focused design (US/Canada) */
:root {
  --blue: #0078d4;
  --blue-dark: #005a9e;
  --purple: #5c2d91;
  --teal: #008272;
  --orange: #d83b01;
  --green: #107c10;
  --navy: #0b1f3a;
  --text: #1b1b1b;
  --muted: #5c5c5c;
  --line: #e1dfdd;
  --bg: #faf9f8;
  --shadow: 0 12px 40px rgba(11, 31, 58, 0.12);
  --radius: 14px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

.trust-bar { background: var(--navy); color: rgba(255,255,255,.88); font-size: .82rem; text-align: center; padding: .45rem 1rem; }
.trust-bar strong { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.brand { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.brand span { background: linear-gradient(90deg, var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.site-nav a { padding: .45rem .7rem; border-radius: 6px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.site-nav a:hover, .site-nav a.active { background: #f3f2f1; color: var(--text); }
.site-nav .cta-nav { background: var(--orange); color: #fff !important; }
.site-nav .cta-nav:hover { background: #b8340a; }
.nav-toggle { display: none; border: 0; background: var(--blue); color: #fff; padding: .5rem .85rem; border-radius: 6px; font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .85rem 1.35rem; border-radius: 6px; font-weight: 700; font-size: .95rem; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 20px rgba(216,59,1,.3); }
.btn-secondary { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

.hero-shell { position: relative; overflow: hidden; background: linear-gradient(125deg, #eef6fc 0%, #fff 50%, #f4f0fa 100%); }
.hero-blob { position: absolute; right: -8%; top: -15%; width: min(48vw, 460px); pointer-events: none; opacity: .9; }
.hero { padding: 3.5rem 0 2rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 2rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 999px; background: #dff6dd; color: #0b5a0b; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.eyebrow svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.45rem); line-height: 1.08; letter-spacing: -.03em; margin: .85rem 0; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }
.hero-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.float-card { position: absolute; left: -.5rem; bottom: 1rem; background: #fff; border-radius: 12px; padding: .8rem 1rem; box-shadow: var(--shadow); display: flex; gap: .6rem; align-items: center; max-width: 240px; }
.float-card strong { display: block; color: var(--blue); font-size: .95rem; }
.float-card span { font-size: .74rem; color: var(--muted); }

.proof-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.proof-item { display: flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--muted); font-weight: 600; }
.proof-item svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-bottom: 2.5rem; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.metric strong { display: block; font-size: 1.55rem; color: var(--blue); }
.metric span { font-size: .78rem; color: var(--muted); }

section { padding: 3.75rem 0; }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); margin: 0 0 .6rem; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.02rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.split img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; }

.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: 0 2px 10px rgba(0,0,0,.04); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; height: 100%; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--card-grad, linear-gradient(90deg, var(--blue), var(--purple))); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #e8f4fd, #ede7f6); color: var(--blue); margin-bottom: .85rem; }
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.svc-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.svc-card .more { display: inline-block; margin-top: .85rem; font-weight: 700; font-size: .86rem; color: var(--blue); }

.band-dark { background: linear-gradient(135deg, var(--navy), #1a3a6b); color: #fff; }
.band-dark .section-head p, .band-dark p { color: rgba(255,255,255,.82); }
.glass { background: rgba(255,255,255,.95); color: var(--text); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }

.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.04); font-size: .92rem; }
.compare-table th, .compare-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.compare-table th { background: #f3f2f1; font-weight: 700; }
.compare-table .yes { color: var(--green); font-weight: 800; }
.compare-table .no { color: #a4262c; }

.logo-strip { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; opacity: .65; margin-top: 1.5rem; }
.logo-strip span { font-weight: 800; font-size: .9rem; color: var(--muted); padding: .5rem 1rem; background: #fff; border-radius: 8px; border: 1px solid var(--line); }

.step-card { background: #fff; border-radius: var(--radius); padding: 1.2rem; border-top: 4px solid var(--step-color, var(--blue)); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.step-num { font-size: 1.75rem; font-weight: 900; opacity: .3; line-height: 1; color: var(--step-color, var(--blue)); }

.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.quote-card .avatar { width: 56px; height: 56px; border-radius: 50%; margin-bottom: .75rem; border: 2px solid var(--line); }
.quote-card .location { font-size: .78rem; color: var(--blue); font-weight: 700; margin-bottom: .35rem; }
.quote-card footer { margin-top: .85rem; color: var(--muted); font-size: .88rem; }
.quote-card footer strong { display: block; color: var(--text); }

.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: .65rem; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--muted); margin: .65rem 0 0; }

.lead-box { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); }
.lead-box p { color: rgba(255,255,255,.88); }
.lead-inline { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.lead-inline h3 { margin-top: 0; }

.form label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: .3rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: .78rem .9rem; border-radius: 8px;
  border: 1px solid var(--line); font: inherit; margin-bottom: .85rem;
}
.form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: .5rem; }

.page-hero { padding: 2.75rem 0 2rem; background: linear-gradient(120deg, var(--navy), #1e3a6e); color: #fff; }
.page-hero h1 { margin: .45rem 0 .65rem; font-size: clamp(1.85rem, 3.8vw, 2.75rem); letter-spacing: -.02em; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 64ch; margin: 0; }
.breadcrumb { font-size: .84rem; color: rgba(255,255,255,.65); margin-bottom: .4rem; }
.breadcrumb a { color: rgba(255,255,255,.9); }

.region-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.region-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.region-card h3 { margin: 0 0 .35rem; display: flex; align-items: center; gap: .5rem; }
.region-card ul { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }

.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: var(--navy); color: #fff; padding: .65rem 0; box-shadow: 0 -4px 20px rgba(0,0,0,.15); transform: translateY(100%); transition: transform .3s; }
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .92rem; }

.strip { border-radius: 20px; padding: 2.5rem; background: linear-gradient(120deg, var(--blue), var(--purple)); color: #fff; box-shadow: var(--shadow); }
.strip p { color: rgba(255,255,255,.88); max-width: 62ch; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: .5rem 0 .5rem 1.65rem; position: relative; color: var(--muted); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.tag { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); margin-bottom: .35rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.portfolio-thumb { aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; width: 100%; margin-bottom: .85rem; }
.tech-pill { display: inline-flex; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; margin: 0 .4rem .4rem 0; }

.site-footer { background: #111; color: rgba(255,255,255,.72); padding: 3rem 0 5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 1.5rem; }
.site-footer h4 { color: #fff; margin: 0 0 .75rem; font-size: .94rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1rem; font-size: .86rem; }

@media (max-width: 960px) {
  .hero-grid, .split, .grid-2, .grid-3, .grid-4, .metrics, .region-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1rem; }
  .site-nav.open { display: flex; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .hero-blob { display: none; }
  .compare-table { font-size: .82rem; }
}
