/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B3A5C;
  --navy-light: #2a5080;
  --gold: #C5A55A;
  --gold-light: #d4ba7a;
  --gold-dark: #a88c3e;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --green: #2e7d32;
  --green-bg: #e8f5e9;
  --red: #c62828;
  --red-bg: #ffebee;
  --orange: #e65100;
  --orange-bg: #fff3e0;
  --blue-bg: #e3f2fd;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Header ───────────────────────────────────────────────────────── */
.header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  text-align: center;
}

.header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.header .tagline {
  color: var(--gold);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.15rem;
}

.header .phone {
  color: var(--gray-300);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.header .phone a {
  color: var(--gold-light);
  text-decoration: none;
}

/* ── Container ────────────────────────────────────────────────────── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.container.wide {
  max-width: 1100px;
}

/* ── Cards ────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

/* ── Steps / Wizard ───────────────────────────────────────────────── */
.steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-indicator {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius);
  background: var(--gray-200);
  color: var(--gray-600);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}

.step-indicator.active {
  background: var(--navy);
  color: var(--white);
}

.step-indicator.done {
  background: var(--green-bg);
  color: var(--green);
}

.step-panel { display: none; }
.step-panel.active { display: block; }

/* ── Forms ────────────────────────────────────────────────────────── */
label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--white);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}

textarea { resize: vertical; min-height: 80px; }

.form-group { margin-bottom: 1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.required::after {
  content: ' *';
  color: var(--red);
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-light); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.btn-danger {
  background: var(--red);
  color: var(--white);
}
.btn-danger:hover { background: #b71c1c; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ── Item Selector (Measure) ──────────────────────────────────────── */
.item-list { display: flex; flex-direction: column; gap: 0.5rem; }

.item-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all 0.2s;
  flex-wrap: wrap;
}

.item-row:hover { border-color: var(--gray-400); }
.item-row.selected { border-color: var(--navy); background: rgba(27, 58, 92, 0.03); }

.item-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.item-info { flex: 1; min-width: 150px; }
.item-name { font-weight: 600; font-size: 0.9rem; }
.item-time { font-size: 0.8rem; color: var(--gray-600); }

.item-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.item-qty button {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  background: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.item-qty button:hover { border-color: var(--navy); color: var(--navy); }

.item-qty span {
  width: 28px;
  text-align: center;
  font-weight: 600;
}

.time-estimate {
  background: var(--blue-bg);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 1rem;
  text-align: center;
}

/* ── Other Item ───────────────────────────────────────────────────── */
.other-fields {
  display: none;
  width: 100%;
  padding-top: 0.5rem;
}
.other-fields.visible { display: block; }

.other-fields input,
.other-fields textarea {
  margin-top: 0.4rem;
}

/* ── Slot Cards (Install) ─────────────────────────────────────────── */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.slot-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.slot-card:hover { border-color: var(--gold); }

.slot-card.selected {
  border-color: var(--navy);
  background: rgba(27, 58, 92, 0.04);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}

.slot-card .slot-date {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.slot-card .slot-time {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ── Summary ──────────────────────────────────────────────────────── */
.summary-table {
  width: 100%;
  border-collapse: collapse;
}

.summary-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  background: var(--gray-100);
  font-size: 0.8rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

/* ── Status Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-pending { background: var(--orange-bg); color: var(--orange); }
.badge-contacted { background: var(--blue-bg); color: #1565c0; }
.badge-scheduled { background: #e8eaf6; color: #283593; }
.badge-booked { background: #e8eaf6; color: #283593; }
.badge-completed { background: var(--green-bg); color: var(--green); }
.badge-cancelled { background: var(--gray-200); color: var(--gray-600); }
.badge-overdue { background: var(--red-bg); color: var(--red); }

/* ── Admin Tabs ───────────────────────────────────────────────────── */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 1.5rem;
  gap: 0;
}

.tab {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-600);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

.tab:hover { color: var(--navy); }
.tab.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Admin Stats ──────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  text-align: center;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.stat-card.warn .stat-value { color: var(--orange); }
.stat-card.danger .stat-value { color: var(--red); }

/* ── Admin Lists ──────────────────────────────────────────────────── */
.list-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.list-item:hover { box-shadow: var(--shadow-lg); }

.list-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.list-item-title {
  font-weight: 600;
  font-size: 1rem;
}

.list-item-meta {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.list-item-details {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.list-item-details.open { display: block; }

.detail-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.detail-row strong {
  color: var(--gray-700);
  min-width: 100px;
}

/* ── Modal ────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.modal h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

/* ── Install Link Copy ────────────────────────────────────────────── */
.link-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-100);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  margin-top: 0.5rem;
}

.link-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: monospace;
  font-size: 0.85rem;
}

.link-box input:focus {
  box-shadow: none;
}

/* ── Success Screen ───────────────────────────────────────────────── */
.success-screen {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-screen h2 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.success-screen p {
  color: var(--gray-600);
  max-width: 400px;
  margin: 0 auto;
}

/* ── Empty State ──────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--gray-500);
}

/* ── Slot Builder (Admin) ─────────────────────────────────────────── */
.slot-builder {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slot-entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.slot-entry input { width: auto; flex: 1; min-width: 100px; }

.slot-entry .remove-slot {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
}

/* ── Filter Bar ───────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.filter-bar .btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── Utility ──────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

.hidden { display: none !important; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .header h1 { font-size: 1.25rem; }
  .container { padding: 1rem 0.75rem; }
  .card { padding: 1rem; }
  .tabs { overflow-x: auto; }
  .tab { padding: 0.6rem 0.75rem; font-size: 0.8rem; white-space: nowrap; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .slot-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════
   QUOTE REQUEST TOOL  (measure.html — .quote-page scope)
   ═══════════════════════════════════════════════════════════════════ */

.quote-page {
  --qnavy: #1a2744;
  --qnavy-light: #243655;
  --qnavy-dark: #111c30;
  --qgold: #c9a84c;
  --qgold-light: #ddc070;
  --qgold-dark: #a88c3e;
  --qwarm: #f5f0e8;
  --qwhite: #ffffff;
  --qgray-50: #faf9f7;
  --qgray-100: #f0ede7;
  --qgray-200: #e0dbd2;
  --qgray-300: #c4bfb5;
  --qgray-400: #9e9889;
  --qgray-500: #7a7568;
  --qgray-600: #5c584e;
  --qgray-700: #3d3a34;
  --qgray-800: #2a2824;
  --qgreen: #2e7d32;
  --qgreen-bg: #e8f5e9;
  --qred: #c62828;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--qwarm);
  color: var(--qgray-800);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Quote Header ─────────────────────────────────────────────────── */

.q-header {
  background: var(--qnavy);
  border-bottom: 3px solid var(--qgold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.q-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.q-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.q-logo-icon {
  flex-shrink: 0;
}

.q-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--qwhite);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.q-logo-tagline {
  font-size: 0.72rem;
  color: var(--qgold);
  font-style: italic;
  letter-spacing: 0.5px;
  margin-top: 0.1rem;
}

.q-header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--qgold-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.q-header-phone:hover {
  color: var(--qwhite);
}

/* ── Main ─────────────────────────────────────────────────────────── */

.q-main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* ── Steps ────────────────────────────────────────────────────────── */

.q-step {
  display: none;
  animation: qFadeIn 0.35s ease;
}

.q-step.active {
  display: block;
}

@keyframes qFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Step Header ──────────────────────────────────────────────────── */

.q-step-header {
  text-align: center;
  margin-bottom: 2rem;
}

.q-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 0.5rem;
}

.q-subtitle {
  font-size: 1.05rem;
  color: var(--qgray-500);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

.q-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 0.35rem;
}

.q-section-subtitle {
  font-size: 0.95rem;
  color: var(--qgray-500);
}

/* ── Back Link ────────────────────────────────────────────────────── */

.q-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  color: var(--qgold-dark);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  font-family: inherit;
  transition: color 0.2s;
}

.q-back-link:hover {
  color: var(--qnavy);
}

/* ── Progress Bar ─────────────────────────────────────────────────── */

.q-progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.q-progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.q-pnum {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--qgray-200);
  color: var(--qgray-500);
  transition: all 0.3s;
}

.q-progress-step.active .q-pnum {
  background: var(--qnavy);
  color: var(--qwhite);
}

.q-progress-step.done .q-pnum {
  background: var(--qgold);
  color: var(--qwhite);
}

.q-plabel {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--qgray-400);
  transition: color 0.3s;
}

.q-progress-step.active .q-plabel {
  color: var(--qnavy);
}

.q-progress-step.done .q-plabel {
  color: var(--qgold-dark);
}

.q-progress-line {
  flex: 1;
  height: 2px;
  background: var(--qgray-200);
  margin: 0 0.75rem;
  max-width: 80px;
  transition: background 0.3s;
}

.q-progress-line.done {
  background: var(--qgold);
}

/* ═══ Category Cards ═════════════════════════════════════════════ */

.q-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.q-cat-card {
  background: var(--qwhite);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.q-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26, 39, 68, 0.15);
  border-color: var(--qgold);
}

.q-cat-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.q-cat-svg {
  width: 90px;
  height: 75px;
  opacity: 0.9;
  transition: transform 0.3s;
}

.q-cat-card:hover .q-cat-svg {
  transform: scale(1.08);
}

.q-cat-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.q-cat-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 0.35rem;
}

