/* ===================================================================
   Blue Logic — bluelogic.com.co
   Palette matches bluelogic.com.au: deep navy base, cyan glow accent
   =================================================================== */

:root {
  --navy-950: #0a0f1c;
  --navy-900: #0f1626;
  --navy-800: #141d33;
  --navy-700: #1c273f;
  --border: #243150;

  --text-primary: #eef2f8;
  --text-muted: #96a2b8;

  --cyan: #4fe0e0;
  --cyan-dim: #1f8c8c;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ead53;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --wrap: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.15;
}

p { margin: 0 0 16px; color: var(--text-muted); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 15, 28, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.lang-opt { padding: 2px 4px; color: var(--text-muted); }
.lang-opt.is-active { color: var(--cyan); }
.lang-divider { color: var(--border); }

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  max-width: 14ch;
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 28px;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(79, 224, 224, 0.28) 0%, rgba(79, 224, 224, 0) 70%);
  filter: blur(4px);
}

.hero-robot {
  position: relative;
  width: min(320px, 70vw);
  border-radius: 28px;
}

/* ---------- Buttons ---------- */

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #06210f;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-whatsapp i { font-size: 1.2rem; }

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}

/* ---------- Services ---------- */

.services {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.services h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  max-width: 20ch;
}

.service-list {
  margin-top: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.service-row:last-child { border-bottom: 1px solid var(--border); }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-800);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.15rem;
}

.service-text h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.service-text p { margin: 0; max-width: 56ch; }

/* ---------- About ---------- */

.about {
  padding: 56px 0;
  background: var(--navy-900);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 32px;
}

.about-robot {
  width: 120px;
  border-radius: 20px;
}

.about h2 { font-size: 1.5rem; }
.about p { max-width: 60ch; margin-bottom: 0; }

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 72px 0;
  text-align: center;
}

.final-cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

.final-cta p {
  max-width: 42ch;
  margin: 0 auto 28px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-art { order: -1; margin-bottom: 8px; }
  .hero-robot { width: 220px; }
  .about-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .about-robot { width: 96px; }
  .service-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-whatsapp { transition: none; }
}

/* ---------- Focus visibility ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
