/* Cyber Fleet Miami — neon Miami nights */
:root {
  --bg: #050d0a;
  --bg-deep: #0B1F17;
  --bg-elevated: #0f2a1f;
  --bg-card: #122c22;
  --border: rgba(16, 185, 129, 0.22);
  --border-strong: rgba(16, 185, 129, 0.45);
  --text: #ECFDF5;
  --text-muted: #A7F3D0;
  --text-dim: #6ee7b7cc;
  --neon: #10B981;
  --neon-bright: #34D399;
  --yellow: #FACC15;
  --yellow-soft: #fde68a;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(16, 185, 129, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(250, 204, 21, 0.06), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--neon-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--yellow);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--yellow);
  color: #0B1F17;
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 31, 23, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 260px;
  max-width: min(260px, 55vw);
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(16, 185, 129, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--neon);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon), #059669);
  color: #042f1e;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  color: #021a11;
  background: linear-gradient(135deg, var(--neon-bright), var(--neon));
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 9vw, 6rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 10% 5% auto auto;
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 800;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 750;
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.lead {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 38rem;
}

.disclaimer {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  max-width: 38rem;
  font-size: 0.9rem;
  color: var(--yellow-soft);
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.28);
  border-radius: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel .panel-card {
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--bg-card), var(--bg-deep));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}

.panel-row:last-of-type {
  border-bottom: 0;
}

.panel-label {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.panel-value {
  font-weight: 700;
  text-align: right;
}

.panel-value.accent {
  color: var(--neon-bright);
}

.panel-circuit {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  border: 1px dashed rgba(16, 185, 129, 0.35);
  border-radius: 50%;
  opacity: 0.7;
}

.panel-circuit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 50%;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(11, 31, 23, 0.65), rgba(5, 13, 10, 0.2));
  border-block: 1px solid rgba(16, 185, 129, 0.12);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.facts-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.facts-card h3 {
  margin-bottom: 1rem;
  color: var(--neon-bright);
}

.facts-card dl {
  margin: 0;
}

.facts-card dl > div {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}

.facts-card dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts-card dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.facts-card dd {
  margin: 0;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #042f1e;
  background: var(--yellow);
  border-radius: 10px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.ops-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.ops-grid > div > p {
  color: var(--text-muted);
}

.check-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.75rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.ops-map-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ops-map-inner {
  position: relative;
  height: 220px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(16, 185, 129, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, #0a1a14, #123528);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
}

.map-pin {
  position: absolute;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(11, 31, 23, 0.9);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.pin-a { top: 28%; left: 18%; }
.pin-b { top: 52%; left: 42%; color: var(--yellow); border-color: rgba(250, 204, 21, 0.5); }
.pin-c { top: 22%; right: 14%; }

.map-line {
  position: absolute;
  left: 28%;
  top: 38%;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--yellow));
  transform: rotate(18deg);
  opacity: 0.7;
}

.map-caption {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.contact-list a {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}

.contact-list a:hover {
  color: var(--neon-bright);
}

.contact-card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.form-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.mailto-form label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mailto-form input,
.mailto-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text);
  font: inherit;
}

.mailto-form input::placeholder,
.mailto-form textarea::placeholder {
  color: #6ee7b788;
}

.mailto-form .btn {
  margin-top: 1.1rem;
  border: 0;
}

.form-fallback {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  background: #07140f;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.footer-brand p,
.footer-legal p {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-brand img {
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.footer-legal strong {
  color: var(--text-muted);
}

.copyright {
  margin-top: 1rem !important;
  color: var(--text-muted) !important;
}

/* Mobile */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(11, 31, 23, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.85rem;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .hero-grid,
  .about-grid,
  .card-grid,
  .ops-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card {
    transition: none;
  }
}