.q-cat-desc {
  font-size: 0.88rem;
  color: var(--qgray-500);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.q-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--qgold-dark);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  transition: gap 0.2s;
}

.q-cat-card:hover .q-cat-link {
  gap: 0.5rem;
}

.q-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.q-cat-card:hover .q-arrow {
  transform: translateX(2px);
}

/* ── Help Bar ─────────────────────────────────────────────────────── */

.q-help-bar {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--qwhite);
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.q-help-bar p {
  color: var(--qgray-500);
  font-size: 0.9rem;
}

.q-help-bar a {
  color: var(--qgold-dark);
  font-weight: 700;
  text-decoration: none;
}

.q-help-bar a:hover {
  text-decoration: underline;
}

/* ═══ Type Cards (Shower Types etc.) ═════════════════════════════ */

.q-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.q-type-card {
  background: var(--qwhite);
  border: 2px solid var(--qgray-200);
  border-radius: 12px;
  padding: 1.75rem 1rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.q-type-card:hover {
  border-color: var(--qgold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 39, 68, 0.12);
}

.q-type-icon {
  width: 70px;
  height: 84px;
  margin: 0 auto 1rem;
  color: var(--qnavy);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.q-type-icon svg {
  width: 100%;
  height: 100%;
}

.q-type-card:hover .q-type-icon {
  opacity: 1;
}

.q-type-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--qnavy);
  line-height: 1.3;
}

/* ═══ Form Card ═════════════════════════════════════════════════ */

.q-form-card {
  background: var(--qwhite);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.q-selected-summary {
  margin-bottom: 1.5rem;
}

.q-sel-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--qgray-50);
  border: 1.5px solid var(--qgray-200);
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
}

.q-sel-icon {
  width: 48px;
  height: 56px;
  color: var(--qnavy);
  opacity: 0.7;
  flex-shrink: 0;
}

.q-sel-icon svg {
  width: 100%;
  height: 100%;
}

.q-sel-info {
  flex: 1;
}

.q-sel-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--qgold-dark);
}

.q-sel-type {
  font-size: 1rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-top: 0.1rem;
}

.q-sel-change {
  background: none;
  border: 1.5px solid var(--qgray-300);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--qgray-600);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.q-sel-change:hover {
  border-color: var(--qnavy);
  color: var(--qnavy);
}

/* ── Form Sections ────────────────────────────────────────────────── */

.q-form-section {
  margin-bottom: 1.5rem;
}

.q-form-section:last-child {
  margin-bottom: 0;
}

.q-form-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--qgold-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--qgray-100);
}

.q-field {
  margin-bottom: 1rem;
}

.q-field:last-child {
  margin-bottom: 0;
}

.q-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.q-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--qgray-700);
  margin-bottom: 0.35rem;
}

.q-label.required::after {
  content: ' *';
  color: var(--qred);
}

.q-input {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1.5px solid var(--qgray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--qgray-800);
  background: var(--qwhite);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.q-input:focus {
  outline: none;
  border-color: var(--qnavy);
  box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.08);
}

.q-input-error {
  border-color: var(--qred) !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.08) !important;
}

.q-textarea {
  resize: vertical;
  min-height: 90px;
}

/* ═══ Review Card ═══════════════════════════════════════════════ */

.q-review-card {
  background: var(--qwhite);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2rem;
  max-width: 580px;
  margin: 0 auto;
}

.q-review-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.65rem 0;
}

.q-review-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--qgray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  min-width: 100px;
}

.q-review-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--qnavy);
  text-align: right;
  word-break: break-word;
}

.q-review-divider {
  height: 1px;
  background: var(--qgray-100);
  margin: 0.5rem 0;
}

/* ═══ Action Buttons ════════════════════════════════════════════ */

.q-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.q-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  text-decoration: none;
}

.q-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.q-btn-primary {
  background: var(--qnavy);
  color: var(--qwhite);
  flex: 1;
}

.q-btn-primary:hover:not(:disabled) {
  background: var(--qnavy-light);
  box-shadow: 0 4px 14px rgba(26, 39, 68, 0.25);
}

.q-btn-gold {
  background: var(--qgold);
  color: var(--qwhite);
  flex: 1;
}

.q-btn-gold:hover:not(:disabled) {
  background: var(--qgold-dark);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
}

.q-btn-outline {
  background: transparent;
  border: 1.5px solid var(--qgray-300);
  color: var(--qgray-600);
}

.q-btn-outline:hover {
  border-color: var(--qnavy);
  color: var(--qnavy);
}

/* ── Spinner ──────────────────────────────────────────────────────── */

.q-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--qwhite);
  border-radius: 50%;
  animation: qSpin 0.6s linear infinite;
}

@keyframes qSpin {
  to { transform: rotate(360deg); }
}

/* ═══ Success Screen ════════════════════════════════════════════ */

.q-success {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.q-success-icon {
  margin-bottom: 1.5rem;
}

.q-success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 0.75rem;
}

.q-success-text {
  font-size: 1rem;
  color: var(--qgray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.q-success-cta {
  margin-bottom: 2rem;
}

.q-success-cta p {
  font-size: 0.85rem;
  color: var(--qgray-400);
  margin-bottom: 0.5rem;
}

.q-success-restart {
  flex: unset;
}

/* ═══ Footer ════════════════════════════════════════════════════ */

.q-footer {
  background: var(--qnavy-dark);
  padding: 1.5rem;
  text-align: center;
}

.q-footer p {
  color: var(--qgray-400);
  font-size: 0.82rem;
}

.q-footer a {
  color: var(--qgold);
  text-decoration: none;
}

.q-footer a:hover {
  text-decoration: underline;
}

/* ═══ Responsive ════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .q-header-inner {
    padding: 0.75rem 1rem;
  }

  .q-logo-name {
    font-size: 1rem;
  }

  .q-header-phone span {
    display: none;
  }

  .q-main {
    padding: 1.5rem 1rem 2rem;
  }

  .q-title {
    font-size: 1.75rem;
  }

  .q-section-title {
    font-size: 1.4rem;
  }

  .q-categories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .q-cat-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  .q-cat-image {
    height: auto;
    width: 120px;
    min-height: 120px;
    flex-shrink: 0;
  }

  .q-cat-svg {
    width: 60px;
    height: 50px;
  }

  .q-cat-body {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .q-type-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.875rem;
  }

  .q-type-card {
    padding: 1.25rem 0.75rem 1rem;
  }

  .q-type-icon {
    width: 55px;
    height: 66px;
    margin-bottom: 0.75rem;
  }

  .q-type-name {
    font-size: 0.82rem;
  }

  .q-form-card {
    padding: 1.25rem;
  }

  .q-field-row {
    grid-template-columns: 1fr;
  }

  .q-review-card {
    padding: 1.25rem;
  }

  .q-review-section {
    flex-direction: column;
    gap: 0.15rem;
  }

  .q-review-value {
    text-align: left;
  }

  .q-progress-bar {
    padding: 0;
  }

  .q-plabel {
    font-size: 0.72rem;
  }

  .q-pnum {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .q-progress-line {
    margin: 0 0.4rem;
    max-width: 40px;
  }

  .q-actions {
    flex-direction: column-reverse;
  }

  .q-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .q-logo-icon {
    display: none;
  }

  .q-title {
    font-size: 1.5rem;
  }

  .q-cat-image {
    width: 90px;
  }

  .q-type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   PRICING ESTIMATOR & CUSTOMIZE STEP
   ═══════════════════════════════════════════════════════════════════ */

/* ── Type Card Price Tags ─────────────────────────────────────────── */

.q-type-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--qgold-dark);
  margin-top: 0.5rem;
  padding: 0.2rem 0.5rem;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 4px;
  display: inline-block;
}

