/* =============================================
   NUDO.DIGITAL — Design System v3.0
   Premium Overhaul
   ============================================= */

/* --- 1. Variables --- */
:root {
  --nudo: #05c7f2;
  --nudo-deep: #0891b2;
  --brand-grad: linear-gradient(135deg, var(--nudo) 0%, var(--nudo-deep) 100%);

  --ink: #111827;
  --ink-2: #374151;
  --ink-muted: #6b7280;

  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-3: #f3f4f6;

  --border: #e5e7eb;
  --border-strong: #d1d5db;

  --success: #25d366;

  --nexo-1: #2A8C5E;
  --nexo-2: #4ED97F;
  --orbita-1: #6C3AFF;
  --orbita-2: #9E6DFF;
  --radar-1: #E63946;
  --radar-2: #FF6B6B;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  --section-pad: clamp(80px, 10vw, 120px);
  --container-max: 1120px;
  --container-narrow: 820px;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* --- 2. Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.visually-hidden {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  padding: 0; border: 0;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* --- 3. Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4.5vw, 44px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
h4 { font-size: 18px; }

p { margin: 0 0 12px; }

.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 300;
}

.sub {
  color: var(--ink-muted);
  max-width: var(--container-narrow);
  font-size: 16px;
  line-height: 1.7;
}

.kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nudo-deep);
  margin-bottom: 12px;
  display: inline-block;
}

