*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Arial,Helvetica,sans-serif;background:#020b18;color:white;line-height:1.6}
a{text-decoration:none;color:inherit}
.header{position:absolute;top:0;left:0;right:0;z-index:10;padding:24px 7%;display:flex;justify-content:space-between;align-items:center}
.brand{display:flex;gap:14px;align-items:center}
.logo{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#e11d2e,#0057b8);display:grid;place-items:center;font-size:30px;font-weight:900}
.brand strong{display:block;letter-spacing:4px;font-size:22px}
.brand span{display:block;color:#ff3344;letter-spacing:5px;font-size:12px;font-weight:900}
.nav{display:flex;gap:26px;font-weight:800}
.nav a:last-child{background:#e11d2e;padding:12px 20px;border-radius:10px}

.hero{min-height:100vh;padding:170px 7% 90px;display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center;background:
radial-gradient(circle at 75% 35%,rgba(0,111,255,.55),transparent 28%),
radial-gradient(circle at 82% 62%,rgba(225,29,46,.45),transparent 24%),
linear-gradient(135deg,#020b18,#082b55)}
.badge{color:#ff3344;font-weight:900;letter-spacing:4px;margin-bottom:18px}
h1{font-size:72px;line-height:1.02;margin-bottom:26px}
.lead{font-size:21px;color:#dce8f8;max-width:760px;margin-bottom:34px}
.btns{display:flex;gap:16px;flex-wrap:wrap}
.btn{padding:16px 26px;border-radius:12px;font-weight:900}
.red{background:#e11d2e}
.outline{border:1px solid rgba(255,255,255,.45)}

.orbit{height:520px;border-radius:36px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);position:relative;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.orbit:before{content:"";position:absolute;width:560px;height:560px;border-radius:50%;border:2px solid rgba(255,255,255,.12);top:-40px;left:-30px}
.orbit:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,#e11d2e,transparent 70%);right:40px;bottom:40px;filter:blur(8px)}
.orbit h2{position:absolute;left:38px;bottom:44px;font-size:42px;line-height:1.1}
.node{position:absolute;padding:14px 18px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-weight:900}
.n1{top:70px;left:70px}.n2{top:120px;right:70px}.n3{bottom:140px;left:90px}.n4{bottom:95px;right:120px}

.section{padding:95px 7%;background:white;color:#071a33}
.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:38px}
.section h2{font-size:46px;line-height:1.12;max-width:760px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.card{min-height:360px;border-radius:28px;padding:30px;color:white;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 25px 70px rgba(0,0,0,.18);transition:.25s}
.card:hover{transform:translateY(-10px)}
.card b{font-size:24px}
.card h3{font-size:30px;margin:20px 0 10px}
.card p{color:#eef5ff}
.md{background:linear-gradient(145deg,#111827,#031225)}
.mf{background:linear-gradient(145deg,#003b73,#0072df)}
.mk{background:linear-gradient(145deg,#6d1118,#e11d2e)}
.mt{background:linear-gradient(145deg,#102a43,#00457f)}
.mark{width:76px;height:76px;border-radius:22px;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:24px;font-weight:900;letter-spacing:2px}

.dark{padding:95px 7%;background:linear-gradient(135deg,#031225,#06294f);display:grid;grid-template-columns:.9fr 1.1fr;gap:50px}
.dark h2{font-size:46px;line-height:1.12;margin-bottom:20px}
.dark p{color:#dce8f8;font-size:18px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.grid div{padding:26px;border-radius:22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.grid b{display:block;font-size:20px;margin-bottom:8px}

.contact{padding:65px 7%;background:linear-gradient(120deg,#e11d2e,#0057b8);display:flex;justify-content:space-between;align-items:center;gap:30px}
.contact h2{font-size:38px;line-height:1.12}
.footer{padding:45px 7%;background:#020b18;display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;color:#dce8f8}
.whatsapp{position:fixed;right:22px;bottom:22px;width:60px;height:60px;border-radius:50%;background:#25D366;display:grid;place-items:center;font-size:28px;font-weight:900;z-index:99}

@media(max-width:1000px){
.header{position:relative;background:#020b18;flex-direction:column;align-items:flex-start;gap:20px}
.nav{flex-wrap:wrap;gap:14px}
.hero,.dark{grid-template-columns:1fr;padding-top:80px}
h1{font-size:44px}
.cards,.grid{grid-template-columns:1fr}
.section-head,.contact{flex-direction:column;align-items:flex-start}
.orbit{height:380px}
}


/* =========================================================
   MAESTRO INTERACTION & RESPONSIVE NAVIGATION
   ========================================================= */

body.menu-open {
  overflow: hidden;
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 10px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.card,
.grid div,
.orbit,
.contact {
  will-change: transform;
}

.card:focus-visible,
.btn:focus-visible,
.nav a:focus-visible,
.whatsapp:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1000px) {
  .header {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 18px 6%;
  }

  .mobile-toggle {
    display: flex;
    margin-left: auto;
    position: relative;
    z-index: 1002;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    padding: 95px 7% 40px;
    background:
      radial-gradient(circle at 80% 20%, rgba(0,111,220,.28), transparent 34%),
      radial-gradient(circle at 15% 85%, rgba(225,29,46,.23), transparent 30%),
      #020b18;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    padding: 17px 20px;
    border-radius: 13px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.11);
    font-size: 18px;
  }

  .nav a:last-child {
    margin-top: 8px;
    text-align: center;
    background: #e11d2e;
  }

  .hero {
    min-height: auto;
    padding-top: 85px;
  }

  .orbit {
    min-height: 370px;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 15px 5%;
  }

  .logo {
    width: 48px;
    height: 48px;
    font-size: 25px;
  }

  .brand strong {
    font-size: 17px;
    letter-spacing: 3px;
  }

  .brand span {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .hero {
    padding: 70px 5%;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .lead {
    font-size: 18px;
  }

  .section,
  .dark {
    padding: 72px 5%;
  }

  .section h2,
  .dark h2 {
    font-size: 36px;
  }

  .contact {
    padding: 48px 5%;
  }

  .footer {
    padding: 38px 5%;
  }

  .footer div:last-child {
    overflow-wrap: anywhere;
  }
}

/* =========================================================
   MAESTRO PREMIUM VISUAL UPGRADE — V2.1
   ========================================================= */

.hero {
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.icon-mark svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
}

.card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -95px;
  right: -85px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(2px);
  transition: transform .45s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, #e11d2e, #0074e8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.card:hover::before {
  transform: scale(1.28);
}

.card:hover::after {
  transform: scaleX(1);
}

.card > * {
  position: relative;
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 310px;
  height: 310px;
  animation: maestroSpin 18s linear infinite;
}

.ring-two {
  width: 430px;
  height: 430px;
  border-style: dashed;
  animation: maestroSpinReverse 28s linear infinite;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 118px;
  height: 118px;
  border-radius: 32px;
  transform: translate(-50%, -50%) rotate(8deg);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e11d2e, #006fdc);
  box-shadow:
    0 25px 70px rgba(0,0,0,.38),
    0 0 55px rgba(0,111,220,.35);
}

.orbit-core span {
  transform: rotate(-8deg);
  font-size: 54px;
  font-weight: 900;
  color: white;
}

.data-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 20px rgba(255,255,255,.9);
}

.dot-one {
  top: 19%;
  left: 48%;
  animation: maestroFloat 4s ease-in-out infinite;
}

.dot-two {
  top: 48%;
  right: 12%;
  background: #e11d2e;
  animation: maestroFloat 5s ease-in-out infinite .8s;
}

.dot-three {
  bottom: 18%;
  left: 19%;
  background: #28a1ff;
  animation: maestroFloat 4.5s ease-in-out infinite .35s;
}

.node {
  z-index: 3;
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}

.footer-emails {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-emails a {
  color: #dce8f8;
  transition: color .2s ease;
}

.footer-emails a:hover {
  color: white;
}

@keyframes maestroSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes maestroSpinReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to   { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes maestroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-13px) scale(1.15); }
}

@media (max-width: 1000px) {
  .footer-emails {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .orbit {
    min-height: 350px;
  }

  .ring-one {
    width: 230px;
    height: 230px;
  }

  .ring-two {
    width: 310px;
    height: 310px;
  }

  .orbit-core {
    width: 94px;
    height: 94px;
    border-radius: 26px;
  }

  .orbit-core span {
    font-size: 43px;
  }

  .node {
    padding: 10px 13px;
    font-size: 13px;
  }

  .footer-emails {
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================================================
   TANZANIA TIME & CALENDAR — V2.2
   ========================================================= */

.utility-bar {
  position: relative;
  z-index: 1200;
  color: #dce8f8;
  background: #010711;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.utility-inner {
  min-height: 42px;
  padding: 7px 7%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}

.calendar-trigger {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.calendar-trigger:hover,
.calendar-trigger:focus-visible {
  color: #fff;
}

.utility-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #e11d2e, #006fdc);
}

.utility-clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.utility-clock strong {
  min-width: 72px;
  color: #fff;
  letter-spacing: .7px;
  font-variant-numeric: tabular-nums;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 12px rgba(48,209,88,.9);
  animation: maestroPulse 1.7s ease-in-out infinite;
}

.utility-contact {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.utility-contact a {
  color: #dce8f8;
}

.utility-contact a:hover {
  color: #fff;
}

.calendar-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 7%;
  width: min(390px, calc(100vw - 28px));
  padding: 20px;
  color: #071a33;
  background: #fff;
  border: 1px solid #dfe8f3;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.calendar-popover[hidden] {
  display: none;
}

.calendar-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 30px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-top: 1px solid #dfe8f3;
  border-left: 1px solid #dfe8f3;
  transform: rotate(45deg);
}

.calendar-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}

.calendar-header h2 {
  font-size: 20px;
  text-align: center;
}

.calendar-header button,
.calendar-footer button {
  border: 1px solid #dfe8f3;
  border-radius: 11px;
  color: #071a33;
  background: #f5f8fc;
  font-weight: 900;
  cursor: pointer;
}

.calendar-header button {
  width: 42px;
  height: 42px;
  font-size: 25px;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-weekdays {
  margin-bottom: 6px;
  color: #728399;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  color: #21384f;
  background: transparent;
  font-size: 13px;
}

.calendar-day.is-muted {
  color: #aebac7;
}

.calendar-day.is-today {
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #e11d2e, #006fdc);
  box-shadow: 0 8px 20px rgba(0,87,184,.24);
}

.calendar-footer {
  margin-top: 15px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  border-top: 1px solid #e4ebf4;
  color: #728399;
  font-size: 11px;
}

.calendar-footer button {
  padding: 9px 15px;
}

@keyframes maestroPulse {
  0%, 100% {
    opacity: .65;
    transform: scale(.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@media (max-width: 900px) {
  .utility-inner {
    padding-inline: 5%;
    grid-template-columns: 1fr auto;
  }

  .utility-contact {
    display: none;
  }

  .calendar-popover {
    left: 5%;
  }
}

@media (max-width: 600px) {
  .utility-inner {
    min-height: 46px;
    gap: 10px;
    font-size: 11px;
  }

  .utility-clock span:last-child {
    display: none;
  }

  .utility-clock strong {
    min-width: 65px;
  }

  .calendar-trigger {
    max-width: 190px;
  }

  #tz-date {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calendar-popover {
    left: 14px;
  }
}

/* =========================================================
   MAESTRO STICKY NAVIGATION FIX — V2.3
   Clock bar scrolls away; main navigation remains frozen.
   ========================================================= */

/* Clock/date bar stays in normal document flow. */
.utility-bar {
  position: relative !important;
  top: auto !important;
  z-index: 1300;
  width: 100%;
}

/* Compact utility bar so it does not dominate the header. */
.utility-inner {
  min-height: 38px;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* The main Maestro menu freezes at the top while scrolling. */
.header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  z-index: 1200 !important;
  width: 100%;
  background: rgba(2, 11, 24, .96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .20);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Keep the logo and links vertically aligned. */
.header .brand,
.header .nav {
  position: relative;
  z-index: 2;
}

/* Calendar must appear over the sticky menu and page. */
.calendar-popover {
  z-index: 2000 !important;
}

/* Prevent anchor links from hiding underneath the sticky menu. */
#businesses,
#about,
#contact {
  scroll-margin-top: 110px;
}

/* Smooth visual transition when scrolling. */
.header.is-scrolled {
  background: rgba(2, 11, 24, .985) !important;
  box-shadow: 0 14px 42px rgba(0, 0, 0, .34);
}

/* Desktop navigation remains clean and accessible. */
@media (min-width: 1001px) {
  .header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav {
    align-items: center;
  }

  .nav a {
    white-space: nowrap;
  }
}

/* Tablet and mobile treatment. */
@media (max-width: 1000px) {
  .utility-inner {
    min-height: 40px;
    padding: 5px 5%;
  }

  .header {
    position: sticky !important;
    top: 0 !important;
    padding: 14px 5% !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .mobile-toggle {
    flex-shrink: 0;
  }

  /*
   Mobile overlay menu begins below the frozen header,
   preventing it from hiding the logo and menu button.
  */
  .nav {
    top: 76px !important;
    bottom: 0 !important;
    height: calc(100dvh - 76px);
    padding-top: 28px !important;
    overflow-y: auto;
  }

  #businesses,
  #about,
  #contact {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 600px) {
  .utility-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .calendar-trigger {
    min-width: 0;
    max-width: 180px;
  }

  #tz-date {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .utility-clock {
    gap: 6px;
  }

  .utility-clock strong {
    min-width: 61px;
    font-size: 11px;
  }

  .header {
    min-height: 70px;
  }

  .nav {
    top: 70px !important;
    height: calc(100dvh - 70px);
  }

  .calendar-popover {
    position: fixed !important;
    top: 56px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-height: calc(100dvh - 75px);
    overflow-y: auto;
  }

  .calendar-popover::before {
    display: none;
  }
}

/* =========================================================
   ACTIVE NAVIGATION, PROGRESS & BACK TO TOP — V2.4
   ========================================================= */

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 3px;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(90deg, #e11d2e, #0074e8);
  box-shadow: 0 0 14px rgba(0,116,232,.65);
  transition: width .08s linear;
}

.nav a {
  position: relative;
  transition:
    color .22s ease,
    background .22s ease,
    border-color .22s ease;
}

@media (min-width: 1001px) {
  .nav a:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg, #e11d2e, #0074e8);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
  }

  .nav a:not(:last-child):hover::after,
  .nav a:not(:last-child).active::after {
    transform: scaleX(1);
  }

  .nav a.active {
    color: #fff;
  }
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 48px;
  height: 48px;
  z-index: 998;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  color: #fff;
  background: rgba(2,11,24,.92);
  box-shadow: 0 16px 38px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity .25s ease,
    visibility .25s ease,
    transform .25s ease,
    background .25s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #e11d2e, #006fdc);
}

@media (max-width: 1000px) {
  .nav a.active {
    color: #fff;
    border-color: rgba(0,116,232,.75);
    background: linear-gradient(
      90deg,
      rgba(225,29,46,.22),
      rgba(0,116,232,.22)
    );
  }
}

@media (max-width: 600px) {
  .back-to-top {
    right: 18px;
    bottom: 88px;
    width: 45px;
    height: 45px;
  }
}

/* =====================================================
   MOBILE HERO FIX V2.5
   ===================================================== */

@media (max-width:1000px){

  .hero{
      min-height:auto !important;
      padding:30px 5% 60px !important;
      display:flex !important;
      flex-direction:column !important;
      justify-content:center !important;
      gap:30px;
  }

  .hero-content{
      width:100%;
      margin:0 !important;
      padding:0 !important;
  }

  .hero h1{
      font-size:42px !important;
      line-height:1.1 !important;
      margin-top:0 !important;
  }

  .lead{
      font-size:17px !important;
      margin-bottom:24px !important;
  }

  .orbit{
      order:-1;
      width:100%;
      max-width:340px;
      height:300px !important;
      min-height:300px !important;
      margin:0 auto 15px;
  }

  .ring-one{
      width:190px !important;
      height:190px !important;
  }

  .ring-two{
      width:270px !important;
      height:270px !important;
  }

  .node{
      font-size:12px !important;
      padding:8px 10px !important;
  }

  .btns{
      flex-direction:column;
      width:100%;
  }

  .btn{
      width:100%;
      text-align:center;
  }
}


/* =========================================================
   FINAL MOBILE HEADER & HERO STABILIZATION — V2.6
   ========================================================= */

@media (max-width: 1000px) {

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  /* Time/date bar remains compact and scrolls normally. */
  .utility-bar {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    z-index: 1300 !important;
  }

  .utility-inner {
    min-height: 38px !important;
    padding: 5px 5% !important;
  }

  /* Frozen navigation: fixed height, never expands. */
  .header {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;

    width: 100% !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;

    padding: 10px 5% !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 14px !important;

    overflow: visible !important;
    background: rgba(2, 11, 24, .98) !important;
    border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 9px 30px rgba(0,0,0,.28);

    z-index: 1500 !important;
  }

  .header .brand {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
  }

  .header .logo {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 25px !important;
  }

  .header .brand strong {
    display: block !important;
    font-size: 17px !important;
    line-height: 1.1 !important;
    letter-spacing: 3px !important;
  }

  .header .brand span {
    display: block !important;
    margin-top: 5px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: 3px !important;
  }

  .mobile-toggle {
    display: flex !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    position: relative !important;
    inset: auto !important;
    z-index: 1700 !important;
  }

  /*
   Closed menu is completely removed from layout.
   This prevents the hidden overlay from creating a huge blank area.
  */
  .header .nav {
    display: none !important;
    position: fixed !important;
    top: 72px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: calc(100dvh - 72px) !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 26px 5% 45px !important;

    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 10px !important;

    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    background:
      radial-gradient(circle at 85% 15%, rgba(0,111,220,.25), transparent 32%),
      radial-gradient(circle at 12% 82%, rgba(225,29,46,.22), transparent 30%),
      #020b18 !important;

    z-index: 1600 !important;
  }

  .header .nav.open {
    display: flex !important;
  }

  .header .nav a {
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.07) !important;
    color: white !important;
    font-size: 17px !important;
    text-align: left !important;
  }

  .header .nav a:last-child {
    margin-top: 8px !important;
    background: #e11d2e !important;
    text-align: center !important;
  }

  /* Hero must begin immediately after the frozen navigation. */
  .hero {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 58px 5% 68px !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    align-items: start !important;
  }

  .hero > div:first-child {
    order: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero .badge {
    margin: 0 0 16px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    letter-spacing: 2.3px !important;
  }

  .hero h1 {
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-size: clamp(40px, 11vw, 56px) !important;
    line-height: 1.04 !important;
    overflow-wrap: normal !important;
  }

  .hero .lead {
    margin: 0 0 28px !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  .hero .btns {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .hero .btn {
    width: 100% !important;
    padding: 15px 18px !important;
    text-align: center !important;
  }

  /* Compact orbit for tablets. */
  .hero .orbit {
    order: 2 !important;
    width: min(100%, 430px) !important;
    height: 330px !important;
    min-height: 330px !important;
    margin: 0 auto !important;
  }

  #home,
  #businesses,
  #about,
  #contact {
    scroll-margin-top: 88px !important;
  }
}

/*
Phone layout:
Remove the large decorative orbit entirely.
This gives maximum space to the message and buttons.
*/
@media (max-width: 700px) {

  .utility-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
  }

  .calendar-trigger {
    max-width: 175px !important;
  }

  .utility-clock span:last-child {
    display: none !important;
  }

  .header {
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }

  .header .nav {
    top: 68px !important;
    height: calc(100dvh - 68px) !important;
  }

  .hero {
    padding-top: 48px !important;
    padding-bottom: 58px !important;
  }

  .hero .orbit {
    display: none !important;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 52px) !important;
  }

  .hero .lead {
    font-size: 16px !important;
  }

  .section,
  .dark {
    padding: 68px 5% !important;
  }

  .cards,
  .grid {
    grid-template-columns: 1fr !important;
  }

  .card {
    min-height: 330px !important;
  }

  #home,
  #businesses,
  #about,
  #contact {
    scroll-margin-top: 82px !important;
  }
}

