:root {
  --jdi-red: #d71920;
  --jdi-red-dark: #9d1117;
  --jdi-red-deep: #6f0d12;
  --jdi-white: #ffffff;
  --jdi-ink: #171717;
  --jdi-muted: #676767;
  --jdi-soft: #f7f7f8;
  --jdi-border: #ececef;
  --jdi-shadow: 0 18px 45px rgba(23, 23, 23, 0.10);
  --jdi-radius: 26px;
  --jdi-radius-sm: 16px;
  --jdi-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--jdi-ink);
  background: #fff;
  line-height: 1.65;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  background: #fff;
  color: #000;
  clip: auto;
  height: auto;
  left: 8px;
  padding: 8px 12px;
  top: 8px;
  width: auto;
  z-index: 100000;
}

.jdi-container { max-width: var(--jdi-max); margin: 0 auto; padding: 0 22px; }
.jdi-section { padding: 84px 0; position: relative; }
.jdi-section.alt { background: var(--jdi-soft); }
.jdi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--jdi-red);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 14px;
}
.jdi-eyebrow:before { content: ""; width: 34px; height: 3px; border-radius: 999px; background: var(--jdi-red); }
.jdi-section-title { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.05; letter-spacing: -.05em; margin: 0 0 18px; }
.jdi-lead { color: var(--jdi-muted); font-size: 1.08rem; max-width: 730px; }
.jdi-grid { display: grid; gap: 24px; }
.jdi-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jdi-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jdi-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jdi-card {
  background: #fff;
  border: 1px solid var(--jdi-border);
  border-radius: var(--jdi-radius);
  box-shadow: 0 12px 35px rgba(23, 23, 23, 0.06);
  overflow: hidden;
}
.jdi-card.pad { padding: 28px; }
.jdi-btn, .wp-block-button__link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: .22s ease;
  cursor: pointer;
}
.jdi-btn.primary, .wp-block-button__link {
  background: var(--jdi-red);
  color: #fff;
  box-shadow: 0 14px 30px rgba(215, 25, 32, .22);
}
.jdi-btn.primary:hover, .wp-block-button__link:hover { transform: translateY(-2px); background: var(--jdi-red-dark); }
.jdi-btn.secondary { background: #fff; color: var(--jdi-red); border-color: rgba(215,25,32,.22); }
.jdi-btn.secondary:hover { border-color: var(--jdi-red); transform: translateY(-2px); }
.jdi-btn.dark { background: var(--jdi-ink); color: #fff; }
.jdi-kicker { color: var(--jdi-red); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.custom-logo-link img { max-height: 48px; width: auto; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--jdi-red), var(--jdi-red-deep));
  color: #fff;
  font-weight: 1000;
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(215,25,32,.25);
}
.brand-title { font-weight: 1000; letter-spacing: -.05em; font-size: 1.08rem; line-height: 1; }
.brand-subtitle { display: block; font-size: .7rem; color: var(--jdi-muted); letter-spacing: .15em; text-transform: uppercase; margin-top: 4px; }
.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 10px 13px; border-radius: 999px; font-weight: 750; color: #282828; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { background: #fff1f2; color: var(--jdi-red); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; border: 0; background: #fff1f2; border-radius: 12px; width: 46px; height: 46px; color: var(--jdi-red); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 999px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.2), transparent 26%),
    linear-gradient(135deg, rgba(14,14,14,.98), rgba(111,13,18,.92) 45%, rgba(215,25,32,.96));
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.14)),
    var(--jdi-hero-image, url("../images/hero-showroom.png"));
  background-size: cover;
  background-position: center;
  opacity: var(--jdi-hero-opacity, .38);
}
.hero:after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  right: -190px;
  bottom: -230px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 90px rgba(255,255,255,.04), inset 0 0 0 180px rgba(255,255,255,.03);
}
.hero .jdi-container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; padding: 88px 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(14px);
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 850;
  font-size: .82rem;
  margin-bottom: 22px;
}
.hero-badge span { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
.hero h1 { font-size: clamp(3rem, 6.4vw, 6.3rem); line-height: .9; margin: 0 0 22px; letter-spacing: -.075em; max-width: 840px; }
.hero p { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: rgba(255,255,255,.85); max-width: 670px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero .jdi-btn.primary { background: #fff; color: var(--jdi-red); box-shadow: 0 16px 35px rgba(0,0,0,.18); }
.hero .jdi-btn.secondary { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 700px; }
.stat-pill { padding: 16px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.09); border-radius: 20px; backdrop-filter: blur(14px); }
.stat-pill strong { display: block; font-size: 1.35rem; line-height: 1; }
.stat-pill span { color: rgba(255,255,255,.72); font-size: .82rem; }
.hero-showcase {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.engine-card {
  width: min(100%, 450px);
  background: rgba(255,255,255,.94);
  color: var(--jdi-ink);
  border-radius: 34px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  transform: rotate(-2deg);
}
.engine-visual {
  min-height: 250px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.95) 0 11%, transparent 12%),
    radial-gradient(circle at 28% 52%, #222 0 10%, transparent 11%),
    radial-gradient(circle at 72% 52%, #222 0 10%, transparent 11%),
    linear-gradient(135deg, #2c2c2e, #111 45%, #3d0b0e 46%, #d71920);
  position: relative;
  overflow: hidden;
}
.engine-visual:before, .engine-visual:after { content: ""; position: absolute; background: rgba(255,255,255,.12); border-radius: 999px; }
.engine-visual:before { width: 150px; height: 22px; left: 38px; top: 42px; transform: rotate(-18deg); }
.engine-visual:after { width: 260px; height: 1px; right: -30px; bottom: 46px; box-shadow: 0 -28px 0 rgba(255,255,255,.09), 0 -56px 0 rgba(255,255,255,.07); }
.engine-card h3 { margin: 18px 0 8px; font-size: 1.35rem; letter-spacing: -.03em; }
.engine-card p { color: var(--jdi-muted); margin-bottom: 18px; }
.checkline { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--jdi-border); font-weight: 800; }
.checkline span { color: var(--jdi-muted); font-weight: 650; }
.floating-tag {
  position: absolute;
  background: #fff;
  color: var(--jdi-red);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
}
.tag-one { top: 46px; right: 10px; }
.tag-two { bottom: 72px; left: 0; color: var(--jdi-ink); }

.trust-strip { background: #fff; border-bottom: 1px solid var(--jdi-border); }
.trust-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 850; color: #303030; }
.trust-icon { width: 38px; height: 38px; border-radius: 12px; background: #fff1f2; color: var(--jdi-red); display: grid; place-items: center; font-weight: 1000; }

.category-card { padding: 24px; transition: .2s ease; position: relative; isolation: isolate; }
.category-card:before {
  content: "";
  position: absolute;
  inset: auto 20px 0 auto;
  width: 70px;
  height: 70px;
  border-radius: 999px 0 22px 0;
  background: #fff1f2;
  z-index: -1;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--jdi-shadow); }
.category-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--jdi-red), var(--jdi-red-deep)); color: #fff; font-weight: 1000; margin-bottom: 22px; }
.category-card h3 { margin: 0 0 10px; font-size: 1.25rem; letter-spacing: -.03em; }
.category-card p { color: var(--jdi-muted); }

.feature-band {
  background:
    linear-gradient(135deg, rgba(215,25,32,.96), rgba(111,13,18,.97)),
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.28), transparent 28%);
  color: #fff;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}
.feature-band:after { content: "JDI"; position: absolute; right: -30px; bottom: -80px; font-size: 15rem; font-weight: 1000; opacity: .08; letter-spacing: -.12em; }
.feature-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 46px; position: relative; z-index: 1; }
.feature-band h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; margin: 0 0 16px; letter-spacing: -.05em; }
.feature-band p { color: rgba(255,255,255,.82); }
.feature-list { display: grid; gap: 12px; }
.feature-list div { padding: 16px 18px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; font-weight: 820; }