.gradient {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.marker {
  background: linear-gradient(90deg, rgba(5,199,242,0.12), rgba(5,199,242,0.04));
  padding: 0.05em 0.3em;
  border-radius: 0.3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* --- 4. Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding: var(--section-pad) 0; }
.section.alt { background: var(--surface-2); }
.section.dark-alt { background: var(--surface-3); }
.center { text-align: center; }

/* --- 5. Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

#site-navbar { min-height: 72px; }

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

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand span { color: var(--nudo); font-weight: 700; }

.nav-menu ul {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-menu a:hover { color: var(--ink); background: var(--surface-2); }
.nav-menu .btn.primary { padding: 10px 20px; }

.has-dropdown { position: relative; }

.dropdown-toggle {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.dropdown-toggle:hover { color: var(--ink); background: var(--surface-2); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  display: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}
.has-dropdown.is-open .dropdown { display: block; }
.dropdown ul { display: block; margin: 0; padding: 0; }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.dropdown a:hover { background: var(--surface-2); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}

/* --- 6. Hero --- */
.hero {
  padding: clamp(100px, 14vw, 160px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(5,199,242,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .kicker { margin-bottom: 20px; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 28px; max-width: 540px; }

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}

.badges {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  color: var(--ink-muted);
  flex-wrap: wrap;
  font-size: 13px;
}
.badges i { color: var(--success); }

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* --- 7. Trust Bar --- */
.trust-bar {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.trust-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-item i { color: var(--nudo-deep); font-size: 15px; }

/* Legacy trust bar compat */
.trust-item-highlight { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.trust-text-gradient { color: var(--ink-muted); background: none; -webkit-text-fill-color: var(--ink-muted); animation: none; }

/* --- 8. Cards --- */
.grid { display: grid; gap: 24px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  border-color: var(--border-strong);
}

.emoji-icon { font-size: 28px; line-height: 1; margin-bottom: 10px; }

/* --- 9. Buttons & Forms --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 12px 20px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.btn:hover { transform: translateY(-1px); }

.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}
.btn.primary:hover {
  background: #1f2937;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn.accent {
  background: var(--nudo);
  border-color: transparent;
  color: white;
}
.btn.accent:hover {
  filter: brightness(0.92);
  box-shadow: 0 6px 20px rgba(5,199,242,0.25);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--ink-2);
}
.btn.ghost:hover {
  background: var(--surface-2);
  border-color: var(--ink-muted);
}

.btn.lg { padding: 14px 28px; font-size: 16px; }
.btn.small { padding: 10px 18px; font-size: 14px; border-radius: var(--radius); }
.btn.w100 { width: 100%; }
.btn.dark { background: var(--ink); color: white; border-color: var(--ink); }
.btn.dark:hover { background: #1f2937; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--nudo);
  box-shadow: 0 0 0 3px rgba(5,199,242,0.12);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.hidden-field { display: none !important; }

/* --- 10. Orbit Ecosystem --- */
.hub-wrapper {
  position: relative;
  height: 650px;
  width: 100%;
  max-width: 1000px;
  margin: 48px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nudo-core {
  position: relative;
  width: 110px;
  height: 110px;
  z-index: 20;
  background: var(--surface);
  border-radius: 50%;
  padding: 22px;
  box-shadow: 0 0 0 1px var(--border), 0 8px 32px rgba(5,199,242,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: coreBreath 5s infinite ease-in-out;
}
.nudo-core img { width: 100%; height: auto; display: block; }

@keyframes coreBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px var(--border), 0 8px 32px rgba(5,199,242,0.12); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 1px var(--border), 0 12px 48px rgba(5,199,242,0.18); }
}

.orbit-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-node {
  position: absolute;
  width: 72px;
  height: 72px;
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 0 0 1px var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.orbit-node img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%) opacity(0.7);
  transition: 0.25s;
}
.orbit-node:hover {
  transform: var(--node-pos) scale(1.2) !important;
  z-index: 25;
  box-shadow: 0 12px 32px rgba(5,199,242,0.15), 0 0 0 1px var(--nudo);
}
.orbit-node:hover img { filter: grayscale(0%) opacity(1); }

.node-1  { --node-pos: rotate(0deg) translate(265px) rotate(0deg); transform: var(--node-pos); }
.node-2  { --node-pos: rotate(27.7deg) translate(265px) rotate(-27.7deg); transform: var(--node-pos); }
.node-3  { --node-pos: rotate(55.4deg) translate(265px) rotate(-55.4deg); transform: var(--node-pos); }
.node-4  { --node-pos: rotate(83.1deg) translate(265px) rotate(-83.1deg); transform: var(--node-pos); }
.node-5  { --node-pos: rotate(110.8deg) translate(265px) rotate(-110.8deg); transform: var(--node-pos); }
.node-6  { --node-pos: rotate(138.5deg) translate(265px) rotate(-138.5deg); transform: var(--node-pos); }
.node-7  { --node-pos: rotate(166.2deg) translate(265px) rotate(-166.2deg); transform: var(--node-pos); }
.node-8  { --node-pos: rotate(193.9deg) translate(265px) rotate(-193.9deg); transform: var(--node-pos); }
.node-9  { --node-pos: rotate(221.6deg) translate(265px) rotate(-221.6deg); transform: var(--node-pos); }
.node-10 { --node-pos: rotate(249.3deg) translate(265px) rotate(-249.3deg); transform: var(--node-pos); }
.node-11 { --node-pos: rotate(277deg) translate(265px) rotate(-277deg); transform: var(--node-pos); }
.node-12 { --node-pos: rotate(304.7deg) translate(265px) rotate(-304.7deg); transform: var(--node-pos); }
.node-13 { --node-pos: rotate(332.4deg) translate(265px) rotate(-332.4deg); transform: var(--node-pos); }

/* --- 11. Brain-as-a-Service --- */
.aliado-section {
  padding: var(--section-pad) 0;
  background: var(--surface-3);
}

.aliado-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.aliado-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-minimal {
  width: 220px;
  height: 220px;
  background: var(--surface);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.06), 0 0 0 1px var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aliado-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
  line-height: 1.15;
}

.aliado-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.stat-box {
  background: var(--surface);
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-box strong {
  display: block;
  font-family: var(--font-display);
  color: var(--nudo-deep);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}
.stat-box span { font-size: 13px; color: var(--ink-muted); }

/* --- 12. Pilares --- */
.card-grid-pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card-pilar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-pilar:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.06);
  border-color: var(--border-strong);
}

.card-img-header {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.pilar-content { padding: 24px; }
.pilar-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pilar-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.pilar-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(5,199,242,0.08);
  color: var(--nudo-deep);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.pilar-result {
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 14px;
  margin-bottom: 0;
}
.pilar-result i { color: var(--success); margin-right: 6px; }

/* --- 13. Ofertas --- */
.ofertas-section {
  padding: var(--section-pad) 0;
  background: var(--surface-2);
}

.ofertas-head { max-width: 800px; margin: 0 auto 40px; text-align: center; }

.ofertas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.oferta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.oferta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  border-color: var(--border-strong);
}

.oferta-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.oferta-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag-low { background: rgba(5,199,242,0.08); color: var(--nudo-deep); }
.tag-puente { background: rgba(17,24,39,0.06); color: var(--ink-2); }
.tag-premium { background: var(--ink); color: white; }

.oferta-title {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.oferta-lead {
  color: var(--ink-2);
  line-height: 1.65;
  margin: 10px 0 18px;
  font-size: 15px;
}

.oferta-bullets { list-style: none; padding: 0; margin: 0 0 18px; }
.oferta-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-2);
}
.oferta-bullets li:first-child { border-top: none; }
.oferta-bullets i { color: var(--success); margin-top: 3px; flex-shrink: 0; }
.oferta-cta { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* --- 14. Contact --- */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.social-links-heavy {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink-2);
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-btn:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: translateY(-2px);
}

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

/* --- 15. Products --- */
.grid.products { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.product {
  position: relative;
  display: block;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}
.product .kicker {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  text-transform: uppercase;
  font-size: 12px;
}
.product .prod-icon { position: absolute; right: 14px; bottom: 14px; opacity: 0.25; font-size: 22px; }
.product.nexo { border-color: var(--nexo-2); }
.product.orbita { border-color: var(--orbita-1); }
.product.radar { border-color: var(--radar-1); }

/* --- 16. Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }

.small { font-size: 13px; color: var(--ink-muted); }

.social { display: flex; gap: 14px; list-style: none; padding: 0; margin: 10px 0 0; }

/* --- 17. WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 32px;
  right: 32px;
  background-color: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 1000;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}

/* --- 18. Cookie Banner --- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  font-size: 14px;
}
.cookie-banner a { color: var(--nudo); text-decoration: none; }

/* --- 19. Popups --- */
.popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
}
.popup.hidden { display: none; }

.popup-panel {
  width: min(520px, 92vw);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  animation: popupIn 0.2s ease-out both;
  position: relative;
}

.popup-content {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  max-width: none;
  width: min(420px, 92vw);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.popup-content input, .popup-content button {
  margin: 0.5rem 0;
  padding: 0.6rem;
  width: 100%;
}

@keyframes popupIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  transition: 0.15s;
  line-height: 1;
}
.popup-close:hover { background: var(--surface-2); border-color: var(--border-strong); }
.popup-close:focus-visible { outline: 2px solid var(--nudo); outline-offset: 2px; }

.popup-header { text-align: center; margin: 4px 0 16px; }
.popup-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: var(--nudo);
  box-shadow: 0 0 0 4px rgba(5,199,242,0.12);
}
.popup-header h2 { font-size: 1.3rem; margin: 0 0 6px; }
.popup-header .sub { color: var(--ink-muted); margin: 0; }