.q-type-price-call {
  color: var(--qgray-500);
  background: var(--qgray-100);
  font-weight: 600;
}

/* ── Customize Container ──────────────────────────────────────────── */

.q-customize-container {
  max-width: 760px;
  margin: 0 auto;
}

/* ── Price Hero ───────────────────────────────────────────────────── */

.q-price-hero {
  background: var(--qwhite);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.q-price-selected-type {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 200px;
}

.q-price-type-icon {
  width: 64px;
  height: 76px;
  color: var(--qnavy);
  opacity: 0.7;
  flex-shrink: 0;
}

.q-price-type-icon svg {
  width: 100%;
  height: 100%;
}

.q-price-type-info {
  flex: 1;
}

.q-price-type-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--qnavy);
  line-height: 1.3;
}

.q-price-type-size {
  font-size: 0.82rem;
  color: var(--qgray-500);
  margin-top: 0.2rem;
}

.q-price-display {
  text-align: center;
  flex-shrink: 0;
  min-width: 200px;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.03), rgba(201, 168, 76, 0.06));
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.q-price-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--qgray-500);
  margin-bottom: 0.2rem;
}

.q-price-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--qgold-dark);
  line-height: 1.1;
}

.q-price-includes {
  font-size: 0.75rem;
  color: var(--qgray-500);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.q-price-disclaimer {
  font-size: 0.7rem;
  color: var(--qgray-400);
  margin-top: 0.35rem;
  font-style: italic;
}

/* ── Customize Sections ───────────────────────────────────────────── */

.q-customize-section {
  background: var(--qwhite);
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.q-customize-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--qnavy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--qgray-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.q-heading-note {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--qgray-400);
  font-style: italic;
}

/* ── Glass Type Grid ──────────────────────────────────────────────── */

.q-glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.875rem;
}

.q-glass-card {
  border: 2px solid var(--qgray-200);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.q-glass-card:hover {
  border-color: var(--qgold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.q-glass-card.selected {
  border-color: var(--qgold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.q-glass-swatch {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin: 0 auto 0.6rem;
}

.q-glass-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--qnavy);
  line-height: 1.3;
}

.q-glass-desc {
  font-size: 0.7rem;
  color: var(--qgray-500);
  margin-top: 0.2rem;
  line-height: 1.4;
}

.q-glass-note {
  font-size: 0.68rem;
  color: var(--qgold-dark);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* ── Option Pills (thickness, hardware type) ──────────────────────── */

.q-thickness-grid,
.q-hardware-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.q-option-pill {
  border: 2px solid var(--qgray-200);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  flex: 0 1 auto;
}

.q-option-pill:hover {
  border-color: var(--qgold);
}

.q-option-pill.selected {
  border-color: var(--qgold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.q-pill-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--qnavy);
}

.q-pill-desc {
  font-size: 0.7rem;
  color: var(--qgray-500);
  margin-top: 0.1rem;
}

/* ── Hardware Finish Swatches ─────────────────────────────────────── */

.q-finish-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.q-finish-swatch {
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.5rem;
  border-radius: 8px;
  border: 2px solid transparent;
  min-width: 70px;
}

.q-finish-swatch:hover {
  border-color: var(--qgray-300);
}

.q-finish-swatch.selected {
  border-color: var(--qgold);
  background: rgba(201, 168, 76, 0.05);
}

.q-finish-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 0.4rem;
  border: 2px solid rgba(0,0,0,0.1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}

.q-finish-swatch:hover .q-finish-circle {
  transform: scale(1.1);
}

.q-finish-swatch.selected .q-finish-circle {
  border-color: var(--qgold);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15), 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.q-finish-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--qgray-600);
  line-height: 1.3;
  max-width: 80px;
  margin: 0 auto;
}

/* ── Add-ons ──────────────────────────────────────────────────────── */

.q-addons-grid {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.q-addon-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 2px solid var(--qgray-200);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.q-addon-card:hover {
  border-color: var(--qgold);
}

.q-addon-card:has(.q-addon-check:checked) {
  border-color: var(--qgold);
  background: rgba(201, 168, 76, 0.05);
}

.q-addon-check {
  width: 18px;
  height: 18px;
  accent-color: var(--qgold-dark);
  flex-shrink: 0;
  cursor: pointer;
}

.q-addon-info {
  flex: 1;
}

.q-addon-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--qnavy);
}

.q-addon-desc {
  font-size: 0.75rem;
  color: var(--qgray-500);
  margin-top: 0.1rem;
}

/* ── Customize CTA ────────────────────────────────────────────────── */

.q-customize-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.q-cta-alt {
  font-size: 0.85rem;
  color: var(--qgray-500);
}

.q-cta-alt a {
  color: var(--qgold-dark);
  font-weight: 700;
  text-decoration: none;
}

.q-cta-alt a:hover {
  text-decoration: underline;
}

/* ── No-Pricing Hero ──────────────────────────────────────────────── */

.q-no-price-hero {
  background: var(--qwhite);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.q-no-price-hero .q-price-type-icon {
  margin: 0 auto 1.25rem;
}

.q-no-price-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 0.75rem;
}

.q-no-price-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--qgray-100);
  color: var(--qgray-600);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
}

.q-no-price-text {
  font-size: 0.95rem;
  color: var(--qgray-500);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.q-no-price-phone {
  font-size: 1rem;
  padding: 0.875rem 2rem;
}

.q-no-price-or {
  font-size: 0.82rem;
  color: var(--qgray-400);
  margin-top: 1.25rem;
  font-style: italic;
}

/* ── Selected Summary Options & Price ─────────────────────────────── */

.q-sel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.q-sel-option {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--qgray-500);
  background: var(--qgray-100);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.q-sel-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--qgold-dark);
  margin-top: 0.4rem;
}

/* ── Review Price & Options ───────────────────────────────────────── */

.q-review-price {
  color: var(--qgold-dark) !important;
  font-size: 1rem !important;
}

.q-review-options {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: var(--qgray-500) !important;
  line-height: 1.5;
}

/* ── Responsive: Customize Step ───────────────────────────────────── */

