/*
   Orble Services stylesheet (tidied 12 Oct 2026)
   Used by the public pages AND the client/admin pages, so edit with care.
   Rule ORDER matters in CSS: later rules override earlier ones, and the
   "Mobile fix" blocks at the very bottom must stay at the bottom.
*/

/* ==========================================================
   Base: colour variables, reset and typography
   ========================================================== */
:root {
  --o: #ff7a00;
  --o2: #ffb13b;
  --bg: #070707;
  --g: rgba(255, 255, 255, .045);
  --ln: rgba(255, 255, 255, .1);
  --mut: #a9a9b3;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: #f4f4f5;
  font: 400 17px/1.65 Poppins, "Segoe UI", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px 420px at 85% 5%, rgba(255, 122, 0, .2), transparent 70%), radial-gradient(500px 400px at 0 60%, rgba(255, 122, 0, .09), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.w {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ==========================================================
   Header and navigation
   ========================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  transition: .3s;
}

header.sc {
  background: rgba(7, 7, 7, .75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ln);
}

header .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

header img {
  height: 44px;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 500;
}

nav a:hover,
nav a.on {
  color: var(--o);
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--o), var(--o2));
  color: #0b0b0b !important;
  font: 700 16px Poppins, Arial, sans-serif;
  padding: 14px 30px;
  border-radius: 50px;
  border: 0;
  cursor: pointer;
  transition: .25s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 34px rgba(255, 122, 0, .45);
}

.btn.ghost {
  background: var(--g);
  color: #fff !important;
  border: 1px solid var(--ln);
}

.btn.ghost:hover {
  border-color: var(--o);
  box-shadow: none;
}

#mb {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.gt {
  background: linear-gradient(90deg, var(--o), var(--o2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================
   Headings and text styles
   ========================================================== */
h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.5px;
}

h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.lead {
  font-size: 20px;
  color: #d4d4d8;
  max-width: 600px;
  margin: 0 0 32px;
}

.eye {
  color: var(--o);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 13px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

/* ==========================================================
   Hero (home page) and orbit graphic
   ========================================================== */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}

.hero.sm {
  padding: 70px 0 40px;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--ln) 1px, transparent 1px), linear-gradient(90deg, var(--ln) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%);
  opacity: .5;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  background: var(--o);
  opacity: .22;
  animation: fl 12s ease-in-out infinite alternate;
}

@keyframes fl {
  to {
    transform: translate(60px, 40px) scale(1.2);
  }
}

.hg {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}

.badge {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 7px 18px;
  border: 1px solid var(--ln);
  background: var(--g);
  border-radius: 50px;
  font-size: 14px;
  color: #ddd;
  margin-bottom: 24px;
}

.badge i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--o);
  box-shadow: 0 0 0 0 var(--o);
  animation: pu 1.8s infinite;
}

@keyframes pu {
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
}

.hero .btn {
  margin: 0 12px 12px 0;
}

.orb {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 170px;
  height: 170px;
  margin: -85px;
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(255, 122, 0, .55);
}

.ring {
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(255, 122, 0, .5);
  border-radius: 50%;
  animation: sp 40s linear infinite;
}

.ring.r2 {
  inset: 110px;
  animation-duration: 26s;
  animation-direction: reverse;
  border-style: solid;
  opacity: .3;
}

@keyframes sp {
  to {
    transform: rotate(360deg);
  }
}

.chip {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -62px;
  width: 124px;
  transform: rotate(calc(var(--a)*1deg)) translate(230px) rotate(calc(var(--a)*-1deg));
}

.chip span {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 0;
  border-radius: 50px;
  background: rgba(20, 20, 20, .85);
  border: 1px solid rgba(255, 122, 0, .55);
  backdrop-filter: blur(8px);
  animation: sp 40s linear infinite reverse;
}

/* ==========================================================
   Page sections
   ========================================================== */
section {
  padding: 90px 0;
}

.alt {
  background: rgba(255, 255, 255, .02);
  border-block: 1px solid var(--ln);
}

/* ==========================================================
   Scrolling ticker
   ========================================================== */
.tick {
  overflow: hidden;
  border-block: 1px solid var(--ln);
  padding: 18px 0;
  background: rgba(255, 122, 0, .05);
}

