/* Homepage refinements. Loaded after the shared responsive rules. */
:is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 4px;
}
.fqt-section { padding-block: 64px; }
.fqt-section-header { margin-bottom: 32px !important; }
.fqt-display-section { font-size: clamp(1.8rem, 3.3vw, 2.8rem); line-height: 1.2; }
.fqt-section-subtitle { max-width: 65ch; }
.fqt-hero-overlay {
  background: linear-gradient(90deg, rgba(0,15,35,.93), rgba(0,20,45,.57) 48%, rgba(0,20,45,.08));
}
.fqt-hero { height: 80vh; min-height: 620px; max-height: 800px; }
.fqt-hero-title { font-size: clamp(2.5rem, 4.5vw, 4.25rem); max-width: 15ch; }
.fqt-hero-subtitle { max-width: 52ch; }
.fqt-local-intro { background: #00142d; color: #fff; padding-block: 18px; }
.fqt-local-intro .fqt-container {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.fqt-local-intro strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.fqt-local-intro span { color: #d6e4f1; font-size: .9rem; }
.fqt-local-intro a { color: #fff; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.fqt-selector-wrapper > *, .fqt-tech-grid > * { min-width: 0; }
#kham-pha-dong-xe .fqt-btn { max-width: 100%; white-space: normal; }
section[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
.fqt-pathways-grid { gap: 20px; }
.fqt-pathway-card { padding: 24px; }
.fqt-pathway-title { font-size: 1.2rem; }
.fqt-pathway-icon-box { margin-bottom: 16px; }
.fqt-ownership-note { margin: 24px 0 0; color: #475569; font-size: .9rem; }
.fqt-ownership-note a { text-decoration: underline; text-underline-offset: 3px; }
.fqt-tech-visual { height: 360px; }
.fqt-tech-card { padding: 18px; }
.fqt-tech-card-title { font-size: 1rem; }
.fqt-tech-card-desc { font-size: .9rem; }
.fqt-tech-card:not(.is-active) .fqt-tech-card-desc { display: none; }
.fqt-tech-card-header { margin-bottom: 0; }
.fqt-tech-card.is-active .fqt-tech-card-header { margin-bottom: 8px; }
.fqt-modal {
  max-height: calc(100dvh - 32px);
  overscroll-behavior: contain;
  transition: opacity .2s ease, transform .2s ease;
}
.fqt-modal-header { position: sticky; top: 0; z-index: 1; }
.fqt-modal-close { min-width: 44px; min-height: 44px; flex-shrink: 0; }
.fqt-input, .fqt-select, .fqt-textarea { font-size: 16px; }

@media (max-width: 767px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .fqt-mobile-bottom-bar { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .fqt-mobile-bottom-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .fqt-mobile-bottom-btn { color: #fff; min-width: 0; min-height: 52px; font-size: .7rem; }
  .fqt-mobile-bottom-btn:hover { color: #fff; background-color: #174b80; }
  .fqt-mobile-bottom-call { background: #047857; }
  .fqt-mobile-bottom-quote { background: #0757ad; }
  .fqt-section { padding-block: 40px; }
  .fqt-section-header { margin-bottom: 24px !important; }
  .fqt-display-section { font-size: clamp(1.65rem, 6.5vw, 2rem); }
  .fqt-hero { margin-top: var(--header-height); height: 660px; min-height: 0; max-height: none; }
  .fqt-hero-slider { height: 100%; }
  .fqt-hero-slide { align-items: flex-start; }
  .fqt-hero-bg { height: 240px; background-position: center; transform: none; }
  .fqt-hero-overlay {
    background: linear-gradient(180deg, transparent 120px, rgba(0,20,45,.2) 190px, #00142d 245px);
  }
  .fqt-hero-content { padding-top: 250px; max-width: none; }
  .fqt-hero-kicker { font-size: .7rem; letter-spacing: .13em; margin-bottom: 8px; }
  .fqt-hero-title { font-size: 1.9rem; line-height: 1.15; margin-bottom: 12px; max-width: none; }
  .fqt-hero-subtitle { font-size: .95rem; line-height: 1.55; margin-bottom: 20px; }
  .fqt-hero-actions { gap: 10px; }
  .fqt-hero-actions .fqt-btn { min-height: 48px; padding: 12px; font-size: .9rem; }
  .fqt-hero-bottom-bar { bottom: 16px; }
  .fqt-hero-progress-track { width: 42px; }
  .fqt-hero-timeline { gap: 8px; }
  .fqt-hero-counter { font-size: .75rem; }
  .fqt-hero-arrows { gap: 6px; }
  .fqt-local-intro .fqt-container { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fqt-local-intro strong { font-size: 1rem; }
  .fqt-local-intro span { font-size: .85rem; }
  .fqt-selector-wrapper { gap: 20px; }
  .fqt-selector-nav { width: 100%; min-width: 0; }
  .fqt-selector-item { padding: 12px 16px; min-height: 48px; }
  .fqt-selector-spotlight { padding: 20px; }
  .fqt-spotlight-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fqt-spotlight-spec-card:last-child { grid-column: 1 / -1; }
  .fqt-pathways-grid { gap: 12px; }
  .fqt-pathway-card { padding: 20px; }
  .fqt-pathway-icon-box { width: 36px; height: 36px; margin-bottom: 12px; }
  .fqt-pathway-title { font-size: 1.1rem; }
  .fqt-pathway-desc { margin-bottom: 16px; }
  .fqt-tech-grid { gap: 24px; }
  .fqt-tech-visual { height: auto; aspect-ratio: 16 / 10; }
  .fqt-tech-card { padding: 16px; }
  .fqt-tech-card:hover { transform: none; }
  .fqt-td-visual-pane, .fqt-td-form-pane { padding: 24px; }
  .fqt-dealership-map, .fqt-dealership-map iframe { min-height: 240px; }
  .fqt-modal { width: calc(100% - 24px); }
  .fqt-modal-header, .fqt-modal-body { padding: 20px; }
  .fqt-modal-title { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fqt-hero-slide, .fqt-hero-bg { transition: none; }
}
