/* =========================================
   incuba404.com — Estilos Globales
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --c-bg:       #0a0c0f;
  --c-bg2:      #111419;
  --c-bg3:      #181c23;
  --c-surface:  #1e2430;
  --c-border:   rgba(255,255,255,0.07);
  --c-border2:  rgba(255,255,255,0.13);
  --c-text:     #e8edf5;
  --c-muted:    #7a8499;
  --c-accent:   #00c8a0;
  --c-accent2:  #0087ff;
  --c-accent3:  #6c63ff;
  --c-warn:     #ff6b35;
  --font-h:     'Syne', sans-serif;
  --font-b:     'DM Sans', sans-serif;
  --r:          10px;
  --r2:         16px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-b); }

/* =========================================
   NAVEGACIÓN
   ========================================= */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,12,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--c-text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo span { color: var(--c-accent); }

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 10px var(--c-accent);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* Logo imagen SVG */
.logo-img {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}

.logo-img:hover img {
  opacity: 0.85;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

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

.nav-links a {
  color: var(--c-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

.btn-consult {
  background: var(--c-accent);
  color: #0a0c0f;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-consult:hover {
  background: #00e0b5;
  transform: translateY(-1px);
}

/* =========================================
   BOTONES
   ========================================= */

.btn-primary {
  display: inline-block;
  background: var(--c-accent);
  color: #0a0c0f;
  border: none;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: #00e0b5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,200,160,0.25);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border2);
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

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

/* =========================================
   LAYOUT HELPERS
   ========================================= */

.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.section-sub {
  color: var(--c-muted);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* =========================================
   CARDS GENERALES
   ========================================= */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.detail-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r2);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.detail-card:hover { border-color: var(--c-border2); }

.detail-card h4 {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.detail-card p {
  color: var(--c-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.detail-card .dc-icon {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

/* =========================================
   FEATURES LIST
   ========================================= */

.features-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--r2);
  overflow: hidden;
}

.feat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
  font-size: 0.9rem;
}

.feat-row:last-child { border-bottom: none; }

.feat-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,200,160,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--c-accent);
  flex-shrink: 0;
}

/* =========================================
   CTA STRIP
   ========================================= */

.cta-strip {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r2);
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-strip h3 {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1.1rem;
}

.cta-strip p {
  color: var(--c-muted);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* =========================================
   SUBPAGE HERO
   ========================================= */

.sub-hero {
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid var(--c-border);
}

.sub-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-muted);
  font-size: 0.85rem;
  background: none;
  border: none;
  font-family: var(--font-b);
  transition: color 0.2s;
  margin-bottom: 1.5rem;
  padding: 0;
  text-decoration: none;
}

.sub-back:hover { color: var(--c-accent); }

.sub-hero .icon-hero {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.sub-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  line-height: 1.1;
}

.sub-hero p {
  color: var(--c-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
  border-top: 1px solid var(--c-border);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  color: var(--c-muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--c-muted);
  font-size: 0.82rem;
  transition: color 0.2s;
}

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

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .section { padding: 3rem 1.25rem; }
  .sub-hero { padding: 2rem 1.25rem 1.5rem; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  nav { padding: 0 1.25rem; }
  footer { padding: 1.5rem 1.25rem; }
}