.tick div {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: mq 28s linear infinite;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  color: #cfcfd4;
  text-transform: uppercase;
}

.tick b {
  color: var(--o);
}

@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================
   Cards and grids
   ========================================================== */
.card {
  position: relative;
  background: var(--g);
  border: 1px solid var(--ln);
  border-radius: 22px;
  padding: 30px;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}

.card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0), rgba(255, 122, 0, .2), transparent 70%);
  opacity: 0;
  transition: .3s;
}

.card:hover:before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, .6);
}

.card > * {
  position: relative;
}

.card p {
  color: var(--mut);
  margin: 0;
}

.ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(255, 122, 0, .4), rgba(255, 122, 0, .08));
  margin-bottom: 18px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.b3 {
  grid-column: span 3;
}

.b2 {
  grid-column: span 2;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ==========================================================
   "Find your fit" picker
   ========================================================== */
.pk {
  background: linear-gradient(135deg, rgba(255, 122, 0, .14), var(--g));
  border: 1px solid rgba(255, 122, 0, .4);
  border-radius: 28px;
  padding: 48px;
}

.pick {
  margin: 6px 8px 6px 0;
  padding: 12px 22px;
  border-radius: 50px;
  border: 1px solid var(--ln);
  background: var(--g);
  color: #fff;
  font: 500 16px Poppins, Arial, sans-serif;
  cursor: pointer;
  transition: .2s;
}

.pick:hover {
  border-color: var(--o);
}

.pick.on {
  background: linear-gradient(90deg, var(--o), var(--o2));
  color: #0b0b0b;
  border-color: transparent;
  font-weight: 700;
}

#pout {
  margin: 24px 0;
  font-size: 20px;
  min-height: 64px;
}

#pout b {
  font-size: 26px;
}

/* ==========================================================
   How it works timeline
   ========================================================== */
.tl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: s;
}

.tl .card:after {
  counter-increment: s;
  content: "0" counter(s);
  position: absolute;
  right: 22px;
  top: 14px;
  font-size: 44px;
  font-weight: 800;
  color: rgba(255, 122, 0, .2);
}

/* ==========================================================
   FAQ
   ========================================================== */
details {
  border: 1px solid var(--ln);
  background: var(--g);
  border-radius: 16px;
  padding: 20px 26px;
  margin-bottom: 14px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

summary:after {
  content: "+";
  color: var(--o);
  font-size: 26px;
  line-height: 1;
}

details[open] summary:after {
  content: "\2212";
}

details p {
  color: var(--mut);
  margin: 12px 0 0;
}

/* ==========================================================
   Services tabs
   ========================================================== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.tab {
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--ln);
  background: var(--g);
  color: #fff;
  font: 600 16px Poppins, Arial, sans-serif;
  cursor: pointer;
  transition: .2s;
}

.tab.on {
  background: linear-gradient(90deg, var(--o), var(--o2));
  color: #0b0b0b;
  border-color: transparent;
}

.pn {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.pn.on {
  display: grid;
  animation: fi .5s;
}

@keyframes fi {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.pn ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pn li {
  padding: 14px 0 14px 38px;
  position: relative;
  border-bottom: 1px solid var(--ln);
}

.pn li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 122, 0, .2);
  color: var(--o);
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
}

/* ==========================================================
   Call-to-action band
   ========================================================== */
.band {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 122, 0, .25), rgba(255, 122, 0, .04));
  border: 1px solid rgba(255, 122, 0, .5);
  border-radius: 28px;
  padding: 70px 24px;
  position: relative;
  overflow: hidden;
}

.band p {
  color: #ddd;
  margin: 0 auto 28px;
  max-width: 560px;
}

/* ==========================================================
   Contact page layout and forms
   ========================================================== */
.cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

form {
  display: grid;
  gap: 18px;
}

label {
  font-weight: 600;
  font-size: 15px;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password],
select,
textarea {
  width: 100%;
  margin-top: 6px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid #333;
  border-radius: 14px;
  color: #fff;
  padding: 14px 16px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--o);
  border-color: var(--o);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}

.ck {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 10px 10px 0;
  padding: 9px 16px;
  border: 1px solid var(--ln);
  border-radius: 50px;
  background: var(--g);
  font-weight: 500;
  cursor: pointer;
}

