/* ============================================================
   NEARIVO SOLUTIONS  |  Complete Redesign 2026 (10/10)
   Palette: Pine #0C5449 | Amber #F2B33D | Paper #FBFBF8
            Ink #1B2733 | Mist #EDF1EE | Slate #5C6B66
   Type: Bricolage Grotesque (display) + Instrument Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  --pine:       #0C5449;
  --pine-deep:  #083B33;
  --pine-soft:  #E5EFEC;
  --amber:      #F2B33D;
  --amber-deep: #D99A1E;
  --paper:      #FBFBF8;
  --white:      #FFFFFF;
  --ink:        #1B2733;
  --slate:      #5C6B66;
  --mist:       #EDF1EE;
  --line:       #DCE4E0;
  --nav-h:      76px;
  --r:          12px;
  --r-lg:       18px;
  --shadow:     0 2px 16px rgba(12, 84, 73, 0.07);
  --shadow-lg:  0 12px 36px rgba(12, 84, 73, 0.12);
  --t:          0.22s ease;
  --display:    'Bricolage Grotesque', sans-serif;
  --body:       'Instrument Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
}

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p { color: var(--slate); margin-top: 14px; font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.97rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn-primary { background: var(--pine); color: var(--white); }
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--pine); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--pine); background: var(--pine-soft); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* Spinner and button states */
.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
.btn-primary .spinner {
  border-top-color: var(--white);
}
.btn-amber .spinner {
  border-top-color: var(--ink);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.btn .btn-text + .spinner {
  margin-left: 10px;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.wordmark .dot {
  width: 9px;
  height: 9px;
  border-radius: 50% 50% 50% 0;
  background: var(--amber);
  transform: rotate(-45deg);
  display: inline-block;
  margin-left: 5px;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--slate);
  transition: color var(--t);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--amber);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--ink); transition: var(--t); }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--mist); }
.mobile-menu .btn { margin-top: 14px; border-bottom: none; padding: 14px 26px; }
.mobile-menu.open { display: flex; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--mist) 1px, transparent 1px),
    linear-gradient(90deg, var(--mist) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, black 30%, transparent 75%);
}
.hero-inner { position: relative; max-width: 760px; }
.hero-pin-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px 8px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--pine);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent {
  color: var(--pine);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 14px;
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--slate);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-facts {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 640px;
}
.hero-fact { flex: 1; padding-right: 28px; }
.hero-fact + .hero-fact { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-fact-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
  display: inline-block;
}
.hero-fact strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pine);
  line-height: 1.2;
}
.hero-fact span { font-size: 0.88rem; color: var(--slate); }

/* ── Pin icon ────────────────────────────────────────────── */
.pin {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Service cards ───────────────────────────────────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pine-soft);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--pine-soft);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.96rem; }

/* ── Testimonials (new) ──────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 48px 0 56px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.2s ease;
}
.testimonial:hover {
  transform: translateY(-3px);
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
  font-style: normal;
  quotes: "“" "”" "‘" "’";
}
.testimonial-text::before {
  content: "“";
  font-size: 1.8rem;
  color: var(--pine);
  opacity: 0.5;
  margin-right: 4px;
}
.testimonial-author {
  font-weight: 700;
  color: var(--pine);
  margin-bottom: 8px;
}
.testimonial-meta {
  font-size: 0.8rem;
  color: var(--slate);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 8px;
}

/* Mini case study */
.mini-case {
  margin-top: 20px;
}
.mini-case-inner {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mini-case-text {
  flex: 2;
  min-width: 200px;
}
.mini-case-text h3 {
  font-size: 1.3rem;
  margin: 10px 0 12px;
}
.mini-case-text a {
  color: var(--pine);
  font-weight: 600;
  text-decoration: underline;
}
.mini-case-stats {
  flex: 1;
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  text-align: center;
}
.mini-case-stats div {
  background: var(--pine-soft);
  border-radius: var(--r);
  padding: 16px 12px;
  min-width: 80px;
}
.mini-case-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pine);
  line-height: 1;
}
.mini-case-stats span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
}

/* ── Route section (How it works) ────────────────────────── */
.route-wrap { position: relative; }
.route-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.route-line {
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--pine) 55%, transparent 45%);
  background-size: 14px 2px;
  z-index: 0;
}
.route-step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.route-pin {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  background: var(--pine);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(12, 84, 73, 0.28);
}
.route-pin span {
  transform: rotate(45deg);
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
}
.route-step:last-child .route-pin { background: var(--amber); }
.route-step:last-child .route-pin span { color: var(--ink); }
.route-step h3 { margin-bottom: 10px; }
.route-step p { color: var(--slate); font-size: 0.96rem; }

