/* ============================================================
   ECO SPAS — Our Hot Tubs (Models) page
   "Pick your size. They're all built the same."
   ============================================================ */

/* ---------- SECTION HEADER ---------- */
.models-intro { padding-top: 120px; }
.sec-head .eyebrow, .sec-head .kicker { margin-bottom: 18px; }
.sec-head h1 { font-size: clamp(40px, 6vw, 86px); }
.sec-head h1 em, .sec-head h2 em { font-style: normal; color: var(--accent); }
.sec-head { max-width: 920px; }

/* ---------- SELECTION LEDGER ---------- */
.selection-ledger {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border: 1px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 40px;
}
.selection-ledger .sl-main { background: var(--ink); color: var(--canvas); padding: clamp(26px, 3vw, 40px); }
.selection-ledger .sl-main .kicker { color: oklch(72% 0.02 240); margin-bottom: 16px; }
.selection-ledger .sl-main .kicker::before { background: var(--amber); }
.selection-ledger .sl-main strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 27px); letter-spacing: -.02em; margin-bottom: 14px; }
.selection-ledger .sl-main span { font-size: 15px; line-height: 1.6; color: oklch(82% 0.02 240); }
.selection-ledger .sl-rows { background: var(--canvas-2); display: grid; grid-template-columns: auto 1fr; align-content: start; }
.selection-ledger .sl-rows .r {
  display: contents;
}
.selection-ledger .sl-rows .k, .selection-ledger .sl-rows .v {
  padding: 16px 22px; border-bottom: 1px solid var(--hairline); font-size: 14px;
}
.selection-ledger .sl-rows .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.selection-ledger .sl-rows .v { color: var(--ink-2); }
.selection-ledger .sl-rows .r:last-child .k, .selection-ledger .sl-rows .r:last-child .v { border-bottom: 0; }

