/* ==========================================================================
   POSICIONAMIENTO SEO — Peak Site Studio
   Incluye: variables base + HEADER + FOOTER (copiados de styles.css)
            + estilos exclusivos de la página SEO
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }

/* ===== VARIABLES ===== */
:root {
  --primary: #0a0f2c;
  --accent: #00d4ff;
  --accent2: #0099ff;
  --bg-light: #ffffff;
  --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; }
p { color: var(--text-soft-light); }
body.dark p { color: var(--text-soft-dark); }

/* ============================================================
   HEADER / NAV  (copiado literal desde styles.css)
   ============================================================ */
.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: 500; }
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; /* refuerzo bold como pediste */
  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;
}

.desktop-nav { flex: 1; display: flex; gap: 10px; justify-content: flex-end; }
.nav-right { display: flex; align-items: center; gap: 15px; }

/* 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: 0;
  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; }

/* MOBILE MENU */
.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: 500;
  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; } }

/* 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; }
}

/* Mobile lang switch */
@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); }
}

/* Idiomas modo claro premium */
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; }

/* ============================================================
   FOOTER  (copiado literal desde styles.css)
   ============================================================ */
.footer-pro {
  background: #080b14; color: #aaa;
  padding: 80px 0 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; }

/* ============================================================
   ANIMACIONES SCROLL REVEAL
   ============================================================ */
.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: translate(0, 0);
}
.fade-left { transform: translateX(-60px); }
.fade-right { transform: translateX(60px); }
.delay   { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.60s; }

/* ============================================================
   ===== SEO PAGE — EXCLUSIVO =====
   ============================================================ */