.otp-form { display: grid; gap: 12px; margin-top: 12px; }
.otp-form.hidden { display: none; }
.label { font-size: 14px; color: var(--ink-2); }
.field { position: relative; }
.field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  outline: none;
  border-color: var(--nudo);
  box-shadow: 0 0 0 3px rgba(5,199,242,0.12);
}

.otp-msg { min-height: 1.2em; font-size: 14px; margin-top: 8px; }
.otp-msg.ok { color: var(--nexo-1); }
.otp-msg.error { color: var(--radar-1); }
.mt8 { margin-top: 8px; }

/* --- 20. Newsletter --- */
#newsletter .cta-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 640px;
  margin: 20px auto 0;
}
#newsletter input[type="email"] {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  min-width: 280px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
#newsletter input[type="email"]::placeholder { color: var(--ink-muted); }
#newsletter input[type="email"]:focus {
  outline: none;
  border-color: var(--nudo);
  box-shadow: 0 0 0 3px rgba(5,199,242,0.12);
}
#newsletter .consent-note,
#newsletter #nl-msg {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 6px;
}
#newsletter .consent-note a { color: var(--nudo); }

/* --- 21. Nexo Theme --- */
.hero-nexo {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 420px at 50% -220px, rgba(78,217,127,0.1), transparent 70%);
}
.nexo-mark {
  background: linear-gradient(135deg, var(--nexo-1), var(--nexo-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nexo-theme .btn.primary {
  background: linear-gradient(135deg, var(--nexo-1), var(--nexo-2));
  color: white;
  border-color: transparent;
}
.nexo-theme .btn.primary:hover { filter: brightness(0.95); }
.marker-nexo {
  background: linear-gradient(90deg, rgba(46,142,94,0.15), rgba(78,217,127,0.06));
  padding: 0.05em 0.3em;
  border-radius: 0.3em;
  box-decoration-break: clone;
}
.hero-nexo .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-nexo .hero-media,
.nexo-theme .hero-media {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: auto !important;
  display: block !important;
}
.hero-nexo .hero-figure {
  width: min(520px, 44vw);
  aspect-ratio: 16/10;
  margin: 0 0 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(42,140,94,0.15);
}
.hero-nexo .hero-visual,
.nexo-theme .hero-media .hero-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: var(--radius-lg);
}
.nexo-theme .section-title { color: var(--nexo-1); }

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.feature-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--nexo-2);
}

