/*
Theme Name: Gear 5 Mobility
Theme URI: https://example.com/
Author: Gear 5 Mobility
Description: One-page business site for Gear 5 Mobility. Technology Awakened.
Version: 1.0
Requires at least: 5.8
Requires PHP: 7.4
License: Proprietary
Text Domain: gear5
*/
:root{color-scheme:light}
body{margin:0}
img{max-width:100%}
[hidden]{display:none!important}

/* Layout: sticky header, split hero, then alternating light and tinted sections.
   Memorable moment: the logo's blue, red and yellow bars return as the staircase of the four process steps. */
:root {
  --paper: #F7F6F3;
  --surface: #FFFFFF;
  --ink: #141414;
  --muted: #515151;
  --brand: #1D5FC4;
  --mist: #EEEBE6;
  --line: #D9D5CE;
  --signal: #F18360;
  --on-signal: #141414;
  --band-bg: #141414;
  --band-fg: #FFFFFF;
  --band-muted: #C8C6C2;
  --band-accent: #F18360;
  --band-line: rgba(255, 255, 255, .22);
  --c-blue: #2F76DC;
  --c-red: #E62C39;
  --c-yellow: #FBC920;
  --c-orange: #F18360;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F0F0F;
    --surface: #1A1A1A;
    --ink: #F3F2EF;
    --muted: #B4B2AD;
    --brand: #7BAAF2;
    --mist: #161616;
    --line: #333333;
    --signal: #F18360;
    --on-signal: #141414;
    --band-bg: #000000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F0F0F;
  --surface: #1A1A1A;
  --ink: #F3F2EF;
  --muted: #B4B2AD;
  --brand: #7BAAF2;
  --mist: #161616;
  --line: #333333;
  --signal: #F18360;
  --on-signal: #141414;
  --band-bg: #000000;
  color-scheme: dark;
}

:root {
  --logo-full: url("assets/logo-full.png");
  --logo-mark: url("assets/logo-mark.png");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--band-accent); }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 84px; }
