:root {
  --j-navy: #0a2a52;
  --j-navy-dark: #071d3a;
  --j-blue: #0e6ba8;
  --j-steel: #7a8894;
  --j-bg-alt: #f4f6f8;
  --j-white: #ffffff;
  --j-text: #263238;
  --j-text-light: #5b6a70;
  --j-radius: 10px;
  --j-shadow: 0 4px 16px rgba(10, 42, 82, 0.1);
}

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

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--j-text);
  line-height: 1.6;
  background: var(--j-white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.j-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Offset anchored sections so the sticky header doesn't cover the heading */
#medicina-nuclear,
#pet-ct,
#teragnosis,
#radiofarmacia,
#proteccion-radiologica,
#equipamiento-especializado,
#tipos,
#equipamiento,
#contacto {
  scroll-margin-top: 90px;
}

/* Header */
.j-header {
  background: var(--j-navy-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.j-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.j-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--j-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.j-nav-toggle.j-nav-toggle-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.j-nav-toggle.j-nav-toggle-open span:nth-child(2) {
  opacity: 0;
}

.j-nav-toggle.j-nav-toggle-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.j-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.j-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.j-logo-img {
  display: block;
  height: 42px;
  width: auto;
}

.j-nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
}

.j-nav-list a {
  color: var(--j-white);
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.j-nav-list a:hover {
  opacity: 1;
}

/* Nav dropdowns */
.j-nav-item {
  position: relative;
}

.j-nav-item-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.j-nav-parent-label {
  color: var(--j-white);
  font-weight: 500;
  opacity: 0.85;
  cursor: default;
}

.j-nav-item:hover .j-nav-parent-label {
  opacity: 1;
}

.j-nav-caret-btn {
  background: none;
  border: none;
  color: var(--j-white);
  opacity: 0.85;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.j-nav-caret-btn:hover,
.j-nav-item:hover .j-nav-caret-btn {
  opacity: 1;
}

.j-nav-caret-btn .j-icon {
  width: 13px;
  height: 13px;
}

.j-nav-caret-btn.j-nav-caret-open {
  transform: rotate(180deg);
}

.j-nav-dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--j-white);
  border-radius: var(--j-radius);
  box-shadow: var(--j-shadow);
  padding: 8px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 150;
}

.j-nav-item:hover > .j-nav-dropdown,
.j-nav-item:focus-within > .j-nav-dropdown,
.j-nav-dropdown.j-nav-dropdown-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.j-nav-dropdown a {
  display: block;
  color: var(--j-navy);
  font-weight: 600;
  opacity: 1;
  padding: 10px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

.j-nav-dropdown a:hover {
  background: var(--j-bg-alt);
}

@media (max-width: 700px) {
  .j-header {
    position: sticky;
  }

  .j-header-content {
    height: auto;
    padding: 14px 0;
    position: relative;
  }

  .j-logo-img {
    height: 34px;
  }

  .j-nav-toggle {
    display: flex;
  }

  .j-nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--j-navy-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .j-nav-list.j-nav-open {
    max-height: 260px;
  }

  .j-nav-list li {
    width: 100%;
  }

  .j-nav-list a {
    display: block;
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .j-nav-item-row {
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .j-nav-item-row a {
    border-top: none;
    flex: 1;
  }

  .j-nav-parent-label {
    padding: 14px 20px;
    flex: 1;
  }

  .j-nav-caret-btn {
    padding: 14px 20px;
  }

  .j-nav-dropdown {
    position: static;
    min-width: 0;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.25s ease;
  }

  .j-nav-dropdown.j-nav-dropdown-open {
    max-height: 220px;
  }

  .j-nav-dropdown a {
    color: var(--j-white);
    opacity: 0.85;
    font-weight: 500;
    padding: 12px 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .j-nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}

/* Hero */
.j-hero {
  width: 100%;
  background: var(--j-navy-dark);
  display: flex;
  justify-content: center;
}

.j-hero-img {
  width: 100%;
  max-width: 1400px;
  height: auto;
}

/* Intro */
.j-intro {
  padding: 70px 0;
  text-align: center;
}

/* Visually hidden but accessible to screen readers and search engines */
.j-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.j-intro h1 {
  font-size: 2rem;
  color: var(--j-navy);
  margin-bottom: 18px;
}

.j-intro > .j-container > p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--j-text-light);
  font-size: 1.05rem;
}

.j-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.j-badges-4 {
  grid-template-columns: repeat(4, 1fr);
}

.j-badges-5 {
  grid-template-columns: repeat(5, 1fr);
}

.j-badges-6 {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 900px) {
  .j-badges-4,
  .j-badges-5,
  .j-badges-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .j-badges-4,
  .j-badges-5,
  .j-badges-6 {
    grid-template-columns: 1fr;
  }
}

.j-badge {
  background: var(--j-bg-alt);
  border-radius: var(--j-radius);
  padding: 26px;
  border-top: 4px solid var(--j-blue);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.j-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(10, 42, 82, 0.16);
}

.j-badges .j-badge:nth-child(1) { transition-delay: 0s; }
.j-badges .j-badge:nth-child(2) { transition-delay: 0.08s; }
.j-badges .j-badge:nth-child(3) { transition-delay: 0.16s; }
.j-badges .j-badge:nth-child(4) { transition-delay: 0.24s; }
.j-badges .j-badge:nth-child(5) { transition-delay: 0.32s; }
.j-badges .j-badge:nth-child(6) { transition-delay: 0.4s; }

.j-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(14, 107, 168, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: transform 0.2s, background 0.2s;
}

.j-app-icon svg {
  color: var(--j-blue);
}

.j-badge:hover .j-app-icon {
  transform: scale(1.08);
  background: rgba(14, 107, 168, 0.18);
}

.j-latam-map {
  height: 180px;
  max-width: 900px;
  margin: 30px auto;
  border-radius: var(--j-radius);
  background-image: url('../images/latam-map-decor.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 600px) {
  .j-latam-map {
    height: 130px;
  }
}

.j-copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--j-navy);
  color: var(--j-white);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(10, 42, 82, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  max-width: 90vw;
  text-align: center;
}

.j-copy-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.j-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.j-tag svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.j-badge > .j-detail-btn,
.j-badge > a.j-detail-btn {
  flex: none;
  margin-top: auto;
  min-height: 72px;
  justify-content: center;
  text-align: center;
}

.j-badge h3 {
  color: var(--j-navy);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.j-badge img + h3 {
  text-align: center;
}

.j-badge p {
  color: var(--j-text-light);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

/* Productos */
.j-productos {
  padding: 70px 0;
  background: var(--j-bg-alt);
}

.j-section-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--j-navy);
  margin-bottom: 8px;
}

.j-section-title-left {
  font-size: 1.8rem;
  color: var(--j-navy);
  margin-bottom: 18px;
}

.j-section-subtitle {
  text-align: center;
  color: var(--j-text-light);
  margin-bottom: 40px;
}

.j-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.j-product-card {
  background: var(--j-white);
  border: 1px solid #e6e9ec;
  border-radius: var(--j-radius);
  overflow: hidden;
  box-shadow: var(--j-shadow);
  cursor: pointer;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.j-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(10, 42, 82, 0.16);
}

.j-product-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--j-blue);
  margin-bottom: 6px;
}

.j-product-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--j-navy);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-height: 40px;
  margin-bottom: 16px;
}

