/* ==================================================================
   Local SEO Services — light premium agency design system
   ================================================================== */

:root {
  --ink: #0c1f18;
  --ink-soft: #41544c;
  --muted: #7a8a82;
  --paper: #f6faf7;
  --paper-2: #eef6f1;
  --panel: #ffffff;
  --line: rgba(13, 107, 69, 0.14);
  --line-soft: rgba(13, 107, 69, 0.08);

  --green: #0d6b45;
  --green-d: #084d31;
  --mint: #2fd18a;
  --mint-l: #5ce6a8;
  --cyan: #14b8c4;
  --gold: #f3b54b;
  --coral: #ef7a5f;

  --grad-brand: linear-gradient(115deg, #0d6b45 0%, #16a06a 45%, #14b8c4 100%);
  --grad-mint: linear-gradient(120deg, #2fd18a, #14b8c4);
  --grad-text: linear-gradient(100deg, #0d6b45, #16a06a 40%, #14b8c4);

  --shadow-sm: 0 4px 14px rgba(12, 31, 24, 0.06);
  --shadow: 0 18px 50px -22px rgba(12, 31, 24, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(12, 31, 24, 0.40);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-brd: rgba(255, 255, 255, 0.7);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-d); }

::selection { background: rgba(47, 209, 138, 0.28); }

/* ---------- animated mesh background ---------- */
.bg-mesh {
  position: fixed;
  inset: -20vh -10vw;
  z-index: -2;
  background:
    radial-gradient(40vw 40vw at 12% 8%, rgba(47, 209, 138, 0.18), transparent 60%),
    radial-gradient(45vw 45vw at 88% 4%, rgba(20, 184, 196, 0.16), transparent 60%),
    radial-gradient(50vw 50vw at 78% 92%, rgba(13, 107, 69, 0.12), transparent 62%),
    radial-gradient(40vw 40vw at 6% 88%, rgba(243, 181, 75, 0.12), transparent 60%);
  filter: blur(20px) saturate(1.05);
  animation: meshFloat 26s ease-in-out infinite alternate;
}
.bg-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 107, 69, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 80%);
}
@keyframes meshFloat {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.02); }
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: 60;
  background: var(--grad-mint);
  box-shadow: 0 0 12px rgba(47, 209, 138, 0.6);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
}

.skip-link {
  position: absolute; left: 1rem; top: -6rem; z-index: 80;
  padding: 0.6rem 0.9rem; background: var(--ink); color: #fff; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  transition: padding 0.3s var(--ease);
}
.header-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled .header-inner { box-shadow: var(--shadow); background: rgba(255,255,255,0.85); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-logo { height: 46px; width: auto; display: block; }
.footer-logo { height: 58px; margin-bottom: 6px; }
.brand-text strong { display: block; font-size: 1.02rem; font-weight: 800; line-height: 1.05; letter-spacing: 0; }
.brand-text small { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 600; }
.mark {
  width: 44px; height: 44px; border-radius: 13px;
  display: inline-grid; place-items: center;
  background: var(--grad-brand); color: #eafff5;
  box-shadow: 0 8px 20px -8px rgba(13, 107, 69, 0.7), inset 0 1px 0 rgba(255,255,255,0.3);
}
.mark svg { width: 24px; height: 24px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 0.5rem 0.85rem; border-radius: 999px;
  color: var(--ink-soft); font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--green-d); background: rgba(13, 107, 69, 0.07); }
