/*
 Theme Name:   Digital Vishal (Child)
 Theme URI:    https://digitalvishalnoida.in/
 Description:  Child theme for Hello Elementor — Digital Vishal branding
 Author:       Vishal Kumar
 Author URI:   https://digitalvishalnoida.in/
 Template:     hello-elementor
 Version:      2.0.0
 Text Domain:  digitalvishal-child
*/

/* ═══════════════════════════════════════════════════
   All design CSS is below — do not remove the header above.
   This child theme overrides Hello Elementor completely.
═══════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════
   DIGITAL VISHAL — Main Stylesheet
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #fff;
  color: #1b1f2a;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Reset Hello Elementor button bleeding into our nav ── */
.site-header button,
.top-bar button,
.primary-nav button,
.header-cta button {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}
/* Specific overrides to allow our styled buttons */
.header-cta .btn-whatsapp,
.header-cta .btn-primary,
.mobile-menu .btn-primary {
  background: #25D366 !important;
  background-color: #25D366 !important;
  border: none !important;
  color: #fff !important;
}
.hamburger {
  background: #fff !important;
  background-color: #fff !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
}
.nav-drop-toggle {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


:root {
  --primary:       #1843b8;
  --primary-dark:  #0e2a7d;
  --primary-light: #4168d4;
  --primary-glow:  rgba(24, 67, 184, 0.18);
  --accent:        #f5a623;
  --accent-dark:   #e08c0a;
  --white:         #ffffff;
  --offwhite:      #f3f6fd;
  --text:          #0f1623;
  --muted:         #5c6680;
  --border:        rgba(24, 67, 184, 0.13);
  --border-light:  rgba(24, 67, 184, 0.07);
  --shadow:        0 20px 48px rgba(15, 22, 35, 0.10);
  --shadow-sm:     0 4px 16px rgba(15, 22, 35, 0.07);
  --shadow-blue:   0 12px 32px rgba(24, 67, 184, 0.22);
  --radius:        20px;
  --max-w:         1200px;
  --header-h:      80px;
}

/* ── Layout ── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section        { padding: 96px 0; }
.section-white  { background: #fff; }
.section-offwhite { background: var(--offwhite); }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.1; margin-top: 0; letter-spacing: -0.03em; }
h1  { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 20px; }
h2  { font-size: clamp(1.8rem, 3.2vw, 2.8rem); margin-bottom: 16px; }
h3  { font-size: 1.25rem; margin-bottom: 10px; }
h4  { font-size: 1rem; margin-bottom: 8px; }
p   { margin-top: 0; color: var(--muted); }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(26,63,160,0.07);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lead-copy { font-size: 1.05rem; max-width: 840px; color: var(--muted); }


/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 16px 36px rgba(24,67,184,0.32);
}
.btn-secondary {
  background: #fff;
  border: 1.5px solid rgba(26,63,160,0.22);
  color: var(--primary);
}
.btn-secondary:hover { background: var(--offwhite); }

/* WhatsApp button */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37,211,102,0.28);
  padding: 10px 18px;
  font-size: 0.88rem;
}
.btn-whatsapp:hover { background: #1ebe5d; box-shadow: 0 8px 22px rgba(37,211,102,0.38); }
.btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.full-width { width: 100%; }


/* ════════════════════════════════════════
   TOP BAR
════════════════════════════════════════ */
.top-bar {
  background: linear-gradient(90deg, #0a1535 0%, #0e2a7d 100%);
  color: #c8d4f0;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 40px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c8d4f0;
  white-space: nowrap;
  transition: color 0.15s ease;
  text-decoration: none;
}
.top-bar-item:hover { color: #fff; }
.tb-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}
.top-bar-item:hover .tb-icon { opacity: 1; }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.tb-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  transition: background 0.15s ease, transform 0.15s ease;
}
.tb-social:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}
.tb-social img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

/* Hide hours on smaller screens */
@media (max-width: 1024px) { .top-bar-hours { display: none; } }
@media (max-width: 820px)  { .top-bar-loc   { display: none; } }
@media (max-width: 640px)  {
  .top-bar-inner { justify-content: center; }
  .top-bar-left  { gap: 14px; }
  .top-bar-right { display: none; }
}


/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17,24,39,0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(17,24,39,0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.brand-text {
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
}

/* ── Desktop Nav ── */
.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.primary-nav > ul > li {
  position: relative;
}
.primary-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 11px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a.active {
  background: var(--offwhite);
  color: var(--primary);
}

/* Dropdown toggle button (chevron) */
.nav-drop {
  display: flex;
  align-items: center;
}
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: -6px;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease, transform 0.2s ease, color 0.15s ease;
  flex-shrink: 0;
  box-shadow: none !important;
  padding: 0;
}
.nav-drop-toggle:hover {
  background: var(--offwhite) !important;
  color: var(--primary);
  box-shadow: none !important;
}
.nav-drop-toggle svg {
  transition: transform 0.22s ease;
}
.nav-drop.open .nav-drop-toggle svg,
.nav-drop:hover .nav-drop-toggle svg {
  transform: rotate(180deg);
}
.nav-drop.open .nav-drop-toggle {
  color: var(--primary);
}

/* Dropdown sub-menu */
.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(17,24,39,0.12);
  padding: 8px;
  z-index: 200;
  animation: dropIn 0.18s ease;
  /* invisible bridge above the menu so cursor doesn't leave nav-drop */
  margin-top: -4px;
  padding-top: 12px;
}
/* Invisible hover bridge — extends the hover area between trigger and menu */
.nav-drop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-drop.open .sub-menu,
.nav-drop:hover  .sub-menu { display: flex; flex-direction: column; }

/* CSS hover only on real pointer devices (not touch) */
@media (hover: none) {
  .nav-drop:hover .sub-menu { display: none; }
  .nav-drop.open  .sub-menu { display: flex; flex-direction: column; }
}

.sub-menu li { margin: 0; }
.sub-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.12s ease, color 0.12s ease;
}
.sub-menu a:hover {
  background: #f0f5ff;
  color: var(--primary);
}
/* SVG image inside dropdown items */
.sub-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  background: linear-gradient(135deg, #eef4ff, #dce8ff);
  padding: 4px;
  flex-shrink: 0;
}
.sub-icon { font-size: 1.1rem; line-height: 1; }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid var(--border) !important;
  border-radius: 10px;
  background: #fff !important;
  background-color: #fff !important;
  cursor: pointer;
  transition: background 0.15s ease;
  box-shadow: none !important;
  color: var(--text) !important;
}
.hamburger:hover { background: var(--offwhite) !important; }
.ham-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
/* Hamburger open → X */
.hamburger.is-open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .ham-bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ── */
.mobile-menu {
  overflow: hidden;
  border-top: 1px solid rgba(17,24,39,0.06);
  background: #fff;
  max-height: 0;
  display: none;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.mobile-menu.is-open {
  display: block;
  max-height: 800px;
  opacity: 1;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 22px;
  gap: 4px;
}
.mobile-menu nav a {
  display: block;
  padding: 11px 14px;
  font-weight: 700;
  color: var(--text);
  border-radius: 12px;
  transition: background 0.12s ease;
}
.mobile-menu nav a:hover { background: var(--offwhite); color: var(--primary); }
.mob-cta { margin-top: 10px; text-align: center; }

/* Mobile contact strip */
.mob-contact-strip {
  display: flex;
  gap: 10px;
  padding: 12px 24px 0;
}
.mob-contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  white-space: nowrap;
}
.mob-contact-strip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* Mobile social row */
.mob-social-row {
  display: flex;
  gap: 10px;
  padding: 0 24px 18px;
}
.mob-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  overflow: hidden;
}
.mob-social-row img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Mobile sub-menu image icons */
.mob-sub a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mob-sub a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
  background: linear-gradient(135deg, #eef4ff, #dce8ff);
  padding: 3px;
  flex-shrink: 0;
}