@media (max-width: 768px) {
  .q-price-hero {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .q-price-selected-type {
    flex-direction: column;
    text-align: center;
    min-width: unset;
  }

  .q-price-display {
    width: 100%;
    min-width: unset;
  }

  .q-price-amount {
    font-size: 2rem;
  }

  .q-customize-section {
    padding: 1.25rem;
  }

  .q-glass-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .q-finish-grid {
    gap: 0.625rem;
  }

  .q-finish-swatch {
    min-width: 60px;
    padding: 0.35rem;
  }

  .q-finish-circle {
    width: 34px;
    height: 34px;
  }

  .q-finish-name {
    font-size: 0.62rem;
  }

  .q-no-price-hero {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 400px) {
  .q-glass-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .q-glass-card {
    padding: 0.75rem 0.5rem;
  }

  .q-glass-swatch {
    width: 36px;
    height: 36px;
  }

  .q-option-pill {
    padding: 0.5rem 0.75rem;
  }

  .q-finish-grid {
    justify-content: center;
  }
}



/* ═══════════════════════════════════════════════════════════════════
   QUOTE CONFIGURATOR  (quote.html — .quote-tool scope)
   All styles prefixed with .quote-tool or qt- to avoid conflicts.
   ═══════════════════════════════════════════════════════════════════ */

.quote-tool {
  --qnavy: #1a2744;
  --qnavy-light: #243655;
  --qnavy-dark: #111c30;
  --qgold: #c9a84c;
  --qgold-light: #ddc070;
  --qgold-dark: #a88c3e;
  --qwarm: #f5f0e8;
  --qwhite: #ffffff;
  --qgray-50: #faf9f7;
  --qgray-100: #f0ede7;
  --qgray-200: #e0dbd2;
  --qgray-300: #c4bfb5;
  --qgray-400: #9e9889;
  --qgray-500: #7a7568;
  --qgray-600: #5c584e;
  --qgray-700: #3d3a34;
  --qgray-800: #2a2824;
  --qgreen: #2e7d32;
  --qgreen-bg: #e8f5e9;
  --qred: #c62828;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--qwarm);
  color: var(--qgray-800);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Step visibility ──────────────────────────────────────────────── */

.quote-tool .qt-step {
  display: none;
  animation: qtFadeIn 0.35s ease;
}

.quote-tool .qt-step.active {
  display: block;
}

@keyframes qtFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Header ───────────────────────────────────────────────────────── */

.qt-header {
  background: var(--qnavy);
  border-bottom: 3px solid var(--qgold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.qt-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.qt-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qt-logo-icon { flex-shrink: 0; }

.qt-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--qwhite);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.qt-logo-tagline {
  font-size: 0.72rem;
  color: var(--qgold);
  font-style: italic;
  letter-spacing: 0.5px;
  margin-top: 0.1rem;
}

.qt-header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--qgold-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.qt-header-phone:hover { color: var(--qwhite); }

/* ── Gold CTA Banner ──────────────────────────────────────────────── */

.qt-cta-banner {
  background: linear-gradient(135deg, var(--qgold), var(--qgold-dark));
  text-align: center;
  padding: 0.6rem 1rem;
}

.qt-cta-banner p {
  color: var(--qwhite);
  font-size: 0.85rem;
  font-weight: 600;
}

.qt-cta-banner a {
  color: var(--qwhite);
  text-decoration: underline;
  font-weight: 700;
}

/* ═══ Hero Section ═══════════════════════════════════════════════ */

.qt-hero {
  background: linear-gradient(135deg, var(--qnavy) 0%, var(--qnavy-dark) 50%, #0d1520 100%);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle glass texture pattern */
.qt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(201, 168, 76, 0.04) 50%, transparent 60%),
    linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.02) 50%, transparent 55%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.015) 80px,
      rgba(255,255,255,0.015) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.015) 80px,
      rgba(255,255,255,0.015) 81px
    );
  pointer-events: none;
}

/* Diagonal glass reflection */
.qt-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 43%,
    rgba(255,255,255,0.03) 45%,
    rgba(255,255,255,0.05) 47%,
    transparent 49%
  );
  pointer-events: none;
}

.qt-hero-content {
  position: relative;
  z-index: 1;
}

.qt-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--qwhite);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.qt-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Main ─────────────────────────────────────────────────────────── */

.qt-main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* ── Footer (Enhanced) ────────────────────────────────────────────── */

.qt-footer {
  background: var(--qnavy);
  padding: 0;
  text-align: center;
}

.qt-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.qt-footer-brand {
  margin-bottom: 1rem;
}

.qt-footer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--qwhite);
  letter-spacing: 0.3px;
}

.qt-footer-slogan {
  font-size: 0.82rem;
  color: var(--qgold);
  font-style: italic;
  margin-top: 0.25rem;
  letter-spacing: 0.5px;
}

.qt-footer-info {
  margin-bottom: 1.25rem;
}

.qt-footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.qt-footer-contact a {
  color: var(--qgold-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.qt-footer-contact a:hover { color: var(--qwhite); }

.qt-footer-sep {
  opacity: 0.3;
}

.qt-footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.qt-footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
}

.qt-footer-bottom a {
  color: var(--qgold);
  text-decoration: none;
}

.qt-footer-bottom a:hover { text-decoration: underline; }

/* ── Progress Bar ─────────────────────────────────────────────────── */

.qt-progress {
  background: var(--qwhite);
  border-bottom: 1px solid var(--qgray-100);
  padding: 1rem 0;
}

.qt-progress-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.qt-prog-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.qt-prog-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--qgray-200);
  color: var(--qgray-500);
  transition: all 0.3s;
}

.qt-prog-step.active .qt-prog-num {
  background: var(--qnavy);
  color: var(--qwhite);
}

.qt-prog-step.done .qt-prog-num {
  background: var(--qgold);
  color: var(--qwhite);
}

.qt-prog-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--qgray-400);
  transition: color 0.3s;
}

.qt-prog-step.active .qt-prog-label { color: var(--qnavy); }
.qt-prog-step.done .qt-prog-label { color: var(--qgold-dark); }

.qt-prog-line {
  flex: 1;
  height: 2px;
  background: var(--qgray-200);
  margin: 0 0.75rem;
  max-width: 80px;
  transition: background 0.3s;
}

.qt-prog-line.done { background: var(--qgold); }

/* ── Step Headers ─────────────────────────────────────────────────── */

.qt-step-header {
  text-align: center;
  margin-bottom: 2rem;
}

.qt-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 0.5rem;
}

.qt-subtitle {
  font-size: 1.05rem;
  color: var(--qgray-500);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

.qt-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 0.35rem;
}

.qt-section-sub {
  font-size: 0.95rem;
  color: var(--qgray-500);
}

/* ── Back Button ──────────────────────────────────────────────────── */

.qt-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  color: var(--qgold-dark);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  font-family: inherit;
  transition: color 0.2s;
}

.qt-back:hover { color: var(--qnavy); }

/* ── Help Bar ─────────────────────────────────────────────────────── */

.qt-help-bar {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--qwhite);
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.qt-help-bar p { color: var(--qgray-500); font-size: 0.9rem; }
.qt-help-bar a { color: var(--qgold-dark); font-weight: 700; text-decoration: none; }
.qt-help-bar a:hover { text-decoration: underline; }

/* ═══ Trust Signals ══════════════════════════════════════════════ */

.qt-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 1rem;
  background: var(--qwhite);
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.qt-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.qt-trust-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.qt-trust-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--qnavy);
  line-height: 1.3;
}

/* ═══ Step 1: Project Type Cards (Enhanced) ═════════════════════ */

.qt-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

/* Center the last row when it has fewer items */
.qt-project-grid::after {
  content: '';
  grid-column: span 1;
}

.qt-project-card {
  background: linear-gradient(180deg, var(--qwhite) 0%, #faf8f4 100%);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-left: 4px solid transparent;
}

.qt-project-card:hover {
  border-color: var(--qgold);
  border-left-color: var(--qgold);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 36px rgba(26, 39, 68, 0.16);
}

.qt-project-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  color: var(--qnavy);
  opacity: 0.8;
  transition: all 0.3s;
}

.qt-project-icon svg { width: 100%; height: 100%; }
.qt-project-card:hover .qt-project-icon { opacity: 1; transform: scale(1.05); }

.qt-project-body { flex: 1; }

.qt-project-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 0.3rem;
}

.qt-project-desc {
  font-size: 0.84rem;
  color: var(--qgray-500);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

/* "Get Quote" as a proper styled button */
.qt-project-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: linear-gradient(135deg, var(--qgold), var(--qgold-dark));
  color: var(--qwhite);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 6px;
  letter-spacing: 0.3px;
  transition: all 0.25s;
  box-shadow: 0 2px 6px rgba(201, 168, 76, 0.25);
}

