/* =========================================================
   Takeoff Machinery – styles
   ========================================================= */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --orange: #F77F00;
  --orange-d: #d96f00;
  --ink: #12203a;
  --text: #3d4a5c;
  --muted: #6b778a;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --wa: #25D366;
  --wa-d: #1da851;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 6px 20px rgba(11, 37, 69, .07);
  --shadow-h: 0 2px 4px rgba(11, 37, 69, .08), 0 16px 36px rgba(11, 37, 69, .14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(247, 127, 0, .6); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.icon { width: 20px; height: 20px; flex: none; }
span[data-icon] { display: inline-flex; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 2px solid transparent;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-d); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: 13px; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 24px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--orange); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
#site-header { display: contents; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; flex: none; display: block; }
.logo-mark img { width: 100%; height: 100%; display: block; }
.logo-text { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.logo-text b { color: var(--orange); font-weight: 800; margin-left: 4px; }
.logo-light .logo-text { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: 15px; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav a:not(.btn):hover { background: var(--bg-soft); }
.nav a.active { color: var(--orange); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; place-items: center; cursor: pointer; color: var(--ink);
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(247, 127, 0, .22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255, 255, 255, .06), transparent 60%),
    linear-gradient(135deg, #0B2545 0%, #13315C 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.hero-inner { position: relative; padding: 96px 20px 104px; max-width: 1200px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  background: rgba(247, 127, 0, .15); color: #ffb769; font-size: 13px; font-weight: 600;
  letter-spacing: .02em; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; max-width: 760px; margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .8); max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.hero-points .icon { color: var(--orange); width: 18px; height: 18px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #0B2545 0%, #13315C 100%); color: rgba(255, 255, 255, .8);
  padding: 52px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 127, 0, .25), transparent);
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.page-hero p { margin: 0; max-width: 640px; font-size: 17px; }
.crumbs { font-size: 14px; margin-bottom: 14px; color: rgba(255, 255, 255, .6); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { margin: 0 8px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .kicker { color: var(--orange); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* category grids: centre an incomplete last row */
#home-categories, #category-grid { display: flex; flex-wrap: wrap; justify-content: center; }
#home-categories > *, #category-grid > * { flex: 0 1 calc((100% - 48px) / 3); }
@media (max-width: 860px) { #home-categories > *, #category-grid > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { #home-categories > *, #category-grid > * { flex-basis: 100%; } }

/* ---------- thumbnail / placeholder ---------- */
.thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--tint, #eef2f7);
  display: grid; place-items: center;
}
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .7), transparent 55%);
  pointer-events: none;
}
.thumb-icon { width: 30%; height: auto; max-width: 84px; color: var(--navy); opacity: .5; stroke-width: 1.3; }
.thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  object-fit: contain; background: #fff; padding: 2%;
  transition: transform .4s;
}
.thumb:has(img) { border-bottom: 1px solid var(--line); }

/* ---------- category card ---------- */
.cat-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.cat-card:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); border-color: transparent; }
.cat-card:hover .thumb img { transform: scale(1.04); }
.cat-card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-card h3 { font-size: 20px; margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.cat-meta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line);
}
.cat-meta span { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 600; }
.cat-meta .icon { width: 16px; height: 16px; transition: transform .2s; }
.cat-card:hover .cat-meta .icon { transform: translateX(4px); }

/* ---------- product card ---------- */
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .thumb-icon { max-width: 64px; }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 16px; font-weight: 650; margin-bottom: 14px; flex: 1; }
.product-cat {
  align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--orange);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px;
}
.product-cat:hover { text-decoration: underline; }

/* ---------- features (why us) ---------- */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(247, 127, 0, .12); color: var(--orange); margin-bottom: 18px;
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -48px; position: relative; z-index: 2; }
.stat { padding: 26px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- serve list ---------- */
.serve { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.serve span {
  padding: 10px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--line);
  font-weight: 500; color: var(--ink); font-size: 15px;
}

/* ---------- CTA band ---------- */
.cta {
  border-radius: 20px; padding: 48px; color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(247, 127, 0, .3), transparent 60%),
    linear-gradient(135deg, #0B2545, #13315C);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta p { margin: 0; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- search + chips ---------- */
.toolbar { margin: -30px 0 36px; position: relative; z-index: 2; }
.search {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow-h); max-width: 720px;
}
.search .icon { color: var(--muted); }
.search input {
  flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 12px 0; color: var(--ink); background: transparent;
}
.search-info { color: var(--muted); margin: 18px 0 0; font-size: 15px; }

.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin: -28px 0 32px; position: relative; z-index: 2; scrollbar-width: thin; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 99px; font-weight: 500; font-size: 14px;
  color: var(--ink); box-shadow: var(--shadow); transition: border-color .2s, background .2s, color .2s;
}
.chip .icon { width: 17px; height: 17px; color: var(--orange); }
.chip:hover { border-color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.empty {
  grid-column: 1 / -1; text-align: center; padding: 48px 20px; background: var(--bg-soft);
  border-radius: var(--radius); border: 1px dashed var(--line);
}

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.prose p { font-size: 17px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); }
.glance {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.glance h3 { font-size: 18px; margin-bottom: 16px; }
.glance ul { list-style: none; margin: 0; padding: 0; }
.glance li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.glance li:first-child { border-top: 0; }
.glance .icon { color: var(--orange); margin-top: 2px; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; transition: box-shadow .2s, transform .2s;
}
a.contact-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.contact-card .ci {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(11, 37, 69, .07); color: var(--navy); margin-bottom: 10px;
}
.contact-card .ci.wa { background: rgba(37, 211, 102, .14); color: #149c48; }
.contact-card small { color: var(--muted); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.contact-card strong { color: var(--ink); font-size: 16px; word-break: break-word; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.panel h2 { font-size: 24px; }
.panel > p { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label em { color: var(--orange); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid #d5dbe5; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 37, 69, .12);
}
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-done { text-align: center; padding: 32px 8px; outline: 0; }
.form-done .done-icon {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(37, 211, 102, .14); color: #149c48;
  display: grid; place-items: center; margin: 0 auto 18px;
}
.form-done .done-icon .icon { width: 32px; height: 32px; }
.form-done .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 420px; display: flex; flex-direction: column; }
.map iframe { border: 0; width: 100%; flex: 1; min-height: 360px; }
.map-foot { padding: 16px 20px; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.map-foot a { color: var(--orange); font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: #071a33; color: rgba(255, 255, 255, .7); margin-top: 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer-brand p { margin: 18px 0 20px; max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { color: var(--orange); width: 18px; height: 18px; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 14px; color: rgba(255, 255, 255, .5); }

.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa .icon { width: 30px; height: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11, 37, 69, .1);
    padding: 12px 20px 20px; gap: 2px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 16px; }
  .nav-cta { margin: 10px 0 0; }
  .header-inner { position: relative; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar-inner { justify-content: space-between; gap: 12px; }
  .topbar a:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .header-inner { height: 64px; }
  .logo-text { font-size: 17px; }
  .logo-mark { width: 34px; height: 34px; }
  .hero-inner { padding: 64px 16px 88px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding: 60px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-body { padding: 12px; }
  .product-body h3 { font-size: 14.5px; }
  .product-card .btn { font-size: 13px; padding: 9px 8px; gap: 6px; }
  .product-card .btn .icon { width: 16px; height: 16px; }
  .stat strong { font-size: 24px; }
  .cta { padding: 32px 24px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .float-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
