/* ==========================================================================
   Hire Website Developer — bespoke page design. Namespaced `.hwd-`.
   Visual language: browser windows, design-to-code, responsive previews.
   ========================================================================== */

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

/* --------------------------------------------------------------------
   1. HERO — dark, browser window mockup
   -------------------------------------------------------------------- */
.hwd-hero { position: relative; overflow: hidden; background: #0a0d12; color: #fff; padding: calc(var(--sap-header-height) + 5rem) 0 5.5rem; }
.hwd-hero__glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; top: -220px; right: -160px; background: var(--sap-primary); opacity: .22; filter: blur(90px); }
.hwd-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.hwd-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; }
.hwd-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; }
.hwd-hero__title { font-family: var(--sap-font-heading); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1.6rem; color: #fff; }
.hwd-hero__title .accent { color: var(--sap-primary); }
.hwd-hero__text { font-size: 1.06rem; line-height: 1.7; color: rgba(255,255,255,.65); max-width: 520px; margin-bottom: 2.25rem; }
.hwd-hero__actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.hwd-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; }
.hwd-hero__secondary:hover { border-color: var(--sap-primary); color: var(--sap-primary); }

.hwd-browser { background: #14181f; border-radius: var(--sap-radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.hwd-browser__bar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; background: #1b2029; }
.hwd-browser__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.hwd-browser__url { margin-left: .75rem; flex: 1; background: rgba(255,255,255,.06); border-radius: var(--sap-radius-pill); padding: .35rem .9rem; font-size: .72rem; color: rgba(255,255,255,.45); }
.hwd-browser__body { padding: 1.5rem; }
.hwd-browser__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.hwd-browser__logo { width: 60px; height: 10px; border-radius: 3px; background: var(--sap-gradient); }
.hwd-browser__navlinks { display: flex; gap: .5rem; }
.hwd-browser__navlinks span { width: 30px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
.hwd-browser__hero { height: 90px; border-radius: var(--sap-radius-md); background: linear-gradient(135deg, rgba(254,109,13,.18), rgba(255,139,61,.08)); margin-bottom: 1rem; display: flex; flex-direction: column; justify-content: center; padding: 0 1.25rem; gap: .5rem; }
.hwd-browser__hero span { display: block; height: 8px; border-radius: 3px; background: rgba(255,255,255,.25); }
.hwd-browser__hero span:first-child { width: 60%; }
.hwd-browser__hero span:last-child { width: 35%; background: var(--sap-primary); }
.hwd-browser__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.hwd-browser__card { height: 46px; border-radius: var(--sap-radius-sm); background: rgba(255,255,255,.05); }

/* --------------------------------------------------------------------
   2. PROBLEM — icon-card grid
   -------------------------------------------------------------------- */
.hwd-problem { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hwd-problem__head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.hwd-problem__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hwd-problem__head .accent { color: var(--sap-primary); }
.hwd-problem__head p { color: var(--sap-muted); }
.hwd-problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 980px; margin: 0 auto; }
.hwd-problem-card { background: var(--sap-white); border-radius: var(--sap-radius-lg); padding: 1.75rem; }
.hwd-problem-card__icon { width: 44px; height: 44px; border-radius: var(--sap-radius-md); background: rgba(255,107,107,.1); color: #E24444; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.hwd-problem-card__icon svg { width: 21px; height: 21px; }
.hwd-problem-card h3 { font-size: .98rem; margin-bottom: .4rem; }
.hwd-problem-card p { font-size: .86rem; color: var(--sap-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------
   3. WHAT WE BUILD — shelf
   -------------------------------------------------------------------- */
.hwd-shelf { padding: var(--sap-section-space) 0; background: var(--sap-white); }

.hwd-shelf__head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.hwd-shelf__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hwd-shelf__head p { color: var(--sap-muted); }
.hwd-shelf__rail { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .5rem .5rem 1rem; }
.hwd-shelf__rail { scrollbar-width: none; -ms-overflow-style: none; }
.hwd-shelf__rail::-webkit-scrollbar { display: none; }
.hwd-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%);
}

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

/* --------------------------------------------------------------------
   4. DESIGN TO CODE
   -------------------------------------------------------------------- */
.hwd-transform { padding: var(--sap-section-space) 0; background: var(--sap-dark); color: #fff; }
.hwd-transform__head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.hwd-transform__head .hwd-eyebrow { color: var(--sap-accent); }
.hwd-transform__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.hwd-transform__head p { color: rgba(255,255,255,.6); }
.hwd-transform__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; max-width: 900px; margin: 0 auto; }
.hwd-transform__panel { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--sap-radius-lg); padding: 1.5rem; }
.hwd-transform__panel-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1rem; display: block; }
.hwd-transform__wireframe { display: flex; flex-direction: column; gap: .5rem; }
.hwd-transform__wireframe span { height: 10px; border-radius: 3px; background: rgba(255,255,255,.14); }
.hwd-transform__wireframe span:nth-child(1) { width: 50%; }
.hwd-transform__wireframe span:nth-child(2) { width: 100%; height: 50px; border-radius: var(--sap-radius-sm); }
.hwd-transform__wireframe span:nth-child(3) { width: 70%; }
.hwd-transform__wireframe span:nth-child(4) { width: 40%; background: var(--sap-primary); }
.hwd-transform__code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: .75rem; line-height: 1.7; color: rgba(255,255,255,.55); }
.hwd-transform__code .tag { color: var(--sap-primary); }
.hwd-transform__arrow { color: var(--sap-primary); display: flex; align-items: center; justify-content: center; }
.hwd-transform__arrow svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------
   5. RESPONSIVE PREVIEW
   -------------------------------------------------------------------- */