.qt-project-card:hover .qt-project-cta-btn {
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
  transform: translateX(2px);
}

.qt-arrow {
  transition: transform 0.2s;
}

.qt-project-card:hover .qt-arrow { transform: translateX(3px); }

/* ═══ Step 2: Configuration Cards (Enhanced) ════════════════════ */

.qt-config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.qt-config-card {
  background: linear-gradient(180deg, var(--qwhite) 0%, #faf8f4 100%);
  border: 2px solid var(--qgray-200);
  border-radius: 14px;
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.qt-config-card:hover {
  border-color: var(--qgold);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(26, 39, 68, 0.14);
}

.qt-config-card.selected {
  border-color: var(--qgold);
  border-width: 3px;
  background: rgba(201, 168, 76, 0.04);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}

.qt-config-card.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--qnavy);
  color: var(--qwhite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.qt-config-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  color: var(--qnavy);
  opacity: 0.8;
  transition: all 0.3s;
}

.qt-config-icon svg { width: 100%; height: 100%; }
.qt-config-card:hover .qt-config-icon { opacity: 1; transform: scale(1.05); }

.qt-config-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--qnavy);
  line-height: 1.3;
}

/* ═══ Step 3: Customize (Enhanced) ══════════════════════════════ */

.qt-customize {
  max-width: 760px;
  margin: 0 auto;
}

.qt-custom-section {
  background: var(--qwhite);
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.qt-custom-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--qnavy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--qgray-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qt-heading-note {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--qgray-400);
  font-style: italic;
}

/* ── Glass Type Swatches (Realistic) ──────────────────────────────── */

.qt-glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.875rem;
}

.qt-glass-card {
  border: 2px solid var(--qgray-200);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.qt-glass-card:hover {
  border-color: var(--qgold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.qt-glass-card.selected {
  border-color: var(--qgold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.qt-glass-card.selected::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--qnavy);
  color: var(--qwhite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.qt-glass-swatch {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  margin: 0 auto 0.6rem;
  border: 1px solid rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

/* Clear glass swatch — transparent with grid lines behind */
.qt-swatch-clear {
  background:
    linear-gradient(135deg, rgba(200,220,240,0.15) 0%, rgba(220,240,255,0.25) 100%);
}
.qt-swatch-clear::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 9px, rgba(0,0,0,0.04) 9px, rgba(0,0,0,0.04) 10px),
    repeating-linear-gradient(90deg, transparent, transparent 9px, rgba(0,0,0,0.04) 9px, rgba(0,0,0,0.04) 10px);
}
.qt-swatch-clear::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.5) 45%, rgba(255,255,255,0.8) 48%, transparent 52%);
}

/* Frosted glass swatch — soft white blur */
.qt-swatch-frosted {
  background: linear-gradient(135deg, rgba(230,230,240,0.8) 0%, rgba(245,245,250,0.95) 50%, rgba(220,220,230,0.85) 100%);
  backdrop-filter: blur(4px);
}
.qt-swatch-frosted::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.4), transparent 50%);
}
.qt-swatch-frosted::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  filter: blur(2px);
}

/* Rain glass swatch — droplet pattern */
.qt-swatch-rain {
  background: linear-gradient(180deg, rgba(180,210,230,0.35) 0%, rgba(200,225,245,0.5) 100%);
}
.qt-swatch-rain::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 3px 5px at 15% 20%, rgba(160,200,230,0.5), transparent),
    radial-gradient(ellipse 2px 4px at 35% 45%, rgba(160,200,230,0.4), transparent),
    radial-gradient(ellipse 3px 6px at 55% 15%, rgba(160,200,230,0.45), transparent),
    radial-gradient(ellipse 2px 5px at 70% 55%, rgba(160,200,230,0.5), transparent),
    radial-gradient(ellipse 3px 5px at 25% 70%, rgba(160,200,230,0.4), transparent),
    radial-gradient(ellipse 2px 4px at 50% 80%, rgba(160,200,230,0.45), transparent),
    radial-gradient(ellipse 3px 6px at 80% 30%, rgba(160,200,230,0.4), transparent),
    radial-gradient(ellipse 2px 5px at 10% 90%, rgba(160,200,230,0.35), transparent),
    radial-gradient(ellipse 3px 4px at 85% 75%, rgba(160,200,230,0.5), transparent),
    radial-gradient(ellipse 2px 5px at 45% 35%, rgba(160,200,230,0.3), transparent),
    radial-gradient(ellipse 3px 5px at 65% 85%, rgba(160,200,230,0.4), transparent),
    radial-gradient(ellipse 2px 6px at 90% 50%, rgba(160,200,230,0.35), transparent);
}
.qt-swatch-rain::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: linear-gradient(135deg, transparent 42%, rgba(255,255,255,0.3) 46%, transparent 50%);
}

/* Starphire glass swatch — slight blue-green tint, extra clear */
.qt-swatch-starphire {
  background: linear-gradient(135deg, rgba(225,245,250,0.5) 0%, rgba(238,252,255,0.7) 50%, rgba(220,248,252,0.4) 100%);
}
.qt-swatch-starphire::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 9px, rgba(0,0,0,0.025) 9px, rgba(0,0,0,0.025) 10px),
    repeating-linear-gradient(90deg, transparent, transparent 9px, rgba(0,0,0,0.025) 9px, rgba(0,0,0,0.025) 10px);
}
.qt-swatch-starphire::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 160%;
  height: 160%;
  background: linear-gradient(135deg, transparent 38%, rgba(255,255,255,0.6) 43%, rgba(255,255,255,0.9) 46%, transparent 50%);
}

.qt-glass-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--qnavy);
  line-height: 1.3;
}

