.js-section {
  --surface: var(--theme-surface, #D9D9D9);
  --border: var(--theme-border, #D9D9D9);
  --text: var(--theme-text, #354637);
  --muted: var(--theme-muted, #999999);
  --accent: var(--theme-accent, #cf7525);
  --accent-d: var(--theme-accent-dark, #354637);
  --fade: 420ms;

}

/* ── LAYOUT ──────────────────────────────────────────────── */
.js-section .layout-container {
  height: 100%;
  justify-content: center;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  padding: 4.5rem 7rem;
  max-width: 1600px;
  margin: 0 auto;  
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  /* equal 50/50 columns */
  gap: 4rem;
  align-items: start;
  width: 100%;
}


.js-section .layout-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ── CUSTOM SELECT ───────────────────────────────────────── */
.js-section .select-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.js-section .select-label {
  display: block;
  font-size: 16px;
  font-weight: 100;
  letter-spacing: 0.5;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.js-section .custom-select {
  position: relative;
  cursor: pointer;
  user-select: none;
  padding: 0 !important;
  
}

.js-section .select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 200ms;
  border-radius: 10px;
}

.js-section .custom-select.open .select-trigger,
.js-section .select-trigger:hover {
  border-color: var(--accent-d);
}

.js-section .select-arrow2 {
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--accent);
  transition: transform 250ms ease;
  flex-shrink: 0;
}

.js-section .custom-select.open .select-arrow2 {
  transform: rotate(180deg);
}

.js-section .select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  z-index: 50;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 300ms ease,
    opacity 220ms ease;
}

.js-section .custom-select.open .select-dropdown {
  max-height: 280px;
  opacity: 1;
}

.js-section .select-option {
  padding: 0.75rem 1.1rem;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition:
    background 150ms,
    color 150ms;
}



.js-section .legends {
  list-style: none;
  padding: 0;
  margin: 0;
}

.js-section .legend-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0.7rem 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 350ms ease,
    transform 350ms ease;
}

.js-section .legend-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.js-section .legend-number {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
  flex-shrink: 0;
  min-width: 20px;
}

.js-section .legend-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.js-section .legend-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-dark);
  margin-top: 2px;
}

.js-section .legend-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── IMAGE FRAME ─────────────────────────────────────────── */
.js-section .layout-right {
  position: relative;
}

.js-section .image-frame {
  position: relative;
  overflow: hidden;
  height: 640px;
  padding: 5px;
  border-radius: 8px;
}

.js-section .image-frame::before {
  content: "";
  display: block;
  padding-top: 66%;
}

.js-section .image-slide {
  position: absolute;
  inset: 0;
  /* fills the frame — no hardcoded px */
  opacity: 0;
  transition: opacity var(--fade) ease;
}

.js-section .image-slide.active {
  opacity: 1;
}

.js-section .image-slide picture,
.js-section .image-slide img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  display: block;
}

.js-section .img-placeholder {
  width: 100%;
  height: 100%;
  /* fills parent, no hardcoded size */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.details-brochure {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.js-section .image-caption {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--surface);
}
/* ── DOWNLOAD BUTTON ─────────────────────────────────────── */
.js-section .brochure-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.70rem;
  padding: 8px 30px 8px 20px;
  background: #CF7525;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 200ms,
    color 200ms;
  border-radius: 20px 0 20px 0;
}

.js-section .brochure-btn:hover:not(:disabled) {
  background: #B8681E;
  color: #fff;
}

.js-section .brochure-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Icons */
.js-section .brochure-icon svg,
.js-section .brochure-spinner svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* Spinner hidden by default */
.js-section .brochure-spinner {
  display: none;
}

.js-section .brochure-btn.loading .brochure-spinner {
  display: inline-flex;
}

.js-section .brochure-btn.loading .brochure-icon {
  display: none;
}

/* Spin animation */
@keyframes brochure-spin {
  to {
    transform: rotate(360deg);
  }
}

.js-section .brochure-spinner svg {
  animation: brochure-spin 0.75s linear infinite;
  transform-origin: center;
}


.js-section .prox-head{
  margin-bottom: 2rem;
}

.js-section .prox-subhead{
  margin-bottom: 4rem;
  letter-spacing: 1px;
  font-weight: normal;
  line-height: 30px;
}

@media(max-width: 1280px){

  .js-section .layout-container {

    padding: 4.5rem 12rem;
    grid-template-columns: 2fr 1fr;
  }
}

@media(max-width: 1280px){

  .js-section .layout-container {

    padding: 4.5rem 8rem;
    
  }
}

@media (max-width: 768px){

  .details-brochure {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .js-section .layout-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 20px;
  }

  .prox-subhead p{
    font-size:16px;
  }
}

@media (max-width: 640px){

  .js-section .image-slide picture,
  .js-section .image-slide img {
    height: auto;
  }

.js-section .image-frame {

  height: auto;

}  

}