/* =========================================================
   ULTRA DESK — Coming Soon
   Paleta anclada al material de marca existente:
   - Teal profundo de fondo (banner original)
   - Azul de marca (isotipo / wordmark)
   - Acentos tomados de los 10 cuadros del isotipo
   ========================================================= */

:root{
  --bg-0: #082e36;
  --bg-1: #0d4750;
  --bg-2: #0a3c44;
  --ink-0: #eef7f8;
  --ink-1: #b7d4d8;
  --ink-2: #7fa6ac;
  --brand-blue: #2e7bc4;
  --brand-blue-light: #5db7e8;
  --brand-blue-dark: #1f5c96;
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.18);

  --chip-red:#d12b2b;
  --chip-amber:#d99a1f;
  --chip-yellow:#e8c61b;
  --chip-green:#7ab648;
  --chip-darkred:#8c1f2b;
  --chip-skyblue:#5db7e8;
  --chip-darkgreen:#1d6b3a;
  --chip-blue:#2e7bc4;
  --chip-olive:#9a8a2c;

  --font-display: "Quicksand", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --radius: 14px;
  --maxw: 1180px;
}

*{ box-sizing: border-box; }
html{ min-height:100%; }
body{ min-height:100%; }

body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(46,123,196,0.20), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(93,183,232,0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
  color: var(--ink-0);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Disable selection/drag for brand assets feel + accidental nav cues */
img{ -webkit-user-drag:none; user-select:none; }

/* Subtle animated grid backdrop */
#bg-grid{
  position:fixed; inset:0; z-index:0;
  width:100%; height:100%;
  opacity:0.35;
  pointer-events:none;
}

.scanline{
  position:fixed; inset:0; z-index:1;
  pointer-events:none;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 2px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

.wrap{
  position:relative; z-index:2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 95px 28px 60px;
}

/* ---------- Top status bar ---------- */
.topbar{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  width: fit-content;
  margin-bottom: 38px;
}
.topbar-label em{ color: var(--brand-blue-light); font-style:normal; }
.dot{ width:9px; height:9px; border-radius:50%; display:inline-block; flex-shrink:0; }
.dot-red{ background: var(--chip-red); }
.dot-amber{ background: var(--chip-amber); }
.dot-green{ background: var(--chip-green); }

/* ---------- Brand ---------- */
.brand{ display:flex; justify-content:center; margin-bottom: 8px; }
.brand-logo{
  width: min(380px, 80vw);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 26px rgba(93,183,232,0.25));
}

/* ---------- Hero ---------- */
.hero{
  display:grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: start;
  margin-top: 28px;
}

.hero-left{
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-right{
  min-width: 320px;
  align-self: start;
  padding-top: 32px; /* Baja 22px respecto al navbar */
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brand-blue-light);
  margin: 0 0 14px;
}
.blink-cursor{
  display:inline-block;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink{ 50%{ opacity:0; } }

.headline{
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  max-width: 100%;
  overflow-wrap: anywhere;
  min-height: 1.15em;
}
.headline.headline-multiline{
  min-height: 3.25em; /* Espacio reservado para las 3 líneas del Home */
}
.headline .accent{
  color: var(--brand-blue-light);
}

.sub{
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-1);
  max-width: 46ch;
  margin: 0 0 30px;
  overflow-wrap: anywhere;
  min-height: 4.8em; /* Espacio reservado: evita saltos al escribir texto */
}

/* ---- Pills / Tags de servicios ---- */
.pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill{
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  color: var(--ink-1);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.pill:hover{
  border-color: var(--brand-blue-light);
  background: rgba(93,183,232,0.08);
  color: var(--brand-blue-light);
}

/* =========================================================
   CUBO 3D INTERACTIVO
   ========================================================= */
.hero-right{
  display:flex;
  justify-content:center;
  align-items:center;
  perspective: 900px;
}

.cube-wrapper{
  position:relative;
  width: 240px;
  height: 240px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.cube-wrapper:active{
  cursor: grabbing;
}

.cube-scene{
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeIdle 8s ease-in-out infinite;
  transition: none;
}

@keyframes cubeIdle{
  0%, 100%{ transform: rotateX(-12deg) rotateY(0deg); }
  50%{ transform: rotateX(-12deg) rotateY(8deg); }
}

.cube{
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
}

.cube-face{
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(8,46,54,0.55);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

/* Patrón de fondo sutil */
.cube-face::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(93,183,232,0.03) 0px,
      rgba(93,183,232,0.03) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(93,183,232,0.03) 0px,
      rgba(93,183,232,0.03) 1px,
      transparent 1px,
      transparent 18px
    );
  border-radius: 10px;
  pointer-events: none;
}

/* Icono con logo SVG */
.face-logo{
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 1;
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(93,183,232,0.15));
}

/* Nombre de la skill */
.face-label{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-0);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.2;
}

/* Descripción */
.face-desc{
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  text-align: center;
}

.cube-face:hover{
  border-color: rgba(93,183,232,0.4);
}

.cube-front  { transform: translateZ(120px); }
.cube-back   { transform: rotateY(180deg) translateZ(120px); }
.cube-right  { transform: rotateY(90deg) translateZ(120px); }
.cube-left   { transform: rotateY(-90deg) translateZ(120px); }
.cube-top    { transform: rotateX(90deg) translateZ(120px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(120px); }

.cube-glow{
  position: absolute;
  top: 50%; left: 50%;
  width: 340px; height: 340px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(93,183,232,0.07) 0%, transparent 65%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse{
  0%, 100%{ opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%{ opacity: 0.9; transform: translate(-50%, -50%) scale(1.05); }
}

.cube-hint{
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-2);
  opacity: 0.6;
  white-space: nowrap;
  letter-spacing: 0.04em;
  animation: hintFade 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hintFade{
  0%, 100%{ opacity: 0.4; }
  50%{ opacity: 0.8; }
}

/* ---------- Notify ---------- */
.notify{
  margin-top: 64px;
  display:flex;
  justify-content:center;
}
#notify-form{
  width: 100%;
  max-width: 460px;
  text-align:center;
}
.notify-label{
  display:block;
  font-size: 0.95rem;
  color: var(--ink-1);
  margin-bottom: 14px;
}
.notify-row{
  display:flex;
  gap: 10px;
}
#email{
  flex:1;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.05);
  color: var(--ink-0);
  font-family: var(--font-display);
  font-size: 0.95rem;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
#email::placeholder{ color: var(--ink-2); }
#email:focus{
  border-color: var(--brand-blue-light);
  background: rgba(255,255,255,0.08);
}
#notify-btn{
  flex-shrink:0;
  padding: 13px 22px;
  border-radius: 10px;
  border: none;
  background: var(--brand-blue);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease;
}
#notify-btn:hover{ background: var(--brand-blue-light); }
#notify-btn:active{ transform: scale(0.97); }
#notify-btn:focus-visible, #email:focus-visible{
  outline: 2px solid var(--brand-blue-light);
  outline-offset: 2px;
}
.notify-msg{
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--chip-green);
}
.notify-msg.is-error{ color: var(--chip-red); }

/* ---------- Footer ---------- */
.foot{
  margin-top: 70px;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 14px;
  text-align:center;
  color: var(--ink-2);
  font-size: 0.82rem;
}

.foot-social{
  display: flex;
  gap: 18px;
}

.social-link{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.social-link:hover{
  border-color: var(--brand-blue-light);
  color: var(--brand-blue-light);
  background: rgba(93,183,232,0.06);
}

.foot-mark{ width: 28px; height:auto; opacity:0.45; margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; gap: 48px; text-align:center; }
  .hero-left{ display:flex; flex-direction:column; align-items:center; }
  .sub{ max-width: 100%; }
  .pills{ justify-content:center; }
  .topbar{ font-size: 11px; }
  .cube-wrapper{ width: 200px; height: 200px; }
  .cube-face{ width: 200px; height: 200px; }
  .cube-front  { transform: translateZ(100px); }
  .cube-back   { transform: rotateY(180deg) translateZ(100px); }
  .cube-right  { transform: rotateY(90deg) translateZ(100px); }
  .cube-left   { transform: rotateY(-90deg) translateZ(100px); }
  .cube-top    { transform: rotateX(90deg) translateZ(100px); }
  .cube-bottom { transform: rotateX(-90deg) translateZ(100px); }
}

@media (max-width: 480px){
  .wrap{ padding: 85px 16px 40px; }
  .notify-row{ flex-direction:column; }
  #notify-btn{ width:100%; }
  .cube-wrapper{ width: 160px; height: 160px; }
  .cube-face{ width: 160px; height: 160px; }
  .face-logo{ width: 36px; height: 36px; }
  .face-label{ font-size: 0.85rem; }
  .cube-front  { transform: translateZ(80px); }
  .cube-back   { transform: rotateY(180deg) translateZ(80px); }
  .cube-right  { transform: rotateY(90deg) translateZ(80px); }
  .cube-left   { transform: rotateY(-90deg) translateZ(80px); }
  .cube-top    { transform: rotateX(90deg) translateZ(80px); }
  .cube-bottom { transform: rotateX(-90deg) translateZ(80px); }
}

/* =========================================================
   NAVEGACIÓN
   ========================================================= */
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 26, 34, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(93, 183, 232, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
  transform: translateY(0);
  transition: transform .28s ease, background .3s ease;
}

.navbar.navbar-hidden{
  transform: translateY(-105%);
}

.nav-container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand{
  display: flex;
  align-items: center;
}

.nav-logo{
  height: 48px;
  width: auto;
  transition: transform .2s ease;
}
.nav-logo:hover{
  transform: scale(1.03);
}

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  position: relative;
  z-index: 102;
}

.nav-toggle-line{
  width: 24px;
  height: 2px;
  background: var(--ink-0);
  transition: all 0.3s ease;
}

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

.nav-link{
  color: var(--ink-1);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover{
  color: var(--brand-blue-light);
}

.nav-link::after{
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-blue-light);
  transition: width 0.3s ease;
}

.nav-link:hover::after{
  width: 100%;
}

