/* Pinedrops Mobility Services LLC - shared site styles */
:root {
  --pine: #1f4d3a;
  --pine-dark: #143327;
  --pine-light: #e6efe9;
  --sand: #f6f1e7;
  --amber: #d98e2b;
  --ink: #1d2421;
  --muted: #55605b;
  --line: #d9ded9;
  --white: #ffffff;
  --radius: 10px;
  --max: 1120px;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --head: "Merriweather Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--pine); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.25; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pine-dark); font-family: var(--head); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand small { display: block; font-family: var(--font); font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 0.95rem; cursor: pointer; color: var(--ink); }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.site-nav a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); border-radius: 8px; font-size: 0.95rem; }
.site-nav a:hover { background: var(--pine-light); }
.site-nav a[aria-current="page"] { color: var(--pine); font-weight: 700; }
.site-nav .nav-call { background: var(--pine); color: var(--white); font-weight: 700; }
.site-nav .nav-call:hover { background: var(--pine-dark); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #c47d1f; }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-pine { background: var(--pine); color: var(--white); }
.btn-pine:hover { background: var(--pine-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--pine-dark), var(--pine)); color: var(--white); padding: 72px 0 64px; }
.hero p.lead { font-size: 1.2rem; max-width: 640px; color: #dfeae4; }
.eyebrow { display: inline-block; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); font-weight: 700; margin-bottom: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.hero-badges li { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; }

.page-hero { background: var(--pine-dark); color: var(--white); padding: 56px 0 48px; }
.page-hero p.lead { font-size: 1.15rem; color: #dfeae4; max-width: 680px; }
.breadcrumb { font-size: 0.9rem; margin-bottom: 12px; }
.breadcrumb a { color: #cfe0d6; }

/* Sections */
section { padding: 64px 0; }
.section-alt { background: var(--sand); }
.section-intro { max-width: 720px; margin-bottom: 32px; color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.card-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--pine-light); color: var(--pine); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 26px; height: 26px; }
.card-primary { border-top: 4px solid var(--amber); }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--pine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 0.95rem; }

.notice { border-left: 4px solid var(--amber); background: #fff8ec; padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.95rem; }
.notice p:last-child { margin-bottom: 0; }

.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.area-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; }

/* CTA band */
.cta-band { background: var(--pine); color: var(--white); text-align: center; }
.cta-band p { color: #dfeae4; max-width: 620px; margin: 0 auto 20px; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; }
.contact-card dt { font-weight: 700; }
.contact-card dd { margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d1cd; padding: 48px 0 24px; font-size: 0.95rem; }
.site-footer a { color: #e6ece9; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 32px; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-legal { border-top: 1px solid #3a423e; padding-top: 20px; font-size: 0.85rem; color: #9aa59f; }
.footer-legal p { margin-bottom: 6px; }

/* ---------- November 2026 update: IT-first layout, photos, graphics, motion ---------- */
:root { --teal: #2bb3a3; --night: #0f2a20; }

/* Photo heroes: a dark green wash keeps white text readable over any photo */
.hero.has-photo, .page-hero.has-photo {
  position: relative;
  background-color: var(--pine-dark);
  background-image: linear-gradient(100deg, rgba(15,42,32,.96) 0%, rgba(20,51,39,.88) 45%, rgba(20,51,39,.55) 100%), var(--img);
  background-size: cover; background-position: center;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Animated network diagram */
.netmap { margin: 0; width: 100%; max-width: 460px; justify-self: end; background: rgba(15,42,32,.72); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px; }
.netmap svg { display: block; width: 100%; height: auto; }
.netmap .lbl { font: 600 11px var(--font); fill: #dfeae4; }
.netmap .node rect, .netmap .node circle { fill: #173f30; stroke: #8fd1c3; stroke-width: 1.5; }
.netmap .node path { stroke: #e6efe9; }
.netmap .link { stroke: rgba(143,209,195,.35); stroke-width: 2; fill: none; }
.netmap .pulse { stroke: var(--amber); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 10 200; animation: flow 3.2s linear infinite; }
.netmap .pulse.d2 { animation-delay: .8s; } .netmap .pulse.d3 { animation-delay: 1.6s; } .netmap .pulse.d4 { animation-delay: 2.4s; }
.netmap figcaption { font-size: .85rem; color: #cfe0d6; margin-top: 8px; text-align: center; }
@keyframes flow { from { stroke-dashoffset: 210; } to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .netmap { justify-self: start; } }

/* Proof strip */
.proof { background: var(--night); color: #e6efe9; padding: 28px 0; }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.proof li { display: grid; gap: 2px; }
.proof .num { font-family: var(--head); font-size: 1.9rem; color: var(--amber); line-height: 1.1; font-variant-numeric: tabular-nums; }
.proof .what { font-size: .95rem; color: #cfe0d6; }
.proof .src { margin: 16px 0 0; font-size: .82rem; color: #9fb5aa; }
@media (max-width: 900px) { .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .proof ul { grid-template-columns: minmax(0, 1fr); } }

/* Photo cards */
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--pine-light); transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.photo-card .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pine); background: var(--pine-light); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; align-self: flex-start; }

/* Split feature with photo */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.feature img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--pine-light); }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* Tool chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.chips li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }

/* Reveal on scroll: visible by default, script hides only items below the fold */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.pre { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.pre { transition: none; opacity: 1; transform: none; }
  .netmap .pulse { animation: none; stroke-dasharray: none; opacity: .5; }
  .photo-card img { transition: none; }
}
.photo-credit { font-size: .8rem; color: #8e9a94; }
