/* ===== Quote Page Styles ===== */
body.quote-page {
    --brand: #ff9900;
    --text: #111;
    --muted: #666;
    --card: #fff;
    --bg: #f6f7fb;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, Segoe UI, Roboto, Arial, sans-serif;
    margin: 0; /* remove default body margins that created side gaps */
    padding: 0;
    min-height: 100vh; /* enable sticky footer */
    display: flex;
    flex-direction: column;
    padding-top: 70px; /* compensate fixed navbar */
  }
  
  /* Layout */
  .quote-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
    padding-bottom: 12px; /* reduce gap above footer */
    flex: 1 0 auto; /* take remaining height */
  }
  .quote-breadcrumbs {
    font-size: 14px;
    margin: 8px 0 0;
    color: #777;
  }
  .quote-breadcrumbs a { color: #777; text-decoration: none; }
  
  .quote-hero {
    text-align: center;
    padding: 32px 12px 12px;
  }
  .quote-hero h1 {
    font-size: 32px;
    margin: 0 0 8px;
  }
  .quote-hero p {
    margin: 0;
    color: var(--muted);
  }
  .quote-badges { margin-top: 8px; }
  .quote-badge {
    display: inline-block;
    background: #fff;
    border: 1px solid #eee;
    color: #333;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    margin: 2px 6px 0 0;
  }
  
  /* Card */
  .quote-card {
    background: var(--card);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.07);
    padding: 20px;
    margin-top: 18px;
  }
  
  /* Form */
  .quote-grid { display: grid; gap: 12px; }
  @media (min-width: 760px) {
    .quote-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  }
  .quote-input,
  .quote-select,
  .quote-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background: #fff;
    color: var(--text);
  }
  .quote-textarea { min-height: 96px; }
  
  .quote-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
  }
  
  .btn {
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255,153,0,.25);
  }
  .btn-primary:hover { opacity: .9; }
  .btn-ghost {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
  }
  .btn[disabled] {
    opacity: .6;
    cursor: not-allowed;
    box-shadow: none;
  }
  
  /* Result */
  .quote-result {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    background: #fafafa;
    display: none;
    white-space: pre-line;
  }
  .quote-result.error {
    border-color: #f59e0b;
    background: #FFF7ED;
  }
  
  /* Footnote */
  .quote-footnote {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
  }

  /* Footer trim for quote page */
  .quote-page footer {
    margin: 0;
    margin-top: auto; /* stick to bottom when content short */
    padding: 12px 0; /* remove side padding to avoid lateral gaps */
    background: #222; /* match site contrast */
    color: #fff;
    border-top: 0;
    line-height: 1.2;
    width: 100%;
  }
  
  /* Focus UX */
  .quote-input:focus,
  .quote-select:focus,
  .quote-textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255,153,0,.15);
  }
  