.nav .nav-cta {
  color: #fff; background: var(--green); margin-left: 6px;
  box-shadow: 0 10px 22px -10px rgba(13, 107, 69, 0.8);
}
.nav .nav-cta:hover { background: var(--green-d); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 0;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- layout primitives ---------- */
main { display: block; }
.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 56px 0;
}
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head h2 { margin-top: 10px; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin: 12px 0 0; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.04; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-d); background: rgba(47, 209, 138, 0.12);
  border: 1px solid rgba(47, 209, 138, 0.3);
  border-radius: 999px; padding: 0.32rem 0.8rem;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
}
.eyebrow.light { color: #eafff5; background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(47,209,138,0.22); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.lede { color: var(--ink-soft); font-size: 1.18rem; max-width: 60ch; margin: 20px 0 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0.7rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.98rem; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  will-change: transform;
}
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 16px 34px -16px rgba(13,107,69,0.9); }
.btn--primary:hover { background: var(--green-d); color: #fff; transform: translateY(-2px); box-shadow: 0 22px 40px -18px rgba(13,107,69,0.95); }
.btn--ghost { background: rgba(255,255,255,0.6); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn--ghost:hover { color: var(--green-d); border-color: rgba(13,107,69,0.4); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { background: #fff; color: var(--green-d); box-shadow: 0 16px 34px -16px rgba(0,0,0,0.5); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(0,0,0,0.55); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.trust-strip span {
  display: inline-flex; align-items: center; padding: 0.35rem 0.75rem;
  border-radius: 999px; background: rgba(255,255,255,0.6); border: 1px solid var(--line);
  color: var(--ink-soft); font-weight: 600; font-size: 0.86rem;
}

.crumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 0.86rem; font-weight: 600; margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }

/* ---------- glass / panels ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.panel { border-radius: var(--r-lg); padding: 32px; }

/* ---------- hero ---------- */
.hero {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px; align-items: center;
  padding: clamp(40px, 7vw, 86px) 0 40px;
}
.hero-copy h1 { margin-top: 18px; }
.hero-copy .lede { margin-top: 22px; }

.hero-stage {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(120% 120% at 70% 20%, rgba(47,209,138,0.16), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #eef7f1 60%, #e4f4ec 100%);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-lg);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; }
.hero-canvas.ready { opacity: 1; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s ease; }
.hero-stage.canvas-on .hero-poster { opacity: 0; }

.float-card {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,0.82); border: 1px solid var(--glass-brd);
  border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
}
.float-card strong { display: block; font-weight: 800; }
.float-card b { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green); margin-bottom: 6px; }
.float-card small { color: var(--muted); }
.float-card--rank { top: 7%; right: 6%; }
.float-card--rank span { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-weight: 600; padding: 3px 0; }
.float-card--rank i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.float-card--pin { bottom: 8%; left: 6%; max-width: 220px; }
.ping { position: absolute; top: -7px; left: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--coral); opacity: 0.5; animation: ping 2.2s infinite; will-change: transform, opacity; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.5; } 70%, 100% { transform: scale(3.4); opacity: 0; } }

/* ---------- metrics ---------- */
.metrics {
  width: min(calc(100% - 32px), var(--max)); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 10px 0 30px;
}
.metric {
  text-align: center; padding: 24px 16px; border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--glass-brd); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.metric b { display: block; font-family: Fraunces, serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1; color: var(--green-d); }
.metric span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.86rem; font-weight: 600; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px; border-radius: var(--r-lg);
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); color: var(--ink);
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(47,209,138,0.12), transparent 60%);
  transition: opacity 0.35s;
}
.service-card:hover { box-shadow: var(--shadow); border-color: rgba(47,209,138,0.4); color: var(--ink); }
.service-card:hover::before { opacity: 1; }
.service-ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(47,209,138,0.16), rgba(20,184,196,0.12));
  color: var(--green); margin-bottom: 18px; border: 1px solid rgba(47,209,138,0.25);
}
.service-ic.big { width: 60px; height: 60px; }
.service-ic .ic { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0 0 18px; }
.card-link { margin-top: auto; font-weight: 700; color: var(--green); }
.service-card:hover .card-link { color: var(--green-d); }

