/* =================================================================
   All Sign Services — stylesheet
   Surveys, Permits & Sign Programs · Northern California
   ================================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #0c1730;
  --navy-800: #11203f;
  --navy-700: #16284a;
  --navy-600: #1d3460;
  --navy-500: #2a4880;
  --amber-600: #d4870f;
  --amber-500: #f2a826;
  --amber-400: #ffc04d;
  --ink: #1a2230;
  --slate: #51607a;
  --slate-light: #7a89a3;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-softer: #eef2f8;
  --white: #ffffff;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 8px rgba(15, 29, 56, .06);
  --shadow: 0 12px 34px rgba(15, 29, 56, .10);
  --shadow-lg: 0 26px 60px rgba(12, 23, 48, .18);

  --ff-head: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--amber-600); }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--navy-800); line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.28rem; }
p { color: var(--slate); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-800); color: #d6deec; }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--amber-400); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.08rem; margin-top: 14px; }
.section--navy h2 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn--primary { background: var(--amber-500); color: var(--navy-900); border-color: var(--amber-500); }
.btn--primary:hover { background: var(--amber-400); border-color: var(--amber-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,168,38,.34); }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-600); color: var(--navy-700); }
.btn--light { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--light:hover { background: var(--bg-softer); color: var(--navy-800); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-500));
  display: grid; place-items: center; color: var(--amber-400);
  font-family: var(--ff-head); font-weight: 800; font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand__name { font-family: var(--ff-head); font-weight: 800; font-size: 1.16rem; color: var(--navy-800); line-height: 1.05; letter-spacing: -.02em; }
.brand__tag { display: block; font-family: var(--ff-body); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-light); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--ff-head); font-weight: 600; font-size: .96rem;
  color: var(--navy-800); padding: 9px 14px; border-radius: 8px;
}
.nav__links a:hover { background: var(--bg-soft); color: var(--navy-700); }
.nav__links a.active { color: var(--amber-600); }
.nav__cta { margin-left: 10px; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px auto; transition: .25s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #eaf0fb; overflow: hidden;
  background: var(--navy-900);
}
.hero__bg { position: absolute; inset: 0; background: #05060c; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(102deg, var(--navy-900) 10%, rgba(8,15,33,.86) 42%, rgba(8,15,33,.34) 100%);
}
.hero__inner { position: relative; padding: 96px 0 104px; max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--amber-400); }
.hero__lead { font-size: 1.2rem; color: #c4d0e6; margin-top: 20px; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; }
.hero__chips li { display: flex; align-items: center; gap: 9px; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: #d7e0f1; }
.hero__chips svg { color: var(--amber-400); flex: none; }

/* topbar (thin info strip above hero) */
.topbar { background: var(--navy-900); color: #aebbd4; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; padding-block: 7px; }
.topbar a { color: #d6deec; font-weight: 600; }
.topbar a:hover { color: var(--amber-400); }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__items span { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Page banner (interior pages) ---------- */
.banner { position: relative; background: var(--navy-800); color: #e7edf8; overflow: hidden; }
.banner__bg { position: absolute; inset: 0; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.banner__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(100deg, var(--navy-900) 25%, rgba(12,23,48,.6) 100%); }
.banner__inner { position: relative; padding: 70px 0 64px; max-width: 760px; }
.banner h1 { color: #fff; }
.banner p { color: #c4d0e6; font-size: 1.12rem; margin-top: 14px; max-width: 620px; }
.crumbs { font-size: .86rem; color: #9fb0cd; margin-bottom: 18px; font-family: var(--ff-head); font-weight: 600; }
.crumbs a { color: #c4d0e6; }
.crumbs a:hover { color: var(--amber-400); }

/* ---------- Grid system ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d4ddec; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card__icon {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-500)); color: var(--amber-400);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }

/* service card with image */
.scard { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; height:100%; display:flex; flex-direction:column; }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.scard__media { aspect-ratio: 16/10; overflow:hidden; }
.scard__media img { width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__body { padding: 26px; display:flex; flex-direction:column; flex:1; }
.scard__body h3 { margin-bottom: 10px; }
.scard__body p { font-size: .97rem; flex:1; }
.scard__link { margin-top: 16px; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--navy-600); display:inline-flex; align-items:center; gap:6px; }
.scard__link::after { content:"→"; transition: transform .2s ease; }
.scard:hover .scard__link::after { transform: translateX(4px); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split__body h2 { margin-bottom: 18px; }
.split__body p { margin-bottom: 16px; }

/* ---------- Feature list ---------- */
.flist { display: grid; gap: 16px; margin-top: 8px; }
.flist li { display: flex; gap: 14px; align-items: flex-start; }
.flist .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(242,168,38,.16); color: var(--amber-600); display: grid; place-items: center; font-weight: 800; font-size: .85rem; margin-top: 2px; }
.flist b { color: var(--ink); font-family: var(--ff-head); }
.flist span { color: var(--slate); }
.section--navy .flist b { color: #fff; }
.section--navy .flist span { color: #aebbd4; }
.section--navy .flist .tick { background: rgba(255,192,77,.18); color: var(--amber-400); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat__num { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.stat__num .unit { color: var(--amber-400); }
.stat__label { margin-top: 10px; font-size: .96rem; color: #aebbd4; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.step__num { counter-increment: step; width: 56px; height: 56px; border-radius: 14px; background: var(--navy-800); color: var(--amber-400); display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800; font-size: 1.4rem; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: 6px; }
.step p { font-size: .98rem; }

/* ---------- Logos / clients strip ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; }
.clients span { font-family: var(--ff-head); font-weight: 700; font-size: 1.25rem; color: #9aa7bd; letter-spacing: .02em; }

/* ---------- Pills / tag grid (service areas) ---------- */
.pillgrid { display: flex; flex-wrap: wrap; gap: 10px; }
.pillgrid li { background:#fff; border:1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--navy-700); box-shadow: var(--shadow-sm); }
.pillgrid li:hover { border-color: var(--amber-500); color: var(--amber-600); }

.area-cols { columns: 3; column-gap: 34px; }
.area-cols li { break-inside: avoid; padding: 7px 0 7px 26px; position: relative; color: var(--slate); border-bottom: 1px solid var(--line); }
.area-cols li::before { content:"📍"; position:absolute; left:0; font-size:.85rem; }

/* ---------- Testimonials ---------- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); height:100%; display:flex; flex-direction:column; }
.quote__stars { color: var(--amber-500); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.quote__text { font-size: 1.05rem; color: var(--ink); font-style: italic; flex:1; }
.quote__who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--navy-700), var(--navy-500)); color:#fff; display:grid; place-items:center; font-family: var(--ff-head); font-weight: 700; }
.quote__name { font-family: var(--ff-head); font-weight: 700; color: var(--navy-800); font-size: .98rem; }
.quote__role { font-size: .85rem; color: var(--slate-light); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 22px;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  color: #fff; padding: 56px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta::before { content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(242,168,38,.35), transparent 70%); }
.cta h2 { color: #fff; position: relative; }
.cta p { color: #cdd8ec; max-width: 620px; margin: 14px auto 0; position: relative; }
.cta__actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top: 30px; position: relative; }

/* ---------- Info / value cards (no border) ---------- */
.value { display:flex; gap:16px; align-items:flex-start; }
.value__icon { flex:none; width:46px; height:46px; border-radius:12px; background: rgba(242,168,38,.14); color: var(--amber-600); display:grid; place-items:center; }
.value__icon svg { width:22px; height:22px; }
.value h3 { font-size: 1.1rem; margin-bottom: 5px; }
.value p { font-size: .96rem; }

/* ---------- Team ---------- */
.team-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align:center; box-shadow: var(--shadow-sm); }
.team-card .avatar { width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(150deg, var(--navy-700), var(--navy-500)); color:#fff; display:grid; place-items:center; font-family: var(--ff-head); font-weight:800; font-size:1.7rem; }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { font-family: var(--ff-head); font-weight:600; color: var(--amber-600); font-size:.9rem; margin-bottom: 12px; }
.team-card p { font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline:auto; display:grid; gap:14px; }
.faq details { background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow:hidden; }
.faq summary { cursor:pointer; padding: 20px 24px; font-family: var(--ff-head); font-weight:600; color: var(--navy-800); font-size: 1.05rem; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size: 1.5rem; color: var(--amber-600); font-weight: 400; transition: transform .2s ease; flex:none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--amber-600); }
.faq .faq__a { padding: 0 24px 22px; }
.faq .faq__a p { font-size: .99rem; }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items:start; }
.info-list { display:grid; gap: 22px; }
.info-item { display:flex; gap:16px; align-items:flex-start; }
.info-item .ic { flex:none; width:48px; height:48px; border-radius:12px; background: var(--navy-800); color: var(--amber-400); display:grid; place-items:center; }
.info-item h4 { font-family: var(--ff-head); color: var(--navy-800); font-size: 1.02rem; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: .98rem; color: var(--slate); }
.info-item a:hover { color: var(--amber-600); }

.form { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--ff-head); font-weight:600; font-size:.9rem; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width:100%; padding: 12px 14px; border:1px solid var(--line); border-radius: 10px;
  font-family: var(--ff-body); font-size: .98rem; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--amber-500); box-shadow: 0 0 0 3px rgba(242,168,38,.18); background:#fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { font-size:.83rem; color: var(--slate-light); margin-top: 4px; }

/* ---------- Callout box ---------- */
.callout { background: var(--bg-softer); border-left: 4px solid var(--amber-500); border-radius: 10px; padding: 22px 26px; }
.callout h4 { font-family: var(--ff-head); color: var(--navy-800); margin-bottom: 6px; }
.callout p { font-size: .96rem; margin: 0; }

/* license / badge row */
.badges { display:flex; flex-wrap:wrap; gap: 16px; }
.badge { display:flex; gap:13px; align-items:center; background:#fff; border:1px solid var(--line); border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow-sm); }
.badge .ic { width:40px;height:40px;border-radius:10px;background:rgba(242,168,38,.14);color:var(--amber-600);display:grid;place-items:center;flex:none; }
.badge b { font-family: var(--ff-head); color: var(--navy-800); display:block; font-size:.98rem; }
.badge span { font-size:.84rem; color: var(--slate-light); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb0cd; padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color:#fff; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--ff-head); }
.footer a { color:#aebbd4; }
.footer a:hover { color: var(--amber-400); }
.footer ul { display:grid; gap: 10px; }
.footer .brand__name { color:#fff; }
.footer .brand__tag { color:#7e8fae; }
.footer__about p { margin-top:16px; max-width: 320px; color:#92a2c0; }
.footer__contact li { display:flex; gap:10px; align-items:flex-start; }
.footer__contact svg { color: var(--amber-400); flex:none; margin-top:3px; }
.footer__bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size: .85rem; color:#7e8fae; }

/* ---------- Misc ---------- */
.lead { font-size: 1.18rem; color: var(--slate); }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } html { scroll-behavior:auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .area-cols { columns: 2; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background:#fff; border-bottom:1px solid var(--line); padding: 14px 22px 22px; gap: 4px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease; z-index: 49;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 13px 12px; border-radius: 8px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content:center; }
  .nav__toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .area-cols { columns: 1; }
  .cta { padding: 40px 26px; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .topbar__items { gap: 14px; }
  .topbar .container { justify-content: center; }
  .topbar__right { display:none; }
  .footer__grid { grid-template-columns: 1fr; }
}