.parts-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 34px 0 24px; }
.parts-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.parts-filter a { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--jdi-border); font-weight: 800; color: var(--jdi-muted); }
.parts-filter a.active, .parts-filter a:hover { color: #fff; background: var(--jdi-red); border-color: var(--jdi-red); }
.part-card { transition: .22s ease; height: 100%; display: flex; flex-direction: column; }
.part-card:hover { transform: translateY(-5px); box-shadow: var(--jdi-shadow); }
.part-image { height: 230px; background: #171717; display: grid; place-items: center; position: relative; overflow: hidden; }
.part-image img { width: 100%; height: 100%; object-fit: cover; transition: .3s ease; }
.part-card:hover .part-image img { transform: scale(1.04); }
.part-image.placeholder { background: linear-gradient(135deg, #232323, #111 40%, #751016 41%, var(--jdi-red)); }
.part-image.placeholder:before { content: "JDI"; font-size: 4rem; color: rgba(255,255,255,.18); font-weight: 1000; letter-spacing: -.1em; }
.part-badge { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--jdi-red); padding: 7px 10px; border-radius: 999px; font-weight: 900; font-size: .75rem; }
.part-content { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.part-content h3 { margin: 0; letter-spacing: -.03em; font-size: 1.18rem; }
.part-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.part-meta span { display: inline-flex; align-items: center; border-radius: 999px; background: var(--jdi-soft); color: var(--jdi-muted); padding: 6px 10px; font-size: .77rem; font-weight: 850; }
.part-content p { color: var(--jdi-muted); margin-bottom: 0; }
.part-card .jdi-btn { margin-top: auto; padding: 10px 15px; font-size: .9rem; }

.process-card { position: relative; padding: 28px; min-height: 255px; }
.process-num { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: #fff1f2; color: var(--jdi-red); font-weight: 1000; margin-bottom: 22px; }
.process-card h3 { margin: 0 0 10px; font-size: 1.22rem; letter-spacing: -.03em; }
.process-card p { color: var(--jdi-muted); }

.cta-panel {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(135deg, #121212, #3a080b 52%, var(--jdi-red));
  color: #fff;
  border-radius: 40px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; margin: 0 0 14px; letter-spacing: -.06em; }
.cta-panel p { color: rgba(255,255,255,.78); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-panel .jdi-btn.primary { background: #fff; color: var(--jdi-red); }
.cta-panel .jdi-btn.secondary { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }

.page-hero {
  background:
    radial-gradient(circle at 10% 15%, rgba(215,25,32,.13), transparent 28%),
    linear-gradient(180deg, #fff, #fff7f7);
  padding: 76px 0;
  border-bottom: 1px solid var(--jdi-border);
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: .95; letter-spacing: -.07em; margin: 0 0 18px; }
.breadcrumbs { font-weight: 800; color: var(--jdi-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--jdi-red); }
.content-wrap { max-width: 840px; margin: 0 auto; padding: 70px 22px; }
.entry-content { font-size: 1.05rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content a { color: var(--jdi-red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content h2, .entry-content h3 { letter-spacing: -.04em; line-height: 1.12; }
.entry-content h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.entry-content img { border-radius: 22px; }
.entry-footer { color: var(--jdi-muted); margin-top: 28px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-method { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--jdi-border); }
.contact-method strong { display: block; margin-bottom: 4px; }
.contact-method span { color: var(--jdi-muted); }
.fake-form { display: grid; gap: 14px; }
.fake-form input, .fake-form textarea, .search-field, .comment-form input, .comment-form textarea {
  width: 100%;
  border: 1px solid var(--jdi-border);
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
}
.fake-form textarea { min-height: 150px; }
.note-box { background: #fff8f8; border: 1px solid #ffd6d8; border-radius: 18px; color: #601014; padding: 14px 16px; font-weight: 750; }

.site-footer { background: #101010; color: #fff; }
.footer-top { padding: 64px 0 42px; display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo .brand-mark { width: 44px; height: 44px; }
.footer-top p, .footer-top a, .footer-bottom { color: rgba(255,255,255,.66); }
.footer-top h3 { margin: 0 0 15px; font-size: 1rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-top a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.pagination, .nav-links { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--jdi-border); border-radius: 999px; font-weight: 850; }
.page-numbers.current, .page-numbers:hover { background: var(--jdi-red); border-color: var(--jdi-red); color: #fff; }

@media (max-width: 980px) {
  body.admin-bar .site-header { top: 46px; }
  .header-inner { height: 74px; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--jdi-border);
    border-radius: 22px;
    box-shadow: var(--jdi-shadow);
    display: none;
    padding: 12px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; align-items: stretch; }
  .primary-nav a { padding: 12px 14px; }
  .header-actions .jdi-btn { display: none; }
  .hero-grid, .feature-band-inner, .cta-panel, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-showcase { min-height: 420px; }
  .trust-inner, .jdi-grid.four, .jdi-grid.three, .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .jdi-section { padding: 58px 0; }
  .hero h1 { font-size: clamp(2.75rem, 16vw, 4.6rem); }
  .hero-grid { padding: 58px 0; gap: 28px; }
  .hero-stats, .trust-inner, .jdi-grid.two, .jdi-grid.three, .jdi-grid.four, .footer-top { grid-template-columns: 1fr; }
  .feature-band-inner, .cta-panel { padding: 28px; border-radius: 28px; }
  .parts-toolbar { align-items: flex-start; flex-direction: column; }
  .footer-bottom { display: grid; }
  .floating-tag { display: none; }
}


/* --- Version 1.1 enhancements --- */
@keyframes floaty {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes pulseSoft {
  0%,100% { box-shadow: 0 14px 30px rgba(215, 25, 32, .18); }
  50% { box-shadow: 0 18px 38px rgba(215, 25, 32, .28); }
}
@keyframes marqueeMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(8px); opacity: 1; }
  100% { transform: translateY(0); opacity: .4; }
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.reveal-left { transform: translateX(-28px); }
.reveal.reveal-right { transform: translateX(28px); }
.reveal.is-visible { opacity: 1; transform: translate(0,0); }
.pulse-soft { animation: pulseSoft 3s ease-in-out infinite; }
.shine-btn:after, .jdi-btn.primary:after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 70%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.06) 32%, rgba(255,255,255,.6) 50%, rgba(255,255,255,.06) 68%, transparent 100%);
  transform: skewX(-20deg);
  transition: transform .8s ease;
}
.shine-btn:hover:after, .jdi-btn.primary:hover:after { transform: translateX(240%) skewX(-20deg); }
.site-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.hero:before { background-position: center right; }
.hero-showcase { perspective: 1000px; }
.engine-card { transition: transform .25s ease, box-shadow .25s ease; }
.engine-photo {
  min-height: 250px;
  border-radius: 26px;
  overflow: hidden;
  background: #111;
}
.engine-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.floating-tag { animation: floaty 4.5s ease-in-out infinite; }
.tag-two { animation-delay: 1.2s; }
.scroll-cue {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.75);
  font-weight: 700;
}
.scroll-cue span {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.42);
  border-radius: 999px;
  position: relative;
}
.scroll-cue span:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scrollDot 1.7s ease-in-out infinite;
}
.media-marquee {
  background: #111;
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 16px 0;
  animation: marqueeMove 28s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span:after {
  content: "•";
  color: var(--jdi-red);
  margin-left: 22px;
}
.showcase-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
}
.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--jdi-shadow);
  min-height: 560px;
}
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-panel-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  background: rgba(18,18,18,.72);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  color: #fff;
  padding: 20px;
}
.image-panel-caption h3 { margin: 8px 0 0; font-size: 1.5rem; letter-spacing: -.03em; }
.split-content h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -.06em; margin: 12px 0 14px; }
.split-content p { color: var(--jdi-muted); font-size: 1.04rem; }
.modern-list { margin-top: 24px; }
.counter-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.counter-box {
  background: #fff;
  border: 1px solid var(--jdi-border);
  border-radius: 24px;
  padding: 22px 18px;
}
.counter-box strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.05em;
}
.counter-box span { color: var(--jdi-muted); font-size: .92rem; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}
.spotlight-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.spot-card {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--jdi-border);
  box-shadow: 0 16px 36px rgba(23, 23, 23, 0.08);
}
.spot-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.spot-copy { padding: 24px; }
.spot-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--jdi-red);
  font-weight: 900;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.spot-copy h3 { font-size: 1.42rem; letter-spacing: -.04em; margin: 14px 0 10px; }
.spot-copy p { color: var(--jdi-muted); }
.footer-custom-logo img { max-height: 46px; width: auto; }
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #29a71a, #25D366);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 1000;
  box-shadow: 0 16px 36px rgba(37, 211, 102, .28);
  z-index: 9999;
}
.whatsapp-float:hover { transform: translateY(-3px); }

@media (max-width: 1100px) {
  .hero-grid,
  .showcase-split,
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .spotlight-grid,
  .jdi-grid.four,
  .jdi-grid.three,
  .counter-grid,
  .trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-head-row { flex-direction: column; align-items: start; }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 780px) {
  .primary-nav {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--jdi-border);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 18px 45px rgba(0,0,0,.09);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: inline-block; }
  .header-actions { display: none; }
  .spotlight-grid,
  .jdi-grid.two,
  .jdi-grid.three,
  .jdi-grid.four,
  .counter-grid,
  .hero-stats,
  .trust-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-grid { padding: 70px 0 60px; gap: 34px; }
  .hero h1 { font-size: clamp(2.4rem, 13vw, 4rem); }
  .jdi-section { padding: 68px 0; }
  .cta-panel { padding: 34px 26px; border-radius: 28px; }
  .image-panel { min-height: 380px; }
  .marquee-track { animation-duration: 22s; }
}