.badges-nexo {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.badges-nexo i { color: var(--nexo-2); }

/* --- 22. Radar Theme --- */
.hero-radar {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 420px at 50% -240px, rgba(230,57,70,0.1), transparent 70%);
}
.radar-sweep {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 140%;
  background: conic-gradient(from 0deg, rgba(230,57,70,0.1), rgba(230,57,70,0) 35%);
  mask-image: radial-gradient(60% 60% at 50% 40%, #000 40%, transparent 60%);
  animation: sweep 8s linear infinite;
  pointer-events: none;
}
@keyframes sweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.radar-mark {
  background: linear-gradient(135deg, var(--radar-1), var(--radar-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.radar-theme .btn.primary {
  background: linear-gradient(135deg, var(--radar-1), var(--radar-2));
  color: white;
  border-color: transparent;
}
.radar-theme .btn.primary:hover { filter: brightness(0.95); }
.radar-theme .section-title { color: var(--radar-1); }
.feature-chips-radar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.feature-chips-radar li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--radar-1);
}

/* --- 23. Orbita Theme --- */
.hero-orbita {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 420px at 50% -240px, rgba(108,58,255,0.1), transparent 70%);
}
.orbita-mark {
  background: linear-gradient(135deg, var(--orbita-1), var(--orbita-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.orbita-theme .btn.primary {
  background: linear-gradient(135deg, var(--orbita-1), var(--orbita-2));
  color: white;
  border-color: transparent;
}
.orbita-theme .btn.primary:hover { filter: brightness(0.95); }
.orbita-theme .section-title { color: var(--orbita-1); }
.feature-chips-orbita {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.feature-chips-orbita li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--orbita-2);
}
.orbit-ring {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1.5px dashed rgba(156,109,255,0.2);
  pointer-events: none;
}

/* --- 24. Legal Pages --- */
.legal-page {
  max-width: 920px;
  margin: 40px auto;
  padding: 0 24px 80px;
  color: var(--ink);
  line-height: 1.7;
}
.legal-page h1 {
  font-size: clamp(28px, 4.6vw, 40px);
  margin: 0 0 20px;
  color: var(--nudo-deep);
}
.legal-page .kicker {
  display: inline-block;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.legal-page .lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink-muted);
  margin: 0 0 28px;
}
.legal-page section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px clamp(16px, 2.4vw, 28px);
  margin: 16px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.legal-page h2 { font-size: clamp(20px, 3vw, 24px); margin: 8px 0 12px; }
.legal-page h3 { font-size: clamp(16px, 2.5vw, 18px); margin: 12px 0 6px; }
.legal-page ul { padding-left: 1.2rem; margin: 8px 0 12px; }
.legal-page li { margin: 6px 0; font-size: 15px; }
.legal-page a { color: var(--nudo); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
.legal-page .meta { margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--nudo);
  font-weight: 600;
  text-decoration: none;
  margin: 0 0 16px;
  font-size: 14px;
}
.legal-back:hover { text-decoration: underline; }

/* Compat aliases */
.page main.container.narrow { max-width: 860px; }
.page h1 { font-size: clamp(28px,4vw,40px); line-height: 1.15; margin: 18px 0 18px; letter-spacing: -0.02em; }
.page.privacidad-theme h1 { color: var(--nudo); }
.page.terminos-theme h1 { color: var(--radar-1); }
.page p, .page li { color: #222; font-size: 17px; line-height: 1.7; }
.page ul { padding-left: 20px; margin: 10px 0 4px; }
.page ul li { margin: 6px 0; }
.page a { color: var(--nudo); text-decoration: none; }
.page a:hover { opacity: 0.85; }
.legal-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px 22px 8px; margin: 16px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.legal-meta { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--ink-muted); background: var(--surface-2); padding: 6px 10px; border-radius: 999px; }
.legal-sep { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 18px 0; }

/* --- 25. Nosotros Page --- */
.manifiesto-hero {
  padding: clamp(120px, 16vw, 180px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative;
}
.manifiesto-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(5,199,242,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.stat-badge {
  display: inline-block;
  background: rgba(5,199,242,0.06);
  color: var(--nudo-deep);
  padding: 8px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(5,199,242,0.12);
  margin-bottom: 24px;
}
.manifiesto-hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.manifiesto-grid-clean {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
  gap: 80px;
  padding: 40px 24px 100px;
}
.vision-card { text-align: left; }
.vision-card h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.vision-card p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.data-vulnerability {
  background: #fef2f2;
  padding: 24px;
  border-radius: var(--radius);
  margin: 32px 0;
  border-left: 4px solid var(--radar-1);
  color: #991b1b;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
}
.list-philosophy {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}
.list-philosophy li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--ink-2);
}
.list-philosophy li i {
  color: var(--nudo);
  margin-right: 14px;
  font-size: 16px;
  flex-shrink: 0;
}
.site-footer-nosotros {
  padding: 80px 0 48px;
  background: var(--surface-2);
  text-align: center;
  border-top: 1px solid var(--border);
}
.social-btn-nudo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  color: var(--ink-2);
  text-decoration: none;
  transition: 0.2s;
}
.social-btn-nudo:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* --- 26. Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- 27. Section Title (legacy compat) --- */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* --- 28. Hero Figure --- */
.hero-figure { margin: 24px 0; position: relative; z-index: 1; }
.hero-cover {
  display: block;
  width: 100%;
  height: clamp(220px, 36vw, 520px);
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

/* --- 29. CTA --- */
.cta { background: var(--surface-2); }
.cta-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.cta-form input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 260px;
  font: inherit;
}
.form-note { font-size: 12px; color: var(--ink-muted); margin: 6px 0 0; }

/* --- 30. Misc --- */
.light { font-weight: 300; }
.big { font-size: 1.1rem; }
.list { margin: 10px 0 0; padding-left: 18px; }
.list.num { list-style: decimal; }
.list li { margin: 6px 0; }

/* Home hero-media clean */
body:not(.nexo-theme):not(.orbita-theme):not(.radar-theme) .hero-media {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: auto !important;
  padding: 0 !important;
  display: block !important;
}

/* --- 31. Recursos --- */
.recursos-hero {
  padding-bottom: clamp(40px, 6vw, 60px);
}

.recursos-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.recursos-filter {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.recursos-filter:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}
.recursos-filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.recursos-grid {
  display: grid;
  gap: 20px;
}

.recurso-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.recurso-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  border-color: var(--border-strong);
}