.section-tint { background: var(--mist); }
.section-head { display: grid; gap: 14px; max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
.section-head p { color: var(--muted); }
.band { background: var(--band-bg); color: var(--band-fg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem; border: 2px solid transparent; border-radius: 8px; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-signal { background: var(--signal); color: var(--on-signal); }
.btn-signal:hover { filter: brightness(1.08); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: var(--band-line); }
.section .btn-line:hover { background: var(--mist); }

/* Contact strip */
.topbar { position: relative; z-index: 21; border-bottom: 1px solid var(--band-line); }
.topbar p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding-block: 11px; font-size: .95rem; text-align: center; color: var(--band-muted); }
.topbar strong { color: var(--band-fg); font-weight: 600; }
.topbar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--band-accent); flex: none; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); }
.mark { flex: none; width: 46px; aspect-ratio: 96 / 106; padding: 5px 7px; border-radius: 10px; background-color: #FFFFFF; background-image: var(--logo-mark); background-repeat: no-repeat; background-position: center; background-size: contain; background-origin: content-box; }
.brand b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.brand small { display: block; font: 500 .72rem/1.1 var(--body); color: var(--muted); letter-spacing: .02em; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: block; padding: .6rem .85rem; border-radius: 6px; text-decoration: none; font-weight: 500; }
.main-nav a:hover { background: var(--mist); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: .38em; height: .38em; margin-left: .5em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.18em) rotate(45deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 272px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 32px rgba(8, 30, 34, .16); display: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { min-height: 42px; padding: 0 1.1rem; }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 84px 76px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.025em; }
.hero .sub-line { margin-top: 18px; font: 600 1.15rem var(--display); color: var(--band-accent); }
.hero .lede { margin-top: 18px; max-width: 54ch; color: var(--band-muted); font-size: 1.125rem; }
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { min-width: 0; display: grid; justify-items: center; gap: 28px; }
.bars { display: flex; align-items: flex-end; gap: 14px; height: 120px; }
.bars i { display: block; width: 26px; border-radius: 13px; }
.bars i:nth-child(1) { height: 48px; background: var(--c-blue); }
.bars i:nth-child(2) { height: 84px; background: var(--c-red); }
.bars i:nth-child(3) { height: 120px; background: var(--c-yellow); }
.logo-plate { width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 2.74 / 1; padding: 6%; border-radius: 20px; background-color: #FFFFFF; background-image: var(--logo-full); background-repeat: no-repeat; background-position: center; background-size: contain; background-origin: content-box; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.about h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
.about .copy { display: grid; gap: 16px; margin-top: 18px; max-width: 56ch; color: var(--muted); }
.points li { padding: 20px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points h3 { font-size: 1.15rem; font-weight: 700; }
.points p { margin-top: 6px; color: var(--muted); }

/* Industries */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.ind { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ind-top { display: grid; place-items: center; height: 132px; background: var(--mist); color: var(--brand); }
.section-tint .ind-top { background: var(--paper); }
.ind-photo { position: relative; overflow: hidden; padding: 0; }
.ind-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; display: block; }
.ind-top svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ind-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.ind h3 { font-size: 1.3rem; font-weight: 700; }
.ind p { color: var(--muted); }
.ind a { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--brand); text-underline-offset: 3px; }

/* Solutions */
.sols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.sols li { padding: 22px 0; border-top: 1px solid var(--line); min-width: 0; }
.sols h3 { font-size: 1.2rem; font-weight: 700; }
.sols p { margin-top: 6px; color: var(--muted); max-width: 52ch; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: end; }
.steps li { border-top: 6px solid var(--brand); border-radius: 3px; padding-top: 18px; min-width: 0; }
.steps li:nth-child(1) { margin-top: 84px; border-top-color: var(--c-blue); }
.steps li:nth-child(2) { margin-top: 56px; border-top-color: var(--c-red); }
.steps li:nth-child(3) { margin-top: 28px; border-top-color: var(--c-yellow); }
.steps li:nth-child(4) { border-top-color: var(--c-orange); }
.steps .n { font: 800 2.4rem/1 var(--display); color: var(--ink); }
.steps h3 { margin-top: 10px; font-size: 1.25rem; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--muted); }

/* Why-us band */
.partner .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 84px; }
.partner h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
.partner .copy { margin-top: 18px; display: grid; gap: 14px; color: var(--band-muted); max-width: 54ch; }
.partner ul li { padding: 16px 0; border-top: 1px solid var(--band-line); font-weight: 500; }
.partner ul li:last-child { border-bottom: 1px solid var(--band-line); }
.partner ul span { display: block; margin-top: 2px; font-weight: 400; color: var(--band-muted); }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 600 1.15rem var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 1.5rem/1 var(--body); color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
.contact .copy { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.reach { margin-top: 28px; display: grid; gap: 14px; }
.reach dt { font-weight: 600; }
.reach dd { margin: 2px 0 0; color: var(--muted); user-select: all; }
.reach dd a { color: inherit; }
form { display: grid; gap: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-weight: 600; font-size: .95rem; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: 400 1rem var(--body); }
textarea { min-height: 112px; resize: vertical; }
form .btn { justify-self: start; }
#form-status { min-height: 1.5em; color: var(--muted); font-size: .95rem; }


/* Footer */
.site-footer .wrap { padding-block: 56px 28px; }
.foot { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer address { margin-top: 16px; font-style: normal; color: var(--band-muted); line-height: 1.7; }
.site-footer h4 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.site-footer nav li + li { margin-top: 8px; }
.site-footer nav a { color: var(--band-muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--band-fg); text-decoration: underline; }
.site-footer .brand small { color: var(--band-muted); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--band-line); font-size: .9rem; color: var(--band-muted); }
.legal span { margin-right: auto; }
.legal a { color: var(--band-muted); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

.nav-m { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .header-actions { display: none; }
  .nav-m { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--surface); border-bottom: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; }
  .has-sub > a::after { display: none; }
  .sub { position: static; display: block; min-width: 0; padding: 0 0 0 14px; border: 0; box-shadow: none; }
  .hero .wrap, .about, .partner .wrap, .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-art { max-width: 420px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .steps li:nth-child(n) { margin-top: 0; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .section { padding-block: 60px; }
  .hero .wrap { padding-block: 56px 52px; }
  .sols, .steps, .row { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr); }
  form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.notice { padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.notice.ok { background: #E3F4E8; color: #14532D; }
.notice.err { background: #FDE8E8; color: #7F1D1D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
