/* ==========================================================================
   Hire Technical SEO Expert — bespoke page design.
   Namespaced under `.htc-`. Visual language: crawl graphs, terminals,
   pipelines, audit report gauges — systems-engineering feel, distinct
   from the map/local pages and the search-console SEO Expert page.
   ========================================================================== */

.htc-page { background: var(--sap-white); overflow-x: clip; }
.htc-page section { position: relative; }
.htc-eyebrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--sap-font-heading); font-weight: 700; font-size: .78rem;
	letter-spacing: .12em; text-transform: uppercase; color: var(--sap-primary);
	margin-bottom: 1.1rem;
}
.htc-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--sap-primary); display: inline-block; }
.htc-mono { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; }

/* --------------------------------------------------------------------
   1. HERO — dark, crawl-graph node network
   -------------------------------------------------------------------- */
.htc-hero { position: relative; overflow: hidden; background: #0a0d12; color: #fff; padding: calc(var(--sap-header-height) + 5rem) 0 5.5rem; }
.htc-hero__grid { position: absolute; inset: 0; z-index: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, black, transparent); }
.htc-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.htc-hero__kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem .5rem .6rem; border-radius: var(--sap-radius-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 1.75rem; }
.htc-hero__kicker span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sap-primary); box-shadow: 0 0 0 4px rgba(254,109,13,.2); flex-shrink: 0; }
.htc-hero__title { font-family: var(--sap-font-heading); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 1.6rem; color: #fff; }
.htc-hero__title .accent { color: var(--sap-primary); }
.htc-hero__text { font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,.65); max-width: 520px; margin-bottom: 2.25rem; }
.htc-hero__actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.htc-hero__secondary { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; transition: border-color .2s ease, color .2s ease, gap .2s ease; }
.htc-hero__secondary:hover { border-color: var(--sap-primary); color: var(--sap-primary); gap: .75rem; }