.j-product-photo {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.j-product-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.j-product-desc {
  font-size: 0.8rem;
  color: var(--j-text-light);
  margin-top: 14px;
  line-height: 1.45;
}

.j-benefits {
  background: var(--j-navy-dark);
  margin-top: 60px;
  padding: 34px 0;
}

.j-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.j-benefit h4 {
  color: var(--j-white);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.j-benefit p {
  color: #b7c3cf;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .j-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.j-hero-mobile {
  display: none;
}

@media (max-width: 480px) {
  .j-hero-desktop {
    display: none;
  }

  .j-hero-mobile {
    display: block;
  }

  .j-shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .j-product-card {
    padding: 10px 6px;
  }

  .j-product-num {
    font-size: 0.75rem;
    margin-bottom: 3px;
  }

  .j-product-name {
    font-size: 0.55rem;
    min-height: 26px;
    margin-bottom: 8px;
    letter-spacing: 0;
  }

  .j-product-photo {
    height: 60px;
  }

  .j-product-desc {
    display: none;
  }
}

/* Contacto */
.j-contacto {
  padding: 70px 0;
}

.j-contacto p {
  margin-bottom: 10px;
  color: var(--j-text-light);
}

.j-contacto a {
  color: var(--j-blue);
  font-weight: 600;
}

/* Footer */
.j-footer {
  background: var(--j-navy-dark);
  color: var(--j-white);
  text-align: center;
  padding: 22px 0;
  font-size: 0.88rem;
}

/* Lightbox */
.j-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 29, 58, 0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.j-lightbox.open {
  display: flex;
}

.j-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 4px;
}

.j-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--j-white);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 720px) {
  .j-nav-list {
    gap: 16px;
    font-size: 0.9rem;
  }

  .j-intro h1 {
    font-size: 1.6rem;
  }
}

/* Detail modal */
.j-detail-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 29, 58, 0.7);
  z-index: 300;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 16px;
  overflow-y: auto;
}

.j-detail-modal.open {
  display: flex;
}

.j-detail-panel {
  background: var(--j-white);
  border-radius: 16px;
  max-width: 1000px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.j-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 60px 20px 28px;
  position: relative;
  border-bottom: 1px solid #e6e9ec;
}

