:root {
  color-scheme: dark;
  --bg: #050b14;
  --bg-2: #071222;
  --bg-3: #0b172a;
  --surface: rgba(11, 22, 40, 0.88);
  --surface-2: rgba(16, 31, 56, 0.88);
  --surface-3: rgba(8, 16, 30, 0.94);
  --line: rgba(132, 170, 255, 0.16);
  --line-strong: rgba(72, 155, 255, 0.3);
  --ink: #ecf4ff;
  --muted: #a8bfdc;
  --muted-2: #7f9bc1;
  --blue: #0078d7;
  --blue-2: #1e90ff;
  --blue-3: #45b8ff;
  --cyan: #6bd8ff;
  --glow: 0 20px 60px rgba(0, 120, 215, 0.22);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max: 1480px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 120, 215, 0.18), transparent 28%),
    radial-gradient(circle at 90% 2%, rgba(69, 184, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #03070f 0%, #07111f 40%, #050b14 100%);
  overflow-x: hidden;
}
body.lightbox-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.shell {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
}
.section-block {
  padding-top: 88px;
  padding-bottom: 20px;
}
.guide-section { scroll-margin-top: 88px; }

.page-orbit {
  position: fixed;
  inset: auto;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .18;
  z-index: 0;
}
.page-orbit-a { top: 180px; right: -160px; background: radial-gradient(circle, rgba(0, 120, 215, .8), transparent 72%); }
.page-orbit-b { bottom: 120px; left: -140px; background: radial-gradient(circle, rgba(69, 184, 255, .65), transparent 74%); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue-2));
  box-shadow: 0 0 16px rgba(69, 184, 255, 0.8);
}

.guide-topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 0 28px;
  background: rgba(3, 9, 18, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(120, 160, 220, 0.12);
}
.guide-brand img {
  width: auto;
  height: 42px;
  object-fit: contain;
}
.guide-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.guide-nav a {
  position: relative;
  color: rgba(225, 236, 255, 0.82);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.guide-nav a:hover,
.guide-nav a.active {
  color: #fff;
  background: rgba(0, 120, 215, 0.18);
  transform: translateY(-1px);
}
.guide-nav a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-2));
}
.back-to-viewer,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  padding: 14px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 18px 36px rgba(0, 120, 215, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.back-to-viewer:hover,
.primary-cta:hover { transform: translateY(-2px); filter: brightness(1.04); }
.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #d7e8ff;
  font-weight: 800;
}
.play-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 120, 215, .18);
  border: 1px solid rgba(69, 184, 255, .35);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  padding: 76px 0 48px;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: .22;
  filter: saturate(.85) contrast(1.05) brightness(.5);
}
.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 9, 18, .95) 0%, rgba(3, 9, 18, .86) 34%, rgba(3, 9, 18, .5) 64%, rgba(3, 9, 18, .84) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(5,11,20,.6) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(520px, 1.28fr);
  gap: 44px;
  align-items: center;
}
.hero-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(69, 184, 255, 0.22);
  background: rgba(0, 120, 215, 0.12);
  color: #92ddff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(56px, 7vw, 106px);
  line-height: .94;
  letter-spacing: -.065em;
}
.hero-copy p {
  max-width: 580px;
  margin: 26px 0 0;
  color: #d7e8ff;
  font-size: clamp(18px, 2.15vw, 28px);
  line-height: 1.38;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-stage {
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .15s ease;
}
.hero-main-card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(134, 172, 245, 0.16);
  background: rgba(6, 16, 28, 0.86);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(90, 140, 255, 0.08);
}
.hero-main-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.08), transparent 22%, transparent 70%, rgba(69,184,255,.12));
  pointer-events: none;
  z-index: 2;
}
.hero-main-card img {
  width: 100%;
  aspect-ratio: 16 / 9.35;
  object-fit: contain;
  background: rgba(2, 8, 18, 0.62);
}
.hero-callout,
.image-tip {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(69, 184, 255, 0.24);
  background: rgba(5, 14, 28, 0.86);
  color: #ecf4ff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
}
.hero-callout::before,
.image-tip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(107, 216, 255, 0.12);
}
.callout-a { top: 9%; left: 3%; }
.callout-b { top: 8%; left: 45%; }
.callout-c { top: 14%; right: 3%; }
.callout-d { bottom: 6%; left: 42%; }

.hero-benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.hero-benefits article {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto auto;
  gap: 3px 14px;
  align-items: center;
  padding: 18px 18px;
  background: rgba(6, 16, 28, 0.74);
  border: 1px solid rgba(128, 165, 233, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}
.hero-benefits span {
  grid-row: span 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a2e8ff;
  background: rgba(0, 120, 215, 0.14);
  border: 1px solid rgba(69, 184, 255, 0.22);
}
.hero-benefits strong { font-size: 15px; }
.hero-benefits small { color: #a9bfd9; line-height: 1.35; }

.section-head { max-width: 820px; margin-bottom: 30px; }
.section-head h2,
.split-copy h2,
.module-copy h2,
.final-cta h2,
.journey-copy h3 {
  margin: 0 0 12px;
  color: #f0f7ff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.journey-copy h3 { font-size: clamp(28px, 3vw, 42px); }
.section-head p,
.split-copy p,
.module-copy p,
.final-cta p,
.journey-copy p { color: var(--muted); line-height: 1.65; font-size: 17px; }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}
.overview-card,
.module-card-panel,
.visual-frame,
.side-note,
.journey-item,
.final-cta,
.split-section {
  border-radius: var(--radius-md);
}
.overview-card {
  position: relative;
  padding: 20px;
  background: linear-gradient(180deg, rgba(12, 23, 41, 0.92), rgba(9, 17, 30, 0.95));
  border: 1px solid rgba(132, 170, 255, 0.12);
  box-shadow: var(--shadow);
}
.card-number,
.journey-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 10px 22px rgba(0, 120, 215, 0.22);
}
.overview-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  line-height: 1.1;
}
.overview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}
.card-media,
.visual-frame,
.hero-main-card {
  cursor: zoom-in;
}
.card-media {
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  background: rgba(4, 11, 20, 0.8);
  border: 1px solid rgba(132, 170, 255, 0.1);
  border-radius: 18px;
  position: relative;
}
.card-media img,
.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}
.card-media img {
  height: 190px;
  object-fit: contain;
  object-position: center;
}
.card-media.header-shot img { height: 118px; }
.card-media.wide-shot img { height: 170px; }
.card-media.portrait-shot img { height: 230px; }
.image-tip {
  top: 12px;
  right: 12px;
  transform: none;
  padding: 7px 10px;
  font-size: 11px;
}

.journey-section { padding-top: 56px; }
.journey-list {
  position: relative;
  display: grid;
  gap: 28px;
}
.journey-list::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(69, 184, 255, 0.4), rgba(69, 184, 255, 0));
}
.journey-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, .6fr) minmax(360px, 1fr);
  gap: 26px;
  padding: 28px 28px 28px 78px;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.92), rgba(8, 15, 28, 0.97));
  border: 1px solid rgba(132, 170, 255, 0.12);
  box-shadow: var(--shadow);
}
.journey-item::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #06111f;
  border: 4px solid var(--blue-2);
  box-shadow: 0 0 0 6px rgba(0, 120, 215, 0.12);
}
.journey-number { margin-bottom: 12px; }
.journey-visual,
.split-visual,
.property-gallery,
.dual-module { min-width: 0; }
.two-up,
.toolbar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  align-items: stretch;
}
.wide-visual { grid-template-columns: minmax(0, 1fr) 240px; }
.gallery-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.visual-frame {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 12px;
  background: linear-gradient(180deg, rgba(13, 26, 48, 0.94), rgba(8, 16, 31, 0.96));
  border: 1px solid rgba(140, 178, 248, 0.14);
  box-shadow: var(--glow), var(--shadow);
}
.visual-frame img { min-height: 100%; max-height: 100%; }
.visual-frame.tall img { max-height: 620px; object-fit: contain; }
.visual-frame.emphasis img { max-height: 580px; object-fit: contain; }
.side-note {
  padding: 22px;
  background: linear-gradient(180deg, rgba(10, 24, 44, 0.86), rgba(8, 18, 32, 0.94));
  border: 1px solid rgba(132, 170, 255, 0.12);
}
.side-note h4 { margin: 0 0 12px; font-size: 20px; color: #cfe9ff; }
.side-note p { margin: 0; color: var(--muted); line-height: 1.7; }

.feature-list,
.check-list,
.compact { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li,
.check-list li,
.compact li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.6;
}
.feature-list li::before,
.check-list li::before,
.compact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue-2));
  box-shadow: 0 0 0 5px rgba(69, 184, 255, 0.08);
}
.tool-pill-grid,
.config-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.tool-pill-grid span,
.config-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  color: #d8ebff;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(132, 170, 255, 0.12);
  background: rgba(14, 28, 48, 0.75);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, .7fr) minmax(380px, 1.3fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.92), rgba(8, 15, 28, 0.97));
  border: 1px solid rgba(132, 170, 255, 0.12);
  box-shadow: var(--shadow);
}
.split-section.reverse { grid-template-columns: minmax(380px, 1.3fr) minmax(320px, .7fr); }
.split-section.reverse .split-copy { order: 2; }
.property-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 16px;
}
.mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dual-module {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.module-card-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.92), rgba(8, 15, 28, 0.97));
  border: 1px solid rgba(132, 170, 255, 0.12);
  box-shadow: var(--shadow);
}
.module-copy h2 { font-size: clamp(28px, 3vw, 42px); }

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 72px;
  margin-bottom: 20px;
  padding: 28px 32px;
  background: linear-gradient(90deg, rgba(5, 16, 30, 0.95), rgba(7, 25, 48, 0.95));
  border: 1px solid rgba(69, 184, 255, 0.14);
  box-shadow: var(--shadow);
}
.cta-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cta-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 30px;
  background: linear-gradient(135deg, rgba(0, 120, 215, .28), rgba(69,184,255,.18));
  border: 1px solid rgba(69, 184, 255, 0.24);
}
.final-cta h2 { font-size: clamp(28px, 3.1vw, 42px); margin-bottom: 6px; }
.final-cta p { margin: 0; }

.guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 38px;
  color: var(--muted-2);
  font-size: 14px;
}
.guide-footer img { height: 32px; width: auto; object-fit: contain; }
.guide-footer a { color: #9fd8ff; text-decoration: none; font-weight: 700; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.78);
  backdrop-filter: blur(10px);
}
.lightbox-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(96vw, 1600px);
  height: min(94vh, 1100px);
  margin: 3vh auto;
  border-radius: 28px;
  border: 1px solid rgba(132, 170, 255, 0.16);
  background: rgba(7, 14, 27, 0.96);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.56);
  overflow: hidden;
}
.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(132, 170, 255, 0.12);
  background: rgba(6, 14, 24, 0.92);
}
.lightbox-caption-wrap strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}
.lightbox-caption-wrap span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  max-width: 900px;
}
.lightbox-actions { display: flex; align-items: center; gap: 10px; }
.lightbox-btn {
  border: 1px solid rgba(132, 170, 255, 0.14);
  background: rgba(14, 27, 48, 0.88);
  color: #eaf5ff;
  min-width: 48px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}
.lightbox-btn.close { min-width: 54px; }
.lightbox-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(2, 8, 16, 0.35), rgba(2, 8, 16, 0.65)),
    radial-gradient(circle at 50% 50%, rgba(14, 33, 58, 0.8), rgba(3, 8, 16, 1));
  cursor: grab;
}
.lightbox-stage.dragging { cursor: grabbing; }
.lightbox-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  max-height: none;
  user-select: none;
  pointer-events: none;
  transform-origin: center center;
  transform: translate(-50%, -50%) translate(0, 0) scale(1);
  will-change: transform;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.lightbox-help {
  padding: 12px 18px 16px;
  color: var(--muted-2);
  font-size: 13px;
  border-top: 1px solid rgba(132, 170, 255, 0.1);
}

.reveal-up,
.reveal-scale,
.overview-card,
.journey-item,
.split-section,
.module-card-panel,
.final-cta {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-scale { transform: scale(.96); }
.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1500px) {
  .overview-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1300px) {
  .overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 860px; }
}

@media (max-width: 1080px) {
  .journey-item,
  .split-section,
  .split-section.reverse,
  .dual-module,
  .property-gallery,
  .two-up,
  .wide-visual,
  .toolbar-layout {
    grid-template-columns: 1fr;
  }
  .mini-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-list::before { left: 20px; }
  .journey-item { padding-left: 64px; }
}

@media (max-width: 820px) {
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .guide-topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding: 14px;
  }
  .guide-nav { justify-content: flex-start; overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: 4px; }
  .hero { padding-top: 40px; }
  .hero-benefits,
  .overview-grid,
  .gallery-three,
  .mini-gallery { grid-template-columns: 1fr; }
  .final-cta,
  .cta-copy,
  .guide-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .lightbox-panel {
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
  }
  .lightbox-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Paso a paso - mejoras v5 */
.step-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #9bdfff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0, 120, 215, .12);
  border: 1px solid rgba(69, 184, 255, .24);
}
.feature-step-wide {
  grid-template-columns: minmax(340px, .52fr) minmax(620px, 1.48fr);
}
.config-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.annotated-shot {
  min-height: 620px;
}
.annotated-shot img {
  object-fit: contain;
  object-position: center;
  max-height: 680px;
}
.annotation-dot {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 0 5px rgba(30, 144, 255, .13), 0 10px 24px rgba(0,0,0,.35);
}
.annotation-label {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  padding: 8px 11px;
  border-radius: 12px;
  color: #eaf7ff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  background: rgba(3, 12, 24, .86);
  border: 1px solid rgba(69, 184, 255, .24);
  box-shadow: 0 14px 30px rgba(0,0,0,.32);
  backdrop-filter: blur(8px);
}
.dot-a { top: 25%; right: 14%; }
.label-a { top: 22%; right: 22%; }
.dot-b { top: 46%; right: 17%; }
.label-b { top: 43%; right: 25%; }
.dot-c { bottom: 21%; right: 12%; }
.label-c { bottom: 17%; right: 20%; }
.step-flow {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.step-flow span {
  position: relative;
  display: block;
  padding: 12px 14px 12px 42px;
  border-radius: 14px;
  color: #dcefff;
  font-weight: 800;
  background: rgba(12, 25, 44, .8);
  border: 1px solid rgba(132, 170, 255, .12);
}
.step-flow span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(69,184,255,.1);
}
.load-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 48px minmax(240px, .65fr);
  gap: 16px;
  align-items: center;
}
.workflow-shot {
  min-height: 360px;
}
.workflow-shot img {
  object-fit: contain;
  object-position: center;
  max-height: 480px;
}
.compact-workflow-shot {
  min-height: 360px;
}
.workflow-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 18px 34px rgba(0,120,215,.22);
}
.workflow-badge,
.result-chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 5;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0, 120, 215, .88);
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
}
.badge-right { left: auto; right: 18px; }
.panel-demo {
  display: grid;
  grid-template-columns: minmax(260px, .38fr) minmax(520px, 1.62fr);
  gap: 18px;
  align-items: stretch;
}
.panel-side-shot {
  min-height: 540px;
}
.panel-side-shot img {
  object-fit: contain;
  object-position: center;
  max-height: 620px;
}
.panel-result-shot {
  min-height: 540px;
}
.panel-result-shot img {
  object-fit: contain;
  object-position: center;
  max-height: 620px;
}
.panel-label-top { top: 15%; left: 10%; }
.panel-label-mid { top: 38%; left: 10%; }
.panel-label-bottom { bottom: 16%; left: 10%; }
.result-chip { left: auto; right: 18px; bottom: 18px; background: rgba(5, 14, 28, .88); border: 1px solid rgba(69,184,255,.28); }

@media (max-width: 1080px) {
  .feature-step-wide,
  .config-showcase,
  .load-workflow,
  .panel-demo {
    grid-template-columns: 1fr;
  }
  .workflow-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
  .annotated-shot,
  .workflow-shot,
  .panel-side-shot,
  .panel-result-shot {
    min-height: 320px;
  }
}

/* Visor 3D - herramientas detalladas */
.visitor3d-placeholder { display: none; }
.visor3d-tools-section {
  grid-template-columns: 1fr;
  gap: 24px;
}
.viewer-tools-intro {
  max-width: 980px;
}
.shortcut-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.shortcut-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #d9ecff;
  background: rgba(9, 22, 42, 0.86);
  border: 1px solid rgba(107, 216, 255, 0.16);
}
.shortcut-legend strong,
.shortcut-badge {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 10px 22px rgba(0, 120, 215, 0.22);
  white-space: nowrap;
}
.shortcut-badge.muted {
  color: #c8ddf7;
  background: rgba(64, 83, 112, 0.86);
  border: 1px solid rgba(160, 190, 240, 0.16);
  box-shadow: none;
}
.viewer-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.viewer-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 25, 45, 0.94), rgba(7, 15, 29, 0.97));
  border: 1px solid rgba(132, 170, 255, 0.13);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}
.viewer-tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(69, 184, 255, 0.08), transparent 34%, transparent 72%, rgba(0, 120, 215, 0.08));
}
.tool-card-wide { grid-column: span 2; }
.tool-card-measure { grid-column: span 3; }
.tool-card-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: start;
}
.tool-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), #0069c8);
  border: 1px solid rgba(148, 210, 255, 0.28);
  box-shadow: 0 14px 30px rgba(0, 120, 215, 0.26);
}
.tool-card-head h4 {
  margin: 0 0 7px;
  color: #f3f8ff;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.tool-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.tool-media {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 260px;
  padding: 10px;
  border: 1px solid rgba(140, 178, 248, 0.13);
  border-radius: 18px;
  background: rgba(3, 10, 20, 0.72);
  overflow: hidden;
  cursor: zoom-in;
}
.tool-media img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}
.tool-card-wide .tool-media img { height: 315px; }
.tool-card-measure .tool-media img { height: 290px; }
.tool-mini-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}
.tool-mini-gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-mini-gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1300px) {
  .viewer-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card-measure { grid-column: span 2; }
}

@media (max-width: 900px) {
  .viewer-tools-grid,
  .tool-mini-gallery.two,
  .tool-mini-gallery.three { grid-template-columns: 1fr; }
  .tool-card-wide,
  .tool-card-measure { grid-column: span 1; }
  .tool-card-head { grid-template-columns: 52px 1fr; }
  .shortcut-badge { grid-column: 2; width: fit-content; }
  .tool-media img,
  .tool-card-wide .tool-media img,
  .tool-card-measure .tool-media img { height: 260px; }
}


/* Iconos reales del toolbar del visor */
.tool-icon-real {
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.tool-icon-real img {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 120, 215, 0.28));
}
.tool-icon-key {
  font-size: 18px;
  letter-spacing: .04em;
  font-family: inherit;
}