/* Mobile accordion */
.mob-drop summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-weight: 700;
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
  transition: background 0.12s ease;
}
.mob-drop summary:hover { background: var(--offwhite); color: var(--primary); }
.mob-drop summary::-webkit-details-marker { display: none; }
.mob-drop summary::after {
  content: '›';
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.mob-drop[open] summary::after { transform: rotate(90deg); }
.mob-sub {
  display: flex;
  flex-direction: column;
  padding-left: 18px;
  gap: 2px;
  margin-bottom: 4px;
}
.mob-sub a {
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 10px;
}
.mob-sub a:hover { background: var(--offwhite); color: var(--primary); }


/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero-section { padding-top: 64px; padding-bottom: 80px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 560px;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-copy p { font-size: 1.05rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.badge-tag {
  display: inline-block;
  background: rgba(24,67,184,0.08);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}
.hero-img-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex: 1;
  min-height: 420px;
}
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.floating-badge {
  position: absolute;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(24,67,184,0.12);
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.top-badge    { top: 18px; left: 18px; }
.bottom-badge { bottom: 18px; right: 18px; }
.quote-box {
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.quote-large { margin-top: 0; }


/* ════════════════════════════════════════
   STATS GRID
════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
/* 6-tile variant: 3 columns on desktop */
.stats-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) {
  .stats-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .stats-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
.stats-grid div {
  display: flex;
  flex-direction: column;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
}
.stats-grid strong {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1;
}
.stats-grid span { color: var(--muted); font-size: 0.76rem; line-height: 1.4; }


/* ════════════════════════════════════════
   TRUST / LOGO GRID
════════════════════════════════════════ */
.trust-section h2 { margin-bottom: 8px; }
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 28px;
}
.client-logo {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.client-logo:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.client-logo img {
  height: 36px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(50%);
  transition: filter 0.2s ease;
}
.client-logo:hover img { filter: grayscale(0%); }

/* Section head — title + button on same row */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 8px;
}
.section-head h2 { margin-bottom: 0; }


/* ════════════════════════════════════════
   PLATFORM GRID
════════════════════════════════════════ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 10px;
  text-align: center;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.platform-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef4ff, #dce8ff);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary);
  overflow: hidden;
  flex-shrink: 0;
}
.platform-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.platform-item p { margin: 0; font-size: 0.76rem; color: var(--text); font-weight: 700; }


/* ════════════════════════════════════════
   BANNER
════════════════════════════════════════ */
.banner-box {
  background: linear-gradient(135deg, #eef4ff, #dce8ff);
  border: 1px solid rgba(26,63,160,0.12);
  border-radius: 20px;
  padding: 28px 32px;
  text-align: center;
}
.banner-box p {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.08rem;
}


/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */
.service-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-img {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef4ff, #dce8ff);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.service-img img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { margin-bottom: 4px; }
.service-card p  { flex: 1; font-size: 0.9rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: auto;
  padding-top: 8px;
}


/* ════════════════════════════════════════
   TWO-COL LAYOUT
════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.stack-block { display: flex; flex-direction: column; gap: 22px; }

/* Two-col card (blue + white side by side) */
.two-col-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin-top: 32px;
  align-items: stretch;
}
.card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  background: #fff;
}
/* Stack cards on mobile */
@media (max-width: 780px) {
  .two-col-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .card-blue { min-height: auto; }
}
.card-blue {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-blue h3 { color: #fff; }
.card-white p { color: var(--muted); }
.mini-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #fff;
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
}
.inline-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }


/* ════════════════════════════════════════
   PHILOSOPHY / ABOUT
════════════════════════════════════════ */
.portrait-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--offwhite);
}
.about-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.eeat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.eeat-grid > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}
.eeat-grid h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 6px; }
.eeat-grid p  { font-size: 0.84rem; margin: 0; }

.info-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.info-box h3 { font-size: 1.08rem; margin-bottom: 10px; }
.info-box ul { padding-left: 18px; }
.info-box li { color: var(--muted); margin-bottom: 8px; font-size: 0.9rem; }

.sig-box {
  display: inline-flex;
  align-items: center;
  padding: 18px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7d9, #ffe7a6);
  border: 1px solid rgba(255,201,60,0.4);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.95rem;
}


/* ════════════════════════════════════════
   FRAMEWORK
════════════════════════════════════════ */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.framework-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.framework-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.fw-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 14px;
}
.framework-card ul { padding-left: 16px; margin-top: 10px; }
.framework-card li { color: var(--muted); font-size: 0.88rem; margin-bottom: 6px; }
.center-actions { display: flex; justify-content: center; margin-top: 32px; }


/* ════════════════════════════════════════
   FEATURES GRID
════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef4ff, #dce8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.feat-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card h3 { font-size: 1.08rem; }
.feature-card p  { font-size: 0.9rem; margin: 0; }
.feature-card h3 { font-size: 1.1rem; }
.feature-card p  { font-size: 0.9rem; margin: 0; }


/* ════════════════════════════════════════
   CASE STUDIES
════════════════════════════════════════ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case-img {
  background: linear-gradient(135deg, #eef4ff, #dce8ff);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.case-img img { max-height: 120px; width: auto; }
.case-card > h3,
.case-card > p,
.case-card > a { padding: 0 22px; }
.case-card > h3 { padding-top: 22px; }
.case-card > a  { padding-bottom: 22px; margin-top: auto; padding-top: 12px; display: inline-block; }
.case-card p { font-size: 0.88rem; margin-bottom: 6px; }
.case-card p strong { color: var(--text); }


/* ════════════════════════════════════════
   REVIEWS
════════════════════════════════════════ */
.review-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.review-header h2 { margin-bottom: 6px; }
.review-header p  { margin: 0; }
.stars, .star-row { font-size: 1.15rem; letter-spacing: 0.1em; color: #f5b301; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.reviewer-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #eef4ff, #dce8ff);
}
.reviewer-top h3 { font-size: 1rem; margin-bottom: 2px; }
.reviewer-top span { font-size: 0.8rem; color: var(--muted); }
.review-card p { font-size: 0.9rem; margin-top: 12px; color: var(--text); line-height: 1.6; }


