/* =====================================================================
   Bluesys Lighting — pages.css
   Styles for interior pages (products, applications, projects, content,
   contact, quote). Builds on theme.css tokens + components.css.
   ===================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- Page hero ---------- */
/* No border-bottom (the hairline read as a line through the sub-text). Spacing is
   deterministic: hero bottom padding + a small, fixed section top padding. The
   `.page-hero + .section` selector outranks .section / .section-tight so no
   interior page can show a large dead band regardless of its classes. */
.page-hero { position: relative; overflow: hidden; padding: 44px 0 24px; }
.page-hero + .section,
.page-hero + .section.section-tight { padding-top: 8px; }
.page-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(460px 300px at 12% 10%, rgba(47,230,201,.14), transparent 70%),
    radial-gradient(500px 340px at 88% 40%, rgba(230,62,140,.12), transparent 70%);
}
:root[data-theme="light"] .page-hero-glow { opacity: .5; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-title { font-size: clamp(34px, 5vw, 60px); font-weight: 800; margin: 12px 0 18px; line-height: .98; }
.page-hero-sub { font-size: 17px; color: var(--muted); max-width: 620px; line-height: 1.6; margin: 0; }

/* ---------- Catalog (products index) ---------- */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filter-rail { position: sticky; top: 92px; }
.filter-group { margin-bottom: 26px; }
.filter-group h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list li { margin-bottom: 4px; }
.filter-list a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 6px 8px; border-radius: 6px; transition: background .15s, color .15s; }
.filter-list a:hover { color: var(--text); background: var(--surface); }
.filter-list a.active { color: var(--text); background: var(--surface-2); font-weight: 600; }
.filter-list .dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.filter-note { font-size: 11px; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 14px; }

.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.catalog-count { font-size: 12px; color: var(--muted); }
.catalog-sort { display: flex; gap: 6px; font-size: 13px; }
.catalog-sort a { color: var(--muted); padding: 4px 10px; border-radius: 4px; }
.catalog-sort a.active { color: var(--text); background: var(--surface-2); }
.empty-state { text-align: center; padding: 60px 0; color: var(--muted); }
.empty-state p { margin-bottom: 14px; }

/* product grid 3-up variant + card actions */
.prod-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .prod-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid-3 { grid-template-columns: 1fr; } }
.prod-thumb-link { display: block; }
.prod-thumb-img { background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), #0b0e14; padding: 10px; }
.prod-thumb-img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: normal; }
:root[data-theme="light"] .prod-thumb-img { background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), #f0f2f6; }
a.prod-name { display: block; color: var(--text); transition: color .15s; }
a.prod-name:hover { color: var(--cyan); }
.prod-card-actions { margin-top: auto; display: flex; gap: 8px; }
.prod-card-actions .btn { flex: 1; }

@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-rail { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
}

/* ---------- Spec chip ---------- */
.spec-chip { display: inline-block; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 11px; color: var(--text); }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 24px 0 20px; }
@media (max-width: 850px) { .pd-grid { grid-template-columns: 1fr; gap: 32px; } }

.pd-stage {
  --glow: var(--cyan);
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 50% 115%, color-mix(in srgb, var(--glow) 26%, transparent), transparent 60%), #05070c;
  border: 1px solid var(--line); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s linear;
}
.pd-stage-glow { position: absolute; width: 70%; height: 55%; border-radius: 50%; background: var(--glow); filter: blur(60px); opacity: .5; transition: background .2s linear; }
.pd-fixture { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.pd-beam { width: 6px; height: 150px; border-radius: 3px; background: linear-gradient(var(--glow), transparent); box-shadow: 0 0 40px 6px var(--glow); transition: background .2s linear, box-shadow .2s linear; }
.pd-stage-label { position: absolute; bottom: 14px; left: 16px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pd-photo { position: relative; z-index: 1; max-width: 82%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb { width: 66px; height: 66px; border: 1px solid var(--line); border-radius: 8px; background: #0b0e14; padding: 5px; cursor: pointer; transition: border-color .15s; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--cyan); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }

.pd-swatches { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pd-swatches .sw-label { font-size: 11px; color: var(--muted); margin-right: 2px; }
.pd-color-input { width: 30px; height: 30px; padding: 0; border: 2px solid var(--line); border-radius: 50%; background: none; cursor: pointer; }
.pd-color-input::-webkit-color-swatch-wrapper { padding: 0; }
.pd-color-input::-webkit-color-swatch { border: none; border-radius: 50%; }

.pd-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 8px 0 12px; }
.pd-short { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pd-price { font-family: 'IBM Plex Mono', monospace; color: var(--cyan); font-size: 22px; margin-bottom: 20px; }
.pd-price small { color: var(--muted); font-size: 14px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.pd-desc { color: var(--muted); line-height: 1.7; font-size: 15px; }

.pd-section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.pd-section .section-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }

.spec-tables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px) { .spec-tables { grid-template-columns: 1fr; } }
.spec-table h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--amber); margin: 0 0 10px; }
.spec-table table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 42%; }
.spec-table td { color: var(--text); }

.variant-table-wrap { overflow-x: auto; }
.variant-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.variant-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.variant-table td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.variant-table .v-price { font-family: 'IBM Plex Mono', monospace; color: var(--cyan); }

.downloads-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .downloads-row { grid-template-columns: 1fr; } }
.download-item { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.download-item.muted-item { opacity: .6; }
.download-item b { display: block; font-size: 14px; }
.download-item span { font-size: 11px; color: var(--muted); }
.dl-icon { width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--surface-2); font-size: 11px; color: var(--cyan); }

