:root {
  --navy: #131939;
  --navy-deep: #0d1230;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --ink: #171a2d;
  --muted: #656779;
  --line: #e8e9ee;
  --serif: "Noto Serif TC", serif;
  --sans: "Noto Sans TC", sans-serif;
  --display: "Playfair Display", serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
}
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 2px 20px rgba(19, 25, 57, 0.08);
}
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 6px 0;
}
.topbar a {
  opacity: 0.9;
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 108px;
  height: 52px;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}
.brand b {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.2;
}
.brand small {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.18em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
.nav-links > a:not(.nav-cta) {
  position: relative;
}
.nav-links > a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--gold);
  transition: 0.3s;
}
.nav-links > a:hover:after {
  right: 0;
}
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.16s var(--ease),
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.nav-cta {
  padding: 8px 21px;
  color: #fff;
  background: var(--navy);
}
.nav-cta:hover {
  background: #26336a;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 24px;
}
.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url("<?=userimg('hero.jpg')?>") center center / cover;
}
.hero-overlay,
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(19, 25, 57, 0.94),
    rgba(19, 25, 57, 0.72) 52%,
    rgba(19, 25, 57, 0.35)
  );
}
.hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 95px;
  padding-bottom: 90px;
  color: #fff;
}
.eyebrow {
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hero h1,
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.25;
  margin: 0 0 12px;
}
.hero h1 em,
.cta h2 em,
.section-heading h2 em {
  color: var(--gold);
  font-style: normal;
}
.hero-kicker {
  font: 18px var(--serif);
  color: #fff;
  margin: 0 0 12px;
}
.gold-line {
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px 0 22px;
}
.hero-copy {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.button {
  padding: 12px 27px;
  font-size: 14px;
  font-weight: 600;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: scale(0.97);
}
.button-gold {
  background: var(--gold);
  color: var(--navy);
}
.button-gold:hover {
  background: var(--gold-light);
}
.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.stats {
  display: flex;
  gap: 42px;
  margin-top: 48px;
}
.stats strong {
  display: block;
  color: var(--gold);
  font: 700 25px var(--display);
}
.stats span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}
.scroll-mark {
  position: absolute;
  right: 25px;
  bottom: 112px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.45);
  font: 10px var(--display);
  writing-mode: vertical-rl;
  letter-spacing: 0.22em;
}
.section {
  padding: 105px 0;
}
.section-heading {
  margin-bottom: 54px;
}
.section-heading h2 {
  color: var(--navy);
  font: 700 clamp(30px, 4vw, 43px) / 1.35 var(--serif);
  margin: 0;
}
.section-heading.light h2,
.section-heading.light .faq-intro {
  color: #fff;
}
.section-heading.centered {
  text-align: center;
}
.section-heading.centered .gold-line {
  margin-left: auto;
  margin-right: auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  padding: 38px 30px;
  border: 1px solid var(--line);
  min-height: 255px;
  transition: 0.3s;
}
.feature-card:hover {
  border-color: rgba(201, 168, 76, 0.7);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(19, 25, 57, 0.08);
}
.feature-no {
  position: absolute;
  right: 24px;
  top: 18px;
  color: rgba(19, 25, 57, 0.08);
  font: 700 62px var(--display);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 168, 76, 0.6);
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 24px;
}
.feature-card h3,
.reason h3,
.process-item h3 {
  color: var(--navy);
  font: 700 19px var(--serif);
  margin: 0 0 8px;
}
.feature-card p,
.reason p,
.process-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.advantages,
.faq-section,
.testimonials {
  background: var(--navy);
  color: #fff;
}
.advantages {
  padding: 100px 0;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
.adv-card {
  padding: 25px 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: 0.3s;
}
.adv-card:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}
.adv-card b {
  display: block;
  color: var(--gold);
  font: 24px var(--display);
  margin-bottom: 12px;
}
.adv-card h3 {
  font: 600 15px var(--serif);
  margin: 0 0 8px;
}
.adv-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(13, 18, 48, 0.92));
}
.service-card > div {
  position: relative;
  z-index: 1;
  padding: 28px;
  color: #fff;
}
.service-card span {
  color: var(--gold);
  font: 11px var(--display);
  letter-spacing: 0.15em;
}
.service-card h3 {
  font: 700 25px var(--serif);
  margin: 8px 0;
}
.service-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.inspection {
  background-image: url("https://d2xsxph8kpxj0f.cloudfront.net/310519663655871331/gSGQRNgHKQqToQxKg5eMnb/jcar-inspection-bpTPSSnJzU3YWLLTK3ampa.webp");
}
.market {
  background-image: url("https://d2xsxph8kpxj0f.cloudfront.net/310519663655871331/gSGQRNgHKQqToQxKg5eMnb/jcar-market-data-dfYeDg4xv427ygctJ3dScL.webp");
}
.cash {
  background-image: url("https://d2xsxph8kpxj0f.cloudfront.net/310519663655871331/gSGQRNgHKQqToQxKg5eMnb/jcar-cash-deal-6y5gzrN9DZXftNQ7TvfKuq.webp");
}
.process {
  background: #f7f7f8;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-item {
  padding: 24px 25px;
  border-left: 1px solid #d9dbe3;
}
.process-item b,
.reason > b {
  display: block;
  color: var(--gold);
  font: 700 30px var(--display);
  margin-bottom: 18px;
}
.faq-section {
  padding: 100px 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 90px;
  align-items: start;
}
.faq-intro {
  font-size: 14px;
  opacity: 0.65;
  margin-top: 28px;
}
.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px 0;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font: 600 17px var(--serif);
  display: flex;
  justify-content: space-between;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  color: var(--gold);
  font-size: 22px;
}
.faq-list p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  margin: 14px 25px 0 0;
}
.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.reason {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.reason > b {
  position: absolute;
  top: 12px;
  right: 20px;
  color: rgba(19, 25, 57, 0.1);
  font-size: 70px;
}
.reason h3,
.reason p {
  position: relative;
}
.testimonials {
  padding: 100px 0;
  background: #101633;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote-grid blockquote {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font: 16px/1.9 var(--serif);
}
.quote-grid cite {
  display: block;
  color: var(--gold);
  font: 12px var(--sans);
  margin-top: 22px;
  font-style: normal;
}
.cta {
  position: relative;
  overflow: hidden;
  background: url("https://d2xsxph8kpxj0f.cloudfront.net/310519663655871331/gSGQRNgHKQqToQxKg5eMnb/jcar-cta-bg-6Jf6DofhNWDdp8DCpiNAZB.webp")
    center/cover;
  padding: 120px 0;
  text-align: center;
}
.cta-overlay {
  background: linear-gradient(
    135deg,
    rgba(19, 25, 57, 0.9),
    rgba(19, 25, 57, 0.7)
  );
}
.cta-content {
  position: relative;
  color: #fff;
}
.cta h2 {
  font-size: 42px;
}
.cta-content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0 auto 30px;
  max-width: 560px;
}
.cta .hero-actions {
  justify-content: center;
}
.footer {
  background: var(--navy-deep);
  color: #fff;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 60px;
}
.footer-brand {
  margin-bottom: 20px;
}
.footer-brand b {
  color: #fff;
}
.footer-grid p {
  max-width: 370px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}
