/* ==========================================================================
   LETIVICIO - SOLUCIONES LOGÍSTICAS
   Landing Page Minimalista & Profesional
   Colores de Marca: Navy #0D1B2A | Orange #FF7A00
   ========================================================================== */

:root {
  /* Paleta de Colores Oficial LETIVICIO */
  --bg: #0A131E;
  --bg-alt: #0D1B2A;
  --card: #132338;
  --card-hover: #192e4a;
  --border: #1E3554;
  --border-subtle: rgba(255, 255, 255, 0.08);

  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-faint: #64748B;

  --accent-1: #FF7A00;
  --accent-2: #FFA347;
  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --accent-subtle: rgba(255, 122, 0, 0.12);

  --radius: 12px;
  --max: 1160px;

  --font-heading: 'Outfit', 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 9px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #0D1B2A;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -6px rgba(255, 122, 0, 0.45);
}

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

.btn-ghost:hover {
  border-color: var(--accent-2);
  background: rgba(255, 122, 0, 0.08);
}

/* ---------- HEADER & NAVEGACIÓN ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 19, 30, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand svg {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px 28px;
    gap: 18px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .nav-cta .btn-primary {
    padding: 9px 16px;
    font-size: 13.5px;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}

.hero-orbit {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 700px;
  height: 700px;
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 860px) {
  .hero-orbit {
    top: -60px;
    right: -240px;
    width: 500px;
    height: 500px;
    opacity: 0.25;
  }
}

.hero-inner {
  position: relative;
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(32px, 4.8vw, 54px);
  margin-bottom: 20px;
  line-height: 1.12;
}

.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}

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

/* ---------- PILARES (ADN LETIVICIO) ---------- */
.pillars {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  padding: 36px 30px;
  border-right: 1px solid var(--border);
}

.pillar:last-child {
  border-right: none;
}

.pillar h3 {
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.pillar h3 .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1);
  flex-shrink: 0;
}

.pillar p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .pillar:last-child {
    border-bottom: none;
  }
}

/* ---------- SECCIONES ---------- */
section {
  padding: 85px 0;
}

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

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- SOLUCIONES / SERVICIOS ---------- */
#soluciones {
  background: var(--bg);
}

.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.solution:last-child {
  border-bottom: none;
}

.solution:nth-child(even) .solution-art {
  order: 2;
}

.solution:nth-child(even) .solution-text {
  order: 1;
}

.solution-art {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  transition: border-color 0.2s ease;
}

.solution-art:hover {
  border-color: var(--border-subtle);
}

.solution-art svg {
  width: 100%;
  height: auto;
  max-width: 320px;
}

.solution-text h3 {
  font-size: 25px;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.solution-text p.desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent-1);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .solution {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .solution:nth-child(even) .solution-art,
  .solution:nth-child(even) .solution-text {
    order: initial;
  }
}

/* ---------- PROCESO (CÓMO TRABAJAMOS) ---------- */
#proceso {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step:hover {
  transform: translateY(-3px);
  border-color: var(--accent-2);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-1);
  margin-bottom: 14px;
  font-weight: 600;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- SOBRE NOSOTROS / ENFOQUE ---------- */
#nosotros {
  background: var(--bg);
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.about-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid var(--border);
  padding-left: 30px;
}

.about-highlight-item h4 {
  font-size: 15px;
  color: var(--accent-2);
  margin-bottom: 4px;
}

.about-highlight-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .about-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-highlights {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 24px;
  }
}

/* ---------- CONTACTO ---------- */
#contacto {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 30px;
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 15px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item .ic {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .ic svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-1);
}

.contact-item .label {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.contact-item .value {
  font-size: 14.5px;
  color: var(--text);
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 13px;
  color: var(--text-muted);
}

.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent-1);
}

.form-msg {
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent-2);
  display: none;
}

.form-msg.show {
  display: block;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- FOOTER ---------- */
footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--border);
  background: #070e17;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand svg {
  height: 32px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}