/* ---------- MODEL CARDS ---------- */
.model-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.model-card {
  text-align: left; background: var(--canvas-2); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer; padding: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  font: inherit; color: inherit; width: 100%;
}
.model-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--hairline-2); }
.model-card:focus-visible { outline: 2px solid var(--steam); outline-offset: 2px; }
.model-card.is-deluxe { border-color: var(--ink); }
.product-photo {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  background: linear-gradient(150deg, oklch(94% 0.008 90), oklch(88% 0.01 240));
  border-bottom: 1px solid var(--hairline); display: grid; place-items: center;
}
.product-photo .ghost { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(90px, 14vw, 150px); letter-spacing: -.05em; color: var(--ink); opacity: .06; pointer-events: none; }
.product-photo img { position: relative; max-width: 80%; max-height: 86%; object-fit: contain; filter: drop-shadow(0 18px 30px oklch(20% 0.02 240 / .18)); }
.mc-pad { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.model-card .mc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.model-card .label-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.badge-popular { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-accent); background: var(--accent); padding: 4px 9px; border-radius: var(--radius-sm); }
.model-card .name { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1; }
.model-card .name span { font-weight: 500; color: var(--ink-3); margin-left: 7px; font-size: 18px; letter-spacing: -.01em; }
.model-card .seats { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin: 8px 0 12px; }
.model-card .card-desc { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0 0 18px; }
.model-card .specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; padding-top: 16px; border-top: 1px solid var(--hairline); margin-bottom: 16px; }
.model-card .specs .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.model-card .specs .v { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.model-card .cost-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--hairline); }
.model-card .cost-label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.model-card .cost-val { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.model-card .cost-val span { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--ink-3); }
.model-card .arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hairline); display: grid; place-items: center; transition: .2s var(--ease); }
.model-card .arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.model-card:hover .arrow { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.model-card:hover .arrow svg { transform: translateX(2px); }

/* ---------- COMPARE TABLE ---------- */
.compare-section { background: var(--canvas-deep); }
.table-scroll { overflow-x: auto; scrollbar-width: thin; margin-top: 40px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--canvas-2); border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; min-width: 760px; }
.spec-table th, .spec-table td { padding: 14px 16px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--hairline); }
.spec-table thead th { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; background: var(--canvas); }
.spec-table thead th.th-deluxe { color: var(--accent); }
.spec-table .td-row-label, .spec-table th:first-child { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.spec-table td.td-deluxe { background: oklch(96% 0.02 75); font-weight: 600; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table .full td { color: var(--ink-2); font-style: italic; }
.spec-table .num { font-family: var(--font-display); font-weight: 600; font-feature-settings: "tnum"; }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--ink); color: var(--canvas); text-align: center; }
.cta-band .kicker.on-dark { justify-content: center; }
.cta-band h2 { color: var(--canvas); max-width: 20ch; margin: 18px auto 16px; }
.cta-band p { color: oklch(80% 0.02 240); max-width: 54ch; margin: 0 auto 30px; font-size: 17px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- MODAL ---------- */
.modal-backdrop { position: fixed; inset: 0; background: oklch(15% 0.02 240 / .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; z-index: 200; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  position: fixed; top: 50%; left: 50%; width: min(620px, 94vw); max-height: 90vh;
  background: var(--canvas); z-index: 210; box-shadow: var(--shadow-lg);
  border: 1px solid var(--hairline-2); border-radius: var(--radius-lg);
  transform: translate(-50%, -50%) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.modal-close-bar { display: flex; justify-content: flex-end; padding: 14px 16px; border-bottom: 1px solid var(--hairline); flex: none; }
.modal-close-bar button { width: 38px; height: 38px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: var(--canvas-2); font-size: 20px; line-height: 1; color: var(--ink); transition: .15s; }
.modal-close-bar button:hover { border-color: var(--ink); }
.modal-scroll { overflow-y: auto; flex: 1; min-height: 0; padding: 0 clamp(22px, 3vw, 34px) 34px; }
.modal-image { position: relative; aspect-ratio: 16/11; margin: 0 calc(clamp(22px,3vw,34px) * -1) 0; background: linear-gradient(150deg, oklch(92% 0.008 90), oklch(86% 0.01 240)); display: grid; place-items: center; overflow: hidden; }
.modal-image .ghost { position: absolute; font-family: var(--font-display); font-weight: 800; font-size: 160px; color: var(--ink); opacity: .06; letter-spacing: -.05em; }
.modal-image img { position: relative; max-width: 76%; max-height: 84%; object-fit: contain; filter: drop-shadow(0 20px 36px oklch(20% 0.02 240 / .2)); }
.modal-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 26px; }
.modal-model { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -.04em; margin: 6px 0 0; }
.modal-tagline { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 14px 0 0; }
.modal-video-wrap { margin-top: 22px; }
.modal-video-wrap video { width: 100%; max-width: 320px; margin-inline: auto; aspect-ratio: 9/16; object-fit: cover; border: 1px solid var(--ink); border-radius: var(--radius-sm); background: linear-gradient(150deg, oklch(30% 0.02 240), oklch(15% 0.02 240)); display: block; }
.modal-video-cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 8px 0 0; }
.modal-specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius-sm); overflow: hidden; margin-top: 24px; }
.modal-spec { background: var(--canvas-2); padding: 14px 14px; }
.modal-spec-val { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.modal-spec-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.modal-section { margin-top: 26px; }
.modal-section-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--hairline); }
.modal-cost { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.modal-cost strong { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-2); background: var(--canvas-2); border: 1px solid var(--hairline); padding: 8px 12px; border-radius: var(--radius-sm); }
.modal-tag.amber { border-color: var(--accent); color: var(--ink); }
.addon-list { display: flex; flex-direction: column; gap: 8px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: var(--canvas-2); cursor: pointer; transition: .15s; font-size: 14.5px; }
.addon:hover { border-color: var(--hairline-2); }
.addon.on { border-color: var(--ink); background: var(--canvas); }
.addon .box { width: 20px; height: 20px; border: 1px solid var(--hairline-2); border-radius: 3px; display: grid; place-items: center; flex: none; transition: .15s; }
.addon .box svg { width: 13px; height: 13px; opacity: 0; transition: opacity .15s; color: var(--canvas); }
.addon.on .box { background: var(--ink); border-color: var(--ink); }
.addon.on .box svg { opacity: 1; }
.modal-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; }
.swatch .chip { width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--hairline-2); transition: .15s; background-size: cover; background-position: center; background-repeat: no-repeat; }
.shell-preview { margin-top: 14px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(150deg, oklch(92% 0.008 90), oklch(86% 0.01 240)); }
.shell-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch.on .chip { box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--ink); }
.swatch .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.modal-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-pill { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--canvas-2); border: 1px solid var(--hairline-2); padding: 11px 18px; border-radius: var(--radius-sm); transition: .15s; }
.modal-pill.active { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.modal-power-note { margin: 0; padding: 13px 15px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: var(--canvas-2); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.modal-btn-primary {
  width: 100%; background: var(--ink); color: var(--canvas); border: 1px solid var(--ink); border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 16px; transition: .2s var(--ease);
}
.modal-btn-primary:hover { background: var(--steam-deep); border-color: var(--steam-deep); }
.modal-input { width: 100%; padding: 13px 15px; border: 1px solid var(--hairline-2); border-radius: var(--radius-sm); background: var(--canvas-2); font-family: var(--font-body); font-size: 15px; color: var(--ink); margin-bottom: 10px; }
.modal-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.modal-success-msg { font-size: 16px; line-height: 1.5; color: var(--ink); padding: 18px; border: 1px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .model-list { grid-template-columns: repeat(2, 1fr); }
  .selection-ledger { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .model-list { grid-template-columns: 1fr; }
  .modal-specs-grid { grid-template-columns: repeat(2, 1fr); }
}