/* ── Report band ─────────────────────────────────────────── */
.report-band {
  background: var(--pine-deep);
  border-radius: 24px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  color: var(--white);
}
.report-band h2 { color: var(--white); margin-bottom: 16px; }
.report-band > div > p { color: #B9CEC8; margin-bottom: 28px; }
.report-list { display: grid; gap: 13px; }
.report-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: #E3EDEA;
}
.report-list .tick {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(242, 179, 61, 0.18);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 880px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--pine);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-flag {
  position: absolute;
  top: -14px;
  left: 36px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.price-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.price-for { color: var(--slate); font-size: 0.93rem; margin: 6px 0 24px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-amount strong {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--pine);
  letter-spacing: -0.02em;
}
.price-amount span { color: var(--slate); font-size: 0.95rem; }
.price-note { font-size: 0.85rem; color: var(--slate); margin-bottom: 26px; }
.price-feats { display: grid; gap: 12px; margin-bottom: 32px; }
.price-feats li { display: flex; gap: 11px; font-size: 0.96rem; }
.price-feats .tick {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 6px;
  background: var(--pine-soft);
  color: var(--pine);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
  margin-top: 3px;
}
.price-card .btn { margin-top: auto; width: 100%; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  text-align: left;
  padding: 20px 22px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--pine);
  transition: transform var(--t);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 22px 22px; color: var(--slate); font-size: 0.97rem; }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
  background: var(--pine);
  border-radius: 24px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: #C4D8D2; max-width: 480px; margin: 0 auto 34px; }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  padding: 84px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-grid-bg { mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, black 20%, transparent 70%); }
