/* ==========================================================================
   ARQUITECTURA DE INTERFACES Y PROTOTIPADO AVANZADO - Peak Site Studio
   ========================================================================== */

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

html, body {
  max-width: 100%;
  overflow-x: clip;
}

/* ===== VARIABLES ===== */
:root {
  --primary: #0a0f2c;
  --accent: #00d4ff;
  --accent2: #0099ff;
  --bg-light: #f8fafd;
  --bg-dark: #0a0f2c;
  --text-light: #1e2937;
  --text-dark: #f1f5f9;
  --text-soft-light: #64748b;
  --text-soft-dark: #94a3b8;
  --card-bg-light: #ffffff;
  --card-bg-dark: rgba(255, 255, 255, 0.06);
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}
body.dark {
  background: var(--bg-dark);
  color: var(--text-dark);
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}
section {
  padding: 80px 0;
}

/* ===== HEADER / NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
body.dark .header {
  background: rgba(10, 15, 44, 0.95);
  border-bottom: 1px solid var(--border-dark);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 15px;
}
nav {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  justify-content: flex-end;
}
nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}
body.dark nav a {
  color: #fff;
}

.logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.logo:hover { transform: scale(1.05); }
.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: inherit;
}
.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0px;
  line-height: 1;
  color: inherit;
}
body.dark .brand-name {
  background: linear-gradient(90deg, #ffffff, #a0b8ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== THEME BUTTON ===== */
.theme-toggle {
  height: 32px;
  width: 32px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: none;
  cursor: pointer;
  transition: 0.3s;
  color: var(--primary);
}
body.dark .theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.theme-toggle:hover { background: rgba(0, 212, 255, 0.08); }