/* Panel de propiedades - sección mejorada */
.properties-walkthrough {
  display: block;
}
.properties-head {
  max-width: 980px;
}
.properties-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}
.property-hero-shot {
  min-height: 520px;
}
.property-hero-shot img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: contain;
  object-position: center;
}
.properties-summary-card,
.property-feature-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 25, 45, 0.94), rgba(7, 15, 29, 0.97));
  border: 1px solid rgba(132, 170, 255, 0.13);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.properties-summary-card {
  padding: 26px;
}
.properties-summary-card::after,
.property-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(69, 184, 255, 0.08), transparent 36%, transparent 74%, rgba(0, 120, 215, 0.08));
}
.properties-summary-card h3,
.property-feature-copy h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #f3f8ff;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.properties-summary-card .feature-list {
  position: relative;
  z-index: 1;
}
.properties-feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.property-feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 16px;
  padding: 18px;
  grid-column: span 2;
}
.property-feature-card.tall-card {
  grid-column: span 2;
  grid-row: span 2;
}
.property-feature-card.wide-card {
  grid-column: span 4;
}
.property-feature-copy {
  position: relative;
  z-index: 1;
}
.property-feature-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}
.property-feature-card .visual-frame {
  position: relative;
  z-index: 1;
  flex: 1;
}
.property-mini-shot img {
  height: 230px;
  object-fit: contain;
  object-position: center;
}
.property-tall-shot img {
  height: 690px;
  object-fit: contain;
  object-position: center top;
}
.property-wide-shot img {
  height: 480px;
  object-fit: contain;
  object-position: center;
}
.property-label-top { top: 58%; left: 38%; }
.property-label-side { top: 18%; right: 4%; }

/* Iconos SVG limpios del visor: fondo azul sin márgenes blancos */
.tool-icon-svg {
  overflow: hidden;
  background: linear-gradient(135deg, #0788ed, #006dcc);
  border: 1px solid rgba(148, 210, 255, 0.3);
  box-shadow: 0 14px 30px rgba(0, 120, 215, 0.26);
}
.tool-icon-svg svg {
  width: 28px;
  height: 28px;
  display: block;
  stroke: #fff;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-icon-svg svg .fill-half {
  fill: rgba(255, 255, 255, 0.28);
  stroke: none;
}
.tool-icon-svg svg rect {
  rx: 1px;
}
.tool-icon-real {
  overflow: hidden;
  background: linear-gradient(135deg, #0788ed, #006dcc) !important;
  border: 1px solid rgba(148, 210, 255, 0.3) !important;
  box-shadow: 0 14px 30px rgba(0, 120, 215, 0.26) !important;
}
.tool-icon-real img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  filter: none !important;
}

@media (max-width: 1300px) {
  .properties-hero-grid { grid-template-columns: 1fr; }
  .properties-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-feature-card,
  .property-feature-card.tall-card,
  .property-feature-card.wide-card { grid-column: span 1; grid-row: span 1; }
  .property-tall-shot img,
  .property-wide-shot img { height: 430px; }
}

@media (max-width: 820px) {
  .properties-feature-grid { grid-template-columns: 1fr; }
  .property-hero-shot { min-height: 320px; }
  .property-hero-shot img,
  .property-mini-shot img,
  .property-tall-shot img,
  .property-wide-shot img { height: 280px; max-height: 360px; }
}

/* Panel Datos - guía detallada */
.data-panel-section {
  position: relative;
}
.data-panel-head {
  max-width: 1080px;
}
.data-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, .65fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}
.data-hero-shot {
  min-height: 420px;
}
.data-hero-shot img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
}
.data-summary-card,
.data-module-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 25, 45, 0.94), rgba(7, 15, 29, 0.97));
  border: 1px solid rgba(132, 170, 255, 0.13);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}
