/* Collin Digital Marketing — shared stylesheet
   Design tokens preserved from the original single-page site. */

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

:root {
  --bg: #080808; --surface: #111111; --surface2: #181818;
  --border: #222222; --accent: #2563EB; --accent-dim: #1d4ed8;
  --text: #FFFFFF; --text-muted: #888888; --text-dim: #555555;
  --gold: #F59E0B;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

/* ===== Nav ===== */
/* Scoped with :not(.breadcrumbs) — the breadcrumb bar is also a <nav>, and must
   stay in normal document flow rather than being pinned under the fixed header. */
nav:not(.breadcrumbs) { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 48px; background: rgba(8,8,8,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: padding 0.25s ease, box-shadow 0.25s ease; }
nav:not(.breadcrumbs).scrolled { padding: 12px 48px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav-logo svg { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #fff; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text-muted); margin: 3px 0; border-radius: 2px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; letter-spacing: 0.04em; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: #555; background: var(--surface); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: 8px; }
.btn .arr { display: inline-block; margin-left: 8px; transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ===== Hero ===== */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: left; padding: 120px 24px 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); translate: var(--px, 0) var(--py, 0); width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%); pointer-events: none; transition: translate 0.3s ease-out; animation: heroDrift 14s ease-in-out infinite; }
.hero-inner { display: flex; flex-direction: row; align-items: center; gap: 72px; max-width: 1100px; width: 100%; }
.hero-content { flex: 1; }
.hero-photo { flex-shrink: 0; width: 280px; }
.hero-photo img { width: 100%; border-radius: 20px; object-fit: cover; object-position: top center; aspect-ratio: 3/4; border: 1px solid rgba(37,99,235,0.25); box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(37,99,235,0.1); display: block; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px; font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 32px; animation: fadeUp 0.7s ease 0.1s both; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: block; }
.hero h1 { font-size: clamp(42px, 7vw, 88px); font-weight: 900; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 24px; max-width: 900px; animation: fadeUp 0.8s ease 0.25s both; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: clamp(16px, 2vw, 20px); color: var(--text-muted); max-width: 560px; margin: 0 0 40px; line-height: 1.7; animation: fadeUp 0.8s ease 0.45s both; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp 0.8s ease 0.65s both; }

/* Compact page hero for interior pages */
.page-hero { padding: 160px 48px 56px; max-width: 1100px; margin: 0 auto; position: relative; }
.page-hero h1 { font-size: clamp(34px, 5.5vw, 60px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; max-width: 860px; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lede { font-size: clamp(16px, 2vw, 19px); color: var(--text-muted); max-width: 640px; line-height: 1.7; margin-bottom: 32px; }

/* ===== Breadcrumbs ===== */
.breadcrumbs { position: static; display: block; max-width: 1100px; margin: 0 auto; padding: 116px 48px 0; font-size: 12px; color: var(--text-dim); letter-spacing: 0.04em; background: none; backdrop-filter: none; border-bottom: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumbs a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--text-muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--border); }
.breadcrumbs [aria-current] { color: var(--text-muted); }
.breadcrumbs + .page-hero { padding-top: 32px; }

/* ===== Stats bar ===== */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 48px; display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); display: block; }
.stat-number span { color: var(--accent); }
.stat-label { font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; display: block; }

/* ===== Sections ===== */
section { padding: 96px 48px; max-width: 1100px; margin: 0 auto; }
section.tight { padding: 64px 48px; }
.section-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 540px; line-height: 1.7; margin-bottom: 56px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ===== Prose (service / location / case study body copy) ===== */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 56px 0 16px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 36px 0 10px; }
.prose p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.prose p strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 20px 0; padding-left: 0; list-style: none; }
.prose ul li { font-size: 15px; color: var(--text-muted); line-height: 1.75; display: flex; gap: 10px; margin-bottom: 10px; }
.prose ul li::before { content: '→'; color: var(--accent); flex-shrink: 0; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; font-size: 15px; color: var(--text-muted); line-height: 1.75; display: flex; gap: 12px; margin-bottom: 10px; }
.prose ol li::before { content: counter(n) '.'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose .first { margin-top: 0; }

/* ===== Cards / grids ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.service-card { background: var(--surface); padding: 40px 32px; transition: background 0.2s; text-decoration: none; color: inherit; display: block; }
.service-card:hover { background: var(--surface2); }
.service-card.featured { background: var(--surface2); border-top: 2px solid var(--accent); }
.service-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.2); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 20px; }
.service-icon svg, .audience-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.service-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.service-list li { font-size: 13px; color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; }
.service-list li::before { content: '→'; color: var(--accent); font-size: 12px; margin-top: 1px; flex-shrink: 0; }

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.audience-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px; transition: border-color 0.2s; }
.audience-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.audience-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.audience-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Link cards (locations, trades, related pages) */
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.link-grid.two { grid-template-columns: repeat(2, 1fr); }
.link-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.link-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.45); box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(37,99,235,0.12); }
.link-card-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.link-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.link-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.link-card .go { font-size: 12px; font-weight: 600; color: var(--accent); margin-top: 18px; letter-spacing: 0.04em; }

