/* Carga Digital — Marketing site (Light-First) */
:root {
  --white: #ffffff;
  --surface: #f8fafc;
  --navy: #0f172a;
  --primary: #2563eb;
  --primary-700: #1d4ed8;
  --orbital: #3b82f6;
  --cyan: #06b6d4;
  --active: #22c55e;
  --success: #10b981;
  --soft: #64748b;
  --border: #e2e8f0;
  --warning: #f59e0b;
  --error: #ef4444;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
  --font: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.6em; }
p { margin: 0 0 1em; color: var(--soft); }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand img { width: 40px; height: 40px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { display: flex; gap: 0.6rem; align-items: center; }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-700); color: white; }
.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-lg { padding: 0.95rem 1.5rem; font-size: 1rem; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(6, 182, 212, 0.1), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.45) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 5rem;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  max-width: 14ch;
  color: var(--navy);
}
.hero-copy .tagline {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--soft);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-mark {
  width: min(360px, 80%);
  filter: drop-shadow(0 20px 50px rgba(37, 99, 235, 0.25));
  animation: float 5.5s ease-in-out infinite;
}
.orbit-ring {
  position: absolute;
  width: min(420px, 90%);
  aspect-ratio: 1;
  border: 1px dashed rgba(59, 130, 246, 0.35);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fade-up 0.7s ease both; }
.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface); }
.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.feature p { font-size: 0.95rem; margin: 0; }

.roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.role {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
}
.role strong { display: block; margin-bottom: 0.35rem; color: var(--navy); }
.role p { font-size: 0.9rem; margin: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat {
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
}
.stat .num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
}
.stat .label { font-size: 0.9rem; color: var(--soft); margin: 0.25rem 0 0; }

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.35), transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  color: white;
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: white; margin: 0 0 0.4rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin: 0; max-width: 42ch; }
.cta-band .btn-primary {
  background: white;
  color: var(--primary);
}
.cta-band .btn-primary:hover { background: #eff6ff; color: var(--primary-700); }

/* Legal / content pages */
.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(37, 99, 235, 0.08), transparent),
    var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.prose {
  padding: 3rem 0 4rem;
  max-width: 760px;
}
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.prose ul { color: var(--soft); padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { font-weight: 600; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 4rem;
}
.contact-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
}
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--soft);
  font-size: 0.95rem;
}
.contact-list li:last-child { border: 0; }
.contact-list strong { color: var(--navy); display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }

.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 1rem;
  background: white;
  color: var(--navy);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-note { font-size: 0.85rem; color: var(--soft); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer .brand { color: white; margin-bottom: 0.75rem; }
.site-footer p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 520px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.25rem;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.88rem; margin-bottom: 0.85rem; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero-inner, .feature-grid, .roles, .stats, .footer-grid, .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .roles, .stats, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    align-items: flex-start;
  }
  .nav.open .nav-cta {
    display: flex;
    position: absolute;
    top: calc(72px + 11rem);
    left: 0;
    right: 0;
    background: white;
    padding: 0 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .hero-inner, .feature-grid, .roles, .stats, .footer-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .hero-mark { width: min(220px, 55%); }
  .cta-band { padding: 2rem; }
}