.data-summary-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.data-summary-card::after,
.data-module-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(69, 184, 255, 0.08), transparent 34%, transparent 72%, rgba(0, 120, 215, 0.08));
}
.data-summary-card h3,
.data-card-copy h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #f3f8ff;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.data-summary-card p,
.data-card-copy p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}
.data-capability-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.data-capability-list span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  color: #d9ecff;
  font-weight: 800;
  font-size: 12px;
  background: rgba(0, 120, 215, 0.14);
  border: 1px solid rgba(107, 216, 255, 0.18);
}
.data-module-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.data-module-card {
  grid-column: span 3;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.data-module-card.wide-card { grid-column: span 3; }
.data-module-card.full-card { grid-column: span 6; }
.data-card-copy {
  position: relative;
  z-index: 1;
}
.data-module-card .visual-frame,
.data-gallery {
  position: relative;
  z-index: 1;
}
.data-gallery {
  display: grid;
  gap: 14px;
}
.data-gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.data-gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.table-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.data-small-shot img,
.data-tree-shot img,
.data-table-shot img,
.data-visual-shot img {
  width: 100%;
  object-fit: contain;
  object-position: center;
}
.data-small-shot img { height: 260px; }
.data-tree-shot img { height: 430px; }
.data-table-shot img { height: 260px; }
.data-visual-shot img { height: 430px; }
.data-gallery .visual-frame {
  min-height: unset;
  padding: 10px;
}
.data-gallery .image-tip {
  right: 16px;
  bottom: 16px;
}

@media (max-width: 1280px) {
  .data-hero-grid { grid-template-columns: 1fr; }
  .data-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-module-card,
  .data-module-card.wide-card,
  .data-module-card.full-card { grid-column: span 1; }
  .data-gallery.three,
  .table-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .data-module-grid,
  .data-gallery.two,
  .data-gallery.three,
  .table-gallery { grid-template-columns: 1fr; }
  .data-hero-shot { min-height: 260px; }
  .data-hero-shot img,
  .data-small-shot img,
  .data-tree-shot img,
  .data-table-shot img,
  .data-visual-shot img { height: 260px; max-height: 320px; }
}


/* ===== Guía profesional: storytelling, anotaciones, carruseles y timeline ===== */
.pro-story-section {
  position: relative;
  overflow: hidden;
}
.pro-story-section::before {
  content: "";
  position: absolute;
  inset: 40px -120px auto;
  height: 560px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 120, 215, .22), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(107, 216, 255, .14), transparent 28%);
  filter: blur(8px);
  pointer-events: none;
  opacity: .8;
}
.story-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(520px, 1.32fr);
  gap: 26px;
  align-items: stretch;
  padding: 24px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(13, 28, 52, .96), rgba(4, 11, 22, .95)),
    radial-gradient(circle at 70% 0%, rgba(0, 120, 215, .18), transparent 36%);
  border: 1px solid rgba(120, 180, 255, .18);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.story-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.65), transparent 72%);
  pointer-events: none;
}
.story-copy,
.story-carousel,
.data-summary-card,
.data-module-card {
  transform-style: preserve-3d;
}
.story-copy {
  position: relative;
  z-index: 2;
  padding: 24px;
  border-radius: 28px;
  background: rgba(4, 12, 23, .46);
  border: 1px solid rgba(132, 170, 255, .12);
}
.story-badge,
.note-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #dff5ff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0, 120, 215, .18);
  border: 1px solid rgba(107, 216, 255, .24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.story-copy h3 {
  margin: 18px 0 14px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: .98;
  letter-spacing: -.055em;
  color: #f5f9ff;
}
.story-copy p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}
.bim-timeline {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.bim-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(107,216,255,.18), rgba(30,144,255,.72), rgba(107,216,255,.14));
}
.timeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid rgba(132, 170, 255, .13);
  border-radius: 18px;
  background: rgba(7, 16, 30, .7);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.timeline-step span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #0078d7, #28a5ff);
  box-shadow: 0 10px 28px rgba(0, 120, 215, .32);
}
.timeline-step strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}
.timeline-step small {
  display: block;
  color: var(--muted);
  line-height: 1.35;
}
.timeline-step:hover,
.timeline-step.is-active {
  transform: translateX(8px);
  border-color: rgba(107, 216, 255, .48);
  background: linear-gradient(135deg, rgba(0, 120, 215, .22), rgba(12, 26, 47, .92));
  box-shadow: 0 18px 42px rgba(0, 120, 215, .18);
}
.timeline-step.is-active span {
  animation: pulseGlow 1.9s ease-in-out infinite;
}
.story-carousel {
  position: relative;
  z-index: 2;
  min-height: 620px;
  border-radius: 30px;
  background: rgba(4, 11, 20, .72);
  border: 1px solid rgba(132, 170, 255, .14);
  overflow: hidden;
}
.carousel-viewport {
  position: relative;
  height: 100%;
  min-height: 620px;
}
.story-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
  gap: 16px;
  padding: 18px;
  opacity: 0;
  transform: translateX(26px) scale(.985);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.78,.2,1);
}
.story-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.story-shot {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #dfe8f6);
}
.story-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 5.8s ease;
}
.story-slide.is-active .story-shot img {
  transform: scale(1.035);
}
.slide-copy {
  padding: 20px 22px 24px;
  border-radius: 22px;
  background: rgba(8, 18, 34, .92);
  border: 1px solid rgba(132, 170, 255, .12);
}
.slide-copy h4 {
  margin: 8px 0 8px;
  font-size: 25px;
  line-height: 1.05;
  color: #f5f9ff;
  letter-spacing: -.035em;
}
.slide-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.carousel-controls {
  position: absolute;
  z-index: 5;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.carousel-btn,
.carousel-dot {
  pointer-events: auto;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
  background: linear-gradient(135deg, #006fc8, #1c9cff);
  box-shadow: 0 16px 34px rgba(0,120,215,.28);
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.carousel-btn:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.08); }
.carousel-dots {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(4, 11, 20, .74);
  border: 1px solid rgba(132, 170, 255, .16);
  backdrop-filter: blur(10px);
}
.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(166, 196, 230, .45);
  cursor: pointer;
  transition: width .25s ease, background .25s ease, box-shadow .25s ease;
}
.carousel-dot.is-active {
  width: 30px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(107,216,255,.55);
}
.floating-note {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 190px;
  padding: 10px 13px;
  border-radius: 999px;
  color: #f3fbff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(5, 15, 29, .84);
  border: 1px solid rgba(107, 216, 255, .34);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .34);
  backdrop-filter: blur(12px);
  animation: floatY 3.2s ease-in-out infinite;
}
.floating-note::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(107,216,255,.85);
}
.note-top { left: 22px; top: 20px; }
.note-right { right: 22px; top: 42%; animation-delay: .45s; }
.note-left { left: 22px; top: 46%; animation-delay: .25s; }
.note-bottom { left: 32px; bottom: 118px; animation-delay: .8s; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.benefit-tile {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 29, 52, .9), rgba(7, 14, 27, .96));
  border: 1px solid rgba(132, 170, 255, .14);
  box-shadow: 0 22px 54px rgba(0,0,0,.28);
}
.benefit-tile::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 90px;
  background: radial-gradient(circle, rgba(0,120,215,.22), transparent 72%);
  pointer-events: none;
}
.benefit-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 22px;
  background: rgba(0, 120, 215, .2);
  border: 1px solid rgba(107,216,255,.28);
  margin-bottom: 14px;
}
.benefit-tile h3 {
  margin: 0 0 8px;
  color: #f2f8ff;
  font-size: 18px;
  line-height: 1.15;
}
.benefit-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.annotated-overview {
  display: grid;
  grid-template-columns: minmax(520px, 1.25fr) minmax(280px, .58fr);
  gap: 22px;
  margin: 0 0 24px;
  align-items: stretch;
}
.annotated-main-shot {
  position: relative;
  min-height: 520px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(12, 25, 45, .95), rgba(4, 10, 19, .98));
  border: 1px solid rgba(107, 216, 255, .18);
  overflow: hidden;
}
.annotated-main-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
}
.hotspot {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  background: linear-gradient(135deg, rgba(0, 120, 215, .96), rgba(34, 162, 255, .94));
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 16px 34px rgba(0, 120, 215, .28);
  cursor: help;
  animation: markerPulse 2.4s ease-in-out infinite;
}
.hotspot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.16);
}
.hotspot:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.hp-header { left: 42%; top: 7%; animation-delay: .1s; }
.hp-control { left: 2%; top: 43%; animation-delay: .32s; }
.hp-viewer { left: 43%; top: 44%; animation-delay: .5s; }
.hp-props { right: 4%; top: 35%; animation-delay: .72s; }
.hp-data { left: 36%; bottom: 8%; animation-delay: .94s; }
.annotation-note {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(13, 27, 50, .95), rgba(5, 13, 25, .98)),
    radial-gradient(circle at 20% 0%, rgba(0,120,215,.22), transparent 46%);
  border: 1px solid rgba(132, 170, 255, .14);
  box-shadow: var(--shadow);
}
.annotation-note::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(107, 216, 255, .12);
  filter: blur(8px);
}
.annotation-note h3 {
  position: relative;
  margin: 16px 0 12px;
  color: #f5f9ff;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.annotation-note p {
  position: relative;
  color: var(--muted);
  line-height: 1.62;
  min-height: 108px;
}
.note-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.note-stack span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #dbeeff;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(132, 170, 255, .10);
}
.note-stack span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(107,216,255,.6);
}
.insight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.insight-strip article {
  position: relative;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(11, 24, 44, .82);
  border: 1px solid rgba(132, 170, 255, .12);
  overflow: hidden;
}
.insight-strip article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue-2));
}
.insight-strip strong {
  display: block;
  margin-bottom: 6px;
  color: #f5faff;
  font-size: 16px;
}
.insight-strip span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}
.overview-card {
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.overview-card:hover,
.data-module-card:hover,
.benefit-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 216, 255, .36);
  box-shadow: 0 28px 70px rgba(0, 120, 215, .18), 0 24px 60px rgba(0,0,0,.36);
}
.visual-frame:hover img,
.card-media:hover img {
  filter: saturate(1.06) contrast(1.02);
}
.guide-section {
  scroll-margin-top: 92px;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 28px rgba(0,120,215,.32), 0 0 0 0 rgba(107,216,255,.0); }
  50% { box-shadow: 0 14px 36px rgba(0,120,215,.48), 0 0 0 8px rgba(107,216,255,.12); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes markerPulse {
  0%, 100% { box-shadow: 0 16px 34px rgba(0, 120, 215, .26), 0 0 0 0 rgba(107, 216, 255, .0); }
  50% { box-shadow: 0 20px 44px rgba(0, 120, 215, .38), 0 0 0 10px rgba(107, 216, 255, .13); }
}

@media (max-width: 1180px) {
  .story-board,
  .annotated-overview {
    grid-template-columns: 1fr;
  }
  .story-carousel,
  .carousel-viewport {
    min-height: 620px;
  }
  .value-grid,
  .insight-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .annotated-main-shot {
    min-height: 420px;
  }
}
@media (max-width: 760px) {
  .story-board {
    padding: 14px;
  }
  .story-copy {
    padding: 18px;
  }
  .story-carousel,
  .carousel-viewport {
    min-height: 560px;
  }
  .story-slide {
    padding: 12px;
    grid-template-rows: 300px auto;
  }
  .story-shot {
    min-height: 300px;
  }
  .floating-note {
    display: none;
  }
  .value-grid,
  .insight-strip {
    grid-template-columns: 1fr;
  }
  .annotated-main-shot {
    min-height: 310px;
  }
  .hotspot {
    font-size: 10px;
    padding: 7px 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-step.is-active span,
  .floating-note,
  .hotspot,
  .story-slide.is-active .story-shot img {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

/* ===== v13: recorrido paso a paso más profesional e interactivo ===== */
.tour-experience {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .34fr) minmax(620px, 1fr);
  gap: 22px;
  margin: 34px 0 24px;
  padding: 22px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 120, 215, .22), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(107, 216, 255, .12), transparent 28%),
    linear-gradient(135deg, rgba(12, 28, 51, .96), rgba(4, 11, 21, .96));
  border: 1px solid rgba(132, 170, 255, .18);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.tour-experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.72), transparent 74%);
  pointer-events: none;
}
.tour-sidebar,
.tour-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.tour-sidebar {
  padding: 24px;
  border-radius: 28px;
  background: rgba(4, 12, 23, .54);
  border: 1px solid rgba(132, 170, 255, .12);
}
.tour-sidebar h3 {
  margin: 16px 0 12px;
  color: #f4f9ff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: .98;
  letter-spacing: -.055em;
}
.tour-sidebar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.tour-tabs {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.tour-tab {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 13px;
  align-items: center;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
  color: var(--ink);
  border: 1px solid rgba(132, 170, 255, .14);
  border-radius: 18px;
  background: rgba(7, 16, 31, .72);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.tour-tab span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #0078d7, #24a0ff);
  box-shadow: 0 12px 28px rgba(0, 120, 215, .30);
}
.tour-tab strong {
  font-size: 16px;
  line-height: 1.05;
}
.tour-tab small {
  color: var(--muted);
  line-height: 1.25;
}
.tour-tab:hover,
.tour-tab.is-active {
  transform: translateX(8px);
  border-color: rgba(107, 216, 255, .48);
  background: linear-gradient(135deg, rgba(0, 120, 215, .22), rgba(12, 26, 47, .92));
  box-shadow: 0 18px 42px rgba(0, 120, 215, .17);
}
.tour-tab.is-active span { animation: pulseGlow 1.9s ease-in-out infinite; }
.tour-stage {
  min-height: 710px;
  border-radius: 30px;
  background: rgba(4, 11, 20, .72);
  border: 1px solid rgba(132, 170, 255, .14);
  overflow: hidden;
}
.tour-panel {
  display: none;
  height: 100%;
  padding: 22px;
  animation: tourPanelIn .45s cubic-bezier(.2,.78,.2,1) both;
}
.tour-panel.is-active { display: grid; gap: 20px; }
@keyframes tourPanelIn {
  from { opacity: 0; transform: translateY(14px) scale(.99); }
  to { opacity: 1; transform: none; }
}
.tour-panel-copy {
  padding: 20px;
  border-radius: 24px;
  background: rgba(8, 18, 34, .9);
  border: 1px solid rgba(132, 170, 255, .12);
}
.tour-panel-copy h3 {
  margin: 6px 0 10px;
  color: #f5f9ff;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.tour-panel-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.impact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.impact-row span,
.process-lane span,
.tour-benefit-strip article {
  display: block;
  padding: 13px 14px;
  border-radius: 16px;
  color: #cfe4ff;
  line-height: 1.38;
  background: rgba(9, 22, 42, .76);
  border: 1px solid rgba(107, 216, 255, .14);
}
.impact-row strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.compact-impact span { min-height: 72px; }
.process-lane {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.process-lane span { position: relative; padding-left: 48px; }
.process-lane b {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}
.tour-visual-grid {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 0;
}
.two-visuals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.load-visuals { grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr); }
.panel-tour-grid { grid-template-columns: minmax(240px, .42fr) minmax(520px, 1.58fr); }
.tour-main-shot,
.tour-wide-shot,
.tour-compact-shot {
  min-height: 360px;
}
.tour-main-shot img,
.tour-wide-shot img,
.tour-compact-shot img,
.tour-side-annotated img {
  object-fit: contain;
  object-position: center;
}
.tour-wide-shot img { max-height: 420px; }
.tour-compact-shot img { max-height: 420px; }
.tour-side-annotated { min-height: 540px; }
.tour-side-annotated img { max-height: 620px; }
.tour-live-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 120, 215, .18), rgba(7, 16, 30, .9));
  border: 1px solid rgba(107, 216, 255, .25);
}
.tour-live-note strong {
  color: #fff;
  white-space: nowrap;
}
.tour-live-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.interactive-pin {
  position: absolute;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  background: linear-gradient(135deg, #008cff, #00c2ff);
  border: 2px solid rgba(255,255,255,.72);
  box-shadow: 0 0 0 7px rgba(0, 153, 255, .13), 0 14px 30px rgba(0,0,0,.36);
  cursor: help;
  animation: pulseGlow 2.2s ease-in-out infinite;
}
.interactive-pin:hover { transform: scale(1.08); }
.pin-config-1 { top: 27%; right: 15%; }
.pin-config-2 { top: 48%; right: 14%; }
.pin-config-3 { bottom: 23%; right: 13%; }
.pin-config-4 { top: 32%; right: 13%; }
.pin-config-5 { top: 49%; right: 13%; }
.tour-benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 30px;
}
.tour-benefit-strip article {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
}
.tour-benefit-strip article::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 80px;
  background: radial-gradient(circle, rgba(0,120,215,.24), transparent 72%);
}
.tour-benefit-strip strong {
  display: block;
  margin-bottom: 6px;
  color: #f5faff;
  font-size: 18px;
}
.tour-benefit-strip span {
  color: var(--muted);
  line-height: 1.45;
}
.modern-journey-list {
  margin-top: 18px;
}
.modern-journey-list::before { display: none; }
.modern-journey-list .journey-item {
  padding-left: 28px;
}
.modern-journey-list .journey-item::before { display: none; }