.qt-glass-desc {
  font-size: 0.7rem;
  color: var(--qgray-500);
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* ── Pills (thickness) ────────────────────────────────────────────── */

.qt-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.qt-pill {
  border: 2px solid var(--qgray-200);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.qt-pill:hover { border-color: var(--qgold); }

.qt-pill.selected {
  border-color: var(--qgold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.qt-pill.selected::after {
  content: '✓';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--qnavy);
  color: var(--qwhite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
}

.qt-pill-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--qnavy);
}

.qt-pill-desc {
  font-size: 0.7rem;
  color: var(--qgray-500);
  margin-top: 0.1rem;
}

/* ── Hardware Finish Swatches (Metallic Gradients) ────────────────── */

.qt-finish-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.qt-finish-item {
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.5rem;
  border-radius: 8px;
  border: 2px solid transparent;
  min-width: 70px;
}

.qt-finish-item:hover { border-color: var(--qgray-300); }

.qt-finish-item.selected {
  border-color: var(--qgold);
  background: rgba(201, 168, 76, 0.05);
}

.qt-finish-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 0.4rem;
  border: 2px solid rgba(0,0,0,0.1);
  transition: transform 0.2s;
  position: relative;
  overflow: hidden;
}

.qt-finish-item:hover .qt-finish-circle { transform: scale(1.1); }

.qt-finish-item.selected .qt-finish-circle {
  border-color: var(--qgold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

/* Metallic radial gradients */
.qt-hw-brushed-nickel {
  background: radial-gradient(circle at 35% 30%, #e8e8e8, #c0c0c0 40%, #a8a8a8 60%, #b8b8b8 80%, #d0d0d0);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.15), inset 0 -1px 3px rgba(255,255,255,0.3);
}

.qt-hw-matte-black {
  background: radial-gradient(circle at 35% 30%, #4a4a4a, #2a2a2a 40%, #1a1a1a 60%, #252525 80%, #333);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.3), inset 0 -1px 3px rgba(255,255,255,0.05);
}

.qt-hw-oil-bronze {
  background: radial-gradient(circle at 35% 30%, #7a5c48, #5e4434 40%, #3a2818 60%, #4a3728 80%, #6a4e3a);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.25), inset 0 -1px 3px rgba(255,255,255,0.08);
}

.qt-hw-brushed-bronze {
  background: radial-gradient(circle at 35% 30%, #dbb87a, #c8a872 40%, #a8864a 60%, #b8966a 80%, #d0ae78);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.15), inset 0 -1px 3px rgba(255,255,255,0.15);
}

.qt-hw-polished-chrome {
  background: radial-gradient(circle at 30% 25%, #ffffff, #e8e8e8 30%, #c0c0c0 50%, #d8d8d8 70%, #f0f0f0);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.1), inset 0 -1px 3px rgba(255,255,255,0.5);
}

.qt-hw-satin-brass {
  background: radial-gradient(circle at 35% 30%, #e8cc78, #d4b868 40%, #b8983e 60%, #c5a55a 80%, #dcc070);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.15), inset 0 -1px 3px rgba(255,255,255,0.2);
}

.qt-finish-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--qgray-600);
  line-height: 1.3;
  max-width: 80px;
  margin: 0 auto;
}

/* ── Handle Type Cards ────────────────────────────────────────────── */

.qt-handle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
}

.qt-handle-card {
  border: 2px solid var(--qgray-200);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.qt-handle-card:hover {
  border-color: var(--qgold);
  transform: translateY(-2px);
}

.qt-handle-card.selected {
  border-color: var(--qgold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.qt-handle-card.selected::after {
  content: '✓';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--qnavy);
  color: var(--qwhite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
}

.qt-handle-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.4rem;
  color: var(--qnavy);
  opacity: 0.7;
}

.qt-handle-icon svg { width: 100%; height: 100%; }

.qt-handle-card:hover .qt-handle-icon,
.qt-handle-card.selected .qt-handle-icon { opacity: 1; }

.qt-handle-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--qnavy);
  line-height: 1.3;
}

/* ── Add-ons ──────────────────────────────────────────────────────── */

.qt-addon-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.qt-addon-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 2px solid var(--qgray-200);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.qt-addon-row:hover { border-color: var(--qgold); }

.qt-addon-row:has(.qt-addon-check:checked) {
  border-color: var(--qgold);
  background: rgba(201, 168, 76, 0.05);
}

.qt-addon-check {
  width: 18px;
  height: 18px;
  accent-color: var(--qgold-dark);
  flex-shrink: 0;
  cursor: pointer;
}

.qt-addon-info { flex: 1; }

.qt-addon-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--qnavy);
}

.qt-addon-desc {
  font-size: 0.75rem;
  color: var(--qgray-500);
  margin-top: 0.1rem;
}

/* ── Dimensions Row ───────────────────────────────────────────────── */

.qt-dim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Form Fields ──────────────────────────────────────────────────── */

.qt-field {
  margin-bottom: 1rem;
}

.qt-field:last-child { margin-bottom: 0; }

.qt-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--qgray-700);
  margin-bottom: 0.35rem;
}

.qt-required::after,
.qt-label.required::after {
  content: ' *';
  color: var(--qred);
}

.qt-input {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1.5px solid var(--qgray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--qgray-800);
  background: var(--qwhite);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.qt-input:focus {
  outline: none;
  border-color: var(--qnavy);
  box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.08);
}

.qt-input-error {
  border-color: var(--qred) !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.08) !important;
}

.qt-textarea {
  resize: vertical;
  min-height: 90px;
}

.qt-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Form Sections ────────────────────────────────────────────────── */

.qt-form-section {
  margin-bottom: 1.5rem;
}

.qt-form-section:last-child { margin-bottom: 0; }

.qt-form-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--qgold-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--qgray-100);
}

/* ═══ Step 4: Review Layout (Two-Column) ════════════════════════ */

.qt-review-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.qt-review-summary-card,
.qt-review-form-card {
  background: var(--qwhite);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.75rem;
}

.qt-review-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--qgray-100);
}

/* ── Review Summary Rows ──────────────────────────────────────────── */

.qt-review-rows {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.qt-review-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--qgray-100);
}

.qt-review-row:last-child {
  border-bottom: none;
}

.qt-review-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.qt-review-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--qgray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 80px;
  flex-shrink: 0;
}

.qt-review-pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--qgray-50);
  color: var(--qgray-700);
  border: 1px solid var(--qgray-200);
  margin-left: auto;
}

.qt-review-pill-navy {
  background: var(--qnavy);
  color: var(--qwhite);
  border-color: var(--qnavy);
}

.qt-review-pill-gold {
  background: rgba(201, 168, 76, 0.12);
  color: var(--qgold-dark);
  border-color: rgba(201, 168, 76, 0.3);
}

.qt-review-pill-accent {
  background: rgba(46, 125, 50, 0.08);
  color: var(--qgreen);
  border-color: rgba(46, 125, 50, 0.2);
}

.qt-review-notes {
  font-size: 0.85rem;
  color: var(--qgray-600);
  line-height: 1.6;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--qgray-100);
}

.qt-review-notes strong {
  color: var(--qgray-700);
}

/* Legacy badge styles (kept for compatibility) */
.qt-review-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.qt-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--qgray-50);
  color: var(--qgray-700);
  border: 1px solid var(--qgray-200);
}

.qt-badge-navy {
  background: var(--qnavy);
  color: var(--qwhite);
  border-color: var(--qnavy);
}

.qt-badge-gold {
  background: rgba(201, 168, 76, 0.12);
  color: var(--qgold-dark);
  border-color: rgba(201, 168, 76, 0.3);
}

.qt-badge-accent {
  background: rgba(46, 125, 50, 0.08);
  color: var(--qgreen);
  border-color: rgba(46, 125, 50, 0.2);
}

/* ── Action Buttons ───────────────────────────────────────────────── */

.qt-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.qt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  text-decoration: none;
}

.qt-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.qt-btn-gold {
  background: linear-gradient(135deg, var(--qgold), var(--qgold-dark));
  color: var(--qwhite);
  flex: 1;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.25);
}

.qt-btn-gold:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--qgold-dark), #96793a);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
  transform: translateY(-1px);
}

.qt-btn-navy {
  background: var(--qnavy);
  color: var(--qwhite);
}

.qt-btn-navy:hover:not(:disabled) {
  background: var(--qnavy-light);
  box-shadow: 0 4px 14px rgba(26, 39, 68, 0.25);
}

.qt-btn-primary {
  background: var(--qnavy);
  color: var(--qwhite);
}

.qt-btn-primary:hover:not(:disabled) {
  background: var(--qnavy-light);
}

.qt-btn-outline {
  background: transparent;
  border: 1.5px solid var(--qgray-300);
  color: var(--qgray-600);
}

.qt-btn-outline:hover {
  border-color: var(--qnavy);
  color: var(--qnavy);
}

.qt-btn-phone {
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
}

/* ── Spinner ──────────────────────────────────────────────────────── */

.qt-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--qwhite);
  border-radius: 50%;
  animation: qtSpin 0.6s linear infinite;
}

@keyframes qtSpin {
  to { transform: rotate(360deg); }
}

/* ═══ Success Screen ════════════════════════════════════════════ */

.qt-success {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.qt-success-icon { margin-bottom: 1.5rem; }

.qt-success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--qnavy);
  margin-bottom: 0.75rem;
}