/* --- Version 1.3 premium polish and About page upgrade --- */
@keyframes jdiAuroraDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(18px,-14px,0) scale(1.04); }
}
@keyframes jdiGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes jdiFloatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes jdiWhatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45), 0 18px 42px rgba(37, 211, 102, .30); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 18px 42px rgba(37, 211, 102, .30); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 18px 42px rgba(37, 211, 102, .30); }
}
@keyframes jdiSpinSoft {
  to { transform: rotate(360deg); }
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(215, 25, 32, .055), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(111, 13, 18, .045), transparent 26%),
    #fff;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(215,25,32,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,25,32,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 12%, rgba(0,0,0,.55), transparent 62%);
}
.site-header { transition: box-shadow .25s ease, background .25s ease, transform .25s ease; }
.site-header:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--jdi-red), #ffb3b7, var(--jdi-red), transparent);
  background-size: 220% 100%;
  opacity: .82;
  animation: jdiGradientFlow 5.5s linear infinite;
}
.primary-nav a {
  position: relative;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}
.primary-nav a:hover { transform: translateY(-1px); }
.primary-nav a:after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
  opacity: .35;
}
.primary-nav a:hover:after,
.primary-nav .current-menu-item > a:after,
.primary-nav .current_page_item > a:after { transform: scaleX(1); }
.brand-mark,
.category-icon,
.trust-icon,
.process-num {
  position: relative;
  overflow: hidden;
}
.brand-mark:after,
.category-icon:after,
.trust-icon:after,
.process-num:after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.32), transparent 65%);
  transform: translateX(-80%) rotate(12deg);
  transition: transform .75s ease;
}
.brand-mark:hover:after,
.category-card:hover .category-icon:after,
.trust-item:hover .trust-icon:after,
.process-card:hover .process-num:after { transform: translateX(80%) rotate(12deg); }
.jdi-card,
.spot-card,
.counter-box,
.about-stat,
.about-value-card,
.about-timeline-item,
.about-editor-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.jdi-card:hover,
.counter-box:hover,
.about-stat:hover,
.about-value-card:hover,
.about-timeline-item:hover,
.about-editor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(23,23,23,.10);
  border-color: rgba(215,25,32,.20);
}
.image-panel img,
.spot-card img,
.about-image-card img,
.about-story-card img { transition: transform .55s ease, filter .55s ease; }
.image-panel:hover img,
.spot-card:hover img,
.about-image-card:hover img,
.about-story-card:hover img { transform: scale(1.045); filter: saturate(1.08) contrast(1.03); }
.hero:after { animation: jdiFloatSlow 8s ease-in-out infinite; }
.feature-band,
.cta-panel,
.about-hero {
  background-size: 160% 160%;
}
.cta-panel { position: relative; isolation: isolate; }
.cta-panel:before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%);
  animation: jdiAuroraDrift 7s ease-in-out infinite;
  z-index: -1;
}
.jdi-btn { will-change: transform; }
.jdi-btn:hover { box-shadow: 0 18px 38px rgba(23,23,23,.10); }
.reveal { will-change: transform, opacity; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal.is-visible { animation: none; }

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 12%, rgba(215,25,32,.16), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(215,25,32,.08), transparent 26%),
    linear-gradient(180deg, #fff, #fff7f7 78%, #fff);
}
.page-hero:before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -170px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,25,32,.16), transparent 64%);
  animation: jdiAuroraDrift 8s ease-in-out infinite;
}
.page-hero .jdi-container { position: relative; z-index: 1; }