/* v13: iconos reales del toolbar sin bordes blancos ni recortes visibles */
.tool-icon-real {
  width: 52px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #0078d7, #0069c8);
  border: 1px solid rgba(148, 210, 255, 0.28);
  box-shadow: 0 14px 30px rgba(0, 120, 215, 0.26);
}
.tool-icon-real img {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  filter: none;
}
.tool-icon-key {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), #0069c8);
  border: 1px solid rgba(148, 210, 255, 0.28);
  box-shadow: 0 14px 30px rgba(0, 120, 215, 0.26);
}

@media (max-width: 1180px) {
  .tour-experience,
  .two-visuals,
  .load-visuals,
  .panel-tour-grid,
  .impact-row,
  .process-lane,
  .tour-benefit-strip {
    grid-template-columns: 1fr;
  }
  .tour-stage { min-height: auto; }
  .tour-panel { min-height: auto; }
  .tour-tab:hover,
  .tour-tab.is-active { transform: translateY(-2px); }
}

@media (max-width: 720px) {
  .tour-experience { padding: 14px; border-radius: 24px; }
  .tour-sidebar,
  .tour-panel-copy { padding: 16px; }
  .tour-panel { padding: 14px; }
  .tour-main-shot,
  .tour-wide-shot,
  .tour-compact-shot,
  .tour-side-annotated { min-height: 280px; }
  .tour-live-note { grid-template-columns: 1fr; }
  .modern-journey-list .journey-item { padding-left: 18px; }
}

/* ===== v14: cabecera, carruseles por módulo e iconos limpios ===== */
.guide-nav a[href="#tour-general"] {
  color: #e9f6ff;
}

.cabecera-section .section-head {
  max-width: 1080px;
}
.cabecera-tour {
  grid-template-columns: minmax(300px, .34fr) minmax(680px, 1fr);
}
.cabecera-tour .tour-stage {
  min-height: 650px;
}
.cabecera-load-grid {
  grid-template-columns: 1fr minmax(280px, .52fr);
}
.cabecera-load-grid .cabecera-header-shot {
  grid-column: 1 / -1;
  min-height: 158px;
  padding: 22px;
  background:
    radial-gradient(circle at 12% 25%, rgba(0,120,215,.18), transparent 34%),
    rgba(4, 12, 23, .86);
}
.cabecera-header-shot img {
  max-height: 72px !important;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
.cabecera-benefits {
  margin-bottom: 28px;
}

.module-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .36fr) minmax(640px, 1fr);
  gap: 22px;
  margin: 30px 0 28px;
  padding: 22px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 12%, rgba(0, 120, 215, .22), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(107, 216, 255, .12), transparent 30%),
    linear-gradient(135deg, rgba(12, 28, 51, .96), rgba(4, 11, 21, .96));
  border: 1px solid rgba(132, 170, 255, .18);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.module-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.7), transparent 74%);
  pointer-events: none;
}
.module-showcase-copy,
.module-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.module-showcase-copy {
  padding: 24px;
  border-radius: 28px;
  background: rgba(4, 12, 23, .54);
  border: 1px solid rgba(132, 170, 255, .12);
}
.module-showcase-copy h3 {
  margin: 16px 0 12px;
  color: #f4f9ff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: .98;
  letter-spacing: -.055em;
}
.module-showcase-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.module-tabs {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.module-tab {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 13px;
  align-items: center;
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  text-align: left;
  border: 1px solid rgba(132, 170, 255, .14);
  border-radius: 18px;
  background: rgba(7, 16, 31, .72);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.module-tab span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #0078d7, #24a0ff);
  box-shadow: 0 12px 28px rgba(0, 120, 215, .30);
}
.module-tab strong {
  font-size: 16px;
  line-height: 1.05;
}
.module-tab small {
  display: block;
  color: var(--muted);
  line-height: 1.25;
}
.module-tab:hover,
.module-tab.is-active {
  transform: translateX(8px);
  border-color: rgba(107, 216, 255, .48);
  background: linear-gradient(135deg, rgba(0, 120, 215, .22), rgba(12, 26, 47, .92));
  box-shadow: 0 18px 42px rgba(0, 120, 215, .17);
}
.module-tab.is-active span {
  animation: pulseGlow 1.9s ease-in-out infinite;
}
.module-stage {
  min-height: 650px;
  border-radius: 30px;
  background: rgba(4, 11, 20, .72);
  border: 1px solid rgba(132, 170, 255, .14);
  overflow: hidden;
}
.module-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(350px, 1fr) auto;
  gap: 16px;
  padding: 20px;
  opacity: 0;
  transform: translateX(28px) scale(.985);
  pointer-events: none;
  transition: opacity .52s ease, transform .52s cubic-bezier(.2,.78,.2,1);
}
.module-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.module-visual {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248,251,255,.08), rgba(223,232,246,.02)),
    rgba(3, 10, 20, .66);
}
.module-visual img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 5.8s ease;
}
.module-slide.is-active .module-visual img {
  transform: scale(1.025);
}
.module-slide-copy {
  padding: 20px 22px 24px;
  border-radius: 22px;
  background: rgba(8, 18, 34, .92);
  border: 1px solid rgba(132, 170, 255, .12);
}
.module-slide-copy h4 {
  margin: 0 0 9px;
  color: #f5f9ff;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.module-slide-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.module-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  color: #dff5ff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0, 120, 215, .15);
  border: 1px solid rgba(107, 216, 255, .22);
}
.viewer-module-showcase {
  margin-top: 10px;
}

/* Herramientas del visor: iconos reales limpios, sin bordes blancos ni recortes */
.tool-icon-real {
  width: 52px !important;
  height: 52px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: 0 14px 30px rgba(0, 120, 215, 0.26) !important;
}
.tool-icon-real img {
  width: 52px !important;
  height: 52px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 16px !important;
  background: transparent !important;
  filter: none !important;
}
.tool-icon-key {
  border: 0 !important;
  box-shadow: 0 14px 30px rgba(0, 120, 215, 0.26) !important;
}
.viewer-tool-card {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.viewer-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 216, 255, .34);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .38), 0 0 0 1px rgba(69,184,255,.08);
}
.viewer-tool-card:hover .tool-media img {
  transform: scale(1.018);
}
.tool-media img {
  transition: transform .35s ease;
}

@media (max-width: 1180px) {
  .cabecera-tour,
  .module-showcase {
    grid-template-columns: 1fr;
  }
  .module-stage,
  .cabecera-tour .tour-stage {
    min-height: 620px;
  }
  .cabecera-load-grid {
    grid-template-columns: 1fr;
  }
  .module-tab:hover,
  .module-tab.is-active {
    transform: translateY(-2px);
  }
}

@media (max-width: 720px) {
  .module-showcase {
    padding: 14px;
    border-radius: 24px;
  }
  .module-showcase-copy,
  .module-slide-copy {
    padding: 16px;
  }
  .module-stage {
    min-height: 560px;
  }
  .module-slide {
    padding: 14px;
    grid-template-rows: minmax(260px, 1fr) auto;
  }
  .module-visual {
    min-height: 280px;
  }
  .module-visual img {
    max-height: 320px;
  }
  .cabecera-header-shot {
    min-height: 120px !important;
  }
  .cabecera-header-shot img {
    max-height: 54px !important;
  }
}

/* === Consolidated panel explorers v14 === */
.detail-explorer {
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(92, 171, 255, 0.22);
  background: linear-gradient(180deg, rgba(8, 22, 44, 0.94), rgba(3, 12, 28, 0.96));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.detail-explorer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.detail-explorer-head h3,
.detail-explorer-head h4 {
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.05;
}

.detail-explorer-head p {
  margin: 0;
  max-width: 860px;
}

.detail-meta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.detail-meta-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(92, 171, 255, 0.2);
  background: rgba(8, 24, 46, 0.7);
  color: #cae4ff;
  font-size: 0.85rem;
  white-space: nowrap;
}

.detail-explorer-shell {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 22px;
}

.detail-nav {
  display: grid;
  gap: 12px;
  align-content: start;
}

.detail-nav-btn {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(92, 171, 255, 0.14);
  background: linear-gradient(180deg, rgba(4, 16, 32, 0.94), rgba(8, 25, 49, 0.86));
  color: var(--text-primary, #ecf5ff);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.detail-nav-btn:hover,
.detail-nav-btn.is-active {
  transform: translateY(-1px);
  border-color: rgba(74, 177, 255, 0.5);
  background: linear-gradient(180deg, rgba(9, 37, 73, 0.98), rgba(13, 57, 109, 0.9));
  box-shadow: 0 10px 28px rgba(10, 32, 63, 0.28);
}

.detail-nav-btn > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1f9bff, #1d63d7);
  color: #fff;
  font-weight: 800;
}

.detail-nav-btn strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
  margin-bottom: 4px;
}

