/* =========================================
   ROOT VARIABLES
========================================= */

:root {
  --bg: #f2f2f4;
  --section: #ffffff;
  --text: #111;
  --muted: #6b6b6b;
  --accent: #023047;
  --link: #023047;
  --link-muted: #888;
}

/* =========================================
   GLOBAL RESET
========================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

  html {
    scroll-behavior: smooth;
}


body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
			   "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  
}

/* =========================================
   LAYOUT CONTAINERS
========================================= */

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
}

.wide {
  width: 94%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.narrow {
  width: 90%;
  max-width: 820px;
  margin: 0 auto;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 72px;
  position: relative;
}

/* =========================================
   HEADER / TYPOGRAPHY
========================================= */

header {
  padding: 80px 0 80px 0;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  max-width: 900px;
  letter-spacing: -0.03em;
}

.subtitle {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--muted);
}

.subhead {
  margin-top: 24px;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 720px;
}

/* =========================================
   CTA
========================================= */

.cta {
  margin-top: 50px;
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
}

.cta a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
  position: relative;
}

.cta a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  opacity: 0.3;
}

/* =========================================
   HERO
========================================= */

.hero {
  margin-top: 30px;
  border-radius: 16px;
  overflow: hidden;
}

.hero img {
  width: 80%;
  display: block;
}

.hero-image {
  margin-left: 10%;
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.hero-image img {
  width: 90%;
  align-content: center;
  border-radius: 16px;
  display: block;
  box-shadow: 0 25px 60px rgba(0,0,0,0.16);
}

/* =========================================
   HERO SLIDER
========================================= */

.hero-slider {
  position: relative;
  margin-top: 60px;
  margin-bottom: 150px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(0,0,0,0.3);
  aspect-ratio: 16 / 6;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s cubic-bezier(.4,0,.2,1), transform 6s ease;
  pointer-events: none;
}

.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1.03);
  pointer-events: auto;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================
   IMAGES
========================================= */

.full-image {
  padding: 20px 0;
}

.full-image img {
  width: 100%;
  border-radius: 18px;
  display: block;
  box-shadow: 0 25px 60px rgba(0,0,0,0.06);
}

.full-image2 img {
  width: 50%;
  border-radius: 18px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.06);
}

.image-grid1 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.image-grid1 img {
 display: block;
   width: 100%;
   height: 100%;
  border-radius: 18px;
   aspect-ratio: 4 / 3;
   object-fit: cover;
 }

.image-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.image-grid2 img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.image-grid3 img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.image-grid4 img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-grid5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.image-grid5 img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-grid6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.image-grid6 img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  border-top: var(--accent)
}


/* =========================================
   PROJECT LISTING
========================================= */

.section {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 30px 0;
  background: var(--section);
  z-index: 10;
  border-radius: 10px;
}

.section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 50px;
  margin-left: 50px;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.project {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  gap: 30px;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  border-top: 1px solid rgba(0,0,0,0);
  border-bottom: 1px solid rgba(0,0,0,0);
/*   border-radius: 16px; */
  
}

.project img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.project-title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
/*   font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
  padding-right: 50px;
  padding-bottom: 20px; */
  
}

.project-text {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

/* .project-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  gap: 6px;
} */

.project-meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 6px;
  opacity: 0.85;
}

/* Hover polish */
.project:hover {
  transform: translateY(-2px);
  border-color: var(--link);
  transition: color 0.3s ease;
  transition: transform 0.3s ease;
}

.project:hover img {
/*   transform: scale(1.01); */
	transition: 0.3s ease;
}

.project:hover .project-title {
  color: var(--accent);
}

.project:hover .project-meta {
  color: var(--text);
}

/*
.project {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.project-title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.project-meta {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 6px;
}

.project:hover img {
  transform: scale(1.01);
  transition: 0.4s ease;
} */

/* =========================================
   SECTION CONTENT
========================================= */

.section h4 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-weight: 600;
}

.section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.section p {
  margin-bottom: 18px;
  font-size: 1rem;
}

.section ul {
  margin-bottom: 24px;
}

.section.reflection {
  background: #ffffff;
  border-top: 1px solid #eaeaea;
}

.case-list {
  margin: 16px 0 24px 0;
  padding-left: 50px;
}

.case-list li {
  margin-bottom: 6px;
}

.case-nav {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.85rem;
  color: #888;
  z-index: 9999;
}

