/* ==========================================================================
   JODEVIA — Design System
   Palette derived from logo: electric blue → magenta gradient, near-black base
   Signature motif: the pentagon from the "O" in the logo, used as a
   recurring frame for icons, images and stat markers.
   ========================================================================== */

:root {
  /* Brand core (sampled from logo) */
  --jd-blue: #0057FF;
  --jd-violet: #8B2FE0;
  --jd-magenta: #F400FF;
  --jd-lavender: #C77DFF;

  --jd-gradient: linear-gradient(120deg, var(--jd-blue) 0%, var(--jd-violet) 52%, var(--jd-magenta) 100%);
  --jd-gradient-soft: linear-gradient(120deg, rgba(0,87,255,.16) 0%, rgba(139,47,224,.16) 52%, rgba(244,0,255,.16) 100%);

  /* Surface */
  --bg-0: #060608;
  --bg-1: #0B0B10;
  --bg-2: #101017;
  --bg-3: #16161f;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);

  /* Text */
  --text-0: #F6F6F9;
  --text-1: #C7C7D4;
  --text-2: #8B8B9B;
  --text-3: #5D5D6C;

  /* Type */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-0);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--jd-magenta); color: #fff; }

:focus-visible {
  outline: 2px solid var(--jd-lavender);
  outline-offset: 3px;
  border-radius: 4px;
}

.container-xl { max-width: 1280px; }

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jd-lavender);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--jd-magenta);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.mx-auto { margin-left: auto; margin-right: auto; text-align: center; }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  line-height: 1.15;
}

.section-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-top: 16px;
}

.text-gradient {
  background: var(--jd-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.py-section { padding-top: 128px; padding-bottom: 128px; }
@media (max-width: 767.98px) {
  .py-section { padding-top: 84px; padding-bottom: 84px; }
}

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   Pentagon signature motif
   ========================================================================== */

.pentagon {
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.pentagon-frame {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.pentagon-frame i { font-size: 26px; color: var(--text-0); position: relative; z-index: 1; }
.pentagon-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--jd-gradient);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-jd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}

.btn-jd-primary {
  background: var(--jd-gradient);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(139,47,224,.55);
}
.btn-jd-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(139,47,224,.75); color: #fff; }

.btn-jd-ghost {
  background: transparent;
  color: var(--text-0);
  border-color: var(--line-strong);
}
.btn-jd-ghost:hover { background: rgba(255,255,255,.06); transform: translateY(-2px); color: var(--text-0); }

.btn-jd-sm { padding: 10px 20px; font-size: .85rem; }

/* ==========================================================================
   Navbar
   ========================================================================== */

.jd-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.jd-navbar.is-scrolled {
  padding: 12px 0;
  background: rgba(6,6,8,.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.jd-brand { display: flex; align-items: center; gap: 10px; }
.jd-brand img { height: 30px; width: auto; }

.jd-nav-link {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-1);
  padding: 8px 16px !important;
  position: relative;
  transition: color .3s var(--ease);
}
.jd-nav-link:hover, .jd-nav-link.active { color: var(--text-0); }
.jd-nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--jd-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.jd-nav-link:hover::after, .jd-nav-link.active::after { transform: scaleX(1); }

.jd-navbar .navbar-toggler { border: 1px solid var(--line-strong); }

.offcanvas-jd {
  background: var(--bg-1);
  color: var(--text-1);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-top: 190px;
  padding-bottom: 120px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(244,0,255,.16), transparent 60%),
    radial-gradient(50% 45% at 12% 15%, rgba(0,87,255,.18), transparent 60%),
    var(--bg-0);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-1);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 7px 16px 7px 8px;
  background: rgba(255,255,255,.03);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--jd-gradient);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  max-width: 780px;
}

.hero-sub {
  max-width: 560px;
  font-size: 1.15rem;
  color: var(--text-2);
  margin-top: 24px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 72px;
  flex-wrap: wrap;
}
.hero-meta .item { border-left: 2px solid var(--line-strong); padding-left: 16px; }
.hero-meta .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-0); font-weight: 700; }
.hero-meta .label { font-size: .8rem; color: var(--text-3); }

