/* ============================================================
   Inglés 360 v6.5 — Componentes premium
   Visual Revision 3
   ============================================================ */

/* ============================================================
   0. Announcement bar — REMOVED in Visual Revision 4
   La frase "El inglés que necesitas para la vida que mereces"
   vive ahora en el hero badge (.i360-hero-badge), no como pill superior.
   ============================================================ */

/* ============================================================
   1. Botones — premium glass + gradient con liquid highlight
   ============================================================ */
.i360-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  transition: transform .18s var(--ease-liquid), box-shadow .25s var(--ease-brand), filter .25s var(--ease-brand);
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  position: relative;
  isolation: isolate;
}
.i360-btn:hover  { transform: translateY(-2px); }
.i360-btn:active { transform: translateY(0) scale(.99); }
.i360-btn-lg { padding: 15px 30px; font-size: 16px; }
.i360-btn-sm { padding: 9px 18px;  font-size: 13px; }

.i360-btn-gradient,
.i360-btn-gradient:link,
.i360-btn-gradient:visited,
.i360-btn-gradient:hover,
.i360-btn-gradient:focus,
.i360-btn-gradient:active {
  /* Gradient button always white text — fixes contrast in both modes */
  color: #FFFFFF !important;
}
.i360-btn-gradient {
  background: var(--i360-grad);
  background-size: 180% 180%;
  background-position: 0% 50%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -10px 24px rgba(255,255,255,.18),
    0 10px 24px rgba(74,107,255,.32),
    0 4px 10px rgba(177,76,255,.18);
  text-shadow: 0 1px 2px rgba(10,19,64,.18);
}
.i360-btn-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,.55), transparent 65%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: soft-light;
}
.i360-btn-gradient:hover {
  background-position: 100% 50%;
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -10px 30px rgba(255,255,255,.22),
    0 16px 36px rgba(74,107,255,.42),
    0 6px 14px rgba(177,76,255,.28);
}
/* WordPress button block compatibility — when wp:button wraps an <a>, the
   .wp-block-button__link inside needs the gradient + white text */
.wp-block-button.i360-btn-gradient .wp-block-button__link,
.wp-block-button.i360-btn-gradient a {
  background: transparent !important;
  color: #FFFFFF !important;
}

/* Glass button — clean liquid glass */
.i360-btn-glass {
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  backdrop-filter: blur(20px) saturate(1.7);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(74,107,255,0.18);
  color: var(--i360-blue-600);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 6px 18px rgba(10,19,64,.08);
}
.i360-btn-glass:hover {
  background: rgba(255,255,255,0.78);
  border-color: rgba(74,107,255,0.32);
  color: var(--i360-blue-600);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 12px 26px rgba(74,107,255,.16);
}
[data-theme="dark"] .i360-btn-glass {
  background: rgba(255,255,255,0.05);
  border-color: rgba(43,230,224,0.20);
  color: var(--i360-cyan-400);
  box-shadow:
    inset 0 1px 0 rgba(43,230,224,.08),
    0 6px 18px rgba(0,0,0,.45);
}
[data-theme="dark"] .i360-btn-glass:hover {
  background: rgba(43,230,224,0.10);
  border-color: rgba(43,230,224,.45);
  color: var(--i360-cyan-300);
  box-shadow:
    inset 0 1px 0 rgba(43,230,224,.18),
    0 0 24px rgba(43,230,224,.32),
    0 0 56px rgba(43,230,224,.18);
}

/* ============================================================
   2. Nav — más espacio horizontal, glass más limpio
   ============================================================ */
.i360-nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: 16px;
  margin-block-start: 14px;
}
.i360-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  background: rgba(255,255,255,0.78);
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.04);
  backdrop-filter: blur(28px) saturate(200%) brightness(1.04);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 28px rgba(10,19,64,.10), inset 0 1px 0 rgba(255,255,255,.85);
  padding: 8px 12px 8px 16px;
  width: min(100%, 1120px);
  transition: background-color .25s var(--ease-brand), border-color .25s var(--ease-brand), box-shadow .25s var(--ease-brand);
}
[data-theme="dark"] .i360-nav {
  background: rgba(15,20,42,0.55);
  border-color: rgba(43,230,224,0.20);
  box-shadow: 0 8px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(43,230,224,.12);
}

.i360-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--i360-ink-900);
  font-size: 15.5px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.i360-nav-brand:hover { color: var(--i360-ink-900); }
[data-theme="dark"] .i360-nav-brand { color: #fff; }
.i360-nav-logo { height: 36px; width: auto; display: block; }

.i360-nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  margin: 0 auto;
  flex-wrap: nowrap;
}
.i360-nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--i360-ink-700);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
}
.i360-nav-links a:hover,
.i360-nav-links a[aria-current="page"],
.i360-nav-links a.current,
.i360-nav-links .wp-block-navigation-item.current-menu-item > a,
.i360-nav-links li.current-menu-item > a { color: var(--i360-blue-600); }
.i360-nav-links a::after,
.i360-nav-links .wp-block-navigation-item > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--i360-grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease-liquid);
}
.i360-nav-links a:hover::after,
.i360-nav-links a[aria-current="page"]::after,
.i360-nav-links a.current::after,
.i360-nav-links .wp-block-navigation-item.current-menu-item > a::after,
.i360-nav-links li.current-menu-item > a::after {
  transform: scaleX(1);
}
[data-theme="dark"] .i360-nav-links a { color: var(--i360-ink-300); }
[data-theme="dark"] .i360-nav-links a:hover,
[data-theme="dark"] .i360-nav-links a[aria-current="page"],
[data-theme="dark"] .i360-nav-links a.current,
[data-theme="dark"] .i360-nav-links .wp-block-navigation-item.current-menu-item > a { color: var(--i360-cyan-400); }

.i360-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.i360-nav-login {
  display: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--i360-ink-700);
  white-space: nowrap;
}
.i360-nav-login:hover { color: var(--i360-blue-600); }
[data-theme="dark"] .i360-nav-login { color: var(--i360-ink-300); }
[data-theme="dark"] .i360-nav-login:hover { color: var(--i360-cyan-400); }

/* Hide login earlier so layout breathes; show on very wide nav only */
@media (min-width: 1080px) { .i360-nav-links { display: inline-flex; } }
@media (min-width: 1240px) { .i360-nav-login { display: inline-flex; } }

/* ----------  Theme toggle — pill switch (Visual Revision 4) ---------- */
.i360-toggle-switch {
  position: relative;
  width: 78px; height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: rgba(255,255,255,0.62);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(74,107,255,0.20);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 4px 12px rgba(10,19,64,.10);
  transition: background-color .25s var(--ease-brand), border-color .25s var(--ease-brand), box-shadow .25s var(--ease-brand);
  flex-shrink: 0;
}
.i360-toggle-switch:hover {
  border-color: rgba(74,107,255,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 18px rgba(74,107,255,.20);
}
.i360-toggle-switch .thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--i360-grad);
  background-size: 180% 180%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 3px 8px rgba(74,107,255,.40),
    0 1px 3px rgba(177,76,255,.25);
  transition: transform .42s var(--ease-liquid), background-position .6s var(--ease-liquid);
  z-index: 1;
}
.i360-toggle-switch[aria-pressed="true"] .thumb {
  transform: translateX(36px);
  background-position: 100% 50%;
}
.i360-toggle-switch .seg {
  flex: 1;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  z-index: 2;
  color: var(--i360-ink-500);
  transition: color .25s var(--ease-brand);
  user-select: none;
}
.i360-toggle-switch[aria-pressed="false"] .sun  { color: #FFFFFF; }
.i360-toggle-switch[aria-pressed="true"]  .moon { color: #FFFFFF; }
[data-theme="dark"] .i360-toggle-switch {
  background: rgba(15,20,42,0.55);
  border-color: rgba(43,230,224,0.28);
  box-shadow: inset 0 1px 0 rgba(43,230,224,.20), 0 4px 14px rgba(0,0,0,.45);
}
[data-theme="dark"] .i360-toggle-switch:hover {
  border-color: rgba(43,230,224,.55);
  box-shadow: inset 0 1px 0 rgba(43,230,224,.32), 0 0 22px rgba(43,230,224,.32);
}
[data-theme="dark"] .i360-toggle-switch .seg { color: var(--i360-ink-300); }
[data-theme="dark"] .i360-toggle-switch[aria-pressed="false"] .sun  { color: #FFFFFF; }
[data-theme="dark"] .i360-toggle-switch[aria-pressed="true"]  .moon { color: #FFFFFF; }

/* Backwards-compat: keep .i360-theme-toggle alias if older markup remains */
.i360-theme-toggle { display: none; }

/* ----------  Liquid SVG hamburger — gradient lines, animated glow ---------- */
.i360-hamburger {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74,107,255,0.18);
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform .22s var(--ease-liquid), box-shadow .25s var(--ease-brand), background-color .25s var(--ease-brand), border-color .25s var(--ease-brand);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 4px 12px rgba(10,19,64,.08);
}
[data-theme="dark"] .i360-hamburger {
  background: rgba(15,20,42,0.55);
  border-color: rgba(43,230,224,0.22);
  box-shadow: inset 0 1px 0 rgba(43,230,224,.18), 0 4px 14px rgba(0,0,0,.45);
}

.i360-hamburger svg { width: 22px; height: 22px; display: block; overflow: visible; }
.i360-hamburger .bar-line {
  stroke: url(#i360-burger-grad);
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
  transition: transform .35s var(--ease-liquid), opacity .2s var(--ease-brand), filter .35s var(--ease-brand);
  filter: drop-shadow(0 0 4px rgba(74,107,255,.45));
  transform-origin: center;
  /* animated gradient flow */
  stroke-dasharray: 28;
  animation: i360-burger-flow 6s linear infinite;
}
@keyframes i360-burger-flow {
  to { stroke-dashoffset: -56; }
}
.i360-hamburger:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(74,107,255,0.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 0 22px rgba(74,107,255,.25), 0 0 48px rgba(177,76,255,.18);
}
.i360-hamburger:hover .bar-line { filter: drop-shadow(0 0 6px rgba(74,107,255,.7)); }
[data-theme="dark"] .i360-hamburger:hover {
  background: rgba(43,230,224,0.10);
  border-color: rgba(43,230,224,.55);
  box-shadow: inset 0 1px 0 rgba(43,230,224,.30), 0 0 24px rgba(43,230,224,.40), 0 0 56px rgba(177,76,255,.22);
}
.i360-hamburger:active { transform: scale(.96); }

.i360-hamburger[aria-expanded="true"] .bar-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.i360-hamburger[aria-expanded="true"] .bar-line:nth-child(2) { opacity: 0; }
.i360-hamburger[aria-expanded="true"] .bar-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1080px) { .i360-hamburger { display: none; } }

/* ============================================================
   3. Mobile menu — glass panel premium
   ============================================================ */
.i360-mobile-menu {
  position: fixed; inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 14px;
  background: rgba(6,10,34,0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.i360-mobile-menu[data-open="true"] { display: flex; }

.i360-mobile-menu-panel {
  width: 100%;
  max-width: 460px;
  margin-top: 12px;
  border-radius: 32px;
  padding: 18px;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow:
    0 30px 90px rgba(10,19,64,.30),
    inset 0 1px 0 rgba(255,255,255,.85);
  animation: i360-menu-in .42s var(--ease-liquid);
  position: relative;
  overflow: hidden;
}
.i360-mobile-menu-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--i360-grad);
  background-size: 200% 100%;
  animation: i360-grad-shift 18s linear infinite;
}
[data-theme="dark"] .i360-mobile-menu-panel {
  background: rgba(10,15,32,0.86);
  border-color: rgba(43,230,224,0.22);
  box-shadow:
    0 30px 90px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(43,230,224,.18);
}
@keyframes i360-menu-in {
  from { opacity: 0; transform: translateY(-12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.i360-mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 6px 16px;
}
.i360-mobile-menu-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--i360-ink-900);
}
[data-theme="dark"] .i360-mobile-menu-title { color: #fff; }

.i360-mobile-menu-close {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(10,14,31,0.06);
  border: 1px solid rgba(10,14,31,0.08);
  color: var(--i360-ink-900);
  font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.i360-mobile-menu-close:hover {
  background: rgba(74,107,255,.12);
  border-color: rgba(74,107,255,.25);
  color: var(--i360-blue-600);
}
[data-theme="dark"] .i360-mobile-menu-close {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  color: #fff;
}
[data-theme="dark"] .i360-mobile-menu-close:hover {
  background: rgba(43,230,224,0.14);
  color: var(--i360-cyan-300);
  border-color: rgba(43,230,224,.40);
}

.i360-mobile-menu-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.i360-mobile-menu-list a {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(10,19,64,0.06);
  color: var(--i360-ink-900);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-base);
}
.i360-mobile-menu-list a .arrow {
  color: var(--i360-blue-600);
  font-size: 18px;
  transition: transform .25s var(--ease-liquid);
}
.i360-mobile-menu-list a:hover {
  background: rgba(255,255,255,1);
  border-color: rgba(74,107,255,0.30);
  box-shadow: 0 10px 22px rgba(74,107,255,.12);
  transform: translateY(-1px);
}
.i360-mobile-menu-list a:hover .arrow { transform: translateX(3px); }
[data-theme="dark"] .i360-mobile-menu-list a {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  color: #fff;
}
[data-theme="dark"] .i360-mobile-menu-list a .arrow { color: var(--i360-cyan-400); }
[data-theme="dark"] .i360-mobile-menu-list a:hover {
  background: rgba(43,230,224,0.10);
  border-color: rgba(43,230,224,0.40);
  box-shadow: 0 0 22px rgba(43,230,224,.32);
}

.i360-mobile-menu-cta { margin-top: 16px; }
.i360-mobile-menu-cta .i360-btn {
  width: 100%;
  padding: 16px 22px;
  font-size: 16px;
}

/* ============================================================
   4. Hero + neural/orbital animation
   ============================================================ */
.i360-hero {
  position: relative;
  padding-block: 96px 80px;
  overflow: hidden;
  isolation: isolate;
}

/* Visual Rev 5: REMOVED galaxy particles + orbital target rings.
   Replaced with liquid gradient blobs (soft drifting) + light sweep.
   Kept .i360-hero-orbits and .i360-hero-particles selectors as no-op
   so older markup still renders without breaking. */
.i360-hero-orbits, .i360-hero-particles { display: none !important; }

.i360-hero-ambient {
  position: absolute;
  inset: -15% -10%;
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
  opacity: .85;
}
.i360-hero-ambient .blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}
.i360-hero-ambient .blob.b1 {
  width: 620px; height: 620px; top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(43,230,224,0.55) 0%, transparent 70%);
  animation: i360-blob-drift 24s ease-in-out infinite alternate;
}
.i360-hero-ambient .blob.b2 {
  width: 540px; height: 540px; top: 6%; right: -10%;
  background: radial-gradient(circle, rgba(177,76,255,0.55) 0%, transparent 70%);
  animation: i360-blob-drift 32s ease-in-out infinite alternate-reverse;
}
.i360-hero-ambient .blob.b3 {
  width: 460px; height: 460px; bottom: -10%; left: 30%;
  background: radial-gradient(circle, rgba(74,107,255,0.45) 0%, transparent 70%);
  animation: i360-blob-drift 38s ease-in-out infinite alternate;
}
@keyframes i360-blob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(28px, -36px) scale(1.06); }
  100% { transform: translate(-22px, 30px) scale(0.96); }
}
/* Light mode: blobs lighter / less saturated */
:root .i360-hero-ambient { opacity: .55; }
[data-theme="dark"] .i360-hero-ambient { opacity: .9; mix-blend-mode: normal; }

