body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

:root {
  --title-shift: 110vw;
  --title-far: 140vw;
}

.textAbz { 
  font-style: normal; 
  width: 90%; 
  margin: 0 auto 20px; 
  padding: 5px 0; 
  text-align: justify; 
  text-indent: 50px;
  z-index: 1;
}

.wrapper {
  width: 85%;
  max-width: 1200px;
  margin: 90px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 6px 6px 14px rgba(0,0,0,0.25);
  background: #ffffff;
}

.images {
  display: flex;
  width: 100%;
  justify-content: space-around;
  margin-top: 30px;
}

h2.m-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2087C7;
  text-align: center;
  margin: 50px 0 20px 0;
}

.scene {
  position: relative;
  max-width: 500px;
  height: 500px;
  perspective: 900px;
  margin: 80px auto 30px ;
  touch-action: pan-y;
}
.item {
  position: absolute;
  top: 150px;
  left: 50%;
  width: 120px;
  transform-style: preserve-3d;
  user-select: none;
}

.item img {
  height: 300px;
  width: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(4px 4px 7px rgba(0,0,0,0.6));
  overflow: visible;
  z-index: 20;
  transition: transform 0.1s ease, filter 0.1s ease;
}

.item:hover img {
  filter: drop-shadow(5px 5px 7px rgba(0,0,0,0.6));
  transform: scale(1.005);
  transition: transform 0.1s ease, filter 0.1s ease;
}

.graph-title {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
  font-size: 16px;
  font-weight: 600;
  color:#2087C7;
  padding: 4px 12px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  margin: auto;
  width: 80%;
}

.right-side {
  width: 40%;
  display: flex;
  justify-content: left;
}
.card {
  width: 90%;
  min-width: 350px;
  height: 570px;
  background: #FAF7F2;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 6px 14px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
  margin-left: 0;
  margin-right: 20px;
}

.card-image {
  position: relative;
  height: 440px;
  overflow: visible;
  flex-shrink: 0;
  width: 260px;
  margin: auto;
  transition: opacity 0.4s ease;
}

.card-image img {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-height: 400px;
  max-width: 85%;
  width: 85%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  opacity: 1;
  transition:
    opacity .5s ease,
    filter .5s ease;
  will-change: opacity;
}

.card-image img.card-hidden {
  opacity: 0;
  filter: blur(4px);
}

.hotspots {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
}

.hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #B5A987;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  transition: transform 0.2s, background 0.2s;
  z-index: 10;
}

.hotspot:hover {
  transform: scale(1.15);
}
.hotspot.active {
  background: #0D7CBF;
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(25,104,153,0.25);
  z-index: 11;
}

.card-text {
  height: 120px;
  padding: 16px 20px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  color: #2087C7;
  border-top: 1px solid #ABA197;
  overflow: hidden;
  text-align: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pump-title {
  position: absolute;
  top: 370px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Boldonse", system-ui;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2087C7;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 4px 4px 7px rgba(0,0,0,0.3);
}

.pump-subtitle{
  position:absolute;
  top: 440px;
  left:60%;
  transform:translateX(-50%);
  font-family:"Montserrat", sans-serif;
  font-weight:400;
  font-size:20px;
  color:#000000;
  white-space:nowrap;
  opacity: 1;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1),
              opacity 0.8s ease;
  filter: blur(0px);
  pointer-events:none;
  will-change: transform, opacity, filter; 
}

.back-labels{
  position:absolute;
  left:0; right:0;
  display:flex;
  justify-content:space-between;
  padding: 0 30px;
  box-sizing:border-box;
  pointer-events:none;
  opacity:1;
  filter: blur(0px);
  transition: opacity .5s ease, filter .5s ease;
  will-change: opacity, filter; 
  margin: auto;
}

.back-labels.labels-hidden,
.pump-subtitle.labels-hidden{
  opacity:0;
  filter: blur(6px);
}

.back-label{
  width: auto;
  font-family:"Montserrat", sans-serif;
  font-weight:700;
  font-size:12px;
  color:#aaaaaa;
  white-space:nowrap;
}

.pump-title.instant {     transition: none !important;}
.pump-title {  transform: translateX(-50%);  transition: transform 0.6s ease, opacity 0.6s ease;}
.exit-left {  transform: translateX(calc(-50% - 150%));  opacity: 0;}
.exit-right {  transform: translateX(calc(-50% + 150%));  opacity: 0;}
.enter-left {  transform: translateX(calc(-50% - 150%));  opacity: 0;}
.enter-right {  transform: translateX(calc(-50% + 150%));  opacity: 0;}
.pump-title.visible {  transform: translateX(-50%);  opacity: 1;}