.detail-nav-btn small {
  color: var(--text-secondary, rgba(221, 232, 244, 0.8));
  font-size: 0.88rem;
  line-height: 1.35;
}

.detail-content {
  min-width: 0;
}

.detail-pane {
  display: none;
  gap: 22px;
  align-items: start;
}

.detail-pane.is-active {
  display: grid;
}

.detail-copy {
  display: grid;
  gap: 12px;
}

.detail-copy h4 {
  margin: 0;
  font-size: clamp(1.3rem, 1.7vw, 1.85rem);
  line-height: 1.08;
}

.detail-copy p {
  margin: 0;
}

.detail-bullets {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text-secondary, rgba(221, 232, 244, 0.8));
}

.detail-bullets strong {
  color: var(--text-primary, #ecf5ff);
}

.detail-gallery {
  display: grid;
  gap: 14px;
}

.detail-gallery-one { grid-template-columns: minmax(0, 1fr); }
.detail-gallery-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-gallery-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-gallery-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-gallery-four .detail-shot:first-child { grid-column: span 2; }

.detail-shot {
  width: 100%;
  min-width: 0;
}

.detail-shot img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

#interferencias .detail-shot img,
#obras .detail-shot img,
#datos .detail-shot img,
#propiedades .detail-shot img,
#visor-3d .detail-shot img {
  object-fit: contain;
  background: rgba(2, 9, 22, 0.9);
}

@media (max-width: 1100px) {
  .detail-explorer-shell {
    grid-template-columns: 1fr;
  }

  .detail-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .detail-explorer {
    padding: 20px;
    border-radius: 22px;
  }

  .detail-explorer-head {
    flex-direction: column;
  }

  .detail-nav {
    grid-template-columns: 1fr;
  }

  .detail-gallery-two,
  .detail-gallery-three,
  .detail-gallery-four {
    grid-template-columns: 1fr;
  }

  .detail-gallery-four .detail-shot:first-child {
    grid-column: auto;
  }
}


/* === Professional single-block guide panels v15 === */
.panel-guide-section {
  scroll-margin-top: 96px;
}

.professional-panel {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 32px;
  border: 1px solid rgba(78, 169, 255, 0.22);
  background:
    radial-gradient(circle at 18% 12%, rgba(28, 137, 255, 0.18), transparent 32%),
    radial-gradient(circle at 86% 0%, rgba(21, 203, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(6, 19, 39, 0.98), rgba(2, 10, 24, 0.98));
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.professional-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(90, 177, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 177, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 45% 30%, #000 0 48%, transparent 82%);
}

.professional-panel > * {
  position: relative;
  z-index: 1;
}

.panel-hero-copy {
  max-width: 980px;
  margin-bottom: 24px;
}

.panel-hero-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: .96;
  letter-spacing: -0.055em;
}

.panel-hero-copy p {
  margin: 0;
  max-width: 920px;
  color: var(--text-secondary, #b8c8da);
  font-size: clamp(.98rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.panel-chip-row,
.capability-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.panel-chip-row span,
.capability-matrix span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(78, 169, 255, 0.23);
  background: rgba(5, 22, 43, 0.78);
  color: #d9ecff;
  font-size: .88rem;
  line-height: 1.25;
}

.panel-chip-row.compact {
  margin-top: 8px;
}

.panel-chip-row strong {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1e9bff, #176ad8);
  color: #fff;
  font-size: .78rem;
}

/* Visor 3D command center */
.cockpit-layout {
  display: grid;
  grid-template-columns: minmax(235px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.tool-command-rail {
  display: grid;
  gap: 11px;
  align-content: start;
}

.tool-command {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(87, 171, 255, 0.16);
  background: linear-gradient(180deg, rgba(6, 22, 42, 0.96), rgba(4, 15, 31, 0.96));
  color: #eff7ff;
  text-align: left;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.tool-command:hover,
.tool-command.is-active {
  transform: translateX(3px);
  border-color: rgba(45, 168, 255, 0.62);
  background: linear-gradient(180deg, rgba(12, 55, 103, 0.98), rgba(6, 30, 62, 0.96));
  box-shadow: 0 16px 34px rgba(0, 125, 255, 0.16);
}

.tool-command img,
.command-key {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  object-fit: contain;
  background: linear-gradient(180deg, #1298ff, #1263d8);
  box-shadow: 0 10px 22px rgba(0, 119, 255, 0.24);
}

.command-key {
  color: #fff;
  font-weight: 900;
  font-size: .9rem;
}

.tool-command strong,
.tool-command small {
  display: block;
}

.tool-command strong {
  font-size: .98rem;
  line-height: 1.16;
}

.tool-command small {
  margin-top: 3px;
  color: rgba(216, 232, 248, 0.76);
  line-height: 1.35;
}

.cockpit-stage {
  min-width: 0;
  border-radius: 26px;
  border: 1px solid rgba(87, 171, 255, 0.18);
  background: rgba(3, 12, 27, 0.72);
  padding: 18px;
}

.cockpit-pane {
  display: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .78fr);
  gap: 18px;
  align-items: stretch;
}

.cockpit-pane.is-active {
  display: grid;
  animation: softPanelIn .35s ease both;
}

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

.cockpit-image {
  min-height: 430px;
  width: 100%;
}

.cockpit-image img,
.inspector-main-image img,
.accordion-image img,
.workbench-gallery img,
.clash-image img,
.obra-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(2, 8, 18, 0.92);
}

.cockpit-media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cockpit-media-pair.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cockpit-media-pair .cockpit-image {
  min-height: 350px;
}

.cockpit-media-pair.three .cockpit-image {
  min-height: 280px;
}

.cockpit-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 22px;
  border: 1px solid rgba(78, 169, 255, 0.16);
  background: linear-gradient(180deg, rgba(6, 22, 42, 0.95), rgba(2, 11, 26, 0.92));
}

.cockpit-info h3,
.workbench-copy h3,
.clash-copy h3,
.obra-copy h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.cockpit-info p,
.workbench-copy p,
.clash-copy p,
.obra-copy p {
  margin: 0;
  color: var(--text-secondary, #b8c8da);
  line-height: 1.65;
}

.micro-feature-grid {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.micro-feature-grid span {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(78, 169, 255, 0.15);
  background: rgba(8, 27, 51, 0.72);
  color: rgba(225, 238, 252, 0.82);
  line-height: 1.45;
}

.micro-feature-grid strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
}

/* Propiedades: inspector accordion */
.inspector-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr);
  gap: 24px;
  align-items: start;
}

.inspector-main-image {
  min-height: 720px;
  width: 100%;
}

.inspector-accordion {
  display: grid;
  gap: 10px;
}

.accordion-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(78, 169, 255, 0.18);
  background: rgba(6, 22, 42, 0.82);
  color: #f2f8ff;
  text-align: left;
  cursor: pointer;
}

.accordion-row.is-active {
  border-color: rgba(45, 168, 255, 0.68);
  background: linear-gradient(180deg, rgba(11, 55, 105, 0.95), rgba(5, 26, 54, 0.92));
}

.accordion-row span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #1e9bff, #176ad8);
  font-weight: 900;
}

.accordion-row strong,
.accordion-row small {
  display: block;
}

.accordion-row small {
  margin-top: 3px;
  color: rgba(218, 233, 248, 0.76);
}

.accordion-pane {
  display: none;
  padding: 14px;
  border: 1px solid rgba(78, 169, 255, 0.14);
  border-radius: 18px;
  background: rgba(2, 11, 26, 0.75);
}

.accordion-pane.is-active {
  display: grid;
  gap: 12px;
  animation: softPanelIn .3s ease both;
}

.accordion-pane p {
  margin: 0;
  color: var(--text-secondary, #b8c8da);
  line-height: 1.6;
}

.accordion-image {
  min-height: 210px;
}

/* Datos: workflow dashboard */
.workflow-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.workflow-step {
  min-height: 118px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(78, 169, 255, 0.17);
  background: rgba(6, 22, 42, 0.82);
  color: #eff7ff;
  text-align: left;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.workflow-step:hover,
.workflow-step.is-active {
  transform: translateY(-3px);
  border-color: rgba(45, 168, 255, 0.62);
  background: linear-gradient(180deg, rgba(12, 56, 104, 0.96), rgba(5, 25, 53, 0.96));
}

.workflow-step span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #1e9bff, #176ad8);
  font-weight: 900;
}

.workflow-step strong,
.workflow-step small {
  display: block;
}

.workflow-step small {
  margin-top: 4px;
  color: rgba(218, 233, 248, 0.75);
}

.workbench-stage {
  border-radius: 26px;
  border: 1px solid rgba(78, 169, 255, 0.17);
  background: rgba(3, 12, 27, 0.72);
  padding: 20px;
}

.workbench-pane {
  display: none;
  grid-template-columns: minmax(280px, .45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.workbench-pane.is-active {
  display: grid;
  animation: softPanelIn .35s ease both;
}

.workbench-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2.6vw, 34px);
  border-radius: 22px;
  border: 1px solid rgba(78, 169, 255, 0.15);
  background: linear-gradient(180deg, rgba(6, 22, 42, 0.95), rgba(2, 11, 26, 0.92));
}

.capability-matrix {
  margin-top: 18px;
}

.capability-matrix span {
  border-radius: 16px;
}

.workbench-gallery {
  display: grid;
  gap: 14px;
}

.workbench-gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workbench-gallery.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.workbench-gallery .visual-frame {
  min-height: 260px;
}

/* Interferencias: timeline */
.clash-layout {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.clash-steps {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
}

.clash-steps::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, rgba(30, 155, 255, 0.9), rgba(30, 155, 255, 0.06));
}

.clash-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(78, 169, 255, 0.16);
  background: rgba(6, 22, 42, 0.86);
  color: #f2f8ff;
  text-align: left;
  cursor: pointer;
}