/* Subtle horizontal light sweep across the hero */
.i360-hero-sweep {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, transparent 35%, rgba(255,255,255,0.06) 50%, transparent 65%, transparent 100%);
  background-size: 220% 100%;
  background-position: -50% 0;
  animation: i360-sweep 14s ease-in-out infinite;
}
@keyframes i360-sweep {
  0%, 100% { background-position: -50% 0; }
  50%      { background-position: 150% 0; }
}
[data-theme="dark"] .i360-hero-sweep {
  background: linear-gradient(115deg, transparent 0%, transparent 35%, rgba(255,255,255,0.05) 50%, transparent 65%, transparent 100%);
  background-size: 220% 100%;
}

.i360-hero-content {
  text-align: center;
  width: min(100% - 32px, 880px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  position: relative;
}

.i360-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--i360-blue-600);
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(74,107,255,0.20);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.i360-hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--i360-grad);
  box-shadow: var(--glow-blue);
}
[data-theme="dark"] .i360-hero-badge {
  background: rgba(15,20,42,0.6);
  border-color: rgba(43,230,224,0.30);
  color: var(--i360-cyan-400);
}

.i360-hero-h1 {
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--i360-ink-900);
}
.i360-hero-h1 em {
  font-style: normal;
  background: var(--i360-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="dark"] .i360-hero-h1 { color: #fff; }

.i360-hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.6;
  color: var(--i360-ink-700);
  max-width: 720px;
  margin: 0;
}
[data-theme="dark"] .i360-hero-sub { color: var(--i360-ink-300); }

.i360-hero-rhythm {
  display: grid;
  gap: 6px;
  margin: var(--sp-4) 0 0;
  list-style: none;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--i360-ink-700);
}
.i360-hero-rhythm li::before { content: "›  "; color: var(--i360-magenta-500); }
[data-theme="dark"] .i360-hero-rhythm { color: var(--i360-ink-300); }

.i360-hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-4); }

/* ----------  Hero mockup — Mi Espacio 360 dashboard preview ---------- */
.i360-hero-mockup {
  margin-top: var(--sp-12);
  width: min(100% - 32px, 760px);
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
  border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(10,19,64,.20);
  padding: 14px;
  position: relative;
}
.i360-hero-mockup::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--i360-grad);
  background-size: 200% 100%;
  animation: i360-grad-shift 22s linear infinite;
}
[data-theme="dark"] .i360-hero-mockup {
  background: linear-gradient(160deg, rgba(10,15,40,.85), rgba(10,15,40,.55));
  border-color: rgba(43,230,224,0.22);
  box-shadow: 0 30px 80px rgba(0,0,0,.60);
}

.i360-hero-mockup-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .i360-hero-mockup-grid { grid-template-columns: 1.25fr 1fr; }
}

/* Generic mockup card surface */
.i360-mockup-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(10,19,64,0.06);
  box-shadow: 0 6px 16px rgba(10,19,64,0.06);
  text-align: left;
}
[data-theme="dark"] .i360-mockup-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }

.i360-mockup-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--i360-blue-600);
  margin: 0 0 6px;
}
[data-theme="dark"] .i360-mockup-eyebrow { color: var(--i360-cyan-400); }
.i360-mockup-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--i360-ink-900);
  margin: 0 0 10px;
}
[data-theme="dark"] .i360-mockup-h { color: #fff; }

.i360-mockup-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--i360-ink-100);
  font-size: 13.5px;
  color: var(--i360-ink-700);
}
.i360-mockup-row:first-of-type { border-top: 0; }
[data-theme="dark"] .i360-mockup-row { color: var(--i360-ink-300); border-top-color: rgba(255,255,255,0.08); }

.i360-mockup-row-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.i360-mockup-row-icon .icon-dot {
  width: 8px; height: 8px; border-radius: 50%;
}

/* Color-coded status chips */
.i360-mockup-tag {
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 6px;
}
.i360-mockup-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.i360-mockup-tag.t-done   { background: var(--route-feedback-tint);   color: var(--route-feedback-deep); }
.i360-mockup-tag.t-done::before { background: var(--route-feedback-deep); }
.i360-mockup-tag.t-active { background: var(--route-activation-tint); color: var(--route-activation-deep); }
.i360-mockup-tag.t-active::before { background: var(--route-activation-deep); }
.i360-mockup-tag.t-pending{ background: var(--route-overload-tint);   color: var(--route-overload-deep); }
.i360-mockup-tag.t-pending::before { background: var(--route-overload-deep); }
.i360-mockup-tag.t-private{ background: var(--route-private-tint);    color: var(--route-private-deep); }
.i360-mockup-tag.t-private::before { background: var(--route-private-deep); }
.i360-mockup-tag.t-cycle  { background: var(--route-immersion-tint);  color: var(--route-immersion-deep); }
.i360-mockup-tag.t-cycle::before { background: var(--route-immersion-deep); }

/* Avatar with gradient ring */
.i360-mockup-avatar {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.i360-mockup-avatar .ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: var(--i360-grad);
  display: inline-flex; align-items: center; justify-content: center;
}
.i360-mockup-avatar .ring > span {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #fff;
  color: var(--i360-blue-600);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .i360-mockup-avatar .ring > span { background: #0F1B5E; color: #fff; }
.i360-mockup-avatar .name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--i360-ink-900);
  font-size: 14.5px;
}
.i360-mockup-avatar .meta {
  color: var(--i360-ink-500);
  font-size: 12px;
}
[data-theme="dark"] .i360-mockup-avatar .name { color: #fff; }
[data-theme="dark"] .i360-mockup-avatar .meta { color: var(--i360-ink-300); }

/* Progress bar */
.i360-mockup-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--i360-ink-100);
  overflow: hidden;
  margin: 8px 0 4px;
  position: relative;
}
[data-theme="dark"] .i360-mockup-progress { background: rgba(255,255,255,.08); }
.i360-mockup-progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--i360-grad);
  background-size: 200% 100%;
  animation: i360-grad-shift 14s linear infinite;
}
.i360-mockup-progress-meta {
  display: flex; justify-content: space-between;
  font-size: 11.5px; color: var(--i360-ink-500);
  font-family: var(--font-display);
}
[data-theme="dark"] .i360-mockup-progress-meta { color: var(--i360-ink-300); }

/* Cycle chip — rests on top-right of mockup card */
.i360-mockup-chip-cycle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .04em;
}
.i360-mockup-chip-cycle::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
}
.i360-mockup-chip-cycle.c-immersion {
  background: var(--route-immersion-tint);
  color: var(--route-immersion-deep);
}
.i360-mockup-chip-cycle.c-activation {
  background: var(--route-activation-tint);
  color: var(--route-activation-deep);
}
.i360-mockup-chip-cycle.c-social {
  background: var(--route-social-tint);
  color: var(--route-social-deep);
}
.i360-mockup-chip-cycle.c-immersion::before { background: var(--route-immersion-deep); }
.i360-mockup-chip-cycle.c-activation::before { background: var(--route-activation-deep); }
.i360-mockup-chip-cycle.c-social::before { background: var(--route-social-deep); }

