/* SkyDrones - B2B independent site stylesheet
   Light editorial body, deep-navy hero/footer, teal + amber accents. */

:root {
  --navy: #0a1424;
  --navy-2: #101f36;
  --navy-3: #162b47;
  --teal: #00b8a9;
  --teal-dark: #008f84;
  --amber: #ff7a1a;
  --ink: #142033;
  --body: #4a5a6e;
  --muted: #7a889a;
  --line: #e2e8f0;
  --soft: #f4f7fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(10, 20, 36, .08);
  --shadow-lg: 0 22px 60px rgba(10, 20, 36, .16);
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); }

.container { width: min(100% - 48px, var(--max)); margin: 0 auto; }
.section { padding: 86px 0; }
.section.tight { padding: 58px 0; }
.section.soft { background: var(--soft); }
.section.navy { background: var(--navy); color: #b7c5d6; }
.section.navy h2, .section.navy h3 { color: #fff; }
.eyebrow { display: inline-block; color: var(--teal-dark); font-size: .75rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.section.navy .eyebrow { color: #4fe0d2; }
.lead { font-size: 1.08rem; color: #5a6b80; max-width: 760px; }
.section.navy .lead { color: #b7c5d6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .87rem; }

/* ---------- header ---------- */
.topbar { background: #060e1b; color: #9fb1c7; font-size: .78rem; letter-spacing: .03em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 18px; }
.topbar a { color: #cfe0f0; }
.topbar span.dot { color: var(--teal); margin: 0 8px; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(10, 20, 36, .97);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .container { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800;
  font-size: 1.16rem; letter-spacing: .06em; white-space: nowrap; }
.brand .mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), #0080c8); color: #04121f; font-weight: 900; font-size: .95rem; }
.brand small { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .22em; color: #7d94ad; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.main-nav a { color: #c9d6e5; font-size: .87rem; font-weight: 600; padding: 8px 10px; border-radius: 7px;
  transition: color .18s, background .18s; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a.active { color: #4fe0d2; }
.products-dd { position: relative; }
.products-dd > a { display: block; color: #c9d6e5; font-size: .87rem; font-weight: 600;
  padding: 8px 10px; border-radius: 7px; }
.products-dd > a:hover { color: #fff; background: rgba(255,255,255,.08); }
.dd-panel { display: none; position: absolute; top: calc(100% + 12px); left: -8px; min-width: 262px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px;
  box-shadow: var(--shadow-lg); z-index: 70; }
.dd-panel a { display: block; padding: 9px 12px; color: #3c4d61; font-size: .84rem;
  font-weight: 600; border-radius: 7px; }
.dd-panel a:hover { background: #eef8f7; color: var(--teal-dark); }
.products-dd:hover .dd-panel, .products-dd:focus-within .dd-panel { display: block; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 4px 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 9px; font-weight: 700; font-size: .92rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 8px 22px rgba(255,122,26,.28); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(255,122,26,.4); }
.btn-teal { background: var(--teal); color: #04121f; }
.btn-outline { border-color: rgba(255,255,255,.42); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-sm { padding: 9px 17px; font-size: .84rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .44; }
.hero .overlay { position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,14,27,.93) 0%, rgba(6,14,27,.76) 46%, rgba(6,14,27,.26) 100%); }
.hero .container { position: relative; z-index: 2; padding: 104px 0 108px; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .lead { color: #c3d2e4; font-size: 1.16rem; max-width: 680px; }
.hero .eyebrow { color: #4fe0d2; }
.hero .actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 32px; }
.hero.mini .container { padding: 78px 0 70px; }
.hero.mini h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-chips span { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06);
  color: #dbe7f4; padding: 7px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; }

/* ---------- stat strip ---------- */
.stats { background: var(--navy-2); color: #fff; padding: 30px 0; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat b { display: block; font-size: 1.9rem; color: #4fe0d2; letter-spacing: -.03em; }
.stat span { font-size: .82rem; color: #a9bcd2; letter-spacing: .04em; }

/* ---------- generic grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: #e6f9f7; color: var(--teal-dark); margin-bottom: 18px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.section.navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }

/* ---------- category cards ---------- */
.cat-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card .thumb { aspect-ratio: 16 / 10; background: #f7fafb; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.cat-card:hover .thumb img { transform: scale(1.05); }
.cat-card .body { padding: 22px 24px 26px; }
.cat-card h3 { margin-bottom: .35em; }
.cat-card .meta { font-size: .84rem; color: var(--teal-dark); font-weight: 700; margin-bottom: 10px; }
.cat-card p { font-size: .91rem; margin-bottom: 16px; }
.cat-card .link { color: var(--teal-dark); font-weight: 700; font-size: .88rem; }
.cat-card .count { position: absolute; top: 14px; right: 14px; background: rgba(10,20,36,.88);
  color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }

/* ---------- product cards ---------- */
.product-list { display: grid; gap: 22px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); }
.product .top { display: grid; grid-template-columns: 260px 1fr; gap: 0; }
.product .pic { background: #fff; display: grid; place-items: center; padding: 18px; border-right: 1px solid var(--line); }
.product .pic img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product .info { padding: 26px 30px; }
.product .sku { font-size: .74rem; letter-spacing: .16em; font-weight: 800; color: var(--teal-dark); text-transform: uppercase; }
.product h3 { font-size: 1.5rem; margin: 6px 0 14px; }
.badge { display: inline-block; background: #e8f8f6; color: var(--teal-dark); font-size: .74rem;
  font-weight: 800; padding: 4px 11px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }
.kv { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0 20px; }
.kv > div { background: var(--soft); border-radius: 9px; padding: 11px 12px; }
.kv small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.kv b { font-size: .97rem; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li { margin: 0; font-size: .78rem; background: #fff; border: 1px solid var(--line);
  color: #526477; padding: 5px 11px; border-radius: 999px; }
.product .foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-note { font-size: .8rem; color: var(--muted); }

/* spec table */
.spec-wrap { display: none; border-top: 1px solid var(--line); background: #fbfcfe; padding: 26px 30px 30px; }
.spec-wrap.open { display: block; }
.spec-wrap h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.spec-wrap h4:first-child { margin-top: 0; }
table.spec { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.spec th, table.spec td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #e8edf3; vertical-align: top; }
table.spec th { width: 34%; color: var(--ink); font-weight: 600; background: #f5f8fb; }
table.spec td { color: #43546a; }
table.bom th, table.bom td { width: auto; }
.note { margin-top: 14px; padding: 11px 14px; background: #fff8ee; border-left: 3px solid var(--amber);
  font-size: .84rem; color: #7a5a34; border-radius: 0 7px 7px 0; }

/* infographic gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; }

/* feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 13px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px;
  background: #e6f9f7; color: var(--teal-dark); border-radius: 50%; display: grid; place-items: center;
  font-size: .7rem; font-weight: 900; }

/* scenarios */
.scenario { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 270px; }
.scenario img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.scenario::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,14,27,.9), rgba(6,14,27,.05) 70%); }
.scenario div { position: absolute; bottom: 0; z-index: 2; padding: 22px; color: #fff; font-weight: 700; }
.scenario small { display: block; font-weight: 500; color: #c3d2e4; font-size: .8rem; }

/* ---------- breadcrumb / page intro ---------- */
.breadcrumb { font-size: .8rem; color: #9fb1c7; margin-top: 22px; }
.breadcrumb a { color: #9fb1c7; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; color: #5d7088; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.cat-nav a, .cat-nav button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 700; color: #526477; background: #fff; cursor: pointer;
  font-family: inherit; line-height: 1.4; }
.cat-nav a:hover, .cat-nav button:hover { color: var(--teal-dark); border-color: var(--teal); }
.cat-nav a.active, .cat-nav button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: 68px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b8c8dc; max-width: 620px; }
.cta-band .row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .82rem; font-weight: 700; color: var(--ink); }
input, select, textarea { font: inherit; font-size: .92rem; color: var(--ink); background: #fff;
  border: 1px solid #d7e0ea; border-radius: 9px; padding: 11px 13px; outline: none; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,184,169,.13); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; }
.contact-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item b { display: block; color: var(--ink); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-item span { color: var(--body); }
details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
details.faq summary::before { content: "+"; color: var(--teal-dark); font-weight: 900; margin-right: 12px; }
details.faq[open] summary::before { content: "−"; }
details.faq p { margin: 12px 0 0 26px; font-size: .92rem; }

/* ---------- footer ---------- */
.site-footer { background: #060e1b; color: #93a6bd; padding: 66px 0 26px; }
.site-footer h4 { color: #fff; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #93a6bd; }
.site-footer a:hover { color: #4fe0d2; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .78rem; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; display: none; place-items: center; z-index: 50; cursor: pointer;
  box-shadow: var(--shadow-lg); font-size: 1.1rem; }
.to-top.show { display: grid; }

/* reveal - progressive enhancement: content stays visible without JS */
.js-reveal .reveal { opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product .top { grid-template-columns: 200px 1fr; }
  .kv { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy);
    padding: 14px 24px 22px; flex-direction: column; align-items: stretch; border-top: 1px solid rgba(255,255,255,.1); }
  .main-nav.open { display: flex; }
  .dd-panel { display: block; position: static; background: transparent; border: 0;
    box-shadow: none; padding: 2px 0 6px 14px; min-width: 0; }
  .dd-panel a { color: #a9bcd2; padding: 7px 10px; }
  .dd-panel a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 62px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .product .top { grid-template-columns: 1fr; }
  .product .pic { border-right: 0; border-bottom: 1px solid var(--line); }
  .product .pic img { max-height: 240px; }
  .product .info, .spec-wrap { padding: 22px 20px; }
  .kv { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .topbar .container { font-size: .7rem; }
  .hero .container { padding: 74px 0 78px; }
}
