header.introseg {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
}

.grid.x,
.grid.y,
.axis {
  stroke: #ccc;
  stroke-opacity: 0.1;
  stroke-dasharray: 2px 2px;
}

.introseg_title {
  display: block !important;
}

.graphic {
  position: sticky;
  top: 0;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.graphic_seg {
  height: 560px;
}

.graphic_seg svg {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  display: block;
  font-family: "Titillium Web", sans-serif;
}

#step-lineas {
  background: #fafafa;
}

svg {
  width: 90%;
  height: 80%;
  margin: 0 auto;
  display: block;
  font-family: "Titillium Web", sans-serif;
}

.line {
  fill: none;
}

.general {
  stroke: #0963e1ff;
}

.seguros {
  stroke: #df1724ff;
}

.medicamentos {
  stroke: #efc952;
}

.servicios {
  stroke: #aaa;
}

.bar {
  fill: #c1121f;
}

.bar.gray {
  fill: #ccc;
}

.label {
  font-size: 12px;
  fill: #333;
}

.grid {
  stroke: #e0e0e0;
  stroke-opacity: 0.7;
}

.grid line {
  stroke: #e0e0e0;
  stroke-opacity: 0.7;
  stroke-width: 1;
}

.grid path {
  stroke-width: 0;
}

.tooltip_viz {
  position: absolute;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 4px;
  font-family: "Titillium Web", sans-serif;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  z-index: 1000;
}

/* Comic scroll animation styles */
#scroll_container_comic {
  position: relative;
  min-height: 350vh;
  background: #ffffff;
  width: 100%;
}

#comic_container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}

.comic_card {
  position: absolute;
  width: 70%;
  max-width: 700px;
  height: auto;
  margin: 0;
  opacity: 0;
  transform: scale(0.7) rotateY(-30deg);
}

.comic_card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.container_texts_abs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}

.container_texts {
  width: 100%;
  height: 100%;
  position: relative;
}

.container_text {
  position: absolute;
  width: 90%;
  max-width: 550px;
  text-align: center;
  opacity: 0;
  left: 65%;
  top: 79%;
  transform: translate(-50%, -50%);
  padding: 0 20px;
  z-index: 5;
}

.text_comic {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  font-family: "Titillium Web", sans-serif;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
}

.container_text--end {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.text_comic--end {
  font-size: 22px;
  font-weight: 600;
  max-width: 550px;
  color: #333;
  text-align: center;
  font-family: "Titillium Web", sans-serif;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 10px;
  opacity: 0;
}

@media (max-width: 768px) {
  .annotation {
    display: none;
  }
}