.qt-success-text {
  font-size: 1.1rem;
  color: var(--qgray-600);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.qt-success-subtext {
  font-size: 0.9rem;
  color: var(--qgray-400);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.qt-success-phone {
  margin-bottom: 1.5rem;
}

.qt-success-phone p {
  font-size: 0.85rem;
  color: var(--qgray-400);
  margin-bottom: 0.5rem;
}

.qt-success-measure {
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--qgray-200);
}

.qt-success-measure p {
  font-size: 0.85rem;
  color: var(--qgray-400);
  margin-bottom: 0.5rem;
}

.qt-restart {
  margin-top: 0.5rem;
}

/* ═══ Responsive: Quote Tool ════════════════════════════════════ */

@media (max-width: 960px) {
  .qt-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qt-config-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .qt-header-inner { padding: 0.75rem 1rem; }
  .qt-logo-name { font-size: 1rem; }
  .qt-main { padding: 1.5rem 1rem 2rem; }
  .qt-title { font-size: 1.75rem; }
  .qt-section-title { font-size: 1.4rem; }

  .qt-hero {
    padding: 2.5rem 1.25rem;
    margin-bottom: 2rem;
    border-radius: 12px;
  }

  .qt-hero-title {
    font-size: 2rem;
  }

  .qt-hero-subtitle {
    font-size: 0.95rem;
  }

  .qt-trust-row {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .qt-project-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .qt-project-card {
    padding: 1.25rem;
  }

  .qt-project-icon {
    width: 64px;
    height: 64px;
  }

  .qt-config-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }

  .qt-config-card { padding: 1.5rem 0.875rem 1.25rem; }
  .qt-config-icon { width: 80px; height: 80px; margin-bottom: 0.75rem; }
  .qt-config-name { font-size: 0.82rem; }

  .qt-custom-section { padding: 1.25rem; }

  .qt-glass-grid { grid-template-columns: repeat(2, 1fr); }

  .qt-glass-swatch { width: 64px; height: 64px; }

  .qt-handle-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

  .qt-finish-grid { gap: 0.625rem; }
  .qt-finish-item { min-width: 60px; padding: 0.35rem; }
  .qt-finish-circle { width: 44px; height: 44px; }
  .qt-finish-name { font-size: 0.62rem; }

  .qt-dim-row { grid-template-columns: 1fr; }
  .qt-field-row { grid-template-columns: 1fr; }

  .qt-review-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .qt-review-summary-card,
  .qt-review-form-card { padding: 1.25rem; }

  .qt-actions { flex-direction: column-reverse; }
  .qt-btn { width: 100%; justify-content: center; }

  .qt-progress-inner { padding: 0 0.5rem; }
  .qt-prog-label { font-size: 0.7rem; }
  .qt-prog-num { width: 28px; height: 28px; font-size: 0.75rem; }
  .qt-prog-line { margin: 0 0.4rem; max-width: 40px; }

  .qt-footer-inner { padding: 2rem 1rem 1.25rem; }
}

@media (max-width: 500px) {
  .qt-project-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .qt-project-icon {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 400px) {
  .qt-logo-icon { display: none; }
  .qt-title { font-size: 1.5rem; }

  .qt-hero-title { font-size: 1.6rem; }
  .qt-hero-subtitle { font-size: 0.88rem; }
  .qt-hero { padding: 2rem 1rem; }

  .qt-config-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .qt-config-icon { width: 64px; height: 64px; }

  .qt-glass-grid { gap: 0.5rem; }
  .qt-glass-card { padding: 0.75rem 0.5rem; }
  .qt-glass-swatch { width: 56px; height: 56px; }

  .qt-handle-grid { grid-template-columns: repeat(3, 1fr); }
  .qt-handle-icon { width: 40px; height: 40px; }
  .qt-handle-name { font-size: 0.65rem; }

  .qt-finish-grid { justify-content: center; }
  .qt-finish-circle { width: 40px; height: 40px; }
}


/* ═══════════════════════════════════════════════════════════════════
   INSTALL SCHEDULING TOOL  (schedule.html — .schedule-tool scope)
   ═══════════════════════════════════════════════════════════════════ */

.schedule-tool {
  --snavy: #1a2744;
  --snavy-light: #243655;
  --snavy-dark: #111c30;
  --sgold: #c9a84c;
  --sgold-light: #ddc070;
  --sgold-dark: #a88c3e;
  --swarm: #f5f0e8;
  --swhite: #ffffff;
  --sgray-50: #faf9f7;
  --sgray-100: #f0ede7;
  --sgray-200: #e0dbd2;
  --sgray-300: #c4bfb5;
  --sgray-400: #9e9889;
  --sgray-500: #7a7568;
  --sgray-600: #5c584e;
  --sgray-700: #3d3a34;
  --sgray-800: #2a2824;
  --sgreen: #2e7d32;
  --sgreen-bg: #e8f5e9;
  --sred: #c62828;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--swarm);
  color: var(--sgray-800);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ───────────────────────────────────────────────────────── */

.st-header {
  background: var(--snavy);
  border-bottom: 3px solid var(--sgold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.st-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.st-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.st-logo-icon { flex-shrink: 0; }

.st-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--swhite);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.st-logo-tagline {
  font-size: 0.72rem;
  color: var(--sgold);
  font-style: italic;
  letter-spacing: 0.5px;
  margin-top: 0.1rem;
}

.st-header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sgold-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.st-header-phone:hover { color: var(--swhite); }

/* ── Main ─────────────────────────────────────────────────────────── */

.st-main {
  flex: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* ── Loading State ────────────────────────────────────────────────── */

.st-loading {
  text-align: center;
  padding: 4rem 1rem;
}

.st-loading p {
  margin-top: 1rem;
  color: var(--sgray-500);
  font-size: 0.95rem;
}

.st-spinner-lg {
  width: 40px;
  height: 40px;
  border: 3px solid var(--sgray-200);
  border-top-color: var(--sgold);
  border-radius: 50%;
  animation: stSpin 0.7s linear infinite;
  margin: 0 auto;
}

.st-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--swhite);
  border-radius: 50%;
  animation: stSpin 0.6s linear infinite;
}

@keyframes stSpin {
  to { transform: rotate(360deg); }
}

/* ── Error State ──────────────────────────────────────────────────── */

.st-error {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.st-error-icon { margin-bottom: 1.5rem; }

.st-error h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: var(--snavy);
  margin-bottom: 0.75rem;
}

.st-error p {
  color: var(--sgray-500);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ── Step Visibility ──────────────────────────────────────────────── */

.schedule-tool .st-step {
  animation: stFadeIn 0.35s ease;
}

@keyframes stFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero ─────────────────────────────────────────────────────────── */

.st-hero {
  background: linear-gradient(135deg, var(--snavy) 0%, var(--snavy-dark) 50%, #0d1520 100%);
  border-radius: 16px;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.st-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(201, 168, 76, 0.04) 50%, transparent 60%),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px);
  pointer-events: none;
}

.st-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 43%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.05) 47%, transparent 49%);
  pointer-events: none;
}

.st-hero-content { position: relative; z-index: 1; }

.st-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--swhite);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.st-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Job Summary Card ─────────────────────────────────────────────── */

.st-job-card {
  background: var(--swhite);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.st-job-icon {
  width: 56px;
  height: 56px;
  background: rgba(26, 39, 68, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.st-job-info { flex: 1; }

.st-job-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--snavy);
}

.st-job-type {
  font-size: 0.9rem;
  color: var(--sgray-600);
  margin-top: 0.15rem;
}

.st-job-duration {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--sgold-dark);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* ── Instruction ──────────────────────────────────────────────────── */

.st-instruction {
  text-align: center;
  color: var(--sgray-500);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ── Calendar ─────────────────────────────────────────────────────── */

.st-calendar-wrapper {
  background: var(--swhite);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.st-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.st-nav-btn {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--sgray-200);
  border-radius: 10px;
  background: var(--swhite);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--snavy);
  transition: all 0.2s;
}

.st-nav-btn:hover:not(:disabled) {
  border-color: var(--sgold);
  background: rgba(201, 168, 76, 0.06);
}

.st-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.st-calendar-month {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--snavy);
}

.st-calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.st-cal-dow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--sgray-400);
  padding: 0.5rem 0;
}

.st-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* ── Calendar Cells ───────────────────────────────────────────────── */

.st-cal-cell {
  aspect-ratio: 1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  position: relative;
  transition: all 0.2s;
  min-height: 60px;
}