.page-hero .container { position: relative; max-width: 760px; text-align: center; }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-hero p { color: var(--slate); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* ── Service groups (services page) ──────────────────────── */
.svc-group { margin-bottom: 72px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.svc-group-head .card-icon { margin: 0; }
.svc-group-head h2 { font-size: 1.5rem; }
.svc-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 26px;
}
.svc-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.svc-item p { color: var(--slate); font-size: 0.94rem; }

/* ── About page ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
  margin-bottom: 64px;
  align-items: center;
}
.about-text h2 {
  margin-bottom: 20px;
}
.about-text p {
  margin-bottom: 18px;
  color: var(--slate);
}
.about-stats {
  display: grid;
  gap: 28px;
  background: var(--pine-soft);
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
}
.stat-block .stat-number {
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--pine);
  line-height: 1;
}
.stat-block .stat-label {
  font-size: 0.9rem;
  color: var(--slate);
  margin-top: 8px;
}
.founder-note {
  display: flex;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 32px 36px;
  margin-top: 24px;
  align-items: flex-start;
}
.founder-avatar {
  font-size: 3.2rem;
  background: var(--pine-soft);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
}
.founder-text h3 {
  margin-bottom: 10px;
}
.founder-text p {
  color: var(--slate);
  max-width: 80%;
}
.founder-sign {
  font-family: var(--display);
  font-weight: 600;
  margin-top: 16px;
  color: var(--pine);
}

/* ── Contact (swapped layout) ───────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form {
  order: 1;
}
.contact-info {
  order: 2;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--slate); margin-bottom: 32px; }
.contact-line {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.contact-line:last-of-type { border-bottom: 1px solid var(--line); }
.contact-line .card-icon { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.contact-line a:hover { color: var(--pine); }
.next-steps { margin-top: 36px; }
.next-steps h3 { margin-bottom: 16px; }
.next-steps ol { list-style: none; counter-reset: step; display: grid; gap: 12px; }
.next-steps li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  color: var(--slate);
  font-size: 0.96rem;
}
.next-steps li::before {
  content: counter(step);
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--pine-soft);
  color: var(--pine);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  font-family: var(--display);
  margin-top: 2px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pine);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 500;
}
.form-status.ok { display: block; background: var(--pine-soft); color: var(--pine-deep); }
.form-status.err { display: block; background: #FDECEA; color: #9B2C20; }

/* ── Privacy / legal page ───────────────────────────────── */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px;
}
.legal-content h2:first-of-type {
  margin-top: 0;
}
.legal-content p {
  margin-bottom: 18px;
  color: var(--slate);
}
.legal-content a {
  color: var(--pine);
  text-decoration: underline;
}
.legal-meta {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: #AEBBB7;
  margin-top: 96px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-main .wordmark { color: var(--white); margin-bottom: 14px; }
.footer-main p { font-size: 0.93rem; }
.footer-main h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-main ul { display: grid; gap: 10px; }
.footer-main ul a { font-size: 0.94rem; transition: color var(--t); }
.footer-main ul a:hover { color: var(--amber); }
.footer-contact { display: grid; gap: 12px; font-size: 0.94rem; }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* ── Reveal on scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive (includes all new additions) ─────────────── */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .report-band { grid-template-columns: 1fr; padding: 48px 36px; gap: 36px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .mini-case-stats {
    justify-content: flex-start;
  }
  .founder-text p {
    max-width: 100%;
  }
  .founder-note {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero { padding: 72px 0 64px; }
  .hero-facts { flex-direction: column; gap: 18px; }
  .hero-fact + .hero-fact { padding-left: 0; border-left: none; }
  .hero-fact { padding-right: 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .route-steps { grid-template-columns: 1fr; gap: 44px; }
  .route-line { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .svc-items { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .mini-case-inner {
    flex-direction: column;
    text-align: center;
  }
  .mini-case-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
}
/* ── Booking (contact page) ─────────────────────────────── */
.booking-band {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 48px 36px;
  box-shadow: var(--shadow);
}
.booking-head { max-width: 620px; margin: 0 auto 30px; text-align: center; }
.booking-head .eyebrow { justify-content: center; }
.booking-head p { color: var(--slate); margin-top: 12px; }
.booking-embed {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
.booking-embed.booking-live { height: 700px; }
.booking-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.booking-fallback { text-align: center; padding: 60px 28px; }
.booking-fallback .fallback-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--pine-soft);
  color: var(--pine);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.booking-fallback h3 { margin-bottom: 10px; }
.booking-fallback p { color: var(--slate); max-width: 460px; margin: 0 auto 26px; }
.booking-alt { text-align: center; color: var(--slate); font-size: 0.93rem; margin-top: 20px; }
.booking-alt a { color: var(--pine); text-decoration: underline; }

/* ── Blog listing ────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pine-soft);
}
.post-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--pine-soft);
  color: var(--pine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.post-card h2 { font-size: 1.28rem; line-height: 1.28; }
.post-card h2 a { transition: color var(--t); }
.post-card h2 a:hover { color: var(--pine); }
.post-card .excerpt { color: var(--slate); font-size: 0.95rem; flex: 1; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--slate);
  font-size: 0.87rem;
}
.post-card .read-link { color: var(--pine); font-weight: 600; }
.post-card .read-link::after { content: " →"; }

/* ── Blog article ────────────────────────────────────────── */
.post-hero .post-tag { margin-bottom: 18px; }
.post-hero .post-meta { justify-content: center; margin-top: 16px; }
.post-content { max-width: 720px; margin: 0 auto; }
.post-content p { color: var(--slate); margin-bottom: 20px; }
.post-content h2 { font-size: 1.55rem; margin: 44px 0 16px; }
.post-content h2:first-child { margin-top: 0; }
.post-content h3 { font-size: 1.12rem; margin: 30px 0 10px; }
.post-content ul, .post-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--slate);
  display: grid;
  gap: 9px;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li::marker { color: var(--pine); font-weight: 700; }
.post-content a { color: var(--pine); text-decoration: underline; }
.post-content strong { color: var(--ink); }
.post-callout {
  background: var(--pine-soft);
  border-left: 4px solid var(--pine);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 18px 22px;
  margin: 30px 0;
  color: var(--pine-deep);
  font-size: 0.97rem;
}
.post-callout p { color: var(--pine-deep); margin: 0; }
.post-back { max-width: 720px; margin: 44px auto 0; }
.post-back a { color: var(--pine); font-weight: 600; }
.post-back a:hover { text-decoration: underline; }

/* ── Small a11y touches ──────────────────────────────────── */
.faq-q:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.nav-links a:focus-visible, .mobile-menu a:focus-visible, footer a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 720px) {
  .booking-band { padding: 32px 20px 26px; }
  .booking-embed.booking-live { height: 640px; }
}

/* ════════════════════════════════════════════════════════════
   VISUAL LAYER — photos, video, and graceful placeholders
   Drop correctly-named files into /images (see images/PHOTOS-NEEDED.md).
   Any missing photo automatically shows a branded placeholder.
   ════════════════════════════════════════════════════════════ */

/* ── Photo frames ────────────────────────────────────────── */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background-color: var(--pine-soft);
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.photo--landscape { aspect-ratio: 4 / 3; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--hero { aspect-ratio: 5 / 6; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
/* Missing image -> branded pin placeholder (JS adds .photo--pending) */
.photo--pending img { display: none; }
.photo--pending {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 21s-7-5.5-7-11a7 7 0 1 1 14 0c0 5.5-7 11-7 11Z' stroke='%230C5449' stroke-width='1.4' opacity='0.45'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='%23F2B33D' opacity='0.7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 54px;
}

/* ── Avatars (photo with initials fallback) ──────────────── */
.avatar {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pine-soft);
  flex-shrink: 0;
}
.avatar::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pine);
}
.avatar img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar--lg { width: 80px; height: 80px; }
.avatar--lg::after { font-size: 1.6rem; }
.founder-avatar { font-size: 1rem; }

/* ── Split hero with photo + floating proof cards ────────── */
.hero .hero-inner {
  max-width: 1140px;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero .hero-facts { grid-column: 1 / -1; max-width: none; margin-top: 8px; }
.hero-photo { position: relative; }
.hero-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 14px;
  font-size: 0.8rem;
}
.hero-float--map { top: 24px; left: -50px; width: 186px; }
.map-mini-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 9px;
}
.map-mini-row { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.map-mini-row svg { width: 15px; height: 15px; flex-shrink: 0; }
.map-mini-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex-shrink: 0; margin: 0 3px; }
.map-mini-row .bar { flex: 1; height: 7px; border-radius: 4px; background: var(--mist); }
.map-mini-row.is-you .bar { background: var(--pine); }
.map-mini-row.is-you em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--pine);
  background: var(--pine-soft);
  border-radius: 100px;
  padding: 2px 8px;
}
.hero-float--review {
  bottom: 28px;
  right: -18px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--ink);
}
.hero-float--review .stars { color: var(--amber); letter-spacing: 2px; font-size: 0.85rem; }

