/* ============================================================
   SPECIALTY SITE PARTNERS — Design System v2
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Design Tokens ---------- */
:root {
  --navy: #0f1729;
  --navy-2: #1e3a5f;
  --navy-3: #2d4a6f;
  --gold: #c8913a;
  --gold-hover: #d9a24e;
  --gold-light: rgba(200, 145, 58, 0.08);
  --emerald: #059669;
  --emerald-hover: #047857;
  --emerald-light: rgba(5, 150, 105, 0.08);
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #4b5563;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #f8fafc;
  --bg-2: #f1f5f9;
  --bg-3: #e2e8f0;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max: 1200px;
  --max-narrow: 800px;
  --section-py: clamp(4.5rem, 8vw, 7rem);
  --r: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { color: var(--ink-2); margin: 0 0 1rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: var(--max-narrow); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Scroll animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Section utilities ---------- */
.section { padding: var(--section-py) 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #94a3b8; }
.section--bg { background: var(--bg); }
.section--bg2 { background: var(--bg-2); }
.section__eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  font-weight: 700; color: var(--gold); margin-bottom: 0.75rem; text-align: center;
}
.section__title { text-align: center; margin-bottom: 0.75rem; }
.section__sub { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 3rem; font-size: 1.1rem; line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: var(--r-full); font-weight: 700;
  font-size: 0.95rem; border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); text-decoration: none; white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); box-shadow: 0 4px 14px rgba(200,145,58,0.3); }
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,145,58,0.35); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--outline-dark { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn--outline-dark:hover { border-color: var(--navy); background: rgba(15,23,41,0.04); }
.btn--full { width: 100%; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; height: 64px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { color: var(--gold); font-size: 1.1rem; font-weight: 900; letter-spacing: -0.05em; }
.brand__name { font-weight: 800; font-size: 0.95rem; letter-spacing: -0.01em; color: var(--navy); }

.nav__links {
  display: flex; align-items: center; gap: 0.15rem; margin-left: 2rem;
}
.nav__link {
  font-size: 0.88rem; font-weight: 600; color: var(--muted);
  padding: 0.4rem 0.85rem; border-radius: var(--r-full);
  transition: all var(--transition);
}
.nav__link:hover { color: var(--ink); background: var(--bg); }
.nav__link--active { color: var(--navy); background: var(--bg-2); }

.nav__right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav__contact { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.nav__contact a { color: var(--navy); font-weight: 600; }
.nav__contact a:hover { color: var(--gold); }
.nav__cta { flex-shrink: 0; }

/* Hamburger */
.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative; flex-shrink: 0;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  position: absolute; left: 7px; transition: all 0.3s ease;
}
.nav__toggle span:nth-child(1) { top: 10px; }
.nav__toggle span:nth-child(2) { top: 17px; }
.nav__toggle span:nth-child(3) { top: 24px; }
.nav__toggle.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* Mobile nav panel */
.nav__mobile {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 99; padding: 2rem 1.5rem;
  flex-direction: column; gap: 0.5rem;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav__mobile.open { display: flex; opacity: 1; transform: translateY(0); }
.nav__mobile .nav__link { font-size: 1.1rem; padding: 0.85rem 1rem; border-radius: var(--r-md); }
.nav__mobile .nav__link:hover { background: var(--bg); }
.nav__mobile .nav__contact { margin-top: 1rem; padding: 0 1rem; font-size: 0.9rem; line-height: 1.8; }
.nav__mobile .btn { margin-top: 1rem; }

@media (max-width: 860px) {
  .nav__links, .nav__right .nav__contact, .nav__right .nav__cta { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162544 50%, var(--navy-2) 100%);
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(200,145,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -40%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; padding: 0 1.5rem; }
.hero__badge {
  display: inline-block; padding: 0.4rem 1rem; border-radius: var(--r-full);
  font-size: 0.82rem; font-weight: 600; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12); color: var(--gold); margin-bottom: 1.75rem;
}
.hero__title { color: var(--white); margin-bottom: 1.25rem; }
.hero__title--gold { color: var(--gold); }
.hero__sub { font-size: 1.15rem; color: #94a3b8; max-width: 680px; margin: 0 auto 2.25rem; line-height: 1.7; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__meta { margin-top: 1.5rem; font-size: 0.85rem; color: #64748b; }

/* Hero variants */
.hero--drone { background: linear-gradient(135deg, var(--navy) 0%, #1a2d4a 50%, #243b5c 100%); }
.hero--drone::before { background: radial-gradient(circle, rgba(200,145,58,0.1) 0%, transparent 70%); }
.hero--ev { background: linear-gradient(135deg, var(--navy) 0%, #0f2a1f 50%, #162544 100%); }
.hero--ev::before { background: radial-gradient(circle, rgba(5,150,105,0.1) 0%, transparent 70%); }

/* ---------- Trust bar (marquee) ---------- */
.trust { padding: 2rem 0; border-bottom: 1px solid var(--line); background: var(--white); overflow: hidden; }
.trust__label { text-align: center; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-bottom: 1.25rem; }
.trust__track {
  display: flex; width: max-content;
  animation: marquee 25s linear infinite;
}
.trust__track:hover { animation-play-state: paused; }
.trust__set {
  display: flex; align-items: center; gap: 3.5rem;
  padding: 0 1.75rem; flex-shrink: 0;
}
.trust__logo {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem); font-weight: 800; color: var(--ink);
  letter-spacing: -0.01em; white-space: nowrap; opacity: 0.35;
  transition: opacity var(--transition); padding: 0.5rem 0;
  text-transform: uppercase; position: relative;
}
.trust__logo::before {
  content: ''; position: absolute; left: -1.75rem; top: 50%; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%; transform: translateY(-50%);
}
.trust__set .trust__logo:first-child::before { display: none; }
.trust__logo:hover { opacity: 0.8; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Services (homepage) ---------- */
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
@media (max-width: 680px) { .services__grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2.25rem; transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card__badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.3rem 0.75rem; border-radius: var(--r-full); margin-bottom: 1rem;
}
.service-card--drone .service-card__badge { background: var(--gold-light); color: var(--gold); }
.service-card--ev .service-card__badge { background: var(--emerald-light); color: var(--emerald); }
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--ink-3); line-height: 1.7; margin-bottom: 1.25rem; }
.service-card__link { font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap var(--transition); }
.service-card--drone .service-card__link { color: var(--gold); }
.service-card--ev .service-card__link { color: var(--emerald); }
.service-card__link:hover { gap: 0.65rem; }

/* ---------- Stats ---------- */
.stats__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; max-width: 900px; margin: 0 auto; text-align: center;
}
.stats__item { padding: 1rem 0; }
.stats__number { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 900; color: var(--gold); margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.section--navy .stats__number { color: var(--gold); }
.stats__label { font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.section--navy .stats__label { color: #94a3b8; }

/* ---------- Card grid (qualify, opportunity) ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem; max-width: 1050px; margin: 0 auto;
}
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.75rem; transition: all var(--transition);
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.card__icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-3); font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* ---------- Steps ---------- */
.steps { max-width: 720px; margin: 0 auto; display: grid; gap: 1.25rem; }
.step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--white); padding: 1.5rem; border-radius: var(--r-lg);
  border: 1px solid var(--line); transition: all var(--transition);
}
.step:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.step__num {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: var(--r-full);
  background: var(--gold); color: var(--white); display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { margin: 0; color: var(--ink-3); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Team ---------- */
.team__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem; max-width: 1050px; margin: 0 auto;
}
.team__member { text-align: center; }
.team__avatar {
  width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.25rem; font-weight: 800; color: var(--white);
  box-shadow: var(--shadow);
}
.team__avatar--1 { background: linear-gradient(135deg, #1e3a5f 0%, #0f1729 100%); }
.team__avatar--2 { background: linear-gradient(135deg, #c8913a 0%, #a07230 100%); }
.team__avatar--3 { background: linear-gradient(135deg, #2d4a6f 0%, #1e3a5f 100%); }
.team__avatar--4 { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.team__avatar--5 { background: linear-gradient(135deg, #64748b 0%, #475569 100%); }
.team__name { font-size: 1rem; font-weight: 700; margin-bottom: 0.15rem; }
.team__role { font-size: 0.82rem; font-weight: 600; color: var(--gold); margin-bottom: 0.5rem; }
.team__bio { font-size: 0.85rem; color: var(--ink-3); line-height: 1.55; max-width: 220px; margin: 0 auto; }

/* ---------- Form ---------- */
.form-section { padding: var(--section-py) 0; }
.form {
  max-width: 720px; margin: 0 auto; background: var(--white);
  padding: 2.25rem; border-radius: var(--r-xl); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form__row { margin-bottom: 1rem; }
.form__row--split { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form__row--split { grid-template-columns: 1fr; } }
.form__field { display: block; }
.form__label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--ink); }
.req { color: var(--gold); }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%; padding: 0.75rem 0.85rem; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--bg); font-size: 0.95rem;
  color: var(--ink); transition: all var(--transition);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,145,58,0.15); background: var(--white);
}
.form__fineprint { font-size: 0.78rem; color: var(--muted); margin: 1.25rem 0 0; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  margin-bottom: 0.65rem; transition: all var(--transition);
}
.faq__item:hover { border-color: var(--line-2); }
.faq__item summary {
  cursor: pointer; font-weight: 600; color: var(--ink); list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.35rem; gap: 1rem; font-size: 0.95rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; color: var(--gold); font-size: 1.3rem; font-weight: 600;
  transition: transform 0.25s ease; flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .faq__body { padding: 0 1.35rem 1.1rem; }
.faq__item .faq__body p { color: var(--ink-3); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(3.5rem, 6vw, 5rem) 0; background: var(--navy); text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.footer { padding: 3rem 0 2rem; background: #0a111f; color: #94a3b8; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 680px) { .footer__inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer .brand__name { color: var(--white); }
.footer__tag { margin-top: 0.6rem; font-size: 0.88rem; color: #64748b; line-height: 1.6; }
.footer__heading { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; margin-bottom: 0.85rem; }
.footer__link { display: block; font-size: 0.9rem; color: #64748b; padding: 0.2rem 0; transition: color var(--transition); }
.footer__link:hover { color: var(--white); }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: #475569; }

/* ---------- Article (insights) ---------- */
.article { padding: 3.5rem 0 4rem; }
.article__inner { max-width: 740px; margin: 0 auto; padding: 0 1.5rem; }
.article__eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--gold); font-weight: 700; margin-bottom: 0.75rem; }
.article h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.18; margin-bottom: 0.5rem; }
.article__meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.25rem; }
.article p { color: var(--ink-2); line-height: 1.75; margin-bottom: 1.15rem; font-size: 1.05rem; }
.article p strong { color: var(--ink); }
.article__cta { margin-top: 2.5rem; padding: 1.75rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center; }
.article__cta p { margin-bottom: 1rem; color: var(--ink); font-weight: 600; }
.article__disc { font-size: 0.82rem; color: var(--muted); margin-top: 2.5rem; line-height: 1.6; border-top: 1px solid var(--line); padding-top: 1.25rem; }

/* ---------- Legal (privacy) ---------- */
.legal { padding: 4rem 0 5rem; }
.legal__inner { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.legal h1 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1rem; list-style: disc; }
.legal .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }

/* ---------- Print ---------- */
@media print { .nav, .footer, .cta-band { display: none; } body { color: #000; } }