.scene-wrap {
  width:60%;
  min-width: 400px;
  margin: 0;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;    
  overflow-y: visible;  
  background:url("../img/18.png") no-repeat center 20% / 100%;
}

.pump-title-container {
  max-width: 100%;  
  box-sizing: border-box; 
}

.item, .item img {
  user-select: none;
  -webkit-user-drag: none; 
  -webkit-tap-highlight-color: transparent;
}



.table-container {
  width: 100%;
  margin: 10px auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.table-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.pump-table {
  width: 97%;
  height: auto;
  margin: auto;
  border-collapse: collapse;
    border-radius: 3px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
}

.filter-label {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
}


.pump-table th {
  background: #2087C7;
  border: 1px solid #4B728A;
  color: white;
  padding: 14px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}




.pump-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #E8E3D9;
  transition: background 0.2s ease;
  white-space: nowrap;
  overflow: auto;
}

.pump-table tbody tr:hover {
  background: rgba(32,135,199,0.08);
}

.table-filter {
  display: block;
  width: 100%;
  margin-top: 6px;

  background: #fff;
  border: 1px solid #ccc;

  font-size: 12px;
  padding: 4px;
}

.curves {
  position: relative;
  width: 100%;
  height: 520px;

  opacity: 1;
  transition: opacity .45s ease;
  
  z-index: 9999;
}

.curves.hidden {
  opacity: 0;
}

.active-curve-row {
  background: rgba(32,135,199,.12);
}

.curves-container {
  position: relative;
  isolation: isolate;
  z-index: 50;
  opacity: 1;
  width: 95%;
  margin-top: 0;
  margin-bottom: 50px;
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.curves-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.curves-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  align-items: start;
  width: 100%;
  margin: 0 auto 50px auto;
}

.curve-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #FFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.curve-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
  border-color: rgba(32,135,199,0.3);
}

.curve-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #2087C7;
  margin-bottom: 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.curve-image {
  max-width: 100%;
  max-height: 400px;
  height: auto;
}

#pumpSubtitle,
#backLabels {

  opacity: 1;
  transform: translateY(0);

  transition:
    all 1s ease;
}

#pumpSubtitle.labels-hidden,
#backLabels.labels-hidden {

  opacity: 0;
  filter: blur(4px);
  transform: translateY(2px);
  pointer-events: none;

}

@media (max-width: 1200px) { 
  .pump-title {
      font-size: clamp(
    40px,
    calc((70vw - 630px) * 6 / 570 + 40px),
    46px
  );
}
  .pump-subtitle {  top: 434px;  }
}
  
@media (max-width: 900px) {

  .wrapper {
    width: 100%;
    box-shadow: none;
    margin: 50px 0 0 0;
  }
  
  .images {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .right-side {
    margin-top: 0;
    max-width: 400px;
    width: 70%;
    max-width: none;
  }
  .card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .table-container {  margin-top: 30px;  overflow-x: auto; }
  .scene-wrap { width:100%; min-width: 0; }
  .pump-table { width: 100%; border-radius: 0; box-shadow: none; }
  .pump-table th { padding: 14px 2px; font-size: 10px; }
  .pump-table td { padding: 10px 6px; font-size: 10px; }

  .curves-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
    margin: auto;
  }
    .curves-container {  margin-top: 40px; }
    .curve-item {  padding: 20px; max-width: 70%; }
    .curve-title { font-size: 14px; }
    .graph-title { font-size: 14px; width: 70%; }
}

@media (max-width: 600px) {
  :root {  --title-shift: 400px; }


  .wrapper {  margin-bottom: 30px; }
  .images { gap: 0; width: 100%; margin: 0; }
  .scene {  width: 100%; margin-bottom: 0; margin-top: 50px;}
  .item {  top: 160px;  }
  .right-side {
    width: 100%;
    max-width: none;
  }
  .card {
    width: 100%;
    height: 730px;
    border-radius: 0;
    box-shadow: none;
  }
  .card-image {
    transform: scale(var(--card-scale));
  }
  .card-text {
    height: 100px;
    padding: 10px;
  }
  .pump-table th {  padding: 14px 2px; font-size: 8px; }
  .pump-title-container { top: 320px; height: 70px;}
  .pump-title { top: 400px; font-size: 32px;  }
  .pump-subtitle { top: 450px; font-size: 16px; left: 60%;}
  .back-labels { padding: 0; margin: auto;}
  .back-label { font-size: 12px; width: auto; padding: 0;}
  .scene {  width:100%;  min-width: 0; }
  .curve-item {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: none;
  }
  .curve-image { max-height: 350px; }
  .scene-wrap { background:url("../img/18.png") no-repeat center 30% / 600px }
  .graph-title {   top: 10px; font-size: 12px; margin-left: 10px;}
}