/* Crawl-graph visual */
.htc-crawl { position: relative; height: 380px; }
.htc-crawl svg { width: 100%; height: 100%; }
.htc-crawl__node-label { position: absolute; font-family: var(--sap-font-heading); font-weight: 700; font-size: .68rem; padding: .3rem .55rem; border-radius: var(--sap-radius-sm); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.75); }
.htc-crawl__node-label--ok { color: #5FD68A; border-color: rgba(95,214,138,.35); }
.htc-crawl__node-label--warn { color: var(--sap-primary); border-color: rgba(254,109,13,.4); }
.htc-crawl__node-label--1 { top: 6%; left: 4%; }
.htc-crawl__node-label--2 { top: 4%; right: 8%; }
.htc-crawl__node-label--3 { bottom: 30%; left: -2%; }
.htc-crawl__node-label--4 { bottom: 8%; right: 4%; }
.htc-crawl__node-label--5 { bottom: 4%; left: 32%; }

/* --------------------------------------------------------------------
   2. PROBLEM — terminal diagnostic list
   -------------------------------------------------------------------- */
.htc-problem { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.htc-problem__head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.htc-problem__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.htc-problem__head .accent { color: var(--sap-primary); }
.htc-problem__head p { color: var(--sap-muted); }

.htc-terminal { max-width: 860px; margin: 0 auto; background: #12161c; border-radius: var(--sap-radius-lg); box-shadow: var(--sap-shadow-lg); overflow: hidden; }
.htc-terminal__bar { display: flex; align-items: center; gap: .4rem; padding: .85rem 1.1rem; background: #1a1f27; border-bottom: 1px solid rgba(255,255,255,.06); }
.htc-terminal__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.htc-terminal__title { margin-left: .75rem; font-size: .78rem; color: rgba(255,255,255,.4); }
.htc-terminal__body { padding: 1.5rem 1.75rem 1.75rem; }
.htc-terminal__line { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.htc-terminal__line:last-child { border-bottom: none; }
.htc-terminal__status { font-weight: 700; font-size: .82rem; }
.htc-terminal__status--err { color: #FF6B6B; }
.htc-terminal__status--warn { color: var(--sap-primary); }
.htc-terminal__msg { color: rgba(255,255,255,.85); font-size: .92rem; }
.htc-terminal__msg strong { display: block; font-family: var(--sap-font-heading); font-weight: 700; margin-bottom: .2rem; color: #fff; }
.htc-terminal__msg span { color: rgba(255,255,255,.5); font-size: .84rem; }

/* --------------------------------------------------------------------
   3. SOLUTION — crawl > index > rank pipeline
   -------------------------------------------------------------------- */
.htc-pipeline { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.htc-pipeline__head { max-width: 640px; margin: 0 auto 4rem; text-align: center; }
.htc-pipeline__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.htc-pipeline__head p { color: var(--sap-muted); }

.htc-pipeline__row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0 1rem; max-width: 1040px; margin: 0 auto; }
.htc-pipeline__stage { background: var(--sap-bg-tint); border-radius: var(--sap-radius-lg); padding: 1.75rem; }
.htc-pipeline__stage-num { font-family: var(--sap-font-heading); font-weight: 800; color: var(--sap-primary); font-size: .8rem; letter-spacing: .06em; margin-bottom: .5rem; display: block; }
.htc-pipeline__stage h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.htc-pipeline__stage ul { display: flex; flex-direction: column; gap: .5rem; }
.htc-pipeline__stage li { font-size: .86rem; color: var(--sap-muted); padding-left: 1rem; position: relative; }
.htc-pipeline__stage li::before { content: ''; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--sap-primary); }
.htc-pipeline__arrow { display: flex; align-items: center; justify-content: center; padding-top: 3.2rem; color: var(--sap-border); }
.htc-pipeline__arrow svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------
   4. TECHNICAL SEO SERVICES — asymmetric dark bento
   -------------------------------------------------------------------- */
.htc-bento { padding: var(--sap-section-space) 0; background: var(--sap-dark); color: #fff; }
.htc-bento__head { max-width: 620px; margin-bottom: 3.5rem; }
.htc-bento__head .htc-eyebrow { color: var(--sap-accent); }
.htc-bento__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.htc-bento__head p { color: rgba(255,255,255,.6); }
.htc-bento__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 1.25rem; }
.htc-bento__tile { position: relative; border-radius: var(--sap-radius-lg); padding: 1.6rem; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: background .3s ease, border-color .3s ease, transform .3s ease; }
.htc-bento__tile:hover { background: rgba(255,255,255,.07); border-color: rgba(254,109,13,.4); transform: translateY(-4px); }
.htc-bento__tile--wide { grid-column: span 2; }
.htc-bento__tile-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--sap-primary); display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.htc-bento__tile-icon svg { width: 20px; height: 20px; }
.htc-bento__tile h3 { font-size: 1rem; margin-bottom: .3rem; color: #fff; }
.htc-bento__tile p { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 0; }

/* --------------------------------------------------------------------
   5. TECHNICAL AUDIT SPOTLIGHT — report-card gauges
   -------------------------------------------------------------------- */
.htc-audit { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.htc-audit__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.htc-audit__content .htc-eyebrow { color: var(--sap-primary); }
.htc-audit__content h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); margin-bottom: 1rem; }
.htc-audit__content p { color: var(--sap-muted); line-height: 1.7; margin-bottom: 0; }

.htc-report { background: var(--sap-bg-tint); border-radius: var(--sap-radius-lg); padding: 1.75rem; }
.htc-report__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--sap-border); }
.htc-report__row:last-child { border-bottom: none; }
.htc-report__label { font-size: .88rem; font-weight: 600; }
.htc-report__bar { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: var(--sap-border); overflow: hidden; margin-top: -.4rem; }
.htc-report__bar span { display: block; height: 100%; background: var(--sap-gradient); border-radius: 4px; }
.htc-report__score { font-family: var(--sap-font-heading); font-weight: 800; font-size: .95rem; color: var(--sap-primary); }

/* --------------------------------------------------------------------
   6. PROCESS — flowchart pipeline (right-angle connectors)
   -------------------------------------------------------------------- */
.htc-process { padding: var(--sap-section-space) 0; background: var(--sap-secondary); color: #fff; }
.htc-process__head { max-width: 620px; margin: 0 auto 4rem; text-align: center; }
.htc-process__head .htc-eyebrow { color: var(--sap-accent); }
.htc-process__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.htc-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.htc-flow__node { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--sap-radius-md); padding: 1.25rem 1rem; text-align: center; position: relative; }
.htc-flow__node::after { content: ''; position: absolute; top: 50%; right: -.55rem; width: .55rem; height: 1px; background: rgba(255,109,13,.4); }
.htc-flow__node:last-child::after { display: none; }
.htc-flow__num { font-family: var(--sap-font-heading); font-weight: 800; color: var(--sap-primary); font-size: .78rem; display: block; margin-bottom: .4rem; }
.htc-flow__node h3 { font-size: .88rem; margin-bottom: .3rem; color: #fff; }
.htc-flow__node p { font-size: .74rem; color: rgba(255,255,255,.5); margin-bottom: 0; }

/* --------------------------------------------------------------------
   7. WHY HIRE — manifesto list
   -------------------------------------------------------------------- */
.htc-why { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.htc-why__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; }
.htc-why__statement { font-family: var(--sap-font-heading); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; align-self: start; position: sticky; top: calc(var(--sap-header-height) + 2rem); }
.htc-why__statement .accent { color: var(--sap-primary); }
.htc-why__list { display: flex; flex-direction: column; }
.htc-why-item { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--sap-border); }
.htc-why-item:last-child { border-bottom: 1px solid var(--sap-border); }
.htc-why-item__mark { color: var(--sap-primary); }
.htc-why-item__mark svg { width: 20px; height: 20px; }
.htc-why-item h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.htc-why-item p { font-size: .88rem; color: var(--sap-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------
   8. WHO BENEFITS — square tag grid
   -------------------------------------------------------------------- */
.htc-who { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.htc-who__head { max-width: 620px; margin: 0 auto 2.5rem; text-align: center; }
.htc-who__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.htc-who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 940px; margin: 0 auto; }
.htc-who-tag { background: var(--sap-white); border: 1px solid var(--sap-border); border-radius: var(--sap-radius-md); padding: 1.25rem; display: flex; align-items: center; gap: .8rem; transition: border-color .2s ease, transform .2s ease; }
.htc-who-tag:hover { border-color: var(--sap-primary); transform: translateY(-3px); }
.htc-who-tag svg { width: 20px; height: 20px; color: var(--sap-primary); flex-shrink: 0; }
.htc-who-tag span { font-size: .88rem; font-weight: 600; }

/* --------------------------------------------------------------------
   9. ENGAGEMENT — 3-panel
   -------------------------------------------------------------------- */
.htc-engage { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.htc-engage__head { max-width: 620px; margin: 0 auto 3rem; text-align: center; }
.htc-engage__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.htc-engage__head p { color: var(--sap-muted); }
.htc-engage__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.htc-engage-panel { border-radius: var(--sap-radius-lg); padding: 2.25rem; border: 1px solid var(--sap-border); }
.htc-engage-panel--dark { background: var(--sap-dark); color: #fff; border-color: transparent; }
.htc-engage-panel__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sap-primary); margin-bottom: .8rem; }
.htc-engage-panel h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.htc-engage-panel--dark h3 { color: #fff; }
.htc-engage-panel p { color: var(--sap-muted); font-size: .88rem; line-height: 1.6; margin-bottom: 1.1rem; }
.htc-engage-panel--dark p { color: rgba(255,255,255,.6); }
.htc-engage-panel__link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; color: var(--sap-primary); }
.htc-engage-panel--dark .htc-engage-panel__link { color: #fff; }
.htc-engage-panel__link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.htc-engage-panel:hover .htc-engage-panel__link svg { transform: translateX(4px); }

/* --------------------------------------------------------------------
   10. TOOLS — marquee
   -------------------------------------------------------------------- */
.htc-tools { padding: 3.5rem 0; background: #0a0d12; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.htc-tools__label { text-align: center; color: rgba(255,255,255,.45); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.75rem; }
.htc-tools__track { display: flex; gap: 3.5rem; width: max-content; animation: htcMarquee 32s linear infinite; }
.htc-tools__item { font-family: var(--sap-font-heading); font-weight: 700; font-size: 1.2rem; color: rgba(255,255,255,.35); white-space: nowrap; display: flex; align-items: center; gap: .6rem; }
.htc-tools__item svg { width: 18px; height: 18px; color: var(--sap-primary); flex-shrink: 0; }
@keyframes htcMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------- */
.htc-faq { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.htc-faq__layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; }
.htc-faq__sticky { position: sticky; top: calc(var(--sap-header-height) + 2rem); align-self: start; }
.htc-faq__sticky h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.htc-faq__sticky p { color: var(--sap-muted); }
.htc-faq__list { border-top: 1px solid var(--sap-border); }
.htc-faq-item { border-bottom: 1px solid var(--sap-border); }
.htc-faq-item__trigger { width: 100%; display: grid; grid-template-columns: 3rem 1fr 1.5rem; align-items: center; gap: 1.25rem; padding: 1.5rem 0; text-align: left; }
.htc-faq-item__num { font-family: var(--sap-font-heading); font-weight: 800; color: var(--sap-primary); font-size: .85rem; }
.htc-faq-item__q { font-size: 1.02rem; font-weight: 600; }
.htc-faq-item__icon { width: 20px; height: 20px; color: var(--sap-muted); transition: transform .3s ease; flex-shrink: 0; }
.htc-faq-item__trigger[aria-expanded="true"] .htc-faq-item__icon { transform: rotate(45deg); color: var(--sap-primary); }
.htc-faq-item__panel { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.htc-faq-item__panel p { padding: 0 0 1.5rem 4.25rem; color: var(--sap-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 0; max-width: 620px; }

/* --------------------------------------------------------------------
   12. RELATED SERVICES
   -------------------------------------------------------------------- */
.htc-related { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.htc-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.htc-related__head h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 0; }
.htc-related__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.htc-related-card { background: var(--sap-white); border: 1px solid var(--sap-border); border-radius: var(--sap-radius-lg); padding: 1.6rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.htc-related-card:hover { transform: translateY(-4px); box-shadow: var(--sap-shadow-md); border-color: transparent; }
.htc-related-card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sap-bg-tint); color: var(--sap-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.htc-related-card__icon svg { width: 20px; height: 20px; }
.htc-related-card h3 { font-size: .95rem; margin-bottom: 0; line-height: 1.4; }

/* --------------------------------------------------------------------
   13. FINAL CTA
   -------------------------------------------------------------------- */
.htc-final { position: relative; overflow: hidden; background: #0a0d12; color: #fff; text-align: center; padding: 6rem 0; }
.htc-final__glow { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 900px; height: 700px; background: var(--sap-primary); opacity: .16; filter: blur(120px); border-radius: 50%; }
.htc-final__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.htc-final h2 { font-family: var(--sap-font-heading); font-weight: 800; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.15; color: #fff; margin-bottom: 1.25rem; }
.htc-final p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 2.5rem; }
.htc-final__actions { display: flex; align-items: center; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }
.htc-final__secondary { color: #fff; font-weight: 700; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; transition: border-color .2s ease, color .2s ease; }
.htc-final__secondary:hover { border-color: var(--sap-primary); color: var(--sap-primary); }

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.htc-hero__inner { grid-template-columns: 1fr; }
	.htc-crawl { height: 280px; }
	.htc-pipeline__row { grid-template-columns: 1fr; }
	.htc-pipeline__arrow { transform: rotate(90deg); padding: .5rem 0; }
	.htc-bento__grid { grid-template-columns: repeat(2, 1fr); }
	.htc-audit__layout { grid-template-columns: 1fr; }
	.htc-audit__visual { order: -1; max-width: 460px; margin: 0 auto 1rem; }
	.htc-flow { grid-template-columns: repeat(3, 1fr); row-gap: 1.5rem; }
	.htc-flow__node::after { display: none; }
	.htc-why__layout { grid-template-columns: 1fr; }
	.htc-why__statement { position: static; margin-bottom: 2rem; }
	.htc-who__grid { grid-template-columns: repeat(2, 1fr); }
	.htc-engage__grid { grid-template-columns: 1fr; }
	.htc-faq__layout { grid-template-columns: 1fr; }
	.htc-faq__sticky { position: static; margin-bottom: 2rem; }
	.htc-related__rail { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.htc-flow { grid-template-columns: repeat(2, 1fr); }
	.htc-who__grid { grid-template-columns: 1fr; }
	.htc-related__rail { grid-template-columns: 1fr; }
	.htc-faq-item__panel p { padding-left: 0; }
	.htc-faq-item__trigger { grid-template-columns: 2.25rem 1fr 1.25rem; }
	.htc-terminal__line { grid-template-columns: 1fr; gap: .3rem; }
}