/* ════════════════════════════════════════
   MYTHS TABLE
════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(26,63,160,0.07);
}
tr:last-child td { border-bottom: none; }
th {
  background: #f3f7ff;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
td { font-size: 0.92rem; color: var(--text); }
td:last-child { color: var(--primary); font-weight: 600; }


/* ════════════════════════════════════════
   BLOG
════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-img {
  background: linear-gradient(135deg, #eef4ff, #dce8ff);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.blog-img img { max-height: 100px; width: auto; }
.blog-card .tag,
.blog-card h3,
.blog-card p,
.blog-card a { padding: 0 22px; }
.blog-card .tag { padding-top: 18px; }
.blog-card h3 { font-size: 1.05rem; padding-top: 10px; }
.blog-card p  { font-size: 0.88rem; flex: 1; }
.blog-card a  { padding-bottom: 20px; font-weight: 800; font-size: 0.88rem; color: var(--primary); margin-top: auto; display: block; }

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26,63,160,0.08);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq-wrap { max-width: 820px; }
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  padding: 18px 22px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.12s ease;
}
.faq-list summary:hover { background: var(--offwhite); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { padding: 0 22px 18px; margin: 0; font-size: 0.92rem; border-top: 1px solid var(--border); padding-top: 14px; }


/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-info h2 { margin-bottom: 14px; }
.contact-info p  { margin-bottom: 24px; }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.contact-list li {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-list li img {
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  min-width: 16px;
}ar(--text); font-weight: 600; }
.contact-list a  { color: var(--primary); }
.contact-list a:hover { text-decoration: underline; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.social-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.social-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Footer social */
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.15s ease, transform 0.15s ease;
  overflow: hidden;
}
.footer-social-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}
.footer-social-btn:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.inline-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(26,63,160,0.16);
  border-radius: 12px;
  background: #f9fbff;
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-light);
  background: #fff;
}
.contact-form textarea { min-height: 110px; resize: vertical; }


