/* QUELEN static multi-page overrides — loaded after site.css */

.site-header {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1px 0 #e4eef4;
}

.site-header .brand-logo--navy { opacity: 1; }
.site-header .brand-logo--white { opacity: 0; }

.header-quote {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

@media (max-width: 1279px) {
  .header-quote { display: none; }
}

main > .section:first-child {
  padding-top: 150px;
}

.static-hero {
  height: auto;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.static-hero--compact { min-height: 460px; }

.static-hero .page-hero-inner {
  min-height: 600px;
  padding-top: 140px;
  padding-bottom: 90px;
}

.static-hero--compact .page-hero-inner {
  min-height: 460px;
  padding-top: 126px;
  padding-bottom: 64px;
}

.static-hero--product { min-height: 520px; }
.static-hero--product .page-hero-inner { min-height: 520px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.breadcrumbs {
  padding-top: 112px;
  padding-bottom: 14px;
  background: #ffffff;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--brand);
  font-weight: 600;
}

.breadcrumbs b {
  color: var(--line);
  font-weight: 400;
  padding: 0 3px;
}

.proof-strip {
  background: var(--navy-deep);
  color: #ffffff;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.proof-item strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
  color: #ffffff;
}

.proof-item span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
}

.route-grid,
.category-grid {
  display: grid;
  gap: 24px;
}

.route-grid { grid-template-columns: repeat(3, 1fr); }
.category-grid { grid-template-columns: repeat(4, 1fr); }

.route-card,
.category-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(5, 29, 45, .06);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.route-card:hover,
.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 80, 158, .35);
  box-shadow: 0 14px 34px rgba(5, 29, 45, .12);
}

.route-media,
.category-media {
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.route-media img,
.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-body,
.category-body {
  padding: 22px;
}

.route-body h3,
.category-body h3 {
  margin: 0 0 9px;
  font-size: 20px;
  line-height: 1.25;
  color: var(--navy);
}

.route-body p,
.category-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.category-body p { font-size: 13px; }

.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.section-actions .text-link { margin-top: 0; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: start;
}

.detail-media {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(5, 29, 45, .08);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-info h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.2vw, 34px);
}

.spec-table {
  width: 100%;
  margin: 22px 0 16px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #ffffff;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  background: var(--soft);
  color: var(--navy);
  font-weight: 600;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

.notice {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--brand-bright);
  background: var(--soft);
  color: var(--slate);
  font-size: 12.5px;
  line-height: 1.6;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.check-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
}

.check-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-band h2 {
  color: #ffffff;
  max-width: 760px;
}

.cta-band .lede {
  color: rgba(255, 255, 255, .78);
  margin-top: 12px;
}

.cta-band .hero-actions { margin-top: 0; flex: 0 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.form-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(5, 29, 45, .07);
}

.form-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.rfq-form { margin-top: 8px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #ffffff;
  font-size: 13px;
  color: var(--ink);
}

.field textarea { min-height: 126px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(0, 158, 224, .28);
  border-color: var(--brand-bright);
}

.field--full { grid-column: 1 / -1; }

.field.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
}

.field.checkbox input { width: 16px; min-height: 16px; margin-top: 3px; }
.field.checkbox span { font-weight: 400; line-height: 1.5; }

.rfq-form .btn { margin-top: 18px; }

.form-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.pending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.pending-item {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pending-item h3 {
  margin: 12px 0 7px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--navy);
}

.pending-item p {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}

.split-about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: start;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-facts > div {
  min-height: 130px;
  padding: 22px;
  background: #ffffff;
}

.about-facts strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  color: var(--brand);
}

.about-facts span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.list-check {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.legal-copy h1,
.thank-you h1 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 14px;
}

.legal-copy p,
.thank-you p {
  margin-top: 16px;
}

.footer-static-top {
  background: var(--navy-deep);
  padding: 54px 0 40px;
}

.footer-static-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1.1fr;
  gap: 42px;
}

.footer-static-brand img { width: 150px; height: auto; }

.footer-static-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #a9bec9;
}

.footer-static-col h3 {
  margin: 0 0 14px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
}

.footer-static-col a {
  display: block;
  padding: 4px 0;
  font-size: 12px;
  line-height: 1.5;
  color: #a9bec9;
}

.footer-static-col a:hover { color: #ffffff; }

.footer-static-contact p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #a9bec9;
}

.footer-static-contact a { display: inline; padding: 0; color: #ffffff; }

.footer-static-legal { margin-top: 16px; }

.footer-static-bottom {
  background: #041521;
  padding: 14px 0;
  color: #6b8292;
  font-size: 10.5px;
}

.footer-static-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-band { align-items: flex-start; flex-direction: column; gap: 26px; }
  .cta-band .hero-actions { margin-top: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-about { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pending-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-static-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-static-brand { grid-column: 1 / -1; }
  .footer-static-contact { grid-column: 1 / -1; }
  .static-hero,
  .static-hero .page-hero-inner { min-height: 520px; }
  .static-hero--compact,
  .static-hero--compact .page-hero-inner { min-height: 420px; }
}

@media (max-width: 560px) {
  .route-grid,
  .category-grid,
  .check-grid,
  .pending-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .static-hero .page-hero-inner {
    padding-top: 118px;
    padding-bottom: 54px;
  }
  .static-hero--product .page-hero-inner {
    padding-top: 118px;
  }
  .footer-static-grid { grid-template-columns: 1fr; }
  .footer-static-brand,
  .footer-static-contact { grid-column: auto; }
}

/* ------------------------------------------------------------------ v7.2 motion */
.qm-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.qm-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.qm-reveal--soft { transform: translateY(16px); }
.qm-reveal--scale { transform: translateY(22px) scale(.985); }

.qm-hero-piece {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.qm-hero-piece.is-visible {
  opacity: 1;
  transform: none;
}

.page-hero.static-hero {
  background-size: 106%;
  background-position: center 46%;
  animation: qmHeroDrift 16s ease-out both;
}

@keyframes qmHeroDrift {
  from { background-position: center 42%; }
  to { background-position: center 56%; }
}

.page-hero h1.qm-typing {
  clip-path: inset(0 100% 0 0);
  animation: qmHeroType 1.7s steps(30, end) both;
}

@keyframes qmHeroType {
  to { clip-path: inset(0 0 0 0); }
}

.page-hero h1.qm-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: .86em;
  margin-left: 5px;
  background: currentColor;
  vertical-align: -.04em;
  animation: qmCursor .72s step-end infinite;
}

@keyframes qmCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.route-card .route-media img,
.category-card .category-media img,
.model-card .model-media img,
.detail-media img {
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.route-card:hover .route-media img,
.category-card:hover .category-media img,
.model-card:hover .model-media img,
.detail-media:hover img {
  transform: scale(1.045);
}

@media (max-width: 560px) {
  .page-hero.static-hero {
    background-size: cover;
    background-position: center;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qm-reveal,
  .qm-hero-piece {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-hero.static-hero { animation: none; }
  .page-hero h1.qm-typing { clip-path: none; animation: none; }
  .page-hero h1.qm-typing::after { display: none; }

  .route-card .route-media img,
  .category-card .category-media img,
  .model-card .model-media img,
  .detail-media img { transition: none; }
}