/* ---------- Applications ---------- */
.app-grid-lg { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .app-grid-lg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .app-grid-lg { grid-template-columns: 1fr; } }
.app-tile-link { text-decoration: none; }
.app-tile-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.app-tile-title { font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 20px; text-transform: uppercase; color: #EDEFF3; }
.app-tile-desc { font-size: 12.5px; color: rgba(237,239,243,.7); line-height: 1.4; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } }
.project-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); transition: transform .15s, border-color .15s; }
.project-card:hover { transform: translateY(-3px); border-color: var(--surface-2); }
.project-thumb { position: relative; aspect-ratio: 16 / 10; display: block; }
.project-thumb::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 -40px 60px -20px color-mix(in srgb, var(--accent) 40%, transparent); }
.project-tag { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; background: rgba(0,0,0,.5); color: #EDEFF3; padding: 4px 8px; border-radius: 4px; }
.project-body { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.project-title { font-weight: 600; font-size: 16px; color: var(--text); }
.project-meta { font-size: 12px; color: var(--muted); }

/* ---------- Day / night reveal slider ---------- */
.reveal-slider { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); user-select: none; }
.rs-layer { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; }
.rs-night { z-index: 1; }
.rs-glow { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 100%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%); }
.rs-tag { position: relative; z-index: 2; font-size: 11px; letter-spacing: .08em; color: rgba(237,239,243,.85); background: rgba(0,0,0,.4); padding: 5px 10px; border-radius: 4px; }
.rs-tag-right { margin-left: auto; }
.rs-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.rs-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #EDEFF3; z-index: 3; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.5); }
.rs-handle::after { content: '⇄'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 34px; height: 34px; border-radius: 50%; background: #EDEFF3; color: #0A0D12; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.rs-hint { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- Case study ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 800px) { .case-grid { grid-template-columns: 1fr; } }
.case-block h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--amber); margin: 0 0 10px; }
.case-block p { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0; }