/* ---------- locations band ---------- */
.locations-band { border-radius: var(--r-lg); padding: 40px; background: var(--glass); border: 1px solid var(--glass-brd); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.loc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.loc-chip {
  padding: 0.6rem 1.1rem; border-radius: 999px; font-weight: 700;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.loc-chip:hover { transform: translateY(-2px); color: var(--green-d); border-color: rgba(47,209,138,0.5); box-shadow: var(--shadow-sm); }

/* ---------- split / tools preview ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 20px; align-items: stretch; }
.tool-preview { display: grid; gap: 14px; }
.tp {
  padding: 22px 24px; border-radius: var(--r); color: #eafff5;
  background: linear-gradient(120deg, #0c2a1d, #0d4a31); border-left: 5px solid var(--mint);
  box-shadow: var(--shadow);
}
.tp:nth-child(2) { border-left-color: var(--gold); }
.tp:nth-child(3) { border-left-color: var(--cyan); }
.tp strong { display: block; font-size: 1.1rem; }
.tp span { display: block; color: #b9d8cb; margin-top: 4px; font-size: 0.92rem; }

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-card {
  border-radius: var(--r-lg); overflow: hidden; background: var(--panel);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; grid-template-rows: 170px 1fr;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.case-card:hover { box-shadow: var(--shadow); }
.case-image { position: relative; overflow: hidden; background: linear-gradient(135deg, #e8f7ef, #dff1ff); display: grid; place-items: end start; padding: 14px; }
.case-image.is-blank { background: var(--grad-brand); }
.case-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(12,31,24,0.5) 100%); z-index: 1; }
.case-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-type { position: relative; z-index: 2; background: rgba(255,255,255,0.92); color: var(--green-d); border-radius: 999px; padding: 0.3rem 0.7rem; font-weight: 800; font-size: 0.74rem; }
.case-metric { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--ink); color: #eafff5; border-radius: 999px; padding: 0.3rem 0.7rem; font-weight: 800; font-size: 0.74rem; }
.case-body { padding: 22px; }
.case-body h3 { font-size: 1.18rem; }
.case-body p { color: var(--ink-soft); font-size: 0.94rem; margin: 8px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.tags span { font-size: 0.74rem; font-weight: 700; color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 999px; padding: 0.24rem 0.6rem; }
.case-body > a { font-weight: 700; }

/* ---------- page hero ---------- */
.page-hero {
  width: min(calc(100% - 32px), var(--max)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px; align-items: center; padding: clamp(34px, 5vw, 64px) 0 30px;
}
.page-hero.compact { grid-template-columns: minmax(0, 820px); }
.page-hero h1 { margin-top: 16px; }

.service-visual { border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.service-visual strong { font-family: Fraunces, serif; font-size: 1.5rem; font-weight: 600; }
.service-visual > span:not(.service-ic) { color: var(--ink-soft); }
.outcome-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.outcome-list li { padding-left: 26px; position: relative; color: var(--ink-soft); font-weight: 600; }
.outcome-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.area-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.area-pills span, .area-link { font-size: 0.84rem; font-weight: 700; color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 999px; padding: 0.3rem 0.72rem; }
.area-link { transition: transform 0.2s var(--ease), color 0.2s, border-color 0.2s; }
.area-link:hover { transform: translateY(-2px); color: var(--green-d); border-color: rgba(47,209,138,0.5); }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-lg); position: relative; }
.price-card--feat { border-color: rgba(47,209,138,0.5); box-shadow: var(--shadow-lg); }
.price-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green-d); background: rgba(47,209,138,0.14); border: 1px solid rgba(47,209,138,0.3); border-radius: 999px; padding: 0.26rem 0.7rem; margin-bottom: 14px; }
.price-card h3 { font-size: 1.4rem; }
.price-amount { font-family: Fraunces, serif; font-size: 2rem; font-weight: 700; color: var(--green-d); margin: 6px 0 10px; }
.price-card > p { color: var(--ink-soft); }
.price-card .clean-list { margin: 16px 0 22px; }
.price-card .btn { margin-top: auto; }

