:root {
  /* Logo Colors */
  --solomo-primary: #3D6CB3; /* Azul Wordmark */
  --solomo-primary-dark: #274C82;
  --solomo-primary-soft: #E6EEF8;
  
  --solomo-cyan: #009BD7;
  --solomo-cyan-soft: #E0F5FC;
  
  --solomo-lime: #B1C806;
  --solomo-lime-soft: #F6F9E1;
  
  --solomo-magenta: #CB0F7D;
  --solomo-yellow: #FFCC03;

  /* Neutrals & Dark Theme */
  --solomo-navy: #0B192C;
  --solomo-navy-dark: #060E18;
  --solomo-bg: #F8FAFC;
  --solomo-surface: #FFFFFF;
  --solomo-text: #1E293B;
  --solomo-text-soft: #64748B;
  --solomo-border: #E2E8F0;
  
  /* Fine UI edges */
  --solomo-edge-light: rgba(255, 255, 255, 0.08);
  --solomo-edge-dark: rgba(0, 0, 0, 0.06);

  --font-headings: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-float: 0 20px 40px -15px rgba(0,0,0,0.05);
  --shadow-float-dark: 0 20px 40px -15px rgba(0,0,0,0.5);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--solomo-navy-dark);
  letter-spacing: -0.02em;
}

a {
  color: var(--solomo-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--solomo-primary-dark);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-sm {
  max-width: 900px;
}

/* Typography Utility */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--solomo-primary);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--solomo-primary);
  display: inline-block;
}

.eyebrow-light {
  color: var(--solomo-cyan);
}
.eyebrow-light::before {
  background-color: var(--solomo-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--solomo-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(61, 108, 179, 0.25);
}

.btn-primary:hover {
  background-color: var(--solomo-primary-dark);
  box-shadow: 0 6px 16px rgba(61, 108, 179, 0.35);
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--solomo-edge-light);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--solomo-edge-dark);
  transition: var(--transition);
}

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

.logo-img {
  height: 38px; /* TAREA 1: Aumentado de 24px a 38px para mayor presencia B2B premium */
  width: auto;
  transition: var(--transition);
}

.logo-link:hover .logo-img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--solomo-text);
  font-weight: 500;
  font-size: 0.9375rem;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--solomo-navy);
  cursor: pointer;
}

/* Sections General */
section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--solomo-text-soft);
  max-width: 700px;
  margin: 0 auto;
}

/* Dark Section */
.section-dark {
  background-color: var(--solomo-navy-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--solomo-edge-light);
  border-bottom: 1px solid var(--solomo-edge-light);
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--solomo-primary), transparent);
  opacity: 0.3;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

/* Hero Section */
.hero {
  padding: 12rem 0 8rem;
  background-color: var(--solomo-navy-dark);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 155, 215, 0.12) 0%, rgba(61, 108, 179, 0.08) 35%, rgba(6, 14, 24, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* TAREA 2: Elevated Hero Visual Flow */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.system-flow-mesh {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* Base Node Shape */
.mesh-node {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--solomo-edge-light);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-float-dark);
  transition: var(--transition);
}

.mesh-node:hover {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 25px rgba(0, 155, 215, 0.15);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
}

.mesh-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--solomo-cyan);
  box-shadow: 0 0 10px currentColor;
  flex-shrink: 0;
}

/* Connections styling via wrapper grids */
.mesh-level {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Connecting vertical/horizontal lines */
.mesh-level::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 1.5rem;
  background: linear-gradient(to bottom, var(--solomo-edge-light) 0%, rgba(255,255,255,0.2) 50%, var(--solomo-edge-light) 100%);
  z-index: 1;
}
.mesh-level:last-child::after {
  display: none;
}
.mesh-level-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.mesh-level-split::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 25%;
  right: 25%;
  height: 1px;
  background: var(--solomo-edge-light);
  z-index: 1;
}

/* Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* TAREA 3: Acronym Diagram Restructured */
.acronym-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--solomo-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--solomo-border);
  box-shadow: var(--shadow-float);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

