@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --dv-primary: #7C3AED;
  --dv-primary-dark: #5B21B6;
  --dv-primary-mid: #6D28D9;
  --dv-primary-light: #A78BFA;
  --dv-primary-pale: #EDE9FE;
  --dv-navy: #1E1B4B;
  --dv-bg: #FFFFFF;
  --dv-bg-soft: #F8F7FC;
  --dv-bg-muted: #F1F0F8;
  --dv-text: #1F2937;
  --dv-text-muted: #6B7280;
  --dv-white: #FFFFFF;
  --dv-border: #E8E6F0;
  --dv-radius: 16px;
  --dv-radius-sm: 10px;
  --dv-shadow: 0 8px 32px rgba(91, 33, 182, 0.1);
  --dv-shadow-lg: 0 20px 50px rgba(30, 27, 75, 0.12);
  --dv-container: 1240px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dv-text);
  line-height: 1.65;
  background: var(--dv-bg);
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
}
body.modal-open, body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dv-primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--dv-primary-dark); }
.container { max-width: var(--dv-container); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.centered { margin-left: auto; margin-right: auto; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-row { transform: translateX(32px); }
.reveal-row.visible { transform: translateX(0); }

/* Header — primary navigation bar */
.site-header {
  background: var(--dv-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--dv-border);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}
/* Homepage: transparent over hero, solid on scroll */
.page-has-hero .site-header--hero {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.page-has-hero .site-header--hero.is-scrolled,
.page-has-hero.nav-open .site-header--hero {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--dv-border);
  backdrop-filter: blur(12px);
}
.page-has-hero .site-header--hero.is-scrolled .nav-item:hover {
  background: var(--dv-primary-pale);
}
/* Transparent header over hero — white text on banner */
.page-has-hero .site-header--hero:not(.is-scrolled):not(.nav-open) .logo-text,
.page-has-hero .site-header--hero:not(.is-scrolled):not(.nav-open) .logo-accent {
  color: var(--dv-white);
}
.page-has-hero .site-header--hero:not(.is-scrolled):not(.nav-open) .nav-item {
  color: rgba(255, 255, 255, 0.95);
}
.page-has-hero .site-header--hero:not(.is-scrolled):not(.nav-open) .nav-item:hover {
  color: var(--dv-white);
  background: rgba(255, 255, 255, 0.12);
}
.page-has-hero .site-header--hero:not(.is-scrolled):not(.nav-open) .btn-query {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--dv-white);
}
.page-has-hero .site-header--hero:not(.is-scrolled):not(.nav-open) .btn-query:hover {
  background: var(--dv-white);
  color: var(--dv-primary-dark);
  border-color: var(--dv-white);
}
.page-has-hero .site-header--hero:not(.is-scrolled):not(.nav-open) .nav-trigger {
  color: var(--dv-white);
}
.page-has-hero.nav-open .nav-trigger {
  color: var(--dv-navy);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.logo { flex-shrink: 0; z-index: 2; }
.logo-text {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dv-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-accent { color: var(--dv-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex-wrap: nowrap;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.header-actions { flex-shrink: 0; margin-left: auto; z-index: 2; }
.mobile-nav-panel { display: none; }
.nav-links-mobile { list-style: none; }
.nav-dd { position: relative; }
.nav-item {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  color: var(--dv-primary-mid);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-item:hover { color: var(--dv-primary-dark); background: var(--dv-primary-pale); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: var(--dv-white);
  border-radius: var(--dv-radius-sm);
  box-shadow: var(--dv-shadow-lg);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 200;
}
.nav-dd:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dv-border);
}
.nav-dropdown-head span {
  font-weight: 700;
  color: var(--dv-primary);
  font-size: 0.95rem;
}
.nav-dropdown ul { list-style: none; }
.nav-dropdown li { margin-bottom: 4px; }
.nav-dropdown a {
  display: block;
  padding: 7px 0;
  color: var(--dv-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-dropdown a:hover { color: var(--dv-primary); padding-left: 4px; }
.nav-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  z-index: 2;
  color: var(--dv-navy);
  border-radius: 50%;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-trigger:hover {
  background: var(--dv-primary-pale);
}
.page-has-hero .site-header--hero:not(.is-scrolled):not(.nav-open) .nav-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
}
.nav-icon { display: block; }
.nav-icon-close { display: none; }
.nav-trigger.open .nav-icon-menu { display: none; }
.nav-trigger.open .nav-icon-close { display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: inherit;
  line-height: 1;
}
.btn-query {
  background: var(--dv-white);
  color: var(--dv-primary);
  border-color: var(--dv-primary);
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn-query:hover { background: var(--dv-primary); color: var(--dv-white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.3); }
.btn-primary { background: var(--dv-primary); color: var(--dv-white); border-color: var(--dv-primary); }
.btn-primary:hover { background: var(--dv-primary-dark); border-color: var(--dv-primary-dark); color: var(--dv-white); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--dv-primary); color: var(--dv-primary); }
.btn-outline:hover { background: var(--dv-primary); color: var(--dv-white); }
.btn-white { background: var(--dv-white); color: var(--dv-primary); }
.btn-white:hover { background: var(--dv-primary-pale); }
.btn-ghost-white { background: transparent; border: 2px solid rgba(255,255,255,0.8); color: var(--dv-white); }
.btn-ghost-white:hover { background: var(--dv-white); color: var(--dv-primary-dark); }

/* Query modal */
.query-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.query-modal.open { opacity: 1; visibility: visible; }
.query-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 26, 0.65);
  backdrop-filter: blur(4px);
}
.query-modal-dialog {
  position: relative;
  background: var(--dv-white);
  border-radius: var(--dv-radius);
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--dv-shadow-lg);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s var(--ease);
}
.query-modal.open .query-modal-dialog { transform: scale(1) translateY(0); }
.query-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--dv-primary-pale);
  color: var(--dv-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.query-modal-eyebrow { font-size: 0.9rem; color: var(--dv-text-muted); margin-bottom: 4px; }
.query-modal-heading { font-size: 1.5rem; font-weight: 800; color: var(--dv-navy); margin-bottom: 24px; }
.query-modal-form .form-control { background: var(--dv-bg-muted); border: none; margin-bottom: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.query-modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-phone { font-size: 0.85rem; padding: 12px 18px; }

/* Hero — split banner: solid bg, copy left, image right, angled footer */
.hero-home--banner {
  position: relative;
  background: linear-gradient(125deg, #5B21B6 0%, #7C3AED 42%, #6D28D9 100%);
  min-height: clamp(520px, 88vh, 760px);
  display: flex;
  align-items: center;
  padding: 120px 0 110px;
  overflow: hidden;
  text-align: left;
}
.hero-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-home-copy {
  max-width: 560px;
}
.hero-home-visual {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: flex-end;
  margin-bottom: -20px;
}
.hero-home-visual img {
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}
.hero-home-angle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(56px, 8vw, 88px);
  background: var(--dv-white);
  clip-path: polygon(0 58%, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
  pointer-events: none;
}
.hero-home--banner .hero-eyebrow {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  margin-bottom: 12px;
}
.hero-home--banner h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--dv-white);
  line-height: 1.15;
  margin: 0 0 20px;
}
.hero-home--banner h1 span {
  display: block;
  color: var(--dv-white);
}
.hero-home--banner .hero-lead {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}
.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dv-primary);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-home:not(.hero-home--banner) h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--dv-navy);
  line-height: 1.12;
  max-width: none;
  margin: 0 0 20px;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--dv-text-muted);
  max-width: 680px;
  margin: 0 0 32px;
}