/* ===== Results ===== */
.results-section { background: var(--surface); }
.results-section-inner { padding: 96px 48px; max-width: 1100px; margin: 0 auto; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.result-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 32px; position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.result-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); }
.result-client { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.result-headline { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.1; }
.result-detail { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.result-stats { display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.result-stat-num { font-size: 22px; font-weight: 800; display: block; }
.result-stat-label { font-size: 11px; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }

/* Inline proof block for service/location pages */
.proof-block { background: var(--surface); border: 1px solid var(--border); border-left: 2px solid var(--accent); border-radius: 12px; padding: 32px; margin: 40px 0; }
.proof-block .result-client { margin-bottom: 12px; }
.proof-block h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.proof-block p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.proof-block .result-stats { margin-top: 22px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-num { font-size: 72px; font-weight: 900; color: var(--border); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.testimonial-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.testimonial-name { font-size: 13px; font-weight: 600; }
.testimonial-role { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* ===== Logos ===== */
.logos-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 48px; text-align: center; }
.logos-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 28px; }
.logos-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; align-items: center; width: max-content; animation: marquee 32s linear infinite; }
.logos-track .logo-item { margin-right: 64px; white-space: nowrap; }
.logos-track:hover { animation-play-state: paused; }
.logo-item { font-size: 13px; font-weight: 700; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.5; transition: opacity 0.2s; }
.logo-item:hover { opacity: 1; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; }
.pricing-card.featured { border-color: var(--accent); background: var(--surface2); position: relative; overflow: hidden; }
.pricing-card.featured::before { content: ''; position: absolute; inset: -1px; border-radius: 12px; padding: 1px; background: conic-gradient(from var(--angle, 0deg), transparent 0%, rgba(96,165,250,0.9) 8%, transparent 18%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-border 4s linear infinite; pointer-events: none; }
.pricing-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 6px; }
.pricing-price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; flex: 1; }
.pricing-desc-tight { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.pricing-desc strong, .pricing-desc-tight strong { color: var(--text); }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pricing-list li { font-size: 13px; color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; }
.pricing-list li::before { content: '→'; color: var(--accent); font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.pricing-list li.highlight { color: var(--text); font-weight: 600; }
.pricing-note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--text-dim); }
.pricing-note strong { color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: transparent; border: none; color: var(--text); font-family: inherit; font-size: 16px; font-weight: 600; text-align: left; padding: 22px 40px 22px 0; cursor: pointer; position: relative; line-height: 1.5; }
.faq-q::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 20px; font-weight: 400; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { display: none; padding: 0 40px 24px 0; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: center; }
.about-photo-wrap { width: 240px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 3/4; flex-shrink: 0; }
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.about-text p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; max-width: 620px; }
.about-text p strong { color: var(--text); }
.about-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.about-fact { font-size: 12px; font-weight: 600; color: var(--text-muted); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px; background: var(--surface); }

/* ===== CTAs ===== */
.mid-cta { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px; text-align: center; }
.mid-cta p { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; max-width: 560px; margin-left: auto; margin-right: auto; }
.mid-cta strong { color: var(--text); }
.cta-wrap { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-section { text-align: center; padding: 120px 48px; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { font-size: clamp(32px, 5vw, 64px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.0; margin-bottom: 20px; max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-section h2 em { font-style: normal; color: var(--accent); }
.cta-section p { font-size: 17px; color: var(--text-muted); margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--border); padding: 40px 48px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-size: 13px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-dim); }
.footer-nav { max-width: 1100px; margin: 0 auto 28px; display: flex; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.footer-nav a { font-size: 12px; color: var(--text-dim); text-decoration: none; letter-spacing: 0.04em; }
.footer-nav a:hover { color: var(--text-muted); }

/* ===== Affiliate / Resources ===== */
.affiliate-card-full { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 20px; }
.affiliate-card-full:first-of-type { margin-top: 48px; }
.affiliate-card-header { display: flex; align-items: center; gap: 16px; padding: 28px 32px; border-bottom: 1px solid var(--border); }
.affiliate-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--accent); flex-shrink: 0; letter-spacing: 0.5px; }
.affiliate-card-meta { flex: 1; min-width: 0; }
.affiliate-brand { font-size: 16px; font-weight: 700; }
.affiliate-category { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.affiliate-badge { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.2); color: var(--accent); padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.affiliate-badge-soon { background: rgba(136,136,136,0.1); border-color: rgba(136,136,136,0.2); color: var(--text-muted); }
.affiliate-card-full .affiliate-card-desc { padding: 20px 32px 4px; font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.affiliate-links-list { padding: 0 32px 8px; }
.affiliate-link-row { display: flex; align-items: center; gap: 24px; padding: 18px 0; border-top: 1px solid var(--border); }
.affiliate-link-info { flex: 1; min-width: 0; }
.affiliate-link-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.affiliate-link-subdesc { font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.affiliate-cta { font-size: 12px; font-weight: 600; padding: 8px 18px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface2); color: var(--text-muted); text-decoration: none; transition: all 0.2s; white-space: nowrap; letter-spacing: 0.03em; flex-shrink: 0; }
.affiliate-cta:hover { border-color: var(--accent); color: var(--text); background: rgba(37,99,235,0.08); }
.affiliate-cta-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.affiliate-cta-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); color: #fff; }
.affiliate-card-full-soon { opacity: 0.6; }
.affiliate-disclosure { font-size: 12px; color: var(--text-dim); margin-top: 24px; }

/* ===== Booking ===== */
.calendly-wrap { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); min-height: 700px; }
.calendly-wrap iframe { width: 100%; min-height: 700px; border: 0; display: block; }

/* ===== 404 ===== */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 80px; }
.error-code { font-size: clamp(80px, 16vw, 180px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--border); }
.error-page h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -0.02em; margin: 8px 0 16px; }
.error-page p { font-size: 17px; color: var(--text-muted); max-width: 460px; margin: 0 auto 36px; line-height: 1.7; }