/* Streak / mini stat row */
.i360-mockup-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.i360-mockup-stat {
  background: rgba(74,107,255,.06);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.i360-mockup-stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  background: var(--i360-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.i360-mockup-stat span {
  display: block;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--i360-ink-500);
  font-family: var(--font-display);
  margin-top: 2px;
}
[data-theme="dark"] .i360-mockup-stat { background: rgba(43,230,224,.08); }
[data-theme="dark"] .i360-mockup-stat span { color: var(--i360-ink-300); }

/* ============================================================
   5. Section heads + eyebrow
   ============================================================ */
.section-head { text-align: center; max-width: 780px; margin: 0 auto var(--sp-8); }
.section-head .lead { margin-top: var(--sp-3); }

/* ============================================================
   6. Cards genéricas con borde gradiente + hover liquid lift
   ============================================================ */
.i360-cards-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  margin-top: var(--sp-8);
}
@media (min-width: 720px)  { .i360-cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .i360-cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px)  { .i360-cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.i360-card {
  --card-bg: #fff;
  position: relative;
  background-color: transparent;
  background-image:
    linear-gradient(var(--card-bg), var(--card-bg)),
    linear-gradient(120deg, #2BE6E0 0%, #4A6BFF 45%, #B14CFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand), border-color .28s var(--ease-brand);
  isolation: isolate;
  overflow: hidden;
}
.i360-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(74,107,255,.10), transparent 65%);
  opacity: 0;
  transition: opacity .25s var(--ease-brand);
  pointer-events: none;
  z-index: -1;
}
.i360-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.i360-card:hover::after { opacity: 1; }
.i360-card:active { transform: translateY(-2px) scale(.998); }

.i360-card h3 { margin: 0 0 var(--sp-2); color: var(--i360-ink-900); }
.i360-card p  { margin: 0; color: var(--i360-ink-500); line-height: 1.55; }
[data-theme="dark"] .i360-card { --card-bg: rgba(15,20,42,0.72); }
[data-theme="dark"] .i360-card h3 { color: #fff; }
[data-theme="dark"] .i360-card p  { color: var(--i360-ink-300); }

.i360-card-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--i360-grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--sp-3);
  box-shadow: var(--glow-blue);
}

/* Card icon (inline SVG) — circular tinted background */
.i360-card-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(74,107,255,0.10);
  color: var(--i360-blue-600);
  margin-bottom: var(--sp-3);
  transition: var(--transition-fast);
}
.i360-card-icon svg { width: 22px; height: 22px; }
.i360-card:hover .i360-card-icon { transform: scale(1.06); }

/* Color variants for cards (route color-coded) */
.i360-card[data-route="immersion"]  { --card-tint: var(--route-immersion-tint);  --card-line: var(--route-immersion-deep); }
.i360-card[data-route="activation"] { --card-tint: var(--route-activation-tint); --card-line: var(--route-activation-deep); }
.i360-card[data-route="social"]     { --card-tint: var(--route-social-tint);     --card-line: var(--route-social-deep); }
.i360-card[data-route="private"]    { --card-tint: var(--route-private-tint);    --card-line: var(--route-private-deep); }
.i360-card[data-route="reallife"]   { --card-tint: var(--route-reallife-tint);   --card-line: var(--route-reallife-deep); }
.i360-card[data-route="overload"]   { --card-tint: var(--route-overload-tint);   --card-line: var(--route-overload-deep); }
.i360-card[data-route="feedback"]   { --card-tint: var(--route-feedback-tint);   --card-line: var(--route-feedback-deep); }

.i360-card[data-route] .i360-card-icon {
  background: var(--card-tint);
  color: var(--card-line);
}

/* ============================================================
   7. Mi Espacio 360 — sección destacada
   ============================================================ */
.i360-mi-espacio { position: relative; padding-block: var(--sp-12); }
.i360-mi-espacio-head { max-width: 880px; margin: 0 auto var(--sp-8); text-align: center; }
.i360-mi-espacio-grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .i360-mi-espacio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .i360-mi-espacio-grid { grid-template-columns: repeat(4, 1fr); } }

.i360-feature-pill {
  position: relative;
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(10,19,64,0.06);
  box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease-liquid), box-shadow .25s var(--ease-brand), border-color .25s var(--ease-brand);
}
.i360-feature-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(74,107,255,.30);
  box-shadow: 0 16px 36px rgba(74,107,255,.18);
}
.i360-feature-pill h4 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: 15.5px; font-weight: 700;
  color: var(--i360-ink-900);
}
.i360-feature-pill h4 .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--i360-grad);
  box-shadow: var(--glow-blue);
  flex-shrink: 0;
}
.i360-feature-pill p { margin: 0; color: var(--i360-ink-500); font-size: 13.5px; line-height: 1.55; }