/* ===== LANG SWITCH ===== */
.lang-switch {
  position: relative;
  display: inline-block;
  margin-left: 12px;
  z-index: 100;
}
.lang-current {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #0f1629;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}
.lang-current:hover {
  background: #1a2338 !important;
  border: 2px solid #00d4ff !important;
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.25), 0 6px 20px rgba(0, 212, 255, 0.45) !important;
}
.lang-switch:hover .lang-current {
  border: 2px solid transparent !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0px;
  background: #1f252f;
  border: 1px solid #444;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: none;
  min-width: 180px;
  padding: 8px 0;
  z-index: 9999;
}
.lang-switch:hover .lang-menu { display: block; }
.flag-wrapper {
  display: inline-flex;
  padding: 2px;
  background: transparent;
  border: none;
}
.lang-current img,
.lang-option img {
  width: 26px;
  height: 17px;
  object-fit: cover;
  border-radius: 3px;
}
.arrow {
  font-size: 19px;
  line-height: 1;
  color: #ffffff;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #eee;
  text-decoration: none;
  font-size: 15px;
}
.lang-option:hover { background: #2a323f; }

/* ===== HEADER LAYOUT + MENÚ ===== */
.desktop-nav {
  flex: 1;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 34px;
  color: var(--primary);
  cursor: pointer;
  padding: 5px 10px;
}
body.dark .mobile-menu-btn { color: #fff; }
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999999;
  display: none;
  justify-content: flex-end;
}
.mobile-menu.active { display: flex; }
.mobile-menu-links {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 82vw !important;
  max-width: 300px !important;
  height: 100vh !important;
  padding: 80px 25px 40px 30px !important;
  background: #0a0f2c !important;
  z-index: 9999999999 !important;
}
.close-menu-btn {
  position: fixed;
  top: 18px;
  right: 18px;
  font-size: 32px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  z-index: 9999999999 !important;
}
.mobile-link {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  padding: 16px 0;
  text-align: left;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:active { background: rgba(0, 212, 255, 0.12); }

/* ===== MEGA MENU ===== */
.nav-item {
  position: relative;
  display: inline-block;
}
.nav-link {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  padding: 12px 14px !important;
  border-radius: 8px;
  transition: background 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 46px;
  line-height: 1;
}
.nav-link:hover { background: rgba(0, 212, 255, 0.08); }
.chevron {
  font-size: 0.68em;
  transition: transform 0.3s ease;
  position: relative;
  top: -1px;
}
.desktop-nav a {
  display: inline-flex !important;
  align-items: center !important;
  height: 46px !important;
  padding: 12px 14px !important;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10000;
  pointer-events: none;
  width: 100vw;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mega-menu-content {
  background: white;
  border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.22);
  border: 1px solid #e2e8f0;
  margin: 0 auto;
  max-width: 1180px;
  width: 95%;
  padding: 50px 48px;
}
body.dark .mega-menu-content {
  background: #0f1629;
  border-color: rgba(255, 255, 255, 0.09);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 52px;
}
.mega-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.mega-column h4 {
  font-size: 14.8px;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.25;
  flex-shrink: 0;
}
.mega-column a {
  display: block;
  padding: 2px 6px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 15.4px;
  line-height: 1.4;
  flex-shrink: 0;
}
body.dark .mega-column a { color: var(--text-dark); }
.mega-column a:hover {
  color: #00d4ff;
  padding-left: 12px;
}
@media (max-width: 991px) {
  .mega-menu { display: none !important; }
}

/* ===== FOOTER ===== */
.footer-pro {
  background: #080b14;
  color: #aaa;
  padding: 80px 0px 40px;
  margin: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}
.footer-pro h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 14px;
}
.footer-pro a {
  display: block;
  text-decoration: none;
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
  transition: 0.3s;
}
.footer-pro a:hover { color: #00d4ff; }
.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
body:not(.dark) .footer-pro {
  background: #f8fafd !important;
  color: #475569 !important;
}
body:not(.dark) .footer-pro h4 { color: #1e2937 !important; }
body:not(.dark) .footer-pro a { color: #64748b !important; }
body:not(.dark) .footer-pro a:hover { color: #0f172a !important; }
body:not(.dark) .footer-bottom {
  border-top-color: #e2e8f0 !important;
  color: #64748b !important;
}

/* Lang modo claro (header) */
body:not(.dark) .header .lang-current {
  background: #ffffff !important;
  color: #0a0f2c !important;
  border: 2px solid transparent !important;
  box-shadow: 0 8px 25px rgba(10, 15, 44, 0.08) !important;
  transition: all 0.3s ease !important;
}
body:not(.dark) .header .lang-current .arrow { color: #0a0f2c !important; }
body:not(.dark) .lang-current:hover,
body:not(.dark) .lang-switch:hover .lang-current {
  background: #ffffff !important;
  border: 2px solid #00d4ff !important;
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2), 0 10px 30px rgba(0, 212, 255, 0.35) !important;
}
body:not(.dark) .lang-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 15px 40px rgba(10, 15, 44, 0.1) !important;
  padding: 6px 0 !important;
}
body:not(.dark) .lang-menu .lang-option {
  color: #1e2937 !important;
  font-weight: 500 !important;
}
body:not(.dark) .lang-menu .lang-option:hover {
  background: #f1f5f9 !important;
  color: #0099ff !important;
}

/* Responsive header */
@media (max-width: 991px) {
  .desktop-nav,
  .nav-right,
  .header .lang-switch { display: none !important; }
  .mobile-menu-btn { display: block; }
  .header { position: relative; z-index: 100; }
  .mobile-menu { z-index: 999999 !important; }
  .mobile-menu-links {
    z-index: 1000000 !important;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.5);
  }
  .close-menu-btn { z-index: 1000001 !important; }
  body.menu-open { overflow: hidden; }
  .mobile-theme-btn {
    display: block !important;
    height: 38px;
    width: 38px;
    font-size: 1.2rem;
    margin-left: 8px;
    position: relative !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
  }
  .desktop-only.nav-right { display: none !important; }
  .theme-toggle.mobile-theme-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  body.light .theme-toggle.mobile-theme-btn {
    border-color: var(--border-light);
    background: rgba(0, 0, 0, 0.08);
    color: var(--primary);
  }
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-btn,
  .mobile-theme-btn { display: none !important; }
}

/* Lang móvil */
@media (max-width: 991px) {
  .mobile-lang-container {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(128, 128, 128, 0.15);
    display: flex;
    justify-content: center;
  }
  .mobile-lang-switch {
    position: relative;
    width: 100%;
    max-width: 200px;
  }
  .mobile-lang-switch .lang-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(128, 128, 128, 0.08);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  body.dark .mobile-lang-switch .lang-current { background: rgba(255, 255, 255, 0.06); }
  .mobile-lang-switch .arrow { font-size: 0.8rem; transition: transform 0.3s ease; }
  .mobile-lang-switch.active .arrow { transform: rotate(180deg); }
  .mobile-lang-switch .lang-menu {
    display: none;
    background: rgba(128, 128, 128, 0.05);
    border-radius: 10px;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid rgba(128, 128, 128, 0.1);
  }
  body.dark .mobile-lang-switch .lang-menu { background: rgba(255, 255, 255, 0.03); }
  .mobile-lang-switch.active .lang-menu { display: block; }
  .mobile-lang-switch .lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: inherit;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease;
  }
  .mobile-lang-switch .lang-option:not(:last-child) {
    border-bottom: 1px solid rgba(128, 128, 128, 0.08);
  }
  .mobile-lang-switch .lang-option:hover { background: rgba(128, 128, 128, 0.12); }
  .mobile-lang-switch .flag-wrapper { display: inline-flex; align-items: center; width: 20px; }
  .mobile-lang-switch .flag-wrapper img {
    width: 100%; height: auto; border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
}

/* Animaciones scroll reveal (compatibles con script.js) */
.fade-up, .fade-left, .fade-right {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.fade-up.visible, .fade-left.visible, .fade-right.visible {
  opacity: 1; transform: translateY(0);
}
.fade-up.delay  { transition-delay: 0.1s; }
.fade-up.delay2 { transition-delay: 0.2s; }
.fade-up.delay3 { transition-delay: 0.3s; }


/* ==========================================================================
   2) ESTILOS DE LA PÁGINA — ARQUITECTURA DE INTERFACES Y PROTOTIPADO
   ========================================================================== */

.arq-gradient-text {
  background: linear-gradient(90deg, #00d4ff, #0099ff 60%, #7b61ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== HERO ===== */
.arq-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 20px 120px;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(0,153,255,0.25), transparent 60%),
              radial-gradient(900px 500px at 0% 20%, rgba(0,212,255,0.18), transparent 60%),
              linear-gradient(135deg, #05081c 0%, #0a0f2c 50%, #131a44 100%);
  color: #ffffff;
  text-align: center;
  isolation: isolate;
}
.arq-hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 75%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
  animation: floatOrb 14s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; background: #00d4ff; top: -80px; left: -100px; }
.orb-2 { width: 380px; height: 380px; background: #7b61ff; bottom: -120px; right: -80px; animation-delay: -6s; }
@keyframes floatOrb {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px,-20px) scale(1.08); }
}

.arq-hero-content { position: relative; max-width: 900px; margin: 0 auto; }
.arq-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.35);
  color: #7ee9ff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 30px;
  animation: fadeInDown 0.9s ease both;
}
.arq-hero h1 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 3.6rem;
  line-height: 1.08;
  margin: 0 0 26px;
  color: #ffffff;
  letter-spacing: -1px;
  animation: fadeInUp 0.9s 0.15s ease both;
}
.arq-hero-sub {
  font-size: 1.18rem;
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.9s 0.3s ease both;
}
.arq-hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.9s 0.45s ease both;
}
.arq-cta-primary { margin-top: 0 !important; }
.arq-cta-ghost {
  display: inline-flex; align-items: center;
  padding: 18px 32px;
  border-radius: 60px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.arq-cta-ghost:hover {
  border-color: #00d4ff;
  background: rgba(0,212,255,0.08);
  transform: translateY(-3px);
}
.arq-hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.9s 0.6s ease both;
}
.arq-stat { text-align: center; }
.arq-stat strong {
  display: block; font-size: 2.2rem; font-weight: 700;
  background: linear-gradient(90deg, #00d4ff, #7b61ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1;
}
.arq-stat span { font-size: 0.9rem; color: #94a3b8; letter-spacing: 0.3px; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== HEADS / TAGS ===== */
.arq-section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.arq-section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 14px 0 16px;
  letter-spacing: -0.5px;
}
.arq-section-head p { font-size: 1.05rem; color: var(--text-soft-light); }
body.dark .arq-section-head p { color: var(--text-soft-dark); }
.arq-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0099ff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,153,255,0.08);
  border: 1px solid rgba(0,153,255,0.2);
}
body.dark .arq-tag { color: #7ee9ff; background: rgba(0,212,255,0.08); border-color: rgba(0,212,255,0.2); }
.arq-tag-dark { background: rgba(0,212,255,0.12); }

/* ===== INTRO ===== */
.arq-intro { background: var(--bg-light); }
body.dark .arq-intro { background: var(--bg-dark); }
.arq-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.arq-intro-grid h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem; line-height: 1.15;
  letter-spacing: -0.5px;
  position: sticky; top: 100px;
}

