/* Fleet Configurator — styles
   Uses the site's default theme font throughout (no external font CDN). */

.fleet-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 90px 32px;
  background: #060605;
  color: #f2ede4;
}

.fleet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
}

.fleet-header h2 {
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 480px;
}

.fleet-header h2 em {
  font-style: italic;
  color: #c8a24a;
}

.fleet-header-side {
  max-width: 460px;
}

.fleet-header-side p {
  color: #928c80;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.fleet-cta {
  display: inline-block;
  color: #f2ede4;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #c8a24a;
  padding-bottom: 3px;
}
.fleet-cta:hover { color: #c8a24a; }

.configurator {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  border: 1px solid #211f1a;
  border-radius: 6px;
  overflow: hidden;
  background: #0d0c0a;
}

.configurator .options { order: 1; }
.configurator .viewer { order: 2; }

.configurator input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.viewer {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-left: 1px solid #211f1a;
}

.frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.frame .art {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #14130f; /* fallback while image loads */
  border-radius: 30px;
}

.frame .overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.frame .plate {
  background: rgba(6,6,5,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(200,162,74,0.4);
  color: #c8a24a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  border-radius: 3px;
}

.frame .chips {
  display: flex;
  gap: 8px;
}

.frame .chip {
  background: rgba(6,6,5,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid #2a2722;
  font-size: 12.5px;
  color: #d8d2c6;
  padding: 6px 11px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.frame .chip svg { width: 14px; height: 14px; stroke: #c8a24a; }

.configurator:has(#r1:checked) .frame.f1,
.configurator:has(#r2:checked) .frame.f2,
.configurator:has(#r3:checked) .frame.f3,
.configurator:has(#r4:checked) .frame.f4,
.configurator:has(#r5:checked) .frame.f5 {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.options {
  display: flex;
  flex-direction: column;
}

.option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  height: 20%;
  border-bottom: 1px solid #1a1815;
  cursor: pointer;
  transition: background 0.2s ease;
}

.option:last-child { border-bottom: none; }
.option:hover { background: rgba(255,255,255,0.025); }

.option::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.configurator:has(#r1:checked) .option.o1,
.configurator:has(#r2:checked) .option.o2,
.configurator:has(#r3:checked) .option.o3,
.configurator:has(#r4:checked) .option.o4,
.configurator:has(#r5:checked) .option.o5 {
  background: rgba(200,162,74,0.06);
}

.configurator:has(#r1:checked) .option.o1::before,
.configurator:has(#r2:checked) .option.o2::before,
.configurator:has(#r3:checked) .option.o3::before,
.configurator:has(#r4:checked) .option.o4::before,
.configurator:has(#r5:checked) .option.o5::before {
  background: #c8a24a;
}

.option-name {
  font-size: 19px;
  font-weight: 500;
  color: #7c766a;
  transition: color 0.2s ease;
}

.configurator:has(#r1:checked) .option.o1 .option-name,
.configurator:has(#r2:checked) .option.o2 .option-name,
.configurator:has(#r3:checked) .option.o3 .option-name,
.configurator:has(#r4:checked) .option.o4 .option-name,
.configurator:has(#r5:checked) .option.o5 .option-name {
  color: #f2ede4;
}

.option-meta {
  font-size: 12.5px;
  color: #625c50;
  white-space: nowrap;
}

@media (max-width: 780px) {
  .fleet-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .fleet-header h2 { font-size: 32px; }
  .configurator { grid-template-columns: 1fr; }
  .configurator .viewer { order: 1; border-left: none; border-bottom: 1px solid #211f1a; aspect-ratio: 4/3; }
  .configurator .options { order: 2; }
  .option { height: auto; padding: 16px 20px; }
  .frame .overlay { flex-direction: column; align-items: flex-start; gap: 8px; }
}