.about-hero {
  padding: 90px 0 80px;
  border-bottom: 0;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 58px;
  align-items: center;
}
.about-hero h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  color: #121212;
}
.about-hero .jdi-lead { font-size: 1.14rem; }
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.about-visual-wrap {
  position: relative;
  min-height: 560px;
  perspective: 1100px;
}
.about-image-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 40px;
  background: #111;
  box-shadow: 0 34px 80px rgba(23,23,23,.18);
  transform: rotate(1.2deg);
}
.about-image-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0,0,0,.72));
  z-index: 1;
}
.about-image-card:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 30px;
  z-index: 2;
  pointer-events: none;
}
.about-image-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.about-image-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(14px);
  padding: 14px 16px;
  border-radius: 999px;
}
.about-image-badge strong {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--jdi-red);
  color: #fff;
  letter-spacing: -.06em;
}
.about-image-badge span { color: rgba(255,255,255,.82); font-weight: 800; }
.about-float-card {
  position: absolute;
  z-index: 4;
  max-width: 235px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 22px 55px rgba(23,23,23,.14);
  backdrop-filter: blur(16px);
  animation: jdiFloatSlow 5.5s ease-in-out infinite;
}
.about-float-card strong { display: block; letter-spacing: -.03em; }
.about-float-card span { color: var(--jdi-muted); font-size: .9rem; }
.about-float-one { top: 42px; right: -8px; }
.about-float-two { left: -18px; bottom: 78px; animation-delay: 1.2s; }
.about-stats-strip {
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-stats-strip:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 40%, rgba(215,25,32,.28), transparent 26%),
    linear-gradient(90deg, rgba(255,255,255,.04), transparent);
}
.about-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 26px 22px;
}
.about-stat {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.about-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.06em;
}
.about-stat span { color: rgba(255,255,255,.68); font-weight: 700; }
.about-story-section { position: relative; overflow: hidden; }
.about-story-card {
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  border: 1px solid var(--jdi-border);
  box-shadow: var(--jdi-shadow);
}
.about-story-card img {
  height: 340px;
  width: 100%;
  object-fit: cover;
}
.about-story-card > div { padding: 26px; }
.about-story-card h3 { font-size: 1.5rem; letter-spacing: -.04em; margin: 14px 0 10px; }
.about-story-card p { color: var(--jdi-muted); }
.about-check-list { display: grid; gap: 14px; margin-top: 28px; }
.about-check-list div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--jdi-border);
  border-radius: 20px;
  background: #fff;
  font-weight: 750;
}
.about-check-list span {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff1f2;
  color: var(--jdi-red);
  font-weight: 1000;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.about-value-card { padding: 28px; position: relative; overflow: hidden; }
.about-value-card:before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -45px;
  top: -45px;
  border-radius: 50%;
  background: #fff1f2;
}
.about-value-card > * { position: relative; z-index: 1; }
.about-value-card h3 { margin: 0 0 10px; font-size: 1.28rem; letter-spacing: -.03em; }
.about-value-card p { color: var(--jdi-muted); }
.about-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 34px;
}
.about-timeline:before {
  content: "";
  position: absolute;
  left: 29px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(var(--jdi-red), rgba(215,25,32,.1));
}
.about-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--jdi-border);
  border-radius: 26px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 28px rgba(23,23,23,.055);
}
.about-timeline-item > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--jdi-red), var(--jdi-red-deep));
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 14px 30px rgba(215,25,32,.22);
}
.about-timeline-item h3 { margin: 3px 0 6px; letter-spacing: -.03em; }
.about-timeline-item p { color: var(--jdi-muted); margin: 0; }
.about-editor-card {
  max-width: 930px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 32px;
  border: 1px solid var(--jdi-border);
  background: #fff;
  box-shadow: var(--jdi-shadow);
  font-size: 1.05rem;
}
.about-editor-card h2,
.about-editor-card h3 { letter-spacing: -.04em; line-height: 1.1; }
.about-editor-card a { color: var(--jdi-red); text-decoration: underline; text-underline-offset: 3px; }
.about-cta-panel { margin-top: 0; }