.clash-step:hover,
.clash-step.is-active {
  border-color: rgba(45, 168, 255, 0.62);
  background: linear-gradient(180deg, rgba(12, 56, 104, 0.96), rgba(5, 25, 53, 0.96));
}

.clash-step span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #1e9bff, #176ad8);
  font-weight: 900;
  z-index: 1;
}

.clash-step strong,
.clash-step small {
  display: block;
}

.clash-step small {
  margin-top: 4px;
  color: rgba(218, 233, 248, 0.75);
}

.clash-board {
  min-width: 0;
  border-radius: 26px;
  border: 1px solid rgba(78, 169, 255, 0.16);
  background: rgba(3, 12, 27, 0.75);
  padding: 20px;
}

.clash-pane {
  display: none;
  grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.clash-pane.is-active {
  display: grid;
  animation: softPanelIn .35s ease both;
}

.clash-copy,
.obra-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2.5vw, 34px);
  border-radius: 22px;
  border: 1px solid rgba(78, 169, 255, 0.15);
  background: linear-gradient(180deg, rgba(6, 22, 42, 0.96), rgba(2, 11, 26, 0.92));
}

.clash-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.clash-image {
  min-height: 360px;
}

.clash-image.large {
  min-height: 500px;
}

/* Obras: dashboard board */
.obra-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.obra-kpis span {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(78, 169, 255, 0.16);
  background: rgba(5, 20, 40, 0.82);
  color: rgba(220, 235, 250, 0.82);
  line-height: 1.45;
}

.obra-kpis strong {
  display: block;
  color: #fff;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.obra-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 22px;
}

.obra-selector {
  display: grid;
  gap: 12px;
  align-content: start;
}

.obra-chip {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 18px;
  border: 1px solid rgba(78, 169, 255, 0.16);
  background: rgba(6, 22, 42, 0.86);
  color: #f2f8ff;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.obra-chip span {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #1e9bff, #176ad8);
}

.obra-chip:hover,
.obra-chip.is-active {
  border-color: rgba(45, 168, 255, 0.62);
  background: linear-gradient(180deg, rgba(12, 56, 104, 0.96), rgba(5, 25, 53, 0.96));
}

.obra-stage {
  min-width: 0;
  border-radius: 26px;
  border: 1px solid rgba(78, 169, 255, 0.16);
  background: rgba(3, 12, 27, 0.75);
  padding: 20px;
}

.obra-pane {
  display: none;
  grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.obra-pane.is-active {
  display: grid;
  animation: softPanelIn .35s ease both;
}

.obra-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.obra-image {
  min-height: 400px;
  width: 100%;
}

.obra-image.wide {
  min-height: 500px;
}

/* Responsive */
@media (max-width: 1180px) {
  .cockpit-layout,
  .inspector-layout,
  .workbench-pane,
  .clash-layout,
  .clash-pane,
  .obra-layout,
  .obra-pane {
    grid-template-columns: 1fr;
  }

  .tool-command-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-tabs,
  .obra-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clash-steps,
  .obra-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clash-steps::before {
    display: none;
  }

  .inspector-main-image {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .professional-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .tool-command-rail,
  .workflow-tabs,
  .workbench-gallery.three,
  .workbench-gallery.four,
  .clash-steps,
  .clash-image-grid,
  .obra-kpis,
  .obra-selector,
  .obra-media-grid,
  .cockpit-media-pair,
  .cockpit-media-pair.three {
    grid-template-columns: 1fr;
  }

  .cockpit-stage,
  .workbench-stage,
  .clash-board,
  .obra-stage {
    padding: 14px;
  }

  .cockpit-image,
  .inspector-main-image,
  .clash-image.large,
  .obra-image.wide {
    min-height: 320px;
  }

  .cockpit-media-pair .cockpit-image,
  .clash-image,
  .obra-image,
  .workbench-gallery .visual-frame {
    min-height: 250px;
  }
}

/* === Guía v19: portada + paneles con estilo workbench uniforme === */
.hero-module-grid {
  margin-top: clamp(26px, 4vw, 54px);
  padding-bottom: clamp(34px, 5vw, 74px);
}

.hero-module-card {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(6, 22, 42, 0.9), rgba(3, 12, 27, 0.92));
}

.hero-module-card .card-media {
  min-height: 150px;
}

.hero-module-card .card-media img {
  object-fit: contain;
  background: rgba(1, 8, 20, 0.78);
}

.panel-guide-section .professional-panel.data-workbench {
  background: linear-gradient(180deg, rgba(7, 27, 51, 0.96), rgba(2, 12, 27, 0.96));
}

.panel-guide-section .workflow-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.panel-guide-section .workflow-step {
  min-height: 126px;
}

.panel-guide-section .workbench-stage {
  margin-top: 4px;
}

.panel-guide-section .workbench-pane {
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 1fr);
}

.workbench-gallery.one {
  grid-template-columns: minmax(0, 1fr);
}

.workbench-gallery.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workbench-gallery.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workbench-gallery.four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workbench-gallery.compact-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  max-height: 680px;
  overflow: auto;
  padding-right: 6px;
}

.workbench-gallery.compact-gallery::-webkit-scrollbar {
  width: 8px;
}

.workbench-gallery.compact-gallery::-webkit-scrollbar-thumb {
  background: rgba(43, 163, 255, 0.45);
  border-radius: 999px;
}

.workbench-gallery .visual-frame {
  min-height: 250px;
  width: 100%;
}

.workbench-gallery.compact-gallery .visual-frame {
  min-height: 190px;
}

.workbench-gallery .visual-frame img {
  object-fit: contain;
  background: rgba(1, 8, 20, 0.78);
}

.panel-chip-row.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-chip-row.compact span {
  white-space: normal;
}

@media (max-width: 1100px) {
  .panel-guide-section .workflow-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-guide-section .workbench-pane {
    grid-template-columns: 1fr;
  }

  .workbench-gallery.compact-gallery,
  .workbench-gallery.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .panel-guide-section .workflow-tabs,
  .workbench-gallery.two,
  .workbench-gallery.three,
  .workbench-gallery.four,
  .workbench-gallery.compact-gallery {
    grid-template-columns: 1fr;
  }

  .workbench-gallery.compact-gallery {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}


/* v20 refinements */
.viewer-tool-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.viewer-tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(78, 169, 255, 0.18);
  background: rgba(7, 24, 45, 0.72);
  color: #eff7ff;
}
.viewer-tool-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}
.viewer-tool-item strong {
  font-size: 0.94rem;
  line-height: 1.15;
}
.viewer-tool-item em {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #1e9bff, #176ad8);
  font-style: normal;
  font-weight: 900;
  color: #fff;
  flex: 0 0 30px;
}
.panel-guide-section .workbench-gallery.one { grid-template-columns: 1fr; }
.panel-guide-section .workbench-gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel-guide-section .workbench-gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel-guide-section .workbench-gallery.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel-guide-section .workbench-gallery img {
  background: rgba(2, 8, 20, 0.95);
}
@media (max-width: 860px) {
  .viewer-tool-legend { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .panel-guide-section .workbench-gallery.two,
  .panel-guide-section .workbench-gallery.three,
  .panel-guide-section .workbench-gallery.four { grid-template-columns: 1fr; }
}


/* v21 visor 3D tool tabs */
.viewer-tool-legend-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.viewer-tool-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 11px 16px;
  border-radius: 18px;
  border: 1px solid rgba(78, 169, 255, 0.18);
  background: rgba(7, 24, 45, 0.72);
  color: #eff7ff;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
  text-align: left;
}
.viewer-tool-tab:hover,
.viewer-tool-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(45, 168, 255, 0.62);
  background: linear-gradient(180deg, rgba(12, 56, 104, 0.96), rgba(5, 25, 53, 0.96));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.viewer-tool-tab img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 20px;
}
.viewer-tool-tab em {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #1e9bff, #176ad8);
  font-style: normal;
  font-weight: 900;
  color: #fff;
  flex: 0 0 30px;
}
.viewer-tool-tab strong {
  font-size: 1rem;
  line-height: 1.12;
}
@media (max-width: 900px) {
  .viewer-tool-tab {
    flex: 1 1 calc(50% - 12px);
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .viewer-tool-tab {
    flex: 1 1 100%;
  }
}


/* v22 - uniform step buttons and compact section box */
.workflow-tabs {
  align-items: stretch;
  grid-auto-rows: 126px;
}

.workflow-step {
  height: 126px;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

.workflow-step strong {
  font-size: 1rem;
  line-height: 1.12;
}

.workflow-step small {
  font-size: 0.96rem;
  line-height: 1.18;
}

.panel-guide-section .workflow-step {
  height: 126px;
  min-height: 126px;
}

/* Keep section-box gallery aligned with the lighter two-image format */
#visor-3d .workbench-pane[data-pro-pane="v3d-corte"] .workbench-gallery.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#visor-3d .workbench-pane[data-pro-pane="v3d-corte"] .workbench-gallery.two .visual-frame {
  min-height: 0;
}

@media (max-width: 900px) {
  .workflow-tabs {
    grid-auto-rows: auto;
  }

  .workflow-step,
  .panel-guide-section .workflow-step {
    height: auto;
    min-height: 118px;
  }
}


/* v23 - unified item buttons, equalized panel heights, smaller section titles */
:root {
  --guide-unified-panel-min-height: 1080px;
  --guide-workbench-stage-min-height: 690px;
}

.panel-guide-section .professional-panel.data-workbench {
  min-height: var(--guide-unified-panel-min-height);
  display: flex;
  flex-direction: column;
}

.panel-guide-section .panel-hero-copy {
  margin-bottom: 20px;
}

.panel-hero-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.panel-hero-copy p {
  font-size: clamp(.95rem, 1.18vw, 1.05rem);
}

.cockpit-info h3,
.workbench-copy h3,
.clash-copy h3,
.obra-copy h3 {
  font-size: clamp(1.18rem, 1.75vw, 1.9rem);
  line-height: 1.08;
}

.panel-guide-section .workflow-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 74px;
  gap: 10px;
  margin-bottom: 18px;
}

