/* Hand-written additions on top of the generated site.css */

/* Logo that matches the theme */
:root[data-theme="dark"] .logo-l, :root:not([data-theme="dark"]) .logo-d { display: none !important; }

/* Light / dark toggle in the header */
.theme-toggle { display: inline-flex; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.theme-row { display: none; }
.theme-row { font: inherit; color: inherit; text-align: left; min-height: 46px; background: none; border-left: 0; border-right: 0; border-bottom: 0; cursor: pointer; width: 100%; }
.theme-row .i-sun { display: none; }
:root[data-theme="dark"] .theme-row .i-sun { display: inline; }
:root[data-theme="dark"] .theme-row .i-moon { display: none; }
@media (max-width: 760px) {
  .theme-toggle { display: none !important; }
  .theme-row { display: block; }
}

/* Room for the extra button on small laptops and tablets */
@media (min-width: 761px) and (max-width: 940px) { .nav-links { gap: 20px !important; margin-right: 8px !important; } }

/* Skip link for keyboard users */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #180344; color: #FFFFFF; font: 600 15px Inter, Arial, sans-serif; }
.skip-link:focus { top: 12px; color: #FFFFFF; }

/* Visible keyboard focus */
:focus-visible { outline: 2px solid #00C1FA; outline-offset: 3px; border-radius: 6px; }

/* Gentle fade-in on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* What we build: four equal cards in every industry */
.build-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; min-height: 0 !important; }
@media (max-width: 1100px) { .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* How it works: a step's coloured line fills when you point at that step */
.how-row .step-rule { animation: none !important; transform: scaleX(.35); opacity: .3; transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.how-row > div { transition: transform .18s ease, box-shadow .18s ease; }
.how-row > div:hover, .how-row > div:focus-within { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24, 3, 68, .12); }
.how-row > div:hover .step-rule, .how-row > div:focus-within .step-rule { transform: scaleX(1); opacity: 1; }
@media (hover: none) { .how-row .step-rule { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .how-row .step-rule, .how-row > div { transition: none; } }

/* Footer: group companies column */
.group-cos-h { padding: 8px 0 4px; }
.footer-contact { margin-top: 4px; }

/* Contact: the fields a visitor must fill */
[data-wa-form] .need { border-color: #E01E5A !important; }