.whatsapp-float {
  width: 66px;
  height: 66px;
  transition: transform .25s ease, filter .25s ease;
  animation: jdiWhatsappPulse 2.4s ease-in-out infinite;
}
.whatsapp-float span:not(.whatsapp-tooltip) {
  font-size: .9rem;
  letter-spacing: -.02em;
}
.whatsapp-float:before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.42);
}
.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  color: #111;
  background: #fff;
  border: 1px solid var(--jdi-border);
  box-shadow: 0 16px 38px rgba(23,23,23,.12);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: .82rem;
  font-weight: 900;
  transition: opacity .22s ease, transform .22s ease;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); filter: saturate(1.08); }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (max-width: 1100px) {
  .about-hero-grid,
  .about-values-grid { grid-template-columns: 1fr; }
  .about-visual-wrap { min-height: 500px; }
  .about-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .about-hero { padding: 62px 0 56px; }
  .about-visual-wrap { min-height: auto; }
  .about-image-card,
  .about-image-card img { min-height: 390px; }
  .about-image-card { border-radius: 30px; transform: none; }
  .about-float-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin-top: 14px; max-width: none; animation: none; }
  .about-stats-grid { grid-template-columns: 1fr; }
  .about-timeline:before { display: none; }
  .about-timeline-item { grid-template-columns: 1fr; }
  .about-editor-card { padding: 26px; border-radius: 26px; }
  .whatsapp-tooltip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
.jdi-btn:before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--jdi-pointer-x, 50%) var(--jdi-pointer-y, 50%), rgba(255,255,255,.24), transparent 34%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.jdi-btn:hover:before { opacity: 1; }
.jdi-btn { isolation: isolate; }
.category-card.is-hovered:after,
.process-card.is-hovered:after,
.spot-card.is-hovered:after,
.about-value-card.is-hovered:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 24% 0%, rgba(215,25,32,.10), transparent 36%);
  pointer-events: none;
}
.spot-card,
.process-card { position: relative; overflow: hidden; }