/* ===== WHY ===== */
.arq-why {
  background: linear-gradient(180deg, transparent, rgba(0,153,255,0.04));
}
body.dark .arq-why { background: linear-gradient(180deg, transparent, rgba(0,153,255,0.06)); }
.arq-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.arq-why-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 26px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative; overflow: hidden;
}
.arq-why-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.35s ease;
}
.arq-why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 20px 45px -20px rgba(0,153,255,0.35);
}
.arq-why-card:hover::before { opacity: 1; }
body.dark .arq-why-card {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}
.arq-why-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem; margin: 18px 0 10px;
}
.arq-why-card p { font-size: 0.95rem; margin: 0; }
.arq-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,153,255,0.1));
  color: #0099ff;
  border: 1px solid rgba(0,153,255,0.25);
}
body.dark .arq-icon { color: #7ee9ff; border-color: rgba(0,212,255,0.3); }
.arq-icon svg { width: 26px; height: 26px; }

/* ===== PROCESS TIMELINE ===== */
.arq-process { background: var(--bg-light); }
body.dark .arq-process { background: var(--bg-dark); }
.arq-timeline {
  list-style: none; padding: 0; margin: 0;
  position: relative;
  max-width: 820px; margin-inline: auto;
}
.arq-timeline::before {
  content: ""; position: absolute;
  left: 32px; top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, #00d4ff, #7b61ff, transparent);
  opacity: 0.4;
}
.arq-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 26px 0;
  position: relative;
}
.arq-step-num {
  width: 64px; height: 64px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700; font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  box-shadow: 0 12px 30px -10px rgba(0,153,255,0.6);
  position: relative; z-index: 1;
}
.arq-step-body h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  margin: 6px 0 10px;
}
.arq-step-body p { margin: 0; }