/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(160deg, #080f22 0%, #0d1a40 100%);
  color: #c8d4f0;
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-col { display: flex; flex-direction: column; gap: 16px; }
.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.footer-brand-text {
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.footer-tagline {
  font-size: 0.9rem;
  color: #8fa0cc;
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: #8fa0cc;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #fff; }

.footer-contact-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-list li img {
  display: inline-block;
  flex-shrink: 0;
  filter: brightness(0) invert(0.6);
  width: 14px;
  height: 14px;
  min-width: 14px;
}
.footer-contact-list a { color: #8fa0cc; }
.footer-contact-list a:hover { color: #fff; }

.footer-cert {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.cert-badge {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #c8d4f0;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.footer-bottom p { color: #6b7a99; font-size: 0.84rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: #6b7a99; font-size: 0.84rem; transition: color 0.15s ease; }
.footer-bottom-links a:hover { color: #fff; }


/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
/* Hero copy and visual are always visible — no entrance animation on hero */
.hero-copy,
.hero-visual { opacity: 1 !important; transform: none !important; animation: none !important; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; }
}


/* ════════════════════════════════════════
   RESPONSIVE — Tablet (≤1100px)
════════════════════════════════════════ */
@media (max-width: 1100px) {
  .wrap           { padding: 0 32px; }
  .section        { padding: 80px 0; }

  /* Keep hero 2-col down to 900px — only collapse below that */
  .hero-grid      { gap: 36px; }

  /* Grids drop to 2 cols */
  .platform-grid  { grid-template-columns: repeat(4, 1fr); }
  .footer-top     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .framework-grid,
  .features-grid,
  .service-list-grid,
  .case-grid,
  .blog-grid,
  .review-grid    { grid-template-columns: repeat(2, 1fr); }

  /* Keep 3-col stats on tablet */
  .stats-grid-3   { grid-template-columns: repeat(3, 1fr); }
}

/* Hero stacks only below 900px */
@media (max-width: 900px) {
  .hero-grid      { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .hero-copy      { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero-copy p    { max-width: 100%; }
  .hero-actions   { justify-content: center; }
  .badge-tag      { display: block; text-align: center; }
  .stats-grid     { max-width: 520px; margin-left: auto; margin-right: auto; }
  .hero-visual    { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-img-wrap  { min-height: 320px; }
  .hero-photo     { min-height: 320px; max-height: 440px; }
  .stats-grid-3   { grid-template-columns: repeat(2, 1fr); }
}


/* ════════════════════════════════════════
   RESPONSIVE — Mobile (≤780px)
════════════════════════════════════════ */
@media (max-width: 780px) {
  :root { --header-h: 68px; }

  .wrap           { padding: 0 20px; }
  .primary-nav    { display: none; }
  .hamburger      { display: flex; }

  .section        { padding: 64px 0; }

  /* Hero */
  .hero-copy      { text-align: left; }
  .hero-actions   { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .badge-tag      { display: inline-block; }
  .stats-grid     { margin-left: 0; margin-right: 0; }

  /* Grids → single column */
  .two-col              { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid-3         { grid-template-columns: repeat(2, 1fr); }
  .section-head         { flex-direction: column; align-items: flex-start; }
  .review-header        { flex-direction: column; align-items: flex-start; }
  .framework-grid,
  .features-grid,
  .service-list-grid,
  .case-grid,
  .blog-grid,
  .review-grid          { grid-template-columns: 1fr; }
  .logo-grid            { justify-content: center; }
  .platform-grid        { grid-template-columns: repeat(2, 1fr); }
  .eeat-grid            { grid-template-columns: 1fr; }
  .inline-form-grid     { grid-template-columns: 1fr; }
  .footer-top           { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom        { flex-direction: column; align-items: flex-start; }
}


/* ════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤480px)
════════════════════════════════════════ */
@media (max-width: 480px) {
  .wrap           { padding: 0 16px; }
  h1              { font-size: 2rem; }
  h2              { font-size: 1.6rem; }
  .platform-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero-photo     { min-height: 280px; max-height: 360px; }
  .btn            { padding: 13px 20px; font-size: 0.9rem; }
}


/* ════════════════════════════════════════
   POPUP MODAL
════════════════════════════════════════ */

/* Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 15, 34, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Box */
.popup-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(8,15,34,0.36);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
}
.popup-overlay.is-open .popup-box {
  transform: translateY(0) scale(1);
}

/* Close button */
.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.popup-close:hover { background: rgba(255,255,255,0.25); }

/* Left panel — branding */
.popup-left {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 60%, #2851d4 100%);
  color: #fff;
  padding: 44px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}
.popup-badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--accent);
  color: #0f1623;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.popup-left h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
.popup-left > p {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.65;
}
.popup-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.popup-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 600;
}
.popup-contact-strip {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.popup-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.15s ease;
}
.popup-contact-item:hover { color: #fff; }
.popup-contact-item img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}

/* Right panel — form */
.popup-right {
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding: 36px 32px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.popup-form-head { margin-bottom: 20px; }
.popup-step {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1843b8;
  margin: 0 0 8px;
}
.popup-form-head h3 {
  font-size: 1.25rem;
  color: #101828 !important;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Form fields */
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.popup-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.popup-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #344054 !important;
}
.req { color: #e53e3e; }
.popup-form input,
.popup-form select {
  padding: 11px 13px;
  border: 1.5px solid #D0D5DD !important;
  border-radius: 10px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  font-size: 0.88rem;
  color: #101828 !important;
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.popup-form input:focus,
.popup-form select:focus {
  outline: none;
  border-color: #1843b8 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(24,67,184,0.08);
  color: #101828 !important;
}
.popup-form input::placeholder {
  color: #98A2B3 !important;
  opacity: 1 !important;
}
.popup-submit {
  width: 100%;
  padding: 15px 20px;
  font-size: 1rem;
  gap: 10px;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: var(--shadow-blue);
}
.popup-submit:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 14px 32px rgba(24,67,184,0.34);
}
.popup-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0;
  justify-content: center;
}

/* Success state */
.popup-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  flex: 1;
  padding: 20px 0;
}
/* JS sets display:flex directly — .is-visible kept for backwards compat */
.popup-success.is-visible,
.popup-success[style*="flex"] { display: flex !important; }
.popup-success-icon { font-size: 3rem; }
.popup-success h3 { font-size: 1.4rem; color: var(--text); margin: 0; }
.popup-success p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.popup-success a { color: var(--primary); font-weight: 700; }

/* ── Floating trigger button (FAB) ── */
.popup-trigger-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fabPulse 2.8s ease-in-out infinite;
}
.popup-trigger-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(24,67,184,0.38);
  animation: none;
}
.popup-trigger-fab img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: var(--shadow-blue); transform: translateY(0); }
  50%       { box-shadow: 0 14px 40px rgba(24,67,184,0.38); transform: translateY(-3px); }
}

/* ── Popup scroll progress bar ── */
.popup-progress {
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ff8c42);
  border-radius: 0 2px 0 0;
  transition: width 0.25s ease;
  z-index: 20;
}

/* ── Left panel floating orbs (decorative) ── */
.popup-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
  animation: orbFloat 6s ease-in-out infinite;
}
.popup-orb-1 { width: 180px; height: 180px; top: -60px; right: -60px; animation-delay: 0s; }
.popup-orb-2 { width: 120px; height: 120px; bottom: 60px; left: -40px; animation-delay: 2s; }
.popup-orb-3 { width: 80px;  height: 80px;  top: 50%; right: 20px; animation-delay: 4s; }
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-14px) scale(1.05); }
}

/* ── Field entrance animation (only when popup is open) ── */
.popup-overlay.is-open .popup-form-grid,
.popup-overlay.is-open .popup-form > label,
.popup-overlay.is-open .popup-submit,
.popup-overlay.is-open .popup-privacy {
  animation: fieldIn 0.38s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}
.popup-overlay.is-open .popup-form-grid     { animation-delay: 0.08s; }
.popup-overlay.is-open .popup-form > label:nth-of-type(1) { animation-delay: 0.14s; }
.popup-overlay.is-open .popup-form > label:nth-of-type(2) { animation-delay: 0.20s; }
.popup-overlay.is-open .popup-form > label:nth-of-type(3) { animation-delay: 0.26s; }
.popup-overlay.is-open .popup-submit        { animation-delay: 0.32s; }
.popup-overlay.is-open .popup-privacy       { animation-delay: 0.36s; }
@keyframes fieldIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Input transition ── */
.popup-form input,
.popup-form select {
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.popup-form input:focus,
.popup-form select:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(24,67,184,0.10), 0 2px 8px rgba(24,67,184,0.08);
}

/* ── Submit button shimmer on hover ── */
.popup-submit {
  position: relative;
  overflow: hidden;
}
.popup-submit::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.popup-submit:hover::after { left: 150%; }

/* ── Success animation ── */
.popup-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes successPop {
  0%   { transform: scale(0.4); opacity: 0; }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}
.popup-success.is-visible h3,
.popup-success[style*="flex"] h3,
.popup-success.is-visible p,
.popup-success[style*="flex"] p,
.popup-success.is-visible .btn,
.popup-success[style*="flex"] .btn {
  animation: fadeUp 0.4s ease forwards;
  opacity: 0;
}
.popup-success.is-visible h3,
.popup-success[style*="flex"] h3   { animation-delay: 0.2s; }
.popup-success.is-visible p,
.popup-success[style*="flex"] p    { animation-delay: 0.32s; }
.popup-success.is-visible .btn,
.popup-success[style*="flex"] .btn { animation-delay: 0.42s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Popup responsive ── */
@media (max-width: 760px) {
  .popup-box { grid-template-columns: 1fr; max-height: 92vh; }
  .popup-left { padding: 28px 22px 22px; gap: 12px; }
  .popup-left h2 { font-size: 1.25rem; }
  .popup-right { padding: 24px 20px 22px; }
  .popup-form-grid { grid-template-columns: 1fr; }
  .popup-contact-strip { display: none; }
  .popup-trigger-fab span { display: none; }
  .popup-trigger-fab { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }
}
@media (max-width: 480px) {
  .popup-overlay { padding: 12px; align-items: flex-end; }
  .popup-box { border-radius: 22px 22px 0 0; max-height: 94vh; }
}


/* ════════════════════════════════════════
   INNER PAGE COMPONENTS
════════════════════════════════════════ */

/* Page hero — two-column layout for inner pages */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.page-hero-img {
  width: 100%;
  height: clamp(280px, 30vw, 460px);
  border-radius: 24px;
}

/* Stat pills row under hero heading */
.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}
.stat-pill {
  display: flex;
  flex-direction: column;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 120px;
}
.stat-pill strong {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-pill span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-img  { height: clamp(200px, 50vw, 360px); }
}
@media (max-width: 600px) {
  .hero-stats-row { gap: 8px; }
  .stat-pill { min-width: 100px; padding: 11px 14px; }
  .stat-pill strong { font-size: 1.1rem; }
}

/* ════════════════════════════════════════
   CERTIFICATIONS SECTION
════════════════════════════════════════ */
.cert-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.cert-logo-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cert-google { background: linear-gradient(135deg, #e8f0fe, #c5d5fb); }
.cert-meta   { background: linear-gradient(135deg, #e7f0ff, #c2d4f8); }

.cert-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.cert-platform {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.cert-body h3 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.25;
  color: var(--text);
}
.cert-body p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
}
.cert-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 4px;
  width: fit-content;
}

/* CTA card — no icon, gradient background */
.cert-card-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-color: transparent;
  flex-direction: column;
  gap: 0;
}
.cert-card-cta h3 { color: #fff; }
.cert-card-cta p  { color: rgba(255,255,255,0.8); }

@media (max-width: 1100px) {
  .cert-showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .cert-showcase-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   DESIGN TOKENS V2 — override old :root variables
   ============================================================ */
:root {
  /* Map new tokens to existing variable names so nothing breaks */
  --primary:       var(--dv-blue-600, #1F46C4);
  --primary-dark:  var(--dv-blue-700, #1735A0);
  --primary-light: #3560D4;
  --text:          var(--dv-text-900, #101828);
  --muted:         var(--dv-text-600, #475467);
  --offwhite:      var(--dv-surface-100, #F3F6FD);
  --border:        var(--dv-surface-200, #E6ECFA);
  --max-w:         var(--dv-container, 1200px);
  --header-h:      calc(var(--dv-topbar-h, 40px) + var(--dv-header-h, 72px));
  --radius:        var(--dv-radius-card, 20px);
  --shadow:        var(--dv-shadow-card);
  --shadow-sm:     var(--dv-shadow-header);
  --shadow-blue:   var(--dv-shadow-blue);
}

/* Typography upgrade */
body { font-family: var(--dv-font-body, 'Inter', system-ui, sans-serif); color: var(--dv-text-600); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--dv-font-heading, 'Manrope', 'Inter', system-ui, sans-serif);
  color: var(--dv-text-900);
}
h1 { font-size: var(--dv-h1); line-height: var(--dv-lh-tight); }
h2 { font-size: var(--dv-h2); line-height: var(--dv-lh-snug); }
h3 { font-size: var(--dv-h3); line-height: var(--dv-lh-snug); }

.dv-container { max-width: var(--dv-container); margin-inline: auto; padding-inline: var(--dv-side-pad); }

/* ============================================================
   TOP BAR v2
   ============================================================ */
.dv-topbar {
  height: var(--dv-topbar-h);
  background: var(--dv-navy-900);
  color: #CBD5E1;
  font-size: 0.8125rem; /* 13px */
  font-family: var(--dv-font-body);
}
.dv-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--dv-container);
  margin-inline: auto;
  padding-inline: var(--dv-side-pad);
  gap: 16px;
}
.dv-topbar__left  { display: flex; align-items: center; gap: 20px; overflow: hidden; }
.dv-topbar__right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.dv-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.dv-topbar__item:hover { color: #fff; }
.dv-topbar__item svg { flex-shrink: 0; opacity: 0.7; }

.dv-topbar__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  transition: background 0.15s;
}
.dv-topbar__social:hover { background: rgba(255,255,255,0.18); }
.dv-topbar__social img { display: block; }

/* Hide some items on smaller screens */
@media (max-width: 1023px) { .dv-topbar__hours, .dv-topbar { display: none; } }
@media (max-width: 820px)  { .dv-topbar__loc  { display: none; } }


/* ============================================================
   MAIN HEADER v2
   ============================================================ */
.dv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--dv-header-h);
  background: #fff;
  border-bottom: 1px solid var(--dv-surface-200);
  transition: box-shadow 0.25s var(--dv-ease);
}
.dv-header.scrolled { box-shadow: var(--dv-shadow-header); }

.dv-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

/* Logo */
.dv-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.dv-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.dv-logo-text {
  font-family: var(--dv-font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dv-navy-900);
  letter-spacing: -0.03em;
}

/* Desktop nav */
.dv-nav { flex: 1; display: flex; justify-content: center; }
.dv-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dv-menu-item { position: relative; display: flex; align-items: center; }
.dv-menu-item > a {
  display: inline-flex;
  align-items: center;
  height: var(--dv-btn-h);
  padding: 0 12px;
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  color: var(--dv-text-700);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  position: relative;
}
.dv-menu-item > a::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--dv-blue-600);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--dv-ease);
}
.dv-menu-item > a:hover,
.dv-menu-item.current > a { color: var(--dv-blue-600); }
.dv-menu-item > a:hover::after,
.dv-menu-item.current > a::after { transform: scaleX(1); }

/* Dropdown toggle chevron */
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: -4px;
  border: none !important;
  background: transparent !important;
  color: var(--dv-text-500);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  box-shadow: none !important;
  transition: transform 0.2s var(--dv-ease), color 0.15s;
}
.nav-drop-toggle:hover { color: var(--dv-blue-600); }
.nav-drop.open .nav-drop-toggle,
.nav-drop:hover .nav-drop-toggle { transform: rotate(180deg); color: var(--dv-blue-600); }

/* Dropdown panel */
.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--dv-surface-200);
  border-radius: 16px;
  box-shadow: var(--dv-shadow-card);
  padding: 8px;
  z-index: 200;
  list-style: none;
  margin: 0;
  animation: dvDropIn 0.18s var(--dv-ease);
}
@keyframes dvDropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
/* Invisible bridge so cursor can travel from label to panel */
.nav-drop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}
.nav-drop.open .sub-menu,
.nav-drop:hover .sub-menu { display: flex; flex-direction: column; }