/* ---------- HERO ---------- */
.seo-hero {
  position: relative;
  padding: 160px 20px 120px;
  background: linear-gradient(135deg, #05081f 0%, #0a0f2c 55%, #0d1a4a 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.seo-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
  animation: floatOrb 14s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: #00d4ff; top: -120px; left: -140px; }
.orb-2 { width: 420px; height: 420px; background: #0099ff; bottom: -100px; right: -100px; animation-delay: -5s; }
@keyframes floatOrb {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.08); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}
.seo-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.seo-eyebrow {
  display: inline-block; padding: 8px 18px;
  border: 1px solid rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.08);
  color: #00d4ff; font-weight: 600; font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase;
  border-radius: 50px; margin-bottom: 28px;
}
.seo-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1; font-weight: 700; margin: 0 0 24px;
}
.gradient-text {
  background: linear-gradient(90deg, #00d4ff, #0099ff, #7cf3ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.seo-hero-sub {
  color: #cbd5e1 !important; max-width: 720px;
  margin: 0 auto 40px; font-size: 1.15rem;
}
.seo-hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.btn-big {
  display: inline-block; padding: 18px 42px !important;
  font-size: 1.1rem !important; font-weight: 600; border-radius: 50px;
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  color: #0a0f2c !important; text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,212,255,0.3);
}
.btn-big:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,212,255,0.45); }
.btn-ghost {
  display: inline-block; padding: 18px 34px;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff; text-decoration: none;
  border-radius: 50px; font-weight: 600;
  transition: all 0.3s ease; backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: #00d4ff; background: rgba(0,212,255,0.08); }

.seo-hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 640px; margin: 0 auto;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08);
}
.stat strong {
  display: block; font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: #94a3b8; font-size: 0.9rem; }

/* ---------- SECTION TAG ---------- */
.section-tag {
  display: inline-block;
  color: #00d4ff; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- INTRO ---------- */
.seo-intro { padding: 100px 0; }
.intro-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: start;
}
.intro-grid h2 { font-size: 2.2rem; line-height: 1.2; margin: 0; color: var(--text-light); }
body.dark .intro-grid h2 { color: var(--text-dark); }
.intro-grid strong { color: var(--primary); }
body.dark .intro-grid strong { color: #7cf3ff; }

/* ---------- BLOQUES SEO ---------- */
.seo-block { padding: 90px 0; position: relative; }
.seo-block.alt { background: #f1f5f9; }
body.dark .seo-block.alt { background: #0d153a; }

.block-header { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.block-header h2 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 18px; }
.block-header .lead { font-size: 1.1rem; }

.block-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.block-split.reverse .block-split-text { order: 2; }
.block-split.reverse .check-list { order: 1; }
.block-split-text h2 { font-size: 2rem; line-height: 1.2; margin: 12px 0 16px; }

.check-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.check-list li {
  position: relative; padding: 18px 20px 18px 56px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  border-radius: 14px; color: var(--text-light);
  transition: all 0.3s ease;
}
body.dark .check-list li {
  background: var(--card-bg-dark); border-color: var(--border-dark); color: var(--text-dark);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  color: #0a0f2c; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.check-list li:hover {
  transform: translateX(6px);
  border-color: #00d4ff;
  box-shadow: 0 10px 30px rgba(0,212,255,0.15);
}
.check-list code {
  background: rgba(0,212,255,0.12); color: #0099ff;
  padding: 2px 6px; border-radius: 4px; font-size: 0.9em;
}

/* ---------- DUAL CARDS ---------- */
.dual-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.feature-card {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  border-radius: 20px; padding: 40px;
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
}
body.dark .feature-card { background: var(--card-bg-dark); border-color: var(--border-dark); }
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  transform: translateY(-8px);
  border-color: #00d4ff;
  box-shadow: 0 25px 60px rgba(0,212,255,0.2);
}
.feature-icon {
  font-size: 2.5rem; margin-bottom: 16px;
  display: inline-flex; width: 64px; height: 64px;
  align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,153,255,0.1));
}
.feature-card h3 { margin: 0 0 12px; font-size: 1.4rem; position: relative; }
.feature-card p { position: relative; }
.feature-card ul {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: grid; gap: 10px; position: relative;
}
.feature-card ul li {
  padding-left: 22px; position: relative;
  color: var(--text-soft-light);
}
body.dark .feature-card ul li { color: var(--text-soft-dark); }
.feature-card ul li::before {
  content: "→"; position: absolute; left: 0; color: #00d4ff; font-weight: 700;
}

/* ---------- SECURITY ---------- */
.seo-security { padding: 100px 0; }
.security-card {
  background: linear-gradient(135deg, #0a0f2c 0%, #142150 100%);
  border-radius: 28px; padding: 70px 50px;
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
  border: 1px solid rgba(0,212,255,0.2);
}
.security-card::before {
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.25), transparent 70%);
}
.security-badge {
  display: inline-block; padding: 8px 20px;
  background: rgba(0,212,255,0.15);
  border: 1px solid rgba(0,212,255,0.4);
  color: #00d4ff; font-weight: 600;
  border-radius: 50px; margin-bottom: 20px; font-size: 0.9rem;
}
.security-card h2 { color: #fff !important; font-size: 2rem; margin: 0 0 16px; }
.security-card .lead { color: #cbd5e1 !important; max-width: 700px; margin: 0 auto 40px; }
.security-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; position: relative; text-align: left;
}
.security-grid > div {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  transition: all 0.3s ease;
}
.security-grid > div:hover {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.35);
  transform: translateY(-3px);
}
.security-grid span { font-size: 1.6rem; flex-shrink: 0; }
.security-grid p { color: #cbd5e1 !important; margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* ---------- MEASURE ---------- */
.measure-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.measure-item {
  padding: 28px 22px; text-align: center;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
}
body.dark .measure-item { background: var(--card-bg-dark); border-color: var(--border-dark); }
.measure-item::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, #00d4ff, #0099ff);
  transition: width 0.4s ease;
  border-radius: 0 0 16px 16px;
}
.measure-item:hover { transform: translateY(-6px); border-color: #00d4ff; }
.measure-item:hover::after { width: 100%; }
.measure-item h4 { margin: 0 0 8px; font-size: 1.1rem; color: #00d4ff !important; }
.measure-item p { margin: 0; font-size: 0.92rem; }

/* ---------- BENEFITS ---------- */
.seo-benefits { padding: 100px 0; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit {
  display: flex; align-items: center; gap: 18px;
  padding: 24px; border-radius: 16px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  transition: all 0.35s ease;
}
body.dark .benefit { background: var(--card-bg-dark); border-color: var(--border-dark); }
.benefit span {
  font-size: 1.6rem; width: 52px; height: 52px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,212,255,0.18), rgba(0,153,255,0.12));
}
.benefit p { margin: 0; font-weight: 500; color: var(--text-light); }
body.dark .benefit p { color: var(--text-dark); }
.benefit:hover {
  transform: translateY(-4px);
  border-color: #00d4ff;
  box-shadow: 0 15px 40px rgba(0,212,255,0.15);
}

/* ---------- CTA FINAL ---------- */
.final-cta {
  background: #ffffff; padding: 120px 20px; text-align: center; margin: 0;
}
body.dark .final-cta {
  background: #0d153a;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.final-cta-content { max-width: 780px; margin: 0 auto; }
.final-cta h2 {
  font-size: 2.35rem; line-height: 1.2;
  margin-bottom: 24px; color: #0a0f2c;
}
body.dark .final-cta h2 { color: #ffffff; }
.final-cta p {
  font-size: 1.2rem; line-height: 1.6;
  color: #475569; max-width: 680px; margin: 0 auto 40px;
}
body.dark .final-cta p { color: #94a3b8; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .intro-grid,
  .block-split { grid-template-columns: 1fr; gap: 30px; }
  .block-split.reverse .block-split-text,
  .block-split.reverse .check-list { order: initial; }
  .dual-cards, .benefits-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .measure-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-hero-stats { grid-template-columns: 1fr; gap: 24px; }
  .seo-hero { padding: 120px 20px 90px; }
  .final-cta h2 { font-size: 1.8rem; }
  .block-header h2, .intro-grid h2, .block-split-text h2 { font-size: 1.7rem; }
}
@media (max-width: 560px) {
  .security-grid { grid-template-columns: 1fr; }
  .measure-grid { grid-template-columns: 1fr; }
  .security-card { padding: 50px 25px; }
  .btn-big, .btn-ghost { width: 100%; text-align: center; }
}

/* Correcciones para el HERO en modo claro */
body:not(.dark) .seo-hero {
  background: #ffffff; /* Fondo blanco */
}

/* Ocultar elementos decorativos oscuros o ajustarlos */
body:not(.dark) .grid-lines {
  background-image: 
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
}

body:not(.dark) .seo-hero-title, 
body:not(.dark) .seo-hero-sub {
  color: #1e2937 !important; /* Texto oscuro para máxima legibilidad */
}

body:not(.dark) .btn-ghost {
  border-color: #0a0f2c;
  color: #0a0f2c;
}

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

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

/* Correcciones para el CTA FINAL en modo claro */
body:not(.dark) .final-cta {
  background: #ffffff;
}

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

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


/* Asegurar contraste en tarjetas modo claro */
body:not(.dark) .feature-card,
body:not(.dark) .measure-item,
body:not(.dark) .benefit,
body:not(.dark) .check-list li {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e2937 !important;
}

body:not(.dark) .feature-card p,
body:not(.dark) .feature-card ul li,
body:not(.dark) .benefit p {
  color: #64748b !important;
}

/* Correcciones para SEO SECURITY en modo claro */
body:not(.dark) .seo-security {
  background: #ffffff; /* Fondo blanco */
}

body:not(.dark) .security-card {
  background: #f8fafd; /* Un gris muy claro que diferencia la tarjeta del fondo */
  border: 1px solid #e2e8f0;
}

body:not(.dark) .security-card h2 {
  color: #0a0f2c !important; /* Texto oscuro */
}

body:not(.dark) .security-card .lead {
  color: #475569 !important; /* Texto gris intermedio */
}

body:not(.dark) .security-badge {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #0099ff;
}

body:not(.dark) .security-grid > div {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

body:not(.dark) .security-grid p {
  color: #1e2937 !important; /* Texto oscuro para legibilidad */
}

/* Ajuste del efecto circular decorativo en modo claro */
body:not(.dark) .security-card::before {
  background: radial-gradient(circle, rgba(0,212,255,0.1), transparent 70%);
}