/* ---------- check / clean lists ---------- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.check-grid span { display: flex; align-items: center; gap: 8px; padding: 0.55rem 0.8rem; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line-soft); color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; }
.check-grid span::before { content: "✓"; color: var(--green); font-weight: 900; }
.clean-list { padding-left: 0; list-style: none; margin: 18px 0 24px; }
.clean-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-soft); }
.clean-list li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-mint); }

.article-narrow { max-width: 820px; }
.lead-para { font-size: 1.12rem; color: var(--ink); }
.panel.glass p { color: var(--ink-soft); }
.panel.glass p + p { margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 56px 40px; text-align: center;
  background: linear-gradient(125deg, #0a2418 0%, #0d6b45 60%, #0f8a59 100%);
  box-shadow: var(--shadow-lg);
}
.cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; z-index: 0; }
.cta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; display: grid; gap: 18px; justify-items: center; }
.cta-inner h2 { color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); backdrop-filter: blur(8px); overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item[open] { border-color: rgba(47,209,138,0.45); box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; width: 16px; height: 16px; flex: none; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-mark::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-mark::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq-answer p { margin: 0; }

/* ---------- tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tool-card { border-radius: var(--r-lg); padding: 28px; }
.tool-card h2 { font-size: 1.3rem; margin-bottom: 16px; }
.checks { display: grid; gap: 10px; }
.checks label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.6); color: var(--ink-soft); cursor: pointer; }
.checks input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
.tool-card input, .tool-card textarea, .audit-form input, .audit-form textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; padding: 0.7rem 0.85rem; margin: 6px 0 12px; transition: border-color 0.2s, box-shadow 0.2s;
}
.tool-card input:focus, .tool-card textarea:focus, .audit-form input:focus, .audit-form textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(47,209,138,0.18); }
.tool-card textarea, .audit-form textarea { min-height: 120px; resize: vertical; }
.score-output, .tool-output { display: block; margin-top: 14px; padding: 16px; min-height: 56px; border-radius: 14px; background: linear-gradient(120deg, #0c2a1d, #0d4a31); color: #eafff3; white-space: pre-line; font-weight: 500; }

/* ---------- posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); }
.post-meta { display: flex; gap: 12px; color: var(--muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.post-card h2 { font-size: 1.3rem; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--green); }
.post-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 10px 0 18px; }
.post-card .card-link { margin-top: auto; }

/* ---------- article ---------- */
.article { width: min(calc(100% - 32px), 800px); margin: 0 auto; padding: clamp(34px, 5vw, 60px) 0; }
.article-head { margin-bottom: 28px; }
.article-head h1 { margin-top: 14px; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.article-body { color: var(--ink); font-size: 1.1rem; line-height: 1.8; }
.article-body h2 { font-size: 1.6rem; margin: 36px 0 12px; }
.article-body p { margin: 0 0 18px; }
.article-body ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.article-body li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.article-body li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-mint); }
.article-body a { font-weight: 700; text-decoration: underline; text-decoration-color: rgba(47,209,138,0.5); text-underline-offset: 3px; }
.article-faq { margin: 40px 0; }
.article-faq h2 { margin-bottom: 16px; }
.article-cta { margin-top: 40px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-brd); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article-cta strong { display: block; font-family: Fraunces, serif; font-size: 1.3rem; }
.article-cta p { margin: 4px 0 0; color: var(--ink-soft); }

/* ---------- form ---------- */
.audit-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.audit-form label { display: block; color: var(--ink-soft); font-weight: 700; font-size: 0.9rem; }
.audit-form .btn { width: 100%; margin-top: 6px; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 14px; border-radius: 12px; background: rgba(47,209,138,0.14); border: 1px solid rgba(47,209,138,0.4); color: var(--green-d); font-weight: 700; margin-bottom: 14px; }
.micro { color: var(--muted); font-size: 0.9rem; margin: 12px 0 0; }
.contact-card { align-self: start; border-radius: var(--r-lg); padding: 28px; }

/* ---------- footer ---------- */
.site-footer { width: min(calc(100% - 32px), var(--max)); margin: 40px auto 24px; padding: 44px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-brd); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 26px; }
.footer-brand .mark { margin-bottom: 14px; }
.footer-brand strong { display: block; font-family: Fraunces, serif; font-size: 1.4rem; }
.footer-brand p { color: var(--ink-soft); font-size: 0.94rem; margin: 10px 0 18px; max-width: 38ch; }
.footer-col h3 { font-family: Inter, sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-d); font-weight: 800; margin-bottom: 12px; }
.footer-col a { display: block; color: var(--ink-soft); font-weight: 600; padding: 5px 0; font-size: 0.95rem; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.footer-bottom a { font-weight: 700; }
.footer-contact { display: flex; gap: 16px; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: transform, opacity; }
.js .reveal[data-reveal="left"] { transform: translateX(-32px); }
.js .reveal[data-reveal="right"] { transform: translateX(32px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid rgba(20, 184, 196, 0.5); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 14px;
    background: rgba(255,255,255,0.95); border: 1px solid var(--glass-brd); border-radius: var(--r); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0.9rem; border-radius: 12px; }
  .nav .nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; border-radius: var(--r); }
  .hero, .page-hero, .split { grid-template-columns: 1fr; }
  .hero-stage { max-width: 480px; margin: 0 auto; }
  .page-hero.compact { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 40px 0; }
  .services, .case-grid, .posts, .metrics, .check-grid, .tool-grid, .footer-grid, .pricing-grid, .audit-form .field-row { grid-template-columns: 1fr; }
  .panel, .locations-band, .cta, .site-footer, .contact-card { padding: 24px; }
  .cta { padding: 40px 24px; }
  h1 { font-size: clamp(2.3rem, 9vw, 3rem); }
  .float-card--rank { right: 4%; padding: 10px 12px; }
  .float-card--pin { left: 4%; max-width: 180px; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .bg-mesh, .eyebrow .dot, .ping::after { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .service-card, .case-card, .loc-chip, .post-card { transition: none !important; }
}