.case-nav a {
  text-decoration: none;
  color: var(--link-muted);
  color: inherit;
  transition: color 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0)
}

.case-nav a:hover {
  color: #111;
 border-bottom: 1px solid rgba(20,20,20,0.2);
 border-top: 1px solid rgba(20,20,20,0.2);
}

.case-nav a.active {
  color: var(--link);
}

/* Hide on small screens */
@media (max-width: 1100px) {
  .case-nav {
    display: none;
  }
}

/* =========================================
   TOP BAR / NAV
========================================= */

.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 10px;
  position: sticky;
  top: 0;
  background: linear-gradient(to bottom, rgba(247,247,245,0.92), rgba(247,247,245,0.75));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20,20,20,0.06);
  z-index: 30;
}

.brand{
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand .name{
  font-weight: 650;
  letter-spacing: 0.2px;
}

.brand .role{
  color: var(--muted);
  font-size: 0.95rem;
}

nav a{
  color: inherit;
  text-decoration: none;
  position: relative;
  padding: 12px;
  transition: color 0.2s ease;
}

nav a:hover{ color: var(--link);
  text-decoration: none;
 }

/* =========================================
   LIGHTBOX
========================================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 60px 20px;
  animation: fadeIn 0.3s ease;
  z-index: 10000;
}

.lightbox-content {
  max-width: 1920px;
  width: 90vw;
  height: auto;
  overflow: auto;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 38px;
  color: white;
  cursor: pointer;
  font-weight: 300;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.nav:hover {
  opacity: 1;
}

.prev {
  left: 80px;
}

.next {
  right: 80px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Lightbox zoom */
.lightbox-content{
  transform-origin: 0 0;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-content.zoomed{
  cursor: grab;
}

.lightbox-content.zoomed:active{
  cursor: grabbing;
}

/* =========================================
   FOOTER
========================================= */

footer {
  padding: 160px 0 100px 0;
  font-size: 0.95rem;
  color: var(--muted);
}
    /* --- BPMN Explorer layout --- */
.bpmn-explorer{
  display: grid;
  grid-template-columns: 7fr 3fr; /* 70/30 */
  gap: 40px;
  align-items: start;
  margin: 60px auto;
}

.bpmn-pane{
  position: sticky;
  top: 90px; /* adjust if your topbar height differs */
  height: calc(100vh - 140px);
}

.bpmn-frame{
  position: relative;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,0.03);
}

/* Important: keep contain for stable pan calibration */
.bpmn-frame img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 0 0;
  transition: transform 520ms ease, filter 320ms ease;
  will-change: transform;
  display: block;
}

.steps .step{
  padding: 18px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  opacity: 0.55;
  transition: opacity 220ms ease, transform 220ms ease;
  cursor: pointer;
}

.steps .step.active{
  opacity: 1;
  transform: translateY(-1px);
}

/* Optional: LattOS-ish accent for active step headings (tweak to your canonical values) */
:root{
  --lattos-blue: #2D6CDF;
  --lattos-green:#2FA36B;
}
.steps .step.active h2,
.steps .step.active h3{
  color: var(--lattos-blue);
}

/* Subtle “tone wash” over diagram for coherence (safe with <img>) */
.bpmn-frame::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(45,108,223,0.06), rgba(47,163,107,0.05));
  mix-blend-mode: multiply;
  opacity: 0.7;
}

/* Mobile fallback */
@media (max-width: 900px){
  .bpmn-explorer{
    grid-template-columns: 1fr;
  }
  .bpmn-pane{
    position: relative;
    top: auto;
    height: 60vh;
  }
}

.scrollstage{
  position: relative;
  /* this is the “how long it stays pinned” lever */
  height: 450vh; /* ← adjust this (Apple-like feel) */
  }

.scrollstage-pin{
  position: sticky;
  top: 0;
  height: 100vh;
  display:flex;
  align-items: center;
  margin-left: 60px;
}

/* Optional: keep your topbar/nav from covering it */
.scrollstage-pin .bpmn-pane{
  top: /* 9 */0px; /* if you already use sticky inside, you can remove that and let the stage pin handle it */
  position: relative;
  height: calc(100vh - 140px);
  z-index: 0;
}

/* =========================
   Contact form (portfolio)
   ========================= */

#contact .narrow {
  max-width: 720px;
}

#contact form {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}

#contact label {
  display: block;
  margin: 14px 0 6px;
  font-size: 0.92rem;
  opacity: 0.85;
}