[data-theme="dark"] .i360-feature-pill {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .i360-feature-pill h4 { color: #fff; }
[data-theme="dark"] .i360-feature-pill p  { color: var(--i360-ink-300); }

.i360-feature-pill[data-route="immersion"]  h4 .dot { background: var(--route-immersion-deep); box-shadow: 0 0 12px var(--route-immersion-line); }
.i360-feature-pill[data-route="activation"] h4 .dot { background: var(--route-activation-deep); box-shadow: 0 0 12px var(--route-activation-line); }
.i360-feature-pill[data-route="social"]     h4 .dot { background: var(--route-social-deep); box-shadow: 0 0 12px var(--route-social-line); }
.i360-feature-pill[data-route="private"]    h4 .dot { background: var(--route-private-deep); box-shadow: 0 0 12px var(--route-private-line); }
.i360-feature-pill[data-route="reallife"]   h4 .dot { background: var(--route-reallife-deep); box-shadow: 0 0 12px var(--route-reallife-line); }
.i360-feature-pill[data-route="overload"]   h4 .dot { background: var(--route-overload-deep); box-shadow: 0 0 12px var(--route-overload-line); }
.i360-feature-pill[data-route="feedback"]   h4 .dot { background: var(--route-feedback-deep); box-shadow: 0 0 12px var(--route-feedback-line); }

/* ----------  Mi Espacio 360 dashboard mockup wrapper ---------- */
.i360-mi-espacio-mockup {
  margin: var(--sp-8) auto 0;
  width: min(100% - 32px, 920px);
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.65));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 24px 60px rgba(10,19,64,.18);
  position: relative;
  overflow: hidden;
}
.i360-mi-espacio-mockup::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--i360-grad);
  background-size: 200% 100%;
  animation: i360-grad-shift 22s linear infinite;
}
[data-theme="dark"] .i360-mi-espacio-mockup {
  background: linear-gradient(160deg, rgba(15,20,42,.82), rgba(15,20,42,.55));
  border-color: rgba(43,230,224,0.22);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.i360-mi-espacio-mockup-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .i360-mi-espacio-mockup-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* ============================================================
   8. Cómo funciona — steps
   ============================================================ */
.i360-steps {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 980px) { .i360-steps.cols-5 { grid-template-columns: repeat(5, 1fr); } }
.i360-step {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--i360-ink-200);
  padding: var(--sp-6);
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand), border-color .28s var(--ease-brand);
}
.i360-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -14px; left: 18px;
  background: var(--i360-grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--glow-blue);
}
.i360-step h3 { margin: 0 0 var(--sp-2); color: var(--i360-ink-900); font-size: 18px; }
.i360-step p  { margin: 0; color: var(--i360-ink-500); font-size: 14px; line-height: 1.55; }
.i360-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(74,107,255,0.35);
}
[data-theme="dark"] .i360-step { background: rgba(15,20,42,0.65); border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .i360-step h3 { color: #fff; }
[data-theme="dark"] .i360-step p  { color: var(--i360-ink-300); }

/* ============================================================
   9. Ciclos band — banda visual destacada
   ============================================================ */
.i360-cycles-band {
  position: relative;
  margin-top: var(--sp-12);
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(60% 80% at 0% 0%,   rgba(43,230,224,0.10), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(177,76,255,0.10), transparent 60%),
    rgba(255,255,255,0.65);
  border: 1px solid rgba(74,107,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    0 16px 48px rgba(74,107,255,.10);
  isolation: isolate;
  overflow: hidden;
}
.i360-cycles-band::before, .i360-cycles-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: var(--i360-grad);
  background-size: 200% 100%;
  animation: i360-grad-shift 14s linear infinite;
}
.i360-cycles-band::before { top: 0; }
.i360-cycles-band::after  { bottom: 0; }
[data-theme="dark"] .i360-cycles-band {
  background:
    radial-gradient(60% 80% at 0% 0%,   rgba(43,230,224,0.12), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(177,76,255,0.12), transparent 60%),
    rgba(15,20,42,0.55);
  border-color: rgba(43,230,224,0.22);
  box-shadow:
    inset 0 1px 0 rgba(43,230,224,.18),
    0 16px 48px rgba(0,0,0,.45);
}

.i360-cycles-band-head { text-align: center; max-width: 760px; margin: 0 auto var(--sp-6); }
.i360-cycles-band-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(74,107,255,0.20);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--i360-blue-600);
  margin: 0 auto var(--sp-3);
}
.i360-cycles-band-head .eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--i360-grad);
  box-shadow: var(--glow-blue);
}
[data-theme="dark"] .i360-cycles-band-head .eyebrow {
  background: rgba(15,20,42,0.6);
  border-color: rgba(43,230,224,0.30);
  color: var(--i360-cyan-400);
}
.i360-cycles-band-head h2 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-3);
}
.i360-cycles-band-head h2 em {
  font-style: normal;
  background: var(--i360-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.i360-cycles-band-head p {
  color: var(--i360-ink-700);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  margin: 0;
}
[data-theme="dark"] .i360-cycles-band-head p { color: var(--i360-ink-300); }

.i360-cycles { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 980px) { .i360-cycles { grid-template-columns: repeat(3, 1fr); } }

.i360-cycle {
  position: relative;
  background: rgba(15,20,42,0.78);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s var(--ease-liquid), box-shadow .28s var(--ease-brand), border-color .28s var(--ease-brand);
}
.i360-cycle::before {
  content: "";
  position: absolute; inset: -1px -1px auto -1px;
  height: 4px;
}
.i360-cycle[data-cycle="immersion"]::before  { background: linear-gradient(90deg, var(--route-immersion-line), var(--route-immersion-deep)); }
.i360-cycle[data-cycle="activation"]::before { background: linear-gradient(90deg, var(--route-activation-line), var(--route-activation-deep)); }
.i360-cycle[data-cycle="social"]::before     { background: linear-gradient(90deg, var(--route-social-line), var(--route-social-deep)); }

.i360-cycle:hover {
  transform: translateY(-4px);
  border-color: rgba(43,230,224,0.30);
  box-shadow: 0 22px 48px rgba(0,0,0,.45), 0 0 24px rgba(43,230,224,.18);
}

.i360-cycle-meta {
  display: inline-flex;
  align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
}
.i360-cycle[data-cycle="immersion"]  .i360-cycle-meta { background: rgba(43,230,224,0.16);  color: var(--route-immersion-line); }
.i360-cycle[data-cycle="activation"] .i360-cycle-meta { background: rgba(106,133,255,0.18); color: var(--route-activation-line); }
.i360-cycle[data-cycle="social"]     .i360-cycle-meta { background: rgba(196,112,255,0.18); color: var(--route-social-line); }
.i360-cycle-meta .icon { width: 12px; height: 12px; display: inline-block; }

.i360-cycle h3 { color: #fff; margin: 0 0 var(--sp-3); font-size: 22px; }
.i360-cycle p  { color: var(--i360-ink-300); margin: 0; line-height: 1.55; }
.i360-cycle .num {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  background: var(--i360-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}

/* ============================================================
  10. Comparación — Otros vs Inglés 360
   ============================================================ */
.i360-vs { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: var(--sp-8); }
@media (min-width: 880px) { .i360-vs { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.i360-vs-col {
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  border: 1px solid var(--i360-ink-200);
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand);
}
.i360-vs-col:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.i360-vs-col.is-old  { color: var(--i360-ink-500); }
.i360-vs-col.is-new  {
  background-color: transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(120deg, #2BE6E0 0%, #4A6BFF 45%, #B14CFF 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 16px 36px rgba(74,107,255,.12);
}
.i360-vs-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.i360-vs-col.is-old .i360-vs-tag { color: var(--i360-ink-500); background: var(--i360-ink-100); }
.i360-vs-col.is-new .i360-vs-tag { color: #fff; background: var(--i360-grad); box-shadow: var(--glow-blue); }
.i360-vs-col h3 { margin: 0 0 var(--sp-3); }
.i360-vs-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.i360-vs-col li {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--i360-paper);
  font-size: 14px;
  line-height: 1.5;
  display: flex; align-items: flex-start; gap: 8px;
}
.i360-vs-col.is-old li::before { content: "·"; color: var(--i360-ink-400); font-size: 18px; line-height: 1; }
.i360-vs-col.is-new li { background: rgba(74,107,255,0.06); color: var(--i360-ink-900); }
.i360-vs-col.is-new li::before { content: "✓"; color: var(--route-feedback-deep); font-weight: 700; }
[data-theme="dark"] .i360-vs-col       { background: rgba(15,20,42,0.65); border-color: rgba(255,255,255,0.10); color: var(--i360-ink-300); }
[data-theme="dark"] .i360-vs-col.is-new {
  background-image: linear-gradient(rgba(15,20,42,0.85), rgba(15,20,42,0.85)), linear-gradient(120deg,#2BE6E0,#4A6BFF,#B14CFF);
}
[data-theme="dark"] .i360-vs-col li      { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .i360-vs-col.is-new li { background: rgba(43,230,224,0.08); color: #fff; }

/* ============================================================
  11. FAQ accordion
   ============================================================ */
.i360-faq { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }
.i360-faq details {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(10,19,64,0.06);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow-1);
  transition: transform .22s var(--ease-liquid), border-color .25s var(--ease-brand), box-shadow .25s var(--ease-brand);
}
.i360-faq details:hover { transform: translateY(-2px); border-color: rgba(74,107,255,.20); }
.i360-faq details[open] {
  border-color: rgba(74,107,255,0.32);
  box-shadow: 0 14px 30px rgba(74,107,255,.16);
}
.i360-faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--i360-ink-900);
}
.i360-faq summary::-webkit-details-marker { display: none; }
.i360-faq summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--i360-blue-600);
  transition: transform .25s var(--ease-liquid);
}
.i360-faq details[open] summary::after { content: "−"; }
.i360-faq p { margin: 10px 0 0; color: var(--i360-ink-500); line-height: 1.6; }
[data-theme="dark"] .i360-faq details { background: rgba(15,20,42,0.70); border-color: rgba(255,255,255,0.10); }
[data-theme="dark"] .i360-faq summary  { color: #fff; }
[data-theme="dark"] .i360-faq summary::after { color: var(--i360-cyan-400); }
[data-theme="dark"] .i360-faq p        { color: var(--i360-ink-300); }
[data-theme="dark"] .i360-faq details[open] { border-color: rgba(43,230,224,0.45); box-shadow: 0 0 24px rgba(43,230,224,.32); }

/* ============================================================
  12. Final CTA
   ============================================================ */
.i360-final-cta-wrap { padding-block: var(--sp-12); }
.i360-final-cta {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, rgba(43,230,224,.10), rgba(74,107,255,.10), rgba(177,76,255,.12));
  border: 1px solid rgba(74,107,255,.18);
  border-radius: var(--radius-2xl);
  padding: var(--sp-12) var(--sp-6);
  isolation: isolate;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 18px 48px rgba(74,107,255,.10);
}
.i360-final-cta::before {
  content: "";
  position: absolute; inset: -50% -10%;
  background:
    radial-gradient(40% 40% at 30% 30%, rgba(43,230,224,.18), transparent 60%),
    radial-gradient(40% 40% at 70% 70%, rgba(177,76,255,.18), transparent 60%);
  z-index: -1;
}
.i360-final-cta h2 { margin: 0 0 var(--sp-3); }
.i360-final-cta .lead { max-width: 640px; margin: 0 auto var(--sp-6); }
.i360-final-cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.i360-final-cta-micro { margin-top: var(--sp-6); font-size: 13px; color: var(--i360-ink-500); }
[data-theme="dark"] .i360-final-cta {
  background: linear-gradient(135deg, rgba(43,230,224,.10), rgba(177,76,255,.14));
  border-color: rgba(43,230,224,0.22);
  box-shadow: inset 0 1px 0 rgba(43,230,224,.18), 0 18px 48px rgba(0,0,0,.55);
}
[data-theme="dark"] .i360-final-cta-micro { color: var(--i360-ink-300); }

/* ============================================================
  13. Comunidad — quote + signature
   ============================================================ */
.i360-quote-block { text-align: center; max-width: 880px; margin: 0 auto; padding-block: var(--sp-12); }
.i360-quote-block p.quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.35;
  color: var(--i360-ink-900);
  text-wrap: balance;
}
.i360-quote-block p.quote em {
  font-style: normal;
  background: var(--i360-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.i360-quote-block .sig {
  margin-top: var(--sp-5);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 38px;
  color: var(--i360-magenta-500);
  line-height: 1;
}
[data-theme="dark"] .i360-quote-block p.quote { color: #fff; }

/* ============================================================
  14. Footer (dark)
   ============================================================ */
.i360-footer {
  background: linear-gradient(180deg, var(--i360-navy-900) 0%, #060A22 100%);
  color: var(--i360-ink-300);
  padding-block: var(--sp-12) var(--sp-8);
  position: relative;
  overflow: hidden;
}
.i360-footer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 50% at 10% 0%, rgba(43,230,224,0.10), transparent 70%),
    radial-gradient(50% 50% at 90% 100%, rgba(177,76,255,0.10), transparent 70%);
  pointer-events: none;
}
.i360-footer-grid {
  position: relative;
  display: grid; gap: var(--sp-8);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .i360-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.i360-footer-brand { display: flex; flex-direction: column; gap: var(--sp-3); }
.i360-footer-brand .logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.i360-footer-brand .logo img { height: 32px; }
.i360-footer-brand p {
  color: var(--i360-ink-300);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.i360-footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--sp-4);
}
.i360-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.i360-footer a {
  color: var(--i360-ink-300);
  font-size: 14px;
  transition: color .2s var(--ease-brand);
}
.i360-footer a:hover { color: var(--i360-cyan-400); }

.i360-footer-bottom {
  position: relative;
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  align-items: center; justify-content: space-between;
  font-size: 13px;
  color: var(--i360-ink-400);
}

/* ============================================================
  15. Section paddings + variants
   ============================================================ */
.section { padding-block: var(--sp-12); }
@media (min-width: 768px)  { .section { padding-block: 80px; } }
@media (min-width: 1024px) { .section { padding-block: 96px; } }

.section-dark {
  background:
    radial-gradient(70% 55% at 10% 0%, rgba(43,230,224,0.10), transparent 60%),
    radial-gradient(70% 55% at 90% 100%, rgba(177,76,255,0.10), transparent 60%),
    linear-gradient(180deg, #0A1340 0%, #060A22 100%);
  color: #fff;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p, .section-dark li { color: var(--i360-ink-300); }
.section-dark .eyebrow { color: var(--i360-cyan-400); }

/* ============================================================
  16. RUTAS 360 — learner self-identification cards
   ============================================================ */
.i360-rutas {
  display: grid; gap: var(--sp-4);
  grid-template-columns: 1fr;
  margin-top: var(--sp-8);
}
@media (min-width: 720px)  { .i360-rutas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .i360-rutas { grid-template-columns: repeat(3, 1fr); } }

.i360-ruta {
  position: relative;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  border: 1px solid rgba(10,19,64,0.06);
  box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand), border-color .28s var(--ease-brand);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}
.i360-ruta::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--ruta-line, var(--i360-blue-500));
  border-radius: 6px 0 0 6px;
}
.i360-ruta:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(74,107,255,.30);
}

.i360-ruta-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--ruta-tint, rgba(74,107,255,.12));
  color: var(--ruta-deep, var(--i360-blue-600));
  margin-bottom: var(--sp-3);
}
.i360-ruta-icon svg { width: 24px; height: 24px; }

.i360-ruta h3 {
  margin: 0 0 var(--sp-2);
  color: var(--i360-ink-900);
  font-size: 18px;
  line-height: 1.25;
}
.i360-ruta p {
  margin: 0 0 var(--sp-4);
  color: var(--i360-ink-500);
  font-size: 14px;
  line-height: 1.55;
}
.i360-ruta-badge {
  display: inline-flex;
  align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ruta-tint, rgba(74,107,255,.10));
  color: var(--ruta-deep, var(--i360-blue-600));
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .04em;
}
.i360-ruta-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ruta-deep, var(--i360-blue-600));
}