.st-cal-day {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.st-cal-slots {
  font-size: 0.58rem;
  font-weight: 600;
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-align: center;
}

.st-cal-empty {
  background: transparent;
}

.st-cal-past {
  color: var(--sgray-300);
  background: var(--sgray-50);
}

.st-cal-weekend {
  color: var(--sgray-300);
  background: var(--sgray-50);
}

.st-cal-unavailable {
  color: var(--sgray-400);
  background: var(--sgray-100);
}

.st-cal-unavailable .st-cal-slots {
  color: var(--sgray-400);
}

.st-cal-available {
  background: var(--swhite);
  border: 1.5px solid var(--sgray-200);
  color: var(--snavy);
  cursor: pointer;
}

.st-cal-available .st-cal-slots {
  color: var(--sgold-dark);
}

.st-cal-available:hover {
  border-color: var(--sgold);
  background: rgba(201, 168, 76, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(201, 168, 76, 0.15);
}

.st-cal-today {
  box-shadow: inset 0 0 0 2px var(--snavy);
}

.st-cal-selected {
  background: var(--sgold) !important;
  color: var(--swhite) !important;
  border-color: var(--sgold) !important;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35) !important;
  transform: translateY(-2px);
}

.st-cal-selected .st-cal-day {
  color: var(--snavy);
  font-weight: 800;
}

.st-cal-selected .st-cal-slots {
  color: var(--snavy) !important;
}

/* ── Calendar Legend ──────────────────────────────────────────────── */

.st-calendar-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sgray-100);
}

.st-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--sgray-500);
}

.st-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.st-legend-available {
  background: var(--swhite);
  border: 1.5px solid var(--sgray-200);
}

.st-legend-unavailable {
  background: var(--sgray-100);
}

.st-legend-selected {
  background: var(--sgold);
}

/* ── Timeslot Panel ───────────────────────────────────────────────── */

.st-timeslot-panel {
  background: var(--swhite);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  animation: stFadeIn 0.3s ease;
}

.st-timeslot-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--snavy);
  text-align: center;
  margin-bottom: 0.35rem;
}

.st-timeslot-date {
  text-align: center;
  font-size: 0.9rem;
  color: var(--sgold-dark);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.st-timeslot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.st-slot-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid var(--sgray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.st-slot-card:hover {
  border-color: var(--sgold);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.15);
}

.st-slot-card.selected {
  border-color: var(--sgold);
  background: rgba(201, 168, 76, 0.06);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.st-slot-icon {
  width: 44px;
  height: 44px;
  background: rgba(26, 39, 68, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--snavy);
}

.st-slot-card.selected .st-slot-icon {
  background: var(--sgold);
  color: var(--swhite);
}

.st-slot-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--snavy);
}

.st-slot-time {
  font-size: 0.82rem;
  color: var(--sgray-500);
  margin-top: 0.15rem;
}

/* ── Confirm Card ─────────────────────────────────────────────────── */

.st-confirm-card {
  background: var(--swhite);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2.5rem 2rem;
  max-width: 560px;
  margin: 0 auto;
}

.st-confirm-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--snavy);
  text-align: center;
  margin-bottom: 1.75rem;
}

.st-confirm-details {
  margin-bottom: 2rem;
}

.st-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--sgray-100);
}

.st-detail-row:last-child {
  border-bottom: none;
}

.st-detail-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sgray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.st-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--snavy);
  text-align: right;
}

.st-detail-highlight {
  background: rgba(201, 168, 76, 0.06);
  border-radius: 8px;
  padding: 0.75rem 1rem !important;
  margin: 0.25rem -0.5rem;
}

.st-detail-highlight .st-detail-value {
  color: var(--sgold-dark);
  font-weight: 700;
}

.st-confirm-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sgold), transparent);
  margin: 0.5rem 0;
}

.st-confirm-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* ── Buttons ──────────────────────────────────────────────────────── */

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  text-decoration: none;
}

.st-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.st-btn-gold {
  background: linear-gradient(135deg, var(--sgold), var(--sgold-dark));
  color: var(--swhite);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.25);
}

.st-btn-gold:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--sgold-dark), #96793a);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
  transform: translateY(-1px);
}

.st-btn-outline {
  background: transparent;
  border: 1.5px solid var(--sgray-300);
  color: var(--sgray-600);
}

.st-btn-outline:hover {
  border-color: var(--snavy);
  color: var(--snavy);
}

.st-btn-phone {
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
}

/* ── Success Screen ───────────────────────────────────────────────── */

.st-success {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.st-success-icon { margin-bottom: 1.5rem; }

.st-success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--snavy);
  margin-bottom: 1.25rem;
}

.st-success-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.st-success-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  color: var(--snavy);
}

.st-success-text {
  font-size: 0.95rem;
  color: var(--sgray-500);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.st-success-subtext {
  font-size: 0.85rem;
  color: var(--sgray-400);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.st-success-phone {
  padding-top: 1.5rem;
  border-top: 1px solid var(--sgray-200);
}

.st-success-phone p {
  font-size: 0.85rem;
  color: var(--sgray-400);
  margin-bottom: 0.75rem;
}

/* ── Booked State ─────────────────────────────────────────────────── */

.st-booked-card {
  background: var(--swhite);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2.5rem 2rem;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.st-booked-icon {
  margin-bottom: 1.25rem;
}

.st-booked-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--snavy);
  margin-bottom: 1.5rem;
}

.st-booked-details {
  text-align: left;
  margin-bottom: 1.75rem;
}

.st-reschedule-btn {
  margin-bottom: 1.5rem;
}

.st-booked-contact {
  padding-top: 1.5rem;
  border-top: 1px solid var(--sgray-200);
}

.st-booked-contact p {
  font-size: 0.85rem;
  color: var(--sgray-400);
  margin-bottom: 0.75rem;
}

/* ── Footer ───────────────────────────────────────────────────────── */

.st-footer {
  background: var(--snavy);
  padding: 0;
  text-align: center;
  margin-top: auto;
}

.st-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1.25rem;
}

.st-footer-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.st-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.st-trust-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.st-footer-brand {
  margin-bottom: 0.75rem;
}

.st-footer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--swhite);
  letter-spacing: 0.3px;
}

.st-footer-slogan {
  font-size: 0.78rem;
  color: var(--sgold);
  font-style: italic;
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
}

.st-footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.st-footer-contact a {
  color: var(--sgold-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.st-footer-contact a:hover { color: var(--swhite); }

.st-footer-sep { opacity: 0.3; }

.st-footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.st-footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
}

.st-footer-bottom a {
  color: var(--sgold);
  text-decoration: none;
}

.st-footer-bottom a:hover { text-decoration: underline; }

/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .st-header-inner { padding: 0.75rem 1rem; }
  .st-logo-name { font-size: 1rem; }
  .st-main { padding: 1.5rem 1rem 2rem; }

  .st-hero {
    padding: 2.5rem 1.25rem;
    border-radius: 12px;
  }

  .st-hero-title { font-size: 1.8rem; }
  .st-hero-subtitle { font-size: 0.92rem; }

  .st-job-card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .st-job-duration { justify-content: center; }

  .st-calendar-wrapper { padding: 1.25rem; }

  .st-cal-cell {
    min-height: 48px;
    border-radius: 8px;
  }

  .st-cal-day { font-size: 0.82rem; }
  .st-cal-slots { font-size: 0.5rem; }

  .st-timeslot-grid { grid-template-columns: 1fr; }

  .st-confirm-card { padding: 1.75rem 1.25rem; }
  .st-confirm-actions {
    flex-direction: column-reverse;
  }

  .st-confirm-actions .st-btn {
    width: 100%;
    justify-content: center;
  }

  .st-detail-row { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .st-detail-value { text-align: left; }

  .st-booked-card { padding: 2rem 1.25rem; }

  .st-footer-trust { flex-direction: column; align-items: center; gap: 0.75rem; }
  .st-calendar-legend { gap: 1rem; flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .st-logo-icon { display: none; }
  .st-hero-title { font-size: 1.5rem; }
  .st-hero { padding: 2rem 1rem; }

  .st-cal-cell { min-height: 42px; }
  .st-cal-day { font-size: 0.75rem; }
  .st-cal-slots { font-size: 0.45rem; }

  .st-calendar-legend { font-size: 0.7rem; }
}
