/* Homepage hero. Loaded after index.php's inline styles. */
.hero.hx { --gx: 72%; --gy: 40%; display: flex; flex-direction: column; align-items: stretch; min-height: 100vh; min-height: 100svh; padding: 117px 0 0; background: #101010; color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.hero.hx::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; display: block; background: linear-gradient(90deg, #101010 0%, #101010 38%, rgba(16,16,16,0.82) 50%, rgba(16,16,16,0) 68%), linear-gradient(0deg, #101010 0%, rgba(16,16,16,0) 26%), linear-gradient(180deg, #101010 0%, #101010 15%, rgba(16,16,16,0) 32%); }
.hero.hx::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; display: block; background: radial-gradient(520px circle at var(--gx) var(--gy), rgba(227,30,36,0.24), transparent 70%); }

/* Tilted wall of real project screens */
.hx-wall { position: absolute; top: 0; bottom: 0; left: 40%; right: 0; z-index: 0; overflow: hidden; opacity: 0.92; }
.hx-tilt { position: absolute; top: 50%; left: 8%; width: 1180px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; transform: translateY(-50%) perspective(1600px) rotateX(16deg) rotateY(-14deg) rotateZ(9deg); transform-origin: center; }
.hx-col { display: flex; flex-direction: column; gap: 18px; animation: hx-up 46s linear infinite; }
.hx-col:nth-child(2) { animation-name: hx-down; animation-duration: 54s; }
.hx-col:nth-child(3) { animation-duration: 40s; }
.hx-col img { display: block; width: 100%; height: auto; border-radius: 14px; background: #EFEFEF; }
@keyframes hx-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 9px)); } }
@keyframes hx-down { from { transform: translateY(calc(-50% - 9px)); } to { transform: translateY(0); } }

