:root {
  --bg: #f0f0f0;
  --accent: #E8590C;
  --orange: #E8590C;
  --radius: 22px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: #111;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.v2-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV (mirrors index.html v2-nav) ── */
.v2-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 16px; pointer-events: none; transition: padding 0.35s ease, top 0.35s ease; }
.v2-nav-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 12px 24px; background: var(--bg, #f0f0f0); border: 1px solid transparent; border-radius: 0; box-shadow: none; pointer-events: auto; transition: max-width 0.35s ease, padding 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease; }
.v2-nav.scrolled { padding: 12px 16px; }
.v2-nav.scrolled .v2-nav-inner { max-width: 1180px; padding: 8px 8px 8px 20px; background: #ffffff; border-radius: 999px; border-color: rgba(0,0,0,0.08); box-shadow: 0 10px 32px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06); }
.v2-nav-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; padding-right: 6px; margin-right: auto; }
.v2-nav-logo img { width: 32px; height: 32px; border-radius: 6px; }
.v2-nav-logo-text { font-size: 17px; font-weight: 700; color: #111; letter-spacing: -0.2px; }
.v2-nav-links { display: flex; align-items: center; gap: 2px; }
.v2-nav-links a { font-size: 15px; font-weight: 500; color: #444; padding: 8px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.v2-nav-links a:hover { background: rgba(0,0,0,0.05); color: #111; }
.v2-nav-right { flex-shrink: 0; display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.v2-nav-cta { background: var(--accent, #E8590C); color: #fff !important; font-size: 14px; font-weight: 700; padding: 9px 22px; border-radius: 999px; border: 1px solid var(--accent, #E8590C); transition: background 0.2s, border-color 0.2s, transform 0.2s; display: inline-block; }
.v2-nav-cta:hover { background: #c94e0a !important; border-color: #c94e0a; transform: translateY(-1px); }
.v2-hamburger { display: none; flex-direction: column; gap: 5px; padding: 9px; cursor: pointer; border-radius: 999px; transition: background 0.2s; background: transparent; border: none; }
.v2-hamburger:hover { background: rgba(0,0,0,0.05); }
.v2-hamburger span { display: block; width: 20px; height: 2px; background: #111; border-radius: 2px; transition: all 0.3s; }
.v2-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v2-hamburger.active span:nth-child(2) { opacity: 0; }
.v2-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.v2-mobile-nav { position: fixed; top: 76px; left: 16px; right: 16px; z-index: 999; pointer-events: none; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease, top 0.35s ease; }
.v2-nav.scrolled ~ .v2-mobile-nav { top: 88px; }
.v2-mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.v2-mobile-nav-panel { max-width: 1400px; margin: 0 auto; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 18px; box-shadow: 0 14px 40px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06); padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.v2-mobile-nav-panel a { display: block; font-size: 16px; font-weight: 600; color: #111; padding: 14px 16px; border-radius: 12px; transition: background 0.15s; }
.v2-mobile-nav-panel a:hover { background: #f5f5f5; }
.v2-mobile-nav-panel .v2-nav-cta { margin-top: 8px; text-align: center; color: #fff !important; background: var(--accent, #E8590C); padding: 14px 16px; }

/* ── FADE-IN ── */
.v2-fade { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.v2-fade.visible { opacity: 1; transform: translateY(0); }

/* ── PORTFOLIO INDEX ── */
.pf-main { padding-top: var(--nav-h); }

.pf-hero { padding: 80px 0 40px; text-align: center; }
.pf-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232,89,12,0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.pf-h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.04;
  margin: 0 0 20px;
  color: #111;
}
.pf-sub {
  font-size: 18px;
  line-height: 1.55;
  color: #555;
  max-width: 720px;
  margin: 0 auto 36px;
}
.pf-hero-stats {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  background: #fff;
  border-radius: 999px;
  padding: 14px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.pf-hero-stats > div { display: flex; align-items: baseline; gap: 8px; padding: 0 14px; border-right: 1px solid #eee; }
.pf-hero-stats > div:last-child { border-right: none; }
.pf-hero-stats strong { font-size: 22px; font-weight: 900; color: #111; letter-spacing: -0.5px; }
.pf-hero-stats span { font-size: 13px; color: #666; font-weight: 500; }

.pf-grid-section { padding: 40px 0 80px; }
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pf-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.pf-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.10); }
.pf-card-logo {
  width: 100%;
  height: 140px;
  background: #f7f7f8;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
}
.pf-card-logo img {
  max-height: 92px;
  max-width: 75%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0);
}
.pf-card-info { display: flex; flex-direction: column; padding: 0 6px 4px; }
.pf-card-name { font-size: 19px; font-weight: 800; color: #111; margin: 0 0 4px; letter-spacing: -0.3px; }
.pf-card-meta { font-size: 13px; color: #888; margin: 0 0 14px; font-weight: 500; }
.pf-card-stat {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pf-card-stat::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.pf-card-cta {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.55;
  transition: opacity 0.3s ease, gap 0.3s ease;
  margin-top: auto;
}
.pf-card:hover .pf-card-cta { opacity: 1; gap: 10px; }

.pf-cta-section { padding: 80px 0 100px; text-align: center; }
.pf-cta-h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 900; letter-spacing: -1px; margin: 0 0 12px; color: #111; }
.pf-cta-sub { font-size: 17px; color: #555; margin: 0 0 28px; }
.pf-cta-btn { font-size: 15px; padding: 14px 32px; }

/* ── CASE STUDY DETAIL ── */
.cs-main { padding-top: var(--nav-h); }

.cs-hero { padding: 60px 0 40px; }
.cs-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 28px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  transition: background 0.2s, color 0.2s;
}
.cs-back:hover { background: rgba(0,0,0,0.08); color: #111; }
.cs-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cs-h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 14px 0 10px;
  color: #111;
}
.cs-meta { font-size: 15px; color: #888; font-weight: 600; margin: 0 0 22px; }
.cs-summary { font-size: 18px; line-height: 1.55; color: #333; margin: 0 0 30px; max-width: 580px; }
.cs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cs-secondary-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  color: #111;
  transition: background 0.2s, border-color 0.2s;
}
.cs-secondary-btn:hover { background: #fff; border-color: #111; }
.cs-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--orange);
  color: var(--orange);
  background: rgba(232, 89, 12, 0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cs-phone-btn:hover { background: var(--orange); color: #fff; transform: translateY(-1px); }
.cs-phone-btn span { font-size: 15px; line-height: 1; }

.cs-hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.cs-logo-wrap {
  width: 100%;
  height: 140px;
  background: #f7f7f8;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.cs-logo-wrap img { max-height: 96px; max-width: 80%; object-fit: contain; filter: brightness(0); }
.cs-headline-stat {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.cs-results-section { padding: 40px 0 70px; }
.cs-section-h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 22px;
}
.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cs-result {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
}
.cs-result-num {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 10px;
}
.cs-result-label { font-size: 14px; font-weight: 600; color: #555; line-height: 1.4; }

.cs-body-section { padding: 40px 0 80px; }
.cs-body-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.cs-story-block { margin-bottom: 32px; }
.cs-story-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}
.cs-story-body { font-size: 17px; line-height: 1.7; color: #333; margin: 0; }

.cs-screenshot {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.cs-screenshot img { width: 100%; height: auto; display: block; }

.cs-proof {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}
.cs-proof img { width: 100%; height: auto; display: block; }
.cs-proof figcaption {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  background: #fff;
  padding: 14px 18px;
  line-height: 1.5;
  border-top: 1px solid #eee;
}

.cs-services {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.cs-services-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 16px;
}
.cs-services-list { list-style: none; padding: 0; margin: 0 0 24px; }
.cs-services-list li {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-services-list li:last-child { border-bottom: none; }
.cs-services-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(232, 89, 12, 0.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8590C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px 14px no-repeat;
}
.cs-services-cta { display: block; text-align: center; font-size: 14px; }
.cs-logo-fallback {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.cs-testimonial { padding: 80px 0; background: #111; color: #fff; }
.cs-testimonial-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}
.cs-quote-mark {
  font-size: 88px;
  line-height: 1;
  color: var(--orange);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  margin: -10px 0 0;
  flex-shrink: 0;
  user-select: none;
}
.cs-testimonial-body { display: flex; flex-direction: column; gap: 20px; }
.cs-quote {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.55;
  font-weight: 500;
  margin: 0;
  color: #fff;
  text-wrap: pretty;
  hyphens: auto;
}
.cs-attrib {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  font-weight: 500;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cs-attrib strong { color: #fff; font-weight: 700; }
@media (max-width: 640px) {
  .cs-testimonial-inner { grid-template-columns: 1fr; gap: 16px; padding: 0 20px; }
  .cs-quote-mark { font-size: 64px; margin: 0; }
}

.cs-cta-section { padding: 80px 0; text-align: center; }
.cs-cta-h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; letter-spacing: -1px; margin: 0 0 12px; color: #111; }
.cs-cta-sub { font-size: 17px; color: #555; margin: 0 0 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

.cs-pager { padding: 40px 0 80px; }
.cs-pager-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.cs-pager-link {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cs-pager-link:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.08); }
.cs-pager-right { text-align: right; align-items: flex-end; }
.cs-pager-dir { font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.1em; }
.cs-pager-name { font-size: 17px; font-weight: 800; color: #111; letter-spacing: -0.3px; }
.cs-pager-all {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  white-space: nowrap;
  transition: background 0.2s;
}
.cs-pager-all:hover { background: rgba(0,0,0,0.08); color: #111; }

/* ── FOOTER ── */
.v2-footer { background: #111; color: rgba(255,255,255,0.6); padding: 48px 0; margin-top: 0; }
.v2-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.v2-footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; font-weight: 800; text-decoration: none; }
.v2-footer-logo img { width: 32px; height: 32px; border-radius: 6px; filter: brightness(0) invert(1); }
.v2-footer-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.v2-footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); padding: 4px 10px; border-radius: 6px; transition: color 0.2s; }
.v2-footer-links a:hover { color: #fff; }
.v2-footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cs-body-grid { grid-template-columns: 1fr; gap: 36px; }
  .cs-services { position: static; }
}
@media (max-width: 768px) {
  .v2-nav-links { display: none; }
  .v2-hamburger { display: flex; margin-left: auto; }
  .pf-hero { padding: 50px 0 30px; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-hero-stats { flex-direction: column; padding: 16px 22px; border-radius: 22px; gap: 6px; }
  .pf-hero-stats > div { border-right: none; border-bottom: 1px solid #eee; padding: 10px 0; justify-content: space-between; width: 100%; }
  .pf-hero-stats > div:last-child { border-bottom: none; }
  .cs-results-grid { grid-template-columns: 1fr; }
  .cs-pager-inner { grid-template-columns: 1fr; }
  .cs-pager-right { text-align: left; align-items: flex-start; }
  .cs-pager-all { justify-self: center; }
  .v2-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Mobile AI Automation accordion */
.v2-mobile-acc { display: flex; flex-direction: column; }
.v2-mobile-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  padding: 14px 16px;
  border-radius: 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.v2-mobile-acc-trigger:hover,
.v2-mobile-acc-trigger:active { background: #f5f5f5; }
.v2-mobile-acc-caret {
  width: 12px;
  height: 12px;
  color: #666;
  transition: transform 0.25s ease;
}
.v2-mobile-acc.open .v2-mobile-acc-caret { transform: rotate(180deg); }
.v2-mobile-acc-panel {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 4px 6px;
}
.v2-mobile-acc.open .v2-mobile-acc-panel { display: flex; }
.v2-mobile-acc-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #888;
  text-transform: uppercase;
  margin: 6px 12px 4px;
}
.v2-mobile-acc-item {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  text-decoration: none;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111 !important;
}
.v2-mobile-acc-item:hover,
.v2-mobile-acc-item:active { background: #f5f5f5 !important; }
.v2-mobile-acc-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.v2-mobile-acc-desc {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  line-height: 1.4;
}
.v2-mobile-acc-feature {
  display: block !important;
  position: relative;
  margin-top: 6px;
  padding: 16px !important;
  border-radius: 14px !important;
  overflow: hidden;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.78)), url('/ai-dropdown-bg.webp');
  background-size: cover;
  background-position: center;
  color: #fff !important;
  text-decoration: none;
}
.v2-mobile-acc-feature-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.v2-mobile-acc-feature-desc {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
  margin-bottom: 10px;
}
.v2-mobile-acc-feature-btn {
  display: inline-block;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ── NAV DROPDOWN (AI Automation) ── */
.v2-nav-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.v2-nav-dd-trigger {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  padding: 8px 12px 8px 14px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.v2-nav-dd-trigger:hover,
.v2-nav-dd.open .v2-nav-dd-trigger {
  background: rgba(0,0,0,0.05);
  color: #111;
}
.v2-nav-dd-caret {
  width: 10px;
  height: 10px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.v2-nav-dd.open .v2-nav-dd-caret { transform: rotate(180deg); }
.v2-nav-dd-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(780px, 94vw);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.06);
  padding: 20px;
  display: flex;
  align-items: stretch;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0.18s;
  z-index: 1001;
}
.v2-nav-dd.open .v2-nav-dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s;
}
/* invisible hover bridge so cursor can travel from trigger to panel */
.v2-nav-dd-panel::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.v2-nav-dd-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #888;
  text-transform: uppercase;
  margin: 2px 0 -4px 6px;
}
.v2-nav-dd-left {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v2-nav-dd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px 8px;
  align-content: start;
}
.v2-nav-dd-item {
  display: block;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.v2-nav-dd-item:hover { background: #f5f5f5; }
.v2-nav-dd-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
  letter-spacing: -0.1px;
}
.v2-nav-dd-item-desc {
  font-size: 12.5px;
  color: #666;
  line-height: 1.45;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
}
.v2-nav-dd-feature {
  flex: 0 0 220px;
  position: relative;
  border-radius: 16px !important;
  overflow: hidden;
  min-height: 320px;
  background-image: url('/ai-dropdown-bg.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: #fff;
  text-decoration: none;
}
.v2-nav-dd-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.35) 100%);
}
.v2-nav-dd-feature > * { position: relative; z-index: 1; }
.v2-nav-dd-feature-top { display: block; }
.v2-nav-dd-feature-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.v2-nav-dd-feature-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  max-width: 100%;
  overflow-wrap: break-word;
}
.v2-nav-dd-feature-btn {
  align-self: flex-start;
  background: #fff;
  color: #111 !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.v2-nav-dd-feature:hover .v2-nav-dd-feature-btn,
.v2-nav-dd-feature-btn:hover {
  background: var(--orange, #E8590C);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(232,89,12,0.45);
}
@media (max-width: 900px) {
  .v2-nav-dd { display: none; }
}
