/* ============================================================
   The Fastener Factory — quote page additions
   ============================================================ */

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-title {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin: 14px 0 12px;
  max-width: 24ch;
  color: #fff;
}
.page-sub {
  color: rgba(255,255,255,.74);
  font-size: 1.05rem;
  max-width: 62ch;
}

.quote-paths {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.path-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  position: relative;
}
.path-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.path-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.path-icon--ask   { background: var(--blue-soft); color: var(--blue-2); }
.path-icon--list  { background: var(--bg-panel); color: var(--navy); }
.path-icon--upload{ background: #e8f5ec; color: #17663f; }
.path-icon--whatsapp{ background: rgba(37,211,102,.16); color: #15824a; }
.path-body { flex: 1; }
.path-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.path-title { font-size: 1.05rem; margin: 4px 0 4px; color: var(--navy); }
.path-desc { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.path-arrow {
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s, transform .15s;
  font-size: 1.2rem;
}
.path-card:hover .path-arrow { opacity: 1; transform: none; }

.quote-form-wrap { max-width: 780px; margin: 0 auto; }
.quote-form-head { max-width: 56ch; margin-bottom: 24px; }
.quote-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-md);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-2);
}
.field input, .field textarea, .field select {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: .78rem; color: var(--muted); margin: 0; }
.required { color: #b91c1c; margin-left: 2px; }

.form-row { display: grid; gap: 14px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row--2 { grid-template-columns: 1fr; } }

.form-fineprint { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.form-success {
  margin-top: 16px;
  padding: 16px 18px;
  background: #e8f5ec;
  border: 1px solid #b7e4c7;
  border-radius: var(--radius);
  color: #0e4d2a;
  font-size: .92rem;
  line-height: 1.5;
}

.upload-wrap { max-width: 780px; margin: 0 auto; }
.upload-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  transition: border-color .15s, background .15s;
  cursor: pointer;
  position: relative;
}
.upload-zone:hover { border-color: var(--blue); background: var(--blue-soft); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-title { color: var(--navy); font-size: 1.02rem; }
.upload-sub { color: var(--muted); font-size: .88rem; margin-top: 6px; display: block; }
.upload-list {
  margin-top: 14px;
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upload-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .86rem;
}
.upload-item .ui-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-item .ui-size { color: var(--muted); font-size: .76rem; font-weight: 500; }
.upload-item .ui-remove {
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}
.upload-item .ui-remove:hover { color: #b91c1c; background: rgba(185,28,28,.06); }
.upload-actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.upload-fineprint { font-size: .78rem; color: var(--muted); }
#upload-send { display: none; }

.quick-wrap { max-width: 780px; margin: 0 auto; }
.quick-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.quick-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  resize: vertical;
  min-height: 104px;
  margin-bottom: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.quick-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; }
#quick-send { flex: 1; justify-content: center; }

.contact-strip {
  background: var(--navy);
  color: rgba(255,255,255,.74);
  padding: 30px 0;
}
.contact-strip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.cs-brand { display: flex; align-items: center; gap: 14px; }
.cs-brand img { height: 36px; width: auto; }
.cs-brand p { font-size: .86rem; margin: 0; color: rgba(255,255,255,.7); }
.cs-info { display: flex; gap: 24px; flex-wrap: wrap; font-size: .9rem; }
.cs-info div { display: flex; gap: 6px; align-items: baseline; }
.cs-info strong { color: rgba(255,255,255,.9); font-weight: 600; }
.cs-info a { color: var(--blue); }
@media (max-width: 640px) {
  .cs-info { gap: 10px; }
  .cs-info div { width: 100%; margin-bottom: 4px; }
}
#quick-send { flex: 1; }

/* ---------- Contact strip ---------- */
.contact-strip {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 28px 0;
}
.contact-strip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.cs-brand { display: flex; align-items: center; gap: 12px; }
.cs-brand img { height: 34px; width: auto; }
.cs-brand p { font-size: .88rem; margin: 0; }
.cs-info { display: flex; gap: 22px; flex-wrap: wrap; font-size: .92rem; }
.cs-info strong { color: rgba(255,255,255,.9); font-weight: 600; margin-right: 6px; }
.cs-info a { color: var(--accent); }
@media (max-width: 640px) {
  .cs-info { gap: 12px; }
  .cs-info div { width: 100%; margin-bottom: 6px; }
}