/* Hero visual: orbiting facets built from the logo pentagon */
.hero-visual {
  position: relative;
  height: 520px;
}

.hv-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 300px; height: 300px;
  transform: translate(-50%,-50%);
  background: var(--jd-gradient);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  filter: blur(0px);
  opacity: .9;
  animation: floatY 7s ease-in-out infinite;
}
.hv-core::after{
  content:"";
  position:absolute; inset: 14px;
  background: var(--bg-0);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.hv-ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.hv-ring.r1 { width: 380px; height: 380px; animation: spin 26s linear infinite; }
.hv-ring.r2 { width: 460px; height: 460px; border-style: dashed; animation: spin 40s linear infinite reverse; }

.hv-node {
  position: absolute;
  width: 46px; height: 46px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}
.hv-node i { font-size: 18px; color: var(--text-0); }
.hv-node.n1 { top: 6%; left: 8%; animation: floatY 5s ease-in-out infinite; }
.hv-node.n2 { top: 14%; right: 4%; animation: floatY 6s ease-in-out infinite .5s; }
.hv-node.n3 { bottom: 10%; left: 2%; animation: floatY 6.5s ease-in-out infinite 1s; }
.hv-node.n4 { bottom: 4%; right: 14%; animation: floatY 5.5s ease-in-out infinite 1.5s; }
.hv-node.n5 { top: 46%; right: -2%; animation: floatY 7s ease-in-out infinite .8s; }

@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hv-core { animation-name: floatCore; }
@keyframes floatCore { 0%,100% { transform: translate(-50%,-50%) translateY(0) rotate(0deg);} 50% { transform: translate(-50%,-50%) translateY(-14px) rotate(4deg);} }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

@media (max-width: 991.98px) {
  .hero-visual { height: 340px; margin-top: 60px; }
  .hv-core { width: 190px; height: 190px; }
  .hv-ring.r1 { width: 250px; height: 250px; }
  .hv-ring.r2 { width: 310px; height: 310px; }
}

/* ==========================================================================
   Trusted By
   ========================================================================== */

.trusted-strip {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.trusted-label {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 32px;
}
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; }
.logo-wall .lw-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-3);
  opacity: .75;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}
.logo-wall .lw-item:hover { opacity: 1; color: var(--text-1); }

.stat-block { text-align: center; padding: 40px 0 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-0);
}
.stat-num .grad { background: var(--jd-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--text-2); font-size: .92rem; margin-top: 6px; }

/* ==========================================================================
   About
   ========================================================================== */

.about-visual {
  position: relative;
  padding: 8px;
}
.about-frame {
  clip-path: polygon(6% 0%, 100% 0%, 100% 88%, 94% 100%, 0% 100%, 0% 12%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 3px;
}
.about-frame-inner {
  clip-path: polygon(6% 0%, 100% 0%, 100% 88%, 94% 100%, 0% 100%, 0% 12%);
  background: var(--jd-gradient-soft);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-frame-inner .glyph {
  width: 55%;
  opacity: .9;
}

.value-list { margin-top: 8px; }
.value-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.value-item:first-child { padding-top: 0; }
.value-item .num {
  font-family: var(--font-display);
  font-size: .85rem;
  color: var(--jd-lavender);
  min-width: 30px;
  padding-top: 4px;
}
.value-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { color: var(--text-2); font-size: .94rem; margin: 0; }

/* ==========================================================================
   Cards (generic surface)
   ========================================================================== */

.jd-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 34px;
  height: 100%;
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
  position: relative;
  overflow: hidden;
}
.jd-card::before {
  content: "";
  position: absolute; inset: -1px;
  background: var(--jd-gradient);
  opacity: 0;
  z-index: 0;
  transition: opacity .45s var(--ease);
}
.jd-card > * { position: relative; z-index: 1; }
.jd-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}
.jd-card:hover::before { opacity: 1; }
.jd-card:hover::after {
  content: "";
  position: absolute; inset: 1px;
  background: var(--bg-2);
  border-radius: calc(var(--r-md) - 1px);
  z-index: 0;
}