.ck input {
  accent-color: var(--o);
}

.hp {
  position: absolute;
  left: -9999px;
}

#msg {
  display: none;
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-weight: 600;
}

#msg.ok {
  display: block;
  background: #10260f;
  border: 1px solid #2e7d32;
}

#msg.er {
  display: block;
  background: #2b0f0f;
  border: 1px solid #c62828;
}

/* ==========================================================
   Scroll reveal animation
   ========================================================== */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s, transform .8s;
}

.rv.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================
   Footer
   ========================================================== */
footer {
  border-top: 1px solid var(--ln);
  padding: 50px 0 30px;
  color: var(--mut);
  font-size: 15px;
}

footer .w {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}

footer img {
  height: 40px;
}

footer nav {
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================
   Responsive: tablets and phones (public site)
   ========================================================== */
@media (max-width: 900px) {
  #mb {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #0b0b0b;
    padding: 22px;
    border-bottom: 1px solid var(--ln);
  }
  nav.open {
    display: flex;
  }
  .hg,
  .pn,
  .cols,
  .tl {
    grid-template-columns: 1fr;
  }
  .b3,
  .b2 {
    grid-column: span 6;
  }
  .orb {
    transform: scale(.68);
    margin: -80px auto -90px;
  }
  .pk {
    padding: 28px;
  }
  .hero {
    padding: 60px 0;
  }
}

/* ==========================================================
   Client portal and admin pages (login, dashboard, tables)
   ========================================================== */
.pg {
  padding: 50px 24px 70px;
}

.auth {
  max-width: 460px;
  margin: 70px auto;
  padding: 0 24px;
}

.wide {
  max-width: 1000px;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.tbl td,
.tbl th {
  padding: 12px 8px;
  border-bottom: 1px solid var(--ln);
  text-align: left;
  vertical-align: top;
}

.bs {
  padding: 8px 16px;
  font-size: 14px;
}

.row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.tbl input,
.tbl select {
  margin: 0;
  padding: 8px 10px;
}

.lo {
  display: inline;
}

.bd {
  padding: 3px 12px;
  border-radius: 50px;
  background: rgba(255, 122, 0, .2);
  color: var(--o);
  font-size: 13px;
  font-weight: 600;
}

.new {
  border-color: var(--o);
}

header.ah .w {
  height: auto;
  min-height: 78px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.an {
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  nav.an {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}

.pg form > .btn.bs {
  justify-self: start;
}

.pg form .row {
  margin-top: 12px;
}

select option {
  background: #151515;
  color: #fff;
}

/* ==========================================================
   Client login and sign-up layout
   ========================================================== */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
  min-height: 68vh;
}

.side h1 {
  font-size: clamp(32px, 4.5vw, 52px);
}

.side ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side li {
  padding: 9px 0 9px 36px;
  position: relative;
  color: #ddd;
}

.side li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 122, 0, .2);
  color: var(--o);
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
}

.lk {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 15px;
}

.lk a {
  color: var(--o);
}

.lk a:hover {
  text-decoration: underline;
}

.hint {
  color: var(--mut);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
  }
}

.tbl input[type=password] {
  width: 170px;
}

.tbl td .row {
  align-items: flex-start;
}

/* ===== Mobile fix (added 12 Oct 2026): show footer links on small screens ===== */

@media (max-width: 900px) {
  footer nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    background: none;
    gap: 10px 20px;
  }
  footer nav a {
    padding: 6px 0;
  }
  footer .w {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Mobile fix 2 (12 Oct 2026): stop the Home hero overflowing on phones ===== */

@media (max-width: 900px) {
  .hg {
    grid-template-columns: minmax(0, 1fr);
  }
  .hg > * {
    min-width: 0;
  }
  .orb {
    left: 50%;
    margin: -80px 0 -90px -250px;
    transform: scale(.68);
  }
}

@media (max-width: 480px) {
  .orb {
    margin: -105px 0 -105px -250px;
    transform: scale(.6);
  }
  .hero .btn {
    margin-right: 8px;
  }
}

@media (max-width: 360px) {
  .orb {
    margin: -120px 0 -120px -250px;
    transform: scale(.52);
  }
}
