/* Bloques inspirados en estructura Soamee · adaptados a Bamboocode */

.section-eyebrow {
  font-family: var(--ds-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-accent);
  margin: 0 0 0.5rem;
}
.section-title-lg {
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.ops-intro { max-width: 42rem; color: var(--ds-text-muted); margin: 0 0 2rem; line-height: 1.65; }
.ops-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.ops-card {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 1.35rem 1.25rem;
  background: var(--ds-surface);
  transition: border-color 0.25s, transform 0.25s var(--ds-ease);
}
.ops-card:hover { border-color: #3d997055; transform: translateY(-2px); }
.ops-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.ops-card p { margin: 0; font-size: 0.92rem; color: var(--ds-text-muted); line-height: 1.55; }
.ops-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ds-accent-soft);
  border-color: #3d997044;
}
.ops-card--cta p { margin-bottom: 1rem; }

.ops-example { margin-top: 3rem; }
.ops-example > h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin: 0 0 0.75rem;
  max-width: 36rem;
}
.ops-example > p { color: var(--ds-text-muted); max-width: 40rem; margin: 0 0 1.75rem; }
.ops-flow {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) { .ops-flow { grid-template-columns: 1fr 1fr; } }
.ops-phase {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.5rem;
  background: var(--ds-bg-2);
}
.ops-phase__label {
  font-family: var(--ds-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--ds-accent-2);
  margin-bottom: 0.75rem;
}
.ops-phase--today { border-style: dashed; opacity: 0.95; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.75rem 0; }
.tag-cloud span {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  color: var(--ds-text-muted);
}
.ops-phase--after .tag-cloud span {
  border-color: #3d997033;
  background: var(--ds-accent-soft);
  color: var(--ds-accent-2);
}
.ops-benefits { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.ops-benefits li {
  font-size: 0.9rem;
  color: var(--ds-text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.ops-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ds-accent-2);
  font-weight: 700;
}

.tech-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.tech-card {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 1.5rem;
  background: linear-gradient(180deg, var(--ds-surface) 0%, transparent 120%);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.tech-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.tech-card p { margin: 0 0 1rem; flex: 1; color: var(--ds-text-muted); font-size: 0.92rem; line-height: 1.55; }

.more-dev-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  align-items: end;
}
@media (min-width: 900px) {
  .more-dev-head { grid-template-columns: 1.2fr 1fr; }
}
.more-dev-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
@media (min-width: 960px) {
  .more-dev-block { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (min-width: 960px) {
  .more-dev-block.reverse { direction: rtl; }
  .more-dev-block.reverse > * { direction: ltr; }
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: var(--ds-accent-soft);
  border: 1px solid #3d997022;
  font-family: var(--ds-font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ds-accent);
  margin-bottom: 1rem;
}
.more-dev-block h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
.more-dev-block .lead { color: var(--ds-text-muted); margin: 0 0 1.25rem; line-height: 1.6; }
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.tool-tags span {
  font-family: var(--ds-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--ds-border);
  color: var(--ds-text-dim);
  background: var(--ds-surface);
}

.mock-window {
  border-radius: var(--ds-radius-lg);
  border: 1px solid var(--ds-border);
  background: #0c0e12;
  overflow: hidden;
  box-shadow: var(--ds-shadow);
}
html[data-theme="light"] .mock-window { background: #1a1f24; }
.mock-window__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #ffffff14;
  background: #ffffff08;
}
.mock-window__bar i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #fff2;
  font-style: normal;
}
.mock-window__bar i:nth-child(3) { background: var(--ds-accent-2); opacity: 0.7; }
.mock-window__title {
  margin-left: 0.5rem;
  font-family: var(--ds-font-mono);
  font-size: 0.62rem;
  color: #fff8;
  flex: 1;
}
.mock-live {
  font-family: var(--ds-font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ds-accent-2);
  padding: 0.2rem 0.5rem;
  border: 1px solid #3d997044;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.mock-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ds-accent-2);
  animation: blink-live 2s infinite;
}
@keyframes blink-live { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.mock-window__body { padding: 1rem 1.15rem 1.25rem; }
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.mock-stat {
  border: 1px solid #ffffff14;
  background: #ffffff0a;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}
.mock-stat strong {
  display: block;
  font-size: 1.1rem;
  color: var(--ds-accent-2);
  line-height: 1;
}
.mock-stat span {
  font-family: var(--ds-font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff6;
}
.mock-chart {
  border: 1px solid #ffffff12;
  background: #ffffff06;
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.65rem;
}
.mock-chart svg { width: 100%; height: 72px; display: block; }
.mock-chart-label {
  font-family: var(--ds-font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff5;
  margin-bottom: 0.35rem;
}
.mock-ab {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--ds-font-mono);
  font-size: 0.58rem;
  color: #fff6;
}
.mock-ab em { color: var(--ds-accent-2); font-style: normal; }

.mock-figma {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 220px;
}
.mock-figma__nav {
  border-right: 1px solid #ffffff12;
  padding: 0.75rem 0.5rem;
  font-family: var(--ds-font-mono);
  font-size: 0.58rem;
  color: #fff6;
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
.mock-figma__nav strong { color: var(--ds-accent-2); display: block; margin-bottom: 0.5rem; }
.mock-figma__canvas {
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.mock-figma__page {
  border: 1px dashed #ffffff25;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: #fffc;
}
.mock-figma__page.is-active {
  border-style: solid;
  border-color: #3d997055;
  background: #3d997012;
}
.mock-figma__proto {
  font-family: var(--ds-font-mono);
  font-size: 0.58rem;
  color: var(--ds-accent-2);
  margin-top: 0.35rem;
}

.trato-directo {
  margin-top: 2.5rem;
  border: 1px solid var(--ds-border);
  border-left: 5px solid var(--ds-accent-2);
  border-radius: var(--ds-radius);
  padding: 1.5rem 1.35rem;
  background: var(--ds-surface);
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .trato-directo { grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; }
}
.trato-directo__label {
  font-family: var(--ds-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-accent);
  white-space: nowrap;
}
.trato-directo p {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
}
.section--more-dev {
  position: relative;
}
.section--more-dev::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 0%, var(--ds-accent-soft), transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}
.section--more-dev > .ds-container { position: relative; z-index: 1; }

/* Timeline · De idea a producto */
.section--timeline {
  position: relative;
  overflow: hidden;
}
.section--timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, #3d997018, transparent 65%);
  pointer-events: none;
}
.section--timeline > .ds-container { position: relative; z-index: 1; }
.timeline-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}
.timeline-head .ops-intro { margin-inline: auto; text-align: center; }
.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 52rem;
  margin: 0 auto;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--ds-border);
  display: none;
}
@media (min-width: 768px) {
  .timeline-track::before { display: block; }
}
.timeline-step {
  display: grid;
  gap: 1rem;
  align-items: center;
  width: 100%;
  margin-bottom: 2.5rem;
}
@media (max-width: 767px) {
  .timeline-step:nth-child(even) { direction: ltr; }
  .timeline-step__copy { text-align: center; }
}
@media (min-width: 768px) {
  .timeline-step {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.75rem;
    margin-bottom: 2.75rem;
  }
  .timeline-step:nth-child(even) { direction: rtl; }
  .timeline-step:nth-child(even) > * { direction: ltr; }
  .timeline-step:nth-child(odd) .timeline-step__copy { text-align: right; }
  .timeline-step:nth-child(even) .timeline-step__copy { text-align: left; }
}
.timeline-step__copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
}
.timeline-step__copy p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ds-text-muted);
  line-height: 1.55;
}
.timeline-step__node {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ds-font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: var(--ds-accent);
  border: 3px solid var(--ds-accent-2);
  box-shadow: 0 0 0 8px #3d997014;
  position: relative;
  z-index: 2;
  margin-inline: auto;
  transition: transform 0.25s var(--ds-ease), box-shadow 0.25s;
}
.timeline-step__node:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 12px #3d997022;
}
.timeline-step__icon {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--ds-accent-soft);
  opacity: 0.35;
}
@media (min-width: 768px) {
  .timeline-step__icon { display: flex; }
  .timeline-step__icon svg { width: 2rem; height: 2rem; stroke: var(--ds-accent-2); }
}
