/* ===== Orbient 24 — brand stylesheet ===== */
:root {
  --navy:      #16324f;
  --navy-deep: #0f2740;
  --azure:     #1a9fd4;
  --azure-2:   #1c68a8;
  --sky:       #58c4ec;
  --grad:      linear-gradient(120deg, #1a9fd4 0%, #1c68a8 55%, #0f2740 100%);
  --grad-soft: linear-gradient(120deg, #e8f5fb 0%, #f4f8fb 100%);

  --bg:      #ffffff;
  --bg-alt:  #f4f8fb;
  --surface: #ffffff;
  --border:  #e2ebf1;
  --text:    #12293f;
  --muted:   #566476;

  --radius:  16px;
  --maxw:    1120px;
  --ease:    cubic-bezier(.22,.61,.36,1);
  --shadow:  0 18px 40px -22px rgba(22,50,79,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

h1, h2, h3, .brand-name {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em; line-height: 1.12; margin: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { color: var(--azure); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--azure); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 27px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(26,159,212,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(26,159,212,.85); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(22,50,79,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { border-radius: 8px; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--navy); }

/* Header text turns white while over the hero (top, not scrolled) */
.site-header:not(.scrolled) .nav a { color: rgba(255,255,255,.82); }
.site-header:not(.scrolled) .nav a:hover { color: #fff; }
.site-header:not(.scrolled) .brand-name { color: #fff; }
.site-header:not(.scrolled) .brand-name .accent { color: var(--sky); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.site-header:not(.scrolled) .nav .nav-cta { color: #fff; border-color: rgba(255,255,255,.45); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--navy); border: 1px solid var(--border); padding: 9px 20px; border-radius: 999px; }
.nav .nav-cta:hover { border-color: var(--azure); color: var(--azure); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero (split layout) ===== */
.hero { position: relative; padding: 150px 0 96px; overflow: hidden; background: var(--grad); color: #fff; }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 82% 40%, rgba(88,196,236,.28), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(88,196,236,.16), transparent 60%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); margin: 0 0 20px; font-weight: 600; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 700; }
.hero .grad { background: linear-gradient(115deg, #a9e6ff, #58c4ec 60%, #d6f2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.16rem); color: rgba(255,255,255,.86); margin: 24px 0 0; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ===== Hero clock visual ===== */
.hero-visual { display: flex; justify-content: center; }
.clock-wrap { width: min(440px, 82vw); aspect-ratio: 1; position: relative; }
.clock { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 22px 44px rgba(15,39,64,.45)); }

.clock .hand { transform-origin: 200px 200px; }
.clock .hand-hour   { animation: clockspin 32s linear infinite; }
.clock .hand-minute { animation: clockspin 8s  linear infinite; }
@keyframes clockspin { to { transform: rotate(360deg); } }

.clock .orbit { transform-origin: 200px 200px; }
.clock .orbit-a { animation: clockspin 14s linear infinite; }
.clock .orbit-b { animation: clockspin 20s linear infinite reverse; }
.clock .orbit-c { animation: clockspin 26s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .clock .hand, .clock .orbit { animation: none !important; }
  .clock .hand-hour { transform: rotate(300deg); }
  .clock .hand-minute { transform: rotate(60deg); }
}

/* ===== Metrics band ===== */
.metrics { background: var(--navy-deep); color: #fff; border-block: 1px solid rgba(255,255,255,.06); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 30px 22px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.metric:first-child { border-left: 0; }
.metric-k { display: block; font-family: "Sora", sans-serif; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem);
  background: linear-gradient(115deg, #a9e6ff, #58c4ec 70%, #d6f2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-l { display: block; color: rgba(255,255,255,.72); font-size: .9rem; margin-top: 8px; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--azure); font-weight: 700; margin: 0 0 14px; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--navy); }
.section-head .lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 22px; color: var(--navy); }
.about-copy p { color: var(--muted); margin: 0 0 16px; }
.stat-card { display: grid; gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.stat:hover { transform: translateX(4px); border-color: var(--azure); }
.stat-ico { font-size: 1.6rem; line-height: 1; }
.stat strong { display: block; font-family: "Sora", sans-serif; font-size: 1.05rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: .92rem; }

/* ===== Tabs (What we deliver) ===== */
.tabs { max-width: 940px; margin: 0 auto; }
.tablist { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.tab {
  font-family: "Sora", sans-serif; font-size: .95rem; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 11px 22px; cursor: pointer; transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.tab:hover { color: var(--azure-2); border-color: var(--azure); }
.tab.is-active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 10px 26px -12px rgba(26,159,212,.75); }

.tabpanels { position: relative; }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fadepanel .4s var(--ease); }
@keyframes fadepanel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tabpanel.is-active { animation: none; } }

.tabpanel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 44px 44px 40px; box-shadow: var(--shadow); text-align: center;
}
.panel-icon { width: 60px; height: 60px; border-radius: 15px; display: grid; place-items: center; margin: 0 auto 22px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--azure-2); }
.panel-icon svg { width: 30px; height: 30px; }
.tabpanel h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--navy); }
.tabpanel p { color: var(--muted); font-size: 1.02rem; margin: 0 auto; max-width: 560px; }

/* ===== Timeline (24/7 economy) ===== */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(to bottom, var(--sky), var(--azure-2)); opacity: .5; }
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 0 0 40px 0; align-items: start; }
.tl-item:last-child { padding-bottom: 0; }
.tl-tick { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--azure);
  box-shadow: 0 0 0 6px var(--bg); }
.tl-tick::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); }
.tl-time { position: absolute; left: 0; top: 60px; width: 56px; text-align: center;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: .95rem; color: transparent; -webkit-text-stroke: 1px var(--azure); }
.tl-body { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--sky);
  border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-left-color .3s var(--ease); }
.tl-body:hover { transform: translateX(4px); border-left-color: var(--azure); }
.tl-body h3 { font-size: 1.22rem; margin-bottom: 8px; color: var(--navy); }
.tl-body p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ===== FAQ (accordion) ===== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq { display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item.open { border-color: var(--azure); box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left; padding: 20px 24px;
  font-family: "Sora", sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.faq-ico { position: relative; flex: none; width: 18px; height: 18px; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--azure); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.faq-ico::before { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-ico::after  { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-item.open .faq-ico::before { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { color: var(--muted); margin: 0; padding: 0 24px 22px; font-size: .98rem; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; color: var(--navy); }
.contact-copy p { color: var(--muted); margin-bottom: 22px; }
.contact-email { display: inline-block; font-family: "Sora", sans-serif; font-size: 1.2rem; color: var(--azure-2); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-email:hover { border-bottom-color: var(--azure); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: 12px 14px; font: inherit; font-size: 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(26,159,212,.15); }
.contact-form .btn { margin-top: 4px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--navy); color: #fff; padding: 54px 0 30px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name .accent { color: var(--sky); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-tag { color: rgba(255,255,255,.7); margin: 14px 0 0; font-size: .95rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: 15px; transition: color .2s; }
.footer-nav a:hover { color: var(--sky); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: rgba(255,255,255,.6); font-size: 14px; padding-top: 22px; }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(odd) { border-left: 0; }
  .metric:nth-child(3), .metric:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
  .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 4px; align-items: stretch; background: rgba(255,255,255,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: 90; box-shadow: 0 12px 30px -18px rgba(22,50,79,.5); }
  .nav.open { transform: translateY(0); }
  /* Force dark nav text in the open mobile panel even over hero */
  .site-header:not(.scrolled) .nav.open a { color: var(--muted); }
  .site-header:not(.scrolled) .nav.open a:hover { color: var(--text); }
  .site-header:not(.scrolled) .nav.open .nav-cta { color: var(--navy); border-color: var(--border); }
  .nav a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border: 1px solid var(--azure) !important; color: var(--azure) !important; }
  .hero { padding: 128px 0 76px; }
  .section { padding: 68px 0; }
  /* tabs scroll horizontally on mobile */
  .tablist { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }
  .tabpanel { padding: 32px 24px 30px; }
}
@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.08); }
  .metric:first-child { border-top: 0; }
  .footer-inner { flex-direction: column; }
  .tl-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline::before { left: 21px; }
  .tl-tick { width: 44px; height: 44px; }
  .tl-tick::before { width: 11px; height: 11px; }
  .tl-time { width: 44px; top: 48px; }
}