/* Content */
.hx-wrap { width: 100%; min-width: 0; max-width: 1320px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }
.hx-main { flex: 1; display: flex; align-items: center; padding-top: clamp(0.5rem, 2vh, 2.5rem); padding-bottom: clamp(0.5rem, 2vh, 2.5rem); }
.hx-copy { width: 60%; min-width: 0; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.9rem 0.35rem 0.7rem; margin-bottom: clamp(0.7rem, 2vh, 1.5rem); border: 1px solid rgba(255,255,255,0.16); border-radius: 50px; background: rgba(255,255,255,0.05); }
.hx-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #E31E24; box-shadow: 0 0 0 4px rgba(227,30,36,0.25); }
.hx-eyebrow .hero-badge-text { font-size: 0.78rem; font-weight: 500; color: #D5D5D5; }
.hx .hero-title { font-family: 'Sora', sans-serif; font-size: clamp(2.3rem, min(3.7vw, 7.9vh), 4.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.045em; color: #fff; margin: 0; width: 140%; max-width: none; }
.hx .hero-title .gradient-text { background: none; color: #E31E24; -webkit-text-fill-color: #E31E24; }
.hx .hero-sub { font-size: 1rem; line-height: 1.6; color: #BDBDBD; margin: clamp(0.75rem, 2vh, 1.5rem) 0 clamp(0.9rem, 2.4vh, 1.75rem); max-width: 560px; text-wrap: pretty; }
.hx .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0; }
.hero.hx .hero-actions .btn-primary, .hero.hx .hero-actions .btn-outline { padding: 0.9rem 1.7rem; font-size: 0.95rem; box-shadow: none; }
.hero.hx .hero-actions .btn-primary:hover { background: #fff; color: #1A1A1A; }
.hero.hx .hero-actions .btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.28); color: #fff; }
.hero.hx .hero-actions .btn-outline:hover { background: transparent; border-color: #fff; color: #fff; }
.hx-note { margin-top: 0.7rem; font-size: 0.8rem; color: #8A8A8A; }

/* Stats bar */
.hx .hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; border: 0; border-top: 1px solid rgba(255,255,255,0.12); }
.hx .stat { display: flex; align-items: baseline; gap: 0.7rem; padding: 1.1rem 1.25rem; border-left: 1px solid rgba(255,255,255,0.12); text-align: left; }
.hx .stat:first-child { padding-left: 0; border-left: 0; }
.hx .stat-num { font: 800 clamp(1.4rem, 2vw, 1.8rem)/1 'Sora', sans-serif; letter-spacing: -0.03em; background: none; color: #fff; -webkit-text-fill-color: #fff; }
.hx .stat-label { margin: 0; font-size: 0.8rem; line-height: 1.3; color: #A8A8A8; }

/* Nav sits on the dark stage until the page scrolls */
body #navbar:not(.scrolled) { background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body #navbar:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }
body #navbar:not(.scrolled) .nav-links > li > a:not(.nav-cta) { color: #E2E2E2; }
body #navbar:not(.scrolled) .nav-links > li > a:not(.nav-cta):hover, body #navbar:not(.scrolled) .nav-links > li > a.active:not(.nav-cta) { color: #fff; }
body #navbar:not(.scrolled) .fx-nav-pill { background: rgba(255,255,255,0.12); }
body #navbar:not(.scrolled) .hamburger span { background: #fff; }
body .topbar { background: #101010; border-bottom: 1px solid rgba(255,255,255,0.08); }

@media (max-width: 960px) {
  .hero.hx { padding-top: 110px; min-height: 0; }
  .hero.hx::before { display: none; }
  .hx-wrap { padding: 0 1.25rem; }
  .hx-copy { width: 100%; }
  .hx .hero-title { font-size: 5.4vw; width: 100%; }
  .hx-main { padding-bottom: 350px; }
  .hx-wall { top: auto; bottom: 132px; left: 0; height: 340px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
  .hx-tilt { top: 50%; left: 50%; width: 900px; transform: translate(-50%, -50%) perspective(1400px) rotateX(14deg) rotateZ(7deg); }
  .hx .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx .stat { flex-direction: column; gap: 0.3rem; padding: 0.85rem 1rem; }
  .hx .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hx .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.12); }
}
@media (max-width: 640px) {
  .hero.hx { padding-top: 84px; }
  .hx .hero-title { font-size: 2.15rem; }
  .hx .hero-title br { display: none; }
  .hx .hero-sub { font-size: 0.98rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-col { animation: none; }
}

/* ── Homepage sections ───────────────────── */
.sx-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 4rem; align-items: end; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.sx-head .section-label { grid-column: 1 / -1; justify-self: start; }
.sx-head .section-title { grid-column: 1; margin: 0; }
.sx-head .section-sub { grid-column: 2; margin: 0; max-width: none; }
.sx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 4rem; align-items: start; }
.sx-split .sx-head { display: block; margin: 0; position: sticky; top: 110px; }
.sx-split .sx-head .section-sub { margin-top: 1rem; }

#services, #process, .pricing-section, #contact, body .cl-slider-home { background: #fff; }
#industries, .why-section, #testimonials, #faq { background: #F7F7F7; }

/* Remaining services */
.allsvc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.5rem; margin-top: 1.5rem; }
.allsvc a { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.8rem 0; border-bottom: 1px solid #E8E8E8; color: #1A1A1A; font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.allsvc a span { color: #BDBDBD; transition: color 0.2s, transform 0.2s; }
.allsvc a:hover, .allsvc a:hover span { color: #E31E24; }
.allsvc a:hover span { transform: translateX(3px); }

/* Industries */

/* Why: included card */
.why-section .why-grid { align-items: stretch; }
.why-visual { display: flex; }
.wx-card { background: #141414; color: #fff; border-radius: 14px; padding: 2.5rem; width: 100%; display: flex; flex-direction: column; }
.wx-title { font: 700 1.35rem/1.25 'Sora', sans-serif; letter-spacing: -0.02em; margin: 0 0 1.5rem; color: #fff; }
.wx-list { list-style: none; margin: 0 0 1.75rem; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.wx-list li { display: flex; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid #2A2A2A; font-size: 0.95rem; color: #D5D5D5; }
.wx-list li::before { content: '✓'; color: #E31E24; font-weight: 800; }
.wx-foot { display: flex; align-items: center; gap: 1rem; }
.wx-foot b { font: 800 2.4rem/1 'Sora', sans-serif; letter-spacing: -0.03em; color: #fff; }
.wx-foot span { font-size: 0.82rem; line-height: 1.45; color: #BDBDBD; }

/* Promises */
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid #E2E2E2; }
.promise h3 { font: 700 1rem/1.3 'Sora', sans-serif; color: #1A1A1A; margin: 0 0 0.45rem; }
.promise p { font-size: 0.87rem; line-height: 1.6; color: #6B6B6B; margin: 0; }

/* FAQ */
#faq { padding-top: clamp(3.5rem, 5.5vw, 5.5rem); padding-bottom: clamp(3.5rem, 5.5vw, 5.5rem); }
#faq .faq-list { display: block; margin: 0; max-width: none; }

/* Closing CTA */
.cta-section { padding: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.cta-title { font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.06; }

@media (max-width: 960px) {
  .sx-head { display: block; }
  .sx-head .section-sub { margin-top: 1rem; }
  .sx-split { grid-template-columns: 1fr; gap: 2rem; }
  .sx-split .sx-head, .wx-card { position: static; }
  .allsvc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .ind-tile { padding: 1.25rem 1rem; min-height: 130px; }
  .promise { grid-template-columns: 1fr; gap: 1.25rem; }
  .wx-card { padding: 1.75rem; }
  body .cl-slider-home .cl-slider-head { padding: 0 1.25rem; }
}

.section-title .gradient-text { background: none; color: #E31E24; -webkit-text-fill-color: #E31E24; }

/* FAQ contact card */
.faq-ask { margin-top: 1.75rem; padding: 1.5rem; background: #141414; border-radius: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.faq-ask b { font: 700 1.1rem/1.3 'Sora', sans-serif; color: #fff; }
.faq-ask span { font-size: 0.88rem; color: #BDBDBD; margin-bottom: 0.85rem; }
.faq-ask .btn-primary { padding: 0.7rem 1.35rem; font-size: 0.88rem; }
.faq-ask .btn-primary:hover { background: #fff; color: #1A1A1A; }

/* Contact columns line up */
.contact-grid { align-items: stretch; }
@media (max-width: 480px) { .allsvc { grid-template-columns: 1fr; } }

/* Technologies */
.tk { background: #fff; padding: clamp(3.5rem, 5.5vw, 5.5rem) 0 0; overflow: hidden; }
.tk-row { overflow: hidden; border-top: 1px solid #EDEDED; }
.tk-row:last-child { border-bottom: 1px solid #EDEDED; }
.tk-track { display: flex; width: max-content; animation: tk-slide 60s linear infinite; }
.tk-rev { animation-direction: reverse; }
.tk-row:hover .tk-track { animation-play-state: paused; }
@keyframes tk-slide { to { transform: translateX(-50%); } }
.tk ul { display: flex; list-style: none; margin: 0; padding: 0; }
.tk li { display: flex; align-items: center; padding: clamp(0.8rem, 1.5vw, 1.25rem) 0; font: 800 clamp(2rem, 4.4vw, 4rem)/1.1 'Sora', sans-serif; letter-spacing: -0.03em; white-space: nowrap; color: #C9C9C9; cursor: default; transition: color 0.2s; }
.tk li::after { content: ''; width: 10px; height: 10px; margin: 0 clamp(1.25rem, 2.6vw, 2.25rem); border-radius: 50%; background: #E31E24; flex-shrink: 0; }
.tk li:hover { color: #E31E24; }
@media (prefers-reduced-motion: reduce) {
  .tk-track { animation: none; }
  .tk-row { overflow-x: auto; }
}

/* What We Do: every service readable at a glance */
.bn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.bn-tile { display: flex; min-width: 0; padding: 1.75rem; border-radius: 16px; background: #F3F3F3; color: #1A1A1A; text-decoration: none; overflow: hidden; transition: background 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.bn-wide { grid-column: span 2; background: #101010; color: #fff; padding-right: 0; align-items: stretch; gap: 1.5rem; }
.bn-text { display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 0; min-width: 0; }
.bn-wide .bn-text { flex: 0 0 44%; }
.bn-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 1.25rem; border-radius: 10px; background: #fff; color: #E31E24; }
.bn-wide .bn-icon { background: #E31E24; color: #fff; }
.bn-icon svg { width: 22px; height: 22px; }
.bn-name { margin: 0 0 0.6rem; font: 800 1.25rem/1.2 'Sora', sans-serif; letter-spacing: -0.02em; color: inherit; }
.bn-desc { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.6; color: #5A5A5A; }
.bn-wide .bn-desc { color: #BDBDBD; }
.bn-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.bn-tile .tag-chip { background: #fff; color: #4A4A4A; }
.bn-wide .tag-chip { background: #262626; color: #D5D5D5; }
.bn-more { margin-top: auto; font-size: 0.88rem; font-weight: 700; color: #E31E24; }
.bn-wide .bn-more { color: #fff; }
.bn-more span { display: inline-block; transition: transform 0.25s; }
.bn-shot { flex: 1 1 0; min-width: 0; align-self: center; border-radius: 12px 0 0 12px; overflow: hidden; background: #EFEFEF; }
.bn-shot img { display: block; width: 100%; height: auto; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) {
  .bn-tile:hover { transform: translateY(-4px); }
  .bn-tile:not(.bn-wide):hover { background: #E8E8E8; }
  .bn-tile:hover .bn-more span { transform: translateX(4px); }
  .bn-tile:hover .bn-shot img { transform: scale(1.04); }
}
@media (max-width: 1100px) {
  .bn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bn { grid-template-columns: 1fr; }
  .bn-wide { grid-column: auto; flex-direction: column; padding-right: 1.5rem; }
  .bn-wide .bn-text { flex: none; }
  .bn-tile { padding: 1.5rem; }
  .bn-shot { flex: none; align-self: stretch; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-tile, .bn-shot img, .bn-more span { transition: none; }
}

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; background: none; border: 0; }
.ind-tile { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; background: #fff; border-radius: 16px; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s, color 0.25s; }
.ind-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 1.1rem; border-radius: 10px; background: #F3F3F3; color: #E31E24; transition: background 0.25s, color 0.25s; }
.ind-icon svg { width: 21px; height: 21px; }
.ind-tile h3 { font: 800 1.08rem/1.25 'Sora', sans-serif; letter-spacing: -0.015em; color: #1A1A1A; margin: 0 0 0.4rem; transition: color 0.25s; }
.ind-tile p { font-size: 0.85rem; line-height: 1.5; color: #6B6B6B; margin: 0; transition: color 0.25s; }
@media (hover: hover) {
  .ind-tile:hover { background: #101010; transform: translateY(-4px); }
  .ind-tile:hover .ind-icon { background: #E31E24; color: #fff; }
  .ind-tile:hover h3 { color: #fff; }
  .ind-tile:hover p { color: #BDBDBD; }
}

/* Process: numbered tiles, launch is the payoff */
#process .process-steps { margin-top: 0; gap: 1rem; }
#process .process-step { display: flex; flex-direction: column; padding: 1.75rem; background: #F3F3F3; border: 0; border-radius: 16px; text-align: left; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
#process .process-step:hover { transform: translateY(-4px); }
#process .step-num { font-size: 3.4rem; letter-spacing: -0.04em; color: #CFCFCF; margin-bottom: 2.25rem; }
#process .process-step:last-child { background: #101010; }
#process .process-step:last-child .step-num { color: #E31E24; }
#process .process-step:last-child .step-title { color: #fff; }
#process .process-step:last-child .step-desc { color: #BDBDBD; }

/* Clients: copy beside the moving logos, on a light background */
body .cl-slider-home { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: auto auto; column-gap: 3.5rem; row-gap: 0.75rem; align-items: center; padding: clamp(3.5rem, 5.5vw, 5.5rem) max(2rem, calc((100% - 1256px) / 2)); background: #F7F7F7; border: 0; }
body .cl-slider-home .cl-slider-head { grid-column: 1; grid-row: 1 / 3; width: auto; max-width: none; margin: 0; padding: 0; text-align: left; }
body .cl-slider-home .cl-slider-head .section-label { display: flex; justify-content: flex-start !important; }
body .cl-slider-home .cl-slider-head .section-sub { margin: 0.9rem 0 1.5rem; max-width: none; }
body .cl-slider-home .cl-slider-cta { margin: 0; text-align: left; }
body .cl-slider-home .cl-marquee { grid-column: 2; min-width: 0; margin: 0; align-self: start; }
body .cl-slider-home .cl-slider-head + .cl-marquee { align-self: end; }
body .cl-slider-home .cl-slide { background: #fff; border: 0; border-radius: 14px; box-shadow: none; }
body .cl-slider-home .cl-slide-logo { opacity: 1; }
@media (max-width: 960px) {
  body .cl-slider-home { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding-left: 0; padding-right: 0; }
  body .cl-slider-home .cl-slider-head { grid-row: auto; margin-bottom: 1.5rem; padding: 0 1.25rem; }
  body .cl-slider-home .cl-marquee { grid-column: 1; }
}

/* Why */
#why { background: #fff; }
.wy { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.wy .why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.wy .why-item { flex-direction: column; gap: 1.1rem; padding: 1.6rem; background: #F3F3F3; border-radius: 16px; }
.wy .why-icon { width: 42px; height: 42px; border-radius: 10px; background: #fff; color: #E31E24; }
.wy .why-text h4 { font: 800 1.08rem/1.25 'Sora', sans-serif; letter-spacing: -0.015em; color: #1A1A1A; margin-bottom: 0.45rem; }
.wy .why-text p { font-size: 0.9rem; line-height: 1.6; color: #5A5A5A; }
.wy-side { display: flex; }
.wy-side .wx-card { border-radius: 16px; }

/* Testimonials: one lead quote, two supporting */
#testimonials .testimonials-grid { margin-top: 0; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; }
#testimonials .testimonial-card { display: flex; flex-direction: column; border: 0; border-radius: 16px; background: #fff; }
#testimonials .testimonial-card:hover { border: 0; }
#testimonials .testimonial-text { flex: 1; }
#testimonials .testimonial-card:first-child { grid-row: span 2; padding: 2.5rem; background: #101010; }
#testimonials .testimonial-card:first-child .testimonial-quote { font-size: 4.5rem; line-height: 0.8; }
#testimonials .testimonial-card:first-child .testimonial-text { font: 600 clamp(1.2rem, 2vw, 1.65rem)/1.45 'Sora', sans-serif; letter-spacing: -0.015em; color: #fff; margin-bottom: 2rem; }
#testimonials .testimonial-card:first-child .author-name { color: #fff; }
#testimonials .testimonial-card:first-child .author-role { color: #A8A8A8; }
#testimonials .testimonial-card:first-child .author-avatar { background: #E31E24; }

/* Pricing */
.pricing-section .pricing-grid { margin-top: 0; gap: 1rem; }
.pricing-section .pricing-card { border-radius: 16px; }
.pricing-section .pricing-card:not(.featured) { background: #F3F3F3; border: 0; }
.pricing-section .pricing-card:not(.featured) .pricing-cta.outline { border-color: #fff; }
.promise > div { padding: 1.35rem; background: #F3F3F3; border-radius: 14px; }
.promise { gap: 1rem; margin-top: 1rem; padding-top: 0; border-top: 0; }

/* FAQ tiles */
#faq { padding-bottom: 1rem; }
#faq .faq-item { margin-bottom: 0.6rem; padding: 0 1.35rem; background: #fff; border: 0; border-radius: 14px; }
#faq .faq-a { padding-bottom: 1.2rem; }

/* Closing panel */
body .cx-home { background: #F7F7F7; padding: 3rem 0 clamp(3.5rem, 5.5vw, 5.5rem); }
.cx { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 400px; padding: clamp(2rem, 4.5vw, 4rem); background: #E31E24; border-radius: 24px; text-align: left; }
.cx-copy { position: relative; z-index: 2; width: 58%; }
.cx .cta-title { font-size: clamp(1.9rem, 3.7vw, 3.4rem); line-height: 1.06; margin: 0 0 1rem; text-align: left; }
.cx .cta-sub { margin: 0 0 1.5rem; max-width: 520px; text-align: left; }
.cx .cta-actions { justify-content: flex-start; margin: 0; }
.cx .section-label { display: flex; justify-content: flex-start; }
.cx-wall { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%); mask-image: linear-gradient(90deg, transparent, #000 32%); }
.cx-tilt { position: absolute; top: 50%; left: 6%; width: 620px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; transform: translateY(-50%) rotate(9deg); }
.cx-tilt .hx-col { gap: 14px; }

/* Contact: dark details tile beside the form */
#contact .contact-grid { margin-top: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem; }
#contact .contact-grid > div:first-child { padding: clamp(1.75rem, 3vw, 2.75rem); background: #101010; border-radius: 16px; }
#contact .section-title { color: #fff; }
#contact .section-label, #contact .contact-grid > div:first-child .section-sub { color: #A8A8A8; }
#contact .contact-info-list { gap: 0; margin-top: 1.5rem; }
#contact .contact-info-item { align-items: center; padding: 0.85rem 0; border-top: 1px solid #262626; }
#contact .contact-icon { flex-shrink: 0; background: #262626; color: #fff; }
#contact .contact-info-item h4 { margin-bottom: 0.15rem; color: #8A8A8A; }
#contact .contact-info-item a, #contact .contact-info-item p { color: #fff; }
#contact .contact-info-item a:hover { color: #E31E24; }
#contact .contact-form { padding: clamp(1.75rem, 3vw, 2.75rem); background: #F3F3F3; border: 0; border-radius: 16px; }
#contact .form-group input, #contact .form-group select, #contact .form-group textarea { background: #fff; border-color: #fff; }
#contact .form-group input:focus, #contact .form-group select:focus, #contact .form-group textarea:focus { border-color: #1A1A1A; }

@media (max-width: 960px) {
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #process .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wy { grid-template-columns: 1fr; }
  #testimonials .testimonials-grid { grid-template-columns: 1fr; }
  #testimonials .testimonial-card:first-child { grid-row: auto; padding: 2rem; }
  #contact .contact-grid { grid-template-columns: 1fr; }
  .cx { min-height: 0; }
  .cx-copy { width: 100%; }
  .cx-wall { display: none; }
}
@media (max-width: 640px) {
  .wy .why-list { grid-template-columns: 1fr; }
  #process .process-steps { grid-template-columns: 1fr; }
  #process .step-num { margin-bottom: 1.25rem; }
  .ind-tile { padding: 1.15rem; }
  .ind-tile h3 { font-size: 0.98rem; }
}

/* ── SECTION VARIETY ──────────────────────── */
/* Industries: an editorial list instead of another grid of tiles */
#industries .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; counter-reset: ind; border-top: 0; }
#industries .ind-tile { counter-increment: ind; position: relative; flex-direction: row; align-items: center; gap: 1.25rem; padding: 1.5rem 0; background: none; border-radius: 0; border-top: 1px solid #DCDCDC; transform: none; }
#industries .ind-tile:nth-last-child(-n+2) { border-bottom: 1px solid #DCDCDC; }
#industries .ind-tile::before { content: counter(ind, decimal-leading-zero); flex-shrink: 0; width: 1.6rem; font: 600 0.78rem 'Inter', sans-serif; color: #A8A8A8; }
#industries .ind-icon { order: 3; margin: 0 0 0 auto; width: 38px; height: 38px; background: #fff; transition: background 0.25s, color 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
#industries .ind-tile h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -0.03em; transition: color 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
#industries .ind-tile p { order: 2; flex: 1; font-size: 0.82rem; text-align: right; }
@media (hover: hover) {
  #industries .ind-tile:hover { background: none; transform: none; }
  #industries .ind-tile:hover h3 { color: #E31E24; transform: translateX(6px); }
  #industries .ind-tile:hover p { color: #6B6B6B; }
  #industries .ind-tile:hover .ind-icon { background: #E31E24; color: #fff; transform: rotate(-8deg); }
}

/* Process: a timeline whose red line fills as you scroll */
#process .process-steps { position: relative; padding-top: 2.75rem; gap: 2rem; --p: 0; }
#process .process-steps::before, #process .process-steps::after { content: ''; display: block; position: absolute; top: 0.55rem; left: 0; right: 0; height: 2px; background: #E2E2E2; opacity: 1; }
#process .process-steps::after { background: #E31E24; transform: scaleX(var(--p)); transform-origin: left; }
#process .process-step, #process .process-step:last-child, #process .process-step:hover { position: relative; padding: 0; background: none; border-radius: 0; transform: none; }
#process .process-step::before { content: ''; position: absolute; top: -2.75rem; left: 0; z-index: 1; width: 16px; height: 16px; margin-top: 0.05rem; border-radius: 50%; background: #fff; border: 3px solid #CFCFCF; transition: border-color 0.35s, background 0.35s, box-shadow 0.35s; }
#process .step-num, #process .process-step:last-child .step-num { font-size: clamp(3.2rem, 5vw, 4.6rem); color: #E8E8E8; margin-bottom: 1rem; transition: color 0.45s; }
#process .process-step:last-child .step-title { color: #1A1A1A; }
#process .process-step:last-child .step-desc { color: #5A5A5A; }
#process .process-step.on::before { border-color: #E31E24; background: #E31E24; box-shadow: 0 0 0 6px rgba(227,30,36,0.15); }
#process .process-step.on .step-num { color: #E31E24; }
@media (max-width: 960px) {
  #process .process-steps { grid-template-columns: 1fr; gap: 2.25rem; padding: 0 0 0 2.5rem; }
  #process .process-steps::before, #process .process-steps::after { top: 0.5rem; bottom: 0.5rem; left: 0.45rem; right: auto; width: 2px; height: auto; }
  #process .process-steps::after { transform: scaleY(var(--p)); transform-origin: top; }
  #process .process-step::before { top: 0.6rem; left: -2.5rem; }
  #process .step-num { margin-bottom: 0.5rem; }
}

/* Promises: a light checklist strip, not four more boxes */
.pricing-section .promise { gap: 1.5rem 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #E2E2E2; }
.pricing-section .promise > div { position: relative; padding: 0 0 0 2.4rem; background: none; border-radius: 0; }
.pricing-section .promise > div::before { content: '✓'; position: absolute; top: -0.1rem; left: 0; display: flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #E31E24; color: #fff; font-size: 0.8rem; font-weight: 800; }

@media (max-width: 760px) {
  #industries .ind-grid { grid-template-columns: 1fr; }
  #industries .ind-tile:nth-last-child(2) { border-bottom: 0; }
  #industries .ind-tile p { display: none; }
  #industries .ind-tile { padding: 0.95rem 0; }
  #industries .ind-icon { width: 34px; height: 34px; }
}