.workflow-step,
.panel-guide-section .workflow-step {
  height: 74px;
  min-height: 74px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(78, 169, 255, 0.18);
  background: rgba(7, 24, 45, 0.72);
  color: #eff7ff;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    'badge title'
    'badge sub';
  column-gap: 12px;
  row-gap: 2px;
  align-content: center;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.workflow-step:hover,
.workflow-step.is-active {
  transform: translateY(-2px);
  border-color: rgba(45, 168, 255, 0.62);
  background: linear-gradient(180deg, rgba(12, 56, 104, 0.96), rgba(5, 25, 53, 0.96));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.workflow-step span {
  grid-area: badge;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 12px;
  place-self: center start;
  font-size: .94rem;
}

.workflow-step strong {
  grid-area: title;
  font-size: .95rem;
  line-height: 1.05;
  align-self: end;
}

.workflow-step small {
  grid-area: sub;
  margin-top: 0;
  font-size: .78rem;
  line-height: 1.08;
  color: rgba(218, 233, 248, 0.78);
  white-space: normal;
}

.panel-guide-section .workbench-stage {
  margin-top: 2px;
  min-height: var(--guide-workbench-stage-min-height);
  display: flex;
  flex: 1 1 auto;
}

.panel-guide-section .workbench-pane,
.panel-guide-section .workbench-pane.is-active {
  min-height: calc(var(--guide-workbench-stage-min-height) - 2px);
  flex: 1 1 auto;
  align-items: stretch;
}

.panel-guide-section .workbench-copy,
.panel-guide-section .clash-copy,
.panel-guide-section .obra-copy {
  justify-content: center;
}

@media (max-width: 1180px) {
  :root {
    --guide-unified-panel-min-height: 1000px;
    --guide-workbench-stage-min-height: 640px;
  }
}

@media (max-width: 980px) {
  .panel-guide-section .workflow-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .workflow-step,
  .panel-guide-section .workflow-step {
    height: auto;
    min-height: 72px;
  }

  .panel-guide-section .professional-panel.data-workbench {
    min-height: auto;
  }

  .panel-guide-section .workbench-stage,
  .panel-guide-section .workbench-pane,
  .panel-guide-section .workbench-pane.is-active {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .panel-hero-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .workflow-step,
  .panel-guide-section .workflow-step {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 11px 12px;
  }

  .workflow-step span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: .86rem;
  }

  .workflow-step strong {
    font-size: .94rem;
  }

  .workflow-step small {
    font-size: .8rem;
  }
}


/* v24 - fixed 800px height for every main guide block */
:root {
  --guide-unified-panel-height: 800px;
  --guide-workbench-stage-height: 500px;
}

.panel-guide-section .professional-panel.data-workbench {
  height: var(--guide-unified-panel-height) !important;
  min-height: var(--guide-unified-panel-height) !important;
  max-height: var(--guide-unified-panel-height) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding: clamp(20px, 2vw, 28px) !important;
}

.panel-guide-section .panel-hero-copy {
  margin-bottom: 14px !important;
  max-width: 900px !important;
  flex: 0 0 auto !important;
}

.panel-guide-section .panel-hero-copy h2 {
  margin: 8px 0 8px !important;
  font-size: clamp(1.65rem, 2.45vw, 2.65rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
}

.panel-guide-section .panel-hero-copy p {
  font-size: clamp(.88rem, 1.02vw, .98rem) !important;
  line-height: 1.45 !important;
}

.viewer-tool-legend-tabs {
  gap: 8px !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
  flex: 0 0 auto !important;
}

.viewer-tool-tab {
  min-height: 42px !important;
  height: 42px !important;
  padding: 8px 12px !important;
  border-radius: 14px !important;
}

.viewer-tool-tab img {
  width: 18px !important;
  height: 18px !important;
}

.viewer-tool-tab em {
  width: 26px !important;
  height: 26px !important;
  border-radius: 9px !important;
  font-size: .82rem !important;
}

.viewer-tool-tab strong {
  font-size: .9rem !important;
}

.panel-guide-section .workflow-tabs {
  grid-auto-rows: 58px !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
  flex: 0 0 auto !important;
}

.workflow-step,
.panel-guide-section .workflow-step {
  height: 58px !important;
  min-height: 58px !important;
  padding: 8px 10px !important;
  border-radius: 14px !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  column-gap: 10px !important;
}

.workflow-step span {
  width: 30px !important;
  height: 30px !important;
  border-radius: 10px !important;
  font-size: .84rem !important;
}

.workflow-step strong {
  font-size: .86rem !important;
  line-height: 1.04 !important;
}

.workflow-step small {
  font-size: .7rem !important;
  line-height: 1.04 !important;
}

.panel-guide-section .workbench-stage {
  height: var(--guide-workbench-stage-height) !important;
  min-height: 0 !important;
  max-height: var(--guide-workbench-stage-height) !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
  padding: 16px !important;
  margin-top: 0 !important;
}

.panel-guide-section .workbench-pane,
.panel-guide-section .workbench-pane.is-active {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.panel-guide-section .workbench-copy {
  padding: 18px !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.panel-guide-section .workbench-copy h3 {
  font-size: clamp(1.08rem, 1.65vw, 1.65rem) !important;
  line-height: 1.05 !important;
}

.panel-guide-section .workbench-copy p {
  font-size: .92rem !important;
  line-height: 1.45 !important;
}

.panel-guide-section .panel-chip-row.compact {
  gap: 8px !important;
}

.panel-guide-section .panel-chip-row.compact span {
  padding: 7px 10px !important;
  font-size: .78rem !important;
}

.panel-guide-section .workbench-gallery {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  gap: 12px !important;
  align-content: stretch !important;
  overflow: hidden !important;
}

.panel-guide-section .workbench-gallery .visual-frame {
  min-height: 0 !important;
  height: 100% !important;
}

.panel-guide-section .workbench-gallery.two .visual-frame,
.panel-guide-section .workbench-gallery.three .visual-frame,
.panel-guide-section .workbench-gallery.four .visual-frame {
  height: 100% !important;
}

.panel-guide-section .workbench-gallery img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Fixed height also on responsive layouts; content adapts instead of changing the panel height */
@media (max-width: 980px) {
  .panel-guide-section .professional-panel.data-workbench {
    height: var(--guide-unified-panel-height) !important;
    min-height: var(--guide-unified-panel-height) !important;
    max-height: var(--guide-unified-panel-height) !important;
  }

  .panel-guide-section .workbench-stage {
    height: 430px !important;
    max-height: 430px !important;
  }

  .panel-guide-section .workbench-pane,
  .panel-guide-section .workbench-pane.is-active {
    grid-template-columns: 1fr !important;
  }

  .panel-guide-section .workbench-copy {
    display: none !important;
  }
}


/* v27 - tamaño de texto de cabecera de la guía */
.guide-topbar,
.guide-nav a,
.back-to-viewer {
  font-size: 16.32px !important;
}

/* v28 - Correccion movil del bloque Visor 3D en la guia
   En movil el bloque Visor 3D no debe ocultar el contenido activo al pulsar
   sus botones. Se libera la altura fija del workbench y se muestra la ficha
   de descripcion + imagenes en formato vertical. */
@media (max-width: 980px) {
  #visor-3d.panel-guide-section .professional-panel.data-workbench {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #visor-3d.panel-guide-section .panel-hero-copy {
    margin-bottom: 12px !important;
  }

  #visor-3d .workbench-stage {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 14px !important;
  }

  #visor-3d .workbench-pane,
  #visor-3d .workbench-pane.is-active {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: start !important;
  }

  #visor-3d .workbench-pane {
    display: none !important;
  }

  #visor-3d .workbench-pane.is-active {
    display: grid !important;
  }

  #visor-3d .workbench-copy {
    display: flex !important;
    min-height: 0 !important;
    padding: 16px !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }

  #visor-3d .workbench-copy h3 {
    font-size: clamp(1.08rem, 5.4vw, 1.42rem) !important;
    line-height: 1.12 !important;
  }

  #visor-3d .workbench-copy p {
    font-size: .9rem !important;
    line-height: 1.45 !important;
  }

  #visor-3d .panel-chip-row.compact {
    gap: 8px !important;
  }

  #visor-3d .panel-chip-row.compact span {
    padding: 7px 9px !important;
    font-size: .76rem !important;
  }

  #visor-3d .workbench-gallery,
  #visor-3d .workbench-gallery.one,
  #visor-3d .workbench-gallery.two,
  #visor-3d .workbench-gallery.three,
  #visor-3d .workbench-gallery.four {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    overflow: visible !important;
    align-content: start !important;
  }

  #visor-3d .workbench-gallery .visual-frame,
  #visor-3d .workbench-gallery.two .visual-frame,
  #visor-3d .workbench-gallery.three .visual-frame,
  #visor-3d .workbench-gallery.four .visual-frame {
    width: 100% !important;
    height: auto !important;
    min-height: clamp(210px, 58vw, 320px) !important;
    aspect-ratio: 16 / 10 !important;
  }

  #visor-3d .workbench-gallery img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}

@media (max-width: 560px) {
  #visor-3d .viewer-tool-legend-tabs {
    gap: 8px !important;
  }

  #visor-3d .viewer-tool-tab {
    min-height: 40px !important;
    height: auto !important;
    padding: 8px 12px !important;
  }
}