[data-theme="dark"] .i360-ruta { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.10); }
[data-theme="dark"] .i360-ruta h3 { color: #fff; }
[data-theme="dark"] .i360-ruta p  { color: var(--i360-ink-300); }

/* Ruta variants */
.i360-ruta[data-route="activation"]  { --ruta-line: var(--route-activation-deep); --ruta-tint: var(--route-activation-tint); --ruta-deep: var(--route-activation-deep); }
.i360-ruta[data-route="reallife"]    { --ruta-line: var(--route-reallife-deep);   --ruta-tint: var(--route-reallife-tint);   --ruta-deep: var(--route-reallife-deep); }
.i360-ruta[data-route="overload"]    { --ruta-line: var(--route-overload-deep);   --ruta-tint: var(--route-overload-tint);   --ruta-deep: var(--route-overload-deep); }
.i360-ruta[data-route="intermediate"]{ --ruta-line: var(--route-social-deep);     --ruta-tint: rgba(177,76,255,0.10);        --ruta-deep: var(--route-social-deep); }
.i360-ruta[data-route="private"]     { --ruta-line: var(--route-private-deep);    --ruta-tint: var(--route-private-tint);    --ruta-deep: var(--route-private-deep); }
.i360-ruta[data-route="social"]      { --ruta-line: var(--route-social-deep);     --ruta-tint: var(--route-social-tint);     --ruta-deep: var(--route-social-deep); }

/* Route options (3 paths) */
.i360-route-options {
  display: grid; gap: var(--sp-4);
  grid-template-columns: 1fr;
  margin-top: var(--sp-8);
}
@media (min-width: 880px) { .i360-route-options { grid-template-columns: repeat(3, 1fr); } }

.i360-route-option {
  position: relative;
  padding: var(--sp-6);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(74,107,255,.18);
  box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand);
  text-align: center;
}
.i360-route-option:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.i360-route-option .icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--i360-grad);
  color: #fff;
  margin-bottom: var(--sp-3);
  box-shadow: var(--glow-blue);
}
.i360-route-option .icon svg { width: 24px; height: 24px; }
.i360-route-option h3 {
  margin: 0 0 var(--sp-2);
  color: var(--i360-ink-900);
  font-size: 18px;
}
.i360-route-option p {
  margin: 0;
  color: var(--i360-ink-500);
  font-size: 14px;
  line-height: 1.55;
}
[data-theme="dark"] .i360-route-option {
  background: linear-gradient(160deg, rgba(15,20,42,.85), rgba(15,20,42,.55));
  border-color: rgba(43,230,224,0.22);
}
[data-theme="dark"] .i360-route-option h3 { color: #fff; }
[data-theme="dark"] .i360-route-option p  { color: var(--i360-ink-300); }

/* SVG defs pos sticky */
.i360-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ============================================================
  17. Hero → siguiente sección · transición fluida (Visual Rev 4)
   ============================================================ */
.i360-hero { padding-block: 96px 56px; }
.i360-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 120px;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(74,107,255,0.10), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.55) 70%, #FFFFFF 100%);
  z-index: 0;
}
[data-theme="dark"] .i360-hero::after {
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(43,230,224,0.10), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(6,10,34,0.55) 70%, #060A22 100%);
}
.i360-hero-content, .i360-hero-mockup { position: relative; z-index: 2; }

/* Section after hero pulls slightly up to overlap the bridge */
.i360-hero + .section { margin-top: -32px; padding-top: 64px; }

/* ============================================================
  18. Page hero (internal pages) — glass panel + visual motif slot
   ============================================================ */
.i360-page-hero {
  position: relative;
  padding-block: 88px 64px;
  isolation: isolate;
  overflow: hidden;
}
.i360-page-hero::before {
  content: "";
  position: absolute; inset: -10% -5% 30% -5%;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 8% 0%,  var(--page-hero-tint-1, rgba(43,230,224,0.18)), transparent 65%),
    radial-gradient(60% 50% at 100% 0%, var(--page-hero-tint-2, rgba(177,76,255,0.18)), transparent 65%);
  pointer-events: none;
}
.i360-page-hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}
@media (min-width: 880px) {
  .i360-page-hero-grid { grid-template-columns: 1.15fr 1fr; }
}
.i360-page-hero-content { text-align: left; }
.i360-page-hero-content .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(74,107,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-bottom: var(--sp-4); }
.i360-page-hero-content .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--i360-grad); box-shadow: 0 0 10px rgba(74,107,255,.6); }
[data-theme="dark"] .i360-page-hero-content .eyebrow { background: rgba(15,20,42,0.6); border-color: rgba(43,230,224,0.30); }
.i360-page-hero-content h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
  color: var(--i360-ink-900);
}
.i360-page-hero-content h1 em { font-style: normal; background: var(--i360-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .i360-page-hero-content h1 { color: #fff; }
.i360-page-hero-content p.lead {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--i360-ink-700);
  margin: 0 0 var(--sp-5);
  max-width: 560px;
}
[data-theme="dark"] .i360-page-hero-content p.lead { color: var(--i360-ink-300); }

.i360-page-hero-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  padding: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.62));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 28px 70px rgba(10,19,64,.18);
  overflow: hidden;
  isolation: isolate;
}
.i360-page-hero-visual::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--i360-grad);
  background-size: 200% 100%;
  animation: i360-grad-shift 22s linear infinite;
}
[data-theme="dark"] .i360-page-hero-visual {
  background: linear-gradient(160deg, rgba(15,20,42,.85), rgba(15,20,42,.55));
  border-color: rgba(43,230,224,0.22);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
}

/* Per-page hero color tints */
.i360-page-hero[data-page="como-funciona"]    { --page-hero-tint-1: rgba(43,230,224,0.20);  --page-hero-tint-2: rgba(74,107,255,0.18); }
.i360-page-hero[data-page="mi-espacio"]       { --page-hero-tint-1: rgba(74,107,255,0.20);  --page-hero-tint-2: rgba(177,76,255,0.18); }
.i360-page-hero[data-page="comunidad"]        { --page-hero-tint-1: rgba(177,76,255,0.20);  --page-hero-tint-2: rgba(255,95,168,0.18); }
.i360-page-hero[data-page="biblioteca"]       { --page-hero-tint-1: rgba(43,230,224,0.18);  --page-hero-tint-2: rgba(43,189,224,0.20); }
.i360-page-hero[data-page="sobre-alba"]       { --page-hero-tint-1: rgba(177,76,255,0.18);  --page-hero-tint-2: rgba(74,107,255,0.20); }
.i360-page-hero[data-page="faq"]              { --page-hero-tint-1: rgba(74,107,255,0.18);  --page-hero-tint-2: rgba(43,230,224,0.18); }
.i360-page-hero[data-page="empieza-aqui"]     { --page-hero-tint-1: rgba(43,230,224,0.22);  --page-hero-tint-2: rgba(177,76,255,0.20); }

/* ============================================================
  19. Photo / Image slots (intentional placeholders)
   ============================================================ */
.i360-photo-slot,
.i360-founder-photo-slot,
.i360-platform-shot-slot,
.i360-phone-mockup-slot,
.i360-community-photo-slot,
.i360-library-visual-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(43,230,224,0.16), transparent 70%),
    radial-gradient(60% 60% at 70% 70%, rgba(177,76,255,0.16), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
  border: 1px dashed rgba(74,107,255,.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  color: var(--i360-ink-500);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  min-height: 220px;
  isolation: isolate;
  /* Default ratio so empty slot keeps shape */
  aspect-ratio: 4 / 3;
}
.i360-photo-slot::before,
.i360-founder-photo-slot::before,
.i360-platform-shot-slot::before,
.i360-phone-mockup-slot::before,
.i360-community-photo-slot::before,
.i360-library-visual-slot::before {
  content: "";
  position: absolute; inset: 12px;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(74,107,255,0.10);
  pointer-events: none;
}
.i360-photo-slot[data-shape="square"]   { aspect-ratio: 1 / 1; }
.i360-photo-slot[data-shape="portrait"] { aspect-ratio: 3 / 4; }
.i360-photo-slot[data-shape="phone"]    { aspect-ratio: 9 / 18; max-height: 460px; }
.i360-photo-slot[data-shape="wide"]     { aspect-ratio: 16 / 9; }
[data-theme="dark"] .i360-photo-slot,
[data-theme="dark"] .i360-founder-photo-slot,
[data-theme="dark"] .i360-platform-shot-slot,
[data-theme="dark"] .i360-phone-mockup-slot,
[data-theme="dark"] .i360-community-photo-slot,
[data-theme="dark"] .i360-library-visual-slot {
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(43,230,224,0.14), transparent 70%),
    radial-gradient(60% 60% at 70% 70%, rgba(177,76,255,0.14), transparent 70%),
    linear-gradient(160deg, rgba(15,20,42,.85), rgba(15,20,42,.55));
  border-color: rgba(43,230,224,.32);
  color: var(--i360-ink-300);
  box-shadow: inset 0 1px 0 rgba(43,230,224,.18);
}
[data-theme="dark"] .i360-photo-slot::before { border-color: rgba(43,230,224,.18); }

.i360-photo-slot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.i360-photo-slot-icon {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(74,107,255,0.10);
  color: var(--i360-blue-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.i360-photo-slot-icon svg { width: 24px; height: 24px; }
[data-theme="dark"] .i360-photo-slot-icon { background: rgba(43,230,224,0.14); color: var(--i360-cyan-400); }

/* ============================================================
  20. Swipe row — horizontal scroll-snap (mobile), grid (desktop)
   ============================================================ */
.i360-swipe-row {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 16px 28px;
  margin: 0 -16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  position: relative;
}
.i360-swipe-row > * {
  flex: 0 0 auto;
  width: clamp(280px, 82vw, 360px);
  scroll-snap-align: start;
}
.i360-swipe-row::-webkit-scrollbar { height: 6px; }
.i360-swipe-row::-webkit-scrollbar-thumb { background: rgba(74,107,255,.30); border-radius: 999px; }
[data-theme="dark"] .i360-swipe-row::-webkit-scrollbar-thumb { background: rgba(43,230,224,.30); }

/* Visual cue: "→ Desliza" hint floating bottom-right on mobile */
.i360-swipe-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--i360-blue-600);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(74,107,255,.10);
  width: fit-content;
  margin: 0 16px 12px auto;
  animation: i360-swipe-hint-bob 2.4s ease-in-out infinite;
}
.i360-swipe-hint::after {
  content: "→";
  display: inline-block;
  animation: i360-swipe-hint-arrow 2.4s ease-in-out infinite;
}
@keyframes i360-swipe-hint-bob { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes i360-swipe-hint-arrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
[data-theme="dark"] .i360-swipe-hint { color: var(--i360-cyan-400); background: rgba(43,230,224,.12); }
@media (min-width: 880px) {
  /* On desktop the swipe row becomes a grid */
  .i360-swipe-row {
    overflow: visible;
    scroll-snap-type: none;
    padding: 4px 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .i360-swipe-row > * { width: auto; }
  .i360-swipe-hint { display: none; }
}

/* ============================================================
  21. Rutas 360 — checklist + cycle badge inside cards (Visual Rev 4)
   ============================================================ */
.i360-ruta-checklist {
  display: grid;
  gap: 6px;
  margin: 0 0 var(--sp-4);
  list-style: none;
  padding: 0;
}
.i360-ruta-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--i360-ink-700);
}
.i360-ruta-checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 999px;
  background: var(--ruta-tint, rgba(74,107,255,.12));
  color: var(--ruta-deep, var(--i360-blue-600));
  font-size: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
[data-theme="dark"] .i360-ruta-checklist li { color: var(--i360-ink-300); }

.i360-ruta-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: var(--sp-3);
}
.i360-ruta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  background: var(--ruta-tint, rgba(74,107,255,.10));
  color: var(--ruta-deep, var(--i360-blue-600));
}
.i360-ruta-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ruta-deep, var(--i360-blue-600)); }
.i360-ruta-pill.cycle-immersion  { background: var(--route-immersion-tint);  color: var(--route-immersion-deep); }
.i360-ruta-pill.cycle-immersion::before  { background: var(--route-immersion-deep); }
.i360-ruta-pill.cycle-activation { background: var(--route-activation-tint); color: var(--route-activation-deep); }
.i360-ruta-pill.cycle-activation::before { background: var(--route-activation-deep); }
.i360-ruta-pill.cycle-social     { background: var(--route-social-tint);     color: var(--route-social-deep); }
.i360-ruta-pill.cycle-social::before     { background: var(--route-social-deep); }