.j-detail-num {
  flex-shrink: 0;
  background: var(--j-navy);
  color: var(--j-white);
  font-size: 1.6rem;
  font-weight: 800;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.j-detail-title h2 {
  color: var(--j-navy);
  font-size: 1.4rem;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.j-detail-title p {
  color: var(--j-text-light);
  font-size: 0.95rem;
}

.j-detail-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--j-steel);
  cursor: pointer;
}

.j-detail-close:hover {
  color: var(--j-navy);
}

.j-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 28px;
}

.j-detail-main-photo {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.j-detail-main-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.j-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 42, 82, 0.55);
  color: var(--j-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.j-gallery-arrow .j-icon {
  width: 20px;
  height: 20px;
  stroke: var(--j-white);
}

.j-gallery-arrow:hover {
  background: var(--j-navy);
}

.j-detail-main-photo.j-has-gallery:hover .j-gallery-arrow {
  opacity: 1;
}

.j-gallery-arrow-left {
  left: 12px;
}

.j-gallery-arrow-right {
  right: 12px;
}

.j-gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.j-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease;
}

.j-gallery-dot.active {
  background: var(--j-white);
}

.j-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.j-reveal.j-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .j-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.j-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--j-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.j-whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

/* Reusable page-section building blocks (services pages, etc.) */
.j-alt-bg {
  background: var(--j-bg-alt);
}

.j-page-section {
  padding: 60px 0;
}

.j-list-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px 20px;
  max-width: 820px;
}

.j-list-2col.j-list-center {
  margin: 0 auto;
}

.j-list-2col.j-list-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 980px;
}

.j-list-2col.j-list-5 {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1010px;
}

.j-list-2col.j-list-6 {
  grid-template-columns: repeat(6, 1fr);
  max-width: 1040px;
}

.j-list-2col.j-list-7 {
  grid-template-columns: repeat(7, 1fr);
  max-width: 1080px;
}

@media (max-width: 900px) {
  .j-list-2col.j-list-4,
  .j-list-2col.j-list-5,
  .j-list-2col.j-list-6,
  .j-list-2col.j-list-7 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .j-list-2col.j-list-4,
  .j-list-2col.j-list-5,
  .j-list-2col.j-list-6,
  .j-list-2col.j-list-7 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .j-list-2col {
    grid-template-columns: 1fr;
  }
}