/* Section titles */
.section { padding: 80px 0; }
.section-alt { background: var(--dv-bg-soft); }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dv-navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.title-accent { color: var(--dv-primary); }
.title-underline { position: relative; display: inline-block; }
.title-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M0 8 Q50 0 100 8 T200 8' stroke='%23A78BFA' stroke-width='3' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section-subtitle {
  color: var(--dv-text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  font-size: 1rem;
}
.section-subtitle.text-center { margin-left: auto; margin-right: auto; }

/* Core service cards */
.section-core { background: var(--dv-white); overflow: visible; }
.section-core .swiper-core {
  overflow: visible;
  padding: 16px 0 20px;
}
.section-core .swiper-slide {
  padding: 12px 4px;
  box-sizing: border-box;
  height: auto;
}
.core-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  padding: 40px 28px;
  border-radius: var(--dv-radius);
  color: var(--dv-white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  height: 100%;
}
.core-card:hover { transform: translateY(-8px); box-shadow: var(--dv-shadow-lg); color: var(--dv-white); }
.core-card.core-a { background: linear-gradient(145deg, #8B5CF6, #7C3AED); }
.core-card.core-b { background: linear-gradient(145deg, #6D28D9, #5B21B6); }
.core-card.core-c { background: linear-gradient(145deg, #7C3AED, #6D28D9); }
.core-card.core-d { background: linear-gradient(145deg, #5B21B6, #4C1D95); }
.core-card-icon { margin-bottom: 24px; width: 72px; height: 72px; object-fit: contain; }
.core-card h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }

/* Stats section */
.section-stats { background: var(--dv-bg-soft); }
.stats-headline {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dv-navy);
  max-width: 700px;
  margin: 0 auto 12px;
  line-height: 1.25;
}
.stats-sub { text-align: center; color: var(--dv-text-muted); margin-bottom: 36px; }
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
  margin-bottom: 48px;
}
.stat-pill {
  padding: 10px 20px;
  border: 2px solid var(--dv-border);
  border-radius: var(--dv-radius-sm);
  font-weight: 700;
  color: var(--dv-navy);
  background: var(--dv-white);
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--dv-navy);
  text-transform: uppercase;
}
.stats-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.stats-copy {
  background: var(--dv-white);
  padding: 32px;
  border-radius: var(--dv-radius);
  box-shadow: var(--dv-shadow);
  border: 1px solid var(--dv-border);
}
.stats-copy p { color: var(--dv-text-muted); font-size: 0.95rem; }
.stats-visual img { border-radius: var(--dv-radius); width: 100%; box-shadow: var(--dv-shadow); }

/* Other services list */
.section-other { background: var(--dv-white); }
.other-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.other-list { display: flex; flex-direction: column; gap: 12px; }
.other-service-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--dv-white);
  border: 1px solid var(--dv-border);
  border-radius: var(--dv-radius-sm);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  color: inherit;
}
.other-service-row:hover {
  border-color: var(--dv-primary-light);
  box-shadow: var(--dv-shadow);
  transform: translateX(4px);
  color: inherit;
}
.other-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dv-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.other-service-icon img { width: 28px; height: 28px; }
.other-service-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.other-service-text strong { color: var(--dv-navy); font-size: 0.95rem; }
.other-service-text span { color: var(--dv-text-muted); font-size: 0.85rem; }
.other-service-arrow { color: var(--dv-primary); font-size: 1.4rem; font-weight: 700; }

/* AI section */
.section-ai { background: var(--dv-bg-soft); }
.ai-intro { max-width: 720px; margin-bottom: 36px; }
.ai-intro p { color: var(--dv-text-muted); margin-top: 12px; }
.ai-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.ai-card {
  border-radius: 20px 20px 0 0;
  padding: 32px 24px;
  min-height: 320px;
  color: var(--dv-white);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease);
}
.ai-card:hover { transform: translateY(-6px); }
.ai-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 16px; }
.ai-card p { font-size: 0.9rem; line-height: 1.6; opacity: 0.95; flex: 1; }
.ai-card.ai-a { background: linear-gradient(180deg, #8B5CF6, #7C3AED); }
.ai-card.ai-b { background: linear-gradient(180deg, #5B21B6, #4C1D95); }
.ai-card.ai-c { background: linear-gradient(180deg, #7C3AED, #6D28D9); }
.ai-card.ai-connect {
  background: linear-gradient(180deg, #1E1B4B, #312E81);
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ai-card.ai-connect h3 { font-size: 1.75rem; margin-bottom: 24px; }

/* Who we assist */
.section-who { background: var(--dv-white); }
.who-card {
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  color: var(--dv-white);
  cursor: pointer;
  transition: transform 0.35s var(--ease);
}
.who-card:hover { transform: scale(1.02); }
.who-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(124,58,237,0.55) 0%, rgba(91,33,182,0.88) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.who-card:hover::before { opacity: 1; }
.who-card-body {
  position: relative;
  z-index: 1;
  padding: 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  width: 100%;
  transition: background 0.35s var(--ease);
}
.who-card:hover .who-card-body {
  background: linear-gradient(transparent, rgba(0,0,0,0.35));
}
.who-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.who-card p { font-size: 0.85rem; opacity: 0.9; line-height: 1.5; }
.who-learn {
  display: inline-block;
  margin-top: 12px;
  color: var(--dv-primary-light);
  font-weight: 600;
  font-size: 0.85rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), color 0.2s;
}
.who-card:hover .who-learn {
  opacity: 1;
  transform: translateY(0);
}
.who-learn:hover { color: var(--dv-white); text-decoration: underline; }

/* Carousel */
.swiper-slide { height: auto; }
.swiper-core,
.swiper-who,
.swiper-testimonials {
  min-height: 120px;
}
.swiper-who,
.swiper-testimonials {
  overflow: hidden;
}
.section-who .swiper-who {
  padding: 8px 0 12px;
  overflow: visible;
}
.section-who .swiper-slide {
  padding: 8px 0;
}
.carousel-nav { display: flex; gap: 10px; margin-top: 28px; justify-content: center; }

/* Desktop only: centered 4-column grid when all slides fit */
@media (min-width: 1100px) {
  .container.has-static-carousel .carousel-nav { display: none; }
  .swiper-core.is-static-grid,
  .swiper-who.is-static-grid {
    overflow: visible;
  }
  .swiper-core.is-static-grid .swiper-wrapper,
  .swiper-who.is-static-grid .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .swiper-core.is-static-grid .swiper-wrapper { gap: 28px; }
  .swiper-who.is-static-grid .swiper-wrapper { gap: 0; }
  .swiper-core.is-static-grid .swiper-slide,
  .swiper-who.is-static-grid .swiper-slide {
    width: auto !important;
    margin-right: 0 !important;
  }
  .section-who .swiper-who.is-static-grid .swiper-slide { padding: 0; }
}

/* Mobile / tablet: single-carousel mode — never use desktop grid */
@media (max-width: 1099px) {
  .section-core,
  .section-who {
    overflow: hidden;
  }
  .section-core .swiper-core,
  .section-who .swiper-who {
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .swiper-core .swiper-wrapper,
  .swiper-who .swiper-wrapper {
    display: flex !important;
    grid-template-columns: unset !important;
    gap: 0 !important;
  }
  .swiper-core .swiper-slide,
  .swiper-who .swiper-slide {
    flex-shrink: 0;
    height: auto;
  }
  .container.has-static-carousel .carousel-nav {
    display: flex;
  }
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--dv-primary);
  background: var(--dv-white);
  color: var(--dv-primary);
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.2s;
}
.carousel-btn:hover { background: var(--dv-primary); color: var(--dv-white); }

/* Cards (generic) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.card {
  background: var(--dv-white);
  border-radius: var(--dv-radius);
  padding: 28px;
  box-shadow: var(--dv-shadow);
  border: 1px solid var(--dv-border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--dv-shadow-lg); }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--dv-navy); }
.card p { font-size: 0.9rem; color: var(--dv-text-muted); }

/* Pills, expandable, accordion */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.pill { padding: 8px 16px; background: var(--dv-primary-pale); color: var(--dv-primary); border-radius: 999px; font-size: 0.85rem; font-weight: 600; }
.expandable { margin-bottom: 16px; padding: 24px; background: var(--dv-bg-soft); border-radius: var(--dv-radius-sm); border: 1px solid var(--dv-border); }
.expand-more { color: var(--dv-primary); font-weight: 700; cursor: pointer; background: none; border: none; font-family: inherit; margin-top: 8px; }
.expand-full { display: none; margin-top: 12px; }
.expand-full.show { display: block; }
.accordion-item { border-bottom: 1px solid var(--dv-border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--dv-navy);
  font-family: inherit;
}
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.accordion-panel.open { max-height: 600px; }
.accordion-panel-inner { padding-bottom: 20px; color: var(--dv-text-muted); }

/* Service page sections */
.section-dark {
  background: linear-gradient(135deg, var(--dv-navy) 0%, #312E81 100%);
  color: rgba(255,255,255,0.9);
}
.section-dark .section-title { color: var(--dv-white); }
.section-dark .ba-col h3 { color: var(--dv-white); }
.section-dark .ba-col li { color: rgba(255,255,255,0.88); }
.hero {
  background: linear-gradient(135deg, var(--dv-navy) 0%, var(--dv-primary-dark) 100%);
  color: var(--dv-white);
  padding: 72px 0;
}
.hero-short { padding: 56px 0; text-align: center; }
.hero-short h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.hero p { opacity: 0.9; max-width: 640px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 1.2rem; color: var(--dv-primary-light); }
.stat-item span { font-size: 0.75rem; opacity: 0.8; text-transform: uppercase; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ba-col ul { list-style: none; }
.ba-col li { padding: 8px 0 8px 24px; position: relative; }
.ba-col li::before { content: '✓'; position: absolute; left: 0; color: var(--dv-primary); font-weight: 700; }
.ba-col.bad li::before { content: '✗'; color: #EF4444; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
.compare-table th, .compare-table td { padding: 14px; border: 1px solid var(--dv-border); }
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 4px;
}
.compare-table th { background: var(--dv-primary-dark); color: var(--dv-white); }
.compare-table td:first-child { font-weight: 600; background: var(--dv-bg-soft); }
.tabs-nav { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-btn { padding: 10px 18px; border: none; background: var(--dv-bg-muted); border-radius: 999px; cursor: pointer; font-weight: 600; font-family: inherit; color: var(--dv-text); transition: all 0.2s; }
.tab-btn.active { background: var(--dv-primary); color: var(--dv-white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { border: 2px solid var(--dv-border); border-radius: var(--dv-radius); padding: 32px; text-align: center; transition: transform 0.25s, border-color 0.25s; }
.pricing-card:hover { transform: translateY(-4px); border-color: var(--dv-primary); }
.pricing-card .price { font-size: 2rem; font-weight: 800; color: var(--dv-primary); margin: 16px 0; }
.testimonial { padding: 28px; background: var(--dv-bg-soft); border-radius: var(--dv-radius); border: 1px solid var(--dv-border); }
.industries-scroll {
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.industries-scroll-inner {
  display: flex;
  width: max-content;
  animation: industry-marquee 40s linear infinite;
}
.industries-scroll:hover .industries-scroll-inner {
  animation-play-state: paused;
}
.industries-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding-right: 12px;
  flex-shrink: 0;
}
.industry-tag {
  padding: 10px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dv-white);
  white-space: nowrap;
}
@keyframes industry-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Forms */
.form-group { margin-bottom: 16px; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--dv-border);
  border-radius: var(--dv-radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--dv-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { outline: none; border-color: var(--dv-primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
textarea.form-control { min-height: 120px; resize: vertical; }
.inline-form { display: flex; gap: 12px; max-width: 520px; flex-wrap: wrap; }
.inline-form .form-control { flex: 1; min-width: 200px; }
.form-status { color: var(--dv-primary); font-weight: 600; margin-top: 12px; font-size: 0.9rem; }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, rgba(91,33,182,0.92), rgba(124,58,237,0.92)), url('../images/site/home-cta-bg.webp') center/cover;
  color: var(--dv-white);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; font-weight: 800; }
.cta-band p { opacity: 0.92; margin-bottom: 28px; }

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--dv-primary-mid), var(--dv-primary-dark));
  color: rgba(255,255,255,0.88);
  padding: 64px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--dv-white); margin-bottom: 16px; }
.footer-logo span { color: var(--dv-primary-light); }
.footer-grid h4 { color: var(--dv-white); margin-bottom: 16px; font-size: 1rem; font-weight: 700; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.8); }
.footer-grid a:hover { color: var(--dv-white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; line-height: 1.5; }
.footer-contact svg { flex-shrink: 0; margin-top: 4px; opacity: 0.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; text-align: center; font-size: 0.875rem; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dv-white);
  transition: background 0.2s, transform 0.2s;
}
.social-icon:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); color: var(--dv-white); }
.social-links-lg .social-icon { width: 48px; height: 48px; background: var(--dv-primary-pale); color: var(--dv-primary); }

/* Contact page */
.contact-page { min-height: calc(100vh - 62px); }
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: calc(100vh - 62px);
}
.contact-panel-left {
  background: linear-gradient(160deg, var(--dv-navy) 0%, #312E81 100%);
  color: var(--dv-white);
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.contact-panel-left h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.contact-panel-left p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 420px;
}
.contact-panel-graphic {
  margin-top: 48px;
  height: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120'%3E%3Cpath d='M20 90 L60 70 L100 80 L140 50 L180 60 L220 40 L260 55 L300 35 L340 50 L380 30' stroke='rgba(255,255,255,0.35)' stroke-width='2' fill='none'/%3E%3Crect x='40' y='55' width='24' height='35' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='1.5'/%3E%3Crect x='80' y='45' width='30' height='45' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='1.5'/%3E%3Crect x='130' y='35' width='36' height='55' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='1.5'/%3E%3Crect x='190' y='50' width='28' height='40' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='1.5'/%3E%3Crect x='240' y='30' width='40' height='60' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='1.5'/%3E%3Crect x='300' y='42' width='32' height='48' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='1.5'/%3E%3C/svg%3E") bottom left/contain no-repeat;
}
.contact-panel-right {
  padding: 56px 64px;
  background: var(--dv-white);
}
.contact-tabs .tab-btn {
  border-radius: var(--dv-radius-sm);
  padding: 12px 20px;
  background: var(--dv-primary);
  color: var(--dv-white);
  font-size: 0.85rem;
}
.contact-tabs .tab-btn.active {
  background: var(--dv-navy);
}
.contact-form .form-control {
  background: var(--dv-bg-muted);
  border: none;
  margin-bottom: 14px;
}
.contact-form .btn-primary { margin-top: 8px; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0));
  bottom: calc(16px + env(safe-area-inset-bottom, 0));
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--dv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  color: var(--dv-white);
}

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-details { list-style: none; margin: 20px 0; }
.contact-details li { margin-bottom: 12px; }
.role-type { color: var(--dv-primary); font-weight: 600; font-size: 0.85rem; }
.article-content { max-width: 800px; }
.seo-block-title { font-size: 1.35rem; font-weight: 800; color: var(--dv-navy); margin: 32px 0 12px; }
.back-link { font-weight: 600; margin-bottom: 16px; display: inline-block; }

/* Blog */
.blog-card { border: 1px solid var(--dv-border); border-radius: var(--dv-radius); overflow: hidden; }

/* Responsive — mobile layouts */
@media (max-width: 1100px) {
  .nav-item { font-size: 0.76rem; padding: 0 8px; }
  .ai-cards { grid-template-columns: repeat(2, 1fr); }
  .ai-card { min-height: 260px; border-radius: var(--dv-radius); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero-home--banner {
    min-height: auto;
    padding: 100px 0 90px;
  }
  .hero-home-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hero-home-copy { max-width: none; margin: 0 auto; }
  .hero-home--banner .hero-lead { margin: 0 auto; }
  .hero-home-visual {
    justify-content: center;
    margin-bottom: 0;
  }
  .hero-home-visual img { max-width: min(100%, 400px); margin: 0 auto; }
  .nav-trigger { display: flex; order: 3; }
  .header-actions { display: none; }
  .nav-links { display: none; }
  .header-inner {
    min-height: 56px;
    padding: 10px 0;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
  }
  .logo { order: 1; }
  .site-header {
    z-index: 1200;
  }
  .mobile-nav-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(15, 10, 26, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 0;
    overflow: hidden;
  }
  .mobile-nav-panel.open {
    display: block;
  }
  .mobile-nav-panel-inner {
    position: absolute;
    top: calc(56px + env(safe-area-inset-top, 0));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dv-white);
    display: flex;
    flex-direction: column;
    padding: 8px 20px calc(24px + env(safe-area-inset-bottom, 0));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 40px rgba(30, 27, 75, 0.12);
  }
  .nav-links-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    list-style: none;
  }
  .nav-links-mobile .nav-item {
    color: var(--dv-navy);
  }
  .nav-dd { width: 100%; border-bottom: 1px solid var(--dv-border); }
  .nav-dd:last-child { border-bottom: none; }
  .nav-item {
    width: 100%;
    justify-content: space-between;
    height: auto;
    padding: 16px 0;
    font-size: 0.95rem;
  }
  .nav-links-mobile .nav-dd > .nav-item::after {
    content: '›';
    font-size: 1.1rem;
    color: var(--dv-primary);
    transition: transform 0.25s;
  }
  .nav-links-mobile .nav-dd.open > .nav-item::after {
    transform: rotate(90deg);
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding: 0 0 12px 8px;
    min-width: auto;
    border: none;
  }
  .nav-dropdown-head { display: none; }
  .nav-dd.open .nav-dropdown { display: block; }
  .nav-dd:hover .nav-dropdown { display: none; }
  .nav-dd.open:hover .nav-dropdown { display: block; }
  .nav-dropdown a {
    padding: 10px 0;
    font-size: 0.9rem;
  }
  .header-actions-mobile { width: 100%; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--dv-border); }
  .header-actions-mobile .btn-query { width: 100%; }
  .stats-split, .other-layout { grid-template-columns: 1fr; gap: 32px; }
  .other-intro { text-align: center; }
  .other-intro .section-subtitle { margin-left: auto; margin-right: auto; }
  .stats-row, .before-after { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-panel-left { padding: 48px 32px; min-height: auto; }
  .contact-panel-right { padding: 40px 24px; }
  .hero { padding: 56px 0; }
  .hero p { max-width: none; }
  .section-title { font-size: clamp(1.5rem, 4vw, 2rem); }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero-home--banner {
    padding: 96px 0 80px;
  }
  .hero-home--banner h1 { font-size: clamp(1.65rem, 6vw, 2.25rem); }
  .hero-home--banner .hero-lead { font-size: 0.95rem; }
  .hero-home-visual img { max-width: min(100%, 340px); }
  .section { padding: 64px 0; }
  .section-subtitle { margin-bottom: 28px; font-size: 0.95rem; }
  .core-card { min-height: 240px; padding: 32px 20px; }
  .section-core .swiper-core { padding: 8px 0 12px; }
  .section-core .swiper-slide { padding: 8px 0; }
  .stats-headline { font-size: clamp(1.35rem, 5vw, 1.75rem); }
  .stat-label {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.4;
  }
  .stats-bar { gap: 12px 16px; }
  .stats-copy { padding: 24px; }
  .other-service-row { padding: 14px 16px; gap: 12px; }
  .other-service-icon { width: 44px; height: 44px; }
  .other-service-text strong { font-size: 0.88rem; }
  .ai-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    grid-template-columns: unset;
  }
  .ai-cards::-webkit-scrollbar { display: none; }
  .ai-card {
    flex: 0 0 min(82vw, 280px);
    scroll-snap-align: start;
    min-height: 280px;
    border-radius: var(--dv-radius);
  }
  .who-card { min-height: 320px; }
  .section-who .swiper-slide { padding: 8px 0; }
  .cta-band { padding: 56px 0; }
  .cta-band h2 { font-size: clamp(1.35rem, 5vw, 1.75rem); }
  .footer-grid { gap: 28px; }
  .site-footer { padding: 48px 0 20px; }
  .query-modal-dialog { padding: 28px 20px 24px; }
  .query-modal-actions { flex-direction: column; }
  .query-modal-actions .btn { width: 100%; }
  .contact-tabs { flex-direction: column; }
  .contact-tabs .tab-btn { width: 100%; text-align: center; }
  .tabs-nav { flex-direction: column; }
  .tabs-nav .tab-btn { width: 100%; text-align: center; }
  .inline-form { flex-direction: column; }
  .inline-form .form-control,
  .inline-form .btn { width: 100%; min-width: 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .accordion-trigger { font-size: 0.95rem; padding: 16px 0; }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 10px; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .logo-text { font-size: 1.35rem; }
  .hero-home--banner {
    padding: 88px 0 72px;
  }
  .hero-home--banner h1 { font-size: 1.5rem; }
  .hero-home--banner .hero-lead { font-size: 0.9rem; }
  .hero-home-visual img { max-width: min(100%, 300px); }
  .core-card { min-height: 220px; padding: 28px 18px; }
  .core-card h3 { font-size: 1.05rem; }
  .who-card { min-height: 280px; }
  .who-card-body { padding: 20px; }
  .cta-band { padding: 48px 0; }
  .cta-band .btn { width: 100%; max-width: 280px; }
  .stats-bar { flex-direction: column; align-items: stretch; }
  .stat-pill { text-align: center; }
  .stat-label { width: 100%; }
  .stats-row { grid-template-columns: 1fr; gap: 12px; }
  .before-after { grid-template-columns: 1fr; gap: 24px; }
  .ai-cards { margin: 0 -16px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact li { font-size: 0.85rem; }
  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
  .query-modal {
    padding: 0;
    align-items: flex-end;
  }
  .query-modal-dialog {
    max-width: 100%;
    border-radius: var(--dv-radius) var(--dv-radius) 0 0;
    max-height: 94svh;
  }
  .btn { padding: 12px 22px; }
  .hero .stats-row { margin-top: 28px; }
  .stat-item strong { font-size: 1rem; }
  .pills { gap: 8px; }
  .pill { font-size: 0.8rem; padding: 6px 12px; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.1rem; }
}
@media (max-width: 639px) {
  /* Fallback if Swiper has not initialized */
  .swiper-core:not(.swiper-initialized) .swiper-wrapper,
  .swiper-who:not(.swiper-initialized) .swiper-wrapper {
    flex-direction: column;
    transform: none !important;
    gap: 16px;
  }
  .swiper-core:not(.swiper-initialized) .swiper-slide,
  .swiper-who:not(.swiper-initialized) .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
  }
}
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .nav-item { font-size: 0.9rem; }
}
/* Touch devices: show who-card CTA without hover */
@media (hover: none) {
  .who-card::before { opacity: 0; }
  .who-card:hover { transform: none; }
  .who-learn {
    opacity: 1;
    transform: none;
    color: var(--dv-primary-light);
  }
  .other-service-row:hover { transform: none; }
  .core-card:hover { transform: none; }
  .card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .industries-scroll-inner { animation: none; }
  .who-card::before { display: none; }
  .who-learn { opacity: 1; transform: none; }
}