.sub-menu li { margin: 0; }
.sub-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dv-text-700);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.sub-menu a:hover { background: var(--dv-surface-100); color: var(--dv-blue-600); }
.sub-img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: var(--dv-surface-100); padding: 4px; flex-shrink: 0; }

/* CSS :hover fallback (non-touch) */
.nav-drop.open .sub-menu,
.nav-drop:hover  .sub-menu { display: flex; flex-direction: column; }
@media (hover: none) {
  .nav-drop:hover .sub-menu { display: none; }
  .nav-drop.open  .sub-menu { display: flex; flex-direction: column; }
}

/* Header CTA area */
.dv-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Buttons v2 */
.dv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--dv-btn-h);
  padding: 0 22px;
  border: none;
  border-radius: var(--dv-radius-pill);
  font-family: var(--dv-font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  white-space: nowrap;
}
.dv-btn:focus-visible { outline: 3px solid rgba(31,70,196,.4); outline-offset: 3px; }
.dv-btn:hover { transform: translateY(-1px); }
.dv-btn:active { transform: translateY(0); }

.dv-btn--primary {
  background: var(--dv-blue-600);
  color: #fff;
  box-shadow: var(--dv-shadow-blue);
}
.dv-btn--primary:hover { background: var(--dv-blue-700); }

.dv-btn--outline {
  background: transparent;
  border: 1.5px solid var(--dv-surface-200);
  color: var(--dv-text-700);
}
.dv-btn--outline:hover { border-color: var(--dv-blue-600); color: var(--dv-blue-600); }

.dv-btn--pill { border-radius: var(--dv-radius-pill); }
.dv-btn--full { width: 100%; }

.dv-btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37,211,102,.28);
}
.dv-btn--whatsapp:hover { background: #1ebe5d; }

/* Hamburger */
.dv-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--dv-surface-200) !important;
  border-radius: 10px;
  background: #fff !important;
  cursor: pointer;
  box-shadow: none !important;
  flex-shrink: 0;
}
.dv-hamburger__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dv-text-900);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.dv-hamburger.is-open .dv-hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dv-hamburger.is-open .dv-hamburger__bar:nth-child(2) { opacity: 0; }
.dv-hamburger.is-open .dv-hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.dv-mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  background: #fff;
  border-top: 1px solid var(--dv-surface-200);
  transition: max-height 0.38s var(--dv-ease), opacity 0.3s;
  opacity: 0;
}
.dv-mobile-nav.is-open { max-height: 90vh; opacity: 1; overflow-y: auto; }

.dv-mobile-nav__contact {
  display: flex;
  gap: 10px;
  padding: 14px 20px 0;
}
.dv-mobile-nav__contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--dv-blue-600);
  background: var(--dv-surface-100);
  border: 1px solid var(--dv-surface-200);
  border-radius: 8px;
  padding: 7px 12px;
  text-decoration: none;
}

