/* ============================================================
   BonroyNet — css/style.css
   LIGHT theme — cool grey-white background #F4F6F8, charcoal text
   SLATE GRAY-BLUE accent #64748B with supporting tones
   ============================================================ */

:root {
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --surface-alt: #EDF1F5;
  --ink: #1A2127;
  --ink-soft: #3B4650;
  --muted: #5C6B78;
  --accent: #64748B;
  --accent-dark: #334155;
  --accent-light: #94A3B8;
  --line: #E2E8F0;
  --line-soft: #EDF1F5;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(26, 33, 39, 0.06);
  --shadow-md: 0 10px 30px rgba(26, 33, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 33, 39, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

h2 {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: var(--accent-dark);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--accent-dark);
  border-color: var(--line);
}

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

/* ============================================================
   CIRCUIT-BOARD NAVIGATION
   ============================================================ */
.circuit-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  height: 72px;
}

.pcb-traces {
  position: absolute;
  top: 0;
  right: 0;
  height: 72px;
  width: 44%;
  pointer-events: none;
  overflow: hidden;
}

.trace {
  position: absolute;
  display: block;
  background-color: var(--line);
  border: none;
}

.trace::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-light);
  border: 2px solid var(--line);
  box-sizing: content-box;
}

.t1 { top: 18px; right: 120px; width: 130px; height: 2px; }
.t1::after { top: -3px; right: -8px; }
.t2 { top: 48px; right: 30px; width: 210px; height: 2px; }
.t2::after { top: -3px; left: -8px; }
.t3 { top: 12px; right: 30px; width: 2px; height: 42px; }
.t3::after { top: -3px; right: -3px; }
.t4 { top: 34px; right: 210px; width: 100px; height: 2px; }
.t4::after { top: -3px; right: -8px; }
.t5 { top: 58px; right: 300px; width: 90px; height: 2px; }
.t5::after { top: -3px; left: -8px; }

.nav-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand:hover { color: var(--accent); }

.brand-glyph {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent-dark);
  border-radius: 4px;
}

.brand-glyph .node {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

.brand-glyph .n1 { top: 4px; left: 4px; }
.brand-glyph .n2 { bottom: 4px; right: 4px; }
.brand-glyph .n3 { top: 10px; right: 4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  flex-shrink: 0;
  background-color: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.nav-cta:hover { background-color: var(--accent-dark); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--accent-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================================
   SATELLITE HERO
   ============================================================ */
.satellite-hero {
  position: relative;
  background-color: var(--bg);
  overflow: hidden;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--surface);
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Satellite visual */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%) rotate(-18deg);
  border: 2px dashed var(--line);
  border-radius: 50%;
}

.star {
  position: absolute;
  border-radius: 50%;
  background-color: var(--accent-light);
}

.star-1 { top: 62px; right: 92px; width: 8px; height: 8px; }
.star-2 { top: 140px; left: 60px; width: 6px; height: 6px; }
.star-3 { bottom: 96px; right: 130px; width: 5px; height: 5px; }

.satellite {
  position: relative;
  width: 300px;
  height: 300px;
  z-index: 2;
}

.sat-mast {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 3px;
  height: 66px;
  background-color: var(--accent-dark);
  transform: translateX(-50%);
}

.sat-dish {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 52px;
  height: 22px;
  border: 3px solid var(--accent-dark);
  border-radius: 50% 50% 0 0;
  border-bottom: none;
  transform: translateX(-50%);
  background-color: transparent;
}

.sat-body {
  position: absolute;
  top: 96px;
  left: 50%;
  width: 86px;
  height: 86px;
  transform: translateX(-50%);
  background-color: var(--accent);
  border: 4px solid var(--accent-dark);
  border-radius: 10px;
}

.sat-sensor {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 22px;
  height: 10px;
  transform: translateX(-50%);
  background-color: var(--accent-dark);
  border-radius: 3px;
}

.sat-wing {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 86px;
  height: 130px;
  background-color: var(--accent-light);
  border: 4px solid var(--accent-dark);
  border-radius: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 12px,
    rgba(255, 255, 255, 0.35) 12px,
    rgba(255, 255, 255, 0.35) 15px
  );
}

.sat-wing-left { left: 12px; }
.sat-wing-right { right: 12px; }

/* ============================================================
   FULL-WIDTH STATEMENT ROW
   ============================================================ */
.statement-row {
  background-color: var(--accent-dark);
  color: var(--white);
  padding: 88px 0;
}

.statement-text {
  font-size: 1.9rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 920px;
  color: var(--white);
}