/* Service cards */
.service-card .pentagon-frame { margin-bottom: 26px; }
.service-card:hover .pentagon-frame::before { opacity: 1; }
.service-card:hover .pentagon-frame i { color: #fff; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--text-2); font-size: .92rem; margin-bottom: 0; }
.service-card .tag-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-card .tag {
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  color: var(--text-3);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */

.why-item { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.why-item:first-child { padding-top: 0; }
.why-item .icon-wrap {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
}
.why-item .icon-wrap i { font-size: 20px; background: var(--jd-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { color: var(--text-2); font-size: .92rem; margin: 0; }

.why-visual {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 44px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.why-visual::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  background: var(--jd-gradient);
  opacity: .12;
  filter: blur(60px);
  top: -140px; right: -140px;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}
.why-visual .mini-stat { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.why-visual .mini-stat:last-child { border-bottom: 0; }
.why-visual .mini-stat .k { font-family: var(--font-display); font-weight: 600; color: var(--text-0); }
.why-visual .mini-stat .v { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }

/* ==========================================================================
   Process Timeline
   ========================================================================== */

.process-track {
  position: relative;
  padding-left: 0;
}
.process-line {
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--jd-blue), var(--jd-violet), var(--jd-magenta));
  opacity: .35;
}
@media (max-width: 767.98px) { .process-line { left: 23px; } }

.process-step {
  position: relative;
  display: flex;
  gap: 28px;
  padding-bottom: 52px;
}
.process-step:last-child { padding-bottom: 0; }
.process-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-1);
  position: relative;
  z-index: 1;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
@media (max-width: 767.98px) { .process-num { width: 46px; height: 46px; font-size: .85rem; } }
.process-step.is-active .process-num,
.process-step:hover .process-num {
  background: var(--jd-gradient);
  color: #fff;
  border-color: transparent;
}
.process-content h4 { font-size: 1.1rem; margin-bottom: 8px; }
.process-content p { color: var(--text-2); font-size: .93rem; margin: 0; max-width: 520px; }

/* ==========================================================================
   Technologies
   ========================================================================== */

.tech-group-title {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.tech-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg-2);
  font-size: .88rem;
  color: var(--text-1);
  transition: border-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.tech-pill i { font-size: 16px; color: var(--jd-lavender); }
.tech-pill:hover { border-color: var(--jd-lavender); transform: translateY(-3px); color: var(--text-0); }

/* ==========================================================================
   Projects
   ========================================================================== */

.project-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  height: 100%;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.project-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.project-thumb {
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-thumb .glyph-bg {
  width: 46%;
  opacity: .85;
  transition: transform .6s var(--ease);
}
.project-card:hover .glyph-bg { transform: scale(1.08) rotate(4deg); }
.project-tags { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 2; }
.project-tags span {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(6,6,8,.65);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  padding: 5px 10px;
  border-radius: 100px;
  color: var(--text-0);
}
.project-body { padding: 26px 28px 28px; }
.project-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.project-body p { color: var(--text-2); font-size: .9rem; margin-bottom: 18px; }
.project-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--text-0); }
.project-link i { transition: transform .3s var(--ease); }
.project-card:hover .project-link i { transform: translateX(4px); }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testi-wrap { position: relative; max-width: 820px; margin: 0 auto; }
.testi-slide {
  display: none;
  text-align: center;
  padding: 8px 8px 0;
}
.testi-slide.active { display: block; animation: fadeUp .6s var(--ease); }
.testi-quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--text-0);
  line-height: 1.5;
  font-weight: 500;
}
.testi-quote::before { content: "\201C"; }
.testi-quote::after { content: "\201D"; }
.testi-person { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--jd-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: .95rem;
}
.testi-name { font-family: var(--font-display); font-weight: 600; color: var(--text-0); font-size: .95rem; }
.testi-role { color: var(--text-3); font-size: .82rem; }