/* Subte Glow underneath the diagram line */
.acronym-diagram::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 80px;
  transform: translateY(-50%);
  background: radial-gradient(ellipse, rgba(0, 155, 215, 0.05), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.diag-item {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--solomo-navy-dark);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  background: var(--solomo-bg);
  border: 1px solid var(--solomo-edge-dark);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.diag-item:hover {
  border-color: var(--solomo-primary-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.diag-highlight {
  background: var(--solomo-primary);
  color: #fff;
  border-color: var(--solomo-primary-dark);
  box-shadow: 0 4px 15px rgba(61, 108, 179, 0.3);
  font-size: 1.25rem;
}

.diag-highlight:hover {
  box-shadow: 0 6px 20px rgba(61, 108, 179, 0.4);
  background: var(--solomo-primary-dark);
}

.diag-arrow {
  color: var(--solomo-text-soft);
  font-weight: 800;
  font-size: 1.5rem;
  z-index: 1;
}

.acronym-title {
  font-size: 1.35rem;
  color: var(--solomo-navy-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.acronym-title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--solomo-cyan);
}
.acronym-text {
  font-size: 1rem;
  color: var(--solomo-text-soft);
  line-height: 1.6;
}

/* TAREA 6: System Components Grid (Qué implementamos) */
.system-mesh {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.mesh-badge {
  background: var(--solomo-surface);
  border: 1px solid var(--solomo-border);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--solomo-navy-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.mesh-badge:hover {
  border-color: var(--solomo-primary);
  color: var(--solomo-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.mesh-badge::before {
  display: none;
}

.mesh-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--solomo-primary);
}

.mesh-badge-ia {
  border-color: var(--solomo-cyan-soft);
  background: var(--solomo-bg);
}

.mesh-badge-ia .mesh-icon {
  color: var(--solomo-cyan);
}

.mesh-badge-growth .mesh-icon {
  color: var(--solomo-lime);
}


/* General Cards */
.card {
  background: var(--solomo-surface);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  border: 1px solid var(--solomo-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow-float);
  transform: translateY(-4px);
  border-color: var(--solomo-edge-dark);
}

.card-dark {
  background: var(--solomo-navy);
  border: 1px solid rgba(255,255,255,0.05); /* Premium depth */
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), var(--shadow-float-dark);
}

.card-dark:hover {
  background: var(--solomo-navy-dark);
  border-color: var(--solomo-primary-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 25px 50px -12px rgba(61,108,179,0.15); /* Tech glow */
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--solomo-primary-soft);
  color: var(--solomo-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-family: var(--font-headings);
  font-weight: 800;
}

.card-dark .card-icon {
  background: rgba(0, 155, 215, 0.1);
  color: var(--solomo-cyan);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--solomo-navy-dark);
}

.card-dark .card-title {
  color: #fff;
}

.card p {
  color: var(--solomo-text-soft);
  font-size: 0.9375rem;
}

.card-dark p {
  color: rgba(255, 255, 255, 0.6);
}

/* AI Highlights */
.ai-highlight {
  font-weight: 700;
  color: var(--solomo-cyan);
  display: block;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-family: var(--font-headings);
}

/* Problem Box (Fugas) */
.problem-box {
  background: #fff;
  border: 1px solid var(--solomo-border);
  border-radius: var(--radius-lg);
  padding: 2rem 3rem;
  box-shadow: var(--shadow-sm);
}

.fuga-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--solomo-border);
}

.fuga-item:last-child {
  border-bottom: none;
}

.fuga-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--solomo-primary-soft);
  color: var(--solomo-primary);
  border: 1px solid var(--solomo-border);
}

.fuga-icon svg {
  width: 18px;
  height: 18px;
}

/* Formulario */
.form-card {
  background: var(--solomo-surface);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--solomo-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--solomo-navy);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--solomo-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: var(--transition);
  background-color: var(--solomo-bg);
  color: var(--solomo-text);
}

.form-control:focus {
  outline: none;
  border-color: var(--solomo-primary);
  box-shadow: 0 0 0 4px var(--solomo-primary-soft);
  background-color: #fff;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.form-checkbox input {
  margin-top: 4px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.8125rem;
  color: var(--solomo-text-soft);
  cursor: pointer;
  line-height: 1.5;
}

/* FAQ */
.faq-box {
  background: #fff;
  border: 1px solid var(--solomo-border);
  border-radius: var(--radius-lg);
}

.faq-item {
  border-bottom: 1px solid var(--solomo-border);
}
.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 1.5rem 2rem;
  font-family: var(--font-headings);
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--solomo-navy-dark);
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: var(--solomo-text-soft);
  display: none;
  font-size: 0.9375rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: var(--transition);
  color: var(--solomo-primary);
}

/* Footer */
.footer {
  background-color: var(--solomo-navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--solomo-edge-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-title {
  color: #fff;
  font-family: var(--font-headings);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--solomo-edge-light);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8125rem;
}

/* Utility */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; }
  .logo-img { height: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 2rem; }
}

@media (max-width: 768px) {
  .nav-links, .header .btn { display: none; }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 80px;
    left: 1rem;
    right: 1rem;
    width: auto;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--solomo-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    backdrop-filter: blur(12px);
  }
  .mobile-menu-btn { display: block; }
  .logo-img { height: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-subtitle { margin-bottom: 1.5rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-title { font-size: clamp(1.85rem, 8vw, 2.25rem); }
  .section-header { margin-bottom: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 4rem 0; }
  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .acronym-diagram { flex-direction: column; }
  .diag-arrow { transform: rotate(90deg); }
  .mesh-level-split { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
  .card { padding: 2rem 1.5rem; }
  .system-mesh { justify-content: flex-start; }
  .mesh-badge { width: 100%; justify-content: flex-start; }
  .hide-mobile { display: none !important; }
}
