/* ==========================================================================
   Hire E-commerce SEO Expert — bespoke page design. Namespaced `.hec-`.
   Visual language: search→product→purchase journey, category hierarchy,
   faceted navigation, conversion funnel — commerce without looking like
   an actual storefront.
   ========================================================================== */

.hec-page { background: var(--sap-white); overflow-x: clip; }
.hec-page section { position: relative; }
.hec-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; }
.hec-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--sap-primary); display: inline-block; }

/* --------------------------------------------------------------------
   1. HERO — light, search > product > purchase journey
   -------------------------------------------------------------------- */
.hec-hero { position: relative; overflow: hidden; background: var(--sap-bg-tint); padding: calc(var(--sap-header-height) + 5rem) 0 5rem; }
.hec-hero__grid { position: absolute; inset: 0; z-index: 0; opacity: .5; background-image: linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(ellipse 70% 60% at 75% 25%, black, transparent); }
.hec-hero__inner { position: relative; z-index: 1; }
.hec-hero__content { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.hec-hero__kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: var(--sap-radius-pill); background: var(--sap-white); border: 1px solid var(--sap-border); font-size: .8rem; font-weight: 600; color: var(--sap-secondary); box-shadow: var(--sap-shadow-sm); margin-bottom: 1.75rem; }
.hec-hero__title { font-family: var(--sap-font-heading); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1.4rem; }
.hec-hero__title .accent { color: var(--sap-primary); }
.hec-hero__text { font-size: 1.06rem; line-height: 1.7; color: var(--sap-muted); margin: 0 auto 2rem; max-width: 560px; }
.hec-hero__actions { display: flex; align-items: center; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }
.hec-hero__secondary { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; color: var(--sap-text); border-bottom: 1px solid var(--sap-border); padding-bottom: 3px; }
.hec-hero__secondary:hover { border-color: var(--sap-primary); color: var(--sap-primary); }

.hec-journey { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; max-width: 880px; margin: 0 auto; flex-wrap: wrap; }
.hec-journey__stop { background: var(--sap-white); border: 1px solid var(--sap-border); border-radius: var(--sap-radius-lg); padding: 1.5rem 1.75rem; box-shadow: var(--sap-shadow-md); text-align: center; flex: 1 1 200px; position: relative; }
.hec-journey__stop-icon { width: 44px; height: 44px; border-radius: var(--sap-radius-md); background: var(--sap-gradient); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto .9rem; }
.hec-journey__stop-icon svg { width: 22px; height: 22px; }
.hec-journey__stop h3 { font-size: .95rem; margin-bottom: .2rem; }
.hec-journey__stop p { font-size: .78rem; color: var(--sap-muted); margin-bottom: 0; }
.hec-journey__arrow { flex: 0 0 auto; color: var(--sap-primary); display: flex; align-items: center; }
.hec-journey__arrow svg { width: 22px; height: 22px; }
.hec-journey__dot { position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--sap-primary); animation: hecTravel 4.5s ease-in-out infinite; }
@keyframes hecTravel { 0%, 100% { transform: translateX(-160px); opacity: 0; } 10% { opacity: 1; } 45% { transform: translateX(0); opacity: 1; } 55% { opacity: 1; } 90% { transform: translateX(160px); opacity: 1; } }

/* --------------------------------------------------------------------
   2. PROBLEM — product audit grid
   -------------------------------------------------------------------- */
