/* ============================================================
   POWDER HOUSE BEND — Rental Pricing & Boot Fitting
   Light professional theme. Figtree + cyan #0891b2.
   Retro: cyan-only dark mode preserved for toggle.
   ============================================================ */

:root {
  --pr-font:       'Figtree', 'DM Sans', system-ui, -apple-system, sans-serif;
  --pr-mono:       'DM Mono', 'IBM Plex Mono', 'Courier New', monospace;

  /* Brand */
  --pr-accent:     #0891b2;
  --pr-accent-lt:  #e0f7fa;
  --pr-accent-mid: #a5d8e8;

  /* Surfaces */
  --pr-bg:         #f8fafc;
  --pr-surface:    #ffffff;
  --pr-surface-2:  #f1f5f9;

  /* Borders */
  --pr-border:     #e2e8f0;
  --pr-border-accent: rgba(8, 145, 178, 0.2);

  /* Text */
  --pr-text:       #0f172a;
  --pr-text-mid:   #334155;
  --pr-muted:      #64748b;
  --pr-muted-lt:   #94a3b8;

  /* Effects */
  --pr-shadow-sm:  0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --pr-shadow:     0 4px 16px rgba(15,23,42,.07), 0 1px 4px rgba(15,23,42,.05);
  --pr-shadow-md:  0 8px 28px rgba(15,23,42,.09), 0 2px 8px rgba(15,23,42,.05);

  --pr-ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --pr-radius:     14px;
  --pr-radius-sm:  10px;
}


/* ════════════════════════════════════════════════════════════
   RENTAL INFO BOX
════════════════════════════════════════════════════════════ */
.rental-info {
  position: relative;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-left: 4px solid var(--pr-accent);
  border-radius: var(--pr-radius-sm);

  padding: 2rem;
  margin: 2rem auto;
  max-width: 1000px;

  box-shadow: var(--pr-shadow);
  animation: pr-fade-in 0.45s ease-out both;
}

.rental-info h2 {
  font-family: var(--pr-font);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--pr-text);
  margin: 0 0 0.75rem;
}

.rental-info p {
  font-family: var(--pr-font);
  font-size: 0.90rem;
  line-height: 1.75;
  color: var(--pr-muted);
  margin: 0;
}


/* ════════════════════════════════════════════════════════════
   SEASON RENTAL RATES SECTION
════════════════════════════════════════════════════════════ */
.season-rental-rates {
  padding: 4rem 2rem;
  background: var(--pr-bg);
  color: var(--pr-text);
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 800px;
  animation: pr-fade-in 0.5s ease both;
}

.section-header h2 {
  font-family: var(--pr-font);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--pr-text);
  margin: 0 0 0.5rem;
}

.section-header .subtitle {
  font-family: var(--pr-font);
  font-size: 0.94rem;
  color: var(--pr-muted);
}

.rental-rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════
   RENTAL TILE
════════════════════════════════════════════════════════════ */
.rental-tile {
  position: relative;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-top: 3px solid transparent;
  border-radius: var(--pr-radius);
  overflow: visible;

  padding: 1.75rem;
  box-shadow: var(--pr-shadow-sm);

  transition:
    transform    0.24s var(--pr-ease),
    box-shadow   0.24s ease,
    border-color 0.2s ease;

  animation: pr-fade-up 0.5s ease both;
}

.rental-tile:hover {
  transform: translateY(-4px);
  border-top-color: var(--pr-accent);
  box-shadow: var(--pr-shadow-md);
}

.rental-tile h3 {
  font-family: var(--pr-font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pr-accent);
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rental-tile h3 svg.icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: var(--pr-accent);
  transition: transform 0.22s ease;
}

.rental-tile:hover svg.icon { transform: scale(1.1); }

.rental-subtitle {
  font-family: var(--pr-font);
  font-size: 0.79rem;
  color: var(--pr-muted);
  margin: 0 0 1.25rem;
}


/* ════════════════════════════════════════════════════════════
   RENTAL TABLE
════════════════════════════════════════════════════════════ */
.rental-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  overflow-x: auto;
  display: table;
}