.hwd-responsive { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hwd-responsive__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hwd-responsive__content .hwd-eyebrow { color: var(--sap-primary); }
.hwd-responsive__content h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); margin-bottom: 1rem; }
.hwd-responsive__content p { color: var(--sap-muted); line-height: 1.7; margin-bottom: 0; }
.hwd-devices { display: flex; align-items: flex-end; justify-content: center; gap: 1.5rem; }
.hwd-device { background: var(--sap-bg-tint); border: 1px solid var(--sap-border); border-radius: var(--sap-radius-md); padding: .5rem; }
.hwd-device--desktop { width: 220px; }
.hwd-device--tablet { width: 120px; }
.hwd-device--mobile { width: 70px; }
.hwd-device__screen { background: var(--sap-white); border-radius: 4px; aspect-ratio: 16/10; display: flex; flex-direction: column; gap: 4px; padding: 6px; }
.hwd-device--tablet .hwd-device__screen, .hwd-device--mobile .hwd-device__screen { aspect-ratio: 9/16; }
.hwd-device__screen span { display: block; height: 5px; border-radius: 2px; background: var(--sap-border); }
.hwd-device__screen span:first-child { background: var(--sap-primary); width: 60%; }

/* --------------------------------------------------------------------
   6. INTEGRATIONS
   -------------------------------------------------------------------- */
.hwd-integrations { padding: 3rem 0; background: var(--sap-bg-tint); border-top: 1px solid var(--sap-border); border-bottom: 1px solid var(--sap-border); }
.hwd-integrations__inner { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.hwd-integrations__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sap-muted); }
.hwd-integrations__item { display: flex; align-items: center; gap: .5rem; font-family: var(--sap-font-heading); font-weight: 700; font-size: 1rem; color: var(--sap-secondary); }
.hwd-integrations__item svg { width: 18px; height: 18px; color: var(--sap-primary); }

/* --------------------------------------------------------------------
   7. PROCESS
   -------------------------------------------------------------------- */