.hec-problem { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hec-problem__head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.hec-problem__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hec-problem__head .accent { color: var(--sap-primary); }
.hec-problem__head p { color: var(--sap-muted); }
.hec-audit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 980px; margin: 0 auto; }
.hec-audit-tile { background: var(--sap-bg-tint); border-radius: var(--sap-radius-lg); padding: 1.5rem; position: relative; }
.hec-audit-tile__thumb { aspect-ratio: 4/3; border-radius: var(--sap-radius-md); background: linear-gradient(135deg, var(--sap-border), #EFEAE0); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; color: var(--sap-muted); }
.hec-audit-tile__thumb svg { width: 34px; height: 34px; }
.hec-audit-tile__badge { position: absolute; top: 1.1rem; right: 1.1rem; font-size: .68rem; font-weight: 700; padding: .3rem .6rem; border-radius: var(--sap-radius-pill); background: rgba(255,107,107,.12); color: #E24444; }
.hec-audit-tile h3 { font-size: .95rem; margin-bottom: .3rem; }
.hec-audit-tile p { font-size: .82rem; color: var(--sap-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------
   3. SOLUTION — category hierarchy tree
   -------------------------------------------------------------------- */
.hec-hierarchy { padding: var(--sap-section-space) 0; background: var(--sap-dark); color: #fff; }
.hec-hierarchy__head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.hec-hierarchy__head .hec-eyebrow { color: var(--sap-accent); }
.hec-hierarchy__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.hec-hierarchy__head p { color: rgba(255,255,255,.6); }
.hec-tree { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.hec-tree__level { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; width: 100%; }
.hec-tree__node { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--sap-radius-md); padding: .8rem 1.25rem; font-size: .85rem; font-weight: 600; }
.hec-tree__node--root { background: var(--sap-gradient); border-color: transparent; font-size: .95rem; }
.hec-tree__connector { width: 2px; height: 20px; background: rgba(255,255,255,.15); }

/* --------------------------------------------------------------------
   4. SERVICES — product-shelf scroll rail
   -------------------------------------------------------------------- */
.hec-shelf { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }

.hec-shelf__head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.hec-shelf__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hec-shelf__head p { color: var(--sap-muted); }
.hec-shelf__rail { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .5rem .5rem 1rem; }
.hec-shelf__rail { scrollbar-width: none; -ms-overflow-style: none; }
.hec-shelf__rail::-webkit-scrollbar { display: none; }
.hec-shelf__rail {
	mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%);
	-webkit-mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%);
}

.hec-shelf-card { scroll-snap-align: start; flex: 0 0 auto; width: 230px; background: var(--sap-white); border: 1px solid var(--sap-border); border-radius: var(--sap-radius-lg); padding: 1.5rem; transition: transform .25s ease, box-shadow .25s ease; }
.hec-shelf-card:hover { transform: translateY(-4px); box-shadow: var(--sap-shadow-md); }
.hec-shelf-card__icon { width: 42px; height: 42px; border-radius: var(--sap-radius-md); background: var(--sap-bg-tint); color: var(--sap-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.hec-shelf-card__icon svg { width: 21px; height: 21px; }
.hec-shelf-card h3 { font-size: .95rem; margin-bottom: .4rem; }
.hec-shelf-card p { font-size: .82rem; color: var(--sap-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------
   5. TECHNICAL E-COMMERCE SEO — faceted nav diagram
   -------------------------------------------------------------------- */
.hec-faceted { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hec-faceted__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hec-faceted__content .hec-eyebrow { color: var(--sap-primary); }
.hec-faceted__content h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); margin-bottom: 1rem; }
.hec-faceted__content p { color: var(--sap-muted); line-height: 1.7; margin-bottom: 0; }
.hec-facet-diagram { background: var(--sap-bg-tint); border-radius: var(--sap-radius-lg); padding: 2rem; }
.hec-facet-diagram__root { background: var(--sap-white); border: 1px solid var(--sap-border); border-radius: var(--sap-radius-md); padding: .9rem 1.25rem; text-align: center; font-size: .88rem; font-weight: 700; margin: 0 auto 1.25rem; max-width: 220px; }
.hec-facet-diagram__branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.hec-facet-diagram__branch { background: var(--sap-white); border: 1px dashed var(--sap-border); border-radius: var(--sap-radius-sm); padding: .6rem; text-align: center; font-size: .72rem; color: var(--sap-muted); }
.hec-facet-diagram__branch--canon { border-style: solid; border-color: var(--sap-primary); color: var(--sap-primary); font-weight: 700; }
.hec-facet-diagram__note { text-align: center; font-size: .74rem; color: var(--sap-muted); margin-top: 1rem; }

/* --------------------------------------------------------------------
   6. CONVERSION-FOCUSED SEO — intent funnel
   -------------------------------------------------------------------- */
.hec-funnel { padding: var(--sap-section-space) 0; background: var(--sap-secondary); color: #fff; }
.hec-funnel__head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.hec-funnel__head .hec-eyebrow { color: var(--sap-accent); }
.hec-funnel__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.hec-funnel__head p { color: rgba(255,255,255,.6); }
.hec-funnel__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto; }
.hec-funnel__stage { text-align: center; padding: 1.75rem 1.25rem; border-radius: var(--sap-radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.hec-funnel__stage--commercial { background: rgba(254,109,13,.1); border-color: rgba(254,109,13,.3); }
.hec-funnel__stage-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sap-primary); margin-bottom: .6rem; display: block; }
.hec-funnel__stage h3 { font-size: 1rem; margin-bottom: .4rem; color: #fff; }
.hec-funnel__stage p { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 0; }

/* --------------------------------------------------------------------
   7. PROCESS — conveyor path
   -------------------------------------------------------------------- */
.hec-conveyor { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hec-conveyor__head { max-width: 620px; margin: 0 auto 4rem; text-align: center; }
.hec-conveyor__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hec-belt { position: relative; max-width: 1080px; margin: 0 auto; }
.hec-belt::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 3px; background: repeating-linear-gradient(90deg, var(--sap-border) 0 10px, transparent 10px 20px); }
.hec-belt__steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.hec-belt__step { text-align: center; }
.hec-belt__num { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 1.1rem; display: flex; align-items: center; justify-content: center; background: var(--sap-gradient); color: #fff; font-family: var(--sap-font-heading); font-weight: 800; font-size: .82rem; box-shadow: 0 0 0 6px var(--sap-white); }
.hec-belt__step h3 { font-size: .92rem; margin-bottom: .35rem; }
.hec-belt__step p { font-size: .76rem; color: var(--sap-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------
   8. PLATFORMS SUPPORTED
   -------------------------------------------------------------------- */
.hec-platforms { padding: 3rem 0; background: var(--sap-bg-tint); border-top: 1px solid var(--sap-border); border-bottom: 1px solid var(--sap-border); }
.hec-platforms__inner { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.hec-platforms__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sap-muted); }
.hec-platforms__item { display: flex; align-items: center; gap: .5rem; font-family: var(--sap-font-heading); font-weight: 700; font-size: 1rem; color: var(--sap-secondary); }
.hec-platforms__item svg { width: 18px; height: 18px; color: var(--sap-primary); }

/* --------------------------------------------------------------------
   9. WHY HIRE
   -------------------------------------------------------------------- */
.hec-why { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hec-why__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; }
.hec-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); }
.hec-why__statement .accent { color: var(--sap-primary); }
.hec-why__list { display: flex; flex-direction: column; }
.hec-why-item { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--sap-border); }
.hec-why-item:last-child { border-bottom: 1px solid var(--sap-border); }
.hec-why-item__mark { color: var(--sap-primary); }
.hec-why-item__mark svg { width: 20px; height: 20px; }
.hec-why-item h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.hec-why-item p { font-size: .88rem; color: var(--sap-muted); margin-bottom: 0; }

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

/* --------------------------------------------------------------------
   11. TOOLS
   -------------------------------------------------------------------- */
.hec-tools { padding: 3.5rem 0; background: var(--sap-secondary); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.hec-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; }
.hec-tools__track { display: flex; gap: 3.5rem; width: max-content; animation: hecMarquee 30s linear infinite; }
.hec-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; }
.hec-tools__item svg { width: 18px; height: 18px; color: var(--sap-primary); flex-shrink: 0; }
@keyframes hecMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

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

/* --------------------------------------------------------------------
   13. RELATED
   -------------------------------------------------------------------- */
.hec-related { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hec-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hec-related__head h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 0; }
.hec-related__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.hec-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; }
.hec-related-card:hover { transform: translateY(-4px); box-shadow: var(--sap-shadow-md); border-color: transparent; }
.hec-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; }
.hec-related-card__icon svg { width: 20px; height: 20px; }
.hec-related-card h3 { font-size: .95rem; margin-bottom: 0; line-height: 1.4; }

/* --------------------------------------------------------------------
   14. FINAL CTA
   -------------------------------------------------------------------- */
.hec-final { position: relative; overflow: hidden; background: #0a0a0a; color: #fff; text-align: center; padding: 6rem 0; }
.hec-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%; }
.hec-final__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hec-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; }
.hec-final p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 2.5rem; }
.hec-final__actions { display: flex; align-items: center; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }
.hec-final__secondary { color: #fff; font-weight: 700; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; }
.hec-final__secondary:hover { border-color: var(--sap-primary); color: var(--sap-primary); }

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.hec-audit-grid { grid-template-columns: repeat(2, 1fr); }
	.hec-faceted__layout { grid-template-columns: 1fr; }
	.hec-faceted__visual { order: -1; max-width: 460px; margin: 0 auto; }
	.hec-funnel__row { grid-template-columns: 1fr; }
	.hec-belt__steps { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
	.hec-belt::before { display: none; }
	.hec-why__layout { grid-template-columns: 1fr; }
	.hec-why__statement { position: static; margin-bottom: 2rem; }
	.hec-engage__grid { grid-template-columns: 1fr; }
	.hec-faq__layout { grid-template-columns: 1fr; }
	.hec-faq__sticky { position: static; margin-bottom: 2rem; }
	.hec-related__rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.hec-audit-grid { grid-template-columns: 1fr; }
	.hec-journey { flex-direction: column; }
	.hec-journey__arrow { transform: rotate(90deg); }
	.hec-tree__level { flex-direction: column; align-items: center; }
	.hec-facet-diagram__branches { grid-template-columns: 1fr; }
	.hec-belt__steps { grid-template-columns: repeat(2, 1fr); }
	.hec-related__rail { grid-template-columns: 1fr; }
	.hec-faq-item__panel p { padding-left: 0; }
	.hec-faq-item__trigger { grid-template-columns: 2.25rem 1fr 1.25rem; }
	.hec-platforms__inner { gap: 1.25rem; }
}