/* ===== Motion & polish ===== */
.service-card, .audience-card, .result-card, .pricing-card, .testimonial { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.service-card:hover, .audience-card:hover, .result-card:hover, .pricing-card:hover, .testimonial:hover { transform: translateY(-4px); }
.audience-card:hover, .result-card:hover, .pricing-card:hover, .testimonial:hover { border-color: rgba(37,99,235,0.45); box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(37,99,235,0.12); }
.service-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.tilt { will-change: transform; transform-style: preserve-3d; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroDrift { 0%, 100% { transform: translateX(-50%) translateY(0) scale(1); } 50% { transform: translateX(-42%) translateY(30px) scale(1.15); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --angle: 360deg; } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--accent), #60a5fa); z-index: 200; transition: width 0.1s linear; box-shadow: 0 0 12px rgba(37,99,235,0.6); }
.cursor-glow { position: fixed; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,0.10), transparent 70%); pointer-events: none; z-index: 1; transform: translate(-50%,-50%); opacity: 0; transition: opacity 0.4s ease; will-change: transform; }
.cursor-glow.active { opacity: 1; }
.grain { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero h1, .hero p, .hero-cta, .hero::before, .logos-track { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .service-card, .audience-card, .result-card, .pricing-card, .testimonial, .btn, .btn .arr { transition: none !important; }
  .service-card:hover, .audience-card:hover, .result-card:hover, .pricing-card:hover, .testimonial:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  .cursor-glow, .scroll-progress { display: none !important; }
  .pricing-card.featured::before { animation: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav:not(.breadcrumbs) { padding: 16px 20px; }
  nav:not(.breadcrumbs).scrolled { padding: 12px 20px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: rgba(8,8,8,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 8px 20px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 14px; width: 100%; }
  .nav-links a.btn { margin-top: 10px; width: 100%; }
  section, section.tight { padding: 72px 20px; }
  .page-hero { padding: 130px 20px 40px; }
  .breadcrumbs { padding: 100px 20px 0; }
  .breadcrumbs + .page-hero { padding-top: 24px; }
  .stats-bar { gap: 40px; padding: 32px 20px; }
  .services-grid, .results-grid, .steps, .testimonials-grid, .link-grid, .link-grid.two, .audience-grid, .pricing-grid { grid-template-columns: 1fr; }
  footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 100px 20px 60px; }
  .hero-inner { flex-direction: column-reverse; gap: 36px; }
  .hero-content { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-photo { width: 180px; }
  .cta-section { padding: 80px 20px; }
  .mid-cta { padding: 40px 20px; }
  .logos-section { padding: 32px 20px; }
  .results-section-inner { padding: 72px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo-wrap { max-width: 180px; }
  .proof-block { padding: 24px; }
  .affiliate-card-header { padding: 20px; flex-wrap: wrap; }
  .affiliate-links-list { padding: 0 20px 8px; }
  .affiliate-link-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .affiliate-card-full .affiliate-card-desc { padding: 16px 20px 4px; }
}