.rental-table th,
.rental-table td {
  border: 1px solid var(--pr-border);
  padding: 0.65rem 0.9rem;
  text-align: left;
  font-family: var(--pr-font);
}

.rental-table thead th {
  background: var(--pr-accent-lt);
  color: var(--pr-accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .rental-table thead th {
    position: sticky;
    top: 68px;
    z-index: 5;
    background: var(--pr-surface);
    border-bottom: 2px solid var(--pr-accent-mid);
  }
}

.rental-table tbody tr:nth-child(even) {
  background: var(--pr-surface-2);
}

.rental-table tbody tr:nth-child(odd) {
  background: var(--pr-surface);
}

.rental-table tbody tr:hover {
  background: var(--pr-accent-lt);
  transition: background 0.12s ease;
}

.rental-table td {
  color: var(--pr-muted);
}

.rental-table td:first-child {
  color: var(--pr-text-mid);
  font-weight: 600;
}

/* Price column — right-aligned pill */
.rental-table td:last-child {
  color: var(--pr-accent);
  font-weight: 700;
  font-family: var(--pr-mono);
  font-size: 0.82rem;
  white-space: nowrap;
}


/* ════════════════════════════════════════════════════════════
   HIGHLIGHT NOTE + SUBTEXT
════════════════════════════════════════════════════════════ */
.highlight-note {
  font-family: var(--pr-font);
  text-align: center;
  margin-top: 2rem;
  font-size: 0.84rem;
  color: var(--pr-muted);
}

.subtext {
  font-family: var(--pr-font);
  font-size: 0.78rem;
  color: var(--pr-muted-lt);
}


/* ════════════════════════════════════════════════════════════
   BOOT NOTE
════════════════════════════════════════════════════════════ */
.boot-note-subtle {
  text-align: center;
  font-family: var(--pr-font);
  font-size: 0.82rem;
  padding: 1.25rem 1rem 2rem;
  color: var(--pr-muted);
  background: none;
  border-top: 1px solid var(--pr-border);
  margin-top: 2rem;
}

.boot-note-subtle em {
  font-style: italic;
  color: var(--pr-text-mid);
}

.boot-note-subtle .disclaimer {
  display: block;
  font-size: 0.74rem;
  margin-top: 0.3rem;
  color: var(--pr-muted-lt);
}


/* ════════════════════════════════════════════════════════════
   BOOT FITTING SECTION
════════════════════════════════════════════════════════════ */
.bootfit-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* ── Process panel ── */
.bootfit-process {
  flex: 0 1 38%;
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;

  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-top: 3px solid var(--pr-accent);
  border-radius: var(--pr-radius-sm);
  padding: 2rem;

  box-shadow: var(--pr-shadow);
  transition: box-shadow 0.22s ease;
}

.bootfit-process h3 {
  font-family: var(--pr-font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pr-accent);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bootfit-process ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bootfit-process li {
  margin-bottom: 0.6rem;
  background: var(--pr-surface-2);
  padding: 0.75rem 1rem;
  border: 1px solid var(--pr-border);
  border-left: 3px solid var(--pr-accent-mid);
  border-radius: 6px;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.bootfit-process li:hover {
  background: var(--pr-accent-lt);
  border-left-color: var(--pr-accent);
}

.bootfit-process li strong {
  font-family: var(--pr-font);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--pr-text);
  display: block;
  margin-bottom: 0.25rem;
}

.bootfit-process li ul {
  padding-left: 0.9rem;
  font-family: var(--pr-font);
  font-size: 0.80rem;
  color: var(--pr-muted);
}

/* ── Service tiles ── */
.boot-services {
  flex: 1 1 58%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
}

.boot-services .rental-category {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-left: 4px solid var(--pr-accent);
  border-radius: var(--pr-radius-sm);
  padding: 1.5rem;
  box-shadow: var(--pr-shadow-sm);
}

.boot-services h3 {
  font-family: var(--pr-font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pr-accent);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.boot-services table {
  width: 100%;
  border-collapse: collapse;
}

.boot-services th,
.boot-services td {
  padding: 0.6rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--pr-border);
  font-family: var(--pr-font);
  font-size: 0.84rem;
}

.boot-services thead th {
  background: var(--pr-accent-lt);
  color: var(--pr-accent);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.boot-services tbody tr:hover {
  background: var(--pr-accent-lt);
  transition: background 0.12s ease;
}

.boot-services tbody td {
  color: var(--pr-muted);
}

.boot-services tbody td:first-child {
  color: var(--pr-text-mid);
  font-weight: 600;
}

.boot-services tbody td:last-child {
  color: var(--pr-accent);
  font-weight: 700;
  font-family: var(--pr-mono);
  font-size: 0.82rem;
}


/* ════════════════════════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════════════════════════ */
@keyframes pr-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pr-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════════════════════════════════════
   RETRO MODE — opt-in dark/cyan override
   Preserved for toggle compatibility.
════════════════════════════════════════════════════════════ */
body.retro-mode {
  --pr-bg:           rgba(14, 20, 32, 0.92);
  --pr-surface:      rgba(0, 5, 12, 0.96);
  --pr-surface-2:    rgba(0, 229, 255, 0.022);
  --pr-border:       rgba(0, 229, 255, 0.18);
  --pr-border-accent: rgba(0, 229, 255, 0.38);
  --pr-accent:       #00e5ff;
  --pr-accent-lt:    rgba(0, 229, 255, 0.06);
  --pr-accent-mid:   rgba(0, 229, 255, 0.32);
  --pr-text:         #e8f0f8;
  --pr-text-mid:     rgba(0, 229, 255, 0.80);
  --pr-muted:        rgba(0, 229, 255, 0.48);
  --pr-muted-lt:     rgba(0, 229, 255, 0.28);
  --pr-shadow-sm:    none;
  --pr-shadow:       none;
  --pr-shadow-md:    0 0 20px rgba(0, 229, 255, 0.09);
}

body.retro-mode .season-rental-rates { background: transparent; }

body.retro-mode .rental-info,
body.retro-mode .bootfit-process,
body.retro-mode .boot-services .rental-category,
body.retro-mode .rental-tile {
  backdrop-filter: none;
  border-radius: 2px;
  box-shadow: none;
}

body.retro-mode .rental-tile:hover,
body.retro-mode .bootfit-process li:hover {
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.09);
}

body.retro-mode .section-header h2,
body.retro-mode .rental-info h2,
body.retro-mode .bootfit-process h3,
body.retro-mode .boot-services h3,
body.retro-mode .rental-tile h3 {
  font-family: var(--pr-mono);
  letter-spacing: 0.2em;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

body.retro-mode .section-header .subtitle,
body.retro-mode .rental-info p,
body.retro-mode .rental-subtitle,
body.retro-mode .bootfit-process li strong,
body.retro-mode .bootfit-process li ul,
body.retro-mode .boot-services tbody td,
body.retro-mode .rental-table td,
body.retro-mode .highlight-note,
body.retro-mode .subtext,
body.retro-mode .boot-note-subtle {
  font-family: var(--pr-mono);
}

body.retro-mode .rental-table thead th,
body.retro-mode .boot-services thead th {
  background: rgba(0, 229, 255, 0.08);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

body.retro-mode .rental-table tbody tr:nth-child(even) {
  background: rgba(0, 229, 255, 0.025);
}

body.retro-mode .rental-table tbody tr:nth-child(odd),
body.retro-mode .boot-services .rental-category {
  background: transparent;
}

body.retro-mode .rental-table td:last-child,
body.retro-mode .boot-services tbody td:last-child {
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

body.retro-mode .boot-note-subtle {
  border-top-color: rgba(0, 229, 255, 0.12);
}

body.retro-mode .boot-note-subtle em {
  color: rgba(0, 229, 255, 0.32);
}

body.retro-mode .boot-note-subtle .disclaimer {
  color: rgba(0, 229, 255, 0.22);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .bootfit-wrapper {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .bootfit-process,
  .boot-services {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .rental-rates-grid {
    grid-template-columns: 1fr;
  }
}


/* ════════════════════════════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .rental-tile,
  .rental-info,
  .bootfit-process li {
    transition: none !important;
    animation: none !important;
  }
}