/* Adjust .i360-ruta padding/visual now that there's more content */
.i360-ruta { padding-block: var(--sp-6) var(--sp-5); }
.i360-ruta h3 { font-size: 17px; }

/* ============================================================
  22. Visual motif: content-type mini cards (used in biblioteca hero)
   ============================================================ */
.i360-motif-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
.i360-motif-card {
  background: rgba(255,255,255,0.92);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(10,19,64,0.06);
  display: flex; flex-direction: column; gap: 6px;
}
.i360-motif-card .icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--motif-tint, rgba(74,107,255,.10));
  color: var(--motif-deep, var(--i360-blue-600));
  display: inline-flex; align-items: center; justify-content: center;
}
.i360-motif-card .icon svg { width: 16px; height: 16px; }
.i360-motif-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--i360-ink-900);
}
.i360-motif-card p {
  margin: 0;
  font-size: 11.5px;
  color: var(--i360-ink-500);
  line-height: 1.4;
}
[data-theme="dark"] .i360-motif-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.10); }
[data-theme="dark"] .i360-motif-card h4 { color: #fff; }
[data-theme="dark"] .i360-motif-card p  { color: var(--i360-ink-300); }
.i360-motif-card[data-route="immersion"]  { --motif-tint: var(--route-immersion-tint);  --motif-deep: var(--route-immersion-deep); }
.i360-motif-card[data-route="activation"] { --motif-tint: var(--route-activation-tint); --motif-deep: var(--route-activation-deep); }
.i360-motif-card[data-route="social"]     { --motif-tint: var(--route-social-tint);     --motif-deep: var(--route-social-deep); }
.i360-motif-card[data-route="reallife"]   { --motif-tint: var(--route-reallife-tint);   --motif-deep: var(--route-reallife-deep); }
.i360-motif-card[data-route="overload"]   { --motif-tint: var(--route-overload-tint);   --motif-deep: var(--route-overload-deep); }
.i360-motif-card[data-route="feedback"]   { --motif-tint: var(--route-feedback-tint);   --motif-deep: var(--route-feedback-deep); }
.i360-motif-card[data-route="private"]    { --motif-tint: var(--route-private-tint);    --motif-deep: var(--route-private-deep); }

/* ============================================================
  23. Founder photo slot — circular variant for Sobre Alba hero
   ============================================================ */
.i360-founder-photo-slot { aspect-ratio: 1 / 1; min-height: 320px; }

/* Signature handwritten under founder slot */
.i360-founder-sig {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 32px;
  background: var(--i360-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-top: 14px;
  text-align: center;
}

/* ============================================================
  ====  VISUAL REVISION 5 OVERRIDES  ====
   ============================================================ */

/* --- Mobile: hide top CTA + ensure hamburger visible --- */
@media (max-width: 1079px) {
  .i360-nav .i360-btn-gradient { display: none; }
  /* nav-actions only contains: theme toggle + hamburger on mobile */
}
/* Hamburger explicit breakpoint (Visual Rev 5 spec):
   - Visible: ≤ 1079px (tablet + phone)
   - Hidden: ≥ 1080px (desktop)
   Sits inside .i360-nav-actions next to the toggle.
   To test in browser dev tools: device toolbar → set width ≤ 1079px. */

/* --- Sticky nav: ensure smooth, no layout jump --- */
.i360-nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 50;
  transition: top .25s var(--ease-liquid);
}
/* Sticky nav: subtle compaction on scroll (CSS-only via container queries fallback to fixed top) */
@media (min-width: 768px) {
  .i360-nav-wrap { top: 14px; }
}

/* --- Profile slot avatar (replaces plain "A" letter avatar) --- */
.i360-mockup-avatar .ring > .profile-slot,
.i360-mockup-avatar .profile-slot {
  width: 100%; height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(43,230,224,0.20), rgba(177,76,255,0.20));
  color: var(--i360-blue-600);
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 1px dashed rgba(74,107,255,0.30);
}
.i360-mockup-avatar .profile-slot svg { width: 56%; height: 56%; }
[data-theme="dark"] .i360-mockup-avatar .profile-slot {
  background: linear-gradient(160deg, rgba(43,230,224,0.18), rgba(177,76,255,0.18));
  color: var(--i360-cyan-400);
  border-color: rgba(43,230,224,0.30);
}

/* --- Bigger nav link size (Visual Rev 5 — readability) --- */
.i360-nav-links a {
  font-size: 14.5px;
  font-weight: 600;
}

/* --- Footer redesign: transparent flow, center copyright, hide right tag --- */
.i360-footer {
  background: transparent !important;  /* No more hard navy block */
  color: var(--i360-ink-700);
  padding-block: var(--sp-12) var(--sp-8);
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}
.i360-footer::before {
  /* Subtle glass scrim at top edge for separation, not a hard cut */
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,107,255,0.20), transparent);
  pointer-events: none;
}
[data-theme="dark"] .i360-footer { color: var(--i360-ink-300); }
[data-theme="dark"] .i360-footer::before {
  background: linear-gradient(90deg, transparent, rgba(43,230,224,0.30), transparent);
}
.i360-footer-brand .logo { color: var(--i360-ink-900); }
[data-theme="dark"] .i360-footer-brand .logo { color: #fff; }
.i360-footer-brand p { color: var(--i360-ink-700); }
[data-theme="dark"] .i360-footer-brand p { color: var(--i360-ink-300); }
.i360-footer h4 { color: var(--i360-ink-900); }
[data-theme="dark"] .i360-footer h4 { color: #fff; }
.i360-footer a { color: var(--i360-ink-700); }
.i360-footer a:hover { color: var(--i360-blue-600); }
[data-theme="dark"] .i360-footer a { color: var(--i360-ink-300); }
[data-theme="dark"] .i360-footer a:hover { color: var(--i360-cyan-400); }
.i360-footer-bottom {
  border-top: 1px solid rgba(10,19,64,0.08);
  justify-content: center !important;
  text-align: center;
}
[data-theme="dark"] .i360-footer-bottom { border-top-color: rgba(255,255,255,0.10); }
.i360-footer-bottom .tag { display: none !important; }  /* Hide right "Hecho con..." tag */
.i360-footer-bottom .copyright { margin: 0 auto; text-align: center; }

/* --- Progress bar: explicit horizontal animation (Visual Rev 5 spec) --- */
.i360-mockup-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--i360-ink-100);
  overflow: hidden;
  margin: 8px 0 4px;
  position: relative;
  transform-origin: left center;
}
.i360-mockup-progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--i360-grad);
  background-size: 200% 100%;
  animation: i360-grad-shift 14s linear infinite, i360-progress-fill .9s var(--ease-liquid) both;
  transform-origin: left center;
}
@keyframes i360-progress-fill {
  from { width: 0; }
}
[data-theme="dark"] .i360-mockup-progress { background: rgba(255,255,255,.08); }

/* --- Hover liquid universal touch: every interactive card subtly lifts --- */
.i360-card,
.i360-feature-pill,
.i360-cycle,
.i360-step,
.i360-vs-col,
.i360-faq details,
.i360-ruta,
.i360-route-option,
.i360-mockup-card,
.i360-motif-card {
  transition:
    transform .25s var(--ease-liquid),
    box-shadow .28s var(--ease-brand),
    border-color .28s var(--ease-brand),
    background-color .28s var(--ease-brand);
}
.i360-card:hover, .i360-feature-pill:hover, .i360-cycle:hover, .i360-step:hover,
.i360-vs-col:hover, .i360-ruta:hover, .i360-route-option:hover, .i360-motif-card:hover {
  transform: translateY(-4px);
}

/* --- Cycles cards: stronger contrast in light mode (route color accents) --- */
.i360-cycle {
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(10,19,64,0.08);
  color: var(--i360-ink-900);
  box-shadow: 0 12px 32px rgba(10,19,64,0.10), inset 0 1px 0 rgba(255,255,255,.85);
}
.i360-cycle h3 { color: var(--i360-ink-900); }
.i360-cycle p  { color: var(--i360-ink-700); }
.i360-cycle .num { opacity: .55; }
.i360-cycle[data-cycle="immersion"]  { box-shadow: 0 12px 32px rgba(43,230,224,0.20), inset 0 1px 0 rgba(255,255,255,.85); border-color: rgba(43,230,224,0.30); }
.i360-cycle[data-cycle="activation"] { box-shadow: 0 12px 32px rgba(74,107,255,0.20), inset 0 1px 0 rgba(255,255,255,.85); border-color: rgba(74,107,255,0.30); }
.i360-cycle[data-cycle="social"]     { box-shadow: 0 12px 32px rgba(177,76,255,0.20), inset 0 1px 0 rgba(255,255,255,.85); border-color: rgba(177,76,255,0.30); }
[data-theme="dark"] .i360-cycle {
  background: linear-gradient(160deg, rgba(15,20,42,0.78), rgba(15,20,42,0.55));
  border-color: rgba(255,255,255,0.10);
  color: #fff;
  box-shadow: 0 22px 48px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
}
[data-theme="dark"] .i360-cycle h3 { color: #fff; }
[data-theme="dark"] .i360-cycle p  { color: var(--i360-ink-300); }
.i360-cycle:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(74,107,255,0.30), 0 0 28px rgba(177,76,255,.18);
}
.i360-cycle[data-cycle="immersion"]:hover  { box-shadow: 0 22px 48px rgba(43,230,224,0.32), 0 0 32px rgba(43,230,224,.20); }
.i360-cycle[data-cycle="activation"]:hover { box-shadow: 0 22px 48px rgba(74,107,255,0.32), 0 0 32px rgba(74,107,255,.20); }
.i360-cycle[data-cycle="social"]:hover     { box-shadow: 0 22px 48px rgba(177,76,255,0.32), 0 0 32px rgba(177,76,255,.20); }