/* ---------- Prose / content pages ---------- */
.prose-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 850px) { .prose-wrap { grid-template-columns: 1fr; } }
.prose p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 18px; }
.prose p:first-child { color: var(--text); font-size: 18px; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; background: var(--surface); }
.stat-card b { display: block; font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.stat-card span { font-size: 13px; color: var(--muted); }

/* ---------- Manufacturing process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; background: var(--surface); }
.ps-num { color: var(--cyan); font-size: 13px; }
.process-step h3 { font-family: 'Big Shoulders Display', sans-serif; text-transform: uppercase; font-size: 19px; margin: 10px 0 8px; }
.process-step p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; background: var(--surface); }
.cert-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 40px; padding: 0 12px; border-radius: 8px; background: var(--surface-2); color: var(--cyan); font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.cert-card h3 { font-size: 17px; margin: 0 0 8px; }
.cert-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.cert-image { display: block; max-height: 76px; max-width: 100%; width: auto; margin-bottom: 16px; border-radius: 6px; background: #fff; padding: 6px; }
.cert-meta { font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }
.cert-doc { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--cyan); }

/* Team (About page) */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; background: var(--surface); }
.team-photo { display: block; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.team-photo-initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--cyan); font-size: 24px; letter-spacing: .04em;
}
.team-card h3 { font-size: 16px; margin: 0 0 4px; }
.team-role { font-size: 12.5px; color: var(--cyan); margin: 0 0 10px; letter-spacing: .02em; }
.team-bio { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0; }
.team-links { margin: 12px 0 0; font-size: 13px; }
.team-links a { color: var(--cyan); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 850px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: var(--surface); }
.contact-form-card .section-title { margin-bottom: 22px; }
.enquiry-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.enquiry-form label span { color: var(--danger); }
.enquiry-form input, .enquiry-form textarea {
  width: 100%; margin-top: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 11px 12px; color: var(--text); font: inherit; font-size: 14px; transition: border-color .15s;
}
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--cyan); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 11px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.form-success { background: color-mix(in srgb, var(--success) 16%, transparent); border: 1px solid color-mix(in srgb, var(--success) 45%, transparent); color: var(--text); padding: 12px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.form-error { color: var(--danger); font-size: 13px; margin: 10px 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-block h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.contact-big { font-family: 'Big Shoulders Display', sans-serif; font-size: 26px; font-weight: 700; color: var(--text); }
.contact-big:hover { color: var(--cyan); }
.contact-link { color: var(--cyan); font-weight: 600; }
.contact-block p { margin: 0; line-height: 1.7; font-size: 14px; }

/* ---------- Footer legal ---------- */
.foot-legal a { color: var(--muted); }
.foot-legal a:hover { color: var(--cyan); }

/* ---------- Header icon link ---------- */
.icon-link { display: inline-flex; align-items: center; color: var(--muted); transition: color .15s; }
.icon-link:hover { color: var(--text); }
@media (max-width: 900px) { .icon-link { display: none; } }

/* ---------- Downloads ---------- */
.download-list { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 32px; }
.download-file { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface); transition: background .15s; }
.download-file:last-child { border-bottom: none; }
.download-file:hover { background: var(--surface-2); }
.df-icon { width: 46px; height: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--surface-2); color: var(--cyan); font-size: 11px; }
.df-body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.df-body b { font-size: 15px; }
.df-body span { font-size: 12px; color: var(--muted); }
.df-action { color: var(--cyan); font-size: 13px; white-space: nowrap; }
.download-item-link { text-decoration: none; transition: border-color .15s; }
.download-item-link:hover { border-color: var(--cyan); }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 10px; margin-top: 20px; max-width: 620px; }
.search-form input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; color: var(--text); font: inherit; font-size: 15px; }
.search-form input:focus { outline: none; border-color: var(--cyan); }
.search-group { font-family: 'Big Shoulders Display', sans-serif; text-transform: uppercase; font-size: 22px; margin: 8px 0 14px; }
.search-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 40px; }
.search-links a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); transition: border-color .15s; }
.search-links a:hover { border-color: var(--cyan); }
.search-links a span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); transition: transform .15s, border-color .15s; }
.blog-card:hover { transform: translateY(-3px); border-color: var(--surface-2); }
.blog-cover { aspect-ratio: 16 / 9; background-size: cover; background-position: center; background-color: #0b0e14; position: relative; display: block; }
.blog-cover-fallback { position: absolute; inset: 0; background: radial-gradient(circle at 40% 40%, rgba(47,230,201,.18), transparent 60%), radial-gradient(circle at 70% 70%, rgba(230,62,140,.14), transparent 60%); }
.blog-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.blog-cat { font-size: 11px; color: var(--amber); text-transform: uppercase; letter-spacing: .05em; }
.blog-title { font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.3; }
.blog-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.blog-date { font-size: 12px; color: var(--muted); margin-top: 4px; }
.article-wrap { max-width: 760px; }
.article-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 28px; }
.article-body p { font-size: 17px; line-height: 1.8; color: var(--muted); margin: 0 0 20px; }
.article-body p:first-child { color: var(--text); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; background: var(--surface); }
.t-stars { color: #FFB13D; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.t-stars span { color: var(--line); }
.t-quote { font-size: 15px; line-height: 1.6; color: var(--text); margin: 0 0 16px; }
.t-by b { display: block; font-size: 14px; }
.t-by span { font-size: 12.5px; color: var(--muted); }

/* ---------- Careers ---------- */
.job-list { border-top: 1px solid var(--line); }
.job-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: padding-left .15s; }
.job-row:hover { padding-left: 12px; }
.job-title { font-size: 18px; font-weight: 600; color: var(--text); }
.job-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.job-arrow { color: var(--cyan); font-size: 14px; white-space: nowrap; }
.careers-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 850px) { .careers-grid { grid-template-columns: 1fr; } }
.job-desc p { color: var(--muted); line-height: 1.8; font-size: 15px; }
.apply-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--surface); position: sticky; top: 92px; }
.apply-card input[type="file"] { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ---------- Quote basket ---------- */
.quote-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 850px) { .quote-layout { grid-template-columns: 1fr; } }
.quote-empty { text-align: center; padding: 50px 0; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-md); }
.quote-empty p { margin-bottom: 14px; }
.quote-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qr-info { flex: 1; }
.qr-info b { display: block; font-size: 15px; }
.qr-info span { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--cyan); }
.qr-qty { display: flex; align-items: center; gap: 10px; }
.qr-btn { width: 28px; height: 28px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 6px; cursor: pointer; font-size: 16px; line-height: 1; }
.qr-btn:hover { border-color: var(--cyan); }
.qr-n { min-width: 20px; text-align: center; font-family: 'IBM Plex Mono', monospace; }
.qr-remove { background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.qr-remove:hover { color: var(--danger); }
.quote-form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--surface); position: sticky; top: 92px; }

/* ---------- Header quote link ---------- */
.quote-link { position: relative; display: inline-flex; align-items: center; color: var(--muted); transition: color .15s; }
.quote-link:hover { color: var(--text); }
.quote-count {
  position: absolute; top: -8px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--surface-2); color: var(--muted);
  font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.quote-count.has-items { background: var(--cyan); color: #0A0D12; }
@media (max-width: 900px) { .quote-link { display: none; } }

/* ---------- Toast ---------- */
.quote-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
  padding: 12px 20px; border-radius: 8px; font-size: 14px; z-index: 90;
  opacity: 0; transition: opacity .3s ease, transform .3s ease; box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.quote-toast.show { opacity: 1; transform: translate(-50%, 0); }
