/* ============================================================
   SocialWeb, Design System
   Flat, professional agency look. No bubbly blocks.
   Dark theme, sharp corners, single accent color.
   ============================================================ */
:root {
  --bg: #0b1120;        /* main page background, deep navy-black */
  --bg-soft: #101728;   /* slightly lighter panel background */
  --bg-dark: #05070d;   /* darkest bands: footer, CTA */
  --bg-raised: #151d30; /* card/input surface, one step up from bg */

  --ink: #f4f6fb;       /* headings / primary text, near-white */
  --text: #b7bfd1;      /* body text, soft gray-blue */
  --muted: #7c869c;     /* secondary text */
  --line: #263047;      /* borders */

  --accent: #3d6cff;    /* brighter blue, pops on dark */
  --accent-dark: #2b52d6;
  --accent-soft: rgba(61, 108, 255, 0.14);

  --white: #ffffff;
  --radius: 0px;        /* flat, no rounded corners */
  --maxw: 1140px;
  --nav-h: 72px;
}

/* ============================ RESET / BASE ============================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); }

/* ============================ TYPOGRAPHY HELPERS ============================ */
.accent { color: var(--accent); }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ============================ BUTTONS (flat, rectangular) ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ============================ NAV ============================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(0,0,0,0.3); background: rgba(11, 17, 32, 0.98); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.16rem; color: var(--ink); letter-spacing: -0.02em; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  background: var(--accent); color: #fff; font-size: 1.15rem; font-weight: 900;
}
.brand-name em { font-style: normal; color: var(--accent); }
.brand-logo { height: 34px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-brand .brand-logo { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--text); font-weight: 500; font-size: 0.94rem; transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-links a:not(.btn).active { color: var(--accent); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: none;
  width: 44px; height: 44px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 0; transition: 0.3s; }
/* ============================ HERO ============================ */
.hero { border-bottom: 1px solid var(--line); background: var(--bg); padding: calc(var(--nav-h) + 72px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero-copy { text-align: left; max-width: 780px; }
.hero-copy .lead { margin-inline: 0; }
.hero-cta, .hero-proof { justify-content: flex-start; text-align: left; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: var(--ink); }
.hero-proof { text-align: left; }
.lead { color: var(--text); font-size: 1.12rem; margin: 22px 0 30px; max-width: 34ch; }
.lead strong { color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.proof-item { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.9rem; }
.proof-item .check { display: inline-grid; place-items: center; width: 20px; height: 20px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 0.75rem; }

/* Hero stat panel (flat, bordered) */
.hero-visual { display: flex; justify-content: center; }
.roi-card { width: 100%; max-width: 400px; border: 1px solid var(--line); background: var(--bg-soft); padding: 32px; }
.roi-card .roi-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.roi-card .roi-value { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); margin: 10px 0 4px; }
.roi-card .roi-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.roi-rows { border-top: 1px solid var(--line); }
.roi-row { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.roi-track { height: 8px; background: var(--line); }
.roi-fill { height: 100%; background: var(--accent); }
.roi-row .roi-pct { font-weight: 700; color: var(--ink); }

/* Hero visual (marketing funnel graphic) */

/* ============================ PAGE HERO (inner pages) ============================ */
.page-hero { padding: calc(var(--nav-h) + 64px) 0 56px; border-bottom: 1px solid var(--line); background: var(--bg-soft); text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: var(--ink); }
.page-hero p { color: var(--text); font-size: 1.08rem; max-width: 62ch; margin: 18px auto 0; }

/* ============================ STATS ============================ */
.stats { padding: 64px 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat { display: grid; gap: 8px; }
.stat-num { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.stat-label { color: var(--muted); font-size: 0.92rem; }

/* ============================ SECTION HEADS ============================ */
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.18; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
.section-head .sub { color: var(--text); margin-top: 14px; font-size: 1.05rem; }
/* ============================ SERVICES ============================ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.service-card {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.2s ease;
}
.service-grid .service-card:nth-child(3n) { border-right: none; }
.service-grid .service-card:nth-last-child(-n+3) { border-bottom: none; }
.service-card:hover { background: var(--bg-soft); }
.service-card .svc-num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--ink); }
.service-card p { color: var(--text); font-size: 0.94rem; }
.service-card .link-arrow { margin-top: 16px; }

/* ============================ INDUSTRIES ============================ */
.industry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.industry-item {
  padding: 18px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s ease;
}
.industry-item:nth-child(3n) { border-right: none; }
.industry-item:nth-last-child(-n+3) { border-bottom: none; }
.industry-item:hover { background: var(--bg-soft); }
.industry-item::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex-shrink: 0; }

/* ============================ PROCESS ============================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.process-step { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.process-grid .process-step:last-child { border-right: none; }
.process-grid .process-step:nth-last-child(-n+2) { border-bottom: none; }
.step-num { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--ink); }
.process-step p { color: var(--text); font-size: 0.92rem; }

/* ============================ CASE STUDIES ============================ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.work-card {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.2s ease;
}
.work-grid .work-card:nth-child(3n) { border-right: none; }
.work-grid .work-card:nth-last-child(-n+3) { border-bottom: none; }
.work-card:hover { background: var(--bg-soft); }
.work-metric { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); }
.work-metric:empty { display: none; }
.work-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.work-card h3 { font-size: 1.08rem; line-height: 1.4; color: var(--ink); }
.work-card p { color: var(--text); font-size: 0.93rem; flex: 1; }
.link-arrow { color: var(--accent); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease; }
.link-arrow:hover { gap: 12px; }
/* ============================ TESTIMONIALS ============================ */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.video-card { border: 1px solid var(--line); background: var(--bg); }
.vert-video { width: 100%; aspect-ratio: 9/16; max-height: 460px; object-fit: cover; background: #000; }
.video-card figcaption { padding: 14px 16px; display: grid; }
.video-card figcaption strong { font-size: 1rem; color: var(--ink); }
.video-card figcaption span { color: var(--muted); font-size: 0.85rem; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { border: 1px solid var(--line); background: var(--bg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar { display: inline-grid; place-items: center; width: 42px; height: 42px; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.review-head strong { display: block; font-size: 0.98rem; color: var(--ink); }
.review-head span.tag { color: var(--muted); font-size: 0.8rem; }
.r-stars { color: #f5b731; font-size: 0.9rem; letter-spacing: 2px; }
.review-card p { color: var(--text); font-size: 0.95rem; }

/* ============================ MARKETING FUNNEL ============================ */
.funnel-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.funnel-graphic { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.funnel-tier {
  position: relative;
  height: 60px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.15;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
  will-change: transform, filter;
  animation: funnelFlow 3.4s ease-in-out infinite;
}
.funnel-tier span { position: relative; z-index: 1; padding: 0 8px; }
.funnel-tier.t2 { animation-delay: .28s; }
.funnel-tier.t3 { animation-delay: .56s; }
.funnel-tier.t4 { animation-delay: .84s; }
.funnel-tier.t1 { width: 100%; background: #3d6cff; }
.funnel-tier.t2 { width: 84%; background: #4f6dfa; }
.funnel-tier.t3 { width: 68%; background: #7a6bf0; clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%); }
.funnel-tier.t4 {
  width: 54%;
  background: #ffb703;
  color: #0b1120;
  clip-path: polygon(0 0, 100% 0, 74% 100%, 26% 100%);
  height: 58px;
  font-weight: 800;
}
.funnel-tier.t4 span { padding: 0; }
.funnel-tier.t4 .rev-label {
  display: block; width: 100%; text-align: center;
  background: #0b1120; color: #ffd64d;
  padding: 5px 10px;
  font-size: 0.85rem;
  box-shadow: 0 0 22px rgba(255,183,3,.45);
}
.funnel-terminal {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: rgba(255,183,3,.1);
  border: 1px solid rgba(255,183,3,.5);
  color: #ffe9a8;
  font-weight: 800;
  letter-spacing: .03em;
  font-size: 1.05rem;
  box-shadow: 0 0 30px rgba(255,183,3,.18);
  animation: terminalPulse 2.6s ease-in-out infinite;
}
.funnel-terminal .t-coin {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  background: #ffb703; color: #0b1120;
  font-size: 1.2rem; font-weight: 900;
  flex-shrink: 0;
}
.funnel-terminal strong { color: #ffd64d; }
.funnel-terminal em { display: block; font-style: normal; font-weight: 600; font-size: 0.78rem; opacity: 0.75; margin-top: 2px; }
@keyframes funnelFlow {
  0%,100% { filter: brightness(1); transform: translateY(0); }
  50% { filter: brightness(1.22); transform: translateY(2px); }
}
@keyframes terminalPulse {
  0%,100% { box-shadow: 0 0 18px rgba(255,183,3,.15); }
  50% { box-shadow: 0 0 38px rgba(255,183,3,.4); }
}
@media (max-width: 640px) {
  .funnel-tier { font-size: 0.78rem; height: 52px; }
  .funnel-tier.t4 .rev-label { padding: 4px 8px; font-size: 0.72rem; }
  .funnel-terminal { font-size: 0.85rem; padding: 10px 14px; }
}

.funnel-steps { display: grid; gap: 20px; }
.funnel-step { display: flex; gap: 16px; align-items: flex-start; }
.funnel-step .fn-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}
.funnel-step h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.funnel-step p { color: var(--text); font-size: 0.92rem; }

/* funnel-cta replaced with mid-page booking calendar — see .section.section#mid-book */

/* ============================ FAQ ============================ */
.faq-list { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: var(--bg); }
.faq-list .faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--text); font-size: 0.95rem; }

/* ============================ CTA BAND ============================ */
.cta-band { padding: 96px 0; background: var(--bg-dark); color: var(--white); text-align: center; }
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-inner .eyebrow { color: #8fb0ff; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 18px; }
.cta-inner p { color: #c6d0e4; font-size: 1.08rem; margin: 0 auto 32px; max-width: 56ch; }
.cta-inner .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-inner .btn-primary { background: var(--accent); }
.cta-inner .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.35); }
.cta-inner .btn-ghost:hover { border-color: var(--white); color: var(--white); }
.cta-note { margin-top: 18px; color: #8a95ad; font-size: 0.85rem; }

/* ============================ CONTACT ============================ */
.contact { background: var(--bg); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.14; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; }
.contact-copy p { color: var(--text); font-size: 1.04rem; margin-bottom: 24px; }
.contact-points { display: grid; gap: 10px; margin-bottom: 28px; color: var(--text); }
.contact-points li { display: flex; align-items: center; gap: 10px; }
.contact-points li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.contact-alt { display: grid; gap: 8px; }
.contact-link { color: var(--accent); font-weight: 600; }
.contact-link:hover { text-decoration: underline; }

.contact-form { border: 1px solid var(--line); background: var(--bg-soft); padding: 34px; display: grid; gap: 12px; }
.contact-form h3 { font-size: 1.28rem; margin-bottom: 6px; color: var(--ink); }
.contact-form label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 13px 15px;
  transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { margin-top: 6px; }
.form-fineprint { text-align: center; color: var(--muted); font-size: 0.8rem; }
.form-success { text-align: center; padding: 20px; }

/* ============================ CONTENT BLOCK ============================ */
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.content-block .text h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.16; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 16px; }
.content-block .text p { color: var(--text); font-size: 1rem; margin-bottom: 16px; }
.content-block .text ul { display: grid; gap: 10px; margin-top: 18px; }
.content-block .text ul li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.content-block .text ul li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.result-card { border: 1px solid var(--line); background: var(--bg-soft); padding: 34px; text-align: center; }
.result-card .big { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); }
.result-card .small { color: var(--muted); margin-top: 6px; }
/* ============================ CLIENT PHOTOS ============================ */
.photo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); }
.photo-card { position: relative; aspect-ratio: 1/1; border-right: 1px solid var(--line); overflow: hidden; background: var(--bg-soft); }
.photo-grid .photo-card:last-child { border-right: none; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: filter 0.2s ease, transform 0.3s ease; }
.photo-card:hover img { filter: grayscale(0%); transform: scale(1.05); }
.photo-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; font-size: 0.78rem; font-weight: 600; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75)); }

/* ============================ LOGOS (ticker) ============================ */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; }
.logos-label { text-align: center; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 28px; }

.logo-ticker { position: relative; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; align-items: center; width: max-content; gap: 64px; animation: logo-scroll 34s linear infinite; }
.logo-ticker:hover .logo-track { animation-play-state: paused; }
.logo-row { display: flex; align-items: center; gap: 64px; flex-shrink: 0; }

.logo { font-weight: 700; color: var(--text); font-size: 1.15rem; padding: 16px 26px; border: 1px solid var(--line); background: var(--bg-raised); white-space: nowrap; }
.logo-chip { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 6px 12px; flex-shrink: 0; }
.logo-img { height: 100%; width: auto; max-width: 210px; object-fit: contain; opacity: 0.88; filter: brightness(1.08) contrast(1.08); transition: opacity 0.2s ease, transform 0.2s ease; }
.logo-chip:hover .logo-img, .logo-img:hover { opacity: 1; transform: scale(1.04); }

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-ticker { overflow-x: auto; }
}

/* ============================ FOOTER ============================ */
.site-footer { background: var(--bg-dark); color: #c6d0e4; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { background: var(--accent); }
.footer-brand p { color: #8a95ad; font-size: 0.92rem; margin: 16px 0 20px; max-width: 30ch; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.2); color: #c6d0e4; transition: 0.2s; }
.social-icons a:hover { border-color: var(--accent); color: #fff; background: var(--accent); }
.social-icons svg { width: 18px; height: 18px; fill: currentColor; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8a95ad; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #c6d0e4; font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #8a95ad; font-size: 0.85rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #8a95ad; }
.footer-legal a:hover { color: #fff; }

/* ============================ GOOGLE REVIEWS ============================ */.google-reviews-section {  padding: 36px 0 52px;  border-bottom: 1px solid var(--line);}.gr-badge {  display: flex;  align-items: center;  justify-content: center;  flex-wrap: wrap;  gap: 20px;  padding: 0 0 28px;  margin-bottom: 32px;}.gr-badge-left {  display: flex;  align-items: center;  gap: 12px;}.gr-google-icon {  flex-shrink: 0;  width: 32px;  height: 32px;}.gr-badge-info {  display: flex;  flex-direction: column;  gap: 2px;}.gr-stars {  display: flex;  gap: 2px;}.gr-stars span {  color: #fbbc04;  font-size: 1.05rem;  line-height: 1;}.gr-rating-text {  font-size: 0.8rem;  color: var(--muted);  font-weight: 500;  white-space: nowrap;}.gr-cta {  flex-shrink: 0;}.gr-carousel-wrap {  overflow: hidden;  position: relative;}.gr-carousel-controls {  display: flex;  align-items: center;  justify-content: center;  gap: 14px;  margin-bottom: 18px;}.gr-pause {  display: inline-flex;  align-items: center;  gap: 8px;  background: var(--bg-raised);  color: var(--ink);  border: 1px solid var(--line);  padding: 8px 16px;  font-size: 0.82rem;  font-weight: 600;  cursor: pointer;  transition: background 0.2s ease, border-color 0.2s ease;}.gr-pause:hover {  background: var(--bg-soft);  border-color: var(--accent);}.gr-pause-icon {  width: 14px;  height: 14px;  display: inline-block;  border-left: 4px solid var(--accent);  border-right: 4px solid var(--accent);  box-sizing: border-box;}.gr-pause[aria-pressed="true"] .gr-pause-icon {  border-left: none;  border-right: none;  border-top: 7px solid var(--accent);  border-bottom: 7px solid var(--accent);  width: 0;}.gr-swipe-hint {  font-size: 0.78rem;  color: var(--muted);}.gr-track {  display: flex;  gap: 16px;  animation: gr-scroll 140s linear infinite;  width: max-content;}.gr-track:hover {  animation-play-state: paused;}.gr-track.paused {  animation-play-state: paused;}
/* Touch / mobile: allow native horizontal swipe instead of forced auto-scroll */
.gr-carousel-wrap.touch {  overflow-x: auto;  -webkit-overflow-scrolling: touch;  scrollbar-width: none;  -ms-overflow-style: none;  overscroll-behavior-x: contain;}
.gr-carousel-wrap.touch::-webkit-scrollbar {  display: none;}
.gr-carousel-wrap.touch .gr-track {  animation: none;  width: max-content;}
.gr-carousel-wrap.touch .gr-card {  scroll-snap-align: start;}
.gr-carousel-wrap.touch {  scroll-snap-type: x proximity;}.gr-card {  background: var(--bg-raised);  border: 1px solid var(--line);  padding: 20px 22px;  min-width: 310px;  max-width: 340px;  flex-shrink: 0;  display: flex;  flex-direction: column;  gap: 12px;}.gr-card-stars {  display: flex;  gap: 2px;}.gr-card-stars span {  color: #fbbc04;  font-size: 1rem;}.gr-card-body {  font-size: 0.88rem;  color: var(--text);  line-height: 1.55;  font-style: italic;}.gr-card-author {  display: flex;  align-items: center;  gap: 10px;  margin-top: auto;  padding-top: 8px;  border-top: 1px solid var(--line);}.gr-card-avatar {  width: 36px;  height: 36px;  border-radius: 50%;  background: var(--accent);  color: var(--white);  display: flex;  align-items: center;  justify-content: center;  font-size: 0.72rem;  font-weight: 700;  flex-shrink: 0;}.gr-card-name {  font-size: 0.82rem;  font-weight: 700;  color: var(--ink);}.gr-card-source {  font-size: 0.7rem;  color: var(--muted);  display: flex;  align-items: center;  gap: 4px;}.gr-card-source svg {  width: 14px;  height: 14px;}.gr-card-source a {  color: var(--accent);  text-decoration: none;  font-weight: 600;}.gr-card-source a:hover {  color: var(--ink);  text-decoration: underline;}.gr-card-age {  white-space: nowrap;}@keyframes gr-scroll {  0%   { transform: translateX(0); }  100% { transform: translateX(-50%); }}@media (max-width: 640px) {  .gr-badge {    flex-direction: column;    text-align: center;    gap: 14px;    padding-bottom: 20px;  }  .gr-badge-left {    flex-direction: column;    align-items: center;  }  .gr-stars { justify-content: center; }  .gr-card { min-width: 270px; max-width: 280px; }}

/* ============================ TEAM ============================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.team-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-raised);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-photo .avatar {
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
}
.team-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.team-body h3 { color: var(--ink); font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.01em; }
.team-body .team-role { color: var(--accent); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.team-body p { color: var(--text); font-size: 0.9rem; line-height: 1.55; margin-top: 6px; }
.team-linkedin { margin-top: 10px; font-size: 0.85rem; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.team-linkedin:hover { color: var(--ink); }
/* ============================ BLOG ARTICLE ============================ */
.article { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.article .article-eyebrow { color: var(--accent); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 12px 0 12px; }
.article .article-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 28px; }
.article h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 32px 0 12px; }
.article p { color: var(--text); font-size: 1.02rem; line-height: 1.7; margin-bottom: 18px; }
.article ul { margin: 0 0 18px 0; padding-left: 20px; display: grid; gap: 10px; }
.article ul li { color: var(--text); font-size: 1.02rem; line-height: 1.6; }
.article ul li::marker { color: var(--accent); }
.article strong { color: var(--ink); }
.article .article-callout { border-left: 3px solid var(--accent); background: var(--bg-soft); padding: 20px 24px; margin: 24px 0; color: var(--text); }
.article .cta-inline { margin-top: 36px; text-align: center; }
.article a { color: var(--accent); text-decoration: none; }
.article a:hover { text-decoration: underline; }
.article-back { margin-bottom: 24px; }


/* ============================ RESPONSIVE ============================ */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta, .hero-proof { justify-content: center; text-align: center; }
  .service-grid, .work-grid, .review-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid .service-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .service-grid .service-card:nth-child(2n) { border-right: none; }
  .work-grid .work-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .work-grid .work-card:nth-child(2n) { border-right: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid .process-step:last-child { border-right: 1px solid var(--line); }
  .process-grid .process-step:nth-child(2n) { border-right: none; }
  .industry-list { grid-template-columns: repeat(2, 1fr); }
  .industry-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .industry-item:nth-child(2n) { border-right: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-grid .photo-card:nth-child(3n) { border-right: none; }
  .contact-wrap, .content-block, .funnel-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 28px;
    gap: 20px;
    transform: translateY(-140%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: block; padding: 10px 0; font-size: 1.02rem; }
  .nav-links .btn { width: 100%; justify-content: center; margin-top: 6px; }
  .service-grid, .work-grid, .review-grid, .video-grid, .process-grid, .industry-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid .photo-card:nth-child(2n) { border-right: none; }
  .service-grid .service-card, .work-grid .work-card, .process-grid .process-step, .industry-item { border-right: none; border-bottom: 1px solid var(--line); }
  .service-grid .service-card:last-child, .work-grid .work-card:last-child, .process-grid .process-step:last-child, .industry-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .logo-chip { height: 48px; padding: 4px 8px; }
  .logo-img { max-width: 150px; }
  .logo { font-size: 1rem; padding: 12px 18px; }
  .logo-track, .logo-row { gap: 40px; }
  .logo-track { animation-duration: 24s; }

  /* ---------- Sticky mobile opt-in CTA ---------- */
  body { padding-bottom: 84px; }
  .mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0; z-index: 200;
    background: var(--bg-dark);
    border-top: 1px solid var(--accent);
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(0,0,0,.4);
  }
  .mobile-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-cta-text { min-width: 0; }
  .mobile-cta-text strong { display: block; color: var(--ink); font-size: 0.9rem; line-height: 1.25; }
  .mobile-cta-text span { display: block; color: var(--muted); font-size: 0.72rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-cta-actions { display: flex; align-items: stretch; gap: 10px; flex-shrink: 0; }
  .mobile-cta-book { white-space: nowrap; padding: 12px 18px; font-size: 0.92rem; }
  .mobile-cta-call {
    width: 46px; height: 46px; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--bg-raised); color: var(--accent);
    border: 1px solid var(--line); transition: background .2s ease;
  }
  .mobile-cta-call:active { background: var(--bg-soft); }
}
@media (min-width: 641px) {
  .mobile-cta { display: none; }
}