/* --- Mi Espacio feature pills: better contrast both modes --- */
.i360-feature-pill {
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82));
  border: 1px solid rgba(74,107,255,0.16);
  color: var(--i360-ink-900);
}
.i360-feature-pill h4 { color: var(--i360-ink-900); }
.i360-feature-pill p  { color: var(--i360-ink-700); font-size: 14.5px; }
[data-theme="dark"] .i360-feature-pill {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-color: rgba(43,230,224,0.18);
}
[data-theme="dark"] .i360-feature-pill h4 { color: #fff; }
[data-theme="dark"] .i360-feature-pill p  { color: var(--i360-ink-300); }

/* --- Mockup cards: more glass + better light mode contrast --- */
.i360-mockup-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(255,255,255,0.86));
  border: 1px solid rgba(10,19,64,0.08);
  color: var(--i360-ink-900);
}
.i360-mockup-card h3 { color: var(--i360-ink-900); }
.i360-mockup-row { color: var(--i360-ink-900); }
[data-theme="dark"] .i360-mockup-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-color: rgba(43,230,224,0.18);
  color: var(--i360-ink-300);
}
[data-theme="dark"] .i360-mockup-card h3 { color: #fff; }
[data-theme="dark"] .i360-mockup-row { color: var(--i360-ink-300); }

/* --- Comunidad page light mode: enforce text contrast in Comunidad section --- */
.section-dark .i360-card { color: var(--i360-ink-900); }
.section-dark .i360-card h3 { color: var(--i360-ink-900); }
.section-dark .i360-card p  { color: var(--i360-ink-700); }
[data-theme="dark"] .section-dark .i360-card { color: var(--i360-ink-300); }
[data-theme="dark"] .section-dark .i360-card h3 { color: #fff; }

/* --- Sobre Alba mobile composition improvement --- */
@media (max-width: 879px) {
  .i360-page-hero[data-page="sobre-alba"] .i360-page-hero-grid {
    grid-template-columns: 1fr;
  }
  .i360-page-hero[data-page="sobre-alba"] .i360-founder-photo-slot {
    min-height: 280px;
    margin: 0 auto;
    max-width: 320px;
  }
  .i360-founder-sig { font-size: 30px; }
}

/* --- Liquid extra hover for CTA buttons (subtle shimmer) --- */
.i360-btn-gradient {
  overflow: hidden;
}
.i360-btn-gradient::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 30%;
  left: -40%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.32) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left .8s var(--ease-liquid);
  pointer-events: none;
  z-index: 2;
}
.i360-btn-gradient:hover::after { left: 130%; }

/* --- Bigger card body / tag font sizes for readability --- */
.i360-card p { font-size: 14.5px; line-height: 1.6; }
.i360-card h3 { font-size: 18px; line-height: 1.3; }
.i360-mockup-row { font-size: 14px; }
.i360-mockup-eyebrow { font-size: 11px; letter-spacing: .14em; }

/* --- Section divider helper: a soft fade band between major sections --- */
.i360-divider-fade {
  height: 80px;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(74,107,255,0.04) 50%, transparent 100%);
  pointer-events: none;
}
[data-theme="dark"] .i360-divider-fade {
  background: linear-gradient(180deg, transparent 0%, rgba(43,230,224,0.05) 50%, transparent 100%);
}

/* ============================================================
  ====  MILESTONE 2 — NO-CODE EDITING LAYER (additive only)  ====
  Block styles registered via functions.php expose these "looks"
  in Gutenberg → Block → Estilos. Each style adds .is-style-{slug}.
  Also: safe utility classes for Block → Avanzado → Clases CSS adicionales.
   ============================================================ */

/* ----------  GROUP / CONTAINER block styles  ---------- */
.wp-block-group.is-style-liquid-glass {
  border-radius: var(--radius-2xl);
  padding: var(--sp-6);
  background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(255,255,255,0.65));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 24px 60px rgba(10,19,64,.18), inset 0 1px 0 rgba(255,255,255,.85);
}
[data-theme="dark"] .wp-block-group.is-style-liquid-glass {
  background: linear-gradient(160deg, rgba(15,20,42,.82), rgba(15,20,42,.55));
  border-color: rgba(43,230,224,0.22);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(43,230,224,.18);
}

.wp-block-group.is-style-soft-glass {
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(74,107,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
[data-theme="dark"] .wp-block-group.is-style-soft-glass {
  background: rgba(15,20,42,0.55);
  border-color: rgba(43,230,224,0.18);
  box-shadow: inset 0 1px 0 rgba(43,230,224,.10);
}

.wp-block-group.is-style-glow-section {
  position: relative;
  isolation: isolate;
  padding: var(--sp-12) var(--sp-6);
}
.wp-block-group.is-style-glow-section::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 0% 0%,   rgba(43,230,224,0.10), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(177,76,255,0.10), transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.wp-block-group.is-style-product-showcase {
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(255,255,255,0.72));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 28px 70px rgba(10,19,64,.18);
  position: relative;
  overflow: hidden;
}
.wp-block-group.is-style-product-showcase::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--i360-grad);
  background-size: 200% 100%;
  animation: i360-grad-shift 22s linear infinite;
}
[data-theme="dark"] .wp-block-group.is-style-product-showcase {
  background: linear-gradient(160deg, rgba(15,20,42,.85), rgba(15,20,42,.55));
  border-color: rgba(43,230,224,0.22);
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
}

.wp-block-group.is-style-section-bridge {
  position: relative;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(74,107,255,0.05) 50%, transparent 100%);
  pointer-events: none;
}
[data-theme="dark"] .wp-block-group.is-style-section-bridge {
  background: linear-gradient(180deg, transparent 0%, rgba(43,230,224,0.05) 50%, transparent 100%);
}

/* Swipe row group style — opt-in horizontal scroll on inner blocks */
.wp-block-group.is-style-swipe-row > .wp-block-group__inner-container,
.wp-block-group.is-style-swipe-row {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 16px 28px;
  -webkit-overflow-scrolling: touch;
}
.wp-block-group.is-style-swipe-row > * {
  flex: 0 0 auto;
  width: clamp(280px, 82vw, 360px);
  scroll-snap-align: start;
}
@media (min-width: 880px) {
  .wp-block-group.is-style-swipe-row {
    overflow: visible;
    scroll-snap-type: none;
    padding: 4px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .wp-block-group.is-style-swipe-row > * { width: auto; }
}

.wp-block-group.is-style-page-bg-glow {
  position: relative;
  isolation: isolate;
}
.wp-block-group.is-style-page-bg-glow::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 6% -8%,   rgba(43,230,224,0.18) 0%, transparent 60%),
    radial-gradient(60% 50% at 96% -4%,  rgba(177,76,255,0.16) 0%, transparent 62%);
  pointer-events: none;
}

.wp-block-group.is-style-editable-bg-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  padding: var(--sp-12) var(--sp-6);
}
.wp-block-group.is-style-editable-bg-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,10,34,0.20), rgba(6,10,34,0.55));
  z-index: -1;
  pointer-events: none;
}

/* ----------  CARD block styles (apply on Group / Columns / Column) ---------- */
.wp-block-group.is-style-liquid-card,
.wp-block-columns.is-style-liquid-card,
.wp-block-column.is-style-liquid-card {
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78));
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(74,107,255,0.16);
  box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand), border-color .28s var(--ease-brand);
}
[data-theme="dark"] .wp-block-group.is-style-liquid-card,
[data-theme="dark"] .wp-block-columns.is-style-liquid-card,
[data-theme="dark"] .wp-block-column.is-style-liquid-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-color: rgba(43,230,224,0.18);
}
.wp-block-group.is-style-liquid-card:hover,
.wp-block-columns.is-style-liquid-card:hover,
.wp-block-column.is-style-liquid-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.wp-block-group.is-style-glow-card,
.wp-block-columns.is-style-glow-card,
.wp-block-column.is-style-glow-card {
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  background: #fff;
  border: 1.5px solid transparent;
  background-image:
    linear-gradient(#fff,#fff),
    linear-gradient(120deg,#2BE6E0,#4A6BFF,#B14CFF);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand);
}
[data-theme="dark"] .wp-block-group.is-style-glow-card {
  background-image:
    linear-gradient(rgba(15,20,42,0.85), rgba(15,20,42,0.85)),
    linear-gradient(120deg,#2BE6E0,#4A6BFF,#B14CFF);
}
.wp-block-group.is-style-glow-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.wp-block-group.is-style-icon-card { padding: var(--sp-5); border-radius: var(--radius-md); }
.wp-block-group.is-style-icon-card .wp-block-image { width: 44px; height: 44px; }

.wp-block-group.is-style-product-mockup-card {
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(10,19,64,0.06);
  box-shadow: 0 6px 16px rgba(10,19,64,0.06);
}
[data-theme="dark"] .wp-block-group.is-style-product-mockup-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.wp-block-group.is-style-profile-photo-card {
  text-align: center;
  padding: var(--sp-6);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(74,107,255,0.14);
}

.wp-block-group.is-style-route-card { border-radius: var(--radius-xl); padding: var(--sp-6); border: 1px solid rgba(74,107,255,0.16); position: relative; overflow: hidden; }
.wp-block-group.is-style-route-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--i360-grad); }

.wp-block-group.is-style-cycle-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78));
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(10,19,64,0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
}
.wp-block-group.is-style-cycle-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--i360-grad);
}

/* ----------  BUTTON block styles  ---------- */
.wp-block-button.is-style-liquid-gradient .wp-block-button__link {
  background: var(--i360-grad) !important;
  background-size: 180% 180% !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  padding: 13px 26px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -10px 24px rgba(255,255,255,.18),
    0 10px 24px rgba(74,107,255,.32),
    0 4px 10px rgba(177,76,255,.18);
  text-shadow: 0 1px 2px rgba(10,19,64,.18);
  border: 0;
  transition: transform .18s var(--ease-liquid), box-shadow .25s var(--ease-brand), filter .25s var(--ease-brand);
}
.wp-block-button.is-style-liquid-gradient .wp-block-button__link:hover {
  background-position: 100% 50% !important;
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.wp-block-button.is-style-glass .wp-block-button__link {
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  backdrop-filter: blur(20px) saturate(1.7);
  background: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(74,107,255,0.18) !important;
  color: var(--i360-blue-600) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 18px rgba(10,19,64,.08);
}
[data-theme="dark"] .wp-block-button.is-style-glass .wp-block-button__link {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(43,230,224,0.20) !important;
  color: var(--i360-cyan-400) !important;
}

.wp-block-button.is-style-soft-outline .wp-block-button__link {
  background: transparent !important;
  border: 1.5px solid rgba(74,107,255,0.3) !important;
  color: var(--i360-blue-600) !important;
  border-radius: 999px !important;
}

.wp-block-button.is-style-glow-cta .wp-block-button__link {
  background: var(--i360-grad) !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  box-shadow: 0 0 0 0 rgba(74,107,255,.45), 0 12px 30px rgba(74,107,255,.32);
  animation: i360-cta-pulse 2.4s ease-in-out infinite;
}
@keyframes i360-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,107,255,.45), 0 12px 30px rgba(74,107,255,.32); }
  50%      { box-shadow: 0 0 0 10px rgba(74,107,255,0), 0 16px 38px rgba(177,76,255,.40); }
}