.footer-grid > div > a:not(.brand),
.footer-grid address {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 10px 0;
  font-style: normal;
}
.footer-grid > div > a:hover {
  color: var(--gold);
}
.footer-grid h3 {
  font: 600 16px var(--serif);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
  margin: 0 0 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}
.floating-contact {
  position: fixed;
  z-index: 15;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 23px;
  box-shadow: 0 8px 22px rgba(19, 25, 57, 0.25);
}
.floating-contact:hover {
  background: var(--gold);
  color: var(--navy);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 800px) {
  .container {
    width: min(100% - 32px, 600px);
  }
  .nav {
    height: 60px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > a {
    padding: 12px;
    border-bottom: 1px solid #f0f0f2;
  }
  .nav-cta {
    text-align: center;
    margin-top: 10px;
  }
  .hero {
    min-height: 720px;
  }
  .hero-content {
    padding-top: 130px;
  }
  .stats {
    gap: 22px;
  }
  .section,
  .advantages,
  .faq-section,
  .testimonials {
    padding: 75px 0;
  }
  .feature-grid,
  .service-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: auto;
  }
  .adv-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .process-item {
    border-left: 0;
    border-top: 1px solid #d9dbe3;
    padding: 20px 10px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .cta h2 {
    font-size: 34px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 35px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .topbar-inner {
    gap: 10px;
    font-size: 10px;
  }
  .scroll-mark {
    display: none;
  }
}
@media (max-width: 420px) {
  .hero h1 {
    font-size: 38px;
  }
  .stats {
    gap: 14px;
  }
  .stats strong {
    font-size: 21px;
  }
  .button {
    width: 100%;
  }
  .adv-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }
}