/* ── Testimonial authors with avatars ────────────────────── */
.testimonial-author { display: flex; align-items: center; gap: 12px; font-weight: 400; color: inherit; margin-bottom: 12px; }
.testimonial-who strong { display: block; color: var(--pine); font-weight: 700; line-height: 1.25; }
.testimonial-who span { font-size: 0.83rem; color: var(--slate); }

/* ── Case study photo ────────────────────────────────────── */
.mini-case-photo { flex: 1; min-width: 200px; max-width: 260px; margin: 0; border-radius: var(--r); }

/* ── About page photo column ─────────────────────────────── */
.about-side { display: grid; gap: 20px; }
.about-photo { border-radius: 28px; }

/* ── Contact team photo ──────────────────────────────────── */
.contact-photo { margin: 0 0 26px; }

/* ── Report screenshot frame (packages) ──────────────────── */
.report-preview { margin-top: 64px; text-align: center; }
.report-shot {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding-top: 34px;
  background: var(--white);
}
.report-shot::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.report-shot::after {
  content: "";
  position: absolute;
  top: 13px; left: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E0A19B;
  box-shadow: 16px 0 0 #E8C77F, 32px 0 0 #9CC3A5;
  z-index: 3;
}
.report-shot img { height: auto; }
.report-shot.photo--pending { aspect-ratio: 1400 / 950; }
.report-caption { color: var(--slate); font-size: 0.92rem; margin-top: 18px; }

/* ── Blog covers ─────────────────────────────────────────── */
.post-card { padding: 0; gap: 0; }
.card-cover { display: block; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.post-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.post-cover { max-width: 880px; margin: 0 auto 48px; border-radius: 20px; box-shadow: var(--shadow); }

/* ── Intro video ─────────────────────────────────────────── */
.video-frame {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}
.video-embed { position: relative; aspect-ratio: 16 / 9; }
.video-embed iframe, .video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Visual layer responsive ─────────────────────────────── */
@media (max-width: 960px) {
  .hero .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 500px; }
  .hero-float--map { left: -12px; top: 16px; }
  .hero-float--review { right: -8px; bottom: 16px; }
  .mini-case-photo { max-width: 100%; width: 100%; }
}
@media (max-width: 720px) {
  .hero-float--map { left: 8px; }
  .hero-float--review { right: 8px; }
  .post-cover { margin-bottom: 36px; }
}