.j-process-num {
  display: inline-block;
  color: var(--j-blue);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.j-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.j-tag {
  background: var(--j-bg-alt);
  border: 1px solid #e6e9ec;
  color: var(--j-navy);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: default;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.j-tag:hover {
  background: var(--j-navy);
  border-color: var(--j-navy);
  color: var(--j-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(10, 42, 82, 0.25);
}

.j-cta {
  background: var(--j-navy-dark);
  color: var(--j-white);
  text-align: center;
  padding: 56px 0;
}

.j-cta h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.j-cta p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: #eaf3f9;
}

.j-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.j-detail-btn-ghost {
  background: transparent;
  color: var(--j-white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

@media (max-width: 480px) {
  .j-whatsapp-float {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: 14px;
  }

  .j-whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

.j-detail-subgroup + .j-detail-subgroup {
  margin-top: 14px;
}

.j-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.j-detail-thumb {
  border: 1px solid #e6e9ec;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  background: var(--j-white);
}

.j-detail-thumb .j-detail-thumb-photo {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.j-detail-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.j-detail-thumb span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--j-navy);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.j-detail-block {
  margin-bottom: 24px;
}

.j-detail-block:last-child {
  margin-bottom: 0;
}

.j-detail-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--j-navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.j-detail-block-title .j-icon {
  width: 22px;
  height: 22px;
  color: var(--j-blue);
  flex-shrink: 0;
}

.j-detail-description p {
  color: var(--j-text-light);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.j-detail-features {
  list-style: none;
}

.j-detail-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--j-text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
  padding: 6px 8px;
  margin-left: -8px;
  border-radius: 6px;
  transition: background 0.18s ease, color 0.18s ease;
}

.j-detail-features li:hover {
  background: var(--j-bg-alt);
  color: var(--j-navy);
}

.j-detail-features li.j-check-reveal {
  color: transparent;
  transition: color 0.3s ease;
}

.j-detail-features li.j-check-reveal .j-icon {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.j-detail-features li.j-check-reveal.j-visible {
  color: var(--j-text-light);
}

.j-detail-features li.j-check-reveal.j-visible:hover {
  color: var(--j-navy);
}

.j-detail-features li.j-check-reveal.j-visible .j-icon {
  opacity: 1;
  transform: scale(1);
}

.j-detail-features li.j-check-reveal:nth-child(1) { transition-delay: 0.15s; }
.j-detail-features li.j-check-reveal:nth-child(1) .j-icon { transition-delay: 0s; }
.j-detail-features li.j-check-reveal:nth-child(2) { transition-delay: 0.20s; }
.j-detail-features li.j-check-reveal:nth-child(2) .j-icon { transition-delay: 0.05s; }
.j-detail-features li.j-check-reveal:nth-child(3) { transition-delay: 0.25s; }
.j-detail-features li.j-check-reveal:nth-child(3) .j-icon { transition-delay: 0.10s; }
.j-detail-features li.j-check-reveal:nth-child(4) { transition-delay: 0.30s; }
.j-detail-features li.j-check-reveal:nth-child(4) .j-icon { transition-delay: 0.15s; }
.j-detail-features li.j-check-reveal:nth-child(5) { transition-delay: 0.35s; }
.j-detail-features li.j-check-reveal:nth-child(5) .j-icon { transition-delay: 0.20s; }
.j-detail-features li.j-check-reveal:nth-child(6) { transition-delay: 0.40s; }
.j-detail-features li.j-check-reveal:nth-child(6) .j-icon { transition-delay: 0.25s; }
.j-detail-features li.j-check-reveal:nth-child(7) { transition-delay: 0.45s; }
.j-detail-features li.j-check-reveal:nth-child(7) .j-icon { transition-delay: 0.30s; }
.j-detail-features li.j-check-reveal:nth-child(8) { transition-delay: 0.50s; }
.j-detail-features li.j-check-reveal:nth-child(8) .j-icon { transition-delay: 0.35s; }
.j-detail-features li.j-check-reveal:nth-child(9) { transition-delay: 0.55s; }
.j-detail-features li.j-check-reveal:nth-child(9) .j-icon { transition-delay: 0.40s; }
.j-detail-features li.j-check-reveal:nth-child(10) { transition-delay: 0.60s; }
.j-detail-features li.j-check-reveal:nth-child(10) .j-icon { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .j-detail-features li.j-check-reveal,
  .j-detail-features li.j-check-reveal .j-icon {
    transition: none;
    color: var(--j-text-light);
    opacity: 1;
    transform: none;
  }
}

.j-detail-features .j-icon {
  width: 18px;
  height: 18px;
  color: var(--j-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.j-detail-specs-section {
  padding: 0 28px 24px;
}

.j-detail-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.j-detail-spec {
  background: var(--j-bg-alt);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.j-detail-spec .j-icon {
  width: 26px;
  height: 26px;
  color: var(--j-blue);
  margin: 0 auto 8px;
}

.j-detail-spec strong {
  display: block;
  color: var(--j-navy);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.j-detail-spec span {
  display: block;
  color: var(--j-text-light);
  font-size: 0.72rem;
  line-height: 1.4;
}

.j-detail-table-wrap {
  overflow-x: auto;
  border: 1px solid #e6e9ec;
  border-radius: 10px;
}

.j-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  white-space: nowrap;
}

.j-detail-table th {
  background: var(--j-navy);
  color: var(--j-white);
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
}

.j-detail-table td {
  padding: 10px 14px;
  color: var(--j-text);
  border-top: 1px solid #e6e9ec;
}

.j-detail-table tbody tr:nth-child(even) {
  background: var(--j-bg-alt);
}

.j-row-clickable {
  cursor: pointer;
  transition: background 0.15s;
}

.j-row-clickable:hover {
  background: #e4edf5 !important;
}

.j-detail-table-specs td,
.j-detail-table-specs th {
  border-top: 1px solid #e6e9ec;
}

.j-detail-table-specs th {
  background: var(--j-bg-alt);
  color: var(--j-navy);
  font-weight: 700;
  width: 45%;
}

.j-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--j-blue);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0 0 14px;
}

.j-detail-back .j-icon {
  width: 16px;
  height: 16px;
}

.j-detail-back:hover {
  text-decoration: underline;
}

.j-detail-footer {
  display: flex;
  gap: 14px;
  padding: 0 28px 28px;
  flex-wrap: wrap;
}

.j-detail-btn {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
}

.j-detail-btn .j-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.j-detail-btn strong {
  display: block;
  font-size: 0.9rem;
}

.j-detail-btn span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}

.j-detail-btn-primary {
  background: var(--j-navy);
  color: var(--j-white);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.j-detail-btn-secondary {
  background: var(--j-white);
  color: var(--j-navy);
  border: 1.5px solid var(--j-navy);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.j-detail-btn-primary:hover,
.j-detail-btn-secondary:hover {
  background: var(--j-blue);
  border-color: var(--j-blue);
  color: var(--j-white);
}

@media (max-width: 760px) {
  .j-detail-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .j-detail-header {
    padding: 22px 50px 16px 18px;
  }

  .j-detail-specs-section {
    padding: 0 18px 20px;
  }

  .j-detail-footer {
    padding: 0 18px 22px;
  }
}