.nav-cta{
  background: var(--brand-blue);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover{
  background: var(--brand-blue-light);
}

.nav-cta::after{
  display: none;
}

/* =========================================================
   HERO CTA BUTTONS
   ========================================================= */
.hero-cta{
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-arrow{
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  transform: translateX(0);
  opacity: 1;
  width: auto;
  margin-left: 2px;
  transition: transform .25s ease, opacity .25s ease, width .25s ease, margin .25s ease;
  line-height: 1;
}

.btn:hover .btn-arrow{
  transform: translateX(10px);
  opacity: 0;
  width: 0;
  margin-left: 0;
}

.btn-primary{
  background: var(--brand-blue);
  color: white;
}

.btn-primary:hover{
  background: var(--brand-blue-light);
  transform: translateY(-2px);
}

.btn-secondary{
  background: rgba(255,255,255,0.08);
  color: var(--ink-0);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover{
  background: rgba(255,255,255,0.12);
  border-color: var(--brand-blue-light);
  transform: translateY(-2px);
}

.btn-full{
  width: 100%;
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */
.section{
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.section-header{
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brand-blue-light);
  margin: 0 0 14px;
}

.section-title{
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.section-sub{
  font-size: 1.05rem;
  color: var(--ink-1);
  max-width: 50ch;
  margin: 0 auto;
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.service-card:hover{
  border-color: var(--brand-blue-light);
  background: rgba(93,183,232,0.05);
  transform: translateY(-4px);
}

.service-icon{
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg{
  width: 48px;
  height: 48px;
}

.service-title{
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink-0);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.service-desc{
  font-size: 0.95rem;
  color: var(--ink-1);
  line-height: 1.6;
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}

.service-features{
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-features li{
  font-size: 0.85rem;
  color: var(--ink-2);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.service-features li::before{
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-blue-light);
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-content{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-paragraph{
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-1);
  margin-bottom: 20px;
}

.stats-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-item{
  text-align: center;
}

.stat-number{
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  line-height: 1;
}

.stat-label{
  font-size: 0.85rem;
  color: var(--ink-2);
  margin-top: 8px;
}

.tech-title{
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--ink-0);
}

.tech-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag{
  padding: 8px 16px;
  background: rgba(93,183,232,0.1);
  border: 1px solid rgba(93,183,232,0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tech-tag.hidden{
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.tech-tag.visible{
  opacity: 1;
  transform: scale(1);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-content{
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item{
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon{
  width: 48px;
  height: 48px;
  background: rgba(93,183,232,0.1);
  border: 1px solid rgba(93,183,232,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue-light);
  flex-shrink: 0;
}

.contact-details h4{
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink-0);
}

.contact-details p{
  font-size: 0.95rem;
  color: var(--ink-1);
  margin: 0;
}

.contact-form{
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

.form-group{
  margin-bottom: 20px;
}

.field-error{
  display: none;
  margin-top: 6px;
  color: var(--chip-red);
  font-size: 0.8rem;
}

.form-progress{
  display: none;
  height: 4px;
  margin: 12px 0 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.form-progress div{
  width: 0;
  height: 100%;
  background: var(--brand-blue-light);
  transition: width 0.3s ease;
}

.form-group label{
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-1);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea{
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.05);
  color: var(--ink-0);
  font-family: var(--font-display);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder{
  color: var(--ink-2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  border-color: var(--brand-blue-light);
  background: rgba(255,255,255,0.08);
}

.form-group select{
  cursor: pointer;
  color: var(--ink-0);
  background: rgba(255,255,255,0.05);
}

.form-group select:hover,
.form-group select:focus{
  border-color: var(--brand-blue-light);
  background-color: rgba(93,183,232,0.12);
  box-shadow: 0 0 0 3px rgba(93,183,232,0.12), 0 0 22px rgba(93,183,232,0.22);
}

.form-group select option{
  background: var(--bg-1);
  color: var(--ink-0);
}

.form-group select option:hover,
.form-group select option:checked{
  background: var(--brand-blue);
  color: var(--ink-0);
}

.form-group textarea{
  resize: vertical;
  min-height: 120px;
}

.form-msg{
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--chip-green);
}

.form-msg.is-error{
  color: var(--chip-red);
}

/* =========================================================
   RESPONSIVE - NAVBAR
   ========================================================= */
@media (max-width: 768px){
  .nav-toggle{
    display: flex;
  }

  .nav-menu{
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 101;
    background: rgba(8,46,54,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px 28px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.active{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-cta{
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   RESPONSIVE - SECTIONS
   ========================================================= */
@media (max-width: 900px){
  .about-content{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px){
  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  .section{
    padding: 60px 0;
  }

  .wrap{
    width:100%;
    max-width:100%;
    min-width:0;
    padding:85px 16px 40px;
  }

  .hero,
  .hero-left,
  .hero-right,
  .section,
  .section-header,
  .services-grid,
  .process-timeline,
  .ai-generator-wrapper{
    min-width:0;
    max-width:100%;
  }

  .headline{
    width:100%;
    font-size:clamp(1.85rem, 8vw, 2.35rem);
    line-height:1.12;
    letter-spacing:0;
  }

  .sub{
    width:100%;
    font-size:0.95rem;
    line-height:1.5;
  }

  .section-title{
    font-size:clamp(1.55rem, 7vw, 2rem);
    line-height:1.15;
    letter-spacing:0;
  }

  .section-sub{
    width:100%;
    font-size:0.92rem;
    line-height:1.5;
  }

  .topbar{
    width:100%;
    max-width:100%;
    flex-wrap:wrap;
    line-height:1.4;
  }

  .topbar-label{
    min-width:0;
    overflow-wrap:anywhere;
  }

  .services-grid{
    grid-template-columns: 1fr;
  }

  .form-row,
  .contact-form .form-row{
    grid-template-columns: 1fr;
  }

  .stats-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-cta{
    flex-direction: column;
  }

  .btn{
    width: 100%;
  }
}

/* =========================================================
   TYPEWRITER EFFECT (SIN SALTOS DE LAYOUT)
   ========================================================= */
.typewriter{
  display: inline;
  vertical-align: baseline;
  border-right: 2px solid var(--brand-blue-light);
  padding-right: 2px;
  animation: blink-caret 0.8s step-end infinite;
}

@keyframes blink-caret{
  from, to{ border-color: transparent; }
  50%{ border-color: var(--brand-blue-light); }
}

/* Para elementos multilínea (párrafos) */
.typewriter.multiline{
  display: block;
  white-space: normal;
  border-right: none;
  overflow: visible;
}

.typewriter.typewriter-done{
  border-right-color: transparent;
}

@media (max-width: 600px){
  .typewriter,
  .typewriter.multiline{
    width:100%;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    overflow:visible;
    border-right:none;
    animation:none;
  }
}

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.fade-in-up{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible{
  opacity: 1;
  transform: translateY(0);
}

/* El contenido principal debe ser usable desde el primer render. */
.hero .fade-in-up,
.hero .fade-in-left,
.hero .fade-in-right{
  opacity: 1;
  transform: none;
}

.fade-in-left{
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible{
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right{
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible{
  opacity: 1;
  transform: translateX(0);
}

.scale-in{
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible{
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for service cards */
.service-card:nth-child(1){ transition-delay: 0.1s; }
.service-card:nth-child(2){ transition-delay: 0.2s; }
.service-card:nth-child(3){ transition-delay: 0.3s; }
.service-card:nth-child(4){ transition-delay: 0.4s; }

/* Staggered delays for stats */
.stat-item:nth-child(1){ transition-delay: 0.1s; }
.stat-item:nth-child(2){ transition-delay: 0.2s; }
.stat-item:nth-child(3){ transition-delay: 0.3s; }

/* Staggered delays for tech tags */
.tech-tag:nth-child(1){ transition-delay: 0.05s; }
.tech-tag:nth-child(2){ transition-delay: 0.1s; }
.tech-tag:nth-child(3){ transition-delay: 0.15s; }
.tech-tag:nth-child(4){ transition-delay: 0.2s; }
.tech-tag:nth-child(5){ transition-delay: 0.25s; }
.tech-tag:nth-child(6){ transition-delay: 0.3s; }
.tech-tag:nth-child(7){ transition-delay: 0.35s; }
.tech-tag:nth-child(8){ transition-delay: 0.4s; }
.tech-tag:nth-child(9){ transition-delay: 0.45s; }
.tech-tag:nth-child(10){ transition-delay: 0.5s; }
.tech-tag:nth-child(11){ transition-delay: 0.55s; }
.tech-tag:nth-child(12){ transition-delay: 0.6s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .blink-cursor{ animation: none; }
  .cube-scene{ animation: none !important; transform: rotateX(-12deg) rotateY(0deg) !important; }
  .cube-glow{ animation: none; }
  *{ scroll-behavior: auto !important; }
  .service-card:hover{ transform: none; }
  .btn:hover{ transform: none; }
  .typewriter{ animation: none; border-right: none; }
  .fade-in-up, .fade-in-left, .fade-in-right, .scale-in{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   CODE BLOCK (Software Page)
   ========================================================= */
.code-block{
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(93,183,232,0.2);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.code-header{
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(93,183,232,0.1);
}

.code-dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.code-dot.red{ background: #ff5f56; }
.code-dot.yellow{ background: #ffbd2e; }
.code-dot.green{ background: #27c93f; }

.code-title{
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-2);
}

.code-content{
  padding: 20px;
  margin: 0;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-0);
  font-style: normal;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-align: left;
}

.code-content code,
.code-content span,
.code-content .code-line,
.code-content .code-comment {
  font-family: "Consolas", "Courier New", monospace !important;
  font-style: normal !important;
}

@media (max-width: 600px){
  .code-block{ width:100%; max-width:100%; }
  .code-header{ padding:10px 12px; }
  .code-content{ padding:12px; font-size:0.58rem; line-height:1.45; }
}

.code-keyword{ color: #c678dd; }
.code-variable{ color: #e06c75; }
.code-property{ color: #d19a66; }
.code-string{ color: #98c379; }
.code-function{ color: #61afef; }
.code-param{ color: #e5c07b; }

/* =========================================================
   CODE PILL BUTTONS (Hero Software)
   ========================================================= */
.code-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--ink-1);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.code-pill:hover {
  background: rgba(93, 183, 232, 0.12);
  border-color: var(--brand-blue-light);
  color: var(--brand-blue-light);
  transform: translateY(-2px);
}
.code-pill.is-active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 18px rgba(93, 183, 232, 0.4);
}

/* =========================================================
   PROCESS SECTION (DINÁMICO, EFECTO FLOTANTE DESDE ARRIBA)
   ========================================================= */
.process-section {
  position: relative;
  background: radial-gradient(circle at 20% 30%, rgba(13, 71, 80, 0.45) 0%, rgba(5, 18, 26, 0.96) 100%);
  border-top: 1px solid rgba(93, 183, 232, 0.18);
  border-bottom: 1px solid rgba(93, 183, 232, 0.18);
  overflow: hidden;
  padding: 90px 0;
}

.process-section::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(93, 183, 232, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.process-timeline {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 28px;
  margin-bottom: 24px;
  background: rgba(10, 32, 44, 0.7);
  border: 1px solid rgba(93, 183, 232, 0.24);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45), 0 0 1px rgba(93, 183, 232, 0.3) inset;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

.process-step:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--brand-blue-light);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 28px rgba(93, 183, 232, 0.25);
  background: rgba(13, 42, 58, 0.85);
}

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #5db7e8, #0d4750);
  border: 2px solid rgba(93, 183, 232, 0.6);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(93, 183, 232, 0.35);
  transition: transform 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.08) rotate(-4deg);
  border-color: #5db7e8;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--ink-1);
  line-height: 1.55;
  margin: 0;
}

/* =========================================================
   NUESTRO STACK — VITRINA INFINITA CONTINUA
   ========================================================= */
.tech-section {
  position: relative;
  background: transparent;
  border: none;
  overflow: hidden;
  padding: 40px 0;
}

.vitrina-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.vitrina-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: vitrinaScroll 34s linear infinite;
}

.vitrina-wrap:hover .vitrina-track {
  animation-play-state: paused;
}

@keyframes vitrinaScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.vitrina-card {
  width: 195px;
  flex-shrink: 0;
  background: rgba(10, 30, 40, 0.72);
  border: 1px solid rgba(93, 183, 232, 0.2);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.vitrina-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue-light);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 22px rgba(93, 183, 232, 0.28);
  background: rgba(14, 44, 58, 0.9);
}

.vitrina-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(93, 183, 232, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-blue-light);
}

.vitrina-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.vitrina-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-0);
  margin: 0;
}

.vitrina-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

/* =========================================================
   CTA SECTION CON FONDO DE CÓDIGO OSCURO Y OVERLAY
   ========================================================= */
.cta-section{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  padding: 80px 28px;
  background: url("../assets/cta_code_bg.jpg") center center / cover no-repeat;
  border: 1px solid rgba(93, 183, 232, 0.22);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55);
  margin: 40px 0 20px;
}

.cta-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 26, 34, 0.72) 0%, rgba(4, 16, 22, 0.78) 100%);
  backdrop-filter: blur(1px);
  z-index: 1;
}

.cta-content{
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin: 0 auto;
}

.cta-title{
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-sub{
  font-size: 1.05rem;
  color: var(--ink-1);
  line-height: 1.6;
  margin-bottom: 32px;
}

.btn-large{
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* =========================================================
   SERVICE LINK
   ========================================================= */
.service-link{
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--brand-blue-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover{
  color: var(--brand-blue-dark);
}

/* =========================================================
   NAV ACTIVE STATE
   ========================================================= */
.nav-link.active{
  color: var(--brand-blue-light);
}

/* =========================================================
   HARDWARE VISUAL
   ========================================================= */
.hardware-visual{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   BENEFITS SECTION
   ========================================================= */
.benefits-section{
  background: rgba(15,23,42,0.3);
}

.benefits-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card{
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(93,183,232,0.15);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(93,183,232,0.4);
  transform: translateY(-5px);
}

.benefit-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-title{
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 12px;
}

.benefit-desc{
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* =========================================================
   PLANS SECTION
   ========================================================= */
.plans-section{
  background: rgba(15,23,42,0.3);
}

.plans-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card{
  padding: 40px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(93,183,232,0.15);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(93,183,232,0.4);
  transform: translateY(-5px);
}

.plan-featured{
  border-color: var(--brand-blue-light);
  background: rgba(93,183,232,0.1);
}

.plan-badge{
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue-dark));
  color: var(--bg-0);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.plan-name{
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 16px;
}

.plan-price{
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  margin-bottom: 24px;
}

.plan-period{
  font-size: 1rem;
  color: var(--ink-2);
  font-weight: 400;
}

.plan-features{
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.plan-features li{
  padding: 10px 0;
  color: var(--ink-1);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(93,183,232,0.1);
}

.plan-features li:last-child{
  border-bottom: none;
}

.plan-excluded{
  color: var(--ink-3);
  text-decoration: line-through;
}

.btn-full{
  width: 100%;
}

/* =========================================================
   TEAM VISUAL
   ========================================================= */
.team-visual{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   STORY SECTION
   ========================================================= */
.story-content{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.story-paragraph{
  font-size: 1rem;
  color: var(--ink-1);
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-timeline{
  position: relative;
  padding-left: 20px;
}

.timeline-item{
  position: relative;
  padding: 20px 0 20px 40px;
  border-left: 2px solid rgba(93,183,232,0.2);
}

.timeline-item:last-child{
  border-left: none;
}

.timeline-year{
  position: absolute;
  left: -15px;
  top: 20px;
  background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue-dark));
  color: var(--bg-0);
  padding: 4px 12px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.timeline-content h4{
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 8px;
}

.timeline-content p{
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* =========================================================
   MISSION SECTION
   ========================================================= */
.mission-section{
  background: rgba(15,23,42,0.3);
}

.mission-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.mission-card{
  padding: 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(93,183,232,0.15);
  border-radius: 12px;
  text-align: center;
}

.mission-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.mission-title{
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 16px;
}

.mission-desc{
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* =========================================================
   VALUES SECTION
   ========================================================= */
.values-section{
  background: rgba(15,23,42,0.3);
}

.values-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card{
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(93,183,232,0.15);
  border-radius: 12px;
  text-align: center;
}

.value-number{
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  margin-bottom: 16px;
}

.value-title{
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 12px;
}

.value-desc{
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* =========================================================
   STATS SECTION
   ========================================================= */
.stats-section{
  background: rgba(15,23,42,0.3);
}

.stats-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item{
  text-align: center;
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(93,183,232,0.15);
  border-radius: 12px;
}

.stat-number{
  display: block;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  margin-bottom: 8px;
}

.stat-label{
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* =========================================================
   CONTACT VISUAL
   ========================================================= */
.contact-visual{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   CONTACT INFO GRID
   ========================================================= */
.contact-info-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-card{
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(93,183,232,0.15);
  border-radius: 12px;
  text-align: center;
}

.contact-info-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--brand-blue-light);
}

.contact-info-title{
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 8px;
}

.contact-info-desc{
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-blue-light);
  margin-bottom: 4px;
}

.contact-info-sub{
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* =========================================================
   CONTACT FORM WRAPPER
   ========================================================= */
.contact-form-section{
  background: rgba(15,23,42,0.3);
}

.contact-form-wrapper{
  max-width: 700px;
  margin: 0 auto;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* =========================================================
   HOURS SECTION
   ========================================================= */
.hours-section{
  background: rgba(15,23,42,0.3);
}

.hours-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.hours-card{
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(93,183,232,0.15);
  border-radius: 12px;
  text-align: center;
}

.hours-title{
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 12px;
}

.hours-time{
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.hours-desc{
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section{
  background: rgba(15,23,42,0.3);
}

.faq-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item{
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(93,183,232,0.15);
  border-radius: 12px;
}

.faq-question{
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 12px;
}

.faq-answer{
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* =========================================================
   AI SECTION
   ========================================================= */
.ai-section{
  background: transparent;
  padding: 40px 0 80px;
}

.brands-section{
  position: relative;
  background: transparent;
  border: none;
  padding: 40px 0;
}

.brand-network-wrap{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 280px;
  gap:28px;
  align-items:center;
  max-width:1160px;
  margin:0 auto;
}

.brand-network{
  position:relative;
  min-height:580px;
  overflow:hidden;
  perspective:900px;
  transform-style:preserve-3d;
  border:1px solid rgba(93,183,232,0.25);
  border-radius:18px;
  cursor:grab;
  touch-action:none;
  background:radial-gradient(circle at center, rgba(93,183,232,0.14), rgba(8,46,54,0.35) 46%, rgba(4,16,22,0.92));
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.brand-fullscreen-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(6, 26, 34, 0.88);
  border: 1px solid var(--line-strong);
  color: var(--ink-0);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all .2s ease;
}

.brand-fullscreen-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue-light);
  color: #fff;
  box-shadow: 0 0 16px rgba(93, 183, 232, 0.4);
}

.brand-fullscreen-close {
  display: none;
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 10001;
  background: rgba(255, 95, 86, 0.18);
  border: 1px solid rgba(255, 95, 86, 0.45);
  color: #ff5f56;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.brand-fullscreen-close:hover {
  background: #ff5f56;
  color: #fff;
}

.brand-network:fullscreen,
.brand-network:-webkit-full-screen,
.brand-network.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  border-radius: 0 !important;
  z-index: 999999 !important;
  border: none !important;
  background: radial-gradient(circle at center, rgba(8, 46, 54, 0.95) 0%, #030a0d 100%) !important;
}

.brand-network:fullscreen .brand-fullscreen-btn,
.brand-network:-webkit-full-screen .brand-fullscreen-btn,
.brand-network.is-fullscreen .brand-fullscreen-btn {
  display: none !important;
}

.brand-network:fullscreen .brand-fullscreen-close,
.brand-network:-webkit-full-screen .brand-fullscreen-close,
.brand-network.is-fullscreen .brand-fullscreen-close {
  display: flex !important;
  z-index: 1000000 !important;
}

.brand-network.is-dragging{ cursor:grabbing; }

.brand-orbit-scene{
  position:absolute;
  inset:0;
  transform-style:preserve-3d;
  transition:transform .55s cubic-bezier(.2,.8,.2,1);
}

.brand-network.has-three .brand-orbit-scene{ display:none; }

.brand-canvas{
  position:absolute;
  inset:0;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
}

.brand-network.is-dragging .brand-orbit-scene{ transition:none; }

.brand-map-3d::before,
.brand-map-3d::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:62%;
  height:54%;
  border:1px solid rgba(93,183,232,0.15);
  border-radius:50%;
  transform:translate(-50%, -50%) rotateX(62deg) rotateZ(-12deg);
  pointer-events:none;
}

.brand-map-3d::after{
  width:82%;
  height:68%;
  border-color:rgba(122,182,72,0.12);
  transform:translate(-50%, -50%) rotateX(62deg) rotateZ(28deg);
}

.brand-lines{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.brand-lines line{
  stroke:rgba(93,183,232,0.3);
  stroke-width:1.5;
  stroke-dasharray:5 8;
  transition:stroke .25s ease, stroke-width .25s ease, opacity .25s ease;
}

.brand-lines line.is-selected{
  stroke:var(--brand-blue-light);
  stroke-width:3;
  opacity:1;
}

.brand-core,
.brand-node{
  position:absolute;
  transform:translate3d(-50%, -50%, var(--brand-z, 0px));
  transform-style:preserve-3d;
}

.brand-core{
  top:50%;
  left:50%;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:132px;
  height:132px;
  border:1px solid var(--brand-blue-light);
  border-radius:50%;
  background:rgba(8,46,54,0.94);
  box-shadow:0 0 0 12px rgba(93,183,232,0.05), 0 0 42px rgba(93,183,232,0.24);
  color:var(--ink-0);
  text-align:center;
}

.brand-core strong{ font-size:1rem; }
.brand-core small{ margin-top:5px; color:var(--ink-2); font-family:var(--font-mono); font-size:.65rem; text-transform:uppercase; letter-spacing:.08em; }
.brand-core-pulse{ position:absolute; inset:-9px; border:1px solid rgba(93,183,232,0.25); border-radius:50%; animation:brand-pulse 2.8s ease-in-out infinite; }
@keyframes brand-pulse{ 50%{ transform:scale(1.08); opacity:.35; } }

.brand-node{
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  width:82px;
  padding:9px 5px;
  border:1px solid rgba(255,255,255,0.18);
  border-radius:12px;
  background:rgba(8,46,54,0.9);
  color:var(--ink-1);
  cursor:pointer;
  font:inherit;
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
  animation:brand-float 5s ease-in-out infinite;
}

.brand-node:hover,
.brand-node.is-selected{ transform:translate3d(-50%, -50%, 42px) scale(1.18); border-color:var(--brand-blue-light); color:var(--ink-0); box-shadow:0 0 24px rgba(93,183,232,0.28); }
.brand-node img{ width:40px; height:40px; object-fit:contain; }
.brand-node-mark{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid var(--brand-blue-light); border-radius:50%; color:var(--brand-blue-light); font-family:var(--font-mono); font-size:.78rem; font-weight:700; }
.brand-node span{ font-family:var(--font-mono); font-size:.62rem; white-space:nowrap; }
.brand-node-html{ top:17%; left:21%; }
.brand-node-javascript{ top:12%; left:50%; }
.brand-node-css{ top:17%; left:79%; }
.brand-node-dotnet{ top:71%; left:18%; }
.brand-node-sql{ top:87%; left:50%; }
.brand-node-azure{ top:71%; left:82%; }
.brand-node-xd{ top:94%; left:28%; }
.brand-node-react{ top:27%; left:29%; --brand-z:38px; animation-delay:-1s; }
.brand-node-node{ top:27%; left:71%; --brand-z:58px; animation-delay:-2s; }
.brand-node-python{ top:50%; left:8%; --brand-z:22px; animation-delay:-3s; }
.brand-node-laravel{ top:50%; left:92%; --brand-z:42px; animation-delay:-4s; }
.brand-node-mysql{ top:77%; left:15%; --brand-z:50px; animation-delay:-2.5s; }
.brand-node-postgresql{ top:91%; left:70%; --brand-z:26px; animation-delay:-1.5s; }
.brand-node-docker{ top:78%; left:86%; --brand-z:64px; animation-delay:-3.5s; }

@keyframes brand-float{ 50%{ margin-top:-5px; } }

.brand-detail{ padding:28px; border:1px solid rgba(93,183,232,0.2); border-radius:12px; background:rgba(255,255,255,0.035); }
.brand-detail-kicker{ color:var(--brand-blue-light); font-family:var(--font-mono); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; }
.brand-detail h3{ margin:16px 0 10px; color:var(--ink-0); font-size:1.35rem; }
.brand-detail p{ margin:0; color:var(--ink-2); font-size:.95rem; line-height:1.65; }
.brand-detail small{ display:block; margin-top:18px; padding-top:14px; border-top:1px solid rgba(93,183,232,0.14); color:var(--brand-blue-light); font-family:var(--font-mono); font-size:.72rem; line-height:1.5; }

.brand-jump-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:18px;
}

.brand-jump-button{
  padding:6px 8px;
  border:1px solid rgba(93,183,232,0.2);
  border-radius:999px;
  background:rgba(8,46,54,0.7);
  color:var(--ink-2);
  cursor:pointer;
  font-family:var(--font-mono);
  font-size:.62rem;
  transition:border-color .2s ease, color .2s ease, box-shadow .2s ease, background .2s ease;
}

.brand-jump-button:hover,
.brand-jump-button.is-active{
  border-color:var(--brand-blue-light);
  background:rgba(46,123,196,0.22);
  color:var(--ink-0);
  box-shadow:0 0 14px rgba(93,183,232,0.22);
}

.ai-page-hero{ min-height:620px; }

/* =========================================================
   HERO PROTOTYPE SHOWCASE SLIDER
   ========================================================= */
.ai-hero-showcase {
  width: min(100%, 540px);
  position: relative;
}

.mockup-browser {
  background: rgba(8, 28, 38, 0.94);
  border: 1px solid rgba(93, 183, 232, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 30px rgba(93, 183, 232, 0.12);
  backdrop-filter: blur(16px);
  position: relative;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(4, 18, 26, 0.95);
  border-bottom: 1px solid rgba(93, 183, 232, 0.15);
  gap: 12px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-dots .dot.red { background: #ff5f56; }
.mockup-dots .dot.yellow { background: #ffbd2e; }
.mockup-dots .dot.green { background: #27c93f; }

.mockup-address-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(93, 183, 232, 0.12);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mockup-url { color: var(--brand-blue-light); }

.mockup-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--chip-green);
  background: rgba(39, 201, 63, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(39, 201, 63, 0.25);
  white-space: nowrap;
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chip-green);
  animation: status-pulse 1.8s infinite;
}
@keyframes status-pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Slider Track */
.mockup-slider {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.mockup-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px) scale(0.98);
  transition: opacity .45s cubic-bezier(0.16, 1, 0.3, 1), transform .45s cubic-bezier(0.16, 1, 0.3, 1), visibility .45s;
  padding: 22px 24px;
}

.mockup-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  position: relative;
}

/* Colores pasteles auténticos y sin glow para prototipos de páginas web genéricas */
.mockup-slide[data-slide="0"] { background: #f8fafc; }
.mockup-slide[data-slide="1"] { background: #fdfbf7; }
.mockup-slide[data-slide="2"] { background: #faf5ff; }
.mockup-slide[data-slide="3"] { background: #f0fdfa; }

.proto-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proto-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  font-size: 0.78rem;
}

.proto-hero { padding-top: 14px; }
.proto-hero h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}
.proto-hero p {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Prototype 1: SaaS Cloud (Pastel Slate / Indigo) */
.proto-saas .proto-nav { border-bottom: 1px solid #e2e8f0; }
.proto-saas .proto-brand { font-weight: 800; color: #0f172a; }
.proto-saas .proto-nav-links { display: flex; gap: 10px; color: #64748b; font-size: 0.72rem; }
.proto-saas .proto-btn { background: #4f46e5; color: #ffffff; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.proto-saas .proto-pill-tag { display: inline-block; font-size: 0.65rem; font-family: var(--font-mono); color: #4338ca; background: #ede9fe; border: 1px solid #ddd6fe; padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
.proto-saas .proto-hero h4 { color: #0f172a; }
.proto-saas .proto-hero p { color: #475569; }
.proto-saas .proto-chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.proto-saas .chart-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: #64748b; margin-bottom: 8px; }
.proto-saas .chart-metric { color: #4f46e5; font-size: 0.92rem; font-family: var(--font-mono); font-weight: 700; }
.proto-saas .chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 42px; }
.proto-saas .chart-bars span { flex: 1; background: linear-gradient(180deg, #6366f1, #c7d2fe); border-radius: 3px 3px 0 0; }

/* Prototype 2: Bakery & Coffee (Pastel Cream / Warm Amber) */
.proto-coffee .proto-nav { border-bottom: 1px solid #fed7aa; }
.proto-coffee .proto-brand { font-weight: 800; color: #451a03; }
.proto-coffee .proto-nav-links { display: flex; gap: 10px; color: #78350f; font-size: 0.72rem; }
.proto-coffee .proto-btn-warm { background: #d97706; color: #ffffff; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.proto-coffee .proto-pill-warm { display: inline-block; font-size: 0.65rem; font-family: var(--font-mono); color: #9a3412; background: #fef3c7; border: 1px solid #fde68a; padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
.proto-coffee .proto-hero h4 { color: #451a03; }
.proto-coffee .proto-hero p { color: #78350f; }
.proto-coffee .proto-menu-row { display: flex; gap: 10px; }
.proto-coffee .proto-item-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(120, 53, 15, 0.06);
}
.proto-coffee .proto-item-icon { font-size: 1.3rem; }
.proto-coffee .proto-item-card strong { display: block; font-size: 0.76rem; color: #451a03; }
.proto-coffee .proto-item-card small { font-size: 0.65rem; color: #9a3412; }

/* Prototype 3: Boutique Store (Pastel Blush / Berry) */
.proto-store .proto-nav { border-bottom: 1px solid #f3e8ff; }
.proto-store .proto-brand { font-weight: 800; color: #18181b; }
.proto-store .proto-nav-links { display: flex; gap: 10px; color: #71717a; font-size: 0.72rem; }
.proto-store .proto-badge-cart { background: #f43f5e; color: #ffffff; font-size: 0.7rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.proto-store .proto-pill-store { display: inline-block; font-size: 0.65rem; font-family: var(--font-mono); color: #be185d; background: #fce7f3; border: 1px solid #fbcfe8; padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
.proto-store .proto-hero h4 { color: #18181b; }
.proto-store .proto-hero p { color: #52525b; }
.proto-store .proto-product-box {
  background: #ffffff;
  border: 1px solid #fbcfe8;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.06);
}
.proto-store .proto-tag-price { font-size: 1.05rem; font-weight: 800; color: #be185d; font-family: var(--font-mono); }
.proto-store .proto-stars { font-size: 0.7rem; color: #f59e0b; }
.proto-store .proto-btn-buy { background: #db2777; color: #ffffff; border: none; font-size: 0.72rem; font-weight: 700; padding: 6px 12px; border-radius: 8px; cursor: pointer; }

/* Prototype 4: Dental & Health (Pastel Mint / Sage Teal) */
.proto-clinic .proto-nav { border-bottom: 1px solid #ccfbf1; }
.proto-clinic .proto-brand { font-weight: 800; color: #064e3b; }
.proto-clinic .proto-nav-links { display: flex; gap: 10px; color: #0f766e; font-size: 0.72rem; }
.proto-clinic .proto-btn-cyan { background: #0d9488; color: #ffffff; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.proto-clinic .proto-pill-cyan { display: inline-block; font-size: 0.65rem; font-family: var(--font-mono); color: #0f766e; background: #ccfbf1; border: 1px solid #99f6e4; padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
.proto-clinic .proto-hero h4 { color: #064e3b; }
.proto-clinic .proto-hero p { color: #115e59; }
.proto-clinic .proto-card-cyan {
  background: #ffffff;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.06);
}
.proto-clinic .proto-doctor { display: flex; align-items: center; gap: 8px; }
.proto-clinic .doctor-avatar { font-size: 1.3rem; }
.proto-clinic .proto-doctor strong { display: block; font-size: 0.76rem; color: #064e3b; }
.proto-clinic .proto-doctor small { font-size: 0.65rem; color: #0f766e; }
.proto-clinic .proto-badge-status { font-size: 0.68rem; color: #059669; font-weight: 700; }

/* Mockup Footer Controls */
.mockup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(4, 18, 26, 0.95);
  border-top: 1px solid rgba(93, 183, 232, 0.15);
}
.slider-arrow {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(93, 183, 232, 0.2);
  color: var(--brand-blue-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all .2s ease;
}
.slider-arrow:hover {
  background: var(--brand-blue-light);
  color: var(--bg-0);
  box-shadow: 0 0 10px rgba(93, 183, 232, 0.4);
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
.slider-dot.is-active {
  width: 24px;
  background: var(--brand-blue-light);
  box-shadow: 0 0 8px rgba(93, 183, 232, 0.6);
}

.showcase-floating-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}
.floating-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-blue-light);
  background: rgba(8, 46, 54, 0.75);
  border: 1px solid rgba(93, 183, 232, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   PROCESO — DE LA IDEA AL SITIO WEB (INTERACTIVO)
   ========================================================= */
.ai-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  perspective: 1200px;
}

.ai-process-card {
  position: relative;
  padding: 32px 26px;
  background: rgba(8, 46, 54, 0.45);
  border: 1px solid rgba(93, 183, 232, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  cursor: pointer;

  /* Animación: aparece desde adelante de la pantalla y se queda en su posición */
  opacity: 0;
  transform: perspective(1000px) translateZ(140px) scale(1.18);
  filter: blur(8px);
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1),
              transform .8s cubic-bezier(0.16, 1, 0.3, 1),
              filter .8s cubic-bezier(0.16, 1, 0.3, 1),
              border-color .3s ease,
              box-shadow .3s ease;
}

.ai-process-card.visible {
  opacity: 1;
  transform: perspective(1000px) translateZ(0) scale(1);
  filter: blur(0);
}

.ai-process-card:nth-child(1) { transition-delay: 0.1s; }
.ai-process-card:nth-child(2) { transition-delay: 0.22s; }
.ai-process-card:nth-child(3) { transition-delay: 0.34s; }
.ai-process-card:nth-child(4) { transition-delay: 0.46s; }

.ai-process-card.visible:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(93, 183, 232, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(93, 183, 232, 0.15);
}

.ai-process-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.ai-process-number {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  background: rgba(93, 183, 232, 0.1);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(93, 183, 232, 0.2);
}

.ai-process-card h3 {
  margin: 0 0 12px;
  color: var(--ink-0);
  font-size: 1.18rem;
  font-weight: 700;
}

.ai-process-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.65;
}

.ai-card-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-blue-light), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.ai-process-card:hover .ai-card-glow {
  opacity: 1;
}

/* =========================================================
   SECCIÓN ¿QUÉ PUEDES CREAR? (SIN BORDES QUE SE CORTEN)
   ========================================================= */
.ai-benefits-section {
  background: transparent;
  padding: 40px 0;
}

.ai-benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.ai-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
}

.ai-content-card {
  padding: 34px 28px;
  background: rgba(8, 46, 54, 0.45);
  border: 1px solid rgba(93, 183, 232, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.ai-content-card:hover {
  transform: translateY(-6px);
  border-color: rgba(93, 183, 232, 0.4);
  box-shadow: 0 12px 35px rgba(93, 183, 232, 0.12);
}

.ai-content-kicker {
  display: block;
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ai-content-card h3 {
  margin: 0 0 12px;
  color: var(--ink-0);
  font-size: 1.25rem;
}

.ai-content-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* =========================================================
   GUÍA INTERACTIVA DE INSTRUCCIÓN (PROMPT PLAYGROUND)
   ========================================================= */
.ai-prompt-guide {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.ai-prompt-preview-box {
  background: rgba(8, 46, 54, 0.7);
  border: 1px solid rgba(93, 183, 232, 0.28);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
  position: relative;
  backdrop-filter: blur(12px);
}

.prompt-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.prompt-preview-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--chip-green);
  background: rgba(39, 201, 63, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(39, 201, 63, 0.25);
}

.prompt-preview-step-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-blue-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prompt-preview-text {
  font-size: 1.05rem;
  color: var(--ink-1);
  line-height: 1.8;
  margin-bottom: 24px;
}

.prompt-highlight {
  background: rgba(93, 183, 232, 0.2);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  border-bottom: 2px solid var(--brand-blue-light);
  font-weight: 600;
}

.btn-use-prompt {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(93, 183, 232, 0.25);
}

.ai-guide-interactive-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(93, 183, 232, 0.14);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all .25s ease;
  width: 100%;
}

.guide-item:hover {
  background: rgba(93, 183, 232, 0.08);
  border-color: rgba(93, 183, 232, 0.3);
  transform: translateX(4px);
}

.guide-item.is-active {
  background: rgba(93, 183, 232, 0.14);
  border-color: var(--brand-blue-light);
  box-shadow: 0 4px 20px rgba(93, 183, 232, 0.18);
}

.guide-item-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  background: rgba(93, 183, 232, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-item-content { flex: 1; }
.guide-item-content strong { display: block; color: var(--ink-0); font-size: 0.95rem; margin-bottom: 2px; }
.guide-item-content span { font-size: 0.8rem; color: var(--ink-2); line-height: 1.4; display: block; }
.guide-item-arrow { color: var(--brand-blue-light); font-size: 1.1rem; opacity: 0.4; transition: opacity .2s, transform .2s; }
.guide-item.is-active .guide-item-arrow,
.guide-item:hover .guide-item-arrow { opacity: 1; transform: translateX(3px); }

.guide-item-full {
  background: rgba(39, 201, 63, 0.06);
  border-color: rgba(39, 201, 63, 0.2);
}
.guide-item-full.is-active {
  background: rgba(39, 201, 63, 0.12);
  border-color: var(--chip-green);
  box-shadow: 0 4px 20px rgba(39, 201, 63, 0.2);
}
.guide-item-full .guide-item-number {
  color: var(--chip-green);
  background: rgba(39, 201, 63, 0.15);
}

/* =========================================================
   SECCIÓN GENERADOR & CONTENEDOR SIN CORTES
   ========================================================= */
.ai-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px;
  background: rgba(8, 30, 42, 0.65);
  border: 1px solid rgba(93, 183, 232, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

/* Widget Persistente de Sitio Listo */
.ai-ready-widget {
  background: linear-gradient(135deg, rgba(39, 201, 63, 0.12), rgba(93, 183, 232, 0.12));
  border: 1px solid rgba(39, 201, 63, 0.35);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 34px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: fadeInDown .35s ease;
}

.ready-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.ready-widget-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ready-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--chip-green);
  box-shadow: 0 0 14px var(--chip-green);
  animation: status-pulse 1.8s infinite;
}

.ready-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--chip-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.ready-widget-title-wrap h4 {
  margin: 2px 0 0;
  font-size: 1.25rem;
  color: var(--ink-0);
  font-weight: 700;
}

.ready-widget-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ready-widget-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.ready-widget-notice .notice-icon { font-size: 1.1rem; }

.btn-discard {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #fca5a5 !important;
  transition: all .2s ease;
}
.btn-discard:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}
.ready-widget-notice strong { color: var(--ink-0); }

.ai-generator-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.ai-form {
  padding: 34px;
  background: rgba(6, 22, 32, 0.85);
  border: 1px solid rgba(93, 183, 232, 0.2);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ai-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(93, 183, 232, 0.25);
  background: rgba(4, 15, 22, 0.9);
  color: var(--ink-0);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.ai-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 3px rgba(93, 183, 232, 0.2);
}

.ai-btn {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.ai-btn-loading { display: none; }
.ai-btn.loading .ai-btn-text { display: none; }
.ai-btn.loading .ai-btn-loading { display: inline; }

.ai-info {
  padding: 34px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(93, 183, 232, 0.16);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-info-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-0);
  margin-bottom: 20px;
}

.ai-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.ai-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ai-step-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bg-0);
  flex-shrink: 0;
}

.ai-step-text {
  font-size: 0.92rem;
  color: var(--ink-1);
}

.ai-note {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid rgba(93, 183, 232, 0.12);
  margin: 0;
}

/* Responsive for AI section */
@media (max-width: 768px){
  .brand-network-wrap{ grid-template-columns:1fr; }
  .brand-network{ min-height:390px; }
  .brand-core{ width:104px; height:104px; }
  .brand-core strong{ font-size:.88rem; }
  .brand-node{ width:70px; }
  .brand-node img{ width:32px; height:32px; }
  .brand-node-mark{ width:32px; height:32px; font-size:.65rem; }
  .brand-node span{ font-size:.55rem; }

  .ai-generator-wrapper{
    grid-template-columns: 1fr;
  }

  .ai-page-hero{ min-height:auto; }
  .ai-process-grid,
  .ai-content-grid,
  .ai-prompt-guide{ grid-template-columns:1fr; }
}

/* =========================================================
   AI PREVIEW MODAL & DEVICE VISOR
   ========================================================= */
.ai-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 85px 24px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ai-preview-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.ai-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, 0.85);
  backdrop-filter: blur(8px);
}

.ai-preview-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  height: 82vh;
  max-height: 720px;
  margin-top: 12px;
  background: #0f172a;
  border: 1px solid rgba(93, 183, 232, 0.3);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(93, 183, 232, 0.15);
}

.ai-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #1e293b;
  border-bottom: 1px solid rgba(93, 183, 232, 0.15);
  gap: 16px;
}

.ai-preview-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-preview-title-wrap h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-0);
  margin: 0;
}

.ai-preview-devices {
  display: flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(93, 183, 232, 0.2);
  border-radius: 8px;
  padding: 3px;
  gap: 4px;
}

.device-btn {
  background: transparent;
  border: none;
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.device-btn:hover {
  color: var(--ink-0);
}

.device-btn.is-active {
  background: rgba(93, 183, 232, 0.2);
  color: #5db7e8;
}

.ai-preview-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-preview-close-btn {
  background: transparent;
  border: none;
  color: var(--ink-2);
  font-size: 1.8rem;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.ai-preview-close-btn:hover {
  color: #ff5f56;
}

.ai-preview-body {
  flex: 1;
  background: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.ai-preview-frame-wrapper {
  height: 100%;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-preview-frame-wrapper.device-desktop {
  width: 100%;
}

.ai-preview-frame-wrapper.device-tablet {
  width: 768px;
}

.ai-preview-frame-wrapper.device-mobile {
  width: 375px;
}

.ai-preview-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .ai-preview-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .ai-preview-devices {
    display: none;
  }
}

/* =========================================================
   SUBDOMAINS & EXTERNAL BADGES
   ========================================================= */
.nav-ext-icon {
  font-size: 0.75em;
  opacity: 0.75;
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.nav-link:hover .nav-ext-icon {
  transform: translate(2px, -2px);
  opacity: 1;
}

/* =========================================================
   SERVICES SHOWCASE SLIDER (SAAS, CRM, E-COMMERCE, ERP)
   ========================================================= */
.showcase-slider-wrap {
  position: relative;
  margin-top: 24px;
}

.slider-container {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 71, 80, 0.25);
  backdrop-filter: blur(8px);
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.slide-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 42px 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.slide-content {
  display: flex;
  flex-direction: column;
}

.slide-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  background: rgba(93, 183, 232, 0.12);
  border: 1px solid rgba(93, 183, 232, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 16px;
}

.slide-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-0);
  margin: 0 0 16px;
}

.slide-desc {
  font-size: 1rem;
  color: var(--ink-1);
  line-height: 1.6;
  margin: 0 0 24px;
}

.slide-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.slide-features li {
  font-size: 0.9rem;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-features li span.feat-check {
  color: #27c93f;
  font-weight: bold;
}

.slide-visual {
  position: relative;
  background: #061d23;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.slide-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-2);
}

.slide-mockup-body {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
}

.mockup-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.mockup-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
}

.mockup-stat-label {
  font-size: 0.72rem;
  color: var(--ink-2);
  margin-bottom: 4px;
}

.mockup-stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue-light);
}

.mockup-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  padding-top: 10px;
}

.mockup-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--brand-blue-light), var(--brand-blue-dark));
  border-radius: 4px 4px 0 0;
  transition: height 0.3s;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 6px;
}

.slider-nav-btns {
  display: flex;
  gap: 10px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-0);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.slider-btn:hover {
  background: var(--brand-blue-light);
  color: var(--bg-0);
  border-color: var(--brand-blue-light);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--brand-blue-light);
  box-shadow: 0 0 12px rgba(93, 183, 232, 0.6);
}

/* =========================================================
   DESIGN SECTION (UI/UX)
   ========================================================= */
.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.design-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.design-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(93, 183, 232, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.design-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(93, 183, 232, 0.1);
  border: 1px solid rgba(93, 183, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue-light);
  margin-bottom: 20px;
}

.design-card h3 {
  font-size: 1.25rem;
  color: var(--ink-0);
  margin: 0 0 10px;
}

.design-card p {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   LABORATORIO VISUAL ULTRADESK (STEP-BY-STEP DESIGN LAB)
   ========================================================= */
.design-lab-wrap {
  margin-top: 40px;
  background: #061c22;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 35px rgba(93, 183, 232, 0.08);
}

.lab-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.lab-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lab-header-title h3 {
  font-size: 1.35rem;
  color: var(--ink-0);
  margin: 0;
  font-weight: 700;
}

.lab-tour-btn {
  background: rgba(93, 183, 232, 0.12);
  border: 1px solid rgba(93, 183, 232, 0.3);
  color: var(--brand-blue-light);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.lab-tour-btn:hover,
.lab-tour-btn.is-playing {
  background: var(--brand-blue-light);
  color: var(--bg-0);
  box-shadow: 0 0 20px rgba(93, 183, 232, 0.5);
}

/* Stepper horizontal de 5 pasos */
.lab-stepper-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 30px;
  position: relative;
}

.lab-step-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lab-step-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(93, 183, 232, 0.3);
}

.lab-step-btn.is-active {
  background: rgba(93, 183, 232, 0.15);
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 16px rgba(93, 183, 232, 0.25);
}

.lab-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lab-step-btn.is-active .lab-step-num {
  color: var(--brand-blue-light);
}

.lab-step-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-0);
  line-height: 1.25;
}

/* Grilla dividida: Información a la izquierda, Canvas a la derecha */
.lab-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: stretch;
}

.lab-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(8, 46, 54, 0.35);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.lab-phase-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-blue-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.lab-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-0);
  margin: 0 0 12px;
  line-height: 1.2;
}

.lab-info-desc {
  font-size: 0.94rem;
  color: var(--ink-1);
  line-height: 1.6;
  margin: 0 0 20px;
}

.lab-deliverables-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.lab-deliverables-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-2);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lab-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lab-deliverables-list li {
  font-size: 0.86rem;
  color: var(--ink-0);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lab-deliverables-list li span {
  color: #27c93f;
  font-weight: bold;
}

.lab-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}

.lab-meta-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-2);
  margin-bottom: 2px;
}

.lab-meta-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-0);
}

.lab-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lab-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--ink-0);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.lab-nav-btn:hover:not(:disabled) {
  background: var(--brand-blue-light);
  color: var(--bg-0);
  border-color: var(--brand-blue-light);
}

.lab-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Canvas Window (Simulador Visual) */
.lab-canvas-window {
  background: #09272e;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  min-height: 440px;
}

.lab-canvas-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #06191f;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-2);
}

.lab-canvas-title {
  color: var(--ink-1);
}

.lab-canvas-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.badge-arch { background: rgba(232, 198, 27, 0.15); color: #e8c61b; }
.badge-lofi { background: rgba(255, 255, 255, 0.12); color: #cbd5e1; }
.badge-hifi { background: rgba(93, 183, 232, 0.18); color: #5db7e8; }
.badge-proto { background: rgba(168, 85, 247, 0.18); color: #c084fc; }
.badge-live { background: rgba(39, 201, 63, 0.18); color: #27c93f; }

.lab-canvas-body {
  flex: 1;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Vistas de los 5 pasos dentro del canvas */
.lab-view {
  display: none;
  animation: fadeInLab 0.35s ease forwards;
  width: 100%;
}

.lab-view.is-active {
  display: block;
}

@keyframes fadeInLab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PASO 1: ARQUITECTURA / FLOW CHART */
.flow-chart-diagram {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.flow-node-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.flow-node {
  background: rgba(13, 71, 80, 0.7);
  border: 1px solid var(--brand-blue-light);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.flow-node.is-goal {
  border-color: #27c93f;
  background: rgba(39, 201, 63, 0.15);
  color: #27c93f;
  font-weight: 700;
}
.flow-arrow {
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

/* PASO 2: WIREFRAME LO-FI (BLUEPRINT FIGMA) */
.blueprint-frame {
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
}
.blueprint-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}
.blueprint-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}
.blueprint-image-placeholder {
  height: 110px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.8rem;
}
.blueprint-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blueprint-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

/* PASO 3: UI DESIGN HI-FI (ALTA FIDELIDAD) */
.hifi-frame {
  border: 1px solid var(--brand-blue-light);
  border-radius: 10px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(8, 46, 54, 0.8), rgba(6, 28, 34, 0.95));
  box-shadow: 0 0 30px rgba(93, 183, 232, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hifi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hifi-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
}
.hifi-tag {
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-bottom: 4px;
}
.hifi-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}
.hifi-card-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(93, 183, 232, 0.3);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* PASO 4: PROTOTIPADO INTERACTIVO */
.proto-frame {
  position: relative;
  border: 1px solid #c084fc;
  border-radius: 10px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.15);
}
.proto-click-cursor {
  position: absolute;
  top: 50%;
  left: 65%;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c084fc'%3E%3Cpath d='M3 3l7 18 3-7 7-3L3 3z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
  animation: cursorPulse 2.5s ease-in-out infinite;
}
@keyframes cursorPulse {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(0.9) translate(-4px, -4px); }
  100% { transform: scale(1) translate(0, 0); }
}
.proto-pulse-wave {
  position: absolute;
  top: 48%;
  left: 63%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #c084fc;
  animation: ripplePulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes ripplePulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* PASO 5: PUESTA EN MARCHA (CÓDIGO & LIGHTHOUSE 100%) */
.live-frame {
  border: 1px solid #27c93f;
  border-radius: 10px;
  padding: 18px;
  background: #041418;
  box-shadow: 0 0 25px rgba(39, 201, 63, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.live-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.live-metric-pill {
  background: rgba(39, 201, 63, 0.1);
  border: 1px solid rgba(39, 201, 63, 0.3);
  border-radius: 8px;
  padding: 8px 4px;
}
.live-metric-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #27c93f;
  font-family: var(--font-mono);
}
.live-metric-lbl {
  font-size: 0.65rem;
  color: var(--ink-2);
  margin-top: 2px;
}
.live-terminal-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-1);
  line-height: 1.6;
}
.live-terminal-box span.term-green { color: #27c93f; }
.live-terminal-box span.term-cyan { color: var(--brand-blue-light); }

@media (max-width: 900px) {
  .lab-stepper-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .lab-stage-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ATOMIC TECH CORE (CSS 3D ORBITAL NUCLEUS)
   ========================================================= */
.atomic-system-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: 36px;
}

.atom-stage {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  overflow: visible;
}

/* Central Nucleus */
.atom-nucleus {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #5db7e8 0%, #2e7bc4 60%, #0d4750 100%);
  box-shadow: 0 0 35px rgba(93, 183, 232, 0.8), 0 0 70px rgba(46, 123, 196, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  animation: pulseCore 3s ease-in-out infinite alternate;
}

@keyframes pulseCore {
  0% { transform: scale(0.96); box-shadow: 0 0 25px rgba(93, 183, 232, 0.6); }
  100% { transform: scale(1.04); box-shadow: 0 0 55px rgba(93, 183, 232, 0.9), 0 0 90px rgba(46, 123, 196, 0.5); }
}

.atom-nucleus-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.atom-nucleus-sub {
  font-size: 0.62rem;
  color: var(--ink-0);
  opacity: 0.85;
}

/* Orbital Rings */
.atom-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(93, 183, 232, 0.28);
  pointer-events: none;
  transform-style: preserve-3d;
}

.atom-orbit-1 {
  width: 220px;
  height: 220px;
  transform: rotateX(68deg) rotateY(-18deg);
  animation: orbitSpin1 18s linear infinite;
}

.atom-orbit-2 {
  width: 320px;
  height: 320px;
  transform: rotateX(72deg) rotateY(32deg);
  animation: orbitSpin2 26s linear infinite;
}

.atom-orbit-3 {
  width: 420px;
  height: 420px;
  transform: rotateX(65deg) rotateY(-40deg);
  animation: orbitSpin3 34s linear infinite;
}

.atom-stage:hover .atom-orbit {
  animation-play-state: paused;
}

@keyframes orbitSpin1 {
  from { transform: rotateX(68deg) rotateY(-18deg) rotateZ(0deg); }
  to { transform: rotateX(68deg) rotateY(-18deg) rotateZ(360deg); }
}
@keyframes orbitSpin2 {
  from { transform: rotateX(72deg) rotateY(32deg) rotateZ(0deg); }
  to { transform: rotateX(72deg) rotateY(32deg) rotateZ(360deg); }
}
@keyframes orbitSpin3 {
  from { transform: rotateX(65deg) rotateY(-40deg) rotateZ(0deg); }
  to { transform: rotateX(65deg) rotateY(-40deg) rotateZ(360deg); }
}

/* Interactive Electron Nodes */
.atom-electron {
  position: absolute;
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #08272e;
  border: 1.5px solid var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.25s ease, background 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(93, 183, 232, 0.3);
}

.atom-electron:hover,
.atom-electron.is-active {
  transform: scale(1.35);
  background: var(--brand-blue);
  box-shadow: 0 0 25px rgba(93, 183, 232, 0.9), 0 0 45px rgba(46, 123, 196, 0.7);
  z-index: 20;
}

.atom-electron span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-0);
  pointer-events: none;
}

/* Positions around orbits */
.e-react     { top: -22px; left: 50%; margin-left: -22px; }
.e-ts        { bottom: -22px; left: 50%; margin-left: -22px; }
.e-node      { top: 50%; right: -22px; margin-top: -22px; }
.e-dotnet    { top: 50%; left: -22px; margin-top: -22px; }
.e-python    { top: 15%; right: 15%; }
.e-php       { bottom: 15%; left: 15%; }
.e-sql       { top: -22px; left: 50%; margin-left: -22px; }
.e-docker    { bottom: -22px; left: 50%; margin-left: -22px; }
.e-azure     { top: 50%; right: -22px; margin-top: -22px; }
.e-linux     { top: 50%; left: -22px; margin-top: -22px; }

/* Tech Inspector Box */
.tech-inspector-card {
  background: #08252c;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tech-filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tech-filter-chip.is-active,
.tech-filter-chip:hover {
  background: var(--brand-blue-light);
  color: var(--bg-0);
  border-color: var(--brand-blue-light);
  font-weight: 600;
}

.inspector-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.inspector-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(93, 183, 232, 0.15);
  border: 1px solid rgba(93, 183, 232, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-blue-light);
}

.inspector-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-0);
  margin: 0;
}

.inspector-cat {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-blue-light);
  margin: 2px 0 0;
}

.inspector-desc {
  font-size: 0.95rem;
  color: var(--ink-1);
  line-height: 1.6;
  margin: 0 0 20px;
}

.inspector-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.inspector-meta-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-2);
  margin-bottom: 4px;
}

.inspector-meta-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-0);
}

/* =========================================================
   HARDWARE SUBDOMAIN BANNER
   ========================================================= */
.hardware-subdomain-section {
  padding: 40px 0 20px;
}

.subdomain-card {
  background: linear-gradient(135deg, rgba(13, 71, 80, 0.4), rgba(8, 37, 44, 0.8));
  border: 1px solid rgba(93, 183, 232, 0.3);
  border-radius: 20px;
  padding: 38px 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.subdomain-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #e8c61b;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.subdomain-card h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--ink-0);
  margin: 0 0 12px;
  line-height: 1.2;
}

.subdomain-card p {
  color: var(--ink-1);
  line-height: 1.6;
  margin: 0;
  font-size: 0.96rem;
}

.subdomain-action-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 24px;
}

.subdomain-badge-url {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--brand-blue-light);
  font-weight: 600;
}

/* RESPONSIVE ADDITIONS */
@media (max-width: 900px) {
  .slide-item {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  .atomic-system-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .atom-stage {
    height: 380px;
  }
  .subdomain-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
  .design-preview-box {
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   FORO & BLOG DE COMUNIDAD TÉCNICA (SOFTWARE / HARDWARE)
   ========================================================= */
.forum-section {
  padding: 60px 0;
  position: relative;
}

.forum-topics-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 28px;
  scrollbar-width: thin;
}

.topic-tab-btn {
  background: rgba(13, 71, 80, 0.45);
  border: 1px solid var(--line);
  color: var(--ink-1);
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  text-align: left;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topic-tab-btn:hover {
  border-color: var(--brand-blue-light);
  color: var(--ink-0);
  background: rgba(13, 71, 80, 0.7);
}

.topic-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(93, 183, 232, 0.18), rgba(13, 71, 80, 0.9));
  border-color: var(--brand-blue-light);
  color: #fff;
  box-shadow: 0 4px 18px rgba(93, 183, 232, 0.15);
}

.topic-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(93, 183, 232, 0.15);
  color: var(--brand-blue-light);
  font-weight: 700;
}

.forum-main-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: flex-start;
}

.forum-thread-box {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.thread-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.thread-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-2);
}

.thread-title {
  font-size: 1.35rem;
  color: var(--ink-0);
  line-height: 1.3;
  margin: 0 0 10px;
}

.thread-desc {
  color: var(--ink-1);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

.comments-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comments-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.comments-count-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-blue-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comment-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(93, 183, 232, 0.15);
  border-radius: 12px;
  padding: 18px;
  transition: border-color 0.2s ease;
}

.comment-item:hover {
  border-color: rgba(93, 183, 232, 0.35);
}

.comment-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.comment-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d4750, #2e7bc4);
  border: 1px solid var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  font-family: var(--font-mono);
}

.comment-author-name {
  font-weight: 600;
  color: var(--ink-0);
  font-size: 0.92rem;
}

.comment-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
}

.comment-text {
  color: var(--ink-1);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  white-space: pre-line;
}

/* Panel Derecho: Formulario de Comentario */
.forum-form-box {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  position: sticky;
  top: 90px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.forum-form-title {
  font-size: 1.15rem;
  color: var(--ink-0);
  margin: 0 0 4px;
}

.forum-form-sub {
  font-size: 0.82rem;
  color: var(--ink-2);
  margin: 0 0 18px;
  line-height: 1.4;
}

.forum-input-group {
  margin-bottom: 14px;
}

.forum-input-group label {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--ink-2);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.forum-input-group input,
.forum-input-group textarea,
.forum-input-group select {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-0);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.forum-input-group input:focus,
.forum-input-group textarea:focus,
.forum-input-group select:focus {
  outline: none;
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 12px rgba(93, 183, 232, 0.2);
}

.forum-input-help {
  font-size: 0.72rem;
  color: var(--ink-2);
  margin-top: 5px;
  display: block;
}

.forum-security-card {
  background: rgba(93, 183, 232, 0.05);
  border: 1px dashed rgba(93, 183, 232, 0.3);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.76rem;
  color: var(--ink-1);
  line-height: 1.45;
}

.forum-security-card strong {
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
}

.forum-feedback {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  display: none;
}

.forum-feedback.is-success {
  display: block;
  background: rgba(39, 201, 63, 0.15);
  border: 1px solid rgba(39, 201, 63, 0.4);
  color: #27c93f;
}

.forum-feedback.is-error {
  display: block;
  background: rgba(255, 95, 86, 0.15);
  border: 1px solid rgba(255, 95, 86, 0.4);
  color: #ff5f56;
}

@media (max-width: 900px) {
  .forum-main-layout {
    grid-template-columns: 1fr;
  }
  .forum-form-box {
    position: static;
  }
}

/* =========================================================
   FOOTER ESTILO VREYESPSICOPEDAGOGA + BANNER INFERIOR
   ========================================================= */
.site-footer {
  background: #061f24;
  border-top: 1px solid var(--line);
  color: var(--ink-1);
  margin-top: 60px;
  position: relative;
  width: 100%;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 36px;
  padding: 50px 0 40px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-logo .footer-logo-img {
  max-height: 64px;
  width: auto;
  display: block;
}

.footer-tagline {
  color: var(--ink-1);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.footer-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--brand-blue-light);
  background: rgba(93, 183, 232, 0.08);
  border: 1px solid rgba(93, 183, 232, 0.2);
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
}

.footer-col-title {
  color: var(--ink-0);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.footer-col-hr {
  width: 32px;
  height: 2px;
  background: var(--brand-blue-light);
  border: none;
  margin: 0 0 16px;
}

.footer-links-list,
.footer-contact-list,
.footer-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list li a,
.footer-contact-list li a,
.footer-social-list li a {
  color: var(--ink-1);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list li a:hover,
.footer-contact-list li a:hover,
.footer-social-list li a:hover {
  color: var(--brand-blue-light);
  transform: translateX(3px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-1);
  line-height: 1.45;
}

.footer-contact-list li svg {
  color: var(--brand-blue-light);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Banner Inferior .ba-b idéntico al sitio de referencia */
.ba-b {
  background: #04161a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
}

.footer-bottom-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-copy-text {
  font-size: 0.82rem;
  color: var(--ink-2);
  margin: 0;
  font-family: inherit;
}

.footer-copy-text a {
  color: var(--brand-blue-light);
  text-decoration: none;
}

.footer-copy-text a:hover {
  text-decoration: underline;
}

/* =========================================================
   SECCIÓN DE PLANES Y PRECIOS TRANSPARENTES
   ========================================================= */
.plans-section {
  padding: 60px 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  height: 100%;
}

.plan-card:hover {
  border-color: var(--brand-blue-light);
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

/* Glow en el primer plan (Más utilizado por los clientes) */
.plan-card.is-popular {
  border-color: rgba(93, 183, 232, 0.75);
  background: linear-gradient(180deg, rgba(13, 71, 80, 0.45) 0%, var(--bg-1) 100%);
  box-shadow: 0 0 35px rgba(93, 183, 232, 0.3), 0 14px 40px rgba(0, 0, 0, 0.4);
}

.plan-card.is-popular:hover {
  border-color: #5db7e8;
  box-shadow: 0 0 45px rgba(93, 183, 232, 0.45), 0 18px 48px rgba(0, 0, 0, 0.5);
}

.plan-card.is-featured {
  border-color: rgba(232, 198, 27, 0.6);
  background: linear-gradient(180deg, rgba(232, 198, 27, 0.08) 0%, var(--bg-1) 100%);
  box-shadow: 0 14px 40px rgba(232, 198, 27, 0.12);
}

.plan-tag-top {
  position: absolute;
  top: -12px;
  left: 28px;
  background: linear-gradient(135deg, #5db7e8, #2e7bc4);
  color: #061f24;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* Selector móvil de planes (<= 776px) */
.plans-mobile-selector {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.plan-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--ink-1);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.plan-tab-btn.is-active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 18px rgba(93, 183, 232, 0.35);
}

.plan-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.plan-title {
  font-size: 1.35rem;
  color: var(--ink-0);
  margin: 0 0 8px;
  font-weight: 700;
}

.plan-desc {
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0 0 16px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
  line-height: 1;
}

.plan-price-period {
  font-size: 0.82rem;
  color: var(--ink-2);
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features-list li {
  font-size: 0.88rem;
  color: var(--ink-1);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.plan-features-list li .feat-check {
  color: #27c93f;
  font-weight: 700;
  flex-shrink: 0;
}

.plan-features-list li.feat-highlight {
  color: #eef7f8;
  font-weight: 600;
}

.plan-features-list li.feat-highlight .feat-check {
  color: var(--brand-blue-light);
}

.plan-support-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--brand-blue-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   NUEVA MATRIZ DE TECNOLOGÍAS ILUMINADA (SUAVE GLOW ON HOVER)
   ========================================================= */
.tech-matrix-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: flex-start;
  margin-top: 36px;
}

.tech-matrix-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

.tech-card-pill {
  background: rgba(13, 71, 80, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  text-align: left;
}

.tech-card-pill:hover,
.tech-card-pill.is-active {
  background: rgba(13, 71, 80, 0.75);
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 22px rgba(93, 183, 232, 0.35);
  transform: translateY(-2px);
}

.tech-pill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-pill-icon {
  font-size: 1.3rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
}

.tech-pill-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-2);
  text-transform: uppercase;
}

.tech-pill-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-0);
  margin: 0;
}

.tech-pill-role {
  font-size: 0.75rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.3;
}

.tech-details-panel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 90px;
}

.tech-panel-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-blue-light);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.tech-panel-title {
  font-size: 1.4rem;
  color: var(--ink-0);
  margin: 0 0 12px;
}

.tech-panel-desc {
  font-size: 0.92rem;
  color: var(--ink-1);
  line-height: 1.6;
  margin: 0 0 20px;
}

.tech-panel-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
}

.tech-panel-box-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-2);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tech-panel-box-val {
  font-size: 0.86rem;
  color: #fff;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .tech-matrix-wrap {
    grid-template-columns: 1fr;
  }
  .tech-details-panel {
    position: static;
  }
}

@media (max-width: 776px) {
  .plans-mobile-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .plan-card {
    display: none;
  }
  .plan-card.mobile-active {
    display: flex;
    animation: planCardFade .3s ease forwards;
  }
}

@keyframes planCardFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* =========================================================
   TERMINAL PERFIL DESARROLLADOR (NOSOTROS HERO)
   ========================================================= */
.dev-profile-terminal {
  width: 100%;
  max-width: 440px;
  background: rgba(8, 25, 36, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(93, 183, 232, 0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.dev-profile-terminal:hover {
  border-color: rgba(93, 183, 232, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(93, 183, 232, 0.18);
}
.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}
.terminal-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.t-red { background: #FF5F56; }
.t-amber { background: #FFBD2E; }
.t-green { background: #27C93F; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 7px;
  background: rgba(39, 201, 63, 0.15);
  border: 1px solid rgba(39, 201, 63, 0.4);
  color: #27C93F;
  border-radius: 999px;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.terminal-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.terminal-header-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dev-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #09374c, #165b7d);
  border: 2px solid var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(93, 183, 232, 0.25);
}
.dev-avatar-initials {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}
.dev-meta .dev-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-0);
  margin: 0 0 3px;
  line-height: 1.2;
}
.dev-meta .dev-role {
  font-size: 0.82rem;
  color: var(--brand-blue-light);
  margin: 0 0 2px;
  font-family: var(--font-mono);
}
.dev-meta .dev-location {
  font-size: 0.75rem;
  color: var(--ink-2);
  margin: 0;
}
.terminal-code-block {
  background: rgba(4, 14, 20, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.55;
}
.code-line {
  margin: 0;
}
.code-indent {
  padding-left: 14px;
}
.code-keyword { color: #E06C75; }
.code-var { color: #E5C07B; }
.code-str { color: #98C379; }
.code-comment { color: var(--ink-2); font-style: normal; }
.dev-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.dev-stat-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}
.dev-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  line-height: 1.1;
}
.dev-stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.terminal-footer-links {
  display: flex;
  gap: 10px;
}
.term-btn {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--ink-0);
  background: rgba(93, 183, 232, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  text-decoration: none;
  transition: all .2s ease;
}
.term-btn:hover {
  background: rgba(93, 183, 232, 0.18);
  border-color: var(--brand-blue-light);
  color: var(--brand-blue-light);
}
/* =========================================================
   ULTRA DESK — nosotros.css
   Estilos dedicados para la página "Acerca de" (nosotros.html):
   - Hero Section del perfil profesional & Ultra Desk
   - Terminal y ficha interactiva de Guillermo Reyes Campos
   - Timeline interactivo de experiencia laboral & formación
   - Cuadrícula de valor agregado y diferenciales
   - Sección de testimonios dinámicos con filtros por categoría
   ========================================================= */

/* Hero Section */
.about-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 60px 0 40px;
}

.about-hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.about-spec-badge {
  background: rgba(93, 183, 232, 0.1);
  border: 1px solid rgba(93, 183, 232, 0.28);
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Tarjeta Terminal del Desarrollador */
.about-terminal-card {
  background: var(--bg-1);
  border: 1px solid rgba(93, 183, 232, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-terminal-card:hover {
  border-color: var(--brand-blue-light);
  transform: translateY(-4px);
}

.term-topbar {
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.term-dots {
  display: flex;
  gap: 7px;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.term-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-photo-wrap {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d4750, #2e7bc4);
  border: 2px solid var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(93, 183, 232, 0.3);
  flex-shrink: 0;
}

.profile-meta-title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: var(--ink-0);
}

.profile-meta-sub {
  margin: 0;
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.profile-meta-loc {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--ink-2);
}

.code-snippet-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  color: #abb2bf;
}

.code-kw { color: #c678dd; }
.code-var { color: #e06c75; }
.code-str { color: #98c379; }
.code-cmt { color: #5c6370; font-style: italic; }

.term-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.term-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.term-stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  font-family: var(--font-mono);
}

.term-stat-lbl {
  font-size: 0.7rem;
  color: var(--ink-2);
}

.term-links-row {
  display: flex;
  gap: 10px;
}

.term-action-btn {
  flex: 1;
  text-align: center;
  background: rgba(93, 183, 232, 0.08);
  border: 1px solid rgba(93, 183, 232, 0.25);
  color: var(--ink-0);
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  text-decoration: none;
  transition: all 0.2s ease;
}

.term-action-btn:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue-light);
}

/* Timeline Interactivo de Trayectoria */
.timeline-section {
  padding: 60px 0;
}

.timeline-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-blue-light), rgba(93, 183, 232, 0.05));
}

.timeline-card {
  position: relative;
  margin-left: 64px;
  margin-bottom: 34px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.timeline-card:hover {
  border-color: rgba(93, 183, 232, 0.4);
  transform: translateX(4px);
}

.timeline-marker {
  position: absolute;
  top: 24px;
  left: -48px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(93, 183, 232, 0.5);
}

.timeline-marker-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue-light);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-role {
  font-size: 1.15rem;
  color: var(--ink-0);
  margin: 0;
  font-weight: 700;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand-blue-light);
  background: rgba(93, 183, 232, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}

.timeline-company {
  color: var(--ink-1);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.timeline-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.6;
}

.timeline-list li {
  margin-bottom: 6px;
}

/* Diferenciales & Filosofía */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.diff-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: all 0.25s ease;
}

.diff-card:hover {
  border-color: var(--brand-blue-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(93, 183, 232, 0.15);
}

.diff-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.diff-title {
  font-size: 1.1rem;
  color: var(--ink-0);
  margin: 0 0 10px;
}

.diff-desc {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* Sección de Testimonios Dinámicos */
.testimonials-section {
  padding: 60px 0;
}

.testimonials-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.testi-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink-1);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testi-filter-btn:hover {
  border-color: var(--brand-blue-light);
  color: var(--brand-blue-light);
}

.testi-filter-btn.is-active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 15px rgba(93, 183, 232, 0.3);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.testi-card:hover {
  border-color: rgba(93, 183, 232, 0.45);
  transform: translateY(-4px);
}

.testi-stars {
  color: #f5a623;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testi-quote {
  color: var(--ink-1);
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 18px;
}

.testi-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d4750, #2e7bc4);
  border: 1px solid var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  flex-shrink: 0;
}

.testi-author-name {
  font-weight: 700;
  color: var(--ink-0);
  font-size: 0.92rem;
  margin: 0;
}

.testi-author-role {
  color: var(--ink-2);
  font-size: 0.78rem;
  margin: 0;
}

.testi-tag-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(93, 183, 232, 0.1);
  color: var(--brand-blue-light);
  align-self: flex-start;
  margin-bottom: 12px;
}

/* Responsividad */
@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
  .timeline-container::before {
    left: 14px;
  }
  .timeline-marker {
    left: -34px;
    width: 20px;
    height: 20px;
  }
  .timeline-card {
    margin-left: 44px;
  }
}