/* ===== SEO ===== */
.arq-seo {
  background: linear-gradient(135deg, #0a0f2c, #101a44);
  color: #fff;
}
.arq-seo h2 { color: #fff !important; font-family: "Space Grotesk", sans-serif; font-size: 2.2rem; letter-spacing: -0.5px; }
.arq-seo p { color: #cbd5e1; }
.arq-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.arq-feature-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.arq-feature-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px; align-items: start;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.arq-feature-list li:hover {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.35);
  transform: translateX(6px);
}
.arq-feature-list li svg {
  width: 24px; height: 24px; color: #00d4ff;
  padding: 8px; background: rgba(0,212,255,0.12); border-radius: 10px;
  box-sizing: content-box;
}
.arq-feature-list li div { color: #e2e8f0; font-size: 0.98rem; }
.arq-feature-list li strong { color: #fff; }

/* ===== CIBERSEGURIDAD ===== */
.arq-security { background: var(--bg-light); }
body.dark .arq-security { background: var(--bg-dark); }
.arq-sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.arq-sec-card {
  padding: 30px 26px;
  border-radius: 18px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
body.dark .arq-sec-card { background: var(--card-bg-dark); border-color: var(--border-dark); }
.arq-sec-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #00d4ff, #7b61ff);
  transition: width 0.4s ease;
}
.arq-sec-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -20px rgba(0,153,255,0.35); }
.arq-sec-card:hover::after { width: 100%; }
.arq-sec-card svg {
  width: 32px; height: 32px; color: #0099ff; margin-bottom: 16px;
}
body.dark .arq-sec-card svg { color: #7ee9ff; }
.arq-sec-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem; margin: 0 0 10px;
}
.arq-sec-card p { margin: 0; font-size: 0.95rem; }

/* ===== VENTAJAS ===== */
.arq-benefits-section { background: var(--bg-light); }
body.dark .arq-benefits-section { background: var(--bg-dark); }
.arq-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.arq-benefit {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 16px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}
body.dark .arq-benefit { background: var(--card-bg-dark); border-color: var(--border-dark); }
.arq-benefit:hover {
  border-color: rgba(0,212,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(0,153,255,0.35);
}
.arq-benefit span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem; font-weight: 700;
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}
.arq-benefit p { margin: 0; }
.arq-benefits-note {
  text-align: center;
  max-width: 780px; margin: 60px auto 0;
  font-size: 1.08rem;
}

/* ===== FINAL CTA overrides ===== */
.arq-final-cta { margin: 0 !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .arq-intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .arq-intro-grid h2 { position: static; }
  .arq-split { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .arq-hero { padding: 110px 20px 80px; }
  .arq-hero h1 { font-size: 2.2rem !important; letter-spacing: -0.5px; }
  .arq-hero-sub { font-size: 1rem; }
  .arq-hero-ctas .arq-cta-ghost {
    width: 100% !important; max-width: 340px; justify-content: center;
    padding: 15px 30px;
  }
  .arq-hero-stats { gap: 24px; padding-top: 30px; }
  .arq-stat strong { font-size: 1.6rem; }
  .arq-section-head h2 { font-size: 1.7rem !important; }
  .arq-seo h2 { font-size: 1.7rem; }
  .arq-timeline::before { left: 24px; }
  .arq-step { grid-template-columns: 60px 1fr; gap: 16px; }
  .arq-step-num { width: 50px; height: 50px; font-size: 1rem; }
  .arq-step-body h3 { font-size: 1.1rem; }
  .arq-benefit { grid-template-columns: 44px 1fr; padding: 20px; }
  .arq-benefit span { font-size: 1.3rem; }
  .arq-feature-list li { grid-template-columns: 36px 1fr; padding: 14px 16px; }
}

/* ==========================================================================
   AJUSTES MODO CLARO (WHITE THEME FIXES)
   ========================================================================== */

/* 1. Ajustes del Hero para Modo Claro */
body:not(.dark) .arq-hero {
    background: #ffffff !important;
    color: #1e2937 !important;
}

body:not(.dark) .arq-hero h1,
body:not(.dark) .arq-hero p {
    color: #1e2937 !important;
}

body:not(.dark) .arq-hero-sub {
    color: #475569 !important;
}

body:not(.dark) .arq-hero .arq-eyebrow {
    background: rgba(0, 153, 255, 0.05);
    border: 1px solid rgba(0, 153, 255, 0.2);
    color: #0099ff;
}

body:not(.dark) .arq-hero .arq-cta-ghost {
    border-color: #cbd5e1;
    color: #1e2937;
}

body:not(.dark) .arq-hero .arq-cta-ghost:hover {
    border-color: #00d4ff;
    background: #f1f5f9;
}

body:not(.dark) .arq-hero-stats {
    border-top: 1px solid #e2e8f0;
}

body:not(.dark) .arq-stat span {
    color: #64748b !important;
}

/* 2. Ajustes del CTA Final para Modo Claro */
body:not(.dark) .arq-final-cta {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0;
}

body:not(.dark) .arq-final-cta h2 {
    color: #0a0f2c !important;
}

body:not(.dark) .arq-final-cta p {
    color: #475569 !important;
}

/* 3. Ajustes generales de tarjetas en modo claro */
body:not(.dark) .arq-why-card,
body:not(.dark) .arq-sec-card,
body:not(.dark) .arq-benefit {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

body:not(.dark) .arq-why-card:hover,
body:not(.dark) .arq-sec-card:hover,
body:not(.dark) .arq-benefit:hover {
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.1) !important;
}

/* 4. Asegurar visibilidad de iconos en modo claro */
body:not(.dark) .arq-icon {
    background: rgba(0, 153, 255, 0.08);
    color: #0099ff;
}

/* ==========================================================================
   AJUSTE SECCIÓN SEO PARA MODO CLARO
   ========================================================================== */

body:not(.dark) .arq-seo {
    /* Cambiamos el fondo oscuro a un fondo blanco o muy claro */
    background: #ffffff !important; 
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

body:not(.dark) .arq-seo h2 {
    /* Texto oscuro para contraste en fondo claro */
    color: #0a0f2c !important; 
}

body:not(.dark) .arq-seo p {
    /* Texto gris para subtítulos */
    color: #475569 !important;
}

body:not(.dark) .arq-feature-list li {
    /* Tarjetas de características con fondo suave y borde */
    background: #f8fafd !important;
    border: 1px solid #e2e8f0 !important;
}

body:not(.dark) .arq-feature-list li div {
    color: #334155 !important;
}

body:not(.dark) .arq-feature-list li strong {
    color: #0a0f2c !important;
}

/* Ajuste de iconos y contenedores internos para modo claro */
body:not(.dark) .arq-feature-list li svg {
    color: #0099ff !important;
    background: rgba(0, 153, 255, 0.1) !important;
}