.dv-mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
  gap: 2px;
  list-style: none;
  margin: 0;
}
.dv-mobile-nav__list > li > a {
  display: block;
  padding: 11px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dv-text-700);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.12s;
}
.dv-mobile-nav__list > li > a:hover { background: var(--dv-surface-100); color: var(--dv-blue-600); }
.dv-mobile-nav__list .sub-menu {
  position: static;
  transform: none;
  box-shadow: none;
  border: none;
  background: var(--dv-surface-50, #f8f9fc);
  border-left: 2px solid var(--dv-blue-200, #c7d7fd);
  border-radius: 0 0 8px 8px;
  padding: 4px 0 8px 12px;
  animation: none;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.dv-mobile-nav__list .sub-menu a {
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--dv-text-600, #475467);
  font-weight: 600;
  border-radius: 8px;
  display: block;
  transition: background 0.12s, color 0.12s;
}
.dv-mobile-nav__list .sub-menu a:hover {
  background: var(--dv-surface-100, #f2f4f7);
  color: var(--dv-blue-600, #1843b8);
}
.dv-mobile-nav__list .nav-drop.open > .sub-menu { display: flex; }

/* Nav drop toggle button — desktop nav only */
.dv-nav .nav-drop-toggle {
  display: none;
}
/* Make mobile nav item a flex row so link and toggle sit side by side */
.dv-mobile-nav__list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.dv-mobile-nav__list > li > a {
  flex: 1;
}
.dv-mobile-nav__list > li > .sub-menu {
  flex-basis: 100%;
}

.dv-mobile-nav__footer { padding: 6px 20px 20px; }

/* ── Mobile menu details/summary dropdowns ── */
.mob-details {
  width: 100%;
}
.mob-details[open] > .mob-summary .mob-chevron {
  transform: rotate(180deg);
}
.mob-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dv-text-700, #344054);
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
  transition: background 0.12s;
  user-select: none;
  -webkit-user-select: none;
}
.mob-summary::-webkit-details-marker { display: none; }
.mob-summary::marker { display: none; }
.mob-summary:hover { background: var(--dv-surface-100, #f2f4f7); }
.mob-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--dv-text-500, #667085);
}
.mob-sub {
  list-style: none;
  padding: 4px 0 8px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--dv-blue-200, #c7d7fd);
  margin-left: 12px;
}
.mob-sub li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dv-text-600, #475467);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.mob-sub li a:hover {
  background: var(--dv-surface-100, #f2f4f7);
  color: var(--dv-blue-600, #1843b8);
}

/* Show hamburger + mobile nav on ≤1023px */
@media (max-width: 1023px) {
  .dv-nav      { display: none; }
  .dv-hamburger { display: flex; }
  .dv-mobile-nav { display: block; }
  .dv-logo { height: 40px; }
}


/* ============================================================
   ENQUIRY MODAL v2
   ============================================================ */
.dv-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s var(--dv-ease), visibility 0.28s;
}
.dv-modal.is-open {
  visibility: visible;
  opacity: 1;
}
.dv-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 51, 0.6);
  cursor: pointer;
}
.dv-modal__box {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  border-top: 4px solid #1843b8;
  box-shadow: 0 24px 64px rgba(16,24,40,.18), 0 4px 12px rgba(16,24,40,.08);
  padding: 36px 32px 32px;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s ease;
}
.dv-modal.is-open .dv-modal__box {
  transform: translateY(0) scale(1);
}
.dv-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #E4E7EC;
  border-radius: 50%;
  background: #F9FAFB;
  color: #667085;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  box-shadow: none;
}
.dv-modal__close:hover {
  background: #F2F4F7;
  border-color: #D0D5DD;
  color: #344054;
}
.dv-modal__close svg { width: 16px; height: 16px; }
.dv-modal__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1843b8;
  background: #EEF4FF;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.dv-modal__title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #101828;
  margin: 0 0 6px;
  line-height: 1.3;
}
.dv-modal__sub {
  font-size: 0.875rem;
  color: #667085;
  margin: 0 0 22px;
  line-height: 1.5;
}
.dv-modal__body {
  background: #ffffff !important;
  color: #101828 !important;
}
.dv-modal__body * {
  box-sizing: border-box;
}

/* ── CF7 form styling inside modal & footer card ── */
.dv-modal .wpcf7-form,
.dv-footer-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wpcf7-form .dv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .wpcf7-form .dv-grid { grid-template-columns: 1fr; } }

.dv-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #344054;
  letter-spacing: 0.01em;
}
.dv-full { grid-column: 1 / -1; }

/* ============================================================
   CF7 FORM — INPUTS ALWAYS WHITE
   High specificity + !important to beat Elementor / dark themes
   ============================================================ */
body .dv-modal .wpcf7-form input[type="text"],
body .dv-modal .wpcf7-form input[type="tel"],
body .dv-modal .wpcf7-form input[type="email"],
body .dv-modal .wpcf7-form input[type="url"],
body .dv-modal .wpcf7-form input[type="number"],
body .dv-modal .wpcf7-form select,
body .dv-modal .wpcf7-form textarea,
body .wpcf7-form input[type="text"],
body .wpcf7-form input[type="tel"],
body .wpcf7-form input[type="email"],
body .wpcf7-form input[type="url"],
body .wpcf7-form input[type="number"],
body .wpcf7-form select,
body .wpcf7-form textarea {
  width: 100% !important;
  height: 48px !important;
  padding: 0 14px !important;
  border: 1.5px solid #D0D5DD !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #101828 !important;
  font-family: inherit !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  box-shadow: 0 1px 2px rgba(16,24,40,.04) !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  outline: none !important;
}
body .dv-modal .wpcf7-form textarea,
body .wpcf7-form textarea {
  height: auto !important;
  min-height: 100px !important;
  padding: 10px 14px !important;
  resize: vertical !important;
}
body .dv-modal .wpcf7-form select,
body .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23475467' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 38px !important;
  cursor: pointer !important;
}
body .dv-modal .wpcf7-form input:focus,
body .dv-modal .wpcf7-form select:focus,
body .dv-modal .wpcf7-form textarea:focus,
body .wpcf7-form input:focus,
body .wpcf7-form select:focus,
body .wpcf7-form textarea:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #1843b8 !important;
  box-shadow: 0 0 0 3px rgba(24,67,184,.12) !important;
  color: #101828 !important;
  outline: none !important;
}
body .dv-modal .wpcf7-form input::placeholder,
body .dv-modal .wpcf7-form textarea::placeholder,
body .wpcf7-form input::placeholder,
body .wpcf7-form textarea::placeholder {
  color: #98A2B3 !important;
  opacity: 1 !important;
}
/* Labels */
body .dv-modal .wpcf7-form label,
body .wpcf7-form label {
  display: block !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: #344054 !important;
  margin-bottom: 5px !important;
  letter-spacing: 0.01em !important;
  background: transparent !important;
}
body .dv-modal .wpcf7-form label > span,
body .wpcf7-form label > span {
  display: block !important;
  margin-top: 5px !important;
}
/* ── Cleared orphaned rules — do not add anything here ── */

/* Invalid state */
.wpcf7-form .wpcf7-not-valid { border-color: var(--dv-error) !important; }
/* ── Cleared orphaned rules — do not add anything here ── */

.wpcf7-not-valid-tip {
  display: block;
  font-size: 0.8125rem;
  color: #F04438;
  margin-top: 4px;
}

/* Consent */
.wpcf7-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--dv-text-600);
  cursor: pointer;
}
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 18px; height: 18px;
  border: 1.5px solid #D0D5DD;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--dv-blue-600);
  cursor: pointer;
}

/* Submit button */
.dv-modal .wpcf7-form .wpcf7-submit,
.dv-modal .wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit,
.wpcf7-form input[type="submit"] {
  width: 100% !important;
  height: 52px !important;
  padding: 0 24px !important;
  background: #1843b8 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s !important;
  box-shadow: 0 4px 14px rgba(24,67,184,.25) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  margin-top: 4px !important;
}
.dv-modal .wpcf7-form .wpcf7-submit:hover,
.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form input[type="submit"]:hover {
  background: #1236a0 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(24,67,184,.3) !important;
}
.wpcf7-form .wpcf7-submit:disabled,
.wpcf7-form input[type="submit"]:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Response boxes */
.wpcf7-response-output {
  margin: 8px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none !important;
}
.wpcf7-mail-sent-ok     { background: var(--dv-green-100); color: var(--dv-green-600); }
.wpcf7-validation-errors,
.wpcf7-spam-blocked,
.wpcf7-mail-sent-ng     { background: var(--dv-error-100); color: var(--dv-error); }

/* Spinner */
.wpcf7-spinner {
  display: inline-block;
  width: 20px; height: 20px;
  margin-left: 8px;
  vertical-align: middle;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: dv-spin 0.7s linear infinite;
}
@keyframes dv-spin { to { transform: rotate(360deg); } }


/* ============================================================
   FOOTER v2
   ============================================================ */