.recurso-card-body { flex: 1; }

.recurso-card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 8px 0 10px;
  color: var(--ink);
}

.recurso-card-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 14px;
}

.recurso-card-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-muted);
}
.recurso-card-meta i { margin-right: 4px; }

.recurso-card-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 14px;
  transition: all 0.2s ease;
}
.recurso-card:hover .recurso-card-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.recurso-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-guia { background: rgba(5,199,242,0.08); color: var(--nudo-deep); }
.tag-comparativa { background: rgba(108,58,255,0.08); color: var(--orbita-1); }
.tag-estrategia { background: rgba(17,24,39,0.06); color: var(--ink-2); }
.tag-framework { background: rgba(42,140,94,0.08); color: var(--nexo-1); }
.tag-caso { background: rgba(230,57,70,0.08); color: var(--radar-1); }
.tag-opinion { background: rgba(5,199,242,0.06); color: var(--nudo); }

/* Recurso detail page */
.recurso-hero {
  padding: clamp(100px, 14vw, 140px) 0 clamp(32px, 4vw, 48px);
  position: relative;
}
.recurso-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(5,199,242,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.recurso-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nudo);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 20px;
  transition: opacity 0.15s;
}
.recurso-back:hover { opacity: 0.7; }

.recurso-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 12px 0 20px;
}