.testi-controls { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  border: 0;
  padding: 0;
  transition: background .3s var(--ease), transform .3s var(--ease), width .3s var(--ease);
}
.testi-dot.active { background: var(--jd-gradient); width: 26px; border-radius: 100px; }

.testi-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-0);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.testi-arrow:hover { border-color: var(--jd-lavender); }
.testi-arrow.prev { left: -64px; }
.testi-arrow.next { right: -64px; }
@media (max-width: 991.98px) {
  .testi-arrow { position: static; transform: none; }
  .testi-arrows-row { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   FAQ
   ========================================================================== */

.jd-accordion .accordion-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
}
.jd-accordion .accordion-button {
  background: transparent;
  color: var(--text-0);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 22px 26px;
  box-shadow: none !important;
}
.jd-accordion .accordion-button::after {
  filter: invert(1) brightness(2);
}
.jd-accordion .accordion-button:not(.collapsed) {
  background: rgba(255,255,255,.03);
  color: var(--text-0);
}
.jd-accordion .accordion-body { color: var(--text-2); padding: 0 26px 24px; font-size: .94rem; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px;
}
@media (max-width: 767.98px) { .contact-panel { padding: 28px; } }

.form-control-jd {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  color: var(--text-0);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-size: .93rem;
}
.form-control-jd:focus {
  background: var(--bg-1);
  border-color: var(--jd-lavender);
  color: var(--text-0);
  box-shadow: 0 0 0 4px rgba(199,125,255,.15);
}
.form-control-jd::placeholder { color: var(--text-3); }
label.form-label-jd { font-size: .82rem; color: var(--text-2); margin-bottom: 8px; font-family: var(--font-display); }

.contact-info-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info-item:first-child { padding-top: 0; }
.contact-info-item .icon-wrap {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}
.contact-info-item .icon-wrap i { color: var(--jd-lavender); font-size: 17px; }
.contact-info-item h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-2); font-size: .9rem; margin: 0; }

.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-row a {
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-1);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.social-row a:hover { background: var(--jd-gradient); border-color: transparent; color: #fff; transform: translateY(-3px); }

.map-frame {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 100%;
  min-height: 220px;
  position: relative;
  background: var(--bg-2);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 220px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  border-radius: var(--r-lg);
  padding: 72px 56px;
  background: var(--jd-gradient);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 14px; max-width: 520px; }
.cta-band .btn-jd-primary { background: #fff; color: #0B0B10; box-shadow: none; }
.cta-band .btn-jd-primary:hover { background: #fff; color: #0B0B10; transform: translateY(-2px); }
.cta-band .btn-jd-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn-jd-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.cta-band::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  top: -160px; right: -80px;
}
@media (max-width: 767.98px) { .cta-band { padding: 48px 28px; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.jd-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 88px 0 0;
}
.footer-brand img { height: 30px; }
.footer-brand p { color: var(--text-2); margin-top: 20px; max-width: 300px; font-size: .92rem; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 13px; }
.footer-col a { color: var(--text-2); font-size: .92rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--text-0); }
.footer-bottom {
  margin-top: 64px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .84rem;
  color: var(--text-3);
}

/* ==========================================================================
   Scroll reveal utility
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--jd-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 999;
  box-shadow: 0 8px 24px -8px rgba(139,47,224,.6);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Preloader */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg-0);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; }
.preload-pentagon {
  width: 46px; height: 46px;
  background: var(--jd-gradient);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: pulse 1.1s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.8); opacity: .6; } }

/* Toast */
.jd-toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  color: var(--text-0);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.jd-toast.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.jd-toast i { color: var(--jd-lavender); }

/* Utility */
.text-muted-jd { color: var(--text-2) !important; }


.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
  color: white;
}