.statement-text::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background-color: var(--accent-light);
  margin-bottom: 28px;
  border-radius: 2px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background-color: var(--bg);
  padding: 96px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  margin-bottom: 52px;
}

.about-heading h2 {
  font-size: 2.3rem;
  line-height: 1.15;
}

.about-copy p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.about-copy p:last-child { margin-bottom: 0; }

.about-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.about-points li {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.point-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background-color: var(--surface-alt);
  padding: 96px 0;
}

.services-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.services-intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 18px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 30px 32px;
}

.service-marker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.service-item h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.service-item p {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ============================================================
   STAT COLUMNS
   ============================================================ */
.stat-columns {
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

/* ============================================================
   PROCESS LIST (01/02/03/04 with connecting lines)
   ============================================================ */
.process-list {
  background-color: var(--bg);
  padding: 96px 0;
}

.process-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.process-steps {
  list-style: none;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 34px;
  width: 2px;
  background-color: var(--line);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  padding: 20px 0;
}

.step-marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 1.05rem;
}

.step-body {
  padding-top: 8px;
  max-width: 640px;
}

.step-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.step-body p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  background-color: var(--surface-alt);
  padding: 96px 0;
}

.compare-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.compare-table-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.compare-col {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-align: left;
}

.compare-col-head { background-color: transparent; }
.compare-col-a { background-color: var(--line-soft); border: 1px solid var(--line); }
.compare-col-b { background-color: var(--accent-dark); }

.compare-col-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.compare-col-a .compare-col-title { color: var(--ink-soft); }
.compare-col-b .compare-col-title { color: var(--white); }
.compare-col-head .compare-col-title { color: var(--muted); }

.compare-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.compare-label {
  padding: 18px 20px;
  font-weight: 700;
  color: var(--ink);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.compare-cell {
  padding: 18px 20px;
  color: var(--ink-soft);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.compare-cell.strong {
  color: var(--accent-dark);
  font-weight: 600;
  background-color: #E9EDF2;
  border-color: var(--line);
}

/* ============================================================
   TESTIMONIAL SLIDER
   ============================================================ */
.testimonial-slider {
  background-color: var(--bg);
  padding: 96px 0;
}

.slider-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.slider {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.slider-track {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slide {
  display: none;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  box-shadow: var(--shadow-md);
}

.slide.active {
  display: block;
  animation: slide-in 0.4s ease;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide blockquote {
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 28px;
}

.slide figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.slide-name {
  font-weight: 700;
  color: var(--accent-dark);
}

.slide-org {
  color: var(--muted);
  font-size: 0.95rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background-color: var(--surface);
  color: var(--accent-dark);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.slider-btn:hover {
  background-color: var(--accent-dark);
  color: var(--white);
  border-color: var(--accent-dark);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider-dot.active {
  background-color: var(--accent);
  transform: scale(1.3);
}

/* ============================================================
   SPLIT CTA BAND
   ============================================================ */
.split-cta {
  background-color: var(--accent-dark);
  color: var(--white);
  padding: 96px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cta-left .section-kicker { color: var(--accent-light); }

.cta-left h2 {
  color: var(--white);
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.cta-text {
  color: #CBD5E1;
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #E2E8F0;
  font-size: 1rem;
}

a.contact-line:hover { color: var(--accent-light); }

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.contact-form {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--bg);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.2em;
}

.form-note.success { color: #166534; }
.form-note.error { color: #B91C1C; }

/* ============================================================
   FOOTER (compact multi-column, thin slate top rule)
   ============================================================ */
.site-footer {
  background-color: var(--white);
  border-top: 3px solid var(--accent);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 2.4rem; }
  .hero-visual { height: 360px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-points { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav-links.open {
    max-height: 360px;
    padding: 12px 24px 20px;
  }
  .nav-links a { padding: 14px 0; width: 100%; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .pcb-traces { width: 34%; }
  .services-list { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .compare-table-wrap,
  .compare-row { grid-template-columns: 1fr; }
  .compare-col-head { display: none; }
  .compare-col-title { display: block; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .hero-inner { padding: 64px 20px; }
  .hero-title { font-size: 2rem; }
  .statement-text { font-size: 1.4rem; }
  .about-points { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-num { font-size: 2.4rem; }
  .process-step { grid-template-columns: 56px 1fr; gap: 18px; }
  .step-marker { width: 56px; height: 56px; }
  .process-steps::before { left: 27px; }
  .slide { padding: 32px 26px; }
  .slide blockquote { font-size: 1.15rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