.recurso-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-muted);
}
.recurso-meta i { margin-right: 5px; }

.recurso-body {
  max-width: var(--container-narrow);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
}
.recurso-body h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  margin: 48px 0 16px;
  color: var(--ink);
}
.recurso-body h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 36px 0 12px;
  color: var(--ink);
}
.recurso-body p { margin-bottom: 18px; }
.recurso-body .lead {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 32px;
}
.recurso-body ul, .recurso-body ol {
  padding-left: 24px;
  margin: 16px 0 24px;
}
.recurso-body li {
  margin: 10px 0;
  line-height: 1.7;
}
.recurso-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--nudo);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}
.recurso-body blockquote p { margin: 0; }
.recurso-body a { color: var(--nudo); text-decoration: none; font-weight: 500; }
.recurso-body a:hover { text-decoration: underline; }

.recurso-callout {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
}
.recurso-callout p { margin-bottom: 8px; font-size: 15px; }
.recurso-callout p:last-child { margin-bottom: 0; }

.recurso-cta-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 48px 0 32px;
}
.recurso-cta-box h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  margin: 0 0 10px;
}
.recurso-cta-box p { color: var(--ink-2); margin-bottom: 20px; }
.recurso-cta-box .kicker { margin-bottom: 8px; }

.recurso-nav-bottom {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

/* --- 32. Responsive --- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-nexo .hero-grid { grid-template-columns: 1fr; }
  .hero-nexo .hero-figure { width: 100%; margin: 16px 0 0; }
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    inset: 72px 0 auto 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-menu.open { display: block; }
  .nav-menu ul {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
  }
  .nav-menu li { width: 100%; }
  .btn { min-height: 44px; }
  .nav-menu a, .dropdown-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
  }
  .hero-copy .hero-ctas .btn { width: 100%; min-height: 44px; }
  .has-dropdown .dropdown {
    position: static;
    display: none;
    border: 0;
    padding: 0 0 0 16px;
    box-shadow: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .dropdown { max-width: 100%; }
}

@media (max-width: 768px) {
  .hub-wrapper { transform: scale(0.5); height: 350px; margin: 10px auto; }
  .orbit-node { width: 64px; height: 64px; }
  .contact-grid { grid-template-columns: 1fr; }
  .aliado-grid { grid-template-columns: 1fr; text-align: center; }
  .aliado-visual { order: -1; }
  .aliado-stats { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .manifiesto-hero h1 { font-size: clamp(32px, 7vw, 48px); }
  .vision-card h2 { font-size: clamp(28px, 5vw, 36px); }
  .trust-container { gap: 24px; }
  .trust-item { font-size: 12px; }
}

@media (max-width: 640px) {
  #newsletter .cta-form { grid-template-columns: 1fr; }
  #newsletter input[type="email"] { min-width: 0; }
  #newsletter button { width: 100%; }
  .nexo-theme .hero-figure { width: 100%; aspect-ratio: auto; }
  .nexo-theme .hero-visual { width: 100%; height: auto; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .ofertas-grid { grid-template-columns: 1fr; }
  .recurso-card { flex-direction: column; gap: 16px; padding: 22px 20px; }
  .recurso-card-arrow { display: none; }
  .recursos-filters { gap: 6px; }
  .recursos-filter { padding: 6px 14px; font-size: 13px; }
  .recurso-cta-box { padding: 28px 20px; }
  .recurso-cta-box .btn { width: 100%; }
}