/* ----------  HEADING / PARAGRAPH block styles  ---------- */
.is-style-gradient-heading,
.is-style-gradient-heading * {
  background: var(--i360-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.is-style-premium-heading {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.is-style-soft-highlight {
  position: relative;
  display: inline;
  background-image: linear-gradient(transparent 60%, rgba(43,230,224,0.30) 60%);
  background-repeat: no-repeat;
  padding: 0 4px;
}

/* ----------  IMAGE block styles  ---------- */
.wp-block-image.is-style-founder-photo-frame img {
  border-radius: var(--radius-2xl);
  border: 1.5px solid transparent;
  background-image: linear-gradient(#fff,#fff), linear-gradient(120deg,#2BE6E0,#4A6BFF,#B14CFF);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 20px 50px rgba(10,19,64,.18);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.wp-block-image.is-style-profile-avatar-circle img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid transparent;
  background-image: linear-gradient(#fff,#fff), var(--i360-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 2px;
}

.wp-block-image.is-style-phone-mockup-frame img {
  border-radius: 28px;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(10,19,64,.22), inset 0 0 0 6px rgba(15,20,42,.85);
  max-height: 600px;
}

.wp-block-image.is-style-platform-screenshot-frame img {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(10,19,64,0.08);
  box-shadow: 0 24px 60px rgba(10,19,64,.18);
  object-fit: cover;
}

.wp-block-image.is-style-community-photo-frame img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.05);
  box-shadow: 0 14px 36px rgba(10,19,64,.14);
}

.wp-block-image.is-style-library-visual-frame img {
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(10,19,64,.12);
}

.wp-block-image.is-style-background-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.wp-block-image.is-style-soft-glass-frame img {
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 8px;
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 14px 36px rgba(10,19,64,.10);
}

.wp-block-image.is-style-gradient-border-frame img {
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  background-image: linear-gradient(#fff,#fff), var(--i360-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 2px;
}

.wp-block-image.is-style-floating-photo-card {
  position: relative;
}
.wp-block-image.is-style-floating-photo-card img {
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(74,107,255,.20), 0 12px 24px rgba(177,76,255,.12);
  transition: transform .35s var(--ease-liquid);
}
.wp-block-image.is-style-floating-photo-card:hover img { transform: translateY(-4px) rotate(-1deg); }

.wp-block-image.is-style-avatar-ring img {
  border-radius: 50%;
  padding: 3px;
  background: var(--i360-grad);
  box-shadow: var(--glow-blue);
}

.wp-block-image.is-style-hover-zoom { overflow: hidden; border-radius: var(--radius-lg); }
.wp-block-image.is-style-hover-zoom img { transition: transform .55s var(--ease-liquid); }
.wp-block-image.is-style-hover-zoom:hover img { transform: scale(1.06); }

.wp-block-image.is-style-liquid-shine { position: relative; overflow: hidden; }
.wp-block-image.is-style-liquid-shine::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -40%; width: 40%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.30) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left .9s var(--ease-liquid);
  pointer-events: none;
}
.wp-block-image.is-style-liquid-shine:hover::after { left: 130%; }

.wp-block-image.is-style-background-glow { position: relative; }
.wp-block-image.is-style-background-glow::before {
  content: "";
  position: absolute; inset: -8%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(74,107,255,.30), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* ----------  COVER block styles (background image controls)  ---------- */
.wp-block-cover.is-style-soft-overlay::before {
  background: linear-gradient(180deg, rgba(6,10,34,0.20), rgba(6,10,34,0.55)) !important;
}
.wp-block-cover.is-style-gradient-overlay::before {
  background: linear-gradient(135deg, rgba(43,230,224,.55), rgba(74,107,255,.55), rgba(177,76,255,.55)) !important;
  mix-blend-mode: multiply;
}
.wp-block-cover.is-style-glass-wash::before {
  background: rgba(255,255,255,0.45) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
[data-theme="dark"] .wp-block-cover.is-style-glass-wash::before {
  background: rgba(15,20,42,0.55) !important;
}

/* ============================================================
  SAFE UTILITY CLASSES — apply via Block → Avanzado → Clases CSS
   ============================================================ */

/* Photo / image / background SLOTS (placeholders for later replacement) */
.i360-photo-slot, .i360-founder-photo-slot, .i360-platform-shot-slot,
.i360-phone-mockup-slot, .i360-community-photo-slot, .i360-library-visual-slot,
.i360-profile-avatar-slot, .i360-video-slot,
.i360-bg-image-slot, .i360-page-bg-slot, .i360-hero-bg-slot, .i360-section-bg-slot, .i360-footer-bg-slot {
  position: relative;
  display: flex;
  align-items: center; justify-content: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(43,230,224,0.16), transparent 70%),
    radial-gradient(60% 60% at 70% 70%, rgba(177,76,255,0.16), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
  border: 1px dashed rgba(74,107,255,.30);
  color: var(--i360-ink-500);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  min-height: 220px;
  isolation: isolate;
}
.i360-profile-avatar-slot { aspect-ratio: 1 / 1; min-height: 120px; border-radius: 50%; }
.i360-video-slot { aspect-ratio: 16 / 9; }
.i360-bg-image-slot, .i360-page-bg-slot, .i360-hero-bg-slot,
.i360-section-bg-slot, .i360-footer-bg-slot {
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(74,107,255,.10);
  border-bottom: 1px solid rgba(74,107,255,.10);
  min-height: 280px;
}

[data-theme="dark"] .i360-photo-slot,
[data-theme="dark"] .i360-founder-photo-slot,
[data-theme="dark"] .i360-platform-shot-slot,
[data-theme="dark"] .i360-phone-mockup-slot,
[data-theme="dark"] .i360-community-photo-slot,
[data-theme="dark"] .i360-library-visual-slot,
[data-theme="dark"] .i360-profile-avatar-slot,
[data-theme="dark"] .i360-video-slot,
[data-theme="dark"] .i360-bg-image-slot,
[data-theme="dark"] .i360-page-bg-slot,
[data-theme="dark"] .i360-hero-bg-slot,
[data-theme="dark"] .i360-section-bg-slot,
[data-theme="dark"] .i360-footer-bg-slot {
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(43,230,224,0.14), transparent 70%),
    radial-gradient(60% 60% at 70% 70%, rgba(177,76,255,0.14), transparent 70%),
    linear-gradient(160deg, rgba(15,20,42,.85), rgba(15,20,42,.55));
  border-color: rgba(43,230,224,.32);
  color: var(--i360-ink-300);
}

/* Background overlay/glow helpers (apply to a wrapping group with relative position) */
.i360-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,10,34,0.20), rgba(6,10,34,0.55));
  pointer-events: none;
  z-index: 0;
}
.i360-bg-glow-layer {
  position: absolute; inset: -10% -5%;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(43,230,224,0.16), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(177,76,255,0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}
.i360-editable-bg {
  position: relative;
  isolation: isolate;
}

/* Hover / interaction utility classes */
.i360-hover-lift { transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand); }
.i360-hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.i360-liquid-shine { position: relative; overflow: hidden; }
.i360-liquid-shine::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -40%;
  width: 40%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.32) 50%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left .9s var(--ease-liquid);
}
.i360-liquid-shine:hover::before { left: 130%; }

.i360-reveal-soft {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease-liquid), transform .6s var(--ease-liquid);
}
.i360-reveal-soft.is-visible,
.i360-reveal-soft:focus-within { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .i360-reveal-soft { opacity: 1; transform: none; transition: none; }
  .wp-block-button.is-style-glow-cta .wp-block-button__link { animation: none; }
}

/* Phone mockup decorative wrapper (for non-image content like a glass card representing a phone screen) */
.i360-phone-mockup-frame {
  border-radius: 28px;
  padding: 12px;
  background: #0F1B5E;
  box-shadow: 0 30px 70px rgba(10,19,64,.22);
  max-width: 320px;
  margin: 0 auto;
}
.i360-phone-mockup-frame > * {
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

/* Video preview frame with play button */
.i360-video-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, rgba(15,20,42,0.85), rgba(74,107,255,0.55));
  display: flex; align-items: center; justify-content: center;
}
.i360-video-frame::before {
  content: "▶";
  width: 72px; height: 72px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: #fff;
  background: var(--i360-grad);
  box-shadow: var(--glow-blue);
}

/* Parallax-ready class (CSS-only — JS can opt-in later) */
.i360-parallax-bg {
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
}
@media (prefers-reduced-motion: reduce) {
  .i360-parallax-bg { background-attachment: scroll; }
}

/* Background image safety overlay (use with .i360-editable-bg wrapper that has bg image) */
.i360-bg-tint-light::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.85));
  pointer-events: none;
  z-index: 0;
}
.i360-bg-tint-dark::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,10,34,0.45), rgba(6,10,34,0.75));
  pointer-events: none;
  z-index: 0;
}
.i360-bg-glass-wash::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}
.i360-editable-bg > * { position: relative; z-index: 1; }

/* Soft pulse badge (small chip indicator) */
.i360-pulse-badge {
  display: inline-flex;
  align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  background: var(--i360-grad);
  color: #fff;
  animation: i360-cta-pulse 2.4s ease-in-out infinite;
}

/* Background animation utility (very subtle drift) */
.i360-bg-animate-drift {
  background-size: 200% 200% !important;
  animation: i360-bg-drift 18s ease-in-out infinite alternate;
}
@keyframes i360-bg-drift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .i360-bg-animate-drift { animation: none; }
}

/* ============================================================
   ===  MILESTONE 2B — Standalone aliases for safe utility classes  ===
   These let you apply premium "looks" by typing ONLY the class name
   in Block → Avanzado → Clases CSS adicionales — independent of
   the block type. They mirror the corresponding .is-style-* rules.
   ============================================================ */

/* Liquid Card alias */
.i360-liquid-card {
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78));
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(74,107,255,0.16);
  box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand), border-color .28s var(--ease-brand);
}
[data-theme="dark"] .i360-liquid-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-color: rgba(43,230,224,0.18);
}
.i360-liquid-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

/* Glow Card alias */
.i360-glow-card {
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  background-image:
    linear-gradient(#fff,#fff),
    linear-gradient(120deg,#2BE6E0,#4A6BFF,#B14CFF);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease-liquid), box-shadow .28s var(--ease-brand);
}
[data-theme="dark"] .i360-glow-card {
  background-image:
    linear-gradient(rgba(15,20,42,0.85), rgba(15,20,42,0.85)),
    linear-gradient(120deg,#2BE6E0,#4A6BFF,#B14CFF);
}
.i360-glow-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }

/* Soft Glass alias */
.i360-soft-glass {
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(74,107,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
[data-theme="dark"] .i360-soft-glass {
  background: rgba(15,20,42,0.55);
  border-color: rgba(43,230,224,0.18);
  box-shadow: inset 0 1px 0 rgba(43,230,224,.10);
}

/* Gradient Heading alias (apply directly to any heading) */
.i360-gradient-heading,
.i360-gradient-heading * {
  background: var(--i360-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* Liquid CTA alias (apply to a button/link wrapper) */
.i360-liquid-cta,
.i360-liquid-cta a,
.i360-liquid-cta .wp-block-button__link,
.i360-liquid-cta button {
  background: var(--i360-grad) !important;
  background-size: 180% 180% !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  padding: 13px 26px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(10,19,64,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -10px 24px rgba(255,255,255,.18),
    0 10px 24px rgba(74,107,255,.32),
    0 4px 10px rgba(177,76,255,.18);
  transition: transform .18s var(--ease-liquid), box-shadow .25s var(--ease-brand), filter .25s var(--ease-brand), background-position .35s var(--ease-liquid);
}
.i360-liquid-cta:hover,
.i360-liquid-cta a:hover,
.i360-liquid-cta .wp-block-button__link:hover,
.i360-liquid-cta button:hover {
  background-position: 100% 50% !important;
  filter: brightness(1.04);
  transform: translateY(-2px);
}

/* Section Bridge alias (decorative transition band) */
.i360-section-bridge {
  height: 80px;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(74,107,255,0.05) 50%, transparent 100%);
  pointer-events: none;
}
[data-theme="dark"] .i360-section-bridge {
  background: linear-gradient(180deg, transparent 0%, rgba(43,230,224,0.05) 50%, transparent 100%);
}