.hwd-process { padding: var(--sap-section-space) 0; background: var(--sap-secondary); color: #fff; }
.hwd-process__head { max-width: 620px; margin: 0 auto 4rem; text-align: center; }
.hwd-process__head .hwd-eyebrow { color: var(--sap-accent); }
.hwd-process__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.hwd-process__steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; max-width: 1100px; margin: 0 auto; }
.hwd-process__step { text-align: center; }
.hwd-process__num { width: 40px; height: 40px; 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: .8rem; }
.hwd-process__step h3 { font-size: .9rem; margin-bottom: .35rem; color: #fff; }
.hwd-process__step p { font-size: .76rem; color: rgba(255,255,255,.5); margin-bottom: 0; }

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

/* --------------------------------------------------------------------
   9. WHO WE HELP — chip cloud
   -------------------------------------------------------------------- */
.hwd-who { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hwd-who__head { max-width: 620px; margin: 0 auto 2.5rem; text-align: center; }
.hwd-who__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hwd-who__cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; max-width: 900px; margin: 0 auto; }
.hwd-who-chip { background: var(--sap-white); border: 1px solid var(--sap-border); border-radius: var(--sap-radius-lg); padding: 1rem 1.4rem; max-width: 260px; transition: border-color .25s ease, box-shadow .25s ease; }
.hwd-who-chip:hover { border-color: var(--sap-primary); box-shadow: var(--sap-shadow-md); }
.hwd-who-chip h3 { font-size: .95rem; margin-bottom: .3rem; }
.hwd-who-chip p { font-size: .82rem; color: var(--sap-muted); margin-bottom: 0; line-height: 1.5; }

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

/* --------------------------------------------------------------------
   11. TECHNOLOGIES
   -------------------------------------------------------------------- */
.hwd-tech { 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; }
.hwd-tech__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; }
.hwd-tech__track { display: flex; gap: 3.5rem; width: max-content; animation: hwdMarquee 30s linear infinite; }
.hwd-tech__item { font-family: var(--sap-font-heading); font-weight: 700; font-size: 1.2rem; color: rgba(255,255,255,.35); white-space: nowrap; }
@keyframes hwdMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------- */
.hwd-faq { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hwd-faq__layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; }
.hwd-faq__sticky { position: sticky; top: calc(var(--sap-header-height) + 2rem); align-self: start; }
.hwd-faq__sticky h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.hwd-faq__sticky p { color: var(--sap-muted); }
.hwd-faq__list { border-top: 1px solid var(--sap-border); }
.hwd-faq-item { border-bottom: 1px solid var(--sap-border); }
.hwd-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; }
.hwd-faq-item__num { font-family: var(--sap-font-heading); font-weight: 800; color: var(--sap-primary); font-size: .85rem; }
.hwd-faq-item__q { font-size: 1.02rem; font-weight: 600; }
.hwd-faq-item__icon { width: 20px; height: 20px; color: var(--sap-muted); transition: transform .3s ease; flex-shrink: 0; }
.hwd-faq-item__trigger[aria-expanded="true"] .hwd-faq-item__icon { transform: rotate(45deg); color: var(--sap-primary); }
.hwd-faq-item__panel { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.hwd-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
   -------------------------------------------------------------------- */
.hwd-related { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hwd-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hwd-related__head h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 0; }
.hwd-related__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.hwd-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; }
.hwd-related-card:hover { transform: translateY(-4px); box-shadow: var(--sap-shadow-md); border-color: transparent; }
.hwd-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; }
.hwd-related-card__icon svg { width: 20px; height: 20px; }
.hwd-related-card h3 { font-size: .95rem; margin-bottom: 0; line-height: 1.4; }

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

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.hwd-hero__inner { grid-template-columns: 1fr; }
	.hwd-problem__grid { grid-template-columns: repeat(2, 1fr); }
	.hwd-transform__row { grid-template-columns: 1fr; }
	.hwd-transform__arrow { transform: rotate(90deg); padding: .5rem 0; }
	.hwd-responsive__layout { grid-template-columns: 1fr; }
	.hwd-responsive__visual { order: -1; }
	.hwd-process__steps { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
	.hwd-why__layout { grid-template-columns: 1fr; }
	.hwd-why__statement { position: static; margin-bottom: 2rem; }
	.hwd-engage__grid { grid-template-columns: 1fr; }
	.hwd-faq__layout { grid-template-columns: 1fr; }
	.hwd-faq__sticky { position: static; margin-bottom: 2rem; }
	.hwd-related__rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.hwd-problem__grid { grid-template-columns: 1fr; }
	.hwd-process__steps { grid-template-columns: repeat(2, 1fr); }
	.hwd-who-chip { max-width: 100%; }
	.hwd-related__rail { grid-template-columns: 1fr; }
	.hwd-faq-item__panel p { padding-left: 0; }
	.hwd-faq-item__trigger { grid-template-columns: 2.25rem 1fr 1.25rem; }
	.hwd-devices { flex-wrap: wrap; }
}