#contact input,
#contact textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: inherit;
  outline: none;
  font-size: 1rem;
  line-height: 1.35;
}

#contact textarea {
  resize: vertical;
  min-height: 140px;
}

#contact input::placeholder,
#contact textarea::placeholder {
  opacity: 0.6;
}

#contact input:focus,
#contact textarea:focus {
  border-color: rgba(45,108,223,0.55); /* lattos blue */
  box-shadow: 0 0 0 3px rgba(45,108,223,0.18);
  background: rgba(0,0,0,0.22);
}

#contact button[type="submit"] {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(45,108,223,0.22); /* lattos blue wash */
  color: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 120ms ease, background 180ms ease, border-color 180ms ease;
}

#contact button[type="submit"]:hover {
  background: rgba(45,108,223,0.30);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

#contact button[type="submit"]:active {
  transform: translateY(0px);
}

#contactStatus {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.85;
}
.compare-2up{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 18px;
  align-items: start;
  width: 100%;
}

.compare-2up .compare-item{
  margin: 0;
  min-width: 0;
}

.compare-2up .compare-item img{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;   /* adjust if needed */
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Only stack on small screens */
@media (max-width: 900px){
  .compare-2up{
    grid-template-columns: 1fr !important;
  }
}

.compare-row{
  display: flex !important;
  flex-direction: row !important;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;      /* optional */
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.compare-item{
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.compare-item img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 16/9;     /* change/remove if you don’t want cropping */
}

.compare-item figcaption{
  margin-top: 8px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* stack on small screens */
@media (max-width: 900px){
  .compare-row{
    flex-direction: column !important;
  }
}

.compare-wrap{
  margin: 28px 0;
}

.compare-title{
  font-size: 1.05rem;
  margin: 0 0 12px 0;
  letter-spacing: 0.2px;
}

.compare-table{
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.75);
}

.compare-row{
  display: grid;
  grid-template-columns: 1.1fr 1.45fr 1.45fr;
}

.compare-cell{
  padding: 12px 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.95rem;
  line-height: 1.35;
}

.compare-head .compare-cell{
  border-top: 0;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(0,0,0,0.03);
}

.compare-aspect{
  font-weight: 600;
}

@media (max-width: 720px){
  .compare-row{
    grid-template-columns: 1fr;
  }
  .compare-head{
    display: none;
  }
  .compare-cell{
    border-top: 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .compare-row{
    border-top: 1px solid rgba(0,0,0,0.08);
  }
  .compare-row .compare-cell:nth-child(1){
    background: rgba(0,0,0,0.03);
    font-weight: 700;
  }
  .compare-row .compare-cell:nth-child(2)::before{
    content: "v1: ";
    font-weight: 700;
  }
  .compare-row .compare-cell:nth-child(3)::before{
    content: "v2: ";
    font-weight: 700;
  }
}

.case-resp{
  margin: 10px 0 16px 0;
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 72ch;
}
.case-resp strong{
  font-weight: 800;
}
 .vcompare { margin: 28px 0; }
  .vcompare h3 {
    font-size: 1.05rem;
    margin: 0 0 12px 0;
    letter-spacing: 0.2px;
    text-align: center;

  }
  /* --- v1 vs v2: minimal, site-native table polish --- */
  .vcompare table{
    width: 100%;
    border-collapse: collapse;
    font: inherit;
    background: transparent;
  }
  
  /* stop global centering / weird resets */
  .vcompare table th,
  .vcompare table td{
    text-align: left;
    vertical-align: top;
    padding: 10px 14px;
    line-height: 1.45;
    font: inherit;
  }
  
  /* subtle structure, not a “new style” */
  .vcompare table thead th{
    font-weight: 650;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    padding-top: 12px;
    padding-bottom: 12px;
  }
  
  .vcompare table tbody tr{
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  
  .vcompare table tbody th{
    font-weight: 220;
    width: 24%;
    white-space: nowrap;
  }
  
  /* gentle zebra for scanability */
  .vcompare table tbody tr:nth-child(even){
    background: rgba(0,0,0,0.5);
  }
  
  /* wrap container so it doesn’t break layout on small screens */
  .vcompare{
    margin: 28px 0;
  }
  
/* v1 → v2 comparison table — working version (matches your current HTML) */
  .vcompare .table-wrap{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 12px;
  }
  
  .vcompare .heading{
    margin: 0 0 12px 0;
    padding: 0;
    text-align: left;
  }
  
  .vcompare table.vcompare-table{
    width: 100%;
    border-collapse: collapse;
    font: inherit;
    min-width: 720px;
    background: transparent;
  }
  
  .vcompare table.vcompare-table th,
  .vcompare table.vcompare-table td{
    padding: 10px 10px;
    text-align: left;
    vertical-align: middle;
    line-height: 1.5;
  }
  
  .vcompare table.vcompare-table thead th{
    font-weight: 800;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    background: rgba(0,0,0,0.03);
  }
  
  .vcompare table.vcompare-table tbody tr + tr th,
  .vcompare table.vcompare-table tbody tr + tr td{
    border-top: 1px solid rgba(0,0,0,0.08);
  }
  
  .vcompare table.vcompare-table tbody th{
    width: 50%;
    font-weight: 650;
    white-space: nowrap;
  }
  
  .vcompare table.vcompare-table tbody tr:nth-child(even){
    background: rgba(0,0,0,0.015);
  }
  
  
  
  div.greyGridTable {
    width: 100%;
    text-align: Left;
    border-collapse: collapse;
  }
  .divTable.greyGridTable .divTableCell, .divTable.greyGridTable .divTableHead {
    border: 1px solid #FFFFFF;
    padding: 3px 4px;
  }
  .divTable.greyGridTable .divTableRow:nth-child(even) {
    background: #E7E7E7;
  }
  .divTable.greyGridTable .divTableHeading {
    background: #FFFFFF;
    border-bottom: 4px solid #333333;
  }
  .divTable.greyGridTable .divTableHeading .divTableHead {
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    border-left: 1px solid var(--accent);
  }
  .divTable.greyGridTable .divTableHeading .divTableHead:first-child {
    border-left: none;
  }
  
  .divTableCellnum{
    text-align: center;
    font-weight: bold;
  }

  .divTableCellasp{
    text-align: center;
    font-weight: bold;
  }
  
  .greyGridTable .tableFootStyle {
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    border-top: 4px solid #333333;
  }
  .greyGridTable .tableFootStyle {
    font-size: 14px;
  }
  /* DivTable.com */
  .divTable{ display: table; }
  .divTableRow { display: table-row; }
  .divTableHeading { display: table-header-group;}
  .divTableCell, .divTableHead { display: table-cell;}
  .divTableHeading { display: table-header-group;}
  .divTableFoot { display: table-footer-group;}
  .divTableBody { display: table-row-group;}

 * {box-sizing: border-box;}
 
 .img-comp-container {
   position: relative;
   display: inline-block;
   overflow: hidden;
   max-width: 100%;
 }
 
 .img-comp-img {
   position: absolute;
   top: 0;
   left: 0;
   overflow: hidden;
 }
 
 .img-comp-img img {
   display: block;
   width: auto;
   max-width: none;
   height: auto;
   vertical-align: middle;
 }
 
 .img-comp-slider {
   position: absolute;
   z-index: 9;
   cursor: ew-resize;
   width: 40px;
   height: 40px;
   background-color: #2196F3;
   opacity: 0.7;
   border-radius: 50%;
 }
 .img-comp-line {
   position: absolute;
   z-index: 19;
   width: 2px;
   background: #2196F3;
   pointer-events: none;
 }
 .img-comp-container {
   position: relative;
 }
 
 .compare-badge {
   position: absolute;
   top: 16px;
   z-index: 30;
   padding: 6px 10px;
   border-radius: 999px;
   background: rgba(0,0,0,0.65);
   color: white;
   font-size: 0.85rem;
   line-height: 1;
 }
 
 .compare-badge.left {
   left: 16px;
 }
 
 .compare-badge.right {
   right: 16px;
 }
 
 .img-comp-slider {
   position: absolute;
   z-index: 50;
   width: 56px;
   height: 56px;
   border-radius: 50%;
   background: #2196F3;
   cursor: ew-resize;
   box-shadow: 0 0 0 2px rgba(255,255,255,0.85);
 }
 
 .img-comp-slider::before {
   content: "";
   position: absolute;
   left: 50%;
   top: -120px;
   width: 2px;
   height: 296px;
   background: #2196F3;
   transform: translateX(-50%);
   pointer-events: none;
 }
 
 .slider-label {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   font-size: 10px;
   font-weight: 700;
   line-height: 1;
   color: #fff;
   pointer-events: none;
 }
 
 .slider-label-left {
   left: 8px;
 }
 
 .slider-label-right {
   right: 8px;
 }