.dv-footer {
  background: var(--dv-navy-900);
  color: #CBD5E1;
  font-size: 0.9rem;
  padding-top: 64px;
}
.dv-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dv-footer__heading {
  font-family: var(--dv-font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.dv-footer__logo { height: 56px; width: auto; max-width: 160px; object-fit: contain; }
.dv-footer__logo-text { color: #fff; font-size: 1.4rem; font-weight: 800; }
.dv-footer__logo-link { display: inline-flex; margin-bottom: 14px; }
.dv-footer__tagline { color: #8FA0CC; font-size: 0.875rem; line-height: 1.7; margin: 0 0 20px; max-width: 280px; }

.dv-footer__social { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.dv-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.15s, transform 0.15s;
  overflow: hidden;
}
.dv-footer__social-btn:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

.dv-footer__certs { display: flex; flex-wrap: wrap; gap: 8px; }
.dv-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #CBD5E1;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.dv-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.dv-footer__links a { color: #8FA0CC; transition: color 0.15s; text-decoration: none; font-size: 0.9rem; }
.dv-footer__links a:hover { color: #fff; text-decoration: underline; }

.dv-footer__contact { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.dv-footer__contact li { display: flex; align-items: flex-start; gap: 8px; color: #8FA0CC; font-size: 0.9rem; }
.dv-footer__contact li svg { flex-shrink: 0; margin-top: 2px; opacity: 0.7; }
.dv-footer__contact a { color: #8FA0CC; transition: color 0.15s; }
.dv-footer__contact a:hover { color: #fff; }

.dv-footer__wa { height: 40px; font-size: 0.875rem; padding: 0 16px; }

.dv-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.dv-footer__bottom p { color: #667085; font-size: 0.84rem; margin: 0; }
.dv-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.dv-footer__legal a { color: #667085; font-size: 0.84rem; transition: color 0.15s; text-decoration: none; }
.dv-footer__legal a:hover { color: #fff; }

@media (max-width: 1100px) { .dv-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 680px)  { .dv-footer__grid { grid-template-columns: 1fr; gap: 28px; } .dv-footer__bottom { flex-direction: column; align-items: flex-start; } }


/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
/* WhatsApp circle — bottom left */
.dv-float-wa {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 800;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.36);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.dv-float-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37,211,102,.44); }

/* "Send Enquiry" vertical tab — right edge, desktop only */
.dv-enquiry-tab {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 800;
  transform: translateY(-50%) rotate(90deg) translateX(50%);
  transform-origin: right center;
  display: flex; align-items: center;
  height: 40px;
  padding: 0 16px;
  background: var(--dv-blue-600);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  box-shadow: -2px 0 12px rgba(31,70,196,.22);
  transition: background 0.15s;
  white-space: nowrap;
}
.dv-enquiry-tab:hover { background: var(--dv-blue-700); }
@media (max-width: 1023px) { .dv-enquiry-tab { display: none; } }

/* Mobile sticky bottom bar */
.dv-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 800;
  height: 56px;
  background: #fff;
  border-top: 1px solid var(--dv-surface-200);
  box-shadow: 0 -4px 16px rgba(16,24,40,.06);
  grid-template-columns: repeat(3, 1fr);
}
.dv-mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: none;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--dv-text-600);
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  transition: color 0.15s;
}
.dv-mobile-bar__item:hover { color: var(--dv-blue-600); }
.dv-mobile-bar__item--wa   { color: #25D366; }
.dv-mobile-bar__item--enquire { color: var(--dv-blue-600); }

@media (max-width: 1023px) {
  .dv-mobile-bar { display: grid; }
  .dv-footer     { padding-bottom: 56px; } /* equal to bar height */
  .dv-float-wa   { display: none; } /* replaced by mobile bar */
}

/* ============================================================
   LEGACY RESET — prevent old classes conflicting with new ones
   ============================================================ */
/* Keep old .site-header, .wrap etc. working as aliases */
.site-header { position: sticky; top: 0; z-index: 100; }
.wrap { max-width: var(--dv-container); margin-inline: auto; padding-inline: var(--dv-side-pad); }

/* Override Hello Elementor button bleed — keep here as last resort */
.dv-header button:not(.dv-btn):not(.dv-hamburger):not(.nav-drop-toggle) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.nav-drop-toggle { background: transparent !important; border: none !important; box-shadow: none !important; }
.dv-hamburger    { background: #fff !important; border: 1.5px solid var(--dv-surface-200) !important; }


/* ============================================================
   HEADING COLOUR FIX
   Force all headings to --dv-text-900 (#101828) — dark, high-contrast.
   Overrides the old --text variable which was overridden by tokens.
   ============================================================ */

/* 1. Fix the token override — body text = #475467, headings = #101828 */
:root {
  --text:    #101828; /* was being overridden to #475467 by token block — fixed here */
  --muted:   #475467;
}

/* 2. All heading elements — explicit dark colour */
h1, h2, h3, h4, h5, h6,
.site-header h1, .site-header h2,
.entry-title, .page-title {
  color: #101828 !important;
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
}

/* 3. White headings inside dark/blue cards stay white */
.card-blue h1,
.card-blue h2,
.card-blue h3,
.card-blue h4,
.dv-modal__title,
.dv-footer__heading,
.popup-left h2,
.cert-card-cta h3,
.section-offwhite .card-blue h3,
[style*="background: linear-gradient"] h2,
[style*="background: linear-gradient"] h3 {
  color: #ffffff !important;
}

/* 4. Blue eeat grid headings */
.eeat-grid h4 { color: var(--dv-blue-600, #1F46C4) !important; }

/* 5. Section labels stay blue pill */
.section-label { color: var(--dv-blue-600, #1F46C4) !important; }

/* 6. Framework card numbers */
.fw-num { color: #ffffff !important; }

/* 7. Gradient text utility — use on hero H1 key words */
.dv-gradient-text,
.grad {
  background: linear-gradient(90deg, #1F46C4, #14B8E6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 8. Hero H1 specific — make it large, dark, impactful */
.hero-copy h1 {
  color: #101828 !important;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

/* 9. Section H2s */
.section-white h2,
.section-offwhite h2,
.section h2 {
  color: #101828 !important;
  font-weight: 800;
}

/* 10. Body paragraph colour — use muted not heading colour */
p { color: var(--muted, #475467); }
.lead-copy { color: #475467; }

/* 11. Stats grid numbers — keep blue */
.stats-grid strong,
.stat-pill strong,
.stat-counter { color: var(--dv-blue-600, #1F46C4) !important; }

/* 12. Review stars — amber */
.stars, .star-row { color: #F5B301 !important; }

/* 13. Cert platform label */
.cert-platform { color: var(--dv-blue-600, #1F46C4) !important; }

/* 14. Footer headings — white on dark bg */
.dv-footer h3,
.dv-footer h4,
.site-footer h3,
.site-footer h4,
.footer-col h4 {
  color: #ffffff !important;
}

/* 15. Ensure FAQ summary (heading-level) is dark */
.faq-list summary { color: #101828 !important; }

/* 16. Contact section headings */
.contact-info h2 { color: #101828 !important; }

/* 17. page-hero headings */
.page-hero-grid h1 { color: #101828 !important; }

/* 18. Table headers */
th { color: #1D2939 !important; }

/* 19. Blog card links */
.blog-card h3 a { color: #101828 !important; }
.blog-card h3 a:hover { color: var(--dv-blue-600, #1F46C4) !important; }

/* 20. Prevent primary-colour bleed on plain headings */
.features-grid h3,
.framework-card h3,
.service-card h3,
.case-card h3,
.review-card h3,
.cert-body h3,
.info-box h3,
.feature-card h3 {
  color: #101828 !important;
}


/* ============================================================
   HEADER FIXES — desktop view
   ============================================================ */

/* 1. Hide hamburger on desktop */
.dv-hamburger,
.hamburger {
  display: none !important;
}
@media (max-width: 1023px) {
  .dv-hamburger,
  .hamburger { display: flex !important; }
}

/* 2. Show desktop nav on desktop, hide on mobile */
.dv-nav,
.primary-nav { display: flex !important; }
@media (max-width: 1023px) {
  .dv-nav,
  .primary-nav { display: none !important; }
}

/* 3. Dropdown chevron — remove the extra space/pointer between label and arrow.
   The toggle button sits adjacent to the <a> — remove its margin and shrink it */
.nav-drop-toggle {
  margin-left: 0 !important;
  padding: 0 !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
}
/* Make label + chevron feel like one unit */
.nav-drop {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}
.nav-drop > a {
  padding-right: 4px !important;
}

/* 4. Dropdown panel — attach tightly under the nav item, no gap pointer */
.sub-menu,
.nav-drop .sub-menu {
  top: calc(100% + 4px) !important;
  margin-top: 0 !important;
}
/* Remove the invisible bridge that was creating dead space */
.nav-drop::after { display: none !important; }

/* 5. "Let's Talk" CTA button — blue, not green */
.dv-btn--primary,
.dv-header__actions .dv-btn--primary,
.header-cta .dv-btn--primary,
[data-dv-open="enquiry"].dv-btn--primary {
  background: #1F46C4 !important;
  background-color: #1F46C4 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(31,70,196,.28) !important;
}
[data-dv-open="enquiry"].dv-btn--primary:hover {
  background: #1735A0 !important;
  background-color: #1735A0 !important;
}

/* 6. Remove the floating WhatsApp circle and "Free Consultation" FAB on desktop
   — WhatsApp is already in the top bar */
.dv-float-wa,
.popup-trigger-fab,
#popup-trigger-fab {
  display: none !important;
}
/* Show floating WA only on mobile */
@media (max-width: 1023px) {
  .dv-float-wa { display: flex !important; }
}

/* 7. "Send Enquiry" green tab — fix colour to blue */
.dv-enquiry-tab {
  background: #1F46C4 !important;
  color: #ffffff !important;
}
.dv-enquiry-tab:hover {
  background: #1735A0 !important;
}

/* 8. Fix body text — links in paragraphs should not be bright blue */
p a { color: #1F46C4; text-decoration: underline; }
p a:hover { color: #1735A0; }

/* 9. Fix green WhatsApp button in header CTA area — should not appear on desktop */
.header-cta .btn-whatsapp,
.dv-header__actions .btn-whatsapp {
  display: none !important;
}

/* 10. Mobile bar — hide on desktop */
.dv-mobile-bar { display: none !important; }
@media (max-width: 1023px) {
  .dv-mobile-bar { display: grid !important; }
}


/* ============================================================
   INLINE CHEVRON — now lives inside <a>, not a separate button
   ============================================================ */
.nav-chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.nav-drop.open > a .nav-chevron,
.nav-drop:hover > a .nav-chevron {
  transform: rotate(180deg);
}
/* Nav link with chevron inside */
.nav-drop > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding-right: 12px !important;
}


/* ============================================================
   FINAL OVERRIDES — highest specificity, applied last
   These win over Hello Elementor and any other plugin CSS.
   ============================================================ */

/* ── 1. HEADINGS — dark colour, Manrope font ── */
body h1, body h2, body h3, body h4, body h5, body h6,
.entry-content h1, .entry-content h2, .entry-content h3,
main h1, main h2, main h3, main h4 {
  color: #101828 !important;
  font-family: 'Manrope', 'Inter', system-ui, sans-serif !important;
}
/* White headings on dark backgrounds — restore */
.card-blue h1, .card-blue h2, .card-blue h3,
.popup-left h2, .cert-card-cta h3,
.dv-footer__heading, .footer-col h4,
.dv-modal__title { color: #101828 !important; }

/* ── 2. BODY TEXT — muted grey, NOT blue ── */
body p, main p { color: #475467; }
main p a { color: #1F46C4; text-decoration: underline; }

/* ── 3. HAMBURGER — hide on desktop, show on mobile ── */
button.hamburger,
button.dv-hamburger {
  display: none !important;
}
@media (max-width: 1023px) {
  button.hamburger,
  button.dv-hamburger {
    display: flex !important;
  }
}

/* ── 4. DESKTOP NAV — always visible on desktop ── */
.dv-nav, nav.primary-nav {
  display: flex !important;
}
@media (max-width: 1023px) {
  .dv-nav, nav.primary-nav {
    display: none !important;
  }
}

/* ── 5. WHATSAPP BUTTON — ONLY in top bar on desktop ── */
/* Hide WhatsApp button from header nav / header-cta area */
.dv-header .btn-whatsapp,
.dv-header a.btn-whatsapp,
.dv-header__actions .btn-whatsapp,
.header-cta .btn-whatsapp,
.header-cta a[href*="wa.me"],
.dv-header__actions a[href*="wa.me"] {
  display: none !important;
}
/* Keep WhatsApp in top bar */
.dv-topbar a[href*="wa.me"],
.dv-topbar .tb-social { display: inline-flex !important; }

/* ── 6. LET'S TALK / CTA BUTTON — blue ── */
.dv-btn--primary,
.dv-header__actions .dv-btn,
button[data-dv-open="enquiry"],
a[data-dv-open="enquiry"] {
  background: #1F46C4 !important;
  background-color: #1F46C4 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(31,70,196,.28) !important;
}
button[data-dv-open="enquiry"]:hover,
a[data-dv-open="enquiry"]:hover {
  background: #1735A0 !important;
  background-color: #1735A0 !important;
}

/* ── 7. FLOATING WA CIRCLE + OLD FAB — hide on desktop ── */
.dv-float-wa,
.popup-trigger-fab,
#popup-trigger-fab {
  display: none !important;
}
@media (max-width: 1023px) {
  .dv-float-wa { display: flex !important; }
  .popup-trigger-fab,
  #popup-trigger-fab { display: inline-flex !important; }
}

/* ── 8. MOBILE STICKY BAR — desktop hidden ── */
.dv-mobile-bar { display: none !important; }
@media (max-width: 1023px) {
  .dv-mobile-bar { display: grid !important; }
  body { padding-bottom: 56px; }
}

/* ── 9. REAL PHOTOS IN CARDS ── */
.case-img { min-height: 200px; overflow: hidden; background: #f3f6fd; }
.case-img img { width: 100%; height: 200px; object-fit: cover; object-position: center; display: block; transition: transform 0.4s ease; }
.case-card:hover .case-img img { transform: scale(1.04); }

.blog-img { min-height: 180px; overflow: hidden; background: #f3f6fd; }
.blog-img img { width: 100%; height: 180px; object-fit: cover; object-position: center top; display: block; transition: transform 0.4s ease; }
.blog-card:hover .blog-img img { transform: scale(1.04); }

.service-img { width: 100%; height: 160px; border-radius: 14px; overflow: hidden; margin-bottom: 8px; background: #f3f6fd; }
.service-img img { width: 100%; height: 160px; object-fit: cover; object-position: center; display: block; transition: transform 0.4s ease; }
.service-card:hover .service-img img { transform: scale(1.04); }

.about-photo { width: 100%; height: 340px; object-fit: cover; object-position: center 20%; border-radius: 20px; display: block; }

/* ── 10. STAT NUMBERS — blue ── */
.stats-grid strong, .stat-counter, .stat-pill strong { color: #1F46C4 !important; }
.stars, .star-row { color: #F5B